*, *::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: #E2E8F0;
    line-height: 1.6;
    background: #020A05;
}

.am-topbar {
    background: #0A1A10;
    border-bottom: 1px solid #143D1F;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 900;
}
.am-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;
}
.am-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #F1F5F9;
    letter-spacing: -0.02em;
}
.am-brand-icon {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #1B8A4E, #2ECC71);
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.875rem;
    color: #fff;
}
.am-nav {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}
.am-nav-link {
    color: #A0AEC0;
    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;
}
.am-nav-link:hover,
.am-nav-link--active {
    color: #4ADE80;
    border-bottom-color: #1B8A4E;
}

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

/* ── 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,
    .am-topbar, .am-footer, .am-hamburger, .am-nav, .am-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; }
}
