/**
 * GHVM Mandatory Disclosure — CBSE audit-ready
 */
.ghvm-md {
    --ghvm-md-teal: var(--color-primary, #1ab69d);
    --ghvm-md-teal-deep: #0f8f7a;
    --ghvm-md-coral: var(--color-secondary, #ee4a62);
    --ghvm-md-ink: var(--color-heading, #181818);
    --ghvm-md-muted: #6b7385;
    --ghvm-md-stage: #eef7f5;
    background:
        radial-gradient(ellipse 70% 40% at 0% 0%, rgba(26, 182, 157, 0.08), transparent 55%),
        #f7faf9;
    padding: 40px 0 72px !important;
    font-family: var(--font-primary);
}

.ghvm-md .container {
    max-width: 1140px;
}

.ghvm-md-hero {
    background: #fff;
    border: 1px solid rgba(20, 32, 43, 0.08);
    border-radius: 22px;
    padding: 28px 28px 24px;
    margin-bottom: 20px;
    box-shadow: 0 14px 36px rgba(20, 32, 43, 0.06);
    position: relative;
    overflow: hidden;
}

.ghvm-md-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ghvm-md-teal), var(--ghvm-md-teal-deep));
}

.ghvm-md-hero-top {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
}

.ghvm-md-hero h1 {
    margin: 0 0 8px;
    font-family: var(--font-secondary);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    color: var(--ghvm-md-ink);
    line-height: 1.2;
}

.ghvm-md-hero .lead {
    margin: 0;
    max-width: 640px;
    color: var(--ghvm-md-muted);
    font-size: 14.5px;
    line-height: 1.55;
}

.ghvm-md-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ghvm-md-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--ghvm-md-stage);
    border: 1px solid rgba(26, 182, 157, 0.18);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ghvm-md-teal-deep);
}

.ghvm-md-badge strong {
    color: var(--ghvm-md-ink);
}

.ghvm-md-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.ghvm-md-actions .edu-btn,
.ghvm-md-actions button {
    border-radius: 999px !important;
    height: 42px !important;
    line-height: 40px !important;
    padding: 0 18px !important;
    font-size: 13px !important;
}

.ghvm-md-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

@media (max-width: 991px) {
    .ghvm-md-layout {
        grid-template-columns: 1fr;
    }
}

.ghvm-md-toc {
    position: sticky;
    top: 96px;
    background: #fff;
    border: 1px solid rgba(20, 32, 43, 0.08);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 10px 28px rgba(20, 32, 43, 0.04);
}

.ghvm-md-toc h2 {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ghvm-md-muted);
}

.ghvm-md-toc nav {
    display: grid;
    gap: 4px;
}

.ghvm-md-toc a {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--ghvm-md-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none !important;
    border: 1px solid transparent;
}

.ghvm-md-toc a:hover,
.ghvm-md-toc a.is-active {
    background: var(--ghvm-md-stage);
    border-color: rgba(26, 182, 157, 0.2);
    color: var(--ghvm-md-teal-deep);
}

@media (max-width: 991px) {
    .ghvm-md-toc {
        position: relative;
        top: 0;
    }

    .ghvm-md-toc nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 6px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .ghvm-md-toc a {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

.ghvm-md-main {
    display: grid;
    gap: 18px;
}

.ghvm-md-section {
    background: #fff;
    border: 1px solid rgba(20, 32, 43, 0.08);
    border-radius: 18px;
    padding: 22px 22px 20px;
    box-shadow: 0 10px 28px rgba(20, 32, 43, 0.04);
    scroll-margin-top: 110px;
}

.ghvm-md-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(20, 32, 43, 0.07);
}

.ghvm-md-section-head h2 {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 800;
    color: var(--ghvm-md-ink);
    line-height: 1.3;
}

.ghvm-md-section-head .count {
    font-size: 12px;
    font-weight: 700;
    color: var(--ghvm-md-teal-deep);
    background: var(--ghvm-md-stage);
    padding: 4px 10px;
    border-radius: 999px;
}

.ghvm-md-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid rgba(20, 32, 43, 0.08);
}

.ghvm-md-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    min-width: 560px;
    background: #fff;
}

.ghvm-md-table th,
.ghvm-md-table td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(20, 32, 43, 0.07);
    font-size: 13.5px;
    line-height: 1.45;
}

.ghvm-md-table th {
    background: #f3f8f7;
    color: var(--ghvm-md-ink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ghvm-md-table tbody tr:last-child td {
    border-bottom: none;
}

.ghvm-md-table tbody tr:hover td {
    background: #fafcfb;
}

.ghvm-md-table .col-sl {
    width: 64px;
    color: var(--ghvm-md-muted);
    font-weight: 700;
}

.ghvm-md-table .col-label {
    color: #3d4656;
    font-weight: 600;
}

.ghvm-md-table .col-value {
    color: var(--ghvm-md-ink);
    font-weight: 650;
}

.ghvm-md-docs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ghvm-md-doc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    border: none;
    transition: all 0.2s ease;
}

.ghvm-md-doc-btn.is-view {
    background: #ef5350;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(239, 83, 80, 0.25);
}

.ghvm-md-doc-btn.is-view:hover {
    background: #e53935;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(239, 83, 80, 0.38);
    transform: translateY(-1px);
}

.ghvm-md-doc-btn.is-download {
    background: #10b981;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.ghvm-md-doc-btn.is-download:hover {
    background: #059669;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.38);
    transform: translateY(-1px);
}

.ghvm-md-missing {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 12.5px;
    font-weight: 700;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.ghvm-md-search {
    position: relative;
    margin-bottom: 12px;
}

.ghvm-md-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ghvm-md-muted);
}

.ghvm-md-search input {
    width: 100%;
    height: 42px;
    border: 1px solid rgba(20, 32, 43, 0.12);
    border-radius: 12px;
    background: #f8fbfa;
    padding: 0 14px 0 36px;
    font-size: 14px;
    color: var(--ghvm-md-ink);
    outline: none;
}

.ghvm-md-search input:focus {
    background: #fff;
    border-color: rgba(26, 182, 157, 0.5);
    box-shadow: 0 0 0 4px rgba(26, 182, 157, 0.12);
}

.ghvm-md-row-hidden {
    display: none !important;
}

.ghvm-md-note {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8faf9;
    color: var(--ghvm-md-muted);
    font-size: 12.5px;
    line-height: 1.45;
}

@media print {
    .edu-breadcrumb-area,
    .ghvm-md-toc,
    .ghvm-md-actions,
    .ghvm-md-search,
    .ghvm-nav,
    header,
    footer,
    .back-to-top-btn,
    .popup-mobile-menu {
        display: none !important;
    }

    .ghvm-md {
        background: #fff !important;
        padding: 0 !important;
    }

    .ghvm-md-layout {
        display: block;
    }

    .ghvm-md-section {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
        margin-bottom: 16px;
    }

    .ghvm-md-table {
        min-width: 0;
    }
}
