:root{--swaas-blue:#002147;--swaas-gold:#d9a126}
.slider-area,.hero-wrap.hero-wrap-2{display:none!important}.contact-section,.ftco-section{padding:3rem 0}.form-group{margin-bottom:1rem}.form-control,.form-select{min-height:44px}.nav-pills .nav-link{color:#002147}.nav-pills .nav-link.active{background:#002147}
.identity-header{background:#002147}.identity-brand img{width:auto;max-width:min(820px,100%);max-height:150px;object-fit:contain}.footer-logo{max-width:100%;max-height:110px;object-fit:contain}.page-banner{background:#0b2e67;border-bottom:5px solid var(--swaas-gold);color:#fff;padding:2.25rem 0}.page-banner h1{color:#fff}.page-banner .breadcrumb,.page-banner .breadcrumb a{color:#fff}.cms-page-content{padding-top:2.5rem;padding-bottom:3.5rem;min-height:240px}.legacy-page-wrap{padding:3rem 0}.tpo-hero .carousel-item{height:min(580px,62vw);min-height:360px}.tpo-hero .carousel-item img{width:100%;height:100%;object-fit:cover;filter:brightness(.58)}.tpo-home-card{height:100%;border:1px solid #dbe3ed;border-radius:14px;box-shadow:0 8px 24px rgba(0,33,71,.08)}.tpo-home-card img{height:220px;object-fit:cover}.recruiter-logo{height:110px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1rem}.recruiter-logo img{max-width:100%;max-height:75px;object-fit:contain}@media(max-width:991.98px){.identity-brand img{max-height:115px}.tpo-hero .carousel-item{height:430px}.identity-contact{display:none!important}}@media(max-width:575.98px){.identity-brand img{max-height:90px}.tpo-hero .carousel-item{height:390px}.tpo-hero .carousel-caption{left:8%;right:8%;bottom:2rem}.tpo-hero .carousel-caption h1,.tpo-hero .carousel-caption h2{font-size:1.8rem}}

/* TPO identity stripe and media positioning */
@media (min-width: 992px) {
    .identity-header,
    .identity-header > .container {
        min-height: 160px;
    }

    .identity-header {
        padding-block: 0;
    }

    .identity-brand {
        display: flex;
        width: min(865px, calc(100% - 250px));
        height: 160px;
        align-items: center;
        overflow: hidden;
    }

    .identity-brand img {
        width: auto;
        max-width: 100%;
        height: 160px;
        max-height: 160px;
        object-fit: contain;
        object-position: left center;
    }
}

.tpo-hero .carousel-item {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #002147;
}

.tpo-hero .hero-slide-backdrop {
    position: absolute;
    z-index: 0;
    inset: -18px;
    width: calc(100% + 36px);
    max-width: none;
    height: calc(100% + 36px);
    object-fit: cover;
    filter: blur(14px) brightness(.48);
    transform: scale(1.05);
}

.tpo-hero .carousel-item > img.hero-slide-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    filter: brightness(.86);
}

.tpo-inner-hero {
    background-image: url('/images/adminblock.jpg');
}

.collection-media-image {
    height: 230px;
    object-fit: cover;
}

.profile-img {
    width: 70px !important;
    height: 70px !important;
    border: 3px solid #eee;
    border-radius: 50%;
    object-fit: cover;
}

.tpo-director-portrait {
    width: 150px;
    height: 208px;
    object-fit: cover;
}

.tpo-hero .carousel-item::after {
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 20, 48, .88) 0%, rgba(0, 20, 48, .58) 32%, rgba(0, 20, 48, .12) 72%, transparent 100%);
    pointer-events: none;
}

.tpo-hero .carousel-caption {
    z-index: 3;
    right: max(1rem, calc((100vw - 1176px) / 2));
    bottom: 2rem;
    left: max(1rem, calc((100vw - 1176px) / 2));
    width: auto;
    max-width: 820px;
    padding: 0;
    text-align: left;
    transform: none;
}

.tpo-hero .carousel-control-prev,
.tpo-hero .carousel-control-next {
    z-index: 4;
}

.site-notice-modal .modal-close {
    border-color: var(--swaas-gold);
    background-color: var(--swaas-gold);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
    filter: none;
    opacity: 1;
}

.site-notice-modal .modal-close:hover,
.site-notice-modal .modal-close:focus {
    border-color: #f2c45a;
    background-color: #f2c45a;
    box-shadow: 0 0 0 .2rem rgba(217, 161, 38, .35);
    filter: none;
}

.tpo-hero .carousel-caption h1,
.tpo-hero .carousel-caption h2 {
    margin-bottom: .45rem;
    font-size: clamp(1.65rem, 3.2vw, 2.8rem);
}

.modal-visual::after {
    display: none;
}

.modal-image-copy {
    position: relative;
    z-index: auto;
    top: auto;
    left: auto;
    width: 100%;
    padding: 1rem 1.4rem 1.15rem;
    color: #fff;
    background: #002147;
    text-align: center;
    text-shadow: none;
    transform: none;
}

.modal-image-copy h2 {
    font-size: clamp(1.2rem, 2.6vw, 2rem);
    line-height: 1.3;
}

.modal-image-copy h2::after {
    margin: .65rem auto 0;
}

@media (max-width: 991.98px) {
    .identity-header,
    .identity-header > .container {
        min-height: 130px;
    }

    .identity-brand {
        display: flex;
        width: 100%;
        height: 130px;
        align-items: center;
    }

    .identity-brand img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 130px;
    }
}

@media (max-width: 575.98px) {
    .identity-header,
    .identity-header > .container {
        min-height: 104px;
    }

    .identity-brand {
        height: 104px;
    }

    .identity-brand img {
        max-height: 104px;
    }

    .tpo-hero .carousel-item {
        height: 390px;
        min-height: 390px;
    }

    .tpo-hero .carousel-item > img.hero-slide-image {
        object-position: center center;
    }

    .tpo-hero .carousel-caption {
        right: 1rem;
        bottom: 1.25rem;
        left: 1rem;
        width: auto;
    }

    .tpo-hero .carousel-caption h1,
    .tpo-hero .carousel-caption h2 {
        font-size: 1.55rem;
        line-height: 1.2;
    }

    .modal-image-copy {
        width: 100%;
        padding: .85rem 1rem 1rem;
    }
}

/* Keep the announcement footer inside its card and the news ticker below the hero. */
.notification-card {
    position: relative;
}

.notification-card .notification-list {
    max-height: 292px;
    margin-bottom: 0;
    overflow-y: auto;
}

.notification-card .notification-view-all {
    position: static;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
}

.news-strip {
    position: relative;
    z-index: 5;
    clear: both;
    margin-top: 0;
}

.tpo-hero {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.resource-download-panel {
    display: flex;
    margin-top: 2rem;
    padding: 1.25rem 1.4rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    border: 1px solid #d5dfed;
    border-left: 5px solid var(--swaas-gold);
    border-radius: 12px;
    background: #f5f8fc;
    box-shadow: 0 8px 22px rgba(0, 33, 71, .08);
}

.contact-directory-grid {
    display: grid;
    margin-top: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-person-card,
.contact-email-card {
    padding: 1.35rem;
    border: 1px solid #d8e1ed;
    border-top: 4px solid var(--swaas-gold);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 33, 71, .08);
}

.contact-person-card h3,
.contact-email-card h2 {
    margin: 0 0 .4rem;
    color: #002147;
}

.contact-person-card p,
.contact-email-card p {
    margin-bottom: .65rem;
}

.contact-person-card a,
.contact-email-card a {
    color: #0056b3;
    font-size: 1.15rem;
    font-weight: 800;
}

.contact-email-card {
    margin-top: 1rem;
}

@media (max-width: 767.98px) {
    .contact-directory-grid {
        grid-template-columns: 1fr;
    }
}

.resource-download-panel h2 {
    margin: 0 0 .25rem;
    padding: 0;
    border: 0;
    font-size: 1.2rem;
}

.resource-download-panel p {
    margin: 0;
}

/* Keep every official document name visible before and after interaction. */
.cms-page-content .resource-download-panel .resource-download-button,
.cms-page-content .resource-download-panel .resource-download-button:link,
.cms-page-content .resource-download-panel .resource-download-button:visited,
.cms-page-content .resource-download-panel .resource-download-button:hover,
.cms-page-content .resource-download-panel .resource-download-button:focus,
.cms-page-content .resource-download-panel .resource-download-button:active {
    display: inline-flex;
    min-width: 216px;
    min-height: 46px;
    padding: .72rem 1.15rem;
    align-items: center;
    justify-content: center;
    border: 2px solid #dca31d;
    border-radius: 6px;
    color: #ffd45c !important;
    background: #0c2d6b;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    opacity: 1;
}

.cms-page-content .resource-download-panel .resource-download-button:hover,
.cms-page-content .resource-download-panel .resource-download-button:focus {
    border-color: #ffd45c;
    color: #ffe18a !important;
    background: #071a45;
    box-shadow: 0 0 0 3px rgba(242, 193, 78, .3);
}

.cms-page-content .resource-download-panel .resource-download-button:focus-visible {
    outline: 3px solid #002147;
    outline-offset: 3px;
}

@media (max-width: 575.98px) {
    .resource-download-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .resource-download-panel .btn {
        width: 100%;
    }
}

/* Enhanced placement and opportunity cards. */
.opportunity-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid #d7e0ec;
    border-top: 4px solid var(--swaas-gold);
    border-radius: 16px;
    background: linear-gradient(145deg, #fff 62%, #f4f7fb 100%);
    box-shadow: 0 12px 30px rgba(0, 33, 71, .09);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.opportunity-card:hover,
.opportunity-card:focus-within {
    transform: translateY(-6px);
    border-color: #b9c8da;
    box-shadow: 0 18px 38px rgba(0, 33, 71, .16);
}

.opportunity-card-featured {
    background: linear-gradient(145deg, #fff 45%, #fff7df 100%);
}

.opportunity-card .card-body {
    display: flex;
    min-height: 220px;
    align-items: flex-start;
    flex-direction: column;
}

.opportunity-card-number {
    display: inline-grid;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    place-items: center;
    border-radius: 50%;
    color: #002147;
    background: #f2c14e;
    font-size: .83rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.opportunity-card h3 {
    color: #002147;
    font-weight: 800;
}

.opportunity-card p {
    color: #33445a;
}

.opportunity-card-link {
    margin-top: auto;
    color: #003f83;
    font-weight: 800;
    text-decoration: none;
}

.opportunity-card-link:hover,
.opportunity-card-link:focus {
    color: #001a38;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.student-registration-panel {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid #d7e0ec;
    border-top: 5px solid var(--swaas-gold);
    border-radius: 18px;
    background: linear-gradient(145deg, #fff 55%, #f2f6fb 100%);
    box-shadow: 0 15px 36px rgba(0, 33, 71, .12);
}

.student-registration-panel h2 {
    margin: .75rem 0 1rem;
    color: #002147;
}

.student-registration-panel .btn {
    margin-top: .75rem;
    padding: .8rem 1.3rem;
    font-weight: 800;
}

.cms-page-content .student-registration-panel .btn,
.cms-page-content .student-registration-panel .btn:link,
.cms-page-content .student-registration-panel .btn:visited,
.cms-page-content .student-registration-panel .btn:hover,
.cms-page-content .student-registration-panel .btn:focus,
.cms-page-content .student-registration-panel .btn:active {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 2px solid #dca31d;
    border-radius: 6px;
    color: #ffd45c !important;
    background: #0c2d6b;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    opacity: 1;
}

.cms-page-content .student-registration-panel .btn:hover,
.cms-page-content .student-registration-panel .btn:focus {
    border-color: #ffd45c;
    color: #ffe18a !important;
    background: #071a45;
    box-shadow: 0 0 0 3px rgba(242, 193, 78, .3);
}

.cms-page-content .student-registration-panel .btn:focus-visible {
    outline: 3px solid #002147;
    outline-offset: 3px;
}

@media (max-width: 575.98px) {
    .cms-page-content .student-registration-panel .btn {
        width: 100%;
    }
}

/* CMS-managed gallery highlights slider. */
.gallery-highlights {
    overflow: hidden;
}

.gallery-highlights-container {
    max-width: 1840px;
    padding-right: clamp(1rem, 3vw, 3.5rem);
    padding-left: clamp(1rem, 3vw, 3.5rem);
}

.gallery-highlights-heading {
    position: relative;
    margin-bottom: 1.4rem;
}

.gallery-highlights-heading .section-heading {
    margin-bottom: 0;
}

.gallery-slider-controls {
    position: absolute;
    top: 50%;
    right: 0;
    display: flex;
    gap: .45rem;
    transform: translateY(-50%);
}

.gallery-slider-controls button {
    display: inline-grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 2px solid #dca31d;
    border-radius: 5px;
    color: #002147;
    background: #f2c14e;
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.gallery-slider-controls button:hover,
.gallery-slider-controls button:focus-visible {
    color: #ffd45c;
    background: #002147;
    transform: translateY(-2px);
}

.gallery-slider-controls button:focus-visible {
    outline: 3px solid rgba(0, 33, 71, .3);
    outline-offset: 3px;
}

.gallery-slider-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.gallery-slider-viewport::-webkit-scrollbar {
    display: none;
}

.gallery-slider-track {
    display: flex;
    gap: 1.25rem;
}

.gallery-highlight-card {
    flex: 0 0 calc((100% - 2.5rem) / 3);
    min-width: 0;
    margin: 0;
    text-align: center;
    scroll-snap-align: start;
}

.gallery-highlight-image {
    display: block;
    overflow: hidden;
    border: 1px solid #d6dce4;
    border-radius: 7px;
    background: #e9eef5;
    box-shadow: 0 8px 20px rgba(0, 33, 71, .09);
}

.gallery-highlight-image img,
.gallery-highlight-placeholder {
    display: block;
    width: 100%;
    height: clamp(230px, 23vw, 335px);
}

.gallery-highlight-image img {
    object-fit: cover;
    transition: transform .35s ease;
}

.gallery-highlight-image:hover img,
.gallery-highlight-image:focus img {
    transform: scale(1.025);
}

.gallery-highlight-placeholder {
    display: grid;
    place-items: center;
    color: #52647a;
    font-weight: 800;
}

.gallery-highlight-card h3 {
    margin: .85rem 0 .25rem;
    color: #001a38;
    font-size: .95rem;
    font-weight: 800;
}

.gallery-highlight-card p {
    margin: 0 auto;
    color: #43546a;
    font-size: .9rem;
}

@media (max-width: 991.98px) {
    .gallery-highlight-card {
        flex-basis: calc((100% - 1.25rem) / 2);
    }

    .gallery-highlight-image img,
    .gallery-highlight-placeholder {
        height: 280px;
    }
}

@media (max-width: 575.98px) {
    .gallery-highlights-heading {
        padding-right: 96px;
    }

    .gallery-highlights-heading .section-heading {
        text-align: left !important;
        font-size: 1.65rem;
    }

    .gallery-highlight-card {
        flex-basis: 100%;
    }

    .gallery-highlight-image img,
    .gallery-highlight-placeholder {
        height: 245px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-slider-viewport {
        scroll-behavior: auto;
    }

    .gallery-highlight-image img,
    .gallery-slider-controls button {
        transition: none;
    }
}
