/* =========================================================
   SHS CURRICULUM PAGE
   Visual reference: College curriculum page
========================================================= */

.shs-curriculum-page {
    background: var(--white);
}


/* =========================================================
   COURSE NAVIGATION
========================================================= */

.shs-course-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.shs-course-nav-inner {
    display: flex;
    align-items: center;
    gap: 42px;
    min-height: 52px;
}

.shs-course-nav-inner a {
    position: relative;
    display: flex;
    align-items: center;
    height: 52px;
    color: var(--black);
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    text-decoration: none;
    white-space: nowrap;
}

.shs-course-nav-inner a:hover,
.shs-course-nav-inner a.active {
    color: var(--navy);
}

.shs-course-nav-inner a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--gold);
}


/* =========================================================
   HERO
========================================================= */

.shs-curriculum-hero {
    height: 360px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--navy-dark) 0%,
            var(--navy) 65%,
            var(--navy-light) 100%
        );
}

.shs-curriculum-hero::before {
    content: "";
    position: absolute;
    width: 580px;
    height: 580px;
    right: -230px;
    top: -350px;
    border: 1px solid rgba(242,182,50,.18);
    border-radius: 50%;
}

.shs-curriculum-hero::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: 210px;
    bottom: -260px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 50%;
}

.shs-curriculum-hero .container {
    position: relative;
    z-index: 2;
}

.shs-curriculum-hero-content {
    max-width: 850px;
}

.shs-curriculum-hero-label {
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.shs-curriculum-hero h1 {
    max-width: 900px;
    margin: 16px 0 18px;
    color: var(--white);
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 500;
    line-height: 1.02;
}

.shs-curriculum-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,.76);
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.shs-breadcrumb {
    padding: 16px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.shs-breadcrumb-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: var(--gray-500);
    font-size: 11px;
}

.shs-breadcrumb-inner a {
    color: var(--gray-500);
    text-decoration: none;
}

.shs-breadcrumb-inner a:hover {
    color: var(--gold);
}

.shs-breadcrumb-inner strong {
    color: var(--navy);
}


/* =========================================================
   INTRO
========================================================= */

.shs-curriculum-intro {
    padding: 100px 0;
    background: var(--white);
}

.shs-curriculum-intro-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;
    align-items: start;
}

.shs-curriculum-intro-label {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.shs-curriculum-intro h2 {
    margin: 16px 0 0;
    color: var(--navy);
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 500;
    line-height: 1.08;
}

.shs-curriculum-intro-content {
    color: var(--gray-500);
    font-size: 16px;
    line-height: 1.9;
}

.shs-curriculum-intro-content p {
    margin: 0 0 22px;
}


/* =========================================================
   CURRICULUM SECTION
========================================================= */

.shs-curriculum-section {
    padding: 90px 0 110px;
    background: var(--light-blue);
}

.shs-curriculum-section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    margin-bottom: 55px;
}

.shs-curriculum-section-label {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.shs-curriculum-section-header h2 {
    margin: 14px 0 0;
    color: var(--navy);
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.05;
}

.shs-curriculum-note {
    max-width: 470px;
    margin: 0;
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   GRADE BLOCK
========================================================= */

.shs-grade {
    margin-bottom: 55px;
}

.shs-grade:last-child {
    margin-bottom: 0;
}

.shs-grade-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--navy);
}

.shs-grade-number {
    display: block;
    margin-bottom: 7px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.shs-grade-header h3 {
    margin: 0;
    color: var(--navy);
    font-family: "Playfair Display", serif;
    font-size: 34px;
    font-weight: 500;
}

.shs-grade-total {
    text-align: right;
}

.shs-grade-total span {
    display: block;
    margin-bottom: 5px;
    color: var(--gray-500);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.shs-grade-total strong {
    color: var(--navy);
    font-size: 22px;
    font-weight: 700;
}


/* =========================================================
   SUBJECT GROUP
========================================================= */

.shs-subject-group {
    margin-bottom: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.shs-subject-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 20px 25px;
    background: var(--navy);
}

.shs-subject-group-header h4 {
    margin: 0;
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
}

.shs-subject-group-total {
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.shs-subject-table {
    width: 100%;
    border-collapse: collapse;
}

.shs-subject-table th {
    padding: 13px 25px;
    background: #f7f8fa;
    color: var(--gray-500);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: left;
    text-transform: uppercase;
}

.shs-subject-table th:last-child,
.shs-subject-table td:last-child {
    width: 110px;
    text-align: center;
}

.shs-subject-table td {
    padding: 16px 25px;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-700);
    font-size: 13px;
    line-height: 1.5;
}

.shs-subject-table td:last-child {
    color: var(--navy);
    font-weight: 700;
}

.shs-subject-table tr:hover td {
    background: #fafbfc;
}


/* =========================================================
   TOTAL
========================================================= */

.shs-total-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 55px;
    padding: 32px 35px;
    background: var(--navy);
}

.shs-total-box span {
    color: rgba(255,255,255,.65);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.shs-total-box strong {
    color: var(--gold-light);
    font-family: "Playfair Display", serif;
    font-size: 32px;
    font-weight: 500;
}


/* =========================================================
   CTA
========================================================= */

.shs-curriculum-cta {
    padding: 105px 0;
    background: var(--navy);
    text-align: center;
}

.shs-curriculum-cta-label {
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.shs-curriculum-cta h2 {
    max-width: 800px;
    margin: 18px auto 20px;
    color: var(--white);
    font-family: "Playfair Display", serif;
    font-size: clamp(2.7rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.08;
}

.shs-curriculum-cta p {
    max-width: 620px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,.70);
    font-size: 15px;
    line-height: 1.8;
}

.shs-curriculum-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.shs-curriculum-cta-button:hover {
    background: var(--gold-light);
    color: var(--navy);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .shs-curriculum-intro-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .shs-curriculum-section-header {
        display: block;
    }

    .shs-curriculum-note {
        margin-top: 18px;
    }

}

@media (max-width: 700px) {

    .shs-curriculum-hero {
        min-height: 400px;
    }

    .shs-curriculum-hero h1 {
        font-size: 3.2rem;
    }

    .shs-curriculum-intro,
    .shs-curriculum-section,
    .shs-curriculum-cta {
        padding: 75px 0;
    }

    .shs-subject-table th,
    .shs-subject-table td {
        padding-left: 17px;
        padding-right: 17px;
    }

    .shs-pathway-list {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 500px) {

    .shs-course-nav-inner {
        gap: 28px;
        overflow-x: auto;
    }

    .shs-curriculum-hero h1 {
        font-size: 2.8rem;
    }

    .shs-curriculum-intro h2 {
        font-size: 2.6rem;
    }

    .shs-grade-header {
        display: block;
    }

    .shs-grade-total {
        margin-top: 12px;
        text-align: left;
    }

    .shs-subject-group-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .shs-subject-table {
        min-width: 480px;
    }

    .shs-subject-group {
        overflow-x: auto;
    }

}
