/* ==========================================================================
   1. CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* System palette */
    --color-navy: #1a1f2e;
    --color-charcoal: #2c3040;
    --color-white: #ffffff;
    --color-off-white: #f5f6f8;
    --color-border: #e2e5eb;
    --color-text: #1a1a2e;
    --color-text-muted: #5a6072;
    --color-footer-bg: #111827;
    --color-footer-text: #9ca3af;
    /* tables */
    --table-header-bg: #6b7280;
    --table-header-border: #5a6068;
    --table-row-alt: #f9fafb;
    --table-hover: #f1f3f5;
    /*--table-accent: #6b7280;*/
    /* School accent colors */
    --color-amu: #003087;
    --color-apu: #2e7d32;
    --color-hondros: #e65100;
    --color-rasmussen: #c62828;
    /* Per-page brand color slot (overridden per EU page) */
    --color-brand: var(--color-navy);
    /* Typography */
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    /* Layout */
    --container-max: 1200px;
    --radius: 8px;
    --radius-sm: 4px;
}


/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}


/* ==========================================================================
   3. LAYOUT UTILITIES
   ========================================================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding-top: 20px;
}


/* ==========================================================================
   4. NAVIGATION
   ========================================================================== */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--color-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.2s;
}

.site-nav--scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.site-nav .container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 64px;
}

a.site-nav__logo {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

a.site-nav__logo:hover {
    opacity: 0.85;
    text-decoration: none;
}

/* Search input (EU pages) */
.site-nav__search {
    flex: 1;
    max-width: 280px;
    margin-left: auto;
}

.site-nav__search input {
    width: 100%;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    color: var(--color-white);
    font-family: var(--font);
    font-size: 0.875rem;
    outline: none;
    transition: background 0.2s, border-color 0.2s;
}

.site-nav__search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.site-nav__search input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Nav links */
.site-nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
    margin-bottom: 0;
}

.site-nav--eu .site-nav__links {
    margin-left: 0;
}

.site-nav__links li a {
    display: block;
    padding: 0.45rem 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.site-nav__links li a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

/* Hamburger (mobile only) */
.site-nav__hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-white);
    font-size: 1.25rem;
    border-radius: var(--radius-sm);
    margin-left: auto;
    transition: background 0.15s;
    position: relative;
    z-index: 200;
}

.site-nav__hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* ==========================================================================
   5. HERO COMPONENTS
   ========================================================================== */

/* --- System hero (index.html) --- */
.hero--system {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--color-navy);
    background-size: cover;
    background-position: center top;
    overflow: hidden;
}

.hero--system>.container {
    width: 100%;
}

.hero--system::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(20, 26, 46, 0.90) 50%, rgba(20, 26, 46, 0.55) 100%);
}

.hero--system p,
h1,
h2,
h3,
h4,
h5,
h6,
h1 {
    margin-bottom: 0rem;
}

.btn--amu-alt {
    background: var(--color-charcoal);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1.75rem;
    font-weight: 700;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
}

.btn--amu-alt:hover {
    background: #3a3f55;
    transform: translateY(-1px);
}

.hero--system .hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.hero--system .hero__content img.EU_Logo {
    width: 20%;
    max-width: 20%;
}

.hero__content--split {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero__school-cards .school-card {
    padding: 1.25rem;
    gap: 0.5rem;
}

.hero__school-cards .school-card__desc {
    font-size: 0.825rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero__text {
    flex: 1;
    min-width: 0;
}

.hero__school-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    flex-shrink: 0;
    width: 520px;
}


.hero--system .hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: var(--space-sm);
}

.hero--system .hero__subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: var(--space-lg);
    max-width: 480px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* --- EU hero (university pages) --- */
.hero--eu {
    background: var(--color-brand);
    padding: 4rem 0 3.5rem;
}

.hero--eu .hero__content {
    max-width: 700px;
}

.hero__eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.5rem;
}

.hero--eu .hero__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero__description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    line-height: 1.7;
    padding-top: 20px;
}


/* ==========================================================================
   6. HERO SEARCH BAR
   ========================================================================== */

.hero__search--amu {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 560px;
    margin-top: 2.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.2s, background 0.2s;
}

.hero__search--amu:focus-within {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
}

.hero__search--amu-input {
    flex: 1;
    min-width: 0;
    padding: 0.85rem 1.4rem;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font);
    font-size: 0.9375rem;
    -webkit-appearance: none;
    appearance: none;
}

.hero__search--amu-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.hero__search--amu-btn {
    flex-shrink: 0;
    padding: 0.85rem 1.6rem;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.hero__search--amu-btn:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s, box-shadow 0.15s;
    white-space: nowrap;
}

.btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.hero--system .btn--primary {
    background: var(--color-white);
    color: var(--color-navy);
    border: 2px solid var(--color-white);
}

.hero--system .btn--outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.hero--system a:hover .btn--outline {
    border-color: var(--color-white);
    color: var(--color-white);
}

.hero--system .hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.25rem !important;
}


/* ==========================================================================
   7. SCHOOL CARDS (index.html "Our Schools")
   ========================================================================== */

.schools-overview {
    padding: var(--space-xl) 0;
    background: var(--color-off-white);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.school-card {
    background: var(--color-white);
    border-radius: var(--radius);
    border-left: 5px solid var(--card-accent, #ccc);
    padding: 1.75rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.school-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
    text-decoration: none;
}

.school-card__logo {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    object-position: left center;
}

.school-card__name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
}

.school-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    flex: 1;
}

.school-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--card-accent, var(--color-navy));
    margin-top: auto;
    transition: gap 0.15s;
}

.school-card__link:hover {
    gap: 0.55rem;
}


/* ==========================================================================
   8. EU NAVIGATION CARDS
   ========================================================================== */

.nav-cards-section {
    padding: var(--space-lg) 0 var(--space-xl);
    background: var(--color-white);
}

.nav-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-white);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.nav-card:hover {
    border-color: var(--color-brand);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.nav-card__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.nav-card__body {
    flex: 1;
    min-width: 0;
}

.nav-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.nav-card__desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.nav-card__arrow {
    flex-shrink: 0;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    align-self: center;
    transition: transform 0.15s, color 0.15s;
}

.nav-card:hover .nav-card__arrow {
    transform: translateX(3px);
    color: var(--color-brand);
}


/* ==========================================================================
   9. SCHOOLS LIST (EU pages)
   ========================================================================== */

.schools-section {
    padding: var(--space-lg) 0 var(--space-xl);
    background: var(--color-off-white);
}

.schools-section__header {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-border);
}

.schools-list {
    display: flex;
    flex-direction: column;
}

.school-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.12s, padding-left 0.12s;
    text-decoration: none;
    color: var(--color-text);
}

.school-row:hover {
    background: rgba(0, 0, 0, 0.03);
    padding-left: 1rem;
}

.school-row__name {
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.12s;
}

.school-row:hover .school-row__name {
    color: var(--color-brand);
}

.school-row__arrow {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    transition: transform 0.15s, color 0.15s;
    font-weight: 500;
}

.school-row:hover .school-row__arrow {
    transform: translateX(4px);
    color: var(--color-brand);
}


/* ==========================================================================
   10. FOOTER
   ========================================================================== */

.site-footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: var(--space-md) 0;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__address {
    font-size: 0.8125rem;
    color: var(--color-footer-text);
    line-height: 1.5;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem 0;
    align-items: center;
}

.footer__links a {
    font-size: 0.8125rem;
    color: var(--color-footer-text);
    padding: 0.1rem 0.4rem;
    transition: color 0.15s;
}

.footer__links a:hover {
    color: var(--color-white);
    text-decoration: none;
}

.footer__links a+a {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.footer__social-heading {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.02em;
}

.footer__social-icons {
    display: flex;
    gap: 0.5rem;
}

.footer__social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-footer-text);
    font-size: 0.75rem;
    font-weight: 700;
    transition: background 0.15s, color 0.15s;
}

.footer__social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

/* ==========================================================================
   10.5 DATA TABLES + CALENDAR (SYSTEM COMPONENTS)
   ========================================================================== */

.policy-content-main table.table {
    font-size: .875rem;
}

/* Header */
.policy-content-main table th {
    background: var(--table-header-bg);
    color: var(--color-white);
    padding: 0.85rem 1.1rem;
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid var(--table-header-border);
}

/* Header divider */
.policy-content-main table th+th {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

/* Body cells */
.policy-content-main table td {
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

/* Column dividers */
.policy-content-main table td+td {
    border-left: 1px solid var(--color-border);
}

/* Zebra */
.policy-content-main table tbody tr:nth-child(even) td {
    background: var(--table-row-alt);
}

/* Hover */
.policy-content-main table tbody tr:hover td {
    background: var(--table-hover);
}

/* Remove last row border */
.policy-content-main table tr:last-child td {
    border-bottom: none;
}


/* ==========================================================================
   SCHEDULE TABLE EXTENSIONS
   ========================================================================== */

.policy-content-main table.schedule-table td:nth-child(2),
.policy-content-main table.schedule-table td:nth-child(3) {
    min-width: 180px;
}

.policy-content-main table.schedule-table td:nth-child(4),
.policy-content-main table.schedule-table td:nth-child(5),
.policy-content-main table.schedule-table td:nth-child(6) {
    white-space: nowrap;
    font-weight: 500;
    color: var(--color-text-muted);
}


/* ==========================================================================
   QUARTER ROW (UPDATED — THIS IS THE FIX)
   ========================================================================== */

.policy-content-main table .quarter-row td {
    position: relative;
    /* stronger visual separation */
    background: #f3f4f6 !important;
    font-weight: 600;
    text-align: left;
    padding: 14px 18px;
    /* remove vertical grid lines */
    border-left: none !important;
    /* section divider */
    border-top: 2px solid #d1d5db;
    border-bottom: 1px solid var(--color-border);
    letter-spacing: 0.4px;
    color: #3f444c;
}

/* Prevent zebra override */
.policy-content-main table tbody tr.quarter-row td {
    background: #f3f4f6 !important;
}

/* Left accent bar */
.policy-content-main table .quarter-row td::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--table-accent);
}


/* ==========================================================================
   PLACEMENT TABLE EXTENSIONS
   ========================================================================== */

.policy-content-main table.placement-table td:nth-child(1) {
    width: 20%;
    font-weight: 600;
}

.policy-content-main table.placement-table td:nth-child(2) {
    width: 30%;
    color: var(--color-text-muted);
}

.policy-content-main table.placement-table td:nth-child(3) {
    width: 50%;
}


/* ==========================================================================
   ACADEMIC CALENDAR
   ========================================================================== */

.academic-calendar {
    max-width: 900px;
    margin: 0 auto;
}

.quarter {
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: var(--space-sm);
}

.quarter:nth-child(odd) {
    background: var(--color-off-white);
}

.quarter-title {
    font-weight: 600;
}

.quarter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .quarter-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .hero--system .hero__content img.EU_Logo {
        width: 25%;
        max-width: 25%;
    }
}

/* ==========================================================================
   11. RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {

    /* Nav */
    .site-nav .container {
        flex-wrap: wrap;
        height: auto;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        gap: 0.5rem;
    }

    .site-nav__hamburger {
        display: flex;
        margin-left: auto;
    }

    .site-nav__search {
        order: 3;
        max-width: 100%;
        flex: 1 1 100%;
        margin-left: 0;
    }

    .site-nav__links {
        order: 4;
        flex: 1 1 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-left: 0;
    }

    .site-nav__links.is-open {
        max-height: 400px;
    }

    .site-nav__links li {
        width: 100%;
    }

    .site-nav__links li a {
        padding: 0.65rem 0.5rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        font-size: 0.9375rem;
    }

    /* Hero */
    .hero--system {
        min-height: 300px;
    }

    .hero__content--split {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__school-cards {
        width: 100%;
    }

    .hero--system .hero__content,
    .hero--eu .hero__content {
        padding-top: var(--space-lg);
        padding-bottom: var(--space-lg);
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Grids */
    .grid-2 {
        grid-template-columns: 1fr;
    }

    /* Schools overview */
    .schools-overview {
        padding: var(--space-lg) 0;
    }

    /* Footer */
    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__social {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero--system .hero__title {
        font-size: 1.75rem;
    }

    .hero--eu .hero__title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }
}


/* ==========================================================================
   12. CONTENT PAGE LAYOUT (breadcrumb + two-column sidebar + main)
   ========================================================================== */

/* --- Breadcrumb bar --- */
.breadcrumb {
    background: var(--color-off-white);
    border-bottom: 1px solid var(--color-border);
    padding: 0.6rem 0;
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.4rem;
    row-gap: 0.25rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.combined-mobile-nav {
    margin-bottom: 0 !important;
}

ol.breadcrumb__list {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    /* Overrides the bottom part of margin-block */
    margin-block: 0 !important;
    /* Reset both top/bottom if needed */
}

.breadcrumb__item a {
    color: var(--color-text-muted);
    transition: color 0.15s;
}

.breadcrumb__item a:hover {
    color: var(--color-text);
}

.breadcrumb__item+.breadcrumb__item::before {
    content: '\203a';
    font-size: 0.75rem;
    color: var(--color-text-muted);
    user-select: none;
    margin-right: 0.4rem;
}

.breadcrumb__item--current {
    color: var(--color-text);
    font-weight: 500;
}

/* --- Two-column content layout wrapper --- */
.content-layout {
    display: flex;
    align-items: flex-start;
    padding: var(--space-lg) 0 var(--space-xl);
}

/* --- Sidebar --- */
.content-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: var(--color-white);
    position: sticky;
    top: 80px;
    align-self: flex-start;
    padding: 0;
    border-right: 1px solid var(--color-border);
    margin-right: 2.5rem;
}

/* --- Accordion --- */
.sidebar-accordion {
    border-bottom: 1px solid var(--color-border);
}

.sidebar-accordion__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color 0.15s;
}

.sidebar-accordion__toggle::-webkit-details-marker {
    display: none;
}

.sidebar-accordion__toggle::after {
    content: '›';
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    transition: transform 0.2s;
    color: var(--color-text-muted);
}

.sidebar-accordion[open] .sidebar-accordion__toggle::after {
    transform: rotate(90deg);
}

/* --- Sidebar nav list --- */
.content-sidebar__nav {
    list-style: none;
    overflow: hidden;
    transition: max-height 0.28s ease;
}

.content-sidebar__nav li a,
.content-sidebar__link {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    border-left: 3px solid transparent;
    text-align: left;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
    text-decoration: none;
}

.content-sidebar__nav li a:hover,
.content-sidebar__link:hover {
    color: var(--color-text);
    background: var(--color-off-white);
    border-left-color: var(--color-border);
}

.content-sidebar__nav li a.is-active,
.content-sidebar__link.is-active {
    color: var(--color-text);
    font-weight: 600;
    background: var(--color-off-white);
    border-left-color: var(--color-navy);
}

.content-sidebar__link:focus-visible {
    outline: 3px solid rgba(26, 31, 46, 0.16);
    outline-offset: 2px;
}

/* --- Main content area --- */
.policy-content-main {
    flex: 1;
    min-width: 0;
    padding: 0;
    background: var(--color-white);
}

.policy-content-main__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.6rem;
}

.policy-content-main__title {
    font-size: clamp(1.75rem, 3vw, 2.375rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.15;
    margin-bottom: 1rem;
    padding-bottom: 20px;
}

.policy-content-main__desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 2rem;
}

.policy-content-main ol li {
    list-style: decimal;
    margin: 0 0 10px 0;
    color: var(--color-text-muted);
}

.policy-content-main ul li {
    margin: 0 0 10px 0;
    list-style: disc;
    color: var(--color-text-muted);
}

body .policy-content-main {
    color: inherit;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.policy-content-main a {
    color: #1a1f2e;
    text-decoration: underline;
}

.policy-content-main h1,
.policy-content-main .h1,
.policy-content-main h2,
.policy-content-main .h2,
.policy-content-main h3,
.policy-content-main .h3,
.policy-content-main h4,
.policy-content-main .h4,
.policy-content-main h5,
.policy-content-main .h5,
.policy-content-main h6,
.policy-content-main .h6 {
    margin-bottom: 0rem;
}

.policy-content-main .h1,
.policy-content-main h1 {
    font-size: 2.875rem;
}

.policy-content-main .h2,
.policy-content-main h2 {
    font-size: 1.5rem;
    color: #1a1a2e;
    line-height: 1.3;
}

.policy-content-main h2.policy-content-main__title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #5a6072;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-content-main .h3,
.policy-content-main h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
}

.policy-content-main h3.policy-content-main__section-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.policy-content-main summary.content-accordion__toggle {
    font-size: .875rem;
    font-weight: 600;
    color: var(--color-text);
}

.policy-content-main .content-accordion__content {
    font-size: .875rem;
}

.policy-content-main .h4,
.policy-content-main h4 {
    font-size: .75rem
}

.policy-content-main .h5,
.policy-content-main h5 {
    font-size: .5rem
}

.policy-content-main .h6,
.policy-content-main h6 {
    font-size: .25rem
}

/* --- Content rows (reuses .school-row from Section 9) --- */
.content-rows {
    display: flex;
    flex-direction: column;
    border-top: 2px solid var(--color-border);
}

/* --- Content panels (hidden by default; JS activates one at a time) --- */
.content-panel[hidden] {
    display: none;
}

/* --- Placeholder block for unbuilt sections --- */
.placeholder-text {
    background: var(--color-off-white);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 680px;
}

.placeholder-text p+p {
    margin-top: 0.75rem;
}

/* --- Sidebar sheet overlay --- */
.sidebar-close {
    display: none;
}

.sidebar-toggle {
    display: none;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 140;
}

.sidebar-overlay.is-visible {
    display: block;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .content-layout {
        flex-direction: column;
        padding: var(--space-md) 0 var(--space-lg);
    }

    /* Sidebar becomes a fixed slide-in sheet */
    .content-sidebar {
        position: fixed;
        top: 64px;
        left: 0;
        height: calc(100% - 64px);
        width: 280px;
        max-width: 85vw;
        z-index: 150;
        background: var(--color-white);
        border-right: 1px solid var(--color-border);
        border-bottom: none;
        margin-right: 0;
        margin-bottom: 0;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.28s ease;
        padding-top: 3rem;
    }

    .content-sidebar.is-open {
        transform: translateX(0);
    }

    /* Close button inside the sheet */
    .sidebar-close {
        display: flex;
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: var(--color-off-white);
        border: 1px solid var(--color-border);
        font-size: 1.1rem;
        color: var(--color-text-muted);
        cursor: pointer;
        transition: background 0.15s, color 0.15s;
    }

    .sidebar-close:hover {
        background: var(--color-border);
        color: var(--color-text);
    }

    /* Toggle button shown above main content */
    .sidebar-toggle {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.65rem 1rem;
        background: var(--color-off-white);
        border: none;
        border-bottom: 1px solid var(--color-border);
        font-family: var(--font);
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--color-text);
        cursor: pointer;
        align-self: stretch;
        transition: background 0.15s;
    }

    .sidebar-toggle:hover {
        background: var(--color-border);
    }

    .content-sidebar__nav li a,
    .content-sidebar__link {
        border-left: none;
        border-bottom: 1px solid var(--color-border);
        padding: 0.65rem 1rem;
    }

    .content-sidebar__nav li a.is-active,
    .content-sidebar__link.is-active {
        border-left: none;
        background: var(--color-off-white);
    }

    .policy-content-main {
        padding: 1.75rem 0 3rem;
    }
}

@media (max-width: 480px) {
    .policy-content-main__title {
        font-size: 1.5rem;
    }
}


/* ==========================================================================
   13. HERO SEARCH BAR
   ========================================================================== */

.hero__search {
    display: flex;
    align-items: stretch;
    margin-top: 2rem;
    width: 100%;
    max-width: 560px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    overflow: hidden;
    transition: background 0.2s, border-color 0.2s;
}

.hero__search:focus-within {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero__search-input {
    flex: 1;
    min-width: 0;
    padding: 0.8rem 1.25rem;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-white);
    font-family: var(--font);
    font-size: 0.9375rem;
    -webkit-appearance: none;
    appearance: none;
}

.hero__search-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.hero__search-btn {
    flex-shrink: 0;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.hero__search-btn:hover {
    background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 480px) {
    .hero__search {
        flex-direction: column;
        border-radius: var(--radius);
        overflow: visible;
        background: transparent;
        border: none;
        gap: 0.5rem;
    }

    .hero__search-input {
        width: 100%;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: var(--radius-sm);
        padding: 0.75rem 1rem;
    }

    .hero__search-btn {
        width: 100%;
        border: none;
        border-radius: var(--radius-sm);
        background: rgba(255, 255, 255, 0.2);
        padding: 0.75rem 1rem;
    }
}


/* ==========================================================================
   14. SEARCH RESULTS PAGE (amu-results.html)
   ========================================================================== */

.results-header {
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid var(--color-border);
}

.results-header__query {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.4rem;
}

.results-header__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

.hero__search--amu-input {
    flex: 1;
    min-width: 0;
    padding: 0.85rem 1.4rem;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font);
    font-size: 0.9375rem;
    -webkit-appearance: none;
    appearance: none;
}

.hero__search--amu-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.hero__search--amu-btn {
    flex-shrink: 0;
    padding: 0.85rem 1.6rem;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.hero__search--amu-btn:hover {
    background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 480px) {
    .hero__search--amu {
        flex-direction: column;
        border-radius: var(--radius);
        overflow: visible;
        background: transparent;
        border: none;
        gap: 0.5rem;
    }

    .hero__search--amu-input {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: var(--radius-sm);
        padding: 0.75rem 1rem;
        width: 100%;
    }

    .hero__search--amu-btn {
        width: 100%;
        border-radius: var(--radius-sm);
        border: none;
        background: rgba(255, 255, 255, 0.18);
        padding: 0.75rem 1rem;
    }

    a.site-nav__logo {
        font-size: .75rem;
    }

    .hero--system .hero__content img.EU_Logo {
        width: 60%;
        max-width: 60%;
    }
}

.results-search {
    display: flex;
    align-items: center;
    max-width: 520px;
    border: 1.5px solid var(--color-border);
    border-radius: 50px;
    overflow: hidden;
    background: var(--color-white);
    transition: border-color 0.2s;
}

.results-search:focus-within {
    border-color: var(--color-amu);
}

.results-search-input {
    flex: 1;
    min-width: 0;
    padding: 0.7rem 1.1rem;
    border: none;
    outline: none;
    font-family: var(--font);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: transparent;
}

.results-search-btn {
    flex-shrink: 0;
    padding: 0.7rem 1.25rem;
    background: var(--color-amu);
    border: none;
    color: var(--color-white);
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.results-search-btn:hover {
    opacity: 0.88;
}

.results-meta {
    padding: 1rem 0 0.25rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.results-list {
    list-style: none;
    border-top: 1px solid var(--color-border);
    margin-top: 0.5rem;
}

.result-item {
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
}

.result-item__type {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-amu);
    border-radius: 3px;
    padding: 0.15rem 0.5rem;
    margin-bottom: 0.4rem;
}

.result-item__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.3rem;
}

.result-item__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.result-item__title a:hover {
    color: var(--color-amu);
}

.result-item__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.results-empty {
    padding: 3rem 0;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.results-empty strong {
    color: var(--color-text);
}

.results-section {
    padding: 2.5rem 0 4rem;
}

.policy-content-main__section-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.policy-content-main p {
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.policy-content-main ul,
.policy-content-main ol {
    padding-left: 1.25rem;
    margin-block: 1rem;
}

/* ==========================================================================
   System Policies � Tabbed panel-switching layout extensions
   ========================================================================== */

.policy-content-main--tabbed {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.policy-content-main__group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}


/* ==========================================================================
   CATALOG BODY / SIDEBAR / MAIN LAYOUT
   ========================================================================== */

/* ── Page body: sidebar + content ────────────────────────────────── */
.catalog-body {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

/* ── Sidebar panels ───────────────────────────────────────────────── */
.sidebar-panel[hidden] {
    display: none;
}

.sidebar-panel__heading {
    display: block;
    width: 100%;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-navy);
    padding: 0.65rem 1rem;
    border: none;
    text-align: left;
    cursor: default;
}

/* ── Left content sidebar box ─────────────────────────────────────── */
.catalog-sidebar {
    flex-shrink: 0;
    width: 220px;
    position: sticky;
    top: calc(3px + 64px + 1.5rem);
    align-self: flex-start;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-white);
    overflow: hidden;
}

.cat-section__nav {
    list-style: none;
    padding-bottom: 0.25rem;
}

.cat-section__nav li a {
    display: block;
    padding: 0.4rem 1rem 0.4rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    border-left: 3px solid transparent;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
    text-decoration: none;
}

.cat-section__nav li a:hover {
    color: var(--color-text);
    background: var(--color-off-white);
    border-left-color: var(--color-border);
}

.cat-section__nav li a.is-active {
    color: var(--color-navy);
    font-weight: 600;
    background: var(--color-off-white);
    border-left-color: var(--color-navy);
}

/* ── Child page sub-list (dynamically injected by system-subnavigation.js) ── */
.cat-section__nav li.activenavpath>ul.listNav {
    list-style: none;
    margin: 0;
    padding: 0.125rem 0 0.25rem;
    border-top: 1px solid var(--color-border);
}

.cat-section__nav li.activenavpath>ul.listNav li.navitemFirst>a {
    display: block;
    padding: 0.35rem 1rem 0.35rem 2rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: color 0.15s, background 0.15s;
}

.cat-section__nav li.activenavpath>ul.listNav li.navitemFirst>a:hover {
    color: var(--color-text);
    background: var(--color-off-white);
    border-left-color: var(--color-border);
}

/* ── Multi-level sidebar navigation (.catalog-sidebar--multilevel) ── */
.catalog-sidebar--multilevel {
    border: 0;
}

.catalog-sidebar--multilevel .cat-ml__l1,
.catalog-sidebar--multilevel .cat-ml__l2,
.catalog-sidebar--multilevel .cat-ml__l3,
.catalog-sidebar--multilevel .cat-ml__l4 {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Hide child lists until JS reveals them */
.catalog-sidebar--multilevel .cat-ml__l2[hidden],
.catalog-sidebar--multilevel .cat-ml__l3[hidden],
.catalog-sidebar--multilevel .cat-ml__l4[hidden] {
    display: none;
}

/* Base link styles shared across all levels */
.catalog-sidebar--multilevel .cat-ml__link {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.catalog-sidebar--multilevel .cat-ml__link:hover {
    color: var(--color-text);
    background: var(--color-off-white);
    border-left-color: var(--color-border);
}

.catalog-sidebar--multilevel .cat-ml__link.is-active {
    color: var(--color-navy);
    font-weight: 600;
    border-left-width: 3px;
    border-left-color: var(--color-navy);
}

.catalog-sidebar--multilevel .cat-ml__link.is-ancestor {
    color: var(--color-text);
    font-weight: 600;
}

/* Level-specific left-padding (each level indented by 0.75rem) */
.catalog-sidebar--multilevel .cat-ml__link--l1 {
    padding: 0.75rem 0.75rem 0.75rem 1.25rem;
    color: var(--color-text);
    font-weight: 600;
}

.catalog-sidebar--multilevel .cat-ml__link--l2 {
    padding: 0.5rem 1rem 0.5rem 0.75rem;
    font-size: 0.8rem;
    border-left-color: var(--color-border);
}

.catalog-sidebar--multilevel .cat-ml__link--l3 {
    padding: 0.45rem 1rem 0.45rem 0.75rem;
    font-size: 0.8rem;
    border-left-color: var(--color-border);
}

.catalog-sidebar--multilevel .cat-ml__link--l4 {
    padding: 0.45rem 1rem 0.45rem 0.75rem;
    font-size: 0.775rem;
    border-left-color: var(--color-border);
}

/* Horizontal separator between L1 items */
.catalog-sidebar--multilevel .cat-ml__item--l1 {
    border-bottom: 1px solid var(--color-border);
}

.catalog-sidebar--multilevel .cat-ml__item--l1:last-child {
    border-bottom: none;
}

/* Expanded L1 row gets a subtle background highlight */
.catalog-sidebar--multilevel .cat-ml__item--has-children:has(> .cat-ml__item-row > .cat-ml__toggle[aria-expanded="true"])>.cat-ml__item-row {
    background: var(--color-off-white);
}

/* L2/L3/L4 child lists — indented relative to parent; rail comes from each link's border-left */
.catalog-sidebar--multilevel .cat-ml__l2 {
    padding: 0.5rem 0;
    margin-left: 1.25rem;
}

.catalog-sidebar--multilevel .cat-ml__l3 {
    padding: 0.125rem 0;
    margin-left: 0.75rem;
}

.catalog-sidebar--multilevel .cat-ml__l4 {
    padding: 0.125rem 0;
    margin-left: 0.75rem;
}

/* ── Item row: link + toggle button side by side ── */
.catalog-sidebar--multilevel .cat-ml__item-row {
    display: flex;
    align-items: stretch;
}

.catalog-sidebar--multilevel .cat-ml__item-row .cat-ml__link {
    flex: 1;
    min-width: 0;
}

/* Toggle button (chevron) */
.catalog-sidebar--multilevel .cat-ml__toggle {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: inherit;
    transition: background 0.15s, color 0.15s;
}

.catalog-sidebar--multilevel .cat-ml__toggle:hover {
    background: var(--color-off-white);
    color: var(--color-text);
}

/* CSS chevron arrow — points right by default, rotates down when expanded */
.catalog-sidebar--multilevel .cat-ml__toggle::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid currentColor;
    transition: transform 0.2s ease;
}

.catalog-sidebar--multilevel .cat-ml__toggle[aria-expanded="true"]::after {
    transform: rotate(90deg);
}

/* ── Main content area ────────────────────────────────────────────── */
.catalog-main {
    flex: 1;
    min-width: 0;
    min-height: 100vh;
}

.content-main__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.content-main__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.content-main__title,
.content-panel h1 {
    font-family: var(--font);
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.15;
    margin-bottom: 0;
}

.content-main__desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 2rem;
}

/* ── School section headings & program meta ──────────────────────── */
.schools-section-heading {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-navy);
    margin: 2rem 0 0;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--color-navy);
}

.schools-section-heading+.schools-list {
    border-top: none;
}

.school-row__meta {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-top: 0.1rem;
}

/* ── Career paths grid ────────────────────────────────────────────── */
.career-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 2rem;
    margin-bottom: 1rem;
    max-width: 640px;
}

.career-item {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.career-item::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

/* ── Hamburger button (hidden on desktop) ─────────────────────────── */
.primary-nav__hamburger {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.82);
    padding: 0.4rem 0.5rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: color 0.15s, background 0.15s;
}

.primary-nav__hamburger:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
}



/* ── Subnav scroll wrapper ────────────────────────────────────────── */
.subnav__scroll {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.subnav__scroll::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 2rem;
    background: linear-gradient(to right, transparent, var(--color-navy));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.subnav__scroll.can-scroll-right::after {
    opacity: 1;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .catalog-body {
        flex-direction: column;
        gap: 1.25rem;
    }

    .catalog-sidebar {
        position: static;
        width: 100%;
    }

    /* Show hamburger on mobile */
    .primary-nav__hamburger {
        display: flex;
        margin-left: auto;
    }

    /* Subnav: horizontally scrollable */
    .subnav__inner {
        padding: 0;
    }

    .subnav__scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .subnav__scroll::-webkit-scrollbar {
        display: none;
    }

    .subnav__links {
        padding: 0 1rem;
        flex-wrap: nowrap;
    }

    .subnav__links a {
        white-space: nowrap;
    }

    /* Collapsible section nav heading — becomes an interactive toggle */
    .sidebar-panel__heading {
        cursor: pointer;
        padding-right: 2.25rem;
        position: relative;
    }

    .sidebar-panel__heading::after {
        content: '';
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #fff;
        transition: transform 0.2s ease;
    }

    .sidebar-panel__heading[aria-expanded="false"]::after {
        transform: translateY(-50%) rotate(-90deg);
    }
}

/* ── Sub-content panels (within a main panel) ─────────────────────── */
.sub-panel[hidden] {
    display: none;
}

/* ── Associate Programs layout ────────────────────────────────────── */
.assoc-programs__intro {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 720px;
    margin-bottom: 2.5rem;
}

.assoc-programs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem 3rem;
}

.assoc-degree__title {
    font-family: var(--font);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.assoc-degree__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.assoc-degree__list li::before {
    content: '✦';
    font-size: 0.55rem;
    color: var(--color-text-muted);
    margin-right: 0.45rem;
    vertical-align: middle;
}

.assoc-degree__list a {
    font-size: 0.9rem;
    color: #1a56db;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.assoc-degree__list a:hover {
    color: #1e40af;
}

/* ── Program detail tabs ──────────────────────────────────────────── */
.prog-tabs {
    display: inline-flex;
    margin-block: 1.25rem;
    background: var(--color-off-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 4px;
    gap: 2px;
}

.prog-tabs__btn {
    padding: 0.5rem 1.5rem;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    background: transparent;
    color: var(--color-text-muted);
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    white-space: nowrap;
}

.prog-tabs__btn:hover:not(.is-active) {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-text);
}

.prog-tabs__btn.is-active {
    background: #fff;
    color: var(--color-text);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.prog-tab-panel[hidden] {
    display: none;
}

/* Mobile: swap button tablist for a select */
.prog-tabs__select {
    display: none;
}

@media (max-width: 768px) {
    .prog-tabs {
        display: none;
    }

    .prog-tabs__select {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0.6rem 2.5rem 0.6rem 1rem;
        font-family: var(--font);
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--color-text);
        background-color: var(--color-off-white);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.9rem center;
        border: 1px solid var(--color-border);
        border-radius: 10px;
        margin-bottom: 2rem;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
    }
}

/* ── Program detail body text ─────────────────────────────────────── */
.prog-body p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.prog-body a {
    color: #1a56db;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prog-body h2 {
    font-family: var(--font);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
    margin: 0.5rem 0 0.75rem;
    line-height: 1.15;
}

.prog-body h3 {
    font-family: var(--font);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 1.5rem 0 0.5rem;
    line-height: 1.2;
}

/* Visually hide table captions while keeping them accessible to screen readers */
.prog-body caption,
.prog-body .APUSDegreeProgramTableCaption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.prog-body ul {
    list-style: none;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.prog-body ul li::before {
    content: '✦';
    font-size: 0.55rem;
    color: var(--color-text-muted);
    margin-right: 0.5rem;
    vertical-align: middle;
}

.content-panel ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.content-panel ol li {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    padding-left: 0.25rem;
}

/* ── Degree at a Glance table ─────────────────────────────────────── */
.glance-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-bottom: 2rem;
}

.glance-table tr {
    border-bottom: 1px solid var(--color-border);
}

.glance-table td {
    padding: 0.55rem 0.5rem;
    font-size: 0.9375rem;
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
}

.glance-table td:last-child {
    color: var(--color-text);
    font-weight: 400;
    /* text-align: right; */
    white-space: nowrap;
}

/* Column width pins — applied via <col> elements in each table variant */
.col-code {
    width: 8.5rem;
}

.col-credits {
    width: 5rem;
}

.col-value {
    width: 5rem;
}

.glance-table thead td {
    font-weight: 600;
    color: var(--color-text);
    border-bottom: 2px solid var(--color-border);
}

.glance-table tr.glance-table__total td {
    font-weight: 700;
    color: var(--color-text);
}

/* ==========================================================================
   Program details
   ========================================================================== */

.prog-paragraph {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.prog-paragraph ol {
    display: block;
    list-style: decimal;
    padding-left: 1.5rem;
}

.prog-paragraph ul {
    display: block;
}

.prog-footnote {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: 0.35rem;
}

/* ── Program notifications ─────────────────────────────────────── */
.prog-notification {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.prog-notification--warning {
    background: #fffbeb;
    border: 1px solid #f59e0b;
    border-left: 4px solid #f59e0b;
    color: #78350f;
}

.prog-notification__icon {
    flex-shrink: 0;
    font-size: 1.1rem;
    margin-top: 0.05rem;
}

.prog-notification__body {
    flex: 1;
    min-width: 0;
}

.prog-notification__body a {
    color: #92400e;
    font-weight: 600;
    text-decoration: underline;
}

.prog-notification__body a:hover {
    color: #78350f;
}

.prog-notification__close {
    flex-shrink: 0;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    padding: 0.1rem 0.25rem;
    border-radius: var(--radius-sm);
    opacity: 0.7;
    transition: opacity 0.15s;
}

.prog-notification--warning .prog-notification__close {
    color: #92400e;
}

.prog-notification__close:hover {
    opacity: 1;
}

.prog-muted {
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    margin-left: 0.25rem;
}

.prog-subcourses {
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.prog-subsection {
    margin-left: 0.5rem;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.prog-subsection__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0.5rem 0;
}

.prog-table-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0.75rem 0 0.35rem;
}

.course-code-btn {
    color: #1a56db;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.course-code-btn:hover {
    opacity: 0.7;
}

.content-panel__print {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 800;
    flex-shrink: 0;
    white-space: nowrap;
    padding-top: 0.35rem;
}

@media (max-width: 768px) {
    .content-panel__print {
        display: none;
    }
}

.content-panel__print:hover {
    text-decoration: underline;
}

.content-panel__print svg {
    flex-shrink: 0;
}

.policy-content-main__group[hidden] {
    display: none;
}

.policy-content-main__panel {
    padding: 0 0 1rem;
}

/* ==========================================================================
   Program details Courses Modals
   ========================================================================== */
.course-detail-modal-page-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.75);
}

.course-detail-modal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 100%;
    max-width: 32rem;
    max-height: 80vh;
    overflow-y: auto;
    background: hsl(var(--background, 0, 0%, 100%));
    border: 1px solid hsl(var(--border, 214, 20%, 88%));
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.course-modal-header {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
}

.course-modal-body {
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.font-semibold {
    font-weight: 600
}

.rpd-modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.6;
    line-height: 1;
    padding: 0.25rem;
}

.rpd-modal-close span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.spd-modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.6;
    line-height: 1;
    padding: 0.25rem;
}

.spd-modal-close span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* ==========================================================================
   Content Accordions (third-level nested accordions within content panels)
   ========================================================================== */
.content-accordion-set {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.content-accordion {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-white);
    overflow: hidden;
}

.content-accordion__content p:first-child {
    margin-top: 10px;
}

.content-accordion__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.125rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
    list-style: none;
    cursor: pointer;
}

.content-accordion__toggle::-webkit-details-marker {
    display: none;
}

.content-accordion__toggle::after {
    content: '+';
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.content-accordion[open] .content-accordion__toggle {
    background: var(--color-off-white);
}

.content-accordion[open] .content-accordion__toggle::after {
    content: '\2212';
}

.content-accordion__content {
    padding: 0 1.125rem 1rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}

.content-accordion__content>*+* {
    margin-top: 0.85rem;
}

.content-accordion__content ul,
.content-accordion__content ol {
    padding-left: 1.2rem;
}

.content-accordion__content table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid var(--color-border);
    border-radius: calc(var(--radius) - 2px);
    overflow: hidden;
    margin: 0.5rem 0 0.25rem;
    background: linear-gradient(180deg, rgba(245, 246, 248, 0.55) 0%, rgba(255, 255, 255, 1) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.content-accordion__content th,
.content-accordion__content td {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(226, 229, 235, 0.9);
    text-align: left;
    vertical-align: top;
}

.content-accordion__content thead th {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: #eef2f7;
}

.content-accordion__content th {
    width: 32%;
    color: var(--color-text);
    background: rgba(245, 246, 248, 0.95);
}

.content-accordion__content tbody th {
    font-weight: 700;
}

.content-accordion__content tbody tr:nth-child(even) td,
.content-accordion__content tbody tr:nth-child(even) th[scope="row"] {
    background: rgba(250, 251, 253, 0.9);
}

.content-accordion__content tbody td {
    color: var(--color-text-muted);
}

.content-accordion__content table a {
    color: var(--color-navy);
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

@media (max-width: 768px) {
    .content-accordion__toggle {
        padding: 0.9rem 1rem;
    }

    .content-accordion__content {
        padding: 0 1rem 1rem;
        overflow-x: auto;
    }

    .content-accordion__content table {
        min-width: 480px;
    }
}

/* ==========================================================================
   Quick Navigation Bar (for content pages with multiple sections)
   ========================================================================== */
.quick-nav {
    background: var(--color-charcoal);
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-nav.is-sticky {
    position: sticky;
    top: var(--nav-height, 0px);
    z-index: 100;
}

.quick-nav__inner {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.quick-nav__inner::-webkit-scrollbar {
    display: none;
}

.quick-nav__link {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    text-decoration: none;
}

.quick-nav__link:hover {
    color: var(--color-white);
    border-bottom-color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

/* ==========================================================================
   Primary Navigation Bar (for content pages with multiple sections)
   ========================================================================== */
.primary-nav {
    background: var(--color-navy);
    border-bottom: 1px solid var(--amu-border-dark);
    position: sticky;
    top: 3px;
    z-index: 100;
}

.primary-nav__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1rem 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 1.5rem;
}

.primary-nav__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.primary-nav__logo img {
    height: 36px;
    width: auto;
}

.primary-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.primary-nav__actions a,
.primary-nav__actions span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.7rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    transition: color 0.15s, background 0.15s;
    text-decoration: none;
}

.primary-nav__actions a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

.primary-nav__actions a.is-active {
    color: var(--color-white);
}

.primary-nav__actions .nav-divider {
    width: 1px;
    height: 18px;
    background: var(--amu-border-dark);
    margin: 0 0.25rem;
}

/* ==========================================================================
   Primary Nav Search Bar (Expandable section that appears when user clicks "Search" in primary nav)
   ========================================================================== */
.primary-nav__searchbar {
    border-top: 1px solid var(--amu-border-dark);
    background: var(--color-charcoal);
    padding: 0.6rem 1.5rem;
}

.primary-nav__searchbar[hidden] {
    display: none;
}

.primary-nav__searchbar-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.primary-nav__searchbar-inner input {
    flex: 1;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    color: var(--color-white);
    font-family: var(--font);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.primary-nav__searchbar-inner input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.primary-nav__searchbar-inner input:focus {
    border-color: rgba(255, 255, 255, 0.4);
}

.primary-nav__searchbar-inner button {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    padding: 0.3rem 0.5rem;
    transition: color 0.15s;
}

.primary-nav__searchbar-inner button:hover {
    color: var(--color-white);
}

/* Mobile primary nav: actions slide down (matches site-nav pattern) */
@media (max-width: 768px) {
    .primary-nav__inner {
        flex-wrap: wrap;
        height: auto;
        min-height: 64px;
    }

    .primary-nav__actions {
        order: 3;
        flex: 1 1 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        background: var(--color-navy);
        border-top: 1px solid var(--amu-border-dark);
        transition: max-height 0.3s ease;
    }

    .primary-nav__actions.is-open {
        max-height: 400px;
    }

    .primary-nav__actions a,
    .primary-nav__actions span {
        width: 100%;
        padding: 0.65rem 0.75rem;
        font-size: 0.9375rem;
        border-radius: 0;
        white-space: normal;
        border-bottom: 1px solid var(--amu-border-dark);
    }

    .primary-nav__actions a:last-child,
    .primary-nav__actions span:last-child {
        border-bottom: none;
    }
}

/* ==========================================================================
   System Catalog with Quick Navigation — combined mobile dropdown
   ========================================================================== */

/* Desktop/mobile logo visibility */
.primary-nav__logo--mobile {
    display: none;
}

@media (max-width: 768px) {
    .primary-nav__logo--desktop {
        display: none;
    }

    .primary-nav__logo--mobile {
        display: block;
    }

    /* Hide site-nav hamburger — primary-nav hamburger handles the combined dropdown */
    .site-nav--has-quick-nav .site-nav__hamburger {
        display: none;
    }

    /* Shrink site-nav height and pin primary-nav flush below it */
    .site-nav--has-quick-nav .container {
        height: 48px;
    }

    .site-nav--has-quick-nav+.primary-nav {
        top: 48px;
    }
}

/* On mobile, collapse site-nav links & hamburger; primary-nav sits below site-nav */
@media (max-width: 768px) {

    .primary-nav~.combined-mobile-nav,
    .combined-mobile-nav {
        list-style: none;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        background: var(--color-navy);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        transition: max-height 0.35s ease;
    }

    .combined-mobile-nav.is-open {
        max-height: 600px;
    }

    .combined-mobile-nav li a {
        display: block;
        padding: 0.5rem 1.25rem;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 0.875rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transition: background 0.15s, color 0.15s;
    }

    .combined-mobile-nav li a:hover {
        background: rgba(255, 255, 255, 0.06);
        color: var(--color-white);
    }

    .combined-mobile-nav li a.is-active {
        color: var(--color-white);
        font-weight: 600;
    }

    .combined-nav__divider {
        height: 1px;
        background: rgba(255, 255, 255, 0.2);
        margin: 0.15rem 0;
    }
}

/* ==========================================================================
   Program Pages Styles
   ========================================================================== */

/* ── Sub-content panels (within a main panel) ─────────────────────── */
.sub-panel[hidden] {
    display: none;
}

.subnav__links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.subnav__links a.is-active {
    color: var(--color-white);
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.subnav {
    background: var(--color-navy);
    border-bottom: 1px solid var(--apu-border-dark);
    position: sticky;
    top: calc(3px + 64px);
    z-index: 99;
}

.subnav__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0;
}

.subnav__links {
    display: flex;
    align-items: center;
}

.subnav__links a {
    display: block;
    padding: 0.6rem 1rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.subnav__links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.subnav__links a.is-active {
    color: var(--color-white);
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

/* ── Program badges list (bottom of Overview tab) ─────────────────── */
.prog-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.prog-badges li {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-off-white);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.25rem 0.875rem;
}

.prog-badges li::before {
    content: none;
}

/* ── Conditional / placement-based section (e.g., Dev Ed) ──────────── */
.prog-section--conditional {
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-text-muted);
    border-radius: var(--radius);
    background: var(--color-off-white, #f8f9fa);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prog-section--conditional__summary {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 2.5rem;
}

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

.prog-section--conditional__summary::after {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transition: transform 0.2s ease;
    transform-origin: 60% 60%;
    transform: translateY(-70%) rotate(45deg);
}

.prog-section--conditional[open] > .prog-section--conditional__summary::after {
    transform: translateY(-30%) rotate(225deg);
}

.prog-section--conditional__summary h2 {
    margin: 0;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.prog-section--conditional__label {
    font-size: 0.70rem;
    font-weight: 500;
    color: var(--color-text-muted);
    font-style: italic;
}

.prog-section--conditional__body {
    padding: 0 1.25rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.675rem;
    color: var(--color-text-muted);
}

.prog-section--conditional .glance-table thead td{
    font-size: 0.675rem !important;
}

.prog-section--conditional .glance-table td{
    font-size: 0.675rem !important;
}

/* ── Section shared ───────────────────────────────────────────────── */
.home-section {
    padding: 4rem 0;
}

.home-section+.home-section {
    border-top: 1px solid var(--color-border);
}

.home-section--dark {
    background: var(--color-navy);
}

.home-section--alt {
    background: var(--color-off-white);
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.section-eyebrow--dark {
    color: rgba(255, 255, 255, 0.55);
}

.section-heading {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.section-heading--white {
    color: #fff;
}

.section-lead {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 2.5rem;
}

.section-lead--white {
    color: rgba(255, 255, 255, 0.7);
}

/* ── Schools Grid ─────────────────────────────────────────────────── */
.schools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.school-tile {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-navy);
    border-radius: var(--radius);
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s, border-top-color 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.school-tile:hover {
    box-shadow: 0 6px 24px rgba(26, 31, 46, 0.12);
    transform: translateY(-3px);
    border-top-color: var(--color-charcoal);
}

.school-tile__name {
    font-size: 0.975rem;
    font-weight: 700;
    line-height: 1.3;
}

.school-tile__count {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    flex: 1;
}

.school-tile__arrow {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: 0.04em;
}

.school-tile__arrow a {
    color: inherit;
    text-decoration: none;
}

/* Stretch the arrow link to cover the entire card */
.school-tile__arrow a::after {
    content: '';
    position: absolute;
    inset: 0;
}

/* ── Degree Strip ─────────────────────────────────────────────────── */
.degree-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.degree-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
    text-align: center;
    border: 1px solid var(--color-border);
    text-decoration: none;
    color: var(--color-text);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.degree-card:hover {
    border-color: var(--color-navy);
    box-shadow: 0 4px 20px rgba(26, 31, 46, 0.1);
    transform: translateY(-2px);
}

.degree-strip a.degree-card:hover {
    text-decoration: none;
}

.degree-card:hover .degree-card__label a {
    text-decoration: none;
}

.degree-card__badge {
    display: inline-block;
    background: var(--color-navy);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.85rem;
}

.degree-card__label {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.degree-card__desc {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}

/* ── Policy Grid ──────────────────────────────────────────────────── */
.policy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.policy-card {
    background: var(--color-white);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-navy);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: box-shadow 0.15s, border-left-color 0.15s;
}

.policy-card:hover {
    box-shadow: 0 4px 18px rgba(26, 31, 46, 0.08);
    border-left-color: var(--color-charcoal);
}

a.policy-card__link {
    text-decoration: none;
}

.policy-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
}

.policy-card__subtitle {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 0.1rem;
}

.policy-card__body {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.policy-card ul,
.content-panel ul {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.policy-card ul li,
.content-panel ul li {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.policy-card ul li::before,
.content-panel ul li::before {
    content: '—';
    color: var(--color-navy);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

/* ── Fix: Multi-nested lists inside .prog-paragraph (ol > li > ul > li > ul > li) ── */

/* Level 1 ul li: block with absolute bullet */
.prog-paragraph ul > li {
    display: block;
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.35rem;
}

/* Level 1 ol li: list-item so native numbers appear */
.prog-paragraph ol > li {
    display: list-item;
    margin-bottom: 0.35rem;
    padding-left: 0.25rem;
}

/* Restore level-1 bullet using absolute position instead of flex */
.prog-paragraph ul > li::before {
    content: '—';
    color: var(--color-navy);
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
}

/* Reset nested ul/ol to block so they render below parent li text */
.prog-paragraph li > ul,
.prog-paragraph li > ol {
    display: block;
    list-style: none;
    padding-left: 1.25rem;
    margin-top: 0.35rem;
    margin-bottom: 0;
    max-width: none;
    gap: 0;
}

/* Level 2 li */
.prog-paragraph li > ul > li,
.prog-paragraph li > ol > li {
    display: block;
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.2rem;
}

.prog-paragraph li > ul > li::before,
.prog-paragraph li > ol > li::before {
    content: '—';
    color: var(--color-navy);
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
}

/* Level 3 li */
.prog-paragraph li > ul > li > ul > li,
.prog-paragraph li > ol > li > ul > li {
    display: block;
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.2rem;
}

.prog-paragraph li > ul > li > ul > li::before,
.prog-paragraph li > ol > li > ul > li::before {
    content: '–';
    color: var(--color-navy);
    position: absolute;
    left: 0;
    top: 0;
}

.policy-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-top: 0.25rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: gap 0.15s;
}

.policy-card__link:hover {
    gap: 0.55rem;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .schools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .degree-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .policy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .schools-grid {
        grid-template-columns: 1fr;
    }

    .degree-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero--apu {
        padding: 3rem 0 2.5rem;
    }
}


/* ==========================================================================
   HOME PANEL (SystemPolicies HomePanel template)
   ========================================================================== */

/* Overview / Home sidebar button */
.sidebar-home-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: none;
    border: none;
    border-bottom: 1px solid var(--color-border);
    border-left: 3px solid transparent;
    cursor: pointer;
    text-align: left;
    transition: color 0.15s, background 0.15s, border-left-color 0.15s;
}

.sidebar-home-btn:hover {
    color: var(--color-text);
    background: var(--color-off-white);
    border-left-color: var(--color-border);
}

.sidebar-home-btn.is-active {
    color: var(--color-navy);
    background: var(--color-off-white);
    border-left-color: var(--color-navy);
}

/* Home / overview panel — description text + shortcut cards */
.home-panel {
    padding: 0 0 2.5rem;
}

.home-panel__title {
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.home-panel__desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    max-width: 640px;
    margin-bottom: 2rem;
}

.home-panel__desc p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}

/* Shortcut cards grid — one card per sidebar section */
.home-panel__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
    max-width: 640px;
}

.home-panel__card {
    padding: 1rem 1.125rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-off-white);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, box-shadow 0.15s, color 0.15s, background 0.15s;
}

.home-panel__card:hover {
    border-color: var(--color-navy);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    background: var(--color-white);
    color: var(--color-navy);
}

.school-tile__arrow::after,
.policy-card__link::after,
.school-card__link a::after {
    content: '→';
}

.school-card__link a {
    text-decoration: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.program-detail-badges {
    flex-direction: row !important;
    gap: 1rem !important;
    margin-bottom: 0 !important;
}

.program-detail-badges li {
    font-size: 0.75rem !important;
    color: var(--color-text) !important;
    white-space: nowrap !important;
    gap: 0.2rem !important;
}

.program-detail-badges li::before {
    content: '✦' !important;
}
.prog-badges li::before {
    content: none !important;
}