/* Mobile-First Shared Styles for CISI Subpages */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
}

body {
    background-color: #ffffff;
    color: #111111;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Sticky Contact Icons (Mobile-first sizing) */
.sticky-icons {
    position: fixed;
    left: 10px;
    top: 66px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.icon-btn,
.icon-btn:visited {
    width: 40px;
    height: 40px;
    background-color: #1B5730;
    color: #ffffff;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.icon-btn:hover {
    transform: scale(1.08);
}

/* Sticky Header (Mobile-first) */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #000000;
    padding: 6px 0;
}

.sticky-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px;
    padding: 0 8px;
    width: 100%;
}

.sticky-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav-logo {
    height: 2rem;
    width: auto;
}

.nav-brand-text {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
}

.hamburger {
    display: block;
    font-size: 28px;
    cursor: pointer;
    color: #ffffff;
    background: none;
    border: none;
    min-width: 44px;
    min-height: 44px;
    line-height: 1;
}

.nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    list-style: none;
    background-color: #000000;
    padding: 12px 0;
    width: 100%;
    position: absolute;
    top: 56px;
    left: 0;
    z-index: 998;
    border-top: 1px solid #222;
}

.nav-links.active {
    display: flex;
}

.nav-links li {
    width: 100%;
    text-align: center;
}

.nav-links li a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 0.96rem;
}

.nav-links li a:hover,
.nav-links li a.nav-active {
    color: #23b24a;
    text-decoration: underline;
}

/* Breadcrumb Bar */
.breadcrumb-bar {
    background-color: #f3f6f4;
    border-bottom: 1px solid #dce5df;
    padding: 10px 16px;
    font-size: 0.86rem;
    color: #444;
}

.breadcrumb-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.breadcrumb-inner a {
    color: #1B5730;
    font-weight: 600;
    text-decoration: none;
}

.breadcrumb-inner a:hover {
    text-decoration: underline;
}

/* Page Hero Banner */
.page-hero {
    background: linear-gradient(135deg, #0b2414 0%, #1B5730 100%);
    color: #ffffff;
    padding: 38px 16px;
    text-align: center;
}

.page-hero-inner {
    max-width: 920px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background-color: #FFD700;
    color: #111111;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.page-hero h1 {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
}

.page-hero-subtitle {
    font-size: 1rem;
    color: #e6f2ea;
    margin-bottom: 14px;
    font-weight: 600;
}

.page-hero-summary {
    font-size: 0.96rem;
    color: #f4f8f5;
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Main Content Container */
.page-main {
    padding: 36px 16px 48px 16px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Coming Soon Card (Service Pages) */
.coming-soon-card {
    max-width: 860px;
    margin: 0 auto;
    border: 2px solid #1B5730;
    border-radius: 12px;
    padding: 28px 18px;
    text-align: center;
    background-color: #f9fbf9;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.service-preview-img {
    width: 100%;
    max-width: 340px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto 18px auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.coming-soon-icon {
    font-size: 2.4rem;
    color: #1B5730;
    margin-bottom: 12px;
}

.coming-soon-pill {
    display: inline-block;
    background-color: #1B5730;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 5px 14px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.coming-soon-card h2 {
    font-size: 1.4rem;
    color: #0a3d62;
    margin-bottom: 12px;
}

.coming-soon-card p {
    font-size: 0.98rem;
    color: #222222;
    max-width: 680px;
    margin: 0 auto 22px auto;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.trust-tag {
    background-color: #ffffff;
    border: 1px solid #1B5730;
    color: #1B5730;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
}

/* Action Buttons (Mobile-first full-width tap targets >= 44px) */
.cta-action-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.cta-btn,
.cta-btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, background-color 0.2s ease;
}

.cta-btn:active {
    transform: translateY(1px);
}

.cta-whatsapp {
    background-color: #1B5730;
    color: #ffffff !important;
}

.cta-whatsapp:hover {
    background-color: #144224;
}

.cta-session {
    background-color: #0a3d62;
    color: #ffffff !important;
}

.cta-session:hover {
    background-color: #072c47;
}

.cta-appointment {
    background-color: #FFD700;
    color: #111111 !important;
}

.cta-appointment:hover {
    background-color: #e6c200;
}

.cta-btn.copied-state {
    background-color: #2e7d32 !important;
    color: #ffffff !important;
}

.session-id-box {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed #b9c9be;
    font-size: 0.86rem;
    color: #333;
}

.session-id-code {
    display: inline-block;
    margin-top: 6px;
    background-color: #eef3ef;
    padding: 6px 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.8rem;
    word-break: break-all;
    color: #111;
}

/* All Services Directory Strip */
.all-services-nav {
    background-color: #f2f2f2;
    padding: 36px 16px;
}

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

.all-services-inner h3 {
    text-align: center;
    color: #1B5730;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.service-pills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.service-pill-link,
.service-pill-link:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background-color: #ffffff;
    border: 1.5px solid #1B5730;
    color: #1B5730;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.service-pill-link:hover,
.service-pill-link.current-page {
    background-color: #1B5730;
    color: #ffffff !important;
}

/* ===================== Appointment Page Styles ===================== */
.qr-payment-box {
    text-align: center;
    background-color: #f8faf8;
    border: 2px solid #1B5730;
    border-radius: 10px;
    padding: 22px 16px;
    max-width: 440px;
    margin: 0 auto 32px auto;
}

.qr-payment-box img {
    max-width: 190px;
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 10px;
}

.fee-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
}

.fee-card {
    border: 2px solid #1B5730;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.fee-card.featured-fee {
    border-color: #d4af37;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.fee-card-header {
    background-color: #1B5730;
    color: #ffffff;
    padding: 16px 14px;
}

.fee-card.featured-fee .fee-card-header {
    background-color: #FFD700;
    color: #111111;
}

.fee-card-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
}

.fee-card-body {
    padding: 18px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.fee-amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0a3d62;
}

.fee-note {
    font-size: 0.92rem;
    color: #333333;
}

.tnc-box {
    background-color: #f8f8f8;
    border-left: 4px solid #1B5730;
    border-radius: 8px;
    padding: 22px 18px;
    color: #222;
}

.tnc-box h2 {
    font-size: 1.25rem;
    color: #1B5730;
    margin-bottom: 14px;
    text-decoration: underline;
}

.tnc-box ol {
    padding-left: 20px;
}

.tnc-box li {
    margin-bottom: 12px;
    font-size: 0.94rem;
    line-height: 1.6;
}

.tnc-box a {
    color: #1B5730;
    font-weight: 600;
}

/* ===================== Contact Page Styles ===================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 36px;
}

.contact-card {
    border: 2px solid #1B5730;
    border-radius: 10px;
    padding: 24px 18px;
    background-color: #f9fbf9;
    text-align: center;
}

.contact-card h2 {
    color: #1B5730;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 0.95rem;
    color: #222;
    margin-bottom: 14px;
}

.contact-qr-img {
    max-width: 190px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

.desk-direct-box {
    border: 2px solid #0a3d62;
    border-radius: 10px;
    padding: 24px 18px;
    text-align: center;
    background-color: #ffffff;
    margin-bottom: 32px;
}

.desk-direct-box h2 {
    color: #0a3d62;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.desk-direct-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 700;
}

.desk-direct-links a {
    color: #1B5730;
    text-decoration: none;
    word-break: break-word;
}

.desk-direct-links a:hover {
    text-decoration: underline;
}

.office-map-card {
    border: 2px solid #1B5730;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
    background-color: #f8faf8;
}

.office-map-card h2 {
    color: #0a3d62;
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.office-map-card img {
    width: 100%;
    max-width: 780px;
    height: auto;
    border-radius: 8px;
    border: 2px solid #1B5730;
}

.office-map-note {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #444;
    font-style: italic;
}

/* ===================== FAQ Page Styles ===================== */
.faq-page-list {
    max-width: 880px;
    margin: 0 auto 36px auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-page-list details {
    border: 1.5px solid #1B5730;
    border-radius: 8px;
    background-color: #f9fbf9;
    overflow: hidden;
}

.faq-page-list summary {
    padding: 16px 18px;
    font-weight: 700;
    font-size: 1rem;
    color: #0a3d62;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq-page-list summary::-webkit-details-marker {
    display: none;
}

.faq-page-list summary::after {
    content: "+";
    font-size: 1.35rem;
    font-weight: 800;
    color: #1B5730;
    flex-shrink: 0;
}

.faq-page-list details[open] summary {
    background-color: #1B5730;
    color: #ffffff;
}

.faq-page-list details[open] summary::after {
    content: "−";
    color: #FFD700;
}

.faq-answer-body {
    padding: 16px 18px;
    background-color: #ffffff;
    color: #222222;
    font-size: 0.96rem;
    line-height: 1.65;
    border-top: 1px solid #dce5df;
}

.faq-answer-body a {
    color: #1B5730;
    font-weight: 600;
}

/* Social Icons & Footer */
#social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 20px 16px;
    background-color: #ffffff;
}

.social-link {
    color: #1B5730;
    font-size: 30px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.social-link:hover {
    transform: scale(1.12);
    color: #0a3d62;
}

.site-footer {
    background-color: #1B5730;
    color: #ffffff;
    text-align: center;
    padding: 16px 12px;
    font-size: 0.86rem;
}

.footer-main {
    max-width: 1100px;
    margin: 0 auto 8px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: underline;
    font-size: 0.86rem;
}

#backToTopBtn {
    position: fixed;
    bottom: 24px;
    right: 16px;
    z-index: 999;
    background-color: #0a3d62;
    color: #ffffff;
    border: none;
    font-size: 1.4rem;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: none;
}

#backToTopBtn:hover {
    background-color: #1B5730;
}

/* ===================== Tablet & Desktop Enhancements (min-width: 769px) ===================== */
@media (min-width: 769px) {
    .sticky-icons {
        top: 50%;
        transform: translateY(-50%);
    }

    .icon-btn {
        width: 48px;
        height: 48px;
        font-size: 21px;
    }

    .hamburger {
        display: none;
    }

    .nav-logo {
        height: 2.4rem;
    }

    .nav-brand-text {
        font-size: 2.4rem;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        width: auto;
        padding: 0;
        gap: 14px;
        border-top: none;
    }

    .nav-links li {
        width: auto;
    }

    .nav-links li a {
        padding: 6px 8px;
        font-size: 0.92rem;
    }

    .page-hero {
        padding: 56px 24px;
    }

    .page-hero h1 {
        font-size: 2.35rem;
    }

    .page-hero-subtitle {
        font-size: 1.15rem;
    }

    .coming-soon-card {
        padding: 42px 32px;
    }

    .coming-soon-card h2 {
        font-size: 1.7rem;
    }

    .cta-action-row {
        flex-direction: row;
        justify-content: center;
    }

    .cta-btn {
        width: auto;
        min-width: 210px;
    }

    .service-pills-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .fee-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        flex-direction: row;
        justify-content: space-between;
    }
}


/* ==========================================================================
   HUB & SPOKE LAYOUT OVERRIDES & COMPONENTS (SELF-CONTAINED)
   ========================================================================== */
/* Mobile-First Hub & Spoke Layout CSS for CISI Service Pages & Supporting Articles */

.hub-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 16px 52px 16px;
}

.hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

.hub-main {
    min-width: 0;
}

/* In-text contextual article links */
.hub-main a.inline-article-link,
.hub-main a.inline-article-link:visited {
    color: #1B5730;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.hub-main a.inline-article-link:hover {
    color: #0a3d62;
    background-color: #eef6f1;
}

/* Section Typography */
.content-block {
    margin-bottom: 40px;
}

.block-eyebrow {
    display: inline-block;
    background-color: #e8f3ec;
    color: #1B5730;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    padding: 4px 11px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.content-block h2 {
    font-size: 1.45rem;
    color: #0a3d62;
    font-weight: 800;
    line-height: 1.28;
    margin-bottom: 12px;
}

.content-block p {
    font-size: 0.98rem;
    color: #1e1e1e;
    line-height: 1.72;
    margin-bottom: 14px;
}

/* AEO Quick Answer Callout */
.aeo-summary-card {
    background-color: #f4f9f6;
    border: 1.5px solid #1B5730;
    border-left: 5px solid #1B5730;
    border-radius: 10px;
    padding: 20px 18px;
    margin-bottom: 34px;
}

.aeo-summary-tag {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #1B5730;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.aeo-summary-card p {
    font-size: 0.98rem;
    color: #111111;
    line-height: 1.68;
    margin-bottom: 12px;
}

.aeo-key-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #d5e4da;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0a3d62;
}

/* 4-Card Service Scope Grid */
.scope-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
}

.scope-card {
    background-color: #ffffff;
    border: 1.5px solid #cfdcd3;
    border-top: 4px solid #1B5730;
    border-radius: 10px;
    padding: 18px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.scope-card h3 {
    font-size: 1.08rem;
    color: #0a3d62;
    font-weight: 800;
    margin-bottom: 8px;
}

.scope-card p {
    font-size: 0.93rem;
    color: #222222;
    line-height: 1.62;
    margin-bottom: 10px;
}

.scope-card-link,
.scope-card-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1B5730;
    text-decoration: none;
}

.scope-card-link:hover {
    text-decoration: underline;
    color: #0a3d62;
}

/* Legal & Ethical Boundaries Split Box */
.ethics-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 14px;
}

.ethics-panel {
    border-radius: 10px;
    padding: 18px 16px;
}

.ethics-panel.lawful {
    background-color: #f3f9f5;
    border: 1.5px solid #1B5730;
}

.ethics-panel.refused {
    background-color: #fdf4f4;
    border: 1.5px solid #b00020;
}

.ethics-panel h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ethics-panel.lawful h3 {
    color: #1B5730;
}

.ethics-panel.refused h3 {
    color: #b00020;
}

.ethics-panel ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ethics-panel li {
    font-size: 0.92rem;
    line-height: 1.55;
    padding-left: 20px;
    position: relative;
}

.ethics-panel.lawful li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1B5730;
    font-weight: 800;
}

.ethics-panel.refused li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #b00020;
    font-weight: 800;
}

/* 4-Step Process Row */
.steps-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 14px;
}

.step-box {
    background-color: #f8faf8;
    border: 1.5px solid #d5e4da;
    border-radius: 8px;
    padding: 16px;
}

.step-num {
    display: inline-block;
    background-color: #1B5730;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 4px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.step-box h3 {
    font-size: 1.03rem;
    color: #0a3d62;
    margin-bottom: 5px;
}

.step-box p {
    font-size: 0.91rem;
    margin: 0;
}

/* Mumbai Coverage Strip */
.geo-strip {
    background-color: #f3f6f4;
    border: 1.5px solid #1B5730;
    border-radius: 10px;
    padding: 18px 16px;
}

.geo-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.geo-pill {
    background-color: #ffffff;
    border: 1px solid #b8cbbd;
    color: #1B5730;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 20px;
}

/* ===================== RIGHT SIDEBAR (Related Articles + Quick CTA) ===================== */
.hub-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sidebar-card {
    background-color: #f9fbf9;
    border: 1.5px solid #1B5730;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.sidebar-card-header {
    background-color: #1B5730;
    color: #ffffff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.sidebar-card-header h3 {
    font-size: 1.02rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-toggle-icon {
    font-size: 1.1rem;
    font-weight: 800;
}

.sidebar-articles-list {
    list-style: none;
    padding: 8px 0;
}

.sidebar-articles-list li {
    border-bottom: 1px solid #e3ece6;
}

.sidebar-articles-list li:last-child {
    border-bottom: none;
}

.sidebar-articles-list a,
.sidebar-articles-list a:visited {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 16px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.42;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar-articles-list a:hover {
    background-color: #eaf4ee;
    color: #1B5730;
}

.sidebar-articles-list a.active-article {
    background-color: #e4f1e9;
    color: #1B5730;
    font-weight: 800;
    border-left: 4px solid #1B5730;
}

.article-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #e6eef5;
    color: #0a3d62;
    font-size: 0.76rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.sidebar-articles-list a.active-article .article-num-badge {
    background-color: #1B5730;
    color: #ffffff;
}

/* Sidebar Parent Pillar Backlink Card (Used on Article Pages) */
.sidebar-pillar-box {
    background: linear-gradient(135deg, #0b2414 0%, #1B5730 100%);
    color: #ffffff;
    border-radius: 10px;
    padding: 20px 18px;
}

.sidebar-pillar-box .pillar-label {
    display: inline-block;
    background-color: #FFD700;
    color: #111111;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.sidebar-pillar-box h3 {
    font-size: 1.12rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.sidebar-pillar-box p {
    font-size: 0.88rem;
    color: #e6f2ea;
    line-height: 1.55;
    margin-bottom: 14px;
}

/* Sidebar Confidential Contact Card */
.sidebar-contact-box {
    background-color: #ffffff;
    border: 1.5px solid #0a3d62;
    border-radius: 10px;
    padding: 18px 16px;
    text-align: center;
}

.sidebar-contact-box h3 {
    font-size: 1.05rem;
    color: #0a3d62;
    margin-bottom: 8px;
}

.sidebar-contact-box p {
    font-size: 0.88rem;
    color: #333333;
    margin-bottom: 14px;
}

.sidebar-btn-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-btn-stack .cta-btn {
    max-width: 100%;
    width: 100%;
    font-size: 0.9rem;
    padding: 10px 14px;
}

/* ===================== ARTICLE PAGE SPECIFIC STYLES ===================== */
.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    padding: 12px 16px;
    background-color: #f8faf8;
    border: 1px solid #dce5df;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: #444444;
}

.article-meta-bar span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.article-body h2 {
    font-size: 1.38rem;
    color: #0a3d62;
    font-weight: 800;
    margin: 28px 0 10px 0;
    line-height: 1.3;
}

.article-body h3 {
    font-size: 1.12rem;
    color: #1B5730;
    font-weight: 800;
    margin: 20px 0 8px 0;
}

.article-body p {
    font-size: 1rem;
    color: #1a1a1a;
    line-height: 1.75;
    margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
    padding-left: 22px;
    margin-bottom: 18px;
}

.article-body li {
    font-size: 0.97rem;
    color: #1a1a1a;
    line-height: 1.68;
    margin-bottom: 9px;
}

.article-takeaway-box {
    background-color: #fffdf2;
    border: 1.5px solid #d4af37;
    border-left: 5px solid #d4af37;
    border-radius: 8px;
    padding: 16px 18px;
    margin: 24px 0;
    font-size: 0.95rem;
    color: #1e1e1e;
    line-height: 1.65;
}

.article-nav-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 2px solid #e3ece6;
}

.article-nav-card,
.article-nav-card:visited {
    display: block;
    background-color: #f8faf8;
    border: 1.5px solid #1B5730;
    border-radius: 8px;
    padding: 14px 16px;
    text-decoration: none;
    color: #111111;
    transition: background-color 0.15s ease;
}

.article-nav-card:hover {
    background-color: #eaf4ee;
}

.article-nav-dir {
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #1B5730;
    margin-bottom: 4px;
}

.article-nav-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0a3d62;
}

/* ===================== Desktop 2-Column Sticky Sidebar Breakpoint ===================== */
@media (min-width: 960px) {
    .hub-grid {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 36px;
    }

    .hub-sidebar {
        position: sticky;
        top: 76px;
    }

    .sidebar-card-header {
        cursor: default;
    }

    .sidebar-toggle-icon {
        display: none;
    }

    .sidebar-articles-list {
        display: block !important;
    }

    .aeo-key-points {
        grid-template-columns: repeat(3, 1fr);
    }

    .scope-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ethics-split {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-nav-footer {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ===================== Rich Article Components (Tables, Callouts, Checklists) ===================== */
.article-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0 24px 0;
    border-radius: 8px;
    border: 1.5px solid #1B5730;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    text-align: left;
    background-color: #ffffff;
}

.article-table th {
    background-color: #1B5730;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 14px;
    border-bottom: 2px solid #144224;
}

.article-table td {
    padding: 11px 14px;
    border-bottom: 1px solid #dce5df;
    color: #1e1e1e;
    vertical-align: top;
    line-height: 1.55;
}

.article-table tr:nth-child(even) td {
    background-color: #f7fbf8;
}

.legal-callout-box {
    background-color: #f2f6fa;
    border: 1.5px solid #0a3d62;
    border-left: 5px solid #0a3d62;
    border-radius: 8px;
    padding: 16px 18px;
    margin: 22px 0;
    font-size: 0.95rem;
    color: #1a1a1a;
    line-height: 1.65;
}

.warning-callout-box {
    background-color: #fdf4f4;
    border: 1.5px solid #b00020;
    border-left: 5px solid #b00020;
    border-radius: 8px;
    padding: 16px 18px;
    margin: 22px 0;
    font-size: 0.95rem;
    color: #1a1a1a;
    line-height: 1.65;
}

.article-faq-block {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #e3ece6;
}

.article-faq-block h2 {
    font-size: 1.35rem;
    color: #0a3d62;
    margin-bottom: 14px;
}
