/* === features/public-layout.css — shared chrome, hero, stats-strip, and
 * typography for all 8 public pages. Combined from layout_mock2.css +
 * page_hero.css + public_content.css during public-layout-css-webpack-migration.
 * Imported from each page's own {page}_public.css — see css-styling skill's
 * feature-CSS convention. */

/* ─────────────────────────────────────────────────────────────────────────
 * Section 1 — from css/layout_mock2.css (chrome: topbar, header, nav, footer)
 * ───────────────────────────────────────────────────────────────────────── */


:root {
    --navy-dark:  #0f1d3a;
    --navy:       #1b2a52;
    --navy-light: #2d4080;
    --red:        #c1272d;
    --red-hover:  #a01f23;
    --white:      #ffffff;
    --gray-bg:    #f5f7fa;
    --gray-border:#e2e8f0;
    --text-dark:  #1a2035;
    --text-mid:   #4a5568;
    --font-h:     'Exo 2', sans-serif;
    --font-b:     'Mulish', sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { overflow-x: hidden; }

body {
    font-family: var(--font-b);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ── Top contact bar ─────────────────────────────────────────────────────── */
.lm-topbar {
    background: var(--navy-dark);
    color: rgba(255,255,255,.85);
    font-size: 1rem;
    padding: 5px 0;
}

.lm-topbar a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    transition: color .2s;
}
.lm-topbar a:hover { color: var(--white); }

/* Contact items — spacing + separator + icon size */
.lm-topbar-contacts {
    gap: 1.25rem;
}
.lm-topbar-contacts .bi {
    font-size: 1.14rem;
}
.lm-topbar-contacts > span + span {
    padding-left: 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lm-topbar-inner {
    padding: 0 32px;
}

/* N!NEXUS brand block — topbar */
.lm-nexus-of {
    font-size: .65rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    font-family: var(--font-b);
    white-space: nowrap;
}

.lm-nexus-name {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
    letter-spacing: .03em;
    line-height: 1;
    white-space: nowrap;
}
.lm-nexus-name em {
    font-style: normal;
    color: var(--red);
}

.lm-nexus-tagline {
    font-size: .65rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    font-family: var(--font-b);
    white-space: nowrap;
}

/* B2B button — brand overrides only; Bootstrap btn btn-danger handles base styles */
.lm-btn-b2b {
    font-family: var(--font-h);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    border-radius: 2px;
    white-space: nowrap;
    padding: 6px 18px;
    background: var(--red);
    border-color: var(--red);
}
.lm-btn-b2b:hover {
    background: var(--red-hover);
    border-color: var(--red-hover);
    color: var(--white);
}

/* ── Main header ─────────────────────────────────────────────────────────── */

/* sticky-top, bg-white, border-bottom come from Bootstrap classes on the element.
 * !important needed to beat default.css (.navbar { height:50px; padding:0 25px !important }) */
.lm-header {
    height: auto !important;
    min-height: 0 !important;
    padding: 14px 0 !important;
    box-shadow: 0 2px 12px rgba(15,29,58,.07);
}

.lm-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 32px;
}

.lm-brand img { height: 62px; width: auto; }

.lm-brand-name {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--navy);
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.15;
}

.lm-brand-sub {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.35;
    max-width: 240px;
}

/* ── Navigation (desktop, ≥1400px) ──────────────────────────────────────── */
.lm-nav {
    gap: clamp(0.25rem, 0.5vw, 0.75rem);
}

.lm-nav a {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: clamp(1rem, 0.45vw + 0.75rem, 1.25rem);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 8px;
    border-radius: 3px;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.lm-nav a:hover {
    color: var(--navy);
    background: var(--gray-bg);
}
.lm-nav a.active {
    color: var(--navy);
    background: rgba(27, 42, 82, 0.06);
}

.lm-nav-search {
    font-size: 1.05rem;
    color: var(--text-mid);
    padding: 8px 10px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    transition: color .2s, background .2s;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.lm-nav-search:hover {
    color: var(--navy);
    background: var(--gray-bg);
}

/* ── Hamburger — shown at <1400px via navbar-expand-xxl ─────────────────── */
.lm-mobile-toggle {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 32, 65, 0.18);
    border-radius: 0.5rem;
    background-color: var(--white);
    color: var(--navy-dark);
    cursor: pointer;
    flex-shrink: 0;
}
.lm-mobile-toggle .mdi {
    font-size: 1.75rem;
    line-height: 1;
}
/* Suppress Bootstrap's default toggler focus ring */
.lm-mobile-toggle:focus {
    box-shadow: none;
    outline: none;
}

/* ── Offcanvas navigation (mobile/tablet <1400px) ───────────────────────── */
.offcanvas-nav .nav-link {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-dark);
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(15, 32, 65, 0.08);
    transition: color .2s;
}
.offcanvas-nav .nav-link:hover { color: var(--navy); }
.offcanvas-nav .nav-link.active { color: var(--navy); }
.offcanvas-nav li:last-child .nav-link { border-bottom: none; }

/* ── Responsive header ───────────────────────────────────────────────────── */
@media (max-width: 575.98px) {
    .lm-topbar-right { flex: 1; justify-content: space-between; }
    .lm-header { padding: 10px 0 !important; }
    .lm-brand img { height: 46px; }
    .lm-mobile-toggle {
        width: 3.25rem;
        height: 3.25rem;
        min-width: 3.25rem;
    }
    .lm-mobile-toggle .mdi { font-size: 2rem; }
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.lm-footer {
    background: #0d1424;
    color: rgba(255,255,255,.7);
    padding: 48px 0 20px;
    overflow-x: hidden;
}

/* Cap content width to 1200px — Bootstrap container goes to 1320px at xxl */
.lm-footer .container {
    max-width: 1200px;
}

.lm-footer-col-title {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 0.929rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    line-height: 1.3;
}

.lm-footer-company-name {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}

.lm-footer p {
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(255,255,255,.6);
}

.lm-footer a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.55;
    display: block;
    margin-bottom: 0;
    transition: color .2s;
}
.lm-footer a:hover { color: var(--white); }

/* Social icon circles */
.lm-footer-social {
    gap: 10px;
    margin-top: 24px;
}
.lm-footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.2);
    font-size: .9rem;
    transition: border-color .2s, color .2s;
}
.lm-footer-social a:hover {
    border-color: rgba(255,255,255,.7);
    color: var(--white);
}

/* Contact items column */
.lm-footer-contacts {
    gap: 14px;
}
.lm-footer-contact-item {
    gap: 12px;
    font-size: 1rem;
    color: rgba(255,255,255,.6);
}
.lm-footer-contact-item i {
    color: rgba(255,255,255,.35);
    font-size: .9rem;
    flex-shrink: 0;
}

/* Footer N!NEXUS — d-flex beats .lm-footer a { display:block } (Bootstrap !important) */
.lm-footer .lm-footer-nexus {
    margin-bottom: 0;
    padding-top: 0;
}
.lm-nexus-name--lg {
    font-size: 1.45rem;
    letter-spacing: .04em;
}
.lm-footer-nexus .lm-nexus-of {
    font-size: 0.786rem;
    letter-spacing: 0.12em;
}
.lm-footer-nexus .lm-nexus-of,
.lm-footer-nexus .lm-nexus-tagline {
    color: rgba(255,255,255,.4);
    white-space: normal;
}

.lm-footer-hr {
    border-top: 1px solid rgba(255,255,255,.18);
    /* margin via Bootstrap my-3; opacity via opacity-100 */
}

/* ── Footer bottom row ──────────────────────────────────────────────────── */
.lm-footer-bottom-inner {
    font-size: 0.857rem;
    color: rgba(255,255,255,.45);
}
.lm-footer-bottom-inner a {
    color: rgba(255,255,255,.45);
    text-decoration: none;
    font-size: 0.857rem;
    display: inline;
    margin-bottom: 0;
    transition: color .2s;
}
.lm-footer-bottom-inner a:hover { color: rgba(255,255,255,.85); }

@media (max-width: 767.98px) {
    .lm-footer { padding: 36px 0 20px; }
}

/* ─────────────────────────────────────────────────────────────────────────
 * Section 2 — from css/page_hero.css (hero component + stats strip)
 * ───────────────────────────────────────────────────────────────────────── */


.page-hero {
    position: relative;
    min-height: clamp(28rem, 34vw, 34rem);
    max-height: clamp(28rem, 34vw, 34rem);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Gradient overlay — left-to-right white fade */
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.98)  0%,
        rgba(255,255,255,0.92) 28%,
        rgba(255,255,255,0.55) 46%,
        rgba(255,255,255,0.08) 68%,
        rgba(255,255,255,0)   100%
    );
}

.page-hero .container-xxl,
.page-hero .row {
    min-height: inherit;
}

.page-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-hero__text {
    max-width: 36rem;
    padding-top: clamp(5rem, 7vw, 7.5rem);
}

/* Font-size comes from .hero-title in public_content.css */
.page-hero__title {
    color: #142653;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

/* Font-size comes from .hero-text in public_content.css */
.page-hero__description {
    max-width: 40rem;
    line-height: 1.7;
    color: #41506a;
}

/* ── Hero CTA button — extends btn btn-danger btn-lg ─────────────────────── */
.page-hero .page-hero__button {
    padding: .9rem 2.2rem;
    border-radius: .5rem;
    font-weight: 600;
    min-width: 220px;
    min-height: 3.25rem;
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 0.5rem 1.25rem rgba(201, 35, 45, 0.18);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.page-hero .page-hero__button:hover {
    background-color: #b91f28;
    border-color: #b91f28;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 0.75rem 1.5rem rgba(201, 35, 45, 0.24);
}

.page-hero .page-hero__button:focus-visible {
    outline: 0;
    box-shadow:
        0 0 0 0.25rem rgba(201, 35, 45, 0.22),
        0 0.5rem 1.25rem rgba(201, 35, 45, 0.18);
}

.page-hero .page-hero__button:active {
    background-color: #a91c24;
    border-color: #a91c24;
    color: #ffffff;
    transform: translateY(0);
    box-shadow: 0 0.25rem 0.75rem rgba(201, 35, 45, 0.18);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1399.98px) {
    .page-hero__text {
        padding-top: 5.75rem;
    }
}

@media (max-width: 1199.98px) {
    .page-hero {
        min-height: 30rem;
        max-height: 30rem;
    }
    .page-hero__text {
        padding-top: 5rem;
        max-width: 34rem;
    }
}

@media (max-width: 991.98px) {
    .page-hero {
        min-height: 28rem;
        max-height: 28rem;
    }
    .page-hero__text {
        padding-top: 4.5rem;
        max-width: 32rem;
    }
}

@media (max-width: 767.98px) {
    .page-hero {
        min-height: 30rem;
        max-height: 30rem;
    }
    .page-hero__text {
        padding-top: 4rem;
        max-width: 30rem;
    }
    .page-hero__title {
        max-width: 28rem;
    }
}

@media (max-width: 575.98px) {
    .page-hero {
        min-height: 32rem;
        max-height: 32rem;
    }
    .page-hero__text {
        padding-top: 3.5rem;
        max-width: 100%;
    }
    .page-hero__title {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }
    .page-hero__description {
        font-size: 1rem;
        line-height: 1.6;
    }
    .page-hero .page-hero__button {
        min-height: 3rem;
        min-width: 11rem;
        padding: 0.75rem 1.5rem;
    }
}

/* ── Statistics strip — shared across public pages that include _stats_strip.php ── */
.lm-stats {
    background: var(--gray-bg);
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
    padding: 40px 32px;
}

.lm-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

/* Horizontal: large icon on left, number+label on right */
.lm-stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 28px;
}

.lm-stat-item + .lm-stat-item {
    border-left: 1px solid var(--gray-border);
}

/* PNG icons from img/shared/ — mix-blend-mode removes white background */
.lm-stat-img {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.lm-stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lm-stat-number {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 2.25rem;
    color: var(--navy);
    line-height: 1;
}

.lm-stat-label {
    font-size: .8rem;
    color: var(--text-mid);
    line-height: 1.45;
}

/* 4th stat label (no number) — slightly larger text */
.lm-stat-label--lg {
    font-size: .85rem;
    color: var(--text-dark);
    font-weight: 500;
}

@media (max-width: 991px) {
    .lm-stats-inner { grid-template-columns: repeat(2, 1fr); }
    .lm-stat-item:nth-child(3) { border-left: none; }
    .lm-stat-item:nth-child(3),
    .lm-stat-item:nth-child(4) { border-top: 1px solid var(--gray-border); }
}

@media (max-width: 575px) {
    .lm-stats-inner { grid-template-columns: 1fr; }
    .lm-stat-item + .lm-stat-item { border-left: none; border-top: 1px solid var(--gray-border); }
    .lm-stat-item:nth-child(3) { border-left: none; }
    .lm-stat-img { width: 54px; height: 54px; }
}

/* ─────────────────────────────────────────────────────────────────────────
 * Section 3 — from css/public_content.css (shared typography system)
 * ───────────────────────────────────────────────────────────────────────── */

/* ── Typography scale variables ──────────────────────────────────────────── */
:root {
    --font-size-hero-title:    clamp(2.8rem, 2vw + 2rem, 3.75rem);
    --font-size-hero-text:     clamp(1.1rem, .3vw + 1rem, 1.35rem);
    --font-size-section-title: clamp(1.8rem, .5vw + 1.5rem, 2.3rem);
    --font-size-card-title:    1.35rem;
    --font-size-body:          1rem;
    --font-size-meta:          .95rem;
    --line-height-body:        1.7;
}

/* ── Hero typography ─────────────────────────────────────────────────────── */
.lm-public .hero-title {
    font-size: var(--font-size-hero-title);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.lm-public .hero-text {
    font-size: var(--font-size-hero-text);
    line-height: var(--line-height-body);
    color: var(--text-mid, #4a5568);
    max-width: 40rem;
}

/* ── Section headings ────────────────────────────────────────────────────── */
.lm-public .section-title {
    font-size: var(--font-size-section-title);
    font-weight: 700;
    line-height: 1.25;
    color: var(--bs-dark);
    margin-bottom: 1.5rem;
}

.lm-public .section-subtitle {
    font-size: clamp(1rem, .3vw + 0.9rem, 1.15rem);
    line-height: var(--line-height-body);
    color: var(--bs-secondary-color);
}

/* ── Card titles ─────────────────────────────────────────────────────────── */
/* BS5 .card-title only sets margin-bottom — adding font-size/weight here is safe */
.lm-public .card-title {
    font-size: var(--font-size-card-title);
    font-weight: 700;
    line-height: 1.35;
}

/* ── Body / card text ────────────────────────────────────────────────────── */
.lm-public .content-text,
.lm-public .card-text,
.lm-public .section-text {
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    color: var(--bs-secondary-color);
}

/* ── Form titles ─────────────────────────────────────────────────────────── */
.lm-public .form-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--bs-dark);
    margin-bottom: 1.25rem;
}

/* ── Metadata / secondary text ───────────────────────────────────────────── */
.lm-public .meta-text,
.lm-public .text-meta {
    font-size: var(--font-size-meta);
    line-height: 1.5;
}

/* ── Small text ──────────────────────────────────────────────────────────── */
.lm-public .small-text {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ── Bootstrap class overrides ───────────────────────────────────────────── */

/* font-size intentionally omitted — Bootstrap's 1rem default and btn-lg are correct */
.lm-public .btn {
    font-weight: 600;
}

.lm-public .btn-sm {
    font-size: var(--font-size-meta);
}

.lm-public .form-control,
.lm-public .form-select {
    font-size: var(--font-size-body);
    min-height: 2.9rem;
}

.lm-public .form-label {
    font-size: var(--font-size-meta);
    font-weight: 600;
}

/* ── Vacancy card font overrides (specificity 0,2,0 beats bundled 0,1,0) ── */
.lm-public .vac-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
}

.lm-public .vac-card-meta {
    font-size: .875rem;
}

.lm-public .vac-card-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: #4b5870;
}

/* ── Dept filter tab font overrides (+25%) ───────────────────────────────── */
.lm-public .vac-dept-tab-icon {
    font-size: 1.875rem;
}

.lm-public .vac-dept-tab-name {
    font-size: 1.1rem;
}

.lm-public .vac-dept-tab-cnt {
    font-size: .9rem;
}


/* ── Universal inline attachment uploader ─────────────────────────────────── */

.att-uploader {
    position: relative;
}

/* Empty drop zone */
.att-dropzone {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    border: 1.5px dashed #b6cdf2;
    border-radius: 0.75rem;
    background: #fbfdff;
    transition:
        border-color 0.15s,
        background 0.15s;
}

.att-dropzone--over {
    border-color: #0d6efd;
    background: #eef5ff;
}

.att-add-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 116px;
    padding: 1rem 1.25rem;
    border: 1px solid #cfe0fb;
    border-radius: 0.6rem;
    background: #fff;
    color: #0d6efd;
    cursor: pointer;
    transition:
        background 0.15s,
        border-color 0.15s;
}
.att-add-btn:hover {
    background: #f1f7ff;
    border-color: #0d6efd;
}
.att-add-icon {
    font-size: 1.5rem;
    line-height: 1;
}
.att-add-text {
    font-size: 0.8rem;
    font-weight: 600;
}

.att-dropzone-title {
    font-weight: 600;
    color: #334155;
}
.att-dropzone-sub {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* File cards row */
.att-files {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Split/sidebar mode: stack full-width cards vertically */
.att-files--stacked {
    flex-flow: column nowrap;
}

.att-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 200px;
    padding: 0.4rem 0.5rem;
    border: 1px solid #e5e9f0;
    border-radius: 0.55rem;
    background: #fff;
    position: relative;
}
.att-card--error {
    border-color: #f1aeb5;
    background: #fff8f8;
}
.att-card--done {
    border-color: #badbcc;
}
.att-card--uploading {
    opacity: 0.85;
}
.att-files--stacked .att-card {
    width: 100%;
}

.att-thumb {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 0.4rem;
    background-size: cover;
    background-position: center;
    background-color: #f1f5f9;
}

.att-thumb--doc {
    display: flex;
    align-items: center;
    justify-content: center;
}
.att-doc-icon {
    font-size: 1.6rem;
    line-height: 1;
    color: #64748b;
}
.att-icon-pdf {
    color: #e2433b;
}
.att-icon-word {
    color: #2b7cd3;
}
.att-icon-excel {
    color: #1d8a4f;
}

.att-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
}

.att-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.att-size {
    font-size: 0.72rem;
    color: #94a3b8;
}
.att-error-msg {
    font-size: 0.72rem;
    color: #dc3545;
}

.att-remove {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e9f0;
    border-radius: 50%;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition:
        background 0.15s,
        color 0.15s;
}
.att-remove:hover {
    background: #fbeaea;
    color: #dc3545;
    border-color: #f1aeb5;
}

/* persistent "+" tile in gallery mode */
.att-card--add {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.1rem;
    width: 84px;
    border: 1.5px dashed #b6cdf2;
    background: #fbfdff;
    color: #0d6efd;
    cursor: pointer;
}
.att-card--add:hover {
    border-color: #0d6efd;
    background: #f1f7ff;
}
.att-files--stacked .att-card--add {
    flex-direction: row;
    width: 100%;
    gap: 0.4rem;
    padding: 0.45rem;
}

/* Indeterminate upload progress */
.att-progress {
    display: block;
    height: 3px;
    margin-top: 0.3rem;
    border-radius: 2px;
    background: #e5e9f0;
    overflow: hidden;
}

.att-progress-bar {
    display: block;
    height: 100%;
    width: 40%;
    border-radius: 2px;
    background: #0d6efd;
    animation: att-indeterminate 1.1s infinite ease-in-out;
}

@keyframes att-indeterminate {
    0% {
        margin-left: -40%;
    }
    100% {
        margin-left: 100%;
    }
}

.att-toast {
    position: absolute;
    right: 0;
    bottom: -1.6rem;
    font-size: 0.78rem;
    color: #dc3545;
}

/* ── Vacancies module styles ─────────────────────────────────────── */

/* Department filter chips */
.vac-filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    background: #fff;
    color: var(--navy-dark, #0f1d3a);
    text-decoration: none;
    border: 1px solid #c8d4e8;
    transition:
        background 0.15s,
        color 0.15s,
        border-color 0.15s;
    white-space: nowrap;
}

.vac-filter-chip:hover {
    background: #f0f4fb;
    border-color: var(--navy, #1b2a52);
    color: var(--navy-dark, #0f1d3a);
}

.vac-filter-chip.active {
    background: var(--navy, #1b2a52);
    color: #fff;
    border-color: var(--navy, #1b2a52);
}

/* Department card-tabs (icon + name + count) */
.vac-dept-tab {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex: 1;
    min-width: 72px;
    padding: 0.55rem 0.5rem 0.45rem;
    border: 1px solid #dce4f0;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    transition:
        border-color 0.15s,
        background 0.15s;
}

.vac-dept-tab:hover {
    border-color: var(--navy, #1b2a52);
    background: #f5f7fc;
}

.vac-dept-tab.active {
    border: 2px solid var(--navy, #1b2a52);
    background: #fff;
}

.vac-dept-tab-icon {
    font-size: 1.5rem;
    color: var(--navy, #1b2a52);
    opacity: 0.8;
}

.vac-dept-tab.active .vac-dept-tab-icon {
    opacity: 1;
}

.vac-dept-tab-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.vac-dept-tab.active .vac-dept-tab-name {
    color: var(--navy, #1b2a52);
}

.vac-dept-tab-cnt {
    position: absolute;
    top: 0.2rem;
    right: 0.35rem;
    font-size: 0.62rem;
    color: #89b;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 991.98px) {
    .vac-dept-tabs {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, 88px);
        gap: 12px !important;
        justify-content: space-between;
    }

    .vac-dept-tab {
        position: relative;
        flex: none;
        width: 88px;
        min-width: 88px;
        height: 88px;
        padding: 10px;
        gap: 0;
    }

    .vac-dept-tab-name {
        display: none;
    }

    .vac-dept-tab-icon {
        font-size: 26px;
    }

    .vac-dept-tab-cnt {
        top: 8px;
        right: 10px;
    }
}

/* Search field */
.vac-search {
    min-width: 200px;
}

/* Vacancy card */
.vac-card {
    position: relative;
    background: #fff;
    border: 1px solid #e8ecf4;
    border-radius: 10px;
    overflow: hidden;
    transition:
        box-shadow 0.2s,
        border-color 0.2s;
}

.vac-card:hover {
    box-shadow: 0 4px 18px rgba(15, 29, 58, 0.1);
    border-color: #c8d0e0;
}

.vac-card-img-wrap {
    padding: 0.85rem 0 0.85rem 0.85rem;
    flex-shrink: 0;
    align-self: flex-start;
}

.vac-card-img {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #eef2fa;
    border-radius: 10px;
    flex-shrink: 0;
}

.vac-card-img img {
    width: 54px;
    height: 54px;
    object-fit: cover;
}

.vac-card-img-placeholder {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--navy, #1b2a52);
    opacity: 0.5;
}

.vac-card-body {
    padding: 0.9rem 1.1rem;
}

/* ── Font improvements (structure unchanged) ─────────────────────────────── */
.vac-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.3rem;
}

.vac-card-title a {
    color: var(--navy, #1b2a52);
    text-decoration: none;
}

.vac-card-title a:hover {
    text-decoration: underline;
}

/* Card meta line: city · dept · salary */
.vac-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.75rem;
    font-size: 0.875rem;
    color: #5a6580;
    margin-bottom: 0.45rem;
}

.vac-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.vac-card-desc {
    font-size: 0.9rem;
    color: #4b5870;
    margin-bottom: 0.5rem;
    line-height: 1.65;
}

/* Hot label — inline, above card title */
.vac-hot-label {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--red, #c1272d);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: 0.01em;
}

/* Circle arrow button — replaces text "Детальніше" */
.vac-circle-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy, #1b2a52);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.15s;
}

.vac-circle-btn:hover {
    background: var(--navy-dark, #0f1d3a);
    color: #fff;
}

/* Vacancy meta badges */
.vac-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.vac-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    background: #eef1f8;
    color: #445;
}

.vac-badge-dept {
    background: #e8f0fc;
    color: var(--navy, #1b2a52);
    font-weight: 600;
}

.vac-badge-salary {
    background: #e6f7ee;
    color: #1a6b3c;
}

/* Detail btn */
.vac-detail-btn {
    font-size: 0.82rem;
    background: transparent;
    border: 1px solid var(--navy, #1b2a52);
    color: var(--navy, #1b2a52);
}

.vac-detail-btn:hover {
    background: var(--navy, #1b2a52);
    color: #fff;
}

/* Show-more button */
.vac-show-more-btn {
    border: 1.5px solid var(--navy, #1b2a52);
    color: var(--navy, #1b2a52);
    background: #fff;
    padding: 0.55rem 2.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition:
        background 0.15s,
        color 0.15s;
}

.vac-show-more-btn:hover {
    background: var(--navy, #1b2a52);
    color: #fff;
}

/* Empty state */
.vac-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

/* Detail page */
.vac-back-link {
    color: var(--navy, #1b2a52);
}

.vac-detail-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy-dark, #0f1d3a);
    margin-bottom: 0.75rem;
}

.vac-detail-img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 10px;
}

.vac-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy-dark, #0f1d3a);
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #e8ecf4;
    margin-bottom: 0.75rem;
}

.vac-section-body {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.7;
}

/* Benefit icon cards */
.vac-benefit-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.vac-benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 0.6rem 0.6rem;
    width: calc(20% - 0.6rem);
    min-width: 90px;
    border: 1px solid #e8ecf4;
    border-radius: 10px;
    background: #fff;
    text-align: center;
}

.vac-benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eef2fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--navy, #1b2a52);
    flex-shrink: 0;
}

.vac-benefit-text {
    font-size: 0.72rem;
    color: #333;
    line-height: 1.3;
}

/* Bottom CTA strip */
.vac-cta-strip {
    border: 1px solid #e8ecf4;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    background: #fff;
}

.vac-cta-heading {
    color: var(--navy-dark, #0f1d3a);
    font-size: 1rem;
}

/* Sidebar contact icons */
.vac-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eef2fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--navy, #1b2a52);
    flex-shrink: 0;
}

/* Main content area — matches standard 3.5rem section top gap */
.vac-main-content {
    padding-top: 3.5rem;
    padding-bottom: 1rem;
}

/* Apply button */
.vac-apply-btn {
    background: var(--red, #c1272d);
    border-color: var(--red, #c1272d);
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Sidebar resume form */
.vac-sidebar-card {
    position: sticky;
    top: 80px;
}

.vac-btn-navy {
    background: var(--navy, #1b2a52);
    color: #fff;
    border: none;
}

.vac-btn-navy:hover {
    background: var(--navy-dark, #0f1d3a);
    color: #fff;
}

/* Apply modal header */
.vac-modal-header {
    background: var(--navy-dark, #0f1d3a);
}

/* Other mobile adjustments */
@media (max-width: 767px) {
    .vac-card-img-wrap {
        padding: 0.6rem 0 0.6rem 0.6rem;
    }

    .vac-card-img,
    .vac-card-img img,
    .vac-card-img-placeholder {
        width: 44px;
        height: 44px;
    }

    .vac-detail-title {
        font-size: 1.4rem;
    }

    .vac-sidebar-card {
        position: static;
    }
}

.modal-header {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    min-height: auto;
}

.modal-header-color {
    background: #00406e;
    color: #fff;
}

.btn-close-custom {
    position: relative;
    width: 2.2rem;
    height: 2.2rem;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 0.375rem;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.btn-close-custom::before,
.btn-close-custom::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 2px;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform-origin: center;
}

.btn-close-custom::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.btn-close-custom::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.btn-close-custom:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ── Modal loading state ─────────────────────────────────────────────────── */

.modal.is-loading .modal-body {
    opacity: 0.4;
    pointer-events: none;
}
.modal.is-loading .modal-spinner {
    display: flex;
}

.modal-footer:empty {
    display: none;
}

