/* ============================================================
   BRAC James P. Grant School of Public Health - Main Stylesheet
   ============================================================ */

/* ============================================================
   Global / Reset
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "DM Sans", sans-serif;
    color: #231f20;
    background-color: #fff;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1 0 auto;
    width: 100%;
    min-height: 50vh;
    position: relative;
}

.site-page-loader {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 20;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    min-height: 50vh;
}

body.is-page-loading .site-page-loader {
    display: flex;
}

body.is-page-loading .site-content> :not(.site-page-loader) {
    visibility: hidden;
}

.site-page-loader-spinner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #e5e7eb;
    border-top-color: #f47920;
    animation: sitePageSpin 0.7s linear infinite;
}

@keyframes sitePageSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-page-loader-spinner {
        animation: none;
        border-top-color: #e5e7eb;
        border-color: #f47920;
    }
}

:root {
    --site-gutter: clamp(24px, 4vw, 48px);
    --radius-card: 15px;
    --radius-btn: 10px;
}

/* ============================================================
   SEARCH PANEL
   Sits inside <header> directly below the sticky navbar.
   Hidden by default; .is-visible shows it with a slide-in.
   ============================================================ */

/* Hidden state ? completely removed from layout */
.search-overlay {
    display: none;
    background-color: #ffffff;
    border-top: 2px solid #3a998a;
    width: 100%;
}

/* Visible state ? slides in below the navbar */
.search-overlay.is-visible {
    display: block;
    animation: searchSlideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes searchSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Inner wrapper ? Figma: padding 20px 140px 40px, gap 40px */
.search-overlay-inner {
    max-width: 1640px;
    margin: 0 auto;
    padding: 0 var(--site-gutter) 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ---- Header row: "Search" label  |  Close button ---- */
/* Figma: row, space-between, align flex-end, padding 20px 0 */
.search-overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 0;
}

/* "Search" ? DM Sans SemiBold 600, 28px, 150% lh, Capitalize */
.search-overlay-title {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 150%;
    color: #231f20;
    text-transform: capitalize;
    letter-spacing: 0;
}

/* Close button wrapper */
.search-overlay-close {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s;
}

.search-overlay-close:hover {
    opacity: 0.65;
}

/* X icon — SVG is already 40×40 with built-in padding */
.search-close-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.search-close-icon img {
    display: block;
    width: 40px;
    height: 40px;
}

/* "Close" text ? same type as title: DM Sans 600, 28px */
.search-close-label {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 150%;
    color: #231f20;
    text-transform: capitalize;
}

/* ---- Input row ? Figma: border 1px rgba(35,31,32,0.2), padding 20px ---- */
.search-overlay-input-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(35, 31, 32, 0.35);
    padding: 20px;
    gap: 12px;
}

.search-overlay-input-row:focus-within {
    border-color: #3a998a;
}

/* Text field ? DM Sans Medium 500, 24px, 150% lh, Capitalize */
.search-overlay-input {
    flex: 1;
    min-width: 0;
    background: none;
    border: none;
    outline: none;
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 150%;
    color: #231f20;
    text-transform: capitalize;
    padding: 0;
}

.search-overlay-input::placeholder {
    color: rgba(35, 31, 32, 0.6);
    text-transform: none;
}

/* Search submit icon ? Figma: 40?40 container, 28?28 icon */
.search-overlay-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.search-overlay-submit:hover {
    opacity: 1;
}

.search-overlay-submit img {
    display: block;
    width: 28px;
    height: 28px;
}

/* ============================================================
   SEARCH PANEL ? RESPONSIVE
   ============================================================ */

/* Laptop (?1279px) */
@media (max-width: 1279px) {
    .search-overlay-inner {
        max-width: 100%;
        padding-bottom: 36px;
        gap: 32px;
    }
}

/* Tablet (?991px) */
@media (max-width: 991px) {
    .search-overlay-inner {
        padding-bottom: 28px;
        gap: 24px;
    }

    .search-overlay-title,
    .search-close-label {
        font-size: 22px;
    }

    .search-overlay-input {
        font-size: 18px;
    }

    .search-overlay-input-row {
        padding: 16px;
    }
}

/* Mobile (?767px) */
@media (max-width: 767px) {
    .search-overlay-inner {
        padding-bottom: 24px;
        gap: 20px;
    }

    .search-overlay-header {
        padding-top: 14px;
    }

    .search-overlay-title,
    .search-close-label {
        font-size: 18px;
    }

    .search-close-icon {
        width: 32px;
        height: 32px;
    }

    .search-close-icon img {
        width: 32px;
        height: 32px;
    }

    .search-overlay-input {
        font-size: 15px;
    }

    .search-overlay-input-row {
        padding: 14px 12px;
    }
}

/* Small mobile (?479px) */
@media (max-width: 479px) {
    .search-overlay-inner {
        padding-bottom: 20px;
        gap: 16px;
    }

    .search-close-label {
        display: none;
    }

    .search-overlay-title,
    .search-close-label {
        font-size: 16px;
    }
}

/* ============================================================
   NAVBAR - TOP BAR
   ============================================================ */

.top-bar {
    background-color: #0d1b2a;
    width: 100%;
}

.top-bar-inner {
    max-width: 1640px;
    height: 53px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--site-gutter);
}

/* Social Icons */
.social-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 3.75px;
    text-decoration: none;
    background: transparent;
    flex-shrink: 0;
}

.social-link img {
    display: block;
}

.social-divider {
    display: block;
    width: 1.5px;
    height: 23px;
    background-color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

/* Top Right: Career / Internship */
.top-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-link {
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.top-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.top-link-divider {
    display: block;
    width: 1px;
    height: 15px;
    background-color: rgba(158, 164, 170, 0.5);
    flex-shrink: 0;
}

/* ============================================================
   NAVBAR - MAIN NAVIGATION
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1500;
}

.site-header--home {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1500;
    transition: background-color 0.4s ease;
    will-change: transform;
}

.site-header--home.is-scrolled {
    transform: translateY(0);
    animation: navbarSlideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes navbarSlideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Default Navbar: Solid White on all standard pages */
.main-navbar {
    background-color: #ffffff;
    box-shadow: 0px 4px 20px 0px rgba(35, 31, 32, 0.14);
    border-bottom: 1.5px solid rgba(35, 31, 32, 0.12);
    padding: 16px var(--site-gutter) 20px;
    width: 100%;
    position: relative;
    z-index: 1500;
    transition:
        background-color 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.main-navbar-inner {
    max-width: 1640px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Default Logo on all standard pages */
.navbar-logo {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 300px;
    height: 55px;
    text-decoration: none;
}

.navbar-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.navbar-logo-white {
    display: none;
}

.navbar-logo-default {
    display: block;
}

/* Default Nav Links on all standard pages */
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    color: #231f20;
    text-decoration: none;
    text-transform: capitalize;
    padding: 0;
    white-space: nowrap;
    transition: color 0.2s;
}

.nav-menu li a.active {
    font-weight: 700;
    color: #e25a1e;
}

.nav-menu li a:hover {
    color: #e25a1e;
}

/* ============================================================
   HOMEPAGE ONLY: Transparent navbar that turns white on hover/scroll
   ============================================================ */

.navbar-home {
    background-color: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.navbar-home .navbar-logo {
    position: relative;
    z-index: 1;
}

.navbar-home .navbar-logo-default {
    opacity: 0;
    transition: opacity 0.35s ease;
}

.navbar-home .navbar-logo-white {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.35s ease;
}

.navbar-home .nav-menu li a {
    color: #ffffff;
    transition: color 0.35s ease;
}

.navbar-home .search-btn img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition:
        filter 0.35s ease,
        opacity 0.3s;
}

.navbar-home .btn-login {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
    background-color: transparent;
    transition:
        color 0.35s ease,
        border-color 0.35s ease,
        background 0.3s ease;
}

.navbar-home .btn-login:hover {
    background-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-color: #ffffff;
}

.navbar-home .toggler-line {
    background-color: #ffffff;
    transition:
        background-color 0.35s ease,
        transform 0.3s ease,
        opacity 0.2s ease;
}

.navbar-home .search-btn-mobile img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition:
        filter 0.25s ease,
        opacity 0.2s;
}

/* HOMEPAGE NAVBAR: Hover, Scrolled, or Mobile Menu Open -> Smooth Solid White */
.navbar-home:hover,
.navbar-home.is-hovered,
.navbar-home.is-scrolled,
.navbar-home.nav-is-open {
    background-color: #ffffff;
    box-shadow: 0px 4px 20px 0px rgba(35, 31, 32, 0.14);
    border-bottom: 1.5px solid rgba(35, 31, 32, 0.12);
}

.navbar-home:hover .navbar-logo-default,
.navbar-home.is-hovered .navbar-logo-default,
.navbar-home.is-scrolled .navbar-logo-default,
.navbar-home.nav-is-open .navbar-logo-default {
    opacity: 1;
}

.navbar-home:hover .navbar-logo-white,
.navbar-home.is-hovered .navbar-logo-white,
.navbar-home.is-scrolled .navbar-logo-white,
.navbar-home.nav-is-open .navbar-logo-white {
    opacity: 0;
    pointer-events: none;
}

.navbar-home:hover .nav-menu li a,
.navbar-home.is-hovered .nav-menu li a,
.navbar-home.is-scrolled .nav-menu li a,
.navbar-home.nav-is-open .nav-menu li a {
    color: #231f20;
}

.navbar-home:hover .nav-menu li a.active,
.navbar-home.is-hovered .nav-menu li a.active,
.navbar-home.is-scrolled .nav-menu li a.active,
.navbar-home.nav-is-open .nav-menu li a.active {
    color: #f16522 !important;
}

.navbar-home:hover .nav-menu li a:hover,
.navbar-home.is-hovered .nav-menu li a:hover,
.navbar-home.is-scrolled .nav-menu li a:hover,
.navbar-home.nav-is-open .nav-menu li a:hover {
    color: #f16522 !important;
}

.navbar-home:hover .search-btn img,
.navbar-home.is-hovered .search-btn img,
.navbar-home.is-scrolled .search-btn img,
.navbar-home.nav-is-open .search-btn img {
    filter: none;
    opacity: 0.6;
}

.navbar-home:hover .btn-login,
.navbar-home.is-hovered .btn-login,
.navbar-home.is-scrolled .btn-login,
.navbar-home.nav-is-open .btn-login {
    color: #231f20;
    border-color: rgba(35, 31, 32, 0.4);
}

.navbar-home:hover .btn-login:hover,
.navbar-home.is-hovered .btn-login:hover,
.navbar-home.is-scrolled .btn-login:hover,
.navbar-home.nav-is-open .btn-login:hover {
    background-color: rgba(35, 31, 32, 0.06);
    color: #231f20;
    border-color: #231f20;
}

.navbar-home:hover .toggler-line,
.navbar-home.is-hovered .toggler-line,
.navbar-home.is-scrolled .toggler-line,
.navbar-home.nav-is-open .toggler-line {
    background-color: #231f20;
}

.navbar-home:hover .search-btn-mobile img,
.navbar-home.is-hovered .search-btn-mobile img,
.navbar-home.is-scrolled .search-btn-mobile img,
.navbar-home.nav-is-open .search-btn-mobile img {
    filter: none;
    opacity: 0.6;
}

/* ============================================================
   DROPDOWN MENUS
   Desktop: CSS hover reveal with fade+slide animation.
   Mobile: toggled by JS via .is-open on the parent <li>.
   ============================================================ */

/* Parent <li> ? needs position:relative to anchor the dropdown */
.nav-menu li.has-dropdown {
    position: relative;
}

/* Chevron arrow ? CSS-only (no SVG to avoid Live Server injection issues) */
.nav-chevron {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: middle;
    margin-left: 4px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    position: relative;
    top: -1px;
}

/* Parent link: keep text + chevron inline */
a.nav-link-parent {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
}

/* Rotate chevron when dropdown is open (mobile) */
.has-dropdown.is-open>a .nav-chevron {
    transform: rotate(180deg);
}

/* Desktop: rotate chevron on hover */
.has-dropdown:hover>a .nav-chevron {
    transform: rotate(180deg);
}

/* ---- Dropdown panel ---- */
.nav-dropdown {
    list-style: none;
    margin: 0;
    padding: 0;
    /* Position flush to bottom of parent li ? gap created by padding-top below */
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 240px;
    background-color: transparent;
    /* outer wrapper is transparent */
    z-index: 1200;
    /* Invisible + pointer-events off by default */
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
}

/* Inner panel ? has the white bg, border and shadow.
   padding-top creates the visual gap between navbar and panel
   while the transparent outer wrapper bridges the mouse-gap. */
.nav-dropdown::after {
    display: none;
    /* not used */
}

.nav-dropdown-inner {
    background-color: #ffffff;
    box-shadow: 0 8px 32px rgba(13, 27, 42, 0.13);
    border-top: 2px solid #f16522;
    padding: 8px 0;
    margin-top: 14px;
    /* visual gap ? still inside hover zone */
    position: relative;
}

/* Small arrow/notch pointing up */
.nav-dropdown-inner::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #f16522;
    pointer-events: none;
}

/* Desktop: show on hover */
.has-dropdown:hover>.nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown links */
.nav-dropdown li a {
    display: block;
    padding: 10px 22px;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    color: #231f20 !important;
    white-space: nowrap;
    transition:
        background 0.15s,
        color 0.15s;
    border-bottom: none !important;
    text-decoration: none;
}

.nav-dropdown li a:hover {
    background-color: #fff4ee;
    color: #e25a1e !important;
    padding-left: 28px;
    padding-right: 16px;
}

/* Coming-soon badge inside dropdown items */
.nav-badge-soon {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 7px;
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    background: #f16522;
    border-radius: 4px;
    vertical-align: middle;
    pointer-events: none;
}

/* ---- Tablet / Mobile overrides (hamburger nav from 1399px down) ---- */
@media (max-width: 1399px) {

    /* Dropdown ul becomes in-flow (no absolute), fully transparent wrapper */
    .nav-dropdown {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        box-shadow: none;
        border-top: none;
        background-color: transparent;
        margin: 0;
        padding: 0;
        min-width: 0;
        width: 100%;
        /* Hidden by default, shown when .is-open */
        display: none;
        opacity: 1;
        pointer-events: auto;
        transition: none;
    }

    /* Inner panel on mobile ? clean stacked list, no left accent line */
    .nav-dropdown-inner {
        margin: 0;
        padding: 0 0 8px;
        border: none;
        border-top: none;
        border-left: none;
        box-shadow: none;
        background-color: #f8f9fa;
    }

    /* Remove the notch on mobile */
    .nav-dropdown-inner::before {
        display: none;
    }

    /* Show when parent <li> has .is-open */
    .has-dropdown.is-open>.nav-dropdown {
        display: block;
    }

    /* On mobile hover should not trigger */
    .has-dropdown:hover>.nav-dropdown {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .nav-dropdown li a {
        font-size: 14px;
        padding: 11px 20px;
        white-space: normal;
        color: #4b5563 !important;
        border-bottom: 1px solid rgba(35, 31, 32, 0.06);
    }

    .nav-dropdown li:last-child a {
        border-bottom: none;
    }

    .nav-dropdown li a:hover,
    .nav-dropdown li a:focus-visible {
        background-color: #fff4ee;
        color: #e25a1e !important;
        padding-left: 20px;
    }

    .has-dropdown.is-open>a {
        color: #e25a1e;
        border-bottom-color: transparent;
    }

    /* Chevron: do not rotate on hover on touch devices */
    .has-dropdown:hover>a .nav-chevron {
        transform: none;
    }

    /* Only rotate when .is-open */
    .has-dropdown.is-open>a .nav-chevron {
        transform: rotate(180deg);
    }
}

/* Action Buttons Container */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 300px;
    height: 40px;
    justify-content: flex-end;
}

/* Search Button */
.search-btn {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 12px;
    border-radius: 10px;
}

.search-btn img {
    display: block;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.search-btn:hover img {
    opacity: 1 !important;
}

/* Login Button */
.btn-login {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    color: #231f20;
    padding: 9px 20px;
    border: 1px solid rgba(35, 31, 32, 0.4);
    border-radius: var(--radius-btn);
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-login:hover {
    background-color: rgba(35, 31, 32, 0.06);
    color: #231f20;
    border-color: #231f20;
}

/* Apply Now Button */
.btn-apply {
    display: none !important;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    color: #ffffff;
    padding: 9px 12px;
    background-color: #f16522;
    border-radius: var(--radius-btn);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    border: none;
    transition: background 0.2s;
}

.btn-apply:hover {
    background-color: #d4571c;
    color: #ffffff;
}

.btn-apply img {
    display: block;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

/* Mobile Actions Row (search icon + hamburger together, right side) */
.mobile-nav-actions {
    display: none;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

.search-btn-mobile img {
    display: block;
    opacity: 0.6;
    transition: opacity 0.2s;
}

/* Hide search-btn inside nav-collapse on mobile/tablet */
@media (max-width: 1399px) {
    .mobile-nav-actions {
        display: flex;
    }

    /* The search button inside nav-actions drawer is redundant on mobile */
    .nav-actions .search-btn {
        display: none;
    }

    /* Login + Apply Now are shown left-aligned inside the opened drawer */
}

/* ============================================================
   HAMBURGER TOGGLE BUTTON
   (hidden on desktop, shown on tablet & mobile)
   ============================================================ */

.navbar-toggler-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: background 0.2s;
}

.navbar-toggler-btn:hover {
    background-color: rgba(35, 31, 32, 0.06);
}

.toggler-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #231f20;
    border-radius: 2px;
    transition:
        transform 0.3s ease,
        opacity 0.2s ease;
    transform-origin: center;
}

/* Animate hamburger ? X when active */
.navbar-toggler-btn.is-active .toggler-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggler-btn.is-active .toggler-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggler-btn.is-active .toggler-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   NAV COLLAPSE WRAPPER
   (flex row on desktop; hidden / full-width on tablet & mobile)
   ============================================================ */

.nav-collapse {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    justify-content: space-between;
    padding-left: 40px;
}

/* ============================================================
   RESPONSIVE ? LAPTOP  (?1279px)
   Slightly condensed outer spacing; desktop nav still visible here
   (hamburger kicks in at 1399px via the block below)
   ============================================================ */
@media (max-width: 1279px) {
    .main-navbar {
        padding-top: 14px;
        padding-bottom: 18px;
    }

    .main-navbar-inner {
        max-width: 100%;
    }
}

/* ============================================================
   TOP BAR + HAMBURGER NAV  (?1399px)
   Top bar:  hide social icons, show links-only bar (44px)
   Navbar:   hamburger replaces full desktop nav
   ============================================================ */
@media (max-width: 1399px) {

    /* --- Top Bar: compact, links only --- */
    .top-bar {
        display: none;
    }

    .top-bar-inner {
        height: 44px;
        justify-content: center;
    }

    .social-links {
        display: none;
    }

    .top-links {
        margin: 0 auto;
        gap: 16px;
    }

    .top-link {
        font-size: 13px;
    }

    /* --- Main Navbar: logo + toggler row only --- */
    .main-navbar {
        /* position:sticky already set; acts as containing block
           for the absolute nav-collapse below */
        overflow: visible;
    }

    /* Keep inner row as single, non-wrapping flex line */
    .main-navbar-inner {
        flex-wrap: nowrap;
        align-items: center;
        width: 100%;
    }

    .navbar-logo {
        width: 200px;
        height: 37px;
        flex-shrink: 0;
    }

    /* Hamburger: inside .mobile-nav-actions wrapper which handles alignment */
    .navbar-toggler-btn {
        display: flex;
        flex-shrink: 0;
    }

    /* -------------------------------------------------------
       nav-collapse: fully hidden when closed (display:none
       removes it from all layout flow). Becomes an absolute
       dropdown when .is-open is applied by JS.
       ------------------------------------------------------- */
    .nav-collapse {
        display: none;
        flex: none;
    }

    /* Open state: drop down below the sticky navbar */
    .nav-collapse.is-open {
        display: block;
        position: absolute;
        top: 100%;
        left: calc(-1 * var(--site-gutter));
        right: calc(-1 * var(--site-gutter));
        width: auto;
        z-index: 1600;
        background-color: #ffffff;
        border-top: 2px solid rgba(35, 31, 32, 0.08);
        box-shadow: 0px 10px 28px rgba(35, 31, 32, 0.13);
        /* Slide-down + fade entrance animation */
        animation: navSlideDown 0.32s cubic-bezier(0.4, 0, 0.2, 1) both;
    }

    @keyframes navSlideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* --- Stacked Nav Links inside drawer --- */
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        padding: 8px 0 0;
        min-width: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-collapse .nav-menu li a {
        display: block;
        width: 100%;
        padding: 13px 20px;
        font-size: 16px;
        font-weight: 500;
        white-space: normal;
        border-bottom: 1px solid rgba(35, 31, 32, 0.07);
        box-sizing: border-box;
        color: #231f20 !important;
    }

    .nav-menu li:last-child>a.nav-link-parent {
        border-bottom: 1px solid rgba(35, 31, 32, 0.07);
    }

    /* --- Action buttons row inside drawer --- */
    .nav-actions {
        width: 100%;
        height: auto;
        justify-content: flex-start;
        padding: 16px 20px 20px;
        margin-top: 0;
        border-top: 1px solid rgba(35, 31, 32, 0.08);
        gap: 12px;
    }

    .nav-collapse .btn-login {
        color: #231f20 !important;
        border-color: rgba(35, 31, 32, 0.3) !important;
    }

    .search-btn {
        margin-right: 0;
    }
}

/* ============================================================
   RESPONSIVE ? MOBILE  (?767px)
   Top bar hidden, tighter padding, compact logo & buttons
   ============================================================ */
@media (max-width: 767px) {
    :root {
        --site-gutter: 16px;
    }

    /* Hide top bar entirely */
    .top-bar {
        display: none;
    }

    /* --- Main Navbar --- */
    .main-navbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-logo {
        width: 160px;
        height: 30px;
    }

    .nav-menu {
        padding: 6px 0 0;
    }

    .nav-collapse.is-open {
        left: calc(-1 * var(--site-gutter));
        right: calc(-1 * var(--site-gutter));
    }

    .nav-menu li a {
        font-size: 15px;
        padding: 12px 16px;
    }

    .nav-dropdown li a {
        padding: 11px 16px;
    }

    .nav-actions {
        padding: 14px 16px 18px;
    }

    .btn-login {
        padding: 8px 14px;
        font-size: 13px;
    }

    .btn-apply {
        padding: 8px 10px;
        font-size: 13px;
    }

    .search-btn img {
        width: 22px;
        height: 22px;
    }
}

/* ============================================================
   RESPONSIVE ? SMALL MOBILE  (?479px)
   Very compact; login hidden to preserve space
   ============================================================ */
@media (max-width: 479px) {
    :root {
        --site-gutter: 12px;
    }

    .main-navbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-logo {
        width: 140px;
        height: 26px;
    }

    .nav-menu {
        padding: 4px 12px 0;
    }

    .nav-actions {
        padding: 12px 12px 16px;
        gap: 10px;
    }
}

.about-section {
    background-color: #ffffff;
    width: 100%;
    overflow: hidden;
}

/* ---- Inner layout: two-column grid ---- */
.about-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 40px 140px;
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 0 50px;
    align-items: center;
}

/* ============================================================
   ABOUT ? LEFT: MEDIA COLUMN
   ============================================================ */

.about-media {
    position: relative;
    padding-right: 30px;
}

/* ---- About photo ---- */
.about-photo {
    display: block;
    /* width: 100%; */
    height: 500px;
    object-fit: cover;
    object-position: center top;
    border-radius: 15px;
}

/* ---- Floating stat card ---- */
.about-stat-card {
    position: absolute;
    top: 97px;
    right: -97px;
    z-index: 2;
    background: #ffffff;
    box-shadow: 0 8px 32px rgba(13, 27, 42, 0.12);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 210px;
}

.about-stat-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.about-stat-icon svg {
    display: block;
}

.about-stat-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* "20+" number */
.about-stat-number {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1;
    color: #f16522;
    display: block;
}

/* Stat label */
.about-stat-label {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.4;
    color: #5a6a7a;
    margin: 0;
}

/* ============================================================
   ABOUT ? RIGHT: CONTENT COLUMN
   ============================================================ */

.about-content {
    display: flex;
    flex-direction: column;
    margin-left: 85px;
}

/* ---- Label: ? ABOUT BRAC JPGSPH ---- */
.about-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.about-label-line {
    display: block;
    width: 32px;
    height: 2px;
    background-color: #f16522;
    flex-shrink: 0;
}

.about-label-text {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.18em;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
}

em.about-heading-italic {
    color: #f16522;
}

.about-stat-icon svg {
    display: block;
}

.about-stat-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* "20+" number */
.about-stat-number {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1;
    color: #f16522;
    display: block;
}

/* Stat label */
.about-stat-label {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.4;
    color: #5a6a7a;
    margin: 0;
}

/* ============================================================
   ABOUT ? RIGHT: CONTENT COLUMN
   ============================================================ */

.about-content {
    display: flex;
    flex-direction: column;
    margin-left: 85px;
}

/* ---- Label: ? ABOUT BRAC JPGSPH ---- */
.about-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.about-label-line {
    display: block;
    width: 32px;
    height: 2px;
    background-color: #f16522;
    flex-shrink: 0;
}

.about-label-text {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #f16522;
}

/* ---- Heading ---- */
/* "BRAC James P Grant School of Public Health, BRAC University"
   Normal words = DM Sans 700, italic words = Playfair Display Italic */
.about-heading {
    font-family: "Playfair Display", "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 120%;
    color: #0d1b2a;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.about-heading-italic {
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-weight: 700;
    color: #0d1b2a;
}

/* ---- Body paragraphs ---- */
.about-body {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 162%;
    color: #3a4a5a;
    margin: 0 0 24px;
}

.about-body--muted {
    color: #5a6a7a;
    margin-bottom: 40px;
}

/* ---- CTA buttons ---- */
.about-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.2s,
        border-color 0.2s,
        color 0.2s;
    white-space: nowrap;
    border-radius: 10px;
}

/* Orange filled */
.about-btn--primary {
    background-color: #f16522;
    border: 1.5px solid #f16522;
    color: #ffffff;
}

.about-btn--primary:hover {
    text-transform: uppercase;
    color: #f16522;
}

/* ---- Heading ---- */
/* "BRAC James P Grant School of Public Health, BRAC University"
   Normal words = DM Sans 700, italic words = Playfair Display Italic */
.about-heading {
    font-family: "Playfair Display", "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 120%;
    color: #0d1b2a;
    margin: 0 0 15px;
    letter-spacing: -0.01em;
}

.about-heading-italic {
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-weight: 700;
    color: #0d1b2a;
}

/* ---- Body paragraphs ---- */
.about-body {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 162%;
    color: #3a4a5a;
    margin: 0 0 24px;
}

.about-body--muted {
    color: #5a6a7a;
    margin-bottom: 40px;
}

/* ---- CTA buttons ---- */
.about-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.2s,
        border-color 0.2s,
        color 0.2s;
    white-space: nowrap;
}

/* Orange filled */
.about-btn--primary {
    background-color: #f16522;
    border: 1.5px solid #f16522;
    color: #ffffff;
}

.about-btn--primary:hover {
    background-color: #d4571c;
    border-color: #d4571c;
    color: #ffffff;
}

/* Outline ? dark border, dark text */
.about-btn--outline {
    background-color: #ffffff;
    border: 1.5px solid #0d1b2a;
    color: #0d1b2a;
}

.about-btn--outline:hover {
    background-color: #0d1b2a;
    color: #ffffff;
}

/* ============================================================
   ABOUT ? RESPONSIVE
   ============================================================ */

/* Laptop (?1279px) */
@media (max-width: 1279px) {
    .about-inner {
        padding: 80px 80px;
        grid-template-columns: 420px 1fr;
        gap: 0 72px;
    }

    .about-heading {
        font-size: 36px;
    }

    .about-photo {
        height: 440px;
    }
}

/* Tablet landscape (?992?1199px) ? stack columns */
@media (max-width: 1279px) {
    .about-inner {
        padding: 72px 48px;
        grid-template-columns: 1fr;
        gap: 48px 0;
    }

    .about-content {
        margin-left: 0;
    }

    .about-media {
        padding-right: 20px;
        max-width: 560px;
        margin: 0 auto;
    }

    .about-stat-card {
        top: 138px;
        right: 0;
    }
}

/* Tablet (?991px) ? stack columns */
@media (max-width: 991px) {
    .about-inner {
        padding: 64px 40px;
        grid-template-columns: 1fr;
        gap: 64px 0;
    }

    .about-media {
        padding-right: 20px;
        max-width: 560px;
        margin: 0 auto;
    }

    .about-photo {
        height: 400px;
    }

    .about-heading {
        font-size: 32px;
    }

    .about-stat-card {
        top: 138px;
        right: 0;
    }
}

/* Mobile (?767px) */
@media (max-width: 767px) {
    .about-inner {
        padding: 48px 24px;
        gap: 48px 0;
    }

    .about-media {
        padding-right: 14px;
        max-width: 100%;
    }

    .about-photo {
        height: 280px;
    }

    .about-heading {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .about-body {
        font-size: 15px;
    }

    .about-stat-card {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 16px;
        box-shadow: 0 4px 16px rgba(13, 27, 42, 0.1);
        width: 100%;
        justify-content: center;
    }

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

    .about-btn {
        width: 100%;
        justify-content: center;
    }

    .about-btn--outline {
        background-color: #ffffff;
        border: 1.5px solid #0d1b2a;
        color: #0d1b2a;
    }

    .about-btn--outline:hover {
        background-color: #0d1b2a;
        color: #ffffff;
    }
}

/* Small mobile (?479px) */
@media (max-width: 479px) {
    .about-inner {
        padding: 40px 16px;
    }

    .about-heading {
        font-size: 24px;
    }

    .about-stat-number {
        font-size: 28px;
    }
}

/* ============================================================
   PAGE PLACEHOLDER ? shown while page content is being built
   ============================================================ */

.page-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 420px;
    padding: 80px 24px;
    border-bottom: 1px solid #eef0f2;
}

.page-placeholder-label {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f16522;
    margin: 0 0 16px;
}

.page-placeholder-title {
    font-family: "Playfair Display", serif;
    font-size: 40px;
    font-weight: 700;
    color: #1a2b3c;
    line-height: 1.2;
    margin: 0 0 20px;
}

.page-placeholder-desc {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.75;
    max-width: 560px;
    margin: 0;
}

@media (max-width: 767px) {
    .page-placeholder-title {
        font-size: 28px;
    }

    .page-placeholder {
        min-height: 320px;
        padding: 60px 24px;
    }
}

/* ============================================================
   PAGE BANNER ? inner pages (about, education, research, etc.)
   ============================================================ */

.page-banner {
    position: relative;
    background-image: url("../images/hero-bg.png");
    background-size: cover;
    background-position: center top;
    min-height: 340px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
            rgba(13, 27, 42, 0.88) 40%,
            rgba(13, 27, 42, 0.55) 100%);
    z-index: 0;
}

.page-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 1920px;
    margin: 0 auto;
    padding: 80px 140px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.65);
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.page-breadcrumb a:hover {
    color: #f16522;
}

.page-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.35);
    font-size: 14px;
    line-height: 1;
}

.page-breadcrumb-current {
    color: #f16522;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
}

.page-banner-title {
    font-family: "Playfair Display", serif;
    font-size: 56px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 16px;
}

.page-banner-title em {
    font-style: italic;
    color: #f16522;
}

.page-banner-desc {
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    max-width: 620px;
    margin: 0;
}

/* Responsive */
@media (max-width: 1279px) {
    .page-banner-inner {
        padding: 72px 80px;
    }

    .page-banner-title {
        font-size: 44px;
    }
}

@media (max-width: 991px) {
    .page-banner-inner {
        padding: 64px 40px;
    }

    .page-banner-title {
        font-size: 36px;
    }

    .page-banner-desc {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .page-banner {
        min-height: 260px;
    }

    .page-banner-inner {
        padding: 48px 24px;
    }

    .page-banner-title {
        font-size: 28px;
    }
}

/* ============================================================
   AWARDS & GLOBAL RECOGNITION SECTION
   Figma node 706-6147 ? 1920 ? 736px, white bg, 4-column card grid
   ============================================================ */

.awards-section {
    background: #f8f7f4;
}

.awards-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 40px 140px;
}

/* ---- Section heading ---- */
.awards-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 20px;
}

.awards-star {
    color: #f16522;
    font-size: 23px;
    line-height: 1;
    flex-shrink: 0;
}

.awards-heading {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 28px;
    color: #1a2b3c;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1;
    margin: 0;
    text-align: center;
}

.awards-amp {
    font-style: italic;
}

/* ---- 4-column card grid ---- */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* ---- Award card ---- */
.awards-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 24px 24px;
    border-radius: var(--radius-card, 15px);
    width: 100%;
    height: 323px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
    box-shadow: none;
    transition:
        background-color 0.6s ease,
        box-shadow 0.6s ease,
        color 0.6s ease;
}

.awards-card:hover {
    background: #ffffff !important;
    overflow: visible;
    z-index: 2;
    box-shadow:
        0 2px 4px rgba(28, 43, 74, 0.04),
        0 8px 24px rgba(28, 43, 74, 0.08),
        0 20px 48px rgba(28, 43, 74, 0.06);
}

.awards-card--sage {
    background: #dcf0ec;
}

.awards-card--mint {
    background: #dcf0e0;
}

.awards-card--lavender {
    background: #ebe4f5;
}

.awards-card--peach {
    background: #f5ead6;
}

/* ---- Diamond icon wrapper ---- */
.awards-icon-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.awards-diamond {
    width: 68px;
    height: 68px;
    background: #ffffff;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    flex-shrink: 0;
    transition:
        box-shadow 0.6s ease,
        background-color 0.6s ease;
}

.awards-card:hover .awards-diamond {
    background: #f8f9fb;
    box-shadow: 0 4px 16px rgba(28, 43, 74, 0.08);
}

/* Counter-rotate so the SVG icon stays upright */
.awards-diamond-icon {
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Card text ---- */
.awards-card-title {
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a2b3c;
    line-height: 1.4;
    margin: 0 0 12px;
    width: 100%;
    position: relative;
    z-index: 1;
    transition: color 0.6s ease;
}

.awards-card-desc {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #4a5568;
    line-height: 1.7;
    flex: 1;
    margin: 0 0 16px;
    width: 100%;
    position: relative;
    z-index: 1;
    transition: color 0.6s ease;
}

.awards-card-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    width: 100%;
    border-top: 2px solid rgba(232, 232, 228, 1);
    padding-top: 16px;
    position: relative;
    z-index: 1;
    transition: border-color 0.6s ease;
}

.awards-card:hover .awards-card-footer {
    border-top-color: rgba(28, 43, 74, 0.1);
}

.awards-card-award {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #f16522;
    line-height: 1.4;
    text-align: center;
    transition: color 0.6s ease;
}

.awards-card-year {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #1a2b3c;
    transition: color 0.6s ease;
}

/* ---- Responsive ---- */

/* Large (?1279px) */
@media (max-width: 1279px) {
    .awards-inner {
        padding: 72px 80px;
    }

    .awards-card-title {
        font-size: 16px;
    }
}

/* Tablet (?991px) ? 2 columns */
@media (max-width: 991px) {
    .awards-inner {
        padding: 64px 40px;
    }

    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile (?767px) ? 1 column */
@media (max-width: 767px) {
    .awards-inner {
        padding: 48px 24px;
    }

    .awards-heading {
        font-size: 22px;
        letter-spacing: 0.06em;
    }

    .awards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .awards-card {
        padding: 24px 20px 20px;
    }
}

/* Horizontal carousel — same 4-col card size/section width; arrows beside cards */
.awards-section:has(.awards-slider-wrap) {
    overflow-x: clip;
}

.awards-slider-wrap {
    position: relative;
    width: 100%;
    overflow: visible;
}

.awards-grid.awards-grid--slider {
    --awards-cols: 4;
    --awards-gap: 24px;
    display: flex;
    flex-wrap: nowrap;
    gap: var(--awards-gap);
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    align-items: stretch;
}

.awards-grid.awards-grid--slider::-webkit-scrollbar {
    display: none;
}

.awards-grid.awards-grid--slider .awards-card {
    --awards-card-width: calc(
        (100% - (var(--awards-cols) - 1) * var(--awards-gap)) / var(--awards-cols)
    );
    flex: 0 0 var(--awards-card-width);
    width: var(--awards-card-width);
    min-width: var(--awards-card-width);
    max-width: var(--awards-card-width);
    scroll-snap-align: start;
}

.awards-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.awards-arrow svg {
    display: block;
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 8px rgba(28, 43, 74, 0.12));
}

.awards-arrow--prev {
    left: -48px;
}

.awards-arrow--next {
    right: -48px;
}

.awards-arrow:hover {
    opacity: 0.85;
}

.awards-arrow:disabled,
.awards-arrow.awards-arrow--hidden {
    opacity: 0.25;
    pointer-events: none;
    cursor: default;
}

@media (max-width: 1279px) {
    .awards-arrow--prev {
        left: -36px;
    }

    .awards-arrow--next {
        right: -36px;
    }
}

@media (max-width: 991px) {
    .awards-grid.awards-grid--slider {
        --awards-cols: 2;
        --awards-gap: 20px;
    }

    .awards-arrow--prev {
        left: -8px;
    }

    .awards-arrow--next {
        right: -8px;
    }
}

@media (max-width: 767px) {
    .awards-grid.awards-grid--slider {
        --awards-cols: 1;
        --awards-gap: 16px;
    }

    .awards-slider-wrap {
        padding-bottom: 48px;
    }

    .awards-arrow {
        top: auto;
        bottom: 0;
        transform: none;
    }

    .awards-arrow--prev {
        left: calc(50% - 40px);
    }

    .awards-arrow--next {
        right: calc(50% - 40px);
        left: auto;
    }
}

/* ============================================================
   FOOTER SECTION
   Figma: bg #070F1A, full-width, 3 stacked bands
   ============================================================ */

/* ---- Base ---- */
.site-footer {
    background-color: #070f1a;
    width: 100%;
}

/* Shared inner wrapper ? max-width 1640px centered */
.footer-inner,
.footer-subscribe-inner,
.footer-bottom-inner {
    max-width: 1640px;
    margin: 0 auto;
    padding: 0 var(--site-gutter);
}

/* ============================================================
   FOOTER TOP ? logo/contact col + 4 link cols
   ============================================================ */

.footer-top {
    padding: 79px 0 59px;
}

/* Top row: brand on left, nav columns on the right */
.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px 64px;
}

/* ---- Brand column ---- */
.footer-col--brand {
    display: flex;
    flex-direction: column;
    flex: 0 1 420px;
    max-width: 460px;
    gap: 0;
}

.footer-cols-links {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-end;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px 56px;
    min-width: 0;
}

.footer-col--social {
    display: flex;
    align-items: flex-start;
    margin-top: 8px;
}

/* Logo */
.footer-logo-wrap {
    margin-bottom: 24px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    width: 199px;
    padding: 0;
    background-color: transparent;
    text-decoration: none;
}

.footer-logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Description ? DM Sans Regular 400, 18px, 150%, rgba(255,255,255,0.4) */
.footer-desc {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 24px;
}

/* Contact block */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 17px;
    margin-bottom: 24px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 3px;
}

.footer-contact-icon img {
    display: block;
    width: 17px;
    height: 17px;
}

/* Contact text ? DM Sans Regular 400, 16px */
.footer-contact-text {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: rgba(255, 255, 255, 0.4);
}

.footer-contact-link {
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-link:hover {
    color: rgba(255, 255, 255, 0.75);
}

/* Social icons ? inline with vertical dividers */
.footer-social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 3.75px;
    flex-shrink: 0;
    transition: opacity 0.2s;
    text-decoration: none;
}

.footer-social-link:hover {
    opacity: 0.75;
}

.footer-social-link img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.footer-social-divider {
    display: block;
    width: 1.5px;
    height: 23px;
    background-color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

/* ---- Link columns ---- */
.footer-col--links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-width: 140px;
    flex: 0 1 180px;
}

/* Column heading ? DM Sans Bold 700, ~12px, 20% letter-spacing, UPPERCASE */
.footer-col-heading {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
}

/* Link list */
.footer-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link-list li a {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: rgba(255, 255, 255, 0.38);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}

.footer-link-list li a:hover {
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   FOOTER SUBSCRIBE ROW
   Figma: top border rgba(255,255,255,0.1), padding 24px 39px
   ============================================================ */

.footer-subscribe-row {
    border-top: 1.23px solid rgba(255, 255, 255, 0.1);
    padding: 0;
}

.footer-subscribe-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    padding-bottom: 24px;
    gap: 40px;
}

/* Subscribe text ? "Subscribe to ?" bold + muted suffix */
.footer-subscribe-text {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 17px;
    line-height: 150%;
    color: #ffffff;
    flex-shrink: 0;
}

.subscribe-bold {
    font-weight: 600;
    font-size: 17px;
    color: #ffffff;
}

.subscribe-dash {
    color: rgba(255, 255, 255, 0.3);
    font-size: 16px;
    font-weight: 400;
}

.subscribe-muted {
    color: rgba(255, 255, 255, 0.3);
    font-size: 16px;
    font-weight: 400;
}

/* Email input + button row */
.footer-subscribe-form {
    flex-shrink: 0;
}

.subscribe-input-wrap {
    display: flex;
    align-items: stretch;
    height: 52px;
    width: 426px;
    border-radius: var(--radius-btn, 25px);
}

.subscribe-input {
    flex: 1;
    min-width: 0;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1.23px solid rgba(255, 255, 255, 0.15);
    border-right: none;
    outline: none;
    padding: 12px 20px 12px 24px;
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #ffffff;
    border-radius: var(--radius-btn, 25px) 0 0 var(--radius-btn, 25px);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.subscribe-input:focus {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.08);
}

.subscribe-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.subscribe-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #f16522;
    border: none;
    border-radius: 0 var(--radius-btn, 25px) var(--radius-btn, 25px) 0 !important;
    padding: 0 24px;
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: #ffffff;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.15s ease;
}

.subscribe-btn:hover {
    background-color: #d4571c;
}

.subscribe-btn:active {
    transform: scale(0.98);
}

.subscribe-btn img {
    display: block;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.subscribe-btn:hover img {
    transform: translate(2px, -2px);
}

/* Subscribe feedback messages */
.subscribe-feedback {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
    border-radius: 6px;
    padding: 6px 12px;
}

.subscribe-feedback--subscribed,
.subscribe-feedback--resubscribed {
    color: #15803d;
    background-color: #f0fdf4;
}

.subscribe-feedback--already_subscribed {
    color: #a16207;
    background-color: #fefce8;
}

.subscribe-feedback--error {
    color: #dc2626;
    background-color: #fef2f2;
}

/* ============================================================
   FOOTER BOTTOM ROW ? copyright + legal links
   Figma: top border rgba(255,255,255,0.1), padding 24px 39px
   ============================================================ */

.footer-bottom-row {
    border-top: 1.23px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    padding-bottom: 24px;
    gap: 24px;
}

/* Copyright ? DM Sans Regular 400, 14px */
.footer-copyright {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: rgba(255, 255, 255, 0.22);
    margin: 0;
}

/* Legal links */
.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-shrink: 0;
}

.footer-legal-links a {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: rgba(255, 255, 255, 0.22);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   FOOTER ? RESPONSIVE
   ============================================================ */

/* Laptop (?1279px) */
@media (max-width: 1279px) {
    .footer-top {
        padding: 60px 0 56px;
    }

    .footer-logo {
        width: 170px;
    }

    .footer-social {
        gap: 16px;
    }

    .subscribe-input-wrap {
        width: 360px;
        max-width: 100%;
    }

    .footer-subscribe-text {
        font-size: 16px;
    }
}

/* Tablet landscape (?992?1199px) ? stack subscribe row */
@media (max-width: 1279px) {
    .footer-subscribe-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-subscribe-form {
        width: 100%;
    }

    .subscribe-input-wrap {
        width: 100%;
        max-width: 100%;
    }
}

/* Tablet (?991px) */
@media (max-width: 991px) {
    .footer-top {
        padding: 48px 0 44px;
    }

    .footer-top-row {
        flex-wrap: wrap;
        gap: 40px 32px;
    }

    .footer-col--brand {
        flex: 1 1 100%;
        max-width: none;
    }

    .footer-cols-links {
        justify-content: flex-start;
        width: 100%;
        gap: 32px 40px;
    }

    .footer-subscribe-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-subscribe-form {
        width: 100%;
    }

    .subscribe-input-wrap {
        width: 100%;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-legal-links {
        flex-wrap: wrap;
        gap: 16px 24px;
    }
}

/* Mobile (?767px) ? single column */
@media (max-width: 767px) {
    .footer-top {
        padding: 40px 0 36px;
    }

    .footer-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .footer-cols-links {
        flex-direction: column;
        gap: 28px;
        width: 100%;
    }

    .footer-col--links {
        min-width: 0;
        flex: 1 1 auto;
    }

    .footer-col--social {
        margin-top: 4px;
        margin-bottom: 0;
    }

    .footer-desc {
        font-size: 16px;
    }

    .footer-col-heading {
        font-size: 11px;
    }

    .footer-link-list li a {
        font-size: 15px;
    }

    .footer-subscribe-text {
        font-size: 15px;
    }

    .subscribe-bold {
        font-size: 15px;
    }

    .footer-subscribe-form {
        width: 100%;
    }

    .subscribe-input-wrap {
        flex-direction: column;
        width: 100%;
        height: auto;
        gap: 12px;
    }

    .subscribe-input {
        width: 100%;
        height: 48px;
        border-right: 1.23px solid rgba(255, 255, 255, 0.15);
        border-radius: var(--radius-btn, 25px) !important;
        padding: 12px 20px;
    }

    .subscribe-btn {
        width: 100%;
        height: 48px;
        justify-content: center;
        border-radius: var(--radius-btn, 25px) !important;
    }

    .footer-copyright,
    .footer-legal-links a {
        font-size: 13px;
    }
}

/* Small mobile (?479px) */
@media (max-width: 479px) {
    .footer-legal-links {
        gap: 12px 16px;
    }

    .subscribe-input {
        font-size: 15px;
        padding: 10px 14px;
    }

    .subscribe-btn {
        font-size: 14px;
        padding: 0 14px;
    }
}

/* ============================================================
   HERO SECTION ? CAROUSEL
   Figma node 706-6049 ? full-bleed 1920?906 with 3 slides,
   background fades + content fades, dot indicators bottom-centre
   ============================================================ */

/* ---- Section container ---- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 786px;
    overflow: hidden;
    background-color: #0d1b2a;
    /* fallback while images load */
}

/* ---- Background slides track ---- */
.hero-bg-track {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
    will-change: opacity;
}

.hero-bg-slide.is-active {
    opacity: 1;
}

/* ---- Carousel gradient overlay (strong at top and bottom, subtle in the middle) ---- */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.4) 40%,
            rgba(0, 0, 0, 0.6) 60%,
            rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
}

/* ---- Content slides wrapper ---- */
.hero-slides-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 786px;
}

/* ---- Each content slide ---- */
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
    will-change: opacity;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    /* take height from active slide */
    min-height: 786px;
}

/* ---- Inner wrapper — full width, aligned with generous gap to controls ---- */
.hero-inner {
    width: 100%;
    padding: 0 140px 100px;
}

/* ---- Content column ? matches Figma heading width 762px ---- */
.hero-content {
    max-width: 1080px;
    display: flex;
    flex-direction: column;
}

/* ---- Type label with dynamic bottom border ---- */
.hero-type-wrap {
    margin-bottom: 16px;
}

.hero-type {
    display: inline-block;
    width: fit-content;
    max-width: 778px;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f16522;
}

/* ---- Heading ---- */
.hero-heading {
    margin-bottom: 28px;
}

.hero-heading h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 125%;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0;
}

.hero-heading-italic {
    font-style: italic;
    font-weight: 700;
    font-family: "Playfair Display", Georgia, serif;
}

/* ---- CTA buttons row ---- */
.hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 46px;
    max-height: 46px;
    padding: 0 28px;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition:
        background 0.2s,
        border-color 0.2s,
        color 0.2s;
    white-space: nowrap;
}

.hero-btn--primary {
    background-color: #f16522;
    border: 1.23px solid #f16522;
    color: #ffffff;
    font-weight: 600;
}

.hero-btn--primary:hover {
    background-color: #d4571c;
    border-color: #d4571c;
    color: #ffffff;
}

.hero-btn--outline {
    background-color: transparent;
    border: 1.23px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-weight: 500;
}

.hero-btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.hero-btn img {
    display: block;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    width: 14px;
    height: 14px;
    object-fit: contain;
}

/* ---- Carousel Controls (Prev - Dots - Next) ---- */
.hero-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-control-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: rgba(13, 27, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        color 0.25s ease;
}

.hero-control-btn:hover {
    background-color: #f16522;
    border-color: #f16522;
    color: #ffffff;
    transform: scale(1.1);
}

.hero-control-btn:active {
    transform: scale(0.95);
}

.hero-control-btn svg {
    display: block;
}

/* ---- Indicator dots ---- */
.hero-indicators {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

/* Outer ring ? 15.22?15.22px, 0.95px solid white border */
.hero-dot {
    position: relative;
    display: block;
    width: 15.22px;
    height: 15.22px;
    border-radius: 47.56px;
    border: 0.95px solid #ffffff;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition:
        border-color 0.25s,
        transform 0.25s;
}

.hero-dot:hover {
    border-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.15);
}

/* Inner filled circle ? 8.56?8.56px, top:3.33px left:3.33px */
.hero-dot-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 47.56px;
    background-color: transparent;
    transition: background-color 0.25s;
    display: block;
}

/* Active state ? inner circle fills orange */
.hero-dot.is-active .hero-dot-inner {
    background-color: #f16522;
}

/* ---- Hero Social Links (Right Side) ---- */
.hero-social-links {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: rgba(13, 27, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    padding: 16px 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.hero-social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-decoration: none;
    background: transparent;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
    flex-shrink: 0;
}

.hero-social-link:hover {
    background-color: #f16522;
    transform: scale(1.1);
}

.hero-social-link img {
    display: block;
    max-width: 22px;
    max-height: 22px;
    object-fit: contain;
}

.hero-social-divider {
    display: block;
    width: 20px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* ============================================================
   HERO CAROUSEL ? RESPONSIVE
   ============================================================ */

/* Laptop (?1279px) */
@media (max-width: 1279px) {

    .hero-slides-wrap,
    .hero-slide.is-active {
        min-height: 786px;
    }

    .hero-inner {
        padding: 0 80px 155px;
    }

    .hero-heading h1 {
        font-size: 34px;
    }

    .hero-type {
        font-size: 13px;
    }

    .hero-btn {
        height: 46px;
        max-height: 46px;
        padding: 0 24px;
        font-size: 15px;
        gap: 12px;
    }
}

/* Tablet landscape (?992?1199px) */
@media (max-width: 1279px) {
    .hero-inner {
        padding: 0 48px 145px;
    }

    .hero-heading h1 {
        font-size: 32px;
    }

    .hero-type-wrap {
        margin-bottom: 12px;
    }
}

/* Tablet (?991px) */
@media (max-width: 991px) {
    .hero-section {
        min-height: 620px;
    }

    .hero-slides-wrap,
    .hero-slide.is-active {
        min-height: 620px;
    }

    .hero-inner {
        padding: 0 40px 125px;
    }

    .hero-social-links {
        right: 10px;
        padding: 12px 8px;
        gap: 10px;
    }

    .hero-social-link {
        width: 32px;
        height: 32px;
    }

    .hero-social-link img {
        max-width: 18px;
        max-height: 18px;
    }

    .hero-social-divider {
        width: 16px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-heading h1 {
        font-size: 30px;
        letter-spacing: -0.02em;
    }

    .hero-heading {
        margin-bottom: 22px;
    }

    .hero-type-wrap {
        margin-bottom: 12px;
    }

    .hero-btn {
        height: 44px;
        max-height: 46px;
        padding: 0 20px;
        font-size: 14px;
        gap: 10px;
    }
}

/* Mobile (?767px) */
@media (max-width: 767px) {
    .hero-section {
        min-height: 520px;
    }

    .hero-slides-wrap,
    .hero-slide.is-active {
        min-height: 520px;
    }

    .hero-overlay {
        background: linear-gradient(180deg,
                rgba(0, 0, 0, 0.8),
                rgba(0, 0, 0, 0.6),
                rgba(0, 0, 0, 0.8));
    }

    .hero-inner {
        padding: 0 24px 105px;
    }

    /* Hide hero social links on mobile devices */
    .hero-social-links {
        display: none !important;
    }

    .hero-heading h1 {
        font-size: 26px;
    }

    .hero-heading {
        margin-bottom: 18px;
    }

    .hero-type {
        font-size: 12px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero-btn {
        height: 44px;
        max-height: 46px;
        padding: 0 20px;
        font-size: 14px;
        gap: 10px;
        width: 100%;
        justify-content: space-between;
    }
}

/* Small mobile (?479px) */
@media (max-width: 479px) {
    .hero-section {
        min-height: 460px;
    }

    .hero-slides-wrap,
    .hero-slide.is-active {
        min-height: 460px;
    }

    .hero-inner {
        padding: 0 16px 90px;
    }

    .hero-heading h1 {
        font-size: 22px;
    }

    .hero-type {
        font-size: 13px;
    }

    .hero-btn {
        height: 42px;
        max-height: 46px;
        padding: 0 16px;
        font-size: 13px;
    }

    .hero-controls {
        bottom: 24px;
        gap: 8px;
    }

    .hero-control-btn {
        width: 28px;
        height: 28px;
    }
}

/* ============================================================
   TWO DECADES OF MEASURABLE IMPACT ? STAT CARDS SECTION
   ============================================================ */

.impact-section {
    background-color: #ffffff;
    width: 100%;
}

.impact-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 80px 140px 96px;
}

/* ---- Header row: heading left, desc right ---- */
.impact-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 48px;
}

.impact-heading-col {
    flex: 0 0 auto;
}

/* Heading ? "Two Decades of" DM Sans Bold, italic line Playfair */
.impact-heading {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    color: #231f20;
    margin: 0;
}

.impact-heading-italic {
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-weight: 700;
    color: #f16522;
    display: block;
    font-size: 40px;
    line-height: 1.25;
}

.impact-desc-col {
    flex: 0 0 320px;
    text-align: right;
    padding-top: 4px;
}

.impact-desc {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

/* ---- 3-column card grid ---- */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ---- Stat card ---- */
.impact-card {
    background: #ffffff;
    border: 1px solid rgba(35, 31, 32, 0.12);
    padding: 32px 28px 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Orange bottom border bar */
.impact-card-bar {
    display: block;
    height: 3px;
    background-color: #f16522;
    margin-top: auto;
    margin-left: -28px;
    margin-right: -28px;
    width: calc(100% + 56px);
    padding-bottom: 0;
    flex-shrink: 0;
    margin-top: 28px;
}

/* Big orange number */
.impact-card-number {
    display: block;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 1;
    color: #f16522;
    margin-bottom: 12px;
}

/* Card title */
.impact-card-title {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.45;
    color: #231f20;
    margin: 0 0 12px;
}

/* Card description */
.impact-card-desc {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
    flex: 1;
}

/* ============================================================
   IMPACT SECTION ? RESPONSIVE
   ============================================================ */

/* Laptop (?1279px) */
@media (max-width: 1279px) {
    .impact-inner {
        padding: 72px 80px 80px;
    }

    .impact-heading,
    .impact-heading-italic {
        font-size: 34px;
    }

    .impact-desc-col {
        flex: 0 0 280px;
    }
}

/* Tablet landscape (?992?1199px) */
@media (max-width: 1279px) {
    .impact-inner {
        padding: 64px 48px 72px;
    }

    .impact-header {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .impact-desc-col {
        flex: none;
        text-align: left;
    }
}

/* Tablet (?991px) ? 2 columns, header stacked */
@media (max-width: 991px) {
    .impact-inner {
        padding: 64px 40px 72px;
    }

    .impact-header {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .impact-desc-col {
        flex: none;
        text-align: left;
    }

    .impact-heading,
    .impact-heading-italic {
        font-size: 30px;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile (?767px) ? 1 column */
@media (max-width: 767px) {
    .impact-inner {
        padding: 48px 24px 60px;
    }

    .impact-heading,
    .impact-heading-italic {
        font-size: 26px;
    }

    .impact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .impact-card-number {
        font-size: 36px;
    }
}

/* Small mobile (?479px) */
@media (max-width: 479px) {
    .impact-inner {
        padding: 40px 16px 48px;
    }

    .impact-heading,
    .impact-heading-italic {
        font-size: 22px;
    }
}

/* ============================================================
   SCHOOL INTRO ? two-col text + quote banner
   ============================================================ */

.school-intro-section {
    background-color: #ffffff;
    width: 100%;
}

.school-intro-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 80px 140px 72px;
}

/* ---- Left column ---- */
.school-intro-left {
    padding-right: 72px;
    display: flex;
    flex-direction: column;
}

.school-intro-heading {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.35;
    color: #0d1b2a;
    margin: 0 0 20px;
}

.school-intro-heading-italic {
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-weight: 700;
    color: #f16522;
}

.school-intro-divider {
    display: block;
    width: 36px;
    height: 2px;
    background-color: #3a998a;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.school-intro-tagline {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.75;
    color: #4a5568;
    margin: 0;
}

/* ---- Right column ---- */
.school-intro-right {
    padding-left: 56px;
    border-left: 1px solid rgba(35, 31, 32, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.school-intro-body {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.8;
    color: #4a5568;
    margin: 0 0 36px;
}

/* ---- Quick-facts 2?2 ---- */
.school-intro-facts {
    border-top: 1px solid rgba(35, 31, 32, 0.1);
}

.school-intro-fact {
    padding: 20px 0 4px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Add a right divider on the first column of each row */
.school-intro-fact:nth-child(odd) {
    border-right: 1px solid rgba(35, 31, 32, 0.1);
    padding-right: 24px;
}

.school-intro-fact:nth-child(even) {
    padding-left: 24px;
}

.school-intro-fact-label {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f16522;
    display: block;
}

.school-intro-fact-value {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    color: #0d1b2a;
    display: block;
}

/* ---- Full-width image below school-intro-inner ---- */
.school-intro-img-wrap {
    width: 100%;
    line-height: 0;
}

.school-intro-img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center center;
}

@media (max-width: 991px) {
    .school-intro-img {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .school-intro-img {
        height: 220px;
    }
}

/* ---- Quote banner ? image with rounded corners + overlay quote ---- */
.school-quote-banner {
    position: relative;
    margin: 0 140px 72px 140px;
    /* horizontal inset = same as section padding */
    /* border-radius: 8px; */
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    /* quote sits at the bottom */
    min-height: 480px;
}

/* The actual photo */
.school-quote-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}

/* Gradient: transparent top-right ? dark navy bottom-left */
.school-quote-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(360deg,
            #1c2b4a 4.06%,
            rgba(28, 43, 74, 0.6) 52.03%,
            rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

/* Quote content ? bottom-center */
.school-quote-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.school-quote-text {
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.5;
    color: #ffffff;
    margin: 0 0 12px;
    max-width: 520px;
}

.school-quote-attribution {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    letter-spacing: 0.02em;
}

/* ---- SCHOOL INTRO RESPONSIVE ---- */

@media (max-width: 1279px) {
    .school-intro-inner {
        padding: 72px 80px 64px;
    }

    .school-intro-left {
        padding-right: 48px;
    }

    .school-intro-right {
        padding-left: 40px;
    }

    .school-quote-banner {
        margin: 0 80px;
    }

    .school-quote-text {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .school-intro-inner {
        padding: 56px 40px 48px;
    }

    .school-intro-left {
        padding-right: 0;
        padding-bottom: 40px;
        border-right: none;
    }

    .school-intro-right {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(35, 31, 32, 0.1);
        padding-top: 40px;
    }

    .school-quote-banner {
        margin: 0 40px;
        min-height: 280px;
    }

    .school-quote-content {
        padding: 36px 40px;
    }

    .school-quote-text {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .school-intro-inner {
        padding: 40px 24px 36px;
    }

    .school-intro-heading {
        font-size: 22px;
    }

    .school-quote-banner {
        margin: 0 24px;
        min-height: 220px;
    }

    .school-quote-content {
        padding: 28px 24px;
    }

    .school-quote-text {
        font-size: 16px;
    }
}

@media (max-width: 479px) {
    .school-intro-inner {
        padding: 32px 16px 28px;
    }

    .school-quote-banner {
        margin: 0 16px;
    }

    .school-quote-content {
        padding: 24px 16px;
    }

    .school-quote-text {
        font-size: 15px;
    }
}

/* ============================================================
   VISION & MISSION SECTION
   Two-panel teal bg: Vision left | Mission right
   ============================================================ */

.vm-section {
    background-color: #1e7b74;
    width: 100%;
    padding: 140px 120px;
}

.vm-inner {
    max-width: 1920px;
    margin: 0 auto;
}

/* ---- Each panel ---- */
.vm-panel {
    padding: 64px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #ffffff1a;
}

/* Subtle divider between the two panels */
.vm-panel--vision {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

/* ---- Label badge ---- */
.vm-label {
    display: inline-block;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f16522;
    background-color: #fff;
    padding: 5px 12px;
    margin-bottom: 28px;
    align-self: flex-start;
}

/* ---- Heading ---- */
.vm-heading {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 32px;
    color: #ffffff;
    line-height: 40px;
    letter-spacing: -0.64px;
}

/* ---- Divider line ---- */
.vm-divider {
    display: block;
    width: 36px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.35);
    margin: 32px 0 24px 0;
    flex-shrink: 0;
}

/* ---- Description ---- */
.vm-desc {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-style: 9pt Regular;
    font-size: 15px;
    color: #ffffffcc;
    line-height: 27.75px;
    letter-spacing: 0px;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 1279px) {
    .vm-section {
        padding: 100px var(--site-gutter);
    }

    .vm-panel {
        padding: 64px 60px 72px;
    }

    .vm-heading {
        font-size: 22px;
    }
}

@media (max-width: 1279px) {
    .vm-section {
        padding: 80px var(--site-gutter);
    }
}

@media (max-width: 991px) {
    .vm-panel {
        padding: 56px 40px 60px;
    }

    .vm-panel--vision {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .vm-heading {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .vm-panel {
        padding: 40px 24px 48px;
    }

    .vm-heading {
        font-size: 18px;
    }
}

@media (max-width: 479px) {
    .vm-panel {
        padding: 32px 16px 36px;
    }
}

/* ============================================================
   SCHOOL MANAGEMENT COMMITTEE SECTION
   ============================================================ */

.smc-section {
    background-color: #f7f5f2;
    width: 100%;
}

.smc-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 72px 140px 96px;
}

/* ---- Section header ---- */
.smc-header {
    margin-bottom: 40px;
}

.smc-label-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.smc-label-line {
    display: block;
    width: 32px;
    height: 2px;
    background-color: #f16522;
    flex-shrink: 0;
}

.smc-label-text {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(241, 101, 34, 1);
}

.smc-heading {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.25;
    color: #0d1b2a;
    margin: 0;
}

.smc-heading-italic {
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-weight: 700;
    color: rgba(241, 101, 34, 1);
}

/* ---- Member card ---- */
.smc-card {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

a.smc-card--link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

a.smc-card--link:hover,
a.smc-card--link:focus,
a.smc-card--link:focus-visible,
a.smc-card--link:active {
    color: inherit;
    text-decoration: none;
    background-color: #ffffff;
    outline: none;
}

/* ---- Member card image ---- */
.smc-card-img-wrap {
    width: 100%;
    aspect-ratio: 3 / 3.2;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #e8e4df;
    position: relative;
}

.smc-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    flex-shrink: 0;
    cursor: pointer;
    transition:
        border-color 0.2s,
        background 0.2s;
    text-decoration: none;
}

.smc-social-btn:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
}

.smc-social-btn svg {
    display: block;
    flex-shrink: 0;
}

.smc-card-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.smc-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #d4cfc8 0%, #b8b0a6 100%);
    color: #5c564e;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: clamp(3.5rem, 12vw, 5.5rem);
    letter-spacing: 0.04em;
    user-select: none;
}

.smc-card-img-placeholder span {
    line-height: 1;
}

.smc-card-body {
    padding: 16px 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.smc-card-name {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    color: #0d1b2a;
    margin: 0;
}

.smc-card-role {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.65;
    color: #6b7280;
    margin: 0;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 1279px) {
    .smc-inner {
        padding: 64px 80px 80px;
    }

    .smc-heading {
        font-size: 26px;
    }
}

@media (max-width: 991px) {
    .smc-inner {
        padding: 56px 40px 64px;
    }

    .smc-heading {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .smc-inner {
        padding: 40px 24px 48px;
    }

    .smc-heading {
        font-size: 20px;
    }

    .smc-card-name {
        font-size: 13px;
    }
}

@media (max-width: 479px) {
    .smc-inner {
        padding: 32px 16px 40px;
    }

    .smc-heading {
        font-size: 18px;
    }
}

/* ============================================================
   INSTITUTIONAL PARTNERS SECTION
   ============================================================ */

.partners-section {
    background-color: #ffffff;
    width: 100%;
}

.partners-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 96px 140px 52px;
}

/* ---- 12-col grid: image 4 (top) / title + text 8 ---- */
.partners-layout {
    margin: 0;
}

.partners-media {
    position: relative;
    min-width: 0;
}

.partners-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 480px;
    object-fit: cover;
    object-position: center top;
    border-radius: 16px;
}

.partners-body {
    min-width: 0;
}

/* ---- Title sits with text column ---- */
.partners-header {
    text-align: center;
    margin-bottom: 36px;
}

.partners-label-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

.partners-label-line {
    display: block;
    width: 28px;
    height: 1px;
    background-color: #f16522;
    flex-shrink: 0;
}

.partners-label-text {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #f16522;
}

.partners-heading {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    color: #1f2f57;
    margin: 0 0 16px;
    text-align: left;
}

.partners-heading-italic {
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-weight: 700;
    color: #f16522;
}

.partners-desc {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.95;
    color: #6f7785;
    max-width: none;
    margin: 0;
    width: 100%;
}

.partners-desc p {
    margin: 0 0 0.85em;
}

.partners-desc p:last-child {
    margin-bottom: 0;
}

.partners-desc ul,
.partners-desc ol {
    margin: 0 0 0.85em;
    padding-left: 1.25em;
}

.partners-desc a {
    color: #f16522;
    text-decoration: underline;
}

.partners-layout--solo .partners-heading,
.partners-layout--solo .partners-desc {
    text-align: left;
}

.partners-layout--solo .partners-desc {
    max-width: none;
    margin: 0;
}

/* ---- Slider wrap: arrows + grid ---- */
.partners-slider-wrap {
    position: relative;
    margin-top: 54px;
    padding: 0 40px;
    /* room for absolute arrows */
}

/* Arrow buttons */
.partners-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    z-index: 2;
    opacity: 0.45;
    transition: opacity 0.2s;
}

.partners-arrow:hover {
    opacity: 1;
}

.partners-arrow:disabled {
    opacity: 0.2;
    cursor: default;
}

.partners-arrow--prev {
    left: 0;
}

.partners-arrow--next {
    right: 0;
}

/* ---- 4-col ? 2-row logo grid ---- */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* grid-template-rows: repeat(2, 110px); */
    gap: 18px;
    /* no gap ? borders collapse */
    /* border: 1px solid rgba(35,31,32,0.10); */
}

.partners-grid.partners-grid--slider {
    display: block;
    overflow: hidden;
}

.partners-track {
    display: flex;
    gap: 0;
    transform: translateX(0);
    transition: transform 0.35s ease;
}

.partners-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(var(--partners-cols, 4), 1fr);
    gap: 18px;
}

.partners-logo-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* background-color: #ffffff; */
    /* border: 1px solid rgba(35,31,32,0.10); */
    margin: -0.5px;
    overflow: hidden;
}

.partners-logo-img {
    display: block;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    object-position: center;
    transition: opacity 0.2s;
}

.partners-logo-cell:hover .partners-logo-img {
    opacity: 0.85;
}

/* ---- View all link ---- */
.partners-footer {
    text-align: center;
    margin-top: 26px;
}

.partners-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #f16522;
    text-decoration: none;
    transition: gap 0.2s;
}

.partners-view-all:hover {
    gap: 10px;
    color: #d4571c;
}

.partners-view-all svg polyline {
    stroke: #f16522;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1279px) {
    .partners-inner {
        padding: 72px 80px 52px;
    }

    .partners-photo {
        max-height: 420px;
    }

    .partners-heading {
        font-size: 36px;
        margin-bottom: 14px;
    }

    .partners-desc {
        font-size: 14px;
    }

    .partners-view-all {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .partners-inner {
        padding: 56px 40px 44px;
    }

    .partners-photo {
        max-height: 360px;
        aspect-ratio: 16 / 10;
    }

    .partners-heading {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-slide {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-view-all {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .partners-inner {
        padding: 40px 24px 32px;
    }

    .partners-photo {
        max-height: 280px;
    }

    .partners-heading {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .partners-slider-wrap {
        padding: 0 28px;
        margin-top: 28px;
    }

    .partners-logo-cell {
        padding: 0;
    }

    .partners-view-all {
        font-size: 14px;
    }
}

@media (max-width: 479px) {
    .partners-inner {
        padding: 32px 16px 24px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-slide {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-slider-wrap {
        padding: 0 24px;
    }
}

/* ============================================================
   PUBLICATIONS & DOWNLOADS SECTION
   ============================================================ */

.pubs-section {
    background-color: #eef3ee;
    /* light sage from design */
    width: 100%;
}

.pubs-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 80px 140px;
}

/* ---- Left column ---- */
.pubs-left {
    display: flex;
    flex-direction: column;
    padding-right: 80px;
}

.pubs-label-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.pubs-label-line {
    display: block;
    width: 28px;
    height: 2px;
    background-color: #f16522;
    flex-shrink: 0;
}

.pubs-label-text {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #f16522;
}

.pubs-heading {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 34px;
    line-height: 1.25;
    color: #0d1b2a;
    margin: 0 0 20px;
}

.pubs-heading-italic {
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-weight: 700;
    color: #f16522;
}

.pubs-desc {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.8;
    color: #4a5568;
    margin: 0 0 32px;
}

.pubs-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #f16522;
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 13px 24px;
    text-decoration: none;
    border-radius: 3px;
    align-self: flex-start;
    transition:
        background 0.2s,
        gap 0.2s;
}

.pubs-btn:hover {
    background-color: #d4571c;
    color: #ffffff;
    gap: 14px;
}

/* ---- Right column: download items ---- */
.pubs-right {
    display: flex;
    flex-direction: column;
}

.pubs-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 20px !important;
    border-bottom: 1px solid rgba(35, 31, 32, 0.12);
    background: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.pubs-item--last {
    border-bottom: none;
}

/* Icon box */
.pubs-item-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
}

/* Text block */
.pubs-item-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.pubs-item-title {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #0d1b2a;
    line-height: 1.35;
}

.pubs-item-desc {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.55;
}

/* Download icon button */
.pubs-item-dl {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(241, 101, 34, 0.3);
    border-radius: 50%;
    text-decoration: none;
    transition:
        background 0.2s,
        border-color 0.2s;
}

.pubs-item-dl:hover {
    background-color: #f16522;
    border-color: #f16522;
}

.pubs-item-dl:hover svg path,
.pubs-item-dl:hover svg polyline,
.pubs-item-dl:hover svg line {
    stroke: #ffffff;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1279px) {
    .pubs-inner {
        padding: 72px 80px;
    }

    .pubs-heading {
        font-size: 28px;
    }

    .pubs-left {
        padding-right: 56px;
    }
}

@media (max-width: 991px) {
    .pubs-inner {
        padding: 56px 40px;
    }

    .pubs-left {
        padding-right: 0;
        padding-bottom: 48px;
    }

    .pubs-heading {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .pubs-inner {
        padding: 40px 24px;
    }

    .pubs-heading {
        font-size: 22px;
    }

    .pubs-item {
        gap: 14px;
        padding: 20px 0;
    }

    .pubs-item-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 479px) {
    .pubs-inner {
        padding: 32px 16px;
    }

    .pubs-heading {
        font-size: 20px;
    }
}

/* ==========================================================================
   EDUCATION SECTION
   ========================================================================== */

/* ---- Outer section ---- */
.edu-section {
    background: #f8f7f4;
    text-align: left;
    overflow: visible;
}

.edu-inner {
    max-width: 1642px;
    margin: 0 auto;
    padding: 40px 140px;
    overflow: visible;
}

/* ---- Top row: heading left / stats right ---- */
.edu-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px;
}

/* ---- Section header (label + heading) ---- */
.edu-header {
    max-width: 765px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.edu-label {
    display: flex;
    align-items: center;
    gap: 16px;
}

.edu-label-line {
    display: inline-block;
    width: 39px;
    height: 1.5px;
    background: #f16522;
    flex-shrink: 0;
}

.edu-label-text {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f16522;
}

.edu-heading {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 1.2;
    letter-spacing: -0.0268em;
    color: #0d1b2a;
    margin: 0;
}

.edu-heading em {
    font-style: italic;
    font-weight: 700;
}

/* ---- Stats ---- */
.edu-stats {
    display: flex;
    align-items: flex-end;
    gap: 49px;
}

.edu-stat {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.edu-stat-num {
    font-family: "Playfair Display", serif;
    font-weight: 800;
    font-size: 64px;
    line-height: 49.17px;
    letter-spacing: 0px;
    display: block;
}

.edu-stat-num--orange {
    color: #f16522;
}

.edu-stat-num--teal {
    color: #1e7b74;
}

.edu-stat-label {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 18.29px;
    letter-spacing: 0.61px;
    text-transform: uppercase;
    color: rgba(13, 27, 42, 0.45);
    display: block;
}

/* ---- Cards grid ---- */
.edu-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
    row-gap: 0;
    /* Align-items stretch so all 5 shared rows size to max across all cards */
    align-items: stretch;
}

/* Dynamic columns based on card count */
.edu-cards:has(> .edu-card:first-child:last-child) {
    grid-template-columns: 1fr;
}

.edu-cards:has(> .edu-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

.edu-cards:has(> .edu-card:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
}

/* ---- Individual card ---- */
.edu-card {
    /*
     * Subgrid: each card spans 5 shared rows across the parent grid.
     * Row 1 = image, Row 2 = title, Row 3 = desc, Row 4 = meta, Row 5 = cta
     */
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
    overflow: hidden;
    background: #ffffff;
    border-radius: var(--radius-card, 15px);
    position: relative;
    isolation: isolate;
    box-shadow: none;
    transition: box-shadow 0.6s ease;
}

.edu-card:hover {
    overflow: hidden;
    z-index: 2;
    box-shadow:
        0 4px 8px rgba(28, 43, 74, 0.08),
        0 12px 32px rgba(28, 43, 74, 0.14),
        0 28px 56px rgba(28, 43, 74, 0.12);
}

/* ---- Card image area ---- */
.edu-card-img {
    position: relative;
    height: 310px;
    overflow: hidden;
    background-color: #1a2a3a;
    border-radius: var(--radius-card, 15px) var(--radius-card, 15px) 0 0;
    z-index: 1;
}

.edu-card-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.edu-card:hover .edu-card-img::before {
    transform: scale(1.06);
}

.edu-card-img--mph::before {
    background-image:
        linear-gradient(0deg,
            rgba(13, 27, 42, 0.7) 0%,
            rgba(13, 27, 42, 0.2) 50%,
            transparent 100%),
        url("../images/edu-mph-2b2124.png");
}

.edu-card-img--mpf::before {
    background-image:
        linear-gradient(0deg,
            rgba(13, 27, 42, 0.7) 0%,
            rgba(13, 27, 42, 0.2) 50%,
            transparent 100%),
        url("../images/edu-mpf.png");
}

.edu-card-img--nursing::before {
    background-image:
        linear-gradient(0deg,
            rgba(13, 27, 42, 0.7) 0%,
            rgba(13, 27, 42, 0.2) 50%,
            transparent 100%),
        url("../images/edu-exec-271d68.png");
}

.edu-card-img--exec::before {
    background-image:
        linear-gradient(0deg,
            rgba(13, 27, 42, 0.7) 0%,
            rgba(13, 27, 42, 0.2) 50%,
            transparent 100%),
        url("../images/edu-exec-271d68.png");
}

.edu-card-img--dynamic::before {
    background-image:
        linear-gradient(0deg,
            rgba(13, 27, 42, 0.7) 0%,
            rgba(13, 27, 42, 0.2) 50%,
            transparent 100%),
        var(--edu-card-img);
}

/* ---- Card body ---- */
.edu-card-body {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    padding: 20px 30px 30px;
    position: relative;
    z-index: 1;
}

.edu-card-title {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.5;
    color: #0d1b2a;
    margin: 0 0 16px;
}

.edu-card-desc {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(13, 27, 42, 0.55);
    margin: 0 0 20px;
}

/* ---- Meta grid (2 columns) ---- */
.edu-card-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 14px;
    margin-bottom: 30px;
}

.edu-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f8f7f4;
    min-height: 69px;
    padding: 12px;
    box-sizing: border-box;
    overflow: hidden;
}

.edu-meta-icon {
    flex-shrink: 0;
    width: 16.97px;
    height: 16.97px;
    /* icon top: 16.97px, text top: 14.54px ? 2.43px lower */
    margin-top: 2.43px;
}

.edu-meta-text {
    flex: 1;
    min-width: 0;
    /* KEY: lets flex child shrink so text wraps inside */
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.edu-meta-label {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 11px;
    line-height: 150%;
    letter-spacing: 1.12px;
    text-transform: uppercase;
    color: rgba(13, 27, 42, 0.4);
}

.edu-meta-value {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0px;
    color: #0d1b2a;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- Card CTA link ---- */
.edu-card-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    align-self: end;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0.097em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s;
    white-space: nowrap;
    border-radius: var(--radius-btn, 10px);
}

.edu-card-link:hover {
    opacity: 0.88;
    color: #ffffff;
    text-decoration: none;
}

.edu-card-link--orange {
    background: #f16522;
}

.edu-card-link--teal {
    background: #1e7b74;
}

.edu-card-link--navy {
    background: #1c2b4a;
}

/* Meta icons inherit the card's accent colour */
.edu-card:has(.edu-card-link--orange) .edu-meta-icon {
    color: #f16522;
}

.edu-card:has(.edu-card-link--teal) .edu-meta-icon {
    color: #1e7b74;
}

.edu-card:has(.edu-card-link--navy) .edu-meta-icon {
    color: #1c2b4a;
}

/* ---- Featured first row + remaining 2-up ---- */
.edu-programmes {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.edu-card--featured {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-rows: none;
    grid-row: auto;
    gap: 0;
    align-items: stretch;
    background: #ffffff;
    overflow: hidden;
}

.edu-card--featured .edu-card-img {
    height: 100%;
    min-height: 360px;
    border-radius: 0;
    grid-column: 2;
    grid-row: 1;
}

.edu-card--featured .edu-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-column: 1;
    grid-row: 1;
    padding: 32px 36px 32px 32px;
}

/* Training / secondary featured row: image on the left */
.edu-card--featured-image-left .edu-card-img {
    grid-column: 1;
}

.edu-card--featured-image-left .edu-card-body {
    grid-column: 2;
    padding: 32px 32px 32px 36px;
}

.edu-card--featured .edu-card-title {
    font-size: 28px;
    margin: 0 0 12px;
}

.edu-card--featured .edu-card-desc {
    margin: 0 0 24px;
}

.edu-card--featured .edu-card-meta {
    margin-bottom: 28px;
}

.edu-card--featured .edu-card-link {
    align-self: flex-start;
    width: auto;
    min-width: 220px;
    padding: 16px 28px;
    border-radius: 999px !important;
    gap: 48px;
}

.edu-cards--secondary {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 24px;
}

.edu-cards--secondary:has(> .edu-card:first-child:last-child) {
    grid-template-columns: 1fr;
}

/* ==========================================================================
   EDUCATION SECTION ? RESPONSIVE
   ========================================================================== */

/* Laptop (?1279px) */
@media (max-width: 1279px) {
    .edu-inner {
        padding: 96px 80px;
    }

    .edu-heading {
        font-size: 38px;
    }

    .edu-stat-num {
        font-size: 54px;
    }

    .edu-top {
        margin-bottom: 64px;
    }
}

/* Tablet landscape (?992?1199px) */
@media (max-width: 1279px) {
    .edu-inner {
        padding: 80px 48px;
    }

    .edu-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
        margin-bottom: 48px;
    }

    .edu-header {
        max-width: 100%;
    }

    .edu-stats {
        gap: 40px;
    }
}

/* Tablet (?991px) */
@media (max-width: 991px) {
    .edu-inner {
        padding: 80px 48px;
    }

    .edu-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
        margin-bottom: 48px;
    }

    .edu-header {
        max-width: 100%;
    }

    .edu-heading {
        font-size: 34px;
    }

    .edu-stats {
        gap: 40px;
    }

    .edu-stat-num {
        font-size: 48px;
    }

    .edu-cards:has(> .edu-card:first-child:last-child) {
        grid-template-columns: 1fr;
    }

    .edu-cards:has(> .edu-card:nth-child(2):last-child) {
        grid-template-columns: repeat(2, 1fr);
    }

    .edu-cards:has(> .edu-card:nth-child(3):last-child) {
        grid-template-columns: repeat(2, 1fr);
    }

    .edu-cards:has(> .edu-card:nth-child(3):last-child) .edu-card:last-child {
        grid-column: 1 / -1;
    }

    .edu-card--featured {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .edu-card--featured .edu-card-img {
        min-height: 280px;
        height: 280px;
        grid-column: auto;
        grid-row: auto;
    }

    .edu-card--featured .edu-card-body {
        padding: 24px 28px 28px;
        grid-column: auto;
        grid-row: auto;
    }

    .edu-card--featured-image-left .edu-card-body {
        padding: 24px 28px 28px;
    }
}

/* Mobile (?767px) */
@media (max-width: 767px) {
    .edu-inner {
        padding: 64px 24px;
    }

    .edu-top {
        gap: 32px;
        margin-bottom: 40px;
    }

    .edu-heading {
        font-size: 30px;
    }

    .edu-stats {
        gap: 32px;
    }

    .edu-stat-num {
        font-size: 42px;
    }

    .edu-cards,
    .edu-cards--secondary {
        grid-template-columns: 1fr;
    }

    .edu-card--featured .edu-card-title {
        font-size: 22px;
    }

    .edu-card--featured .edu-card-link {
        min-width: 0;
        width: 100%;
        gap: 12px;
    }
}

/* Small mobile (?479px) */
@media (max-width: 479px) {
    .edu-inner {
        padding: 48px 16px;
    }

    .edu-heading {
        font-size: 26px;
    }

    .edu-stat-num {
        font-size: 38px;
    }

    .edu-card-body {
        padding: 28px 24px 42px;
    }

    .edu-card-title {
        font-size: 17px;
    }

    .edu-card-desc {
        font-size: 16px;
    }

    .edu-card-link {
        font-size: 12px;
    }
}

/* =============================================================
   RESEARCH + PUBLICATIONS (combined homepage section)
   ============================================================= */
.rsch-pub-section {
    background: #ffffff;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.rsch-pub-section::after {
    content: "";
    position: absolute;
    width: 384px;
    height: 384px;
    background: #f47920;
    opacity: 0.05;
    border-radius: 50%;
    top: -15px;
    right: -304px;
    pointer-events: none;
}

.rsch-pub-inner {
    max-width: 1921px;
    margin: 0 auto;
    padding: 40px 140px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.rsch-section {
    background: #ffffff;
}

.rsch-inner {
    max-width: 1921px;
    margin: 0 auto;
    padding: 120px 140px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Nested inside combined section — no extra outer padding */
.rsch-pub-section .rsch-inner,
.rsch-pub-section .pub-inner {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ---- Publication stats (between research + recent pubs; CMS: Homepage → Publications) ---- */
.rsch-pub-stats {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.rsch-pub-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 28px 24px;
    border-radius: var(--radius-card, 15px);
    background: #1c2b4a;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    box-shadow: none;
    transition:
        background-color 0.6s ease,
        color 0.6s ease,
        box-shadow 0.6s ease;
    isolation: isolate;
}

.rsch-pub-stat:hover {
    background: #ffffff;
    overflow: visible;
    z-index: 2;
    box-shadow:
        0 2px 4px rgba(28, 43, 74, 0.04),
        0 8px 24px rgba(28, 43, 74, 0.08),
        0 20px 48px rgba(28, 43, 74, 0.06);
}

.rsch-pub-stat::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    right: -50px;
    bottom: -70px;
    pointer-events: none;
    transition: background-color 0.25s ease;
}

.rsch-pub-stat:hover::after {
    background: rgba(28, 43, 74, 0.06);
}

.rsch-pub-stat--primary {
    gap: 10px;
    padding: 28px 32px;
}

.rsch-pub-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    transition: background-color 0.25s ease;
}

.rsch-pub-stat:hover .rsch-pub-stat-icon {
    background: rgba(28, 43, 74, 0.12);
}

.rsch-pub-stat-icon img {
    transition: filter 0.25s ease;
}

.rsch-pub-stat:hover .rsch-pub-stat-icon img {
    filter: brightness(0);
}

.rsch-pub-stat-num {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1;
    color: #ffffff;
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    transition: color 0.6s ease;
}

.rsch-pub-stat:hover .rsch-pub-stat-num {
    color: #000000;
}

.rsch-pub-stat--primary .rsch-pub-stat-num {
    font-size: 64px;
}

.rsch-pub-stat-title {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.35;
    color: #ffffff;
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    transition: color 0.6s ease;
}

.rsch-pub-stat:hover .rsch-pub-stat-title {
    color: #000000;
}

.rsch-pub-stat--primary .rsch-pub-stat-title {
    font-size: 17px;
}

.rsch-pub-stat-text {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    transition: color 0.6s ease;
}

.rsch-pub-stat:hover .rsch-pub-stat-text {
    color: rgba(0, 0, 0, 0.75);
}

.rsch-pub-stat--primary .rsch-pub-stat-text {
    font-size: 13px;
}

.pub-body--full .pub-right {
    width: 100%;
    flex: 1 1 100%;
    max-width: 100%;
}

@media (max-width: 1024px) {
    .rsch-pub-stats {
        grid-template-columns: 1fr;
    }

    .rsch-pub-stat--primary .rsch-pub-stat-num {
        font-size: 56px;
    }
}

@media (max-width: 1440px) {
    .rsch-pub-inner {
        padding: 40px 80px;
        gap: 40px;
    }

    .rsch-pub-section .rsch-inner,
    .rsch-pub-section .pub-inner {
        padding: 0;
    }
}

@media (max-width: 1024px) {
    .rsch-pub-inner {
        padding: 40px 48px;
        gap: 40px;
    }

    .rsch-pub-section .rsch-inner,
    .rsch-pub-section .pub-inner {
        padding: 0;
    }
}

@media (max-width: 767px) {
    .rsch-pub-inner {
        padding: 40px 24px;
        gap: 32px;
    }

    .rsch-pub-section .rsch-inner,
    .rsch-pub-section .pub-inner {
        padding: 0;
    }
}

/* ?? Section header ?? */
.rsch-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    min-height: 90px;
}

.rsch-header-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 765px;
}

.rsch-label {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 20.65px;
}

.rsch-label-line {
    display: block;
    width: 39.33px;
    height: 1.23px;
    background: #f16522;
    flex-shrink: 0;
}

.rsch-label-text {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f16522;
}

.rsch-heading {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 120%;
    color: #1c2b4a;
    margin: 0;
}

.rsch-heading em {
    font-style: italic;
}

/* ── Content grid ── */
.rsch-content {
    display: grid;
    grid-template-columns: 668fr 946fr;
    column-gap: 25px;
    align-items: stretch;
}

/* ── Left image panel ── */
.rsch-img-panel {
    position: relative;
    min-height: 629px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Gradient overlay matching Figma (0deg navy to transparent) */
.rsch-img-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,
            rgba(28, 43, 74, 0.97) 0%,
            rgba(28, 43, 74, 0.6) 50%,
            rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.rsch-img-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 41px;
    z-index: 2;
}

.rsch-img-title {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 150%;
    color: #ffffff;
    margin: 0;
    max-width: 536px;
}

/* ── Right column ── */
.rsch-right-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
}

/* ── 4 Stats 2x2 grid ── */
.rsch-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 30px;
}

.rsch-stat-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    min-height: 135px;
    border-radius: var(--radius-card, 15px);
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rsch-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(28, 43, 74, 0.12);
}

.rsch-stat-card--navy {
    background: #1c2b4a;
}

.rsch-stat-card--orange {
    background: #f16522;
}

.rsch-stat-num {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 800;
    font-size: 52px;
    line-height: 1;
    color: #ffffff;
    margin: 0;
}

.rsch-stat-label {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: #ffffff;
    margin: 0;
}

/* ── Right white card ── */
.rsch-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 36px 28px;
    border: 1.27px solid #e5e7eb;
    background: #ffffff;
    box-sizing: border-box;
    flex: 1;
}

.rsch-card-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rsch-card-title {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 140%;
    color: #1c2b4a;
    margin: 0;
}

.rsch-card-body {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    color: #4b5563;
    margin: 0;
}

.rsch-card-body strong {
    font-weight: 600;
    color: #1c2b4a;
}

.rsch-card-footer {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
}

.rsch-explore-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    color: #f16522;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    width: fit-content;
}

.rsch-explore-link:hover {
    opacity: 0.85;
    transform: translateX(4px);
}

.rsch-explore-link svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.rsch-explore-link:hover svg {
    transform: translateX(3px);
}

/* =============================================================
   RESEARCH SECTION ? RESPONSIVE
   ============================================================= */

/* Large laptop (1280?1440px): shrink padding/gap/fonts, keep 2 columns */
@media (max-width: 1440px) {
    .rsch-inner {
        padding: 90px 80px;
        gap: 56px;
    }

    .rsch-card {
        gap: 24px;
        padding: 28px;
        min-height: unset;
    }

    .rsch-card-title {
        font-size: 26px;
    }

    .rsch-img-title {
        font-size: 26px;
    }

    .rsch-card-body {
        font-size: 16px;
    }

    .rsch-stat-num {
        font-size: 44px;
    }

    .rsch-stat-card {
        padding: 20px;
    }

    .rsch-stats-grid {
        gap: 14px 20px;
    }
}

/* Laptop (1024?1279px): tighter again */
@media (max-width: 1279px) {
    .rsch-inner {
        padding: 80px 64px;
        gap: 48px;
    }

    .rsch-heading {
        font-size: 36px;
    }

    .rsch-content {
        column-gap: 20px;
    }

    .rsch-card {
        gap: 20px;
        padding: 24px;
    }

    .rsch-card-title {
        font-size: 22px;
    }

    .rsch-img-title {
        font-size: 22px;
    }

    .rsch-card-body {
        font-size: 15px;
    }

    .rsch-stat-num {
        font-size: 38px;
    }

    .rsch-stat-label {
        font-size: 14px;
    }

    .rsch-stat-card {
        padding: 18px 16px;
        min-height: 120px;
    }

    .rsch-stats-grid {
        gap: 12px 16px;
    }

    .rsch-img-panel {
        min-height: unset;
    }
}

/* Tablet (768?1023px): switch to single column */
@media (max-width: 991px) {
    .rsch-inner {
        padding: 64px 48px;
        gap: 40px;
    }

    .rsch-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        min-height: auto;
    }

    .rsch-content {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 24px;
    }

    .rsch-right-col {
        gap: 24px;
    }

    .rsch-img-panel {
        height: 380px;
        min-height: unset;
    }

    .rsch-card {
        gap: 20px;
        padding: 28px;
        min-height: unset;
    }

    .rsch-heading {
        font-size: 32px;
    }

    .rsch-explore-link {
        font-size: 16px;
    }

    .rsch-card-title,
    .rsch-img-title {
        font-size: 24px;
    }

    .rsch-card-body {
        font-size: 16px;
    }
}

/* Mobile (480?767px) */
@media (max-width: 767px) {
    .rsch-inner {
        padding: 48px 24px;
        gap: 32px;
    }

    .rsch-heading {
        font-size: 28px;
    }

    .rsch-card {
        padding: 20px;
        gap: 16px;
    }

    .rsch-img-panel {
        height: 300px;
    }

    .rsch-img-body {
        padding: 24px;
    }

    .rsch-card-title,
    .rsch-img-title {
        font-size: 22px;
    }

    .rsch-card-body {
        font-size: 15px;
    }

    .rsch-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .rsch-stat-num {
        font-size: 34px;
    }

    .rsch-stat-label {
        font-size: 13px;
    }

    .rsch-stat-card {
        padding: 16px 14px;
        min-height: 105px;
    }
}

/* Small mobile (?479px) */
@media (max-width: 479px) {
    .rsch-inner {
        padding: 36px 16px;
        gap: 24px;
    }

    .rsch-heading {
        font-size: 24px;
    }

    .rsch-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rsch-stat-card {
        min-height: unset;
        padding: 16px 20px;
    }

    .rsch-card-title,
    .rsch-img-title {
        font-size: 20px;
    }

    .rsch-card {
        padding: 16px;
        gap: 14px;
    }

    .rsch-card-actions {
        flex-wrap: wrap;
        gap: 10px;
    }

    .rsch-card-body {
        font-size: 14px;
    }

    .rsch-btn {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* ============================================================
   PUBLICATIONS SECTION
   Figma node: 706-6469 ? 1920 ? 1117px, white background
   ============================================================ */

.pub-section {
    background: #ffffff;
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Decorative orange circle ? top-right, 5% opacity */
.pub-section::after {
    content: "";
    position: absolute;
    width: 384px;
    height: 384px;
    background: #f47920;
    opacity: 0.05;
    border-radius: 50%;
    top: -15px;
    right: -304px;
    pointer-events: none;
}

.pub-inner {
    max-width: 1921px;
    margin: 0 auto;
    padding: 120px 140px;
    position: relative;
}

/* ?? Section label ?? */
.pub-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.pub-label-line {
    display: block;
    width: 32px;
    height: 2px;
    background: #f16522;
    flex-shrink: 0;
}

.pub-label-text {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f16522;
}

/* ?? Main body: two-column layout ?? */
.pub-body {
    display: flex;
    align-items: flex-start;
    gap: 29px;
    width: 100%;
    max-width: 100%;
}

/* ?? Left column (531px) ?? */
.pub-left {
    width: 531px;
    flex: 0 0 531px;
    display: flex;
    flex-direction: column;
}

.pub-heading {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 120%;
    color: #1c2b4a;
    margin: 0 0 122px 0;
}

.pub-heading em {
    font-style: italic;
    font-weight: 700;
}

/* Stats wrap */
.pub-stats-wrap {
    display: flex;
    flex-direction: column;
    gap: 21px;
}

/* Navy main stat card ? fixed-height, absolutely positioned internals */
.pub-stat-card {
    background: #1c2b4a;
    width: 531px;
    height: 406px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.pub-stat-icon {
    position: absolute;
    top: 28px;
    left: 33px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pub-stat-num {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 80px;
    line-height: 1;
    color: #ffffff;
    position: absolute;
    top: 143px;
    left: 32px;
}

.pub-stat-subtitle {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 17px;
    line-height: 25.5px;
    color: rgba(255, 255, 255, 0.9);
    position: absolute;
    top: 229px;
    left: 32px;
    width: 341px;
}

.pub-stat-body {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 150%;
    color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 282px;
    left: 32px;
    width: 457px;
    margin: 0;
}

/* Decorative white circle inside navy card */
.pub-stat-decor {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    left: 293px;
    top: 235px;
}

/* Mini stat cards */
.pub-mini-cards {
    display: flex;
    gap: 26px;
}

.pub-mini-card {
    flex: 1;
    height: 109px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 10px 21px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.pub-mini-num {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 150%;
    color: #1c2b4a;
    display: block;
}

.pub-mini-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.pub-mini-label {
    font-family: "Inter", "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 150%;
    color: #374151;
    display: block;
}

.pub-mini-sub {
    font-family: "Inter", "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 150%;
    color: #9ca3af;
    display: block;
}

/* ?? Right column (publications list) ?? */
.pub-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* List header */
.pub-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 24px;
    margin-bottom: 16px;
}

.pub-list-title {
    font-family: "DM Sans", sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 150%;
    color: #1c2b4a;
    margin: 0;
}

/* Cards grid: 2 columns, diagonal purple → teal → navy */
.pub-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 100%;
}

/* Publication card */
.pub-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 11px;
    padding: 24px;
    height: 157px;
    text-decoration: none;
    position: relative;
    background: transparent;
    border: 3px solid transparent;
    box-sizing: border-box;
    box-shadow: none;
    overflow: hidden;
    isolation: isolate;
    transition:
        border-color 0.6s ease,
        box-shadow 0.6s ease;
}

.pub-card:hover {
    filter: none;
    overflow: visible;
    z-index: 2;
    box-shadow:
        0 2px 4px rgba(28, 43, 74, 0.04),
        0 8px 24px rgba(28, 43, 74, 0.08),
        0 20px 48px rgba(28, 43, 74, 0.06);
}

.pub-card--purple {
    border-color: #74387c;
}

.pub-card--teal {
    border-color: #1e7b74;
}

.pub-card--navy {
    border-color: #1c2b4a;
}

.pub-card--purple:hover {
    border-color: #74387c;
}

.pub-card--teal:hover {
    border-color: #1e7b74;
}

.pub-card--navy:hover {
    border-color: #1c2b4a;
}

/* Card top meta row */
.pub-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.pub-card-type {
    background: rgba(28, 43, 74, 0.08);
    padding: 3.1px 8.98px;
    font-family: "Inter", "DM Sans", sans-serif;
    font-weight: 800;
    font-size: 9px;
    line-height: 13.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1c2b4a;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.pub-card--purple .pub-card-type {
    background: rgba(116, 56, 124, 0.1);
    color: #74387c;
}

.pub-card--teal .pub-card-type {
    background: rgba(30, 123, 116, 0.1);
    color: #1e7b74;
}

.pub-card--navy .pub-card-type {
    background: rgba(28, 43, 74, 0.08);
    color: #1c2b4a;
}

.pub-card-year {
    font-family: "Inter", "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 11.5px;
    line-height: 17.25px;
    color: rgba(0, 0, 0, 0.55);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.pub-card-journal {
    font-family: "Inter", "DM Sans", sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: 11.5px;
    line-height: 17.25px;
    color: rgba(0, 0, 0, 0.55);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    position: relative;
    z-index: 1;
}

/* Card title */
.pub-card-title {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 15.5px;
    line-height: 22.48px;
    color: #000000;
    margin: 0;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    position: relative;
    z-index: 1;
}

/* Card footer: authors + action links */
.pub-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 1;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.pub-card-authors {
    font-family: "Inter", "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: rgba(0, 0, 0, 0.65);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.pub-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.pub-card-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: "Inter", "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    color: #1c2b4a;
    white-space: nowrap;
}

.pub-card-action img {
    filter: brightness(0);
}

/* Browse full database button */
.pub-browse-wrap {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}

.pub-browse-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 52px;
    border: 2px solid #1c2b4a;
    text-decoration: none;
    font-family: "Inter", "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    color: #1c2b4a;
    text-align: center;
    width: auto;
    min-width: 480px;
    max-width: 100%;
    white-space: nowrap;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.pub-browse-btn:hover {
    background: #1c2b4a;
    color: #ffffff;
}

.pub-browse-btn:hover img {
    filter: invert(1) brightness(10);
}

/* ?? Responsive ?? */

/* Large laptop (1280?1440px) */
@media (max-width: 1440px) {
    .pub-inner {
        padding: 90px 80px;
    }

    .pub-heading {
        font-size: 38px;
    }

    .pub-stat-num {
        font-size: 64px;
        top: 148px;
    }

    .pub-stat-subtitle {
        top: 222px;
    }

    .pub-stat-body {
        top: 272px;
        width: 420px;
    }
}

/* Laptop (1024?1279px) */
@media (max-width: 1279px) {
    .pub-inner {
        padding: 80px 64px;
    }

    .pub-left {
        width: 480px;
        flex: 0 0 480px;
    }

    .pub-stat-card {
        width: 100%;
    }
}

/* Tablet landscape (992?1199px): stack columns */
@media (max-width: 1279px) {
    .pub-inner {
        padding: 80px 48px;
    }

    .pub-body {
        flex-direction: column;
        gap: 48px;
    }

    .pub-left {
        width: 100%;
        flex: unset;
    }

    .pub-heading {
        font-size: 36px;
        margin-bottom: 32px;
    }

    .pub-stat-card {
        width: 100%;
        max-width: 531px;
    }

    .pub-stat-body {
        width: calc(100% - 64px);
    }

    .pub-right {
        padding-top: 0;
        width: 100%;
    }
}

/* Tablet portrait (768?991px) */
@media (max-width: 991px) {
    .pub-inner {
        padding: 64px 48px;
    }

    .pub-heading {
        font-size: 32px;
    }

    .pub-cards-grid {
        grid-template-columns: 1fr;
    }

    .pub-card {
        height: auto;
        min-height: 157px;
    }

    .pub-card-title {
        -webkit-line-clamp: 3;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .pub-inner {
        padding: 48px 24px;
    }

    .pub-heading {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .pub-stat-card {
        height: 440px;
    }

    .pub-stat-num {
        font-size: 56px;
        top: 148px;
    }

    .pub-stat-subtitle {
        font-size: 15px;
        top: 212px;
        width: calc(100% - 64px);
    }

    .pub-stat-body {
        top: 268px;
        width: calc(100% - 64px);
    }

    .pub-stat-decor {
        left: auto;
        right: -40px;
    }

    .pub-mini-cards {
        gap: 12px;
    }

    .pub-mini-card {
        padding: 10px 14px;
    }

    .pub-mini-num {
        font-size: 24px;
    }

    .pub-browse-btn {
        width: 100%;
        min-width: 0;
        white-space: normal;
    }
}

/* Small mobile (?479px) */
@media (max-width: 479px) {
    .pub-inner {
        padding: 36px 16px;
    }
}

/* ============================================================
   TRAINING SECTION
   Figma node: 706-6675 ? 1920 ? 956px, bg #F8F7F4
   ============================================================ */

.trng-section {
    background: #f8f7f4;
    position: relative;
    overflow: visible;
}

.trng-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 120px 140px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 1;
}

/* ?? Decorative fade overlays (left prev / right next) ?? */
.trng-decor {
    position: absolute;
    top: 0;
    bottom: 0;
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
    pointer-events: auto;
    z-index: 4;
    display: flex;
    align-items: center;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.trng-decor--left {
    left: 0;
    width: 288px;
}

.trng-decor--right {
    right: 0;
    width: 343px;
}

.trng-decor--hidden {
    opacity: 0;
    pointer-events: none;
}

.trng-decor:disabled {
    cursor: default;
}

.trng-decor img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Full-bleed training slider (Figma 706-6675) */
.trng-slider-wrap {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: visible;
}

.trng-section:has(.trng-slider-wrap) {
    overflow-x: clip;
}

.trng-section .trng-cards.trng-cards--slider {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 24px;
    overflow-x: auto !important;
    overflow-y: visible;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 16px var(--site-gutter) 20px;
    scroll-padding-inline: var(--site-gutter);
    box-sizing: border-box;
}

.trng-section .trng-cards.trng-cards--slider::-webkit-scrollbar {
    display: none;
}

.trng-section .trng-cards.trng-cards--slider .trng-card {
    flex: 0 0 var(--trng-slider-card-width, 411px) !important;
    width: var(--trng-slider-card-width, 411px) !important;
    min-width: var(--trng-slider-card-width, 411px) !important;
    max-width: var(--trng-slider-card-width, 411px) !important;
    scroll-snap-align: start;
}

.trng-slider-wrap .trng-decor {
    display: none;
}

@media (min-width: 1280px) {
    .trng-slider-wrap .trng-decor {
        display: flex;
    }
}

/* Make the trng section itself span the full viewport width, keep inner centered with site gutters */
.trng-section {}

.trng-section .trng-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 15px var(--site-gutter);
    box-sizing: border-box;
}

/* ?? Top row ?? */
.trng-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

/* Constrain the header row to the site container width (match other sections) */
.trng-inner .trng-top {
    max-width: 1921px;
    margin: 0 auto;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

/* Cards row stays within the site container at all breakpoints */
.trng-inner .trng-cards {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    box-sizing: border-box;
}

.trng-section {
    overflow: visible;
}

.trng-inner {
    min-width: 0;
}

.trng-inner .trng-cards .trng-card {
    min-width: 0;
}

@media (min-width: 1280px) {
    .trng-inner .trng-cards .trng-card {
        min-width: 220px;
    }
}

/* Header: label + heading */
.trng-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
    width: 50%;
    max-width: 50%;
}

.trng-label {
    display: flex;
    align-items: center;
    gap: 14.75px;
    height: 20.65px;
}

.trng-label-line {
    display: block;
    width: 39.33px;
    height: 1.23px;
    background: #f16522;
    flex-shrink: 0;
}

.trng-label-text {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f16522;
}

.trng-heading {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 120%;
    letter-spacing: -0.0268em;
    color: #0d1b2a;
    margin: 0;
}

.trng-heading em {
    font-style: italic;
    font-weight: 700;
}

.trng-desc {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #5a6a85;
    margin: 8px 0 0;
    max-width: none;
}

/* Stat card (right side) */
.trng-stat-cards {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 16px 20px;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
}

.trng-stat-card {
    width: 240px;
    max-width: 100%;
    flex: 0 1 240px;
    background: #ffffff;
    border-left: 2.46px solid #f16522;
    padding: 16px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    min-height: 108px;
}

.trng-stat-num {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 150%;
    color: #f16522;
    display: block;
}

.trng-stat-label-text {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 150%;
    letter-spacing: 0.0508em;
    text-transform: uppercase;
    color: rgba(13, 27, 42, 0.45);
    display: block;
}

/* Training Tabs (Popular / Upcoming) */
.trng-tabs-wrap {
    max-width: 1921px;
    margin: 10px auto 10px auto;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trng-tabs {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(13, 27, 42, 0.08);
    border-radius: 9999px;
    padding: 5px;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(13, 27, 42, 0.04);
}

.trng-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: 9999px;
    background: transparent;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    color: #5a6a85;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    outline: none;
    text-decoration: none;
    user-select: none;
    white-space: nowrap;
}

.trng-tab:hover:not(.is-active) {
    color: #f16522;
    background: #fff4ed;
}

.trng-tab.is-active {
    background: #f16522;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(241, 101, 34, 0.28);
}

/* Tab Panes */
.trng-tab-panes {
    width: 100%;
    position: relative;
}

.trng-tab-pane {
    display: none;
    width: 100%;
}

.trng-tab-pane.is-active {
    display: block;
    animation: trngFadeIn 0.25s ease-out;
}

@keyframes trngFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trng-empty-state {
    max-width: 1921px;
    margin: 20px auto;
    padding: 60px var(--site-gutter);
    text-align: center;
    background: #ffffff;
    border: 1px dashed rgba(13, 27, 42, 0.15);
    border-radius: 12px;
}

.trng-empty-state p {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

@media (min-width: 1280px) {
    .trng-cards:not(.trng-cards--slider) .trng-card {
        max-width: 411px;
    }
}

@media (max-width: 767px) {
    .trng-tabs-wrap {
        margin: 5px auto 15px auto;
    }

    .trng-tabs {
        width: 100%;
    }

    .trng-tab {
        flex: 1;
        padding: 9px 16px;
        font-size: 13px;
        text-align: center;
    }
}

/* ?? Cards row ?? */
.trng-cards {
    display: flex;
    gap: 24px;
}

/* Individual card */
.trng-card {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s ease;
}

.trng-card:hover {
    box-shadow:
        0 4px 8px rgba(28, 43, 74, 0.08),
        0 12px 32px rgba(28, 43, 74, 0.14),
        0 28px 56px rgba(28, 43, 74, 0.12);
}

/* Card image */
.trng-card-img {
    position: relative;
    height: 201px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.trng-card-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.trng-card:hover .trng-card-img::before {
    transform: scale(1.06);
}

/* Card body */
.trng-card-body {
    height: 267px;
    position: relative;
    padding: 20px 24px 0;
    overflow: hidden;
}

/* Stats row */
.trng-card-stats {
    display: flex;
    align-items: center;
    gap: 6px;
}

.trng-card-stats--teal {
    color: #1e7b74;
}

.trng-card-stats--orange {
    color: #f47920;
}

.trng-stat-icon {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
}

.trng-stat-count {
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 150%;
    color: inherit;
}

.trng-stat-desc {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: rgba(13, 27, 42, 0.8);
}

/* Card title + description */
.trng-card-content {
    margin-top: 10px;
}

.trng-card-title {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    color: #111827;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trng-card-desc {
    font-family: "Inter", "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: rgba(17, 12, 45, 0.6);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read more link ? pinned at bottom of card body */
.trng-card-link {
    position: absolute;
    top: 200px;
    left: 24px;
    right: 24px;
    height: 38px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Inter", "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    line-height: 18.75px;
}

.trng-card-link--teal {
    color: #0d6e7a;
}

.trng-card-link--orange {
    color: #f47920;
}

/* ?? Responsive ?? */

/* Large desktop (< 1400px) */
@media (max-width: 1400px) {
    .trng-inner {
        padding: 100px 80px;
        gap: 64px;
    }

    .trng-heading {
        font-size: 38px;
    }

    .trng-stat-num {
        font-size: 38px;
    }

    .trng-header {
        width: 50%;
        max-width: 50%;
    }

    .trng-stat-cards {
        gap: 16px;
    }

    .trng-stat-card {
        width: 220px;
        flex-basis: 220px;
    }

    .trng-card-title {
        font-size: 22px;
    }

    .trng-card-desc {
        font-size: 15px;
    }
}

/* Tablet landscape (992?1199px) */
@media (max-width: 1279px) {
    .trng-inner {
        padding: 80px 48px;
        gap: 48px;
    }

    .trng-heading {
        font-size: 34px;
    }

    .trng-header {
        width: auto;
        max-width: none;
        flex: 1;
        margin-right: 0;
    }

    .trng-stat-cards {
        gap: 12px;
        align-items: center;
    }

    .trng-stat-card {
        width: 200px;
        flex: 0 1 200px;
        padding: 14px 16px;
        min-height: 96px;
    }

    .trng-slider-wrap {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .trng-section .trng-cards.trng-cards--slider {
        --trng-slider-card-width: 320px;
        scroll-snap-type: x mandatory;
        padding: 16px var(--site-gutter) 20px !important;
    }

    .trng-cards:not(.trng-cards--slider) {
        flex-wrap: wrap;
    }

    .trng-cards:not(.trng-cards--slider) .trng-card {
        flex: 0 0 calc(50% - 12px);
    }

    /* Un-pin the read more link for wrapped cards */
    .trng-card-body {
        height: auto;
        min-height: 267px;
        padding-bottom: 52px;
    }

    .trng-card-link {
        bottom: 0;
        top: auto;
    }
}

/* Reset breakout on tablet and smaller to avoid horizontal scrolling */
@media (max-width: 1279px) {
    .trng-inner .trng-cards:not(.trng-cards--slider) {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
}

@media (max-width: 767px) {
    .trng-inner .trng-cards:not(.trng-cards--slider) {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    .trng-cards:not(.trng-cards--slider) .trng-card {
        flex: unset !important;
        width: 100% !important;
    }

    .trng-section .trng-cards.trng-cards--slider {
        --trng-slider-card-width: min(88vw, 320px);
    }

    .trng-stat-cards {
        flex-direction: column;
    }

    .trng-stat-cards .trng-stat-card {
        max-width: 100%;
        flex: none;
    }
}

/* Tablet portrait (768?991px) */
@media (max-width: 991px) {
    .trng-inner {
        padding: 64px 32px;
        gap: 40px;
    }

    .trng-top {
        flex-direction: column;
        align-items: center;
        text-align: left;
        gap: 24px;
    }

    .trng-header {
        margin-right: 0;
        width: 100%;
        max-width: none;
        align-items: flex-start;
    }

    .trng-stat-cards {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 16px;
    }

    .trng-stat-card {
        width: 100%;
        max-width: 360px;
        flex: 1 1 240px;
    }

    .trng-heading {
        font-size: 32px;
    }
}

/* Section Learn more CTA */
.trng-cta {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.trng-learn-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background-color: #f16522;
    border: 1.5px solid #f16522;
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
    border-radius: var(--radius-btn, 10px);
    transition:
        background 0.2s,
        border-color 0.2s,
        color 0.2s,
        gap 0.2s,
        box-shadow 0.25s ease;
}

.trng-learn-btn:hover {
    background-color: #d4571c;
    border-color: #d4571c;
    color: #ffffff;
    gap: 14px;
    box-shadow: 0 8px 24px rgba(241, 101, 34, 0.28);
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .trng-inner {
        padding: 48px 20px;
        gap: 32px;
    }

    .trng-heading {
        font-size: 28px;
    }

    .trng-stat-num {
        font-size: 32px;
    }

    .trng-cards:not(.trng-cards--slider) {
        flex-direction: column;
    }

    .trng-cards:not(.trng-cards--slider) .trng-card {
        flex: unset;
        width: 100%;
    }

    .trng-card-img {
        height: 180px;
    }

    .trng-card-title {
        font-size: 20px;
    }

    .trng-card-desc {
        font-size: 15px;
    }

    .trng-stat-label-text {
        font-size: 11px;
    }

    .trng-cta {
        margin-top: 28px;
    }

    .trng-learn-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ============================================================
   LATEST UPDATES SECTION (Homepage)
   4-column grid layout for <= 4 items; slider for > 4 items
   ============================================================ */
.trng-section--latest-updates .trng-cards:not(.trng-cards--slider) {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.trng-section--latest-updates .trng-cards:not(.trng-cards--slider) .trng-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: unset !important;
    box-sizing: border-box !important;
}

@media (max-width: 1024px) {
    .trng-section--latest-updates .trng-cards:not(.trng-cards--slider) {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .trng-section--latest-updates .trng-cards:not(.trng-cards--slider) {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   ENDOWED CHAIR SECTION
   Figma node: 706-6795 ? 1920 ? 765px, bg #1E7B74
   ============================================================ */

.echr-section {
    background: #1e7b74;
    overflow: hidden;
    padding: 0 var(--site-gutter);
    height: 765px;
}

.echr-inner {
    position: relative;
    height: 100%;
    /* match site inner container width */
    max-width: 1921px;
    margin: 0 auto;
}

/* ?? Left: white photo panel ?? */
.echr-photo-col {
    position: absolute;
    left: var(--site-gutter);
    top: 31px;
    /* reduced image column width to better match other sections */
    width: 620px;
    height: 702px;
    background: #ffffff;
    overflow: hidden;
    border-radius: var(--radius-card, 15px);
}

.echr-photo {
    position: absolute;
    left: -42px;
    top: -12px;
    width: 987px;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Right-edge gradient: blends photo into teal */
.echr-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(35, 31, 32, 0) 0%,
            rgba(30, 123, 116, 0.4) 100%);
    pointer-events: none;
}

/* ?? Orange vertical divider ?? */
.echr-divider {
    position: absolute;
    /* place divider just to the right of the photo panel */
    left: calc(var(--site-gutter) + 659px);
    top: 0;
    width: 1px;
    height: 905px;
    background: #bdb4b44d;
}

/* ?? Right: teal content column ?? */
.echr-content-col {
    position: absolute;
    /* align content column to sit to the right of the divider with the same gutter offsets */
    left: calc(var(--site-gutter) + 669px);
    top: 0;
    right: 0;
    bottom: 0;
    padding: 78px 40px 60px 59px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Section label */
.echr-label {
    display: flex;
    align-items: center;
    gap: 14.75px;
    height: 20.65px;
    margin-bottom: 29px;
}

.echr-label-line {
    display: block;
    width: 39.33px;
    height: 1.23px;
    background: #f16522;
    flex-shrink: 0;
}

.echr-label-text {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 13.77px;
    line-height: 20.65px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #f16522;
}

/* Heading */
.echr-heading {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 120%;
    letter-spacing: -0.0246em;
    color: #ffffff;
    margin: 0 0 30px;
    max-width: 742px;
}

/* Body paragraphs */
.echr-body {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    max-width: 742px;
    margin: 0 0 20px;
}

.echr-body--1 {
    color: rgba(255, 255, 255, 0.7);
}

.echr-body--2 {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* CTA buttons */
.echr-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: auto;
    padding-top: 32px;
}

.echr-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: "DM Sans", sans-serif;
    font-size: 17.21px;
    line-height: 25.81px;
    transition: opacity 0.2s ease;
}

.echr-btn:hover {
    opacity: 0.88;
}

/* Primary: orange fill */
.echr-btn--primary {
    background: #f16522;
    color: #ffffff;
    font-weight: 600;
    padding: 18px 34px 18px 34px;
    min-width: 329px;
    justify-content: center;
}

/* Outline: white border */
.echr-btn--outline {
    color: #ffffff;
    font-weight: 500;
    border: 1.23px solid rgba(255, 255, 255, 0.3);
    padding: 18px 35px 18px 35px;
    min-width: 194px;
    justify-content: center;
}

/* ?? Responsive ?? */

@media (max-width: 1400px) {
    .echr-section {
        height: auto;
        padding: 0 60px;
    }

    .echr-inner {
        position: relative;
        height: auto;
        min-height: 700px;
    }

    .echr-photo-col {
        width: 620px;
        height: 580px;
        top: 40px;
    }

    .echr-photo {
        width: 820px;
        left: -30px;
    }

    .echr-divider {
        left: 695px;
        height: 100%;
        width: 3px;
    }

    .echr-content-col {
        left: 705px;
        padding: 60px 30px 60px 48px;
    }

    .echr-heading {
        font-size: 38px;
    }
}

@media (max-width: 1279px) {
    .echr-section {
        height: auto;
        padding: 0;
    }

    .echr-inner {
        position: static;
        display: flex;
        min-height: unset;
    }

    .echr-photo-col {
        position: relative;
        flex: 0 0 420px;
        height: auto;
        min-height: 600px;
        align-self: stretch;
        top: unset;
        left: unset;
    }

    .echr-photo {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .echr-divider {
        position: static;
        width: 3px;
        height: auto;
        flex-shrink: 0;
        align-self: stretch;
    }

    .echr-content-col {
        position: static;
        flex: 1;
        padding: 60px 40px 60px 48px;
        justify-content: center;
    }

    .echr-heading {
        font-size: 34px;
    }

    .echr-body {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .echr-section {
        padding: 0;
    }

    .echr-inner {
        flex-direction: column;
    }

    .echr-photo-col {
        flex: unset;
        width: 100%;
        height: 320px;
        min-height: unset;
        position: relative;
    }

    .echr-photo {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        object-fit: cover;
        object-position: top center;
    }

    .echr-divider {
        width: 100%;
        height: 3px;
    }

    .echr-content-col {
        padding: 48px 32px;
    }

    .echr-heading {
        font-size: 30px;
    }

    .echr-cta {
        flex-wrap: wrap;
        gap: 12px;
    }

    .echr-btn--primary,
    .echr-btn--outline {
        min-width: unset;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .echr-photo-col {
        height: 260px;
    }

    .echr-content-col {
        padding: 36px 20px;
    }

    .echr-heading {
        font-size: 26px;
    }

    .echr-body {
        font-size: 15px;
    }

    .echr-btn {
        font-size: 15px;
    }
}

/* ==========================================================================
   CTA SECTION  ? Figma node 706-6824 (1920 ? 774px, bg #F8F7F4)
   ========================================================================== */

.cta-section {
    background: #f8f7f4;
    padding: 120px 311.5px;
    overflow: hidden;
}

.cta-inner {
    max-width: 1297px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ?? Top header block ?? */
.cta-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 5px;
}

.cta-label-line {
    display: block;
    width: 32px;
    height: 2px;
    background: #f16522;
    flex-shrink: 0;
}

.cta-label-text {
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 150%;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #1c2b4a;
}

.cta-heading {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 52.8px;
    text-align: center;
    color: #0d1b2a;
    margin: 0 0 16px;
}

.cta-heading em {
    font-style: italic;
    color: #f16522;
}

.cta-subpara {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: #374151;
    margin: 0;
    max-width: 576px;
}

/* ?? Cards row ?? */
.cta-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
}

/* ?? Base card ?? */
.cta-card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    min-height: 290px;
    overflow: hidden;
    box-shadow: none;
    transition:
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

/* Card variants */
.cta-card--orange {
    background: #f16522;
}

.cta-card--dark {
    background:
        linear-gradient(0deg,
            rgba(28, 43, 74, 1) 57%,
            rgba(28, 43, 74, 0.4) 100%),
        url("../images/cta-research-bg.png") center/cover no-repeat;
}

.cta-card--white {
    background: #ffffff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.cta-card:hover {
    box-shadow:
        0 4px 12px rgba(28, 43, 74, 0.08),
        0 12px 32px rgba(28, 43, 74, 0.12);
    transform: translateY(-4px);
}

/* ?? Icon wrap ?? */
.cta-card-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    margin-bottom: 52px;
    padding: 0 10px;
}

.cta-card-icon-wrap--dim {
    background: rgba(255, 255, 255, 0.15);
}

.cta-card-icon-wrap--light {
    background: rgba(255, 255, 255, 0.3);
}

.cta-card-icon-wrap--peach {
    background: #fff3e8;
}

/* ?? Card heading ?? */
.cta-card-heading {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    color: #ffffff;
    margin: 0 0 16px;
}

.cta-card-heading--navy {
    color: #1c2b4a;
}

/* ?? Card paragraph ?? */
.cta-card-para {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 auto;
    padding-bottom: 24px;
}

.cta-card-para--navy {
    color: rgba(28, 43, 74, 0.6);
}

/* ?? Card link / CTA ?? */
.cta-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    text-decoration: none;
    padding: 10px 20px;
    align-self: flex-start;
    transition: opacity 0.2s ease;
}

.cta-card-link:hover {
    opacity: 0.88;
}

.cta-card-link--white {
    background: #ffffff;
    color: #1c2b4a;
}

.cta-card-link--orange {
    background: #f16522;
    color: #ffffff;
}

/* ?? Responsive ?? */
@media (max-width: 1400px) {
    .cta-section {
        padding: 100px 60px;
    }
}

@media (max-width: 1279px) {
    .cta-section {
        padding: 80px 40px;
    }

    .cta-heading {
        font-size: 38px;
    }

    .cta-cards {
        gap: 16px;
    }
}

@media (max-width: 991px) {
    .cta-section {
        padding: 64px 32px;
    }

    .cta-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-card {
        min-height: unset;
    }

    .cta-heading {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .cta-section {
        padding: 48px 20px;
    }

    .cta-inner {
        gap: 48px;
    }

    .cta-heading {
        font-size: 28px;
    }

    .cta-subpara {
        font-size: 15px;
    }
}

/* ============================================================
   SCROLL TO TOP
   Appears when the user scrolls down to the footer area.
   ============================================================ */

.scroll-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #f16522;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(241, 101, 34, 0.28);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background 0.2s ease;
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #e25a1e;
}

.scroll-to-top:focus-visible {
    outline: 2px solid #1c2b4a;
    outline-offset: 3px;
}

.scroll-to-top svg {
    display: block;
}

@media (max-width: 767px) {
    .scroll-to-top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

/* Global Pagination Component */
.brac-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 64px;
    padding-bottom: 20px;
}

.brac-pag-pages {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
}

.brac-pag-arrow,
.brac-pag-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 6px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: rgba(13, 27, 42, 0.6);
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.brac-pag-arrow {
    min-width: 36px;
    color: rgba(13, 27, 42, 0.5);
}

.brac-pag-arrow:hover:not(:disabled),
.brac-pag-page:hover:not(.brac-pag-active) {
    border-color: #f16522;
    color: #f16522;
}

.brac-pag-page.brac-pag-active {
    background: #f16522;
    border-color: #f16522;
    color: #ffffff;
}

.brac-pag-arrow:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Shared field validation errors (public site forms)
   -------------------------------------------------------------------------- */

.pi-input--error,
.pi-input.pi-input--error,
input.pi-input--error,
textarea.pi-input--error,
select.pi-input--error {
    border-color: #ef4444 !important;
}

.pi-field-error {
    display: block;
    margin: 4px 0 0;
    font-family: "DM Sans", Inter, sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #ef4444;
}

/* ==========================================================================
   Design radii — cards/images 15px, buttons 10px
   ========================================================================== */

.about-photo,
.about-stat-card,
.awards-card,
.edu-card,
.edu-card-img,
.impact-card,
.smc-card,
.smc-card-img-wrap,
.smc-card-img,
.school-intro-img,
.school-intro-img-wrap,
.rsch-card,
.rsch-img-panel,
.rsch-stat-card,
.pub-card,
.pub-stat-card,
.pub-mini-card,
.trng-card,
.trng-card-img,
.trng-stat-card,
.cta-card {
    border-radius: var(--radius-card);
}

.about-stat-card,
.awards-card,
.edu-card,
.smc-card,
.rsch-card,
.rsch-stat-card,
.pub-card,
.trng-card,
.cta-card {
    overflow: hidden;
}

.search-btn,
.btn-login,
.btn-apply,
.hero-btn,
.about-btn,
.pubs-btn,
.rsch-btn,
.echr-btn,
.pub-browse-btn,
.trng-learn-btn {
    border-radius: var(--radius-btn);
}