@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');
@import url('extra.css');
@import url('override.css');
@import url('detail-sidebar.css');

:root {
    --navy: #052d69;
    --navy2: #011d49;
    --red: #c82026;
    --gold: #c9912e;
    --ink: #14213b;
    --muted: #687185;
    --cream: #faf7f2;
    --line: #e1e4e9;
    --wrap: 1240px;
    --shadow: 0 10px 35px rgba(8, 38, 83, .12)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    font-size: 14px;
    line-height: 1.65
}

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

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

.wrap {
    width: min(var(--wrap), calc(100% - 40px));
    margin: auto
}

.skip {
    position: absolute;
    left: -9999px
}

.skip:focus {
    left: 10px;
    top: 10px;
    background: #fff;
    padding: 10px;
    z-index: 999
}

.top {
    height: 42px;
    background: var(--navy);
    color: #fff;
    font-size: 12px
}

.top-in {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.top span,
.top a {
    margin-right: 25px
}

.identity {
    height: 142px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #fffaf4, #fff 30%, #fff 70%, #fffaf4)
}

.identity img {
    width: min(690px, 92vw);
    max-height: 125px;
    object-fit: contain
}

.nav-bg {
    background: linear-gradient(90deg, #072e68, #001e4d);
    box-shadow: 0 4px 13px #0b2c5e42;
    position: relative;
    z-index: 20
}

.nav-row {
    min-height: 48px
}

.nav-row nav>ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center
}

.nav-row nav a {
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    display: block;
    padding: 15px 21px;
    border-bottom: 3px solid transparent
}

.nav-row nav li:first-child a,
.nav-row nav a:hover {
    background: var(--red);
    border-bottom-color: #f7c05e
}

.menu-btn {
    display: none
}

.hero {
    height: 440px;
    position: relative;
    overflow: hidden
}

.track,
.hero-slide {
    height: 100%
}

.hero-slide {
    display: none;
    background-position: center;
    background-size: cover
}

.hero-slide.active {
    display: block;
    animation: fade .5s
}

.hero-copy {
    padding-top: 64px
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    color: #092e65;
    font-size: 35px;
    line-height: 1.06;
    margin: 0 0 12px;
    max-width: 550px
}

.hero h1 em {
    display: block;
    color: var(--red);
    font-style: normal
}

.goldline {
    height: 3px;
    width: 54px;
    background: var(--gold);
    margin: 18px 0
}

.hero p {
    max-width: 550px;
    font-size: 15px
}

.btn {
    display: inline-block;
    padding: 11px 19px;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2px;
    border: 0
}

.btn.navy {
    background: var(--navy)
}

.btn.red {
    background: var(--red);
    margin-left: 8px
}

.hero>button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    width: 39px;
    height: 39px;
    border-radius: 50%;
    background: #ffffffb8;
    color: var(--navy);
    font-size: 28px;
    cursor: pointer
}

.hero .prev {
    left: 25px
}

.hero .next {
    right: 25px
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.feature-float {
    height: 120px;
    background: #fff;
    border-radius: 20px;
    margin-top: -45px;
    position: relative;
    z-index: 5;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    padding: 18px 25px
}

.feature-float>div {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 0 20px;
    border-right: 1px solid var(--line)
}

.feature-float>div:last-child {
    border: 0
}

.feature-float i {
    font-style: normal;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px
}

.feature-float>div:nth-child(even) i {
    background: var(--navy)
}

.feature-float b,
.feature-float small {
    display: block
}

.feature-float b {
    font-family: 'Playfair Display', serif;
    font-size: 14px
}

.feature-float small {
    font-size: 10px;
    color: var(--muted);
    margin-top: 5px
}

.section {
    padding: 42px 0
}

.about-box {
    display: grid;
    grid-template-columns: 1.25fr .52fr 1fr;
    min-height: 285px;
    background: linear-gradient(120deg, #fffdfa, #faf6ef);
    border: 1px solid #ebe6dd;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 7px 24px #182c5010
}

.about-box>div:first-child {
    padding: 30px 35px
}

.about label,
.heading label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 700
}

.about h2,
.heading h2 {
    font: 700 30px/1.15 'Playfair Display', serif;
    color: var(--navy);
    margin: 8px 0 17px
}

.about p {
    font-size: 13px
}

.about-box>img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.stats {
    border-left: 1px solid var(--line);
    padding: 25px;
    display: grid;
    gap: 11px
}

.stats b,
.stats small {
    display: block
}

.stats b {
    font: 600 26px 'Playfair Display', serif;
    color: var(--gold)
}

.stats sup {
    font-size: 14px
}

.stats small {
    font-size: 10px;
    color: var(--muted)
}

.courses {
    background: #f4f7fb
}

.heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 20px
}

.heading h2 {
    margin-bottom: 0
}

.round {
    border: 1px solid #ccd4e0;
    background: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--navy);
    cursor: pointer
}

.card-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 2px 16px
}

.card-track::-webkit-scrollbar {
    display: none
}

.course-card {
    scroll-snap-align: start;
    min-width: calc((100% - 54px)/4);
    background: #fff;
    padding: 26px;
    border-radius: 12px;
    border-top: 4px solid var(--navy);
    box-shadow: 0 5px 20px #132b5510
}

.course-card:nth-child(even) {
    border-color: var(--red)
}

.course-card>span {
    font-size: 11px;
    color: var(--red);
    font-weight: 700
}

.course-card h3 {
    font: 600 21px 'Playfair Display', serif;
    color: var(--navy);
    margin: 20px 0 10px
}

.course-card p {
    color: var(--muted);
    font-size: 12px
}

.course-card>div { 
    padding: 10px 0;
    margin: 0px 0;
}

.course-card small,
.course-card b {
    display: block;
    font-size: 10px
}

.course-card>a {
    font-size: 11px;
    color: var(--red);
    font-weight: 700
}

.message-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.message-grid article {
    border: 1px solid var(--line);
    border-radius: 10px;
    min-height: 235px;
    display: grid;
    grid-template-columns: 170px 1fr;
    align-items: center;
    padding: 20px;
    background: #fff;
    box-shadow: 0 5px 18px #17315c0a
}

.portrait {
    height: 195px;
    background: linear-gradient(#f4eee7, #e8eff9);
    display: grid;
    place-items: center;
    border-radius: 7px;
    overflow: hidden
}

.portrait span {
    font-size: 70px;
    color: var(--navy)
}

.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.message-grid article>div:last-child {
    padding: 10px 20px
}

.message-grid h2 {
    font: 600 20px 'Playfair Display', serif;
    color: var(--navy)
}

.message-grid p {
    font-size: 12px
}

.message-grid a {
    color: var(--navy);
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700
}

.boards {
    padding-top: 5px
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px
}

.board-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff
}

.board-grid h2 {
    font-size: 14px;
    color: #fff;
    margin: 0;
    padding: 12px 16px
}

.red-head {
    background: var(--red)
}

.navy-head {
    background: var(--navy)
}

.board-grid article>div {
    padding: 0 15px
}

.board-grid article>div a {
    display: flex;
    gap: 13px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--line)
}

.board-grid i {
    width: 30px;
    height: 30px;
    border: 1px solid #f2b9b9;
    color: var(--red);
    display: grid;
    place-items: center;
    font-style: normal;
    font-weight: 700;
    font-size: 11px;
    border-radius: 3px
}

.board-grid b,
.board-grid small {
    display: block
}

.board-grid b {
    font-size: 11px
}

.board-grid small {
    font-size: 9px;
    color: var(--muted)
}

.view {
    display: block;
    text-align: center;
    padding: 14px;
    color: var(--navy);
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700
}

.reels {
    background: var(--navy2);
    overflow: hidden;
    padding-bottom: 55px
}

.heading.light h2 {
    color: #fff
}

.heading.light>a {
    color: #fff;
    font-size: 12px
}

.reel-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 max(20px, calc((100vw - var(--wrap))/2))
}

.reel {
    min-width: 310px;
    height: 410px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    display: flex;
    align-items: end;
    padding: 23px;
    scroll-snap-align: start
}

.reel .play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 58px;
    height: 58px;
    background: #ffffffdd;
    color: var(--red);
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding-left: 3px
}

.reel h3 {
    font: 600 21px 'Playfair Display', serif;
    margin: 5px 0
}

.reel small {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px
}

.blog-section {
    background: #fbfaf8
}

.blog-track .blog-card {
    min-width: calc((100% - 36px)/3);
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden
}

.blog-card img {
    height: 190px;
    width: 100%;
    object-fit: cover
}

.blog-card>div {
    padding: 20px
}

.blog-card small {
    color: var(--red);
    font-size: 10px
}

.blog-card h3 {
    font: 600 19px 'Playfair Display', serif;
    color: var(--navy);
    margin: 7px 0
}

.blog-card p {
    font-size: 12px;
    color: var(--muted)
}

.blog-card a {
    font-size: 11px;
    font-weight: 700;
    color: var(--red)
}

.subscribe {
    background: var(--navy);
    color: #fff;
    padding: 13px
}

.subscribe .wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px
}

.subscribe strong {
    font-size: 12px
}

.subscribe .btn {
    padding: 8px 20px
}

footer {
    background: linear-gradient(135deg, #04275a, #001a42);
    color: #fff
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1.2fr;
    gap: 45px;
    padding: 45px 0
}

.foot-grid>div+div {
    border-left: 1px solid #ffffff24;
    padding-left: 42px
}

.foot-grid h3 {
    font: 600 17px 'Playfair Display', serif
}

.foot-grid p,
.foot-grid a {
    font-size: 11px;
    color: #d8e2f2
}

.foot-grid a {
    display: block;
    margin: 7px 0
}

.copyright {
    border-top: 1px solid #ffffff26;
    padding: 15px 0;
    font-size: 10px
}

.copyright span {
    float: right
}

@media(max-width:1000px) {
    .nav-row nav a {
        padding: 15px 10px;
        font-size: 10px
    }

    .feature-float {
        grid-template-columns: repeat(3, 1fr);
        height: auto
    }

    .feature-float>div {
        padding: 12px
    }

    .about-box {
        grid-template-columns: 1.2fr .8fr
    }

    .about-box>img {
        display: none
    }

    .course-card {
        min-width: calc((100% - 36px)/3)
    }

    .message-grid {
        grid-template-columns: 1fr
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr
    }

    .foot-grid>div+div {
        border: 0;
        padding-left: 0
    }
}

@media(max-width:720px) {
    body {
        font-size: 13px
    }

    .wrap {
        width: min(100% - 24px, var(--wrap))
    }

    .top {
        height: 35px
    }

    .top-in>div:first-child span:nth-child(2),
    .top-in>div:last-child span {
        display: none
    }

    .top span,
    .top a {
        margin-right: 8px
    }

    .identity {
        height: 92px
    }

    .identity img {
        height: 80px
    }

    .nav-row {
        min-height: 48px
    }

    .menu-btn {
        display: block;
        width: 100%;
        height: 48px;
        background: none;
        border: 0;
        color: #fff;
        text-align: left;
        font-weight: 700
    }

    .nav-row nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 48px;
        background: var(--navy2)
    }

    .nav-row nav.open {
        display: block
    }

    .nav-row nav>ul {
        display: block
    }

    .nav-row nav a {
        padding: 12px 20px
    }

    .hero {
        height: 510px
    }

    .hero-slide {
        background-position: 62% center
    }

    .hero-slide {
        background-image: linear-gradient(90deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .83)) !important
    }

    .hero-copy {
        padding-top: 75px
    }

    .hero h1 {
        font-size: 39px
    }

    .hero>button {
        top: auto;
        bottom: 24px
    }

    .feature-float {
        margin-top: -25px;
        grid-template-columns: 1fr 1fr;
        padding: 10px
    }

    .feature-float>div {
        border: 0
    }

    .feature-float>div:last-child {
        display: none
    }

    .about-box {
        grid-template-columns: 1fr
    }

    .stats {
        grid-template-columns: 1fr 1fr;
        border-left: 0;
        border-top: 1px solid var(--line)
    }

    .course-card {
        min-width: 83%
    }

    .message-grid article {
        grid-template-columns: 100px 1fr;
        min-height: 200px
    }

    .portrait {
        height: 150px
    }

    .message-grid article>div:last-child {
        padding: 8px 10px
    }

    .board-grid {
        grid-template-columns: 1fr
    }

    .reel {
        min-width: 82vw;
        height: 390px
    }

    .blog-track .blog-card {
        min-width: 86%
    }

    .subscribe .wrap {
        display: block;
        text-align: center
    }

    .subscribe .btn {
        margin-top: 10px
    }

    .foot-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .copyright span {
        float: none;
        display: block;
        margin-top: 5px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        animation: none !important
    }
}

/* Enhanced institutional header, dropdowns, cards and footer */
.top-social {
    display: flex;
    align-items: center;
    gap: 9px
}

.top-social>a:not(.login-link) {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #ffffff70;
    display: grid;
    place-items: center;
    margin: 0;
    font-weight: 700
}

.top-social>a:hover {
    color: #ffd270;
    border-color: #ffd270
}

.identity {
    height: 122px;
    justify-content: space-between
}

.identity-logo img {
    width: min(540px, 68vw);
    max-height: 95px;
    object-fit: contain;
    object-position: left center
}

.apply-btn {
    background: var(--red);
    color: #fff;
    padding: 11px 22px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 7px 20px #c8202635
}

.apply-btn small,
.apply-btn strong {
    display: block
}

.apply-btn small {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px
}

.apply-btn strong {
    font-size: 14px
}

.nav-row nav li {
    position: relative
}

.nav-row nav>ul>li:first-child>a,
.nav-row nav>ul>li>a:hover {
    background: var(--red);
    border-bottom-color: #f7c05e
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background: #fff;
    padding: 8px 0 !important;
    list-style: none;
    box-shadow: var(--shadow);
    z-index: 30
}

.dropdown.open,
.has-dropdown:hover>.dropdown {
    display: block
}

.nav-row nav .dropdown a {
    color: var(--ink);
    padding: 10px 16px;
    border: 0;
    text-transform: none
}

.nav-row nav .dropdown a:hover {
    color: var(--red);
    background: #f7f8fa
}

.drop-toggle {
    display: none
}

.course-card {
    padding: 0;
    overflow: hidden
}

.course-card>img {
    width: 100%;
    height: 145px;
    object-fit: cover
}

.course-card-body {
    padding: 20px
}

.course-card-body>span {
    font-size: 11px;
    color: var(--red);
    font-weight: 700
}

.course-card h3 {
    margin: 12px 0 8px
}

.course-card .course-meta {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    margin: 15px 0
}

.course-card-body>a {
    font-size: 11px;
    color: var(--red);
    font-weight: 700
}

.reel-track {
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding-bottom: 18px
}

.subscribe strong {
    font-size: 13px
}

.foot-grid {
    grid-template-columns: 1.35fr .8fr 1.15fr .9fr 1.2fr;
    gap: 30px
}

.foot-grid>div+div {
    padding-left: 28px
}

.foot-grid h3 {
    font-size: 19px
}

.foot-grid p,
.foot-grid a {
    font-size: 13px
}

.foot-grid a {
    margin: 9px 0;
    transition: .2s
}

.foot-grid a:hover {
    color: #ffd270;
    transform: translateX(3px)
}

.copyright {
    font-size: 12px
}

@media(max-width:1000px) {
    .foot-grid {
        grid-template-columns: 1fr 1fr 1fr
    }

    .identity-logo img {
        width: min(490px, 65vw)
    }
}

@media(max-width:720px) {
    .identity {
        height: 92px
    }

    .identity-logo img {
        width: min(300px, 64vw);
        height: 72px
    }

    .apply-btn {
        padding: 8px 12px
    }

    .apply-btn small {
        display: none
    }

    .apply-btn strong {
        font-size: 11px
    }

    .top-social>a:not(.login-link) {
        display: none
    }

    .nav-row nav .dropdown {
        position: static;
        width: auto;
        box-shadow: none;
        background: #0b3976
    }

    .nav-row nav .dropdown a {
        color: #fff;
        padding-left: 35px
    }

    .drop-toggle {
        display: block;
        position: absolute;
        right: 8px;
        top: 5px;
        width: 38px;
        height: 38px;
        border: 0;
        background: #ffffff15;
        color: #fff
    }

    .has-dropdown:hover>.dropdown {
        display: none
    }

    .has-dropdown:hover>.dropdown.open {
        display: block
    }

    .foot-grid {
        grid-template-columns: 1fr
    }
}

/* Compact premium navigation and carousel refinements */
body {
    font-size: 15px
}

.identity {
    height: 90px
}

.identity-logo img {
    width: min(455px, 62vw);
    max-height: 140px;
}

.apply-btn {
    padding: 8px 20px
}

.nav-row {
    height: 42px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px
}

.nav-row nav {
    min-width: 0
}

.nav-row nav>ul {
    justify-content: flex-start
}

.nav-row nav a {
    font-size: 10px;
    padding: 11px 14px;
    border-bottom-width: 2px
}

.nav-search {
    margin-left: auto;
    display: flex;
    width: 190px;
    height: 28px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    flex: 0 0 190px
}

.nav-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 5px 5px 5px 13px;
    font-size: 11px
}

.nav-search button {
    width: 34px;
    border: 0;
    background: var(--red);
    color: #fff;
    font-size: 16px;
    cursor: pointer
}

.dropdown {
    top: 42px
}

.heading {
    align-items: end
}

.courses .heading>div:first-child {
    display: block
}

.courses .heading label,
.courses .heading h2 {
    display: block;
    text-align: left
}

.course-card {
    border-top: 0
}

.course-card-body {
    padding: 24px
}

.course-card h3 {
    margin-top: 0
}

.course-card .course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.course-card .course-meta>a {
    margin-left: auto;
    white-space: nowrap
}

.reel-track[data-carousel="events"] {
    scroll-behavior: smooth
}

.event-more {
    text-align: right;
    margin-top: 12px
}

.event-more a {
    color: #fff;
    font-size: 12px
}

.blog-track .blog-card {
    min-width: calc((100% - 54px)/4)
}

@media(max-width:1080px) {
    .nav-row nav a {
        padding-left: 9px;
        padding-right: 9px
    }

    .nav-search {
        width: 150px;
        flex-basis: 150px
    }

    .blog-track .blog-card {
        min-width: calc((100% - 36px)/3)
    }
}

@media(max-width:720px) {
    body {
        font-size: 15px
    }

    .identity {
        height: 72px
    }

    .identity-logo img {
        width: min(270px, 61vw);
        height: 56px
    }

    .nav-row {
        height: 42px
    }

    .nav-search {
        height: 30px;
        width: 145px;
        flex-basis: 145px;
        margin-left: auto
    }

    .menu-btn {
        width: auto;
        flex: 1
    }

    .nav-row nav {
        top: 42px
    }

    .blog-track .blog-card {
        min-width: 86%
    }

    .course-card-body {
        padding: 20px
    }

    .top-social>a:not(.login-link) {
        display: grid
    }
}

/* Active navigation, animated About panel and premium showcases */
.nav-row nav>ul>li:first-child>a {
    background: transparent;
    border-bottom-color: transparent
}

.nav-row nav>ul>li.active>a {
    background: var(--red);
    border-bottom-color: #f7c05e;
    color: #fff
}

.caret {
    font-size: 8px;
    margin-left: 5px;
    opacity: .85
}

.nav-row nav .dropdown li:first-child a,
.nav-row nav .dropdown a {
    background: #fff;
    color: var(--ink)
}

.nav-row nav .dropdown a:hover {
    background: var(--red);
    color: #fff
}

.about-box {
    grid-template-columns: 1.16fr .52fr 1fr
}

.about-notices {
    background: #fff;
    border-left: 1px solid var(--line);
    padding: 0 !important
}

.about-notices h3 {
    margin: 0;
    background: var(--red);
    color: #fff;
    padding: 12px 17px;
    font: 600 15px 'Playfair Display', serif
}

.about-notices>a:not(.notice-all) {
    display: flex;
    gap: 11px;
    align-items: center;
    padding: 11px 15px;
    border-bottom: 1px solid var(--line)
}

.about-notices>a>span {
    color: var(--red)
}

.about-notices b,
.about-notices small {
    display: block
}

.about-notices b {
    font-size: 11px
}

.about-notices small {
    font-size: 9px;
    color: var(--muted)
}

.about-notices .notice-all {
    display: block;
    padding: 11px 15px;
    text-align: right;
    color: var(--navy);
    font-size: 10px;
    font-weight: 700
}

.course-card {
    border: 0 !important
}

.course-card>img {
    height: 205px
}

.course-card-body {
    padding: 27px
}

.course-card h3 {
    padding: 0;
    margin-bottom: 12px
}

.course-card p {
    padding: 0;
    margin-bottom: 18px
}

.course-card .course-meta {
    border: 0;
    padding: 14px 0 2px;
    margin: 0
}

.voices {
    background: linear-gradient(135deg, #f8f4ed, #f4f7fb)
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px
}

.showcase-panel {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 24px;
    overflow: hidden;
    border: 1px solid #e6e9ef
}

.showcase-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 18px
}

.showcase-head label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.7px;
    color: var(--gold);
    font-weight: 700
}

.showcase-head h2 {
    font: 700 27px 'Playfair Display', serif;
    color: var(--navy);
    margin: 4px 0 0
}

.mini-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none
}

.mini-track::-webkit-scrollbar {
    display: none
}

.achiever-card,
.testimonial-card {
    min-width: calc((100% - 14px)/2);
    scroll-snap-align: start;
    border-radius: 10px;
    overflow: hidden;
    background: #f6f8fb
}

.achiever-card>img {
    width: 100%;
    height: 185px;
    object-fit: cover
}

.achiever-card>div {
    padding: 16px;
    position: relative
}

.achiever-card h3 {
    font: 600 18px 'Playfair Display', serif;
    color: var(--navy);
    margin: 0
}

.achiever-card p {
    font-size: 10px;
    color: var(--muted);
    margin: 4px 0 12px
}

.achiever-card strong {
    font-size: 23px;
    color: var(--red)
}

.achiever-card small {
    margin-left: 5px
}

.testimonial-panel {
    background: linear-gradient(145deg, #062f6d, #011a43);
    color: #fff
}

.testimonial-panel .showcase-head h2 {
    color: #fff
}

.testimonial-card {
    background: #fff;
    color: var(--ink);
    padding: 25px;
    min-height: 270px;
    display: flex;
    flex-direction: column
}

.testimonial-card .quote {
    font: 700 50px 'Playfair Display', serif;
    color: var(--red);
    height: 42px
}

.testimonial-card>p {
    font: italic 13px/1.7 'Playfair Display', serif;
    flex: 1
}

.student {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 15px
}

.student img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover
}

.student b,
.student small {
    display: block
}

.student small {
    font-size: 10px;
    color: var(--muted)
}

.gallery-mini {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    padding: 12px !important
}

.gallery-mini a {
    display: block !important;
    padding: 0 !important;
    position: relative;
    border: 0 !important;
    border-radius: 5px;
    overflow: hidden
}

.gallery-mini img {
    width: 100%;
    height: 92px;
    object-fit: cover
}

.gallery-mini span {
    position: absolute;
    inset: auto 0 0;
    background: #001a42c9;
    color: #fff;
    font-size: 8px;
    padding: 4px 6px
}

.gallery-panel .view {
    clear: both
}

@media(max-width:1000px) {
    .about-box {
        grid-template-columns: 1fr 1fr
    }

    .about-notices {
        grid-column: 1/-1;
        border-left: 0;
        border-top: 1px solid var(--line)
    }

    .showcase-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:720px) {
    .about-box {
        grid-template-columns: 1fr
    }

    .about-notices {
        grid-column: auto
    }

    .achiever-card,
    .testimonial-card {
        min-width: 85%
    }

    .course-card>img {
        height: 190px
    }

    .showcase-panel {
        padding: 18px
    }

    .nav-row nav>ul>li:first-child>a {
        background: transparent
    }

    .nav-row nav>ul>li.active>a {
        background: var(--red)
    }
}

/* Three-column About, single-card showcases, gallery and rankings */
.about-box {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: stretch
}

.about-main {
    padding: 30px 34px !important
}

.about-image {
    padding: 0 !important
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover
}

.about-main .stats {
    border: 0;
    padding: 22px 0 0;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.about-main .stats>div {
    border-left: 2px solid #f0d5d6;
    padding-left: 10px
}

.about-main .stats b {
    font: 700 29px 'Playfair Display', serif;
    color: var(--red)
}

.about-main .stats small {
    font-size: 9px
}

.about-notices {
    min-width: 0
}

.showcase-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px
}

.showcase-panel {
    padding: 20px
}

.showcase-head h2 {
    font-size: 23px
}

.showcase-head>a {
    font-size: 10px;
    color: var(--red);
    font-weight: 700
}

.achiever-card,
.testimonial-card {
    min-width: 100%
}

.achiever-card {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 245px;
    align-items: stretch
}

.achiever-card>img {
    width: 100%;
    height: 100%;
    min-height: 245px;
    object-fit: cover
}

.achiever-card>div {
    padding: 23px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.achiever-card h3 {
    font-size: 20px
}

.achiever-card strong {
    margin-top: 8px
}

.testimonial-card {
    min-height: 245px
}

.upcoming-panel {
    background: #fff
}

.upcoming-list>a {
    display: flex;
    gap: 13px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line)
}

.upcoming-list time {
    width: 47px;
    height: 51px;
    flex: 0 0 47px;
    background: var(--red);
    color: #fff;
    border-radius: 5px;
    display: grid;
    place-items: center;
    align-content: center;
    line-height: 1
}

.upcoming-list time b {
    font-size: 17px
}

.upcoming-list time span {
    font-size: 9px;
    text-transform: uppercase;
    margin-top: 3px
}

.upcoming-list h3 {
    font: 600 13px 'Playfair Display', serif;
    color: var(--navy);
    margin: 2px 0 3px
}

.upcoming-list p {
    font-size: 9px;
    color: var(--muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.media-rank-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px
}

.gallery-large,
.ranking-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 7px 25px #1028500c
}

.panel-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 20px 22px
}

.panel-title label {
    font-size: 9px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700
}

.panel-title h2 {
    font: 700 25px 'Playfair Display', serif;
    color: var(--navy);
    margin: 3px 0 0
}

.panel-title>a {
    font-size: 10px;
    color: var(--red);
    font-weight: 700
}

.gallery-large-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0 18px 18px
}

.gallery-large-grid a {
    position: relative;
    height: 165px;
    border-radius: 7px;
    overflow: hidden
}

.gallery-large-grid a:first-child {
    grid-column: span 2;
    grid-row: span 2;
    height: 338px
}

.gallery-large-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s
}

.gallery-large-grid a:hover img {
    transform: scale(1.05)
}

.gallery-large-grid span {
    position: absolute;
    inset: auto 0 0;
    padding: 8px 10px;
    background: #001a42d4;
    color: #fff;
    font-size: 10px
}

.ranking-list {
    padding: 0 18px 18px;
    display: grid;
    gap: 9px
}

.ranking-list article {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: #f7f8fb;
    border-radius: 7px;
    border-left: 3px solid var(--red)
}

.ranking-list img {
    width: 58px;
    height: 52px;
    object-fit: contain
}

.ranking-list strong {
    font-size: 11px;
    color: var(--red)
}

.ranking-list h3 {
    font: 600 13px 'Playfair Display', serif;
    color: var(--navy);
    margin: 1px 0
}

.ranking-list p {
    font-size: 8px;
    color: var(--muted);
    margin: 0
}

@media(max-width:1100px) {
    .about-box {
        grid-template-columns: 1.5fr 1fr
    }

    .about-notices {
        grid-column: 1/-1
    }

    .showcase-grid {
        grid-template-columns: 1fr 1fr
    }

    .upcoming-panel {
        grid-column: 1/-1
    }

    .media-rank-grid {
        grid-template-columns: 1.6fr 1fr
    }
}

@media(max-width:720px) {
    .about-box {
        grid-template-columns: 1fr
    }

    .about-notices {
        grid-column: auto
    }

    .about-main .stats {
        grid-template-columns: 1fr 1fr
    }

    .about-image img {
        min-height: 260px
    }

    .showcase-grid,
    .media-rank-grid {
        grid-template-columns: 1fr
    }

    .upcoming-panel {
        grid-column: auto
    }

    .gallery-large-grid {
        grid-template-columns: 1fr 1fr
    }

    .gallery-large-grid a:first-child {
        grid-column: span 2;
        height: 240px
    }

    .gallery-large-grid a {
        height: 130px
    }
}

/* Sticky navigation, expanded editorial sections and media lightbox */
.header {
    display: contents
}

.nav-bg {
    position: sticky;
    top: 0;
    z-index: 100
}

.nav-row nav a {
    font-size: 12px
}

.nav-row nav .dropdown li:first-child a {
    background: #fff !important;
    color: var(--ink) !important
}

.nav-row nav .dropdown li:first-child a:hover,
.nav-row nav .dropdown a:hover {
    background: var(--red) !important;
    color: #fff !important
}

.about-box {
    grid-template-columns: 1fr 1fr;
    min-height: 520px
}

.about-main {
    padding: 42px !important;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.about-main>p {
    font-size: 14px;
    line-height: 1.75
}

.about-image img {
    min-height: 520px
}

.achiever-card {
    grid-template-columns: 1fr 1fr
}

.achiever-card>img,
.achiever-card>div {
    min-width: 0
}

.message-grid article {
    min-height: 330px
}

.portrait {
    height: 285px
}

.message-grid article>div:last-child {
    padding: 18px 25px
}

.message-grid p {
    font-size: 13px;
    line-height: 1.7
}

.gallery-large-grid {
    grid-template-columns: repeat(3, 1fr)
}

.gallery-large-grid a,
.gallery-large-grid a:first-child {
    grid-column: auto;
    grid-row: auto;
    height: 145px
}

.ranking-slider {
    position: relative;
    min-height: 390px;
    display: flex;
    flex-direction: column
}

.ranking-track {
    display: flex;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    flex: 1
}

.ranking-track article {
    min-width: 100%;
    scroll-snap-align: start;
    display: grid;
    place-items: center;
    padding: 35px
}

.ranking-track img {
    width: 82%;
    height: 235px;
    object-fit: contain
}

.rank-prev,
.rank-next {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 25px;
    cursor: pointer
}

.rank-prev {
    left: 12px
}

.rank-next {
    right: 12px
}

.home-videos {
    background: #f3f6fa
}

.home-videos .heading>a {
    color: var(--red);
    font-size: 11px;
    font-weight: 700
}

.video-reels {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding-bottom: 15px
}

.video-reel {
    min-width: 235px;
    height: 380px;
    border: 0;
    border-radius: 13px;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
    cursor: pointer;
    scroll-snap-align: start
}

.video-reel i,
.video-page-card i {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #fff;
    color: var(--red);
    display: grid;
    place-items: center
}

.video-reel span {
    position: absolute;
    inset: auto 18px 18px;
    text-align: left;
    font: 600 18px 'Playfair Display', serif
}

.inner-media-hero {
    padding: 65px 0;
    background: linear-gradient(110deg, var(--navy), var(--navy2));
    color: #fff
}

.inner-media-hero label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f0c45d
}

.inner-media-hero h1 {
    font: 700 46px 'Playfair Display', serif;
    margin: 5px 0
}

.photo-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px
}

.photo-page-grid a {
    position: relative;
    height: 270px;
    border-radius: 9px;
    overflow: hidden
}

.photo-page-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.photo-page-grid span {
    position: absolute;
    inset: auto 0 0;
    padding: 12px;
    background: #001a42d4;
    color: #fff
}

.video-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.video-page-card {
    position: relative;
    border: 0;
    padding: 0;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer
}

.video-page-card img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.video-page-card span {
    position: absolute;
    inset: auto 0 0;
    background: #001a42d9;
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 700
}

.media-modal[hidden] {
    display: none
}

.media-modal {
    position: fixed;
    inset: 0;
    background: #000e;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 55px
}

.modal-stage {
    width: min(1050px, 85vw);
    height: min(720px, 78vh);
    display: grid;
    place-items: center
}

.modal-stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain
}

.modal-stage iframe {
    width: 100%;
    height: 100%;
    border: 0
}

.modal-close,
.modal-prev,
.modal-next {
    position: absolute;
    border: 0;
    background: #fff;
    color: var(--navy);
    border-radius: 50%;
    cursor: pointer
}

.modal-close {
    right: 25px;
    top: 20px;
    width: 42px;
    height: 42px;
    font-size: 27px
}

.modal-prev,
.modal-next {
    top: 50%;
    width: 48px;
    height: 48px;
    font-size: 30px
}

.modal-prev {
    left: 22px
}

.modal-next {
    right: 22px
}

.modal-caption {
    position: absolute;
    bottom: 18px;
    color: #fff;
    font-size: 14px
}

.modal-open {
    overflow: hidden
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px
}

.footer-social a {
    width: 42px;
    height: 42px !important;
    display: grid !important;
    place-items: center;
    border: 1px solid #ffffff50;
    border-radius: 50%;
    font-size: 19px !important;
    color: #fff !important;
    margin: 0 !important
}

.footer-social a:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-3px) !important
}

@media(max-width:900px) {
    .about-box {
        grid-template-columns: 1fr
    }

    .about-image img {
        min-height: 340px
    }

    .photo-page-grid,
    .video-page-grid {
        grid-template-columns: 1fr 1fr
    }

    .media-modal {
        padding: 45px
    }

    .modal-stage {
        width: 82vw
    }
}

@media(max-width:600px) {
    .nav-row nav a {
        font-size: 11px
    }

    .about-main {
        padding: 28px !important
    }

    .about-box {
        min-height: 0
    }

    .about-image img {
        min-height: 270px
    }

    .achiever-card {
        grid-template-columns: 1fr 1fr
    }

    .message-grid article {
        min-height: 280px
    }

    .portrait {
        height: 230px
    }

    .photo-page-grid,
    .video-page-grid {
        grid-template-columns: 1fr
    }

    .photo-page-grid a,
    .video-page-card {
        height: 240px
    }

    .modal-stage {
        width: 88vw;
        height: 65vh
    }

    .modal-prev,
    .modal-next {
        width: 38px;
        height: 38px
    }

    .modal-prev {
        left: 7px
    }

    .modal-next {
        right: 7px
    }
}