/* ==========================================================================
   MathNav v1.0 — Site Stylesheet
   Design System: Duo-tone neumorphic (Aluminum / Midnight / Deepsky glow)
   Typography: Nunito Sans only
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap");

/* -----------------------------
   1) Design Tokens
------------------------------ */
:root {
    /* Colors — strict trio */
    --alu: #d1d0d8;
    --mdnt: #131362;
    --dpsky: #1682c5;

    /* Neumorphic shadows (top-left light source) */
    --neu-highlight: rgba(232, 231, 237, 0.65);
    --neu-shadow: #b0afb8;

    /* Primary section extrusion */
    --neu-primary:
        -8px -8px 16px var(--neu-highlight), 8px 8px 16px var(--neu-shadow);

    /* Nested sub-section extrusion */
    --neu-nested:
        -5px -5px 10px var(--neu-highlight), 5px 5px 10px var(--neu-shadow);

    /* Layout */
    --max-w: 1120px;
    --gutter-desktop: 40px;
    --gutter-mobile: 16px;

    /* Spacing */
    --section-gap-desktop: 64px;
    --section-gap-tablet: 48px;
    --section-gap-mobile: 40px;

    --section-pad-desktop: 48px;
    --section-pad-tablet: 32px;
    --section-pad-mobile: 24px;

    --nested-pad-desktop: 32px;
    --nested-pad-tablet: 24px;
    --nested-pad-mobile: 16px;

    --sub-gap-desktop: 24px;
    --sub-gap-mobile: 16px;

    /* Typography */
    --font: "Nunito Sans", sans-serif;

    /* Button */
    --btn-radius: 6px;
    --btn-shadow: 3px 3px 0 #9a99a3;
    --btn-shadow-hover: 1.5px 1.5px 0 #9a99a3;
}

/* -----------------------------
   2) Reset
------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
html,
body {
    height: 100%;
    margin: 0;
}

body {
    font-family: var(--font);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    color: var(--mdnt);
    background: var(--alu);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
picture,
svg {
    display: block;
    max-width: 100%;
}
button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}
a {
    color: var(--mdnt);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

:focus-visible {
    outline: 3px solid rgba(19, 19, 98, 0.35);
    outline-offset: 2px;
}

/* -----------------------------
   3) Typography
------------------------------ */
h1,
h2,
h3 {
    margin: 0 0 0.5em;
}

h1 {
    font-weight: 700;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.2;
}

h2 {
    font-weight: 600;
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.3;
}

h3 {
    font-weight: 600;
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.4;
}

p {
    margin: 0 0 1em;
}

.caption {
    font-size: 16px;
    color: var(--mdnt);
}

/* -----------------------------
   4) Layout
------------------------------ */
.site-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--section-gap-desktop);
    padding: var(--section-gap-desktop) var(--gutter-desktop);
    max-width: calc(var(--max-w) + var(--gutter-desktop) * 2);
    width: 100%;
    margin: 0 auto;
}

/* -----------------------------
   5) Neumorphic Sections
------------------------------ */
.neu-section {
    background: var(--alu);
    border-radius: 16px;
    box-shadow: var(--neu-primary);
    padding: var(--section-pad-desktop);
    width: 100%;
}

.neu-nested {
    background: var(--alu);
    border-radius: 12px;
    box-shadow: var(--neu-nested);
    padding: var(--nested-pad-desktop);
}

/* Sub-section grid */
.pillars {
    display: flex;
    flex-direction: column;
    gap: var(--sub-gap-desktop);
}

/* Two-column layout for hero / newsletter */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* -----------------------------
   6) Buttons (single unified style)
------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 24px;
    background: var(--mdnt);
    color: #ffffff;
    font-family: var(--font);
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: var(--btn-radius);
    box-shadow: var(--btn-shadow);
    cursor: pointer;
    text-decoration: none;
    transition:
        background 0.15s,
        box-shadow 0.15s;
    white-space: nowrap;
}

.btn:hover {
    background: #2a2a7a;
    box-shadow: var(--btn-shadow-hover);
    text-decoration: none;
}

.btn:active {
    box-shadow: none;
}

/* -----------------------------
   7) Image Style
------------------------------ */
.img-glow {
    border-radius: 12px;
    box-shadow: 0 0 18px 3px var(--dpsky);
}

/* Hero / alongside-text images */
.hero-img {
    max-height: 480px;
    width: 100%;
    object-fit: cover;
}

/* -----------------------------
   8) Navbar — Desktop
------------------------------ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 64px;
    background: var(--alu);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
}

.navbar__inner {
    width: 100%;
    max-width: calc(var(--max-w) + var(--gutter-desktop) * 2);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
}

.navbar__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar__logo img {
    max-height: 36px;
    width: auto;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 24px;
}

.navbar__link {
    color: var(--mdnt);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    padding: 0 11px;
    line-height: 64px;
}

.navbar__link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Vertical dividers between nav links */
.navbar__divider {
    width: 1px;
    height: 34px;
    background: var(--mdnt);
    flex-shrink: 0;
}

.navbar__spacer {
    flex: 1;
}

.navbar__tagline {
    font-style: italic;
    font-size: 14px;
    color: var(--mdnt);
    opacity: 0.6;
    white-space: nowrap;
    margin-right: 16px;
}

.navbar__enroll {
    width: 120px;
    height: 40px;
    padding: 0;
    font-size: 15px;
}

/* Hamburger — hidden on desktop */
.navbar__burger {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.navbar__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--mdnt);
    border-radius: 2px;
}

/* Spacer to push content below fixed navbar */
.navbar-spacer {
    height: 64px;
}

/* Hide navbar tagline on narrower desktops so the 7-link nav fits cleanly */
@media (max-width: 1199px) {
    .navbar__tagline {
        display: none;
    }
}

/* -----------------------------
   9) Navbar — Mobile
------------------------------ */
@media (max-width: 767px) {
    .navbar {
        position: static;
        height: 56px;
        justify-content: center;
    }

    .navbar__inner {
        padding: 0 16px;
        justify-content: space-between;
    }

    .navbar__logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .navbar__logo img {
        max-height: 32px;
    }

    .navbar__links {
        display: none;
    }

    .navbar__spacer {
        display: none;
    }

    .navbar__burger {
        display: flex;
        order: -1;
    }

    .navbar__tagline {
        display: none;
    }

    .navbar__enroll {
        width: 96px;
        height: 36px;
        font-size: 14px;
    }

    .navbar-spacer {
        display: none;
    }
}

/* -----------------------------
   10) Mobile Dropdown Menu
------------------------------ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: var(--mdnt);
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 24px;
    color: var(--alu);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border-bottom: 1px solid var(--alu);
    margin: 0 15px;
}

.mobile-menu__link:hover {
    text-decoration: none;
    opacity: 0.85;
}

.mobile-menu__close {
    align-self: flex-end;
    margin: 12px 16px;
    background: none;
    border: none;
    color: var(--alu);
    font-size: 28px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(19, 19, 98, 0.4);
    z-index: 150;
    display: none;
}

.mobile-overlay.is-open {
    display: block;
}

/* Show mobile menu only on mobile */
@media (min-width: 768px) {
    .mobile-menu,
    .mobile-overlay {
        display: none !important;
    }
}

/* -----------------------------
   11) Footer
------------------------------ */
.footer {
    background: var(--mdnt);
    color: var(--alu);
    padding: 40px 32px;
}

.footer__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: start;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__logo {
    max-height: 36px;
    width: auto;
    max-width: fit-content;
}

.footer__tagline {
    font-size: 14px;
    opacity: 0.7;
}

.footer__location {
    font-size: 13px;
    color: #555555;
}

.footer__nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.footer__link {
    color: var(--alu);
    text-decoration: none;
    font-size: 15px;
    padding: 0 11px;
}

.footer__link:hover {
    text-decoration: underline;
    color: var(--alu);
}

.footer__nav-divider {
    width: 1px;
    height: 20px;
    background: var(--alu);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: right;
}

.footer__contact a {
    color: var(--alu);
    text-decoration: none;
    font-size: 15px;
}

.footer__contact a:hover {
    text-decoration: underline;
    color: var(--alu);
}

.footer__copyright {
    font-size: 13px;
    color: #555555;
    margin-top: 4px;
}

/* Footer mobile */
@media (max-width: 767px) {
    .footer {
        padding: 32px 16px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
        align-items: center;
        justify-items: center;
    }

    .footer__nav {
        display: none;
    }

    .footer__contact {
        text-align: center;
    }
}

/* -----------------------------
   12) Forms
------------------------------ */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-weight: 600;
    font-size: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    border: 1px solid #9a99a3;
    border-radius: 6px;
    background: #e8e7ed;
    font-size: 16px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--mdnt);
    box-shadow: 0 0 0 3px rgba(19, 19, 98, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9a99a3;
}

.form-section-title {
    font-weight: 700;
    font-size: 18px;
    margin: 24px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--mdnt);
}

.form-section-title:first-of-type {
    margin-top: 0;
}

/* Checkbox groups */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-item input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--mdnt);
    flex-shrink: 0;
}

.checkbox-item label {
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4;
}

.checkbox-item .class-schedule {
    display: block;
    font-size: 13px;
    color: #555555;
    margin-top: 2px;
}

/* Callout box */
.callout {
    background: #e8e7ed;
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 15px;
    margin: 16px 0;
}

/* Inline form messages */
.form-message {
    padding: 16px;
    border-radius: 8px;
    font-size: 15px;
    display: none;
}

.form-message.is-visible {
    display: block;
}

.form-message--success {
    background: rgba(19, 19, 98, 0.08);
    border: 1px solid rgba(19, 19, 98, 0.2);
    color: var(--mdnt);
}

.form-message--error {
    background: rgba(200, 50, 50, 0.08);
    border: 1px solid rgba(200, 50, 50, 0.2);
    color: #7f1d1d;
}

/* Inline field errors */
.field-error {
    color: #c83232;
    font-size: 13px;
    display: none;
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border-color: #c83232;
}

.form-group.has-error .field-error {
    display: block;
}

/* -----------------------------
   13) Temporary Site Notice
------------------------------ */
.site-notice {
    width: 100%;
    margin-bottom: -32px;
    padding: 16px 20px;
    border: 1px solid #b98989;
    border-radius: 12px;
    background: #d8b7b7;
    color: #5f2222;
    box-shadow: var(--neu-primary);
}

.site-notice__content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.site-notice__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.site-notice__close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(95, 34, 34, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    color: inherit;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.site-notice__close:hover {
    background: rgba(255, 255, 255, 0.4);
}

.site-notice__close:focus-visible {
    outline: 3px solid rgba(95, 34, 34, 0.25);
}

/* -----------------------------
   14) Cookie Notice
------------------------------ */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 300;
    width: min(340px, calc(100% - 40px));
    padding: 20px;
    border-radius: 12px;
    background: var(--alu);
    box-shadow: var(--neu-primary);
}

.cookie-notice__title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
}

.cookie-notice__desc {
    font-size: 14px;
    color: #555555;
    margin-bottom: 16px;
}

.cookie-notice__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cookie-notice__learn {
    color: var(--mdnt);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.cookie-notice__accept {
    font-size: 14px;
}

/* -----------------------------
   15) Placeholder images
------------------------------ */
.img-placeholder {
    background: #c4c3cb;
    border-radius: 12px;
    box-shadow: 0 0 18px 3px var(--dpsky);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a7984;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 24px;
}

/* -----------------------------
   16) Tablet Breakpoint
------------------------------ */
@media (min-width: 768px) and (max-width: 1023px) {
    .main {
        gap: var(--section-gap-tablet);
        padding: var(--section-gap-tablet) 24px;
    }

    .neu-section {
        padding: var(--section-pad-tablet);
    }

    .neu-nested {
        padding: var(--nested-pad-tablet);
    }
}

/* -----------------------------
   17) Mobile Breakpoint
------------------------------ */
@media (max-width: 767px) {
    .main {
        gap: var(--section-gap-mobile);
        padding: var(--section-gap-mobile) var(--gutter-mobile);
    }

    .neu-section {
        padding: var(--section-pad-mobile);
    }

    .neu-nested {
        padding: var(--nested-pad-mobile);
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pillars {
        gap: var(--sub-gap-mobile);
    }

    .hero-img {
        max-height: 320px;
        width: 80%;
        margin: 0 auto;
    }

    .img-placeholder {
        width: 80%;
        margin: 0 auto;
    }

    .img-glow {
        display: block;
        width: 80%;
        margin: 0 auto;
    }

    .card-img-fill--padded img {
        max-height: 160px;
    }

    /* On mobile, reorder calculator card: heading first, image second */
    .two-col--img-first {
        display: flex;
        flex-direction: column;
    }

    .two-col--img-first .card-text {
        order: 1;
    }

    .two-col--img-first .card-img-fill {
        order: 2;
    }

    .site-notice {
        margin-bottom: -24px;
        padding: 14px 16px;
    }

    .site-notice__content {
        gap: 12px;
    }

    .site-notice__text {
        font-size: 15px;
    }

    .site-notice__close {
        width: 32px;
        height: 32px;
        font-size: 22px;
    }
}

/* -----------------------------
   18) Utilities
------------------------------ */
/* Card image that fills the card edge-to-edge vertically */
.card-img-fill {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: calc(var(--section-pad-desktop) * -1) 0;
}

.card-img-fill img {
    max-height: 100%;
    object-fit: contain;
}

.card-img-fill--padded {
    padding: 15px 0;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .card-img-fill {
        margin: calc(var(--section-pad-tablet) * -1) 0;
    }
}

@media (max-width: 767px) {
    .card-img-fill {
        margin: 0;
    }
}

/* Float calculator image within text flow */
.calc-float {
    float: left;
    height: 450px;
    width: auto;
    margin: 10px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .calc-float {
        float: none;
        display: block;
        min-height: auto;
        max-width: 60%;
        margin: 10px auto;
    }
}

/* Method page: tighter section spacing */
.page-method .main {
    gap: 32px;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .page-method .main {
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .page-method .main {
        gap: 20px;
    }
}

/* Compact section spacing — used on pages where the H1 + multiple content sections
   should read as a single, near-touching block (Groups, Individuals, Tuition, Policies). */
.main.compact {
    gap: 8px;
}

/* -----------------------------
   Testimonial Carousel
   Serif quote contrasts with site sans-serif body.
------------------------------ */
.testimonials__carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.testimonials__viewport {
    flex: 1;
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials__quote {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.testimonials__quote.is-active {
    opacity: 1;
    pointer-events: auto;
}

.testimonials__text {
    font-family: Georgia, "Cambria", "Times New Roman", Times, serif;
    font-style: italic;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.45;
    text-align: center;
    color: var(--mdnt);
    margin: 0 0 16px;
    max-width: 760px;
}

.testimonials__attribution {
    font-family: Georgia, "Cambria", "Times New Roman", Times, serif;
    font-style: normal;
    font-size: 16px;
    color: var(--mdnt);
    opacity: 0.7;
}

.testimonials__arrow {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--mdnt);
    font-family: Georgia, "Cambria", "Times New Roman", Times, serif;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    opacity: 0.55;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        opacity 0.15s ease,
        background 0.15s ease;
}

.testimonials__arrow > span {
    /* Optical centering tweak for the chevron glyph */
    transform: translateY(-2px);
}

.testimonials__arrow:hover,
.testimonials__arrow:focus-visible {
    opacity: 1;
    background: rgba(19, 19, 98, 0.08);
}

.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.testimonials__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid var(--mdnt);
    background: transparent;
    cursor: pointer;
    padding: 0;
    opacity: 0.55;
    transition:
        background 0.15s ease,
        opacity 0.15s ease;
}

.testimonials__dot:hover {
    opacity: 0.85;
}

.testimonials__dot.is-active {
    background: var(--mdnt);
    opacity: 1;
}

@media (max-width: 767px) {
    .testimonials__carousel {
        gap: 4px;
    }
    .testimonials__viewport {
        min-height: 0;
        max-height: 260px;
        overflow-y: auto;
        display: block;
    }
    .testimonials__quote {
        position: static;
        opacity: 0;
        height: 0;
        overflow: hidden;
        padding: 0;
        transition: none;
    }
    .testimonials__quote.is-active {
        opacity: 1;
        height: auto;
        overflow: visible;
        padding: 16px 8px;
    }
    .testimonials__arrow {
        width: 36px;
        height: 36px;
        font-size: 32px;
    }
}

/* Class list dividers */
.class-divider {
    border: none;
    border-top: 1px solid var(--mdnt);
    margin: 0 15px;
}

/* Section-level disclosure (single toggle reveals all subtitles within a section).
   Lead-in text above the <details> stays visible always. */
.section-disclosure {
    margin-top: 4px;
}

.section-disclosure__summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 0;
    cursor: pointer;
    list-style: none;
}

.section-disclosure__summary::-webkit-details-marker {
    display: none;
}

.section-disclosure__summary::marker {
    content: "";
}

.section-disclosure__see-more {
    font-style: italic;
    font-size: 15px;
    color: var(--mdnt);
    opacity: 0.6;
    white-space: nowrap;
    transition: opacity 0.15s ease;
}

.section-disclosure__see-more::before {
    content: "See More";
}

.section-disclosure[open] .section-disclosure__see-more::before {
    content: "See Less";
}

.section-disclosure__summary:hover .section-disclosure__see-more,
.section-disclosure__summary:focus-visible .section-disclosure__see-more {
    opacity: 0.9;
}

.section-disclosure__arrow {
    display: inline-block;
    font-size: 24px;
    line-height: 1;
    color: var(--mdnt);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.section-disclosure[open] .section-disclosure__arrow {
    transform: rotate(180deg);
}

.section-disclosure__body {
    padding-top: 8px;
}

.section-disclosure__body > *:last-child {
    margin-bottom: 0;
}

/* Class catalogue accordion (native <details> exclusive group) */
.class-accordion {
    padding: 4px 0;
}

.class-accordion__summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
    cursor: pointer;
    list-style: none;
}

.class-accordion__summary::-webkit-details-marker {
    display: none;
}

.class-accordion__summary::marker {
    content: "";
}

.class-accordion__title {
    margin: 0;
    flex: 1;
}

.class-accordion__see-more {
    font-style: italic;
    font-size: 15px;
    color: var(--mdnt);
    opacity: 0.55;
    white-space: nowrap;
    transition: opacity 0.15s ease;
}

.class-accordion__see-more::before {
    content: "See More";
}

.class-accordion[open] .class-accordion__see-more::before {
    content: "See Less";
}

.class-accordion__summary:hover .class-accordion__see-more,
.class-accordion__summary:focus-visible .class-accordion__see-more {
    opacity: 0.85;
}

.class-accordion__arrow {
    display: inline-block;
    font-size: 28px;
    line-height: 1;
    color: var(--mdnt);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.class-accordion[open] .class-accordion__arrow {
    transform: rotate(180deg);
}

.class-accordion__body {
    padding: 4px 0 8px;
}

.class-accordion__body p:last-child {
    margin-bottom: 0;
}

.class-entry {
    padding: 8px 0;
}

.class-entry--inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 8px 0;
}

@media (max-width: 767px) {
    .class-entry--inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Cost table */
.cost-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 0.95rem;
}

.cost-table th,
.cost-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid var(--neu-shadow);
}

.cost-table th {
    font-weight: 700;
    color: var(--mdnt);
}

.cost-table tfoot td {
    border-top: 2px solid var(--mdnt);
    border-bottom: none;
}

.text-center {
    text-align: center;
}
.mt-0 {
    margin-top: 0;
}
.mb-0 {
    margin-bottom: 0;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
