/* ==========================================================================
   TNA Africa product, industry and tool pages (loaded after style.css)
   Everything is scoped to body.subpage, except the homepage pieces at the
   bottom (explore links and the shared footer grid).
   ========================================================================== */

.subpage {
    --za-sky: #38bdf8;
    --za-blue: #0284c7;
    --za-blue-hover: #0369a1;
    --za-green: #10b981;
    --za-amber: #f59e0b;
}

/* Navigation */
.subpage .navbar {
    background: rgba(16, 17, 20, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.subpage .nav-container {
    max-width: 100%;
    padding: 0 2vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 1.5rem;
}
.subpage .logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}
.za-tna { color: #ffffff; text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5); }
.za-africa {
    background: linear-gradient(90deg, #16a34a 0%, #eab308 45%, #f97316 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.subpage .nav-links { gap: 1.5rem; margin: 0; padding: 0; }
.subpage .nav-links a { font-size: 0.9rem; white-space: nowrap; }
.subpage .nav-links a[aria-current="page"] { color: #ffffff; font-weight: 700; box-shadow: inset 0 -2px 0 var(--za-sky); padding-bottom: 4px; }
.subpage .nav-right { display: flex; align-items: center; gap: 0.75rem; }

/* Sections: drop the homepage's 80vh sections and keep an even rhythm */
.subpage main.container { padding-top: 0; }
.subpage main > .page-section { min-height: 0; margin: 0; padding: 4rem 0; }

/* Buttons */
.za-btn {
    background: var(--za-blue);
    color: #ffffff;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.za-btn:hover { background: var(--za-blue-hover); }
.za-btn.lg { font-size: 1.1rem; padding: 15px 32px; border-radius: 50px; box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.4); }
.za-btn.lg:hover { transform: translateY(-3px); box-shadow: 0 15px 30px -5px rgba(2, 132, 199, 0.6); }
.za-btn.ghost { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: none; }
.za-btn.ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* Type */
.za-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--za-sky);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}
.za-eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #16a34a, #eab308, #f97316); }
.za-accent { color: var(--za-sky); }
.za-green { color: #34d399; }

.za-head { text-align: center; max-width: 820px; margin: 0 auto 3rem auto; }
.za-head h2 {
    color: #f8fafc;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.12;
    margin-bottom: 1rem;
}
.za-head p { color: #cbd5e1; font-size: 1.12rem; line-height: 1.6; }

/* Cards */
.za-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }
.za-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}
.za-card:hover { transform: translateY(-4px); }
.za-card h3 { font-size: 1.18rem; font-weight: 700; color: #f8fafc; margin-bottom: 0.5rem; }
.za-card p { color: #cbd5e1; font-size: 0.98rem; line-height: 1.6; margin: 0; }
.za-card .tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--za-sky);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 999px;
    padding: 3px 10px;
    margin-bottom: 0.9rem;
}

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 1.25rem 0; padding: 0; color: #64748b; font-size: 0.85rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #475569; }
.crumbs a { color: #94a3b8; text-decoration: none; }
.crumbs a:hover { color: #ffffff; }

/* Hero */
.sub-hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3.5rem; align-items: center; padding: 8.5rem 0 3rem 0; }
.sub-hero.single { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; text-align: center; }
.sub-hero.single .crumbs, .sub-hero.single .hero-ctas, .sub-hero.single .hero-points { justify-content: center; }
.sub-hero h1 {
    color: #f8fafc;
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-size: clamp(2.1rem, 4.2vw, 3.3rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.08;
    margin: 0.5rem 0 1.25rem 0;
}
.sub-hero .lead { color: #cbd5e1; font-size: 1.13rem; line-height: 1.65; margin: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; margin: 1.75rem 0 0 0; padding: 0; color: #94a3b8; font-size: 0.92rem; }
.hero-points li::before { content: "\2713"; color: #4ade80; font-weight: 800; margin-right: 6px; }

/* Screenshots */
.za-screen {
    background: rgba(16, 17, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
}
.za-screen img { width: 100%; height: auto; display: block; }
.za-logos { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.za-logos div { background: #ffffff; border-radius: 20px; display: flex; align-items: center; justify-content: center; width: 260px; height: 110px; padding: 20px; box-sizing: border-box; }
.za-logos img { max-width: 100%; max-height: 100%; height: auto; object-fit: contain; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split h2 { color: #f8fafc; font-size: clamp(1.8rem, 3.1vw, 2.5rem); font-weight: 800; letter-spacing: -1px; line-height: 1.12; margin: 0.25rem 0 1rem 0; }
.split > div > p { color: #cbd5e1; font-size: 1.06rem; line-height: 1.65; margin: 0 0 1.5rem 0; }
.za-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; padding: 0; }
.za-features li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 12px; padding: 1rem 1.25rem; }
.za-features li strong { display: block; color: #f8fafc; font-size: 1.02rem; margin-bottom: 2px; }
.za-features li span { color: #cbd5e1; font-size: 0.93rem; line-height: 1.5; }
.za-features .dot { flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: rgba(16, 185, 129, 0.18); color: #34d399; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; counter-reset: step; }
.steps .za-card { position: relative; padding-top: 3.6rem; }
.steps .za-card::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: 1.4rem;
    left: 1.75rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(2, 132, 199, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #7dd3fc;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); border-radius: 14px; margin-bottom: 0.85rem; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 3.25rem 1.15rem 1.5rem; color: #f8fafc; font-weight: 600; font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); color: var(--za-sky); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: #cbd5e1; line-height: 1.65; margin: 0; padding: 0 1.5rem 1.3rem 1.5rem; }

/* Related links */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.related a { display: block; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); border-radius: 14px; padding: 1.4rem 1.5rem; transition: transform 0.2s ease, border-color 0.2s ease; }
.related a:hover { transform: translateY(-3px); border-color: rgba(56, 189, 248, 0.45); }
.related strong { display: block; color: #f8fafc; font-size: 1.05rem; margin-bottom: 0.35rem; }
.related span { display: block; color: #94a3b8; font-size: 0.92rem; line-height: 1.5; }
.related strong::after { content: " \2192"; color: var(--za-sky); }

/* Call to action band */
.cta-band { text-align: center; background: linear-gradient(135deg, rgba(2, 132, 199, 0.35), rgba(16, 185, 129, 0.18)); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: clamp(2.5rem, 6vw, 4rem) 1.5rem; }
.cta-band h2 { color: #f8fafc; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -1px; margin: 0 0 1rem 0; }
.cta-band p { color: #cbd5e1; font-size: 1.08rem; max-width: 640px; margin: 0 auto; line-height: 1.6; }
.cta-band .hero-ctas { justify-content: center; }

.fine-print { color: #64748b; font-size: 0.8rem; line-height: 1.5; text-align: center; max-width: 760px; margin: 1.75rem auto 0 auto; }
.inline-link { color: var(--za-sky); font-weight: 600; text-decoration: none; }
.inline-link:hover { text-decoration: underline; }

/* BCEA overtime calculator */
.calc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: start; }
.calc-panel { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; padding: 1.75rem; min-width: 0; }
.calc-panel h2 { color: #f8fafc; font-size: 1.3rem; font-weight: 700; margin: 0 0 1.25rem 0; letter-spacing: 0; }
.calc label, .calc .lbl { display: block; color: #94a3b8; font-size: 0.82rem; font-weight: 600; margin-bottom: 0.4rem; }
.calc select, .calc input[type="number"] {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    color: #f8fafc;
    font: inherit;
    font-size: 1rem;
    padding: 10px 12px;
}
.calc select option { background: #16181d; }
.calc select:focus, .calc input:focus { outline: none; border-color: var(--za-sky); }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.calc-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.5rem; margin-bottom: 0.75rem; }
.calc-days > div { min-width: 0; }
.calc-days label { text-align: center; margin-bottom: 0.3rem; }
.calc-days input[type="number"] { text-align: center; padding: 10px 2px !important; }
.calc-days .ph { display: flex !important; flex-direction: column; align-items: center; gap: 2px; margin: 0.4rem 0 0 0; font-size: 0.7rem !important; color: #94a3b8; cursor: pointer; }
.calc-days .ph input { width: 16px; height: 16px; accent-color: var(--za-sky); margin: 0; }
.calc-check { display: flex !important; gap: 8px; align-items: flex-start; color: #cbd5e1 !important; font-size: 0.92rem !important; font-weight: 500 !important; margin: 0.85rem 0 0 0; cursor: pointer; }
.calc-check input { margin-top: 3px; accent-color: var(--za-sky); }
.calc-presets { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.calc-presets button { background: transparent; border: 1px solid rgba(255, 255, 255, 0.15); color: #cbd5e1; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 0.82rem; cursor: pointer; }
.calc-presets button:hover { border-color: var(--za-sky); color: #ffffff; }

.calc-totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-bottom: 1.25rem; }
.calc-totals div { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 0.85rem; min-width: 0; }
.calc-totals span { display: block; color: #94a3b8; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; }
.calc-totals b { display: block; color: #f8fafc; font-size: 1.3rem; margin-top: 0.25rem; }
.calc-totals .pay { grid-column: 1 / -1; background: rgba(16, 185, 129, 0.08); border-color: rgba(16, 185, 129, 0.28); }
.calc-totals .pay b { font-size: 1.8rem; color: #6ee7b7; }
.calc-table { overflow-x: auto; }
.calc table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.calc th { color: #94a3b8; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.4px; text-align: right; padding: 0 0.45rem 0.6rem; font-weight: 700; white-space: nowrap; }
.calc th:first-child, .calc td:first-child { text-align: left; }
.calc td { color: #e2e8f0; text-align: right; padding: 0.5rem 0.45rem; border-top: 1px solid rgba(255, 255, 255, 0.07); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc td.ot { color: #fbbf24; }
.calc td.dt { color: #f87171; }
.calc td small { color: #7dd3fc; font-size: 0.7rem; margin-left: 4px; }
.calc tfoot td { font-weight: 700; color: #f8fafc; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.calc-warn { list-style: none; margin: 1rem 0 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.calc-warn li { padding: 0.7rem 1rem; border-radius: 10px; font-size: 0.9rem; line-height: 1.5; background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.35); color: #fde68a; }
.calc-warn li.info { background: rgba(56, 189, 248, 0.08); border-color: rgba(56, 189, 248, 0.3); color: #bae6fd; }
.calc-rules { margin: 1rem 0 0 0; padding: 1rem 1.25rem; border-radius: 12px; background: rgba(56, 189, 248, 0.06); border: 1px solid rgba(56, 189, 248, 0.2); }
.calc-rules strong { color: #f8fafc; display: block; margin-bottom: 0.4rem; }
.calc-rules ul { margin: 0; padding-left: 1.1rem; color: #cbd5e1; font-size: 0.9rem; line-height: 1.6; }

.rule-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.rule-table th, .rule-table td { padding: 0.85rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); text-align: left; vertical-align: top; }
.rule-table th { color: #94a3b8; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; }
.rule-table td { color: #cbd5e1; line-height: 1.5; }
.rule-table td:first-child { color: #f8fafc; font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; background: rgba(255, 255, 255, 0.02); }

@media (max-width: 1200px) {
    .subpage .nav-links { gap: 1rem; }
    .subpage .nav-links a { font-size: 0.84rem; }
}

@media (max-width: 1060px) {
    .subpage .nav-cta-demo { display: none; }
}

@media (max-width: 960px) {
    .sub-hero, .split, .calc { grid-template-columns: 1fr; gap: 2.5rem; }
    .split.reverse > :first-child { order: 0; }
    .sub-hero { padding-top: 7rem; }
}

@media (max-width: 768px) {
    .subpage .nav-links { gap: 1.25rem; }
    .subpage .nav-links a { font-size: 1rem; }
    .subpage .nav-links { top: 70px; }
    .subpage main > .page-section { padding: 2.75rem 0; }
    .subpage main.container { padding-left: 1.15rem; padding-right: 1.15rem; }
}

@media (max-width: 560px) {
    .calc-panel { padding: 1.1rem; }
    .calc-days { grid-template-columns: repeat(4, 1fr); }
    .calc-totals { grid-template-columns: 1fr 1fr; }
    .calc-row { grid-template-columns: 1fr; }
    .hero-ctas .za-btn.lg { width: 100%; justify-content: center; }
    .za-logos div { width: 200px; height: 90px; }
    .calc table { font-size: 0.8rem; }
    .calc th, .calc td { padding-left: 0.25rem; padding-right: 0.25rem; }
    .calc th { font-size: 0.62rem; letter-spacing: 0; }
}

/* ==========================================================================
   Homepage pieces (index.html also loads this file)
   ========================================================================== */

/* "Explore" link row under the hero demo */
.explore-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 2.5rem auto 0 auto; max-width: 1000px; padding: 0 1rem; }
.explore-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
    padding: 7px 16px;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.explore-links a:hover { color: #ffffff; border-color: rgba(56, 189, 248, 0.5); }
.explore-links .label { color: #64748b; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; align-self: center; margin-right: 0.4rem; }

/* Shared footer: brand + Software / Resources / Company */
.za-footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; }

/* International Locations: link + logo card for the sister site */
.footer-region { display: block; color: #64748b; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-country { display: block; color: #f8fafc; font-size: 0.95rem; font-weight: 600; margin: 0.15rem 0; }
.footer-intl-logo { display: block; width: 170px; margin-top: 0.85rem; background: #ffffff; border-radius: 10px; padding: 10px 14px; transition: transform 0.2s ease; }
.footer-intl-logo:hover { transform: translateY(-2px); }
.footer-intl-logo img { width: 100%; height: auto; display: block; }
.za-footer-logo { display: flex; align-items: baseline; flex-wrap: wrap; font-family: 'Segoe UI', Arial, sans-serif; margin-bottom: 1rem; }
.za-footer-logo .za-tna, .za-footer-logo .za-africa { font-size: 2.1rem; font-weight: 600; letter-spacing: -0.5px; }
.za-footer-logo small { font-size: 1.1rem; color: #cbd5e1; font-weight: 500; margin-left: 8px; }

@media (max-width: 900px) {
    .za-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .za-footer-grid .branding-col { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .za-footer-grid { grid-template-columns: 1fr; }
}

/* ---- Homepage "Software" dropdown in the main menu ---- */
.nav-drop { position: relative; }
.nav-drop-btn { background: none; border: 0; padding: 0; cursor: pointer; color: #e2e8f0; font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; font-size: 0.95rem; font-weight: 500; display: inline-flex; align-items: center; gap: 5px; transition: color 0.3s ease; }
.nav-drop-btn:hover, .nav-drop.open .nav-drop-btn { color: #ffffff; }
.nav-drop-btn svg { transition: transform 0.2s ease; }
.nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-sub { list-style: none; margin: 0; position: absolute; top: calc(100% + 14px); left: 50%; min-width: 240px; padding: 10px; background: rgba(16, 17, 20, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; z-index: 1000; }
.nav-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }   /* keeps hover alive across the gap */
.nav-sub li { margin: 0; }
.nav-sub a { display: block; padding: 9px 12px; border-radius: 8px; white-space: nowrap; color: #e2e8f0; }
.nav-sub a:hover, .nav-sub a:focus-visible { background: rgba(255, 255, 255, 0.07); color: #ffffff; }
.nav-drop:hover .nav-sub, .nav-drop:focus-within .nav-sub, .nav-drop.open .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (max-width: 768px) {
    .nav-drop { display: flex; flex-direction: column; align-items: center; }
    .nav-sub { position: static; transform: none; min-width: 0; box-shadow: none; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; display: none; opacity: 1; visibility: visible; text-align: center; margin-top: 0.75rem; }
    .nav-sub::before { display: none; }
    .nav-drop:hover .nav-sub, .nav-drop:focus-within .nav-sub { transform: none; }
    .nav-drop.open .nav-sub { display: block; transform: none; }
    .nav-sub a { padding: 7px 12px; color: #cbd5e1; }
}

/* Keep every menu label on one line; tighten the spacing on laptop widths */
.nav-links > li > a, .nav-drop-btn, .navbar .usa-btn { white-space: nowrap; }
@media (min-width: 769px) and (max-width: 1280px) {
    .navbar .nav-links { gap: 1.25rem !important; }
    .navbar .nav-links > li > a, .navbar .nav-drop-btn { font-size: 0.9rem; }
}
@media (min-width: 769px) and (max-width: 1100px) {
    .navbar .nav-links { gap: 0.9rem !important; }
}
