*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
body {
    font-family: 'Space Grotesk', 'IBM Plex Sans', system-ui, sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    background: #F0F4F8;
}

.ad-topbar {
    background: #2B5797;
    border-bottom: 1px solid #1e3f6e;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 900;
}
.ad-topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 3.5rem;
}
.ad-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}
.ad-brand-icon {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #1e3f6e, #4a7dc4);
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.875rem;
    color: #fff;
}
.ad-nav {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}
.ad-nav-link {
    color: #c8d8f0;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 1rem 0.75rem;
    display: inline-flex;
    align-items: center;
    min-height: 3.5rem;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.ad-nav-link:hover,
.ad-nav-link--active {
    color: #ffffff;
    border-bottom-color: #a8c4e8;
}

@media (max-width: 768px) {
    .ad-nav { display: none; }
    .ad-hamburger { display: flex; }
}
@media (min-width: 769px) {
    .ad-hamburger { display: none; }
}
.ad-hamburger {
    background: none;
    border: 1px solid #a8c4e8;
    border-radius: 0.375rem;
    color: #c8d8f0;
    padding: 0.5rem;
    cursor: pointer;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
}
.ad-hamburger svg { width: 1.25rem; height: 1.25rem; }
.ad-mobile-menu {
    display: none;
    background: #2B5797;
    border-bottom: 1px solid #1e3f6e;
    padding: 0.5rem 0;
}
.ad-mobile-menu.ad-open { display: block; }
.ad-mobile-menu a {
    display: block;
    padding: 0.75rem clamp(1rem, 3vw, 2rem);
    color: #c8d8f0;
    font-size: 0.9375rem;
    border-left: 3px solid transparent;
}
.ad-mobile-menu a:hover,
.ad-mobile-menu a.ad-nav-link--active {
    color: #ffffff;
    border-left-color: #a8c4e8;
    background: #1e3f6e;
}

/* ── Print-friendly CSS ──────────────────────────────────────────── */
@media print {
    html, body {
        background: #fff !important;
        color: #000 !important;
        font-family: Georgia, 'Times New Roman', serif !important;
        font-size: 11pt !important;
        line-height: 1.5 !important;
    }
    header, nav, footer, aside,
    .ad-topbar, .ad-footer, .ad-hamburger, .ad-nav, .ad-mobile-menu,
    .social-share, .share-buttons, .share-section,
    .comments-section, .leave-comment,
    .related-articles, .cross-category,
    button, input[type=button], input[type=submit] {
        display: none !important;
    }
    main, article {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        border: 0 !important;
    }
    h1 { font-size: 20pt !important; }
    h2 { font-size: 14pt !important; page-break-after: avoid; }
    h3 { font-size: 12pt !important; page-break-after: avoid; }
    p { margin: 0 0 6pt 0 !important; }
    img { max-width: 100% !important; height: auto !important; page-break-inside: avoid; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
    a[href^="/"]::after, a[href^="#"]::after { content: ""; }
    @page { margin: 1.5cm 1.8cm; }
}
