/* =========================================================
   VACANCIES
========================================================= */

.vacancy-archive,
.single-vacancy-page {
    font-family: 'Roboto', sans-serif;
    background: #f8fafc;
    color: #111827;
}


/* =========================================================
   ARCHIVE
========================================================= */

.vacancies-section {
    padding: 80px 30px;
    min-height: 70vh;
}

.vacancies-inner {
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.vacancies-header {
    max-width: 760px;
    margin-bottom: 35px;
}

.vacancies-label {
    font-size: 10px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #06b6d4;
    margin-bottom: 8px;
}

.vacancies-header h1 {
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.7px;
    color: #111827;
}

.vacancies-header h1 span {
    color: #06b6d4;
}

.vacancies-header p {
    margin: 0;
    max-width: 690px;
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
}


/* =========================================================
   TABS
========================================================= */

.vac-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
}

.vac-tab {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    border-radius: 10px;
    padding: 10px 15px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    transition:
        border-color .2s ease,
        background .2s ease,
        color .2s ease;
}

.vac-tab:hover {
    border-color: #06b6d4;
}

.vac-tab.active {
    color: #ffffff;
    background: #111827;
    border-color: #111827;
}

.vac-tab-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.vac-tab-dot.open {
    background: #16a34a;
}

.vac-tab-dot.closed {
    background: #ef4444;
}

.vac-tab-count {
    min-width: 23px;
    height: 21px;
    padding: 0 7px;
    border-radius: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #f1f5f9;
    color: #475569;

    font-size: 11px;
    font-weight: 700;
}

.vac-tab.active .vac-tab-count {
    background: rgba(255,255,255,.15);
    color: #ffffff;
}


/* =========================================================
   PANELS
========================================================= */

.vac-panel {
    display: none;
}

.vac-panel.active {
    display: block;
}


/* =========================================================
   LIST
========================================================= */

.vacancy-list {
    display: grid;
    gap: 15px;
}


/* =========================================================
   CARD
========================================================= */

.vacancy-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;

    padding: 22px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.vacancy-card:hover {
    transform: translateY(-2px);
    border-color: #a5f3fc;
    box-shadow: 0 12px 30px rgba(15,23,42,.07);
}

.vacancy-card-main {
    min-width: 0;
}


/* =========================================================
   CARD TOP
========================================================= */

.vacancy-card-top,
.vacancy-single-labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 11px;
}


/* =========================================================
   STATUS
========================================================= */

.vacancy-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 5px 9px;
    border-radius: 30px;

    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.vacancy-status .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.vacancy-status.open {
    background: #dcfce7;
    color: #15803d;
}

.vacancy-status.closed {
    background: #fee2e2;
    color: #dc2626;
}

.vacancy-status.upcoming {
    background: #fef3c7;
    color: #b45309;
}


/* =========================================================
   TYPE
========================================================= */

.vacancy-type {
    padding: 5px 9px;
    border-radius: 30px;

    background: #ecfeff;
    color: #0891b2;

    font-size: 10px;
    line-height: 1;
    font-weight: 700;
}


/* =========================================================
   TITLE
========================================================= */

.vacancy-card-title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.vacancy-card-title a {
    color: #111827;
    text-decoration: none;
}

.vacancy-card-title a:hover {
    color: #0891b2;
}


/* =========================================================
   SUMMARY
========================================================= */

.vacancy-card-summary {
    max-width: 760px;
    margin-bottom: 13px;

    font-size: 13px;
    line-height: 1.65;
    color: #64748b;
}


/* =========================================================
   META
========================================================= */

.vacancy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
}

.vacancy-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
}

.vacancy-meta-item i {
    width: 14px;
    color: #06b6d4;
    text-align: center;
}

.vacancy-meta-item strong {
    color: #374151;
}


/* =========================================================
   ACTIONS
========================================================= */

.vacancy-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 145px;
}

.vacancy-btn {
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 14px;

    border-radius: 9px;

    font-family: inherit;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;

    text-decoration: none;
    text-align: center;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.vacancy-btn.primary {
    background: #06b6d4;
    border: 1px solid #06b6d4;
    color: #ffffff;
}

.vacancy-btn.primary:hover {
    background: #0891b2;
    border-color: #0891b2;
    color: #ffffff;
    transform: translateY(-1px);
}

.vacancy-btn.secondary {
    background: #ffffff;
    border: 1px solid #dbe3ea;
    color: #374151;
}

.vacancy-btn.secondary:hover {
    border-color: #06b6d4;
    color: #0891b2;
}

.vacancy-btn.unavailable {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #94a3b8;
    cursor: default;
}

.vacancy-btn.large {
    min-width: 160px;
    min-height: 45px;
}


/* =========================================================
   EMPTY
========================================================= */

.vacancy-empty {
    padding: 55px 25px;

    border: 1px dashed #cbd5e1;
    border-radius: 14px;

    background: #ffffff;

    text-align: center;
}

.vacancy-empty-icon {
    width: 48px;
    height: 48px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ecfeff;
    color: #06b6d4;

    font-size: 18px;
}

.vacancy-empty h2 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #111827;
}

.vacancy-empty p {
    max-width: 580px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.65;
    color: #64748b;
}


/* =========================================================
   SINGLE VACANCY
========================================================= */

.vacancy-single {
    padding: 75px 25px;
}

.vacancy-single-inner {
    max-width: 900px;
    margin: 0 auto;
}

.vacancy-back {
    display: inline-flex;
    margin-bottom: 25px;

    color: #64748b;

    font-size: 13px;
    font-weight: 500;

    text-decoration: none;
}

.vacancy-back:hover {
    color: #06b6d4;
}


/* =========================================================
   SINGLE HEADER
========================================================= */

.vacancy-single-header {
    margin-bottom: 28px;
}

.vacancy-single-header h1 {
    max-width: 850px;

    margin: 0 0 13px;

    font-size: 36px;
    line-height: 1.2;
    font-weight: 800;

    color: #111827;
}

.vacancy-single-intro {
    max-width: 720px;

    margin: 0;

    font-size: 15px;
    line-height: 1.7;

    color: #64748b;
}


/* =========================================================
   DETAIL GRID
========================================================= */

.vacancy-details-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 1px;

    overflow: hidden;

    margin-bottom: 30px;

    border: 1px solid #e2e8f0;
    border-radius: 12px;

    background: #e2e8f0;
}

.vacancy-detail {
    padding: 15px 17px;
    background: #ffffff;
}

.vacancy-detail.wide {
    grid-column: 1 / -1;
}

.vacancy-detail span {
    display: block;

    margin-bottom: 4px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;

    color: #94a3b8;
}

.vacancy-detail strong {
    display: block;

    font-size: 14px;
    line-height: 1.5;

    color: #111827;
}


/* =========================================================
   SINGLE CONTENT
========================================================= */

.vacancy-single-content {
    padding: 30px;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    color: #475569;

    font-size: 15px;
    line-height: 1.8;
}

.vacancy-single-content h2,
.vacancy-single-content h3,
.vacancy-single-content h4 {
    margin-top: 28px;
    margin-bottom: 10px;
    color: #111827;
}

.vacancy-single-content h2:first-child,
.vacancy-single-content h3:first-child,
.vacancy-single-content h4:first-child {
    margin-top: 0;
}

.vacancy-single-content ul,
.vacancy-single-content ol {
    padding-left: 22px;
    margin: 12px 0;
}

.vacancy-single-content li {
    margin-bottom: 7px;
}


/* =========================================================
   APPLY BOX
========================================================= */

.vacancy-apply-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    margin-top: 22px;
    padding: 22px 24px;

    border: 1px solid #cffafe;
    border-radius: 13px;

    background: #ecfeff;
}

.vacancy-apply-box h2 {
    margin: 0 0 5px;
    font-size: 17px;
    color: #111827;
}

.vacancy-apply-box p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:768px) {

    .vacancies-section {
        padding: 60px 20px;
    }

    .vacancies-header h1 {
        font-size: 32px;
    }

    .vacancy-card {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .vacancy-card-actions {
        width: 100%;
        flex-direction: row;
    }

    .vacancy-card-actions .vacancy-btn {
        flex: 1;
    }

    .vacancy-single {
        padding: 55px 18px;
    }

    .vacancy-single-header h1 {
        font-size: 30px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:600px) {

    .vacancies-section {
        padding: 45px 14px;
    }

    .vacancies-label {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .vacancies-header {
        margin-bottom: 25px;
    }

    .vacancies-header h1 {
        font-size: 26px;
    }

    .vacancies-header p {
        font-size: 14px;
    }

    .vac-tabs {
        gap: 7px;
    }

    .vac-tab {
        flex: 1;
        justify-content: center;

        padding: 9px 10px;

        font-size: 14px;
    }

    .vacancy-list {
        gap: 10px;
    }

    .vacancy-card {
        padding: 15px;
        border-radius: 10px;
    }

    .vacancy-card-title {
        font-size: 16px;
    }

    .vacancy-card-summary,
    .vacancy-meta-item {
        font-size: 14px;
    }

    .vacancy-status,
    .vacancy-type {
        font-size: 14px;
    }

    .vacancy-btn {
        font-size: 14px;
    }

    .vacancy-single {
        padding: 40px 13px;
    }

    .vacancy-single-header h1 {
        font-size: 25px;
    }

    .vacancy-single-intro {
        font-size: 14px;
    }

    .vacancy-details-grid {
        grid-template-columns: 1fr;
    }

    .vacancy-detail.wide {
        grid-column: auto;
    }

    .vacancy-detail span,
    .vacancy-detail strong {
        font-size: 14px;
    }

    .vacancy-single-content {
        padding: 18px;

        font-size: 14px;
        line-height: 1.7;
    }

    .vacancy-apply-box {
        flex-direction: column;
        align-items: stretch;

        padding: 18px;
    }

    .vacancy-apply-box h2,
    .vacancy-apply-box p {
        font-size: 14px;
    }

    .vacancy-btn.large {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media(max-width:380px) {

    .vacancies-section {
        padding: 38px 11px;
    }

    .vacancies-header h1 {
        font-size: 23px;
    }

    .vacancy-card {
        padding: 13px;
    }

    .vacancy-card-actions {
        flex-direction: column;
    }

    .vacancy-single {
        padding: 35px 11px;
    }

    .vacancy-single-header h1 {
        font-size: 23px;
    }

}

/* Vacancy archive Read More enhancement */
.vacancy-card .vacancy-read-more{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.vacancy-card .vacancy-read-more i{font-size:10px;transition:transform .2s ease}.vacancy-card .vacancy-read-more:hover i{transform:translateX(3px)}
