:root {
    --primary: #1a368c;
    --primary-hover: #132766;
    --secondary: #fac10e;
    --secondary-hover: #dca90c;
    --tertiary: #f4f6f9;
    --dark: #1e293b;
    --light: #ffffff;
}

@font-face {
    font-family: 'Copperplate CC';
    /* Adjust the path below to match where you placed the file in wwwroot */
    src: url('../vendor/fonts/copperplate-cc.bold-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap; 
}

html .bg-primary,
html .btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

html .btn-primary:hover,
html .btn-primary:focus {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

html .text-primary {
    color: var(--primary) !important;
}

html .bg-secondary,
html .btn-secondary {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

html .text-secondary {
    color: var(--secondary) !important;
}

body {
    font-size: 17px;
    line-height: 1.65;
    color: #2c3d50;
}


#header .header-nav-main nav > ul > li > a {
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-size: 0.86rem;
    padding: 0.45rem 0;
    margin-left: 2rem;
    border-radius: 0;
    background: transparent !important;
    color: #ffffff !important;
}

#header .header-nav-main nav > ul > li:first-child > a {
    margin-left: 0;
}

#header .header-nav-main nav > ul > li:hover > a,
#header .header-nav-main nav > ul > li.active > a,
#header .header-nav-main nav > ul > li > a.active,
#header .header-nav-main nav > ul > li > a:focus,
#header .header-nav-main nav > ul > li > a:hover {
    color: #ffffff !important;
    text-decoration: none;
}

#header .header-container.header-container-height-custom {
    height: 108px;
}

@media (max-width: 991px) {
    #header .header-nav-main nav > ul > li > a.dropdown-item:hover,
    #header .header-nav-main nav > ul > li.open > a.dropdown-item {
        color: #1e293b !important; /* Use your --dark variable color */
    }

    #header .header-nav-main nav > ul > li > a {
        color: #1e293b !important;
    }
}


.mt-subpage-header {
    margin-top: 5.5rem; /* ~88px, clearing the crest overhang */
}


.emergency-alert {
    font-weight: 600;
}


.emergency-alert.alert-danger {
    background-color: #b91c1c;
    border-color: #b91c1c;
    color: #ffffff;
}

.emergency-alert.alert-warning {
    background-color: #f59e0b;
    border-color: #f59e0b;
    color: #ffffff;
}

.emergency-alert.alert-info {
    background-color: #1a368c;
    border-color: #1a368c;
    color: #ffffff;
}

.emergency-alert p {
    color: inherit;
    margin-bottom: 0;
    line-height: inherit;
}

.emergency-alert i {
    font-size: 1.25rem;
    line-height: 1;
}

.emergency-alert a {
    color: inherit;
    text-decoration: underline;
    font-weight: 700;
}

.emergency-alert a:hover,
.emergency-alert a:focus {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 991px) {
    #header .header-nav-main nav > ul > li.dropdown.open > a,
    #header .header-nav-main nav > ul > li.dropdown.accessibility-open > a,
    #header .header-nav-main nav > ul > li.open > a,
    #header .header-nav-main nav > ul > li.active > a,
    #header .header-nav-main nav > ul > li > a.active {
        color: var(--dark) !important;
        background: #ffffff !important;
    }

    #header .header-nav-main nav > ul > li.dropdown .dropdown-menu li a,
    #header .header-nav-main nav > ul > li.dropdown .dropdown-menu li.dropdown-submenu > a {
        color: var(--dark) !important;
    }
}

.school-hero-section {
    background: #ffffff;
}

.school-aerial-image {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
}

.school-hero-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.school-tagline {
    max-width: 280px;
}

.school-feature-section h2 {
    letter-spacing: -0.01em;
}

.school-feature-image {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

.school-testimonial-image {
    width: 190px;
    height: 190px;
    object-fit: cover;
}

.school-event-date {
    min-width: 48px;
}

.school-news-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.school-visit-cta {
    background: linear-gradient(120deg, #1f4268 0%, #2d5d8e 100%);
}

.school-footer-soar {
    max-width: 180px;
}

#footer .list li {
    margin-bottom: 0.45rem;
}

#footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.carousel-hero-copy {
    position: relative;
    padding: 0 0 3.5rem;
}

.carousel-hero-copy .hero-copy-inner {
    position: relative;
    max-width: 700px;
    padding: 2.25rem 2.5rem 2.25rem 0;
}

.carousel-hero-copy .hero-copy-inner::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: -18rem;
    bottom: 0;
    left: -100vw;
    background: linear-gradient(90deg, rgba(16, 28, 43, 0.78) 0%, rgba(16, 28, 43, 0.5) 58%, rgba(16, 28, 43, 0) 100%);
}

.carousel-hero-copy h2 {
    max-width: 680px;
    margin: 0;
    font-size: clamp(2.75rem, 5vw, 5rem);
    line-height: 1.02;
    letter-spacing: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.school-about-spotlight {
    background: #f3f3f3;
    padding-top: 4.25rem;
    padding-bottom: 4.25rem;
}

.school-about-spotlight .school-spotlight-copy h2 {
    font-size: clamp(2.7rem, 4vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: #203d66;
    margin-bottom: 1.75rem;
}

.school-about-spotlight .school-spotlight-copy p {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #2d3a4d;
    margin-bottom: 1.5rem;
}

.school-photo-frame {
    position: relative;
    display: inline-block;
    width: min(100%, 560px);
    padding: 0.9rem 0.9rem 1.15rem;
    border-radius: 1.2rem;
    background: linear-gradient(135deg, #f2d59b 0%, #d09a32 100%);
    box-shadow: 0 18px 30px rgba(42, 59, 84, 0.12);
}

.school-photo-frame img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 480px;
    border-radius: 0.8rem;
    object-fit: cover;
    object-position: center;
}

.school-photo-badge {
    position: absolute;
    right: 1.25rem;
    bottom: -0.75rem;
    background: var(--primary);
    color: #ffffff;
    border-radius: 0.45rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 14px 25px rgba(29, 75, 143, 0.22);
}

.school-about-spotlight .btn {
    min-width: 100%;
    max-width: 390px;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    font-weight: 800;
    text-transform: uppercase;
}

.school-about-spotlight {
    background: #fff;
}

#footer {
    margin-top: 0;
    background-color: var(--primary);
}




/* Shared gold wave section shell */
.section-gold-wave {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #d7b56a 0%, #d7b56a 100%);
    padding-bottom: 1em;
}

.section-gold-wave .shape-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 298px;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.section-gold-wave .shape-divider svg {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate3d(-50%, 0, 0);
}

.section-gold-wave .container {
    position: relative;
    z-index: 2;
}

.news-events-section {
    /* Page-specific news/events child styles only. */
}

.news-events-header-wrap {
    margin-top: 5rem;
    margin-bottom: 2rem;
}

.careers-cta-section {
    padding-top: 170px;
    padding-bottom: 2rem;
}

.careers-swoosh-section {
    position: relative;
    height: 140px;
    padding: 0;
    margin: 0;
    background: #ffffff;
    overflow: hidden;
}

@media (max-width: 991px) {
    .careers-cta-section {
        padding-top: 160px;
        padding-bottom: 5rem;
    }
}

.teacher-quote-card {
    background: #ffffff;
    border: 2px solid #d1b267;
    border-radius: .45rem;
    padding: 1.5rem;
    box-shadow: 0 12px 20px rgba(32, 55, 88, 0.04);
    color: #2c3d50;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.teacher-quote-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.5rem;
}

.teacher-quote-divider::before,
.teacher-quote-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(209, 178, 103, 0.6);
    max-width: 240px;
}

.teacher-quote-text {
    font-style: italic;
    color: #2c3d50;
}

.teacher-quote-attribution strong {
    color: var(--primary);
}

.teacher-quote-photo {
    overflow: hidden;
    border-radius: 1rem;
}

.teacher-quote-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

@media (max-width: 991px) {
    .teacher-quote-photo img {
        max-width: 420px;
        margin: 0 auto;
        display: block;
    }
}

.news-events-header {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--primary);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 1.05rem;
    padding: 0.8rem 1.5rem 0.85rem 1rem;
    box-shadow: 0 12px 26px rgba(18, 41, 69, 0.12);
}

.news-events-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: #d8e6ff;
    font-size: 1rem;
}

.news-events-header h3 {
    margin: 0;
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: #fff;
    font-weight: 800;
}

.news-event-card {
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid #d1b267;
    border-radius: 1rem;
    min-height: 100%;
    padding: 1.45rem 1.3rem 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 12px 20px rgba(32, 55, 88, 0.04);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 120px;
    min-height: 120px;
    margin: 0 auto 1.2rem;
    background: linear-gradient(180deg, #1a6a4d 0%, #0f5d42 100%);
    border-radius: 1rem;
    color: #fff;
    padding: 0.7rem 0.5rem;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1;
}

.event-date.green {
    background: linear-gradient(180deg, #1d7d59 0%, #0f5c42 100%);
}

.event-date .month {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
}

.event-date .day {
    font-size: 2.25rem;
    letter-spacing: -0.08em;
    margin-top: 0.25rem;
    font-weight: 900;
}

.news-event-card h4 {
    margin: 0 0 1rem;
    color: #163a68;
    font-size: clamp(1.2rem, 1.7vw, 1.7rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
    font-weight: 800;
    min-height: 3.6em;
}

.event-meta {
    color: #264461;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
}

.event-meta i {
    font-size: 0.8rem;
    color: #1d4e86;
}

.read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    border: 1px solid #c49945;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    color: #163a68;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.read-more:hover {
    background: #163a68;
    border-color: #163a68;
    color: #fff;
    text-decoration: none;
}

.news-event-controls {
    margin-top: 1.35rem;
    padding-left: 0.4rem;
}

.event-arrow {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 50%;
    border: 1px solid #c6963f;
    background: rgba(255, 255, 255, 0.2);
    color: #163a68;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.event-arrow:hover {
    background: #163a68;
    color: #fff;
    border-color: #163a68;
}

.news-calendar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    border-radius: 0.9rem;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0.02em;
    margin-left: 0.6rem;
}

.news-feature-card {
    position: relative;
    border: 2px solid #d1b267;
    border-radius: 1.5rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 18px 26px rgba(35, 52, 72, 0.08);
}

.feature-image-wrap {
    width: 100%;
    border-radius: 1.2rem 1.2rem 0 0;
    overflow: hidden;
    background: #d7dfe8;
}

.feature-image-wrap img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.feature-copy {
    padding: 1.25rem 1.1rem 1.3rem;
    background: rgba(255, 255, 255, 0.14);
}

.feature-copy h4 {
    margin: 0;
    color: #152d4d;
    font-size: clamp(1.7rem, 2vw, 2.4rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
    font-weight: 800;
}

@media (max-width: 991px) {
    body {
        font-size: 15px;

    }

    #header .header-nav-main nav > ul > li > a {
        margin-left: 0;
    }

    .school-aerial-image {
        max-height: 250px;
    }

    .school-hero-image,
    .school-feature-image {
        aspect-ratio: 4 / 3;
    }

    .school-tagline {
        max-width: 250px;
    }

    .carousel-hero-copy {
        padding-bottom: 2rem;
    }

    .carousel-hero-copy .hero-copy-inner {
        padding: 1.5rem 1.5rem 1.5rem 0;
    }

    .school-about-spotlight {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .school-about-spotlight .school-spotlight-copy h2 {
        font-size: clamp(2.25rem, 7vw, 4rem);
    }
}

@media (max-width: 575px) {
    .school-hero-section h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .school-feature-section h2,
    .school-visit-cta h2 {
        font-size: 1.8rem !important;
        line-height: 1.25;
    }

    .carousel-hero-copy {
        padding-bottom: 1rem;
    }

    .carousel-hero-copy .hero-copy-inner {
        padding: 1.25rem 1rem 1.25rem 1rem;
    }

    .carousel-hero-copy h2 {
        font-size: clamp(2.25rem, 11vw, 3.5rem);
    }
}


.say-something-logo-link {
    display: inline-block;
    line-height: 0;
}

.say-something-logo {
    display: block;
    width: 140px;
    height: auto;
    max-width: 100%;
    padding: 0;
    margin: 0;
    background: none;
    object-fit: fill;
    object-position: left center;
}

.say-something-logo-link:hover .say-something-logo,
.say-something-logo-link:focus-visible .say-something-logo {
    opacity: 0.9;
}

@media (max-width: 767.98px) {
    #footer {
        padding-top: 2rem;
        padding-bottom: 0.5rem;
    }

    #footer h4 {
        margin-bottom: 0.2rem;
    }

    #footer .col-md-6 {
        margin-bottom: 1.25rem;
    }

    #footer .say-something-logo {
        width: 140px;
    }

    #footer .say-something-logo-link {
        margin-bottom: 0.5rem;
    }
}
