/* Restored service, consulting and executive-course pages. */
.visual-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--navy-950);
}

.visual-hero__image {
    width: 100%;
}

.restore-section-heading {
    margin-bottom: 28px;
    text-align: center;
}

.restore-section-heading > p {
    margin: 0 0 4px;
    color: #737373;
    font-family: Georgia, serif;
    font-size: 12px;
    letter-spacing: .22em;
}

.restore-section-heading h2 {
    margin: 0;
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: clamp(28px, 2.15vw, 40px);
    line-height: 1.25;
    letter-spacing: .05em;
}

.services-restored-page .site-container {
    width: 80%;
    max-width: 1600px;
}

.services-restored-page .restore-section-heading > p {
    display: none;
}

.services-restored-page .restore-section-heading h2 {
    color: #060606;
    font-size: clamp(34px, 3vw, 48px);
    font-weight: 700;
    letter-spacing: 0;
}

.service-overview {
    padding: 86px 0 70px;
    background: #fff;
}

.service-overview__image {
    width: 100%;
    border: 1px solid rgba(8, 10, 88, .08);
}

.service-mosaic {
    padding: 78px 0 28px;
    background: #fff;
}

.service-mosaic__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.service-mosaic__item {
    position: relative;
    display: block;
    min-width: 0;
    overflow: hidden;
    background: var(--navy-900);
    box-shadow: 0 8px 22px rgba(7, 6, 17, .12);
}

.service-mosaic__item--top,
.service-mosaic__item--extra {
    grid-column: span 2;
}

.service-mosaic__item--bottom {
    grid-column: span 3;
}

.service-mosaic__item img {
    width: 100%;
    transition: transform .35s ease, opacity .35s ease;
}

a.service-mosaic__item:hover img,
a.service-mosaic__item:focus-visible img {
    opacity: .94;
    transform: scale(1.018);
}

a.service-mosaic__item:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 3px;
}

.service-mosaic__extra-title,
.service-mosaic__extra-copy {
    position: absolute;
    inset: auto 0 0;
    display: block;
    padding: 18px 22px;
    color: #fff;
    background: linear-gradient(transparent, rgba(7, 6, 17, .92));
}

.service-mosaic__extra-copy {
    position: static;
    min-height: 190px;
    padding: 44px 30px;
    background: linear-gradient(132deg, var(--navy-900), var(--navy-700));
}

.service-mosaic__extra-copy strong,
.service-mosaic__extra-copy small {
    display: block;
}

.service-mosaic__extra-copy strong {
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 28px;
}

.service-mosaic__extra-copy small {
    margin-top: 10px;
    font-size: 14px;
}

.course-gallery {
    padding: 26px 0 72px;
    background: #fff;
}

.course-gallery__item {
    margin: 0;
    overflow: hidden;
    background: #ececf1;
}

.course-gallery__item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform .35s ease;
}

.course-gallery__item:hover img {
    transform: scale(1.018);
}

.course-gallery--grid .course-gallery__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.course-gallery--rail .course-gallery__viewport {
    overflow: hidden;
    outline: none;
}

.course-gallery--rail .restore-section-heading {
    position: relative;
    margin-bottom: 8px;
    border-bottom: 1px solid #b9b9b9;
    text-align: left;
}

.course-gallery--rail .restore-section-heading::after {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 2px;
    background: #1e50ae;
    content: "";
}

.course-gallery--rail .restore-section-heading h2 {
    padding: 0 4px 8px;
    color: #1e50ae;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.course-gallery--rail .course-gallery__track {
    display: flex;
    width: max-content;
    padding: 2px 2px 18px;
    will-change: transform;
    animation: course-gallery-flow-left 96s linear infinite;
}

.course-gallery--rail .course-gallery__group {
    display: flex;
    flex: none;
    gap: 8px;
    padding-right: 8px;
}

.course-gallery--rail .course-gallery__item {
    flex: 0 0 210px;
    width: 210px;
    height: 140px;
}

.course-gallery--rail .course-gallery__viewport:hover .course-gallery__track,
.course-gallery--rail .course-gallery__viewport:focus-within .course-gallery__track {
    animation-play-state: paused;
}

@keyframes course-gallery-flow-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.course-intro {
    padding: 70px 0 64px;
    color: #fff;
    background:
        radial-gradient(circle at 15% 12%, rgba(35, 48, 151, .78), transparent 36%),
        linear-gradient(120deg, #07072e, #11116c 62%, #080936);
}

.course-intro__inner {
    max-width: 850px;
    text-align: center;
}

.course-intro__eyebrow {
    margin: 0 0 6px;
    color: var(--gold-light);
    font-family: Georgia, serif;
    font-size: 12px;
    letter-spacing: .22em;
}

.course-intro h2 {
    margin: 0;
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.25;
}

.course-intro__inner > p:last-child {
    margin: 22px auto 0;
    color: #f2f2f7;
    font-size: 18px;
    line-height: 2;
}

@media (max-width: 760px) {
    .services-restored-page .site-container {
        width: min(calc(100% - 32px), 1280px);
    }

    .restore-section-heading {
        margin-bottom: 20px;
    }

    .service-overview,
    .service-mosaic,
    .course-gallery,
    .course-intro {
        padding-top: 42px;
        padding-bottom: 48px;
    }

    .service-mosaic__grid,
    .course-gallery--grid .course-gallery__track {
        grid-template-columns: 1fr;
    }

    .service-mosaic__item--top,
    .service-mosaic__item--bottom,
    .service-mosaic__item--extra {
        grid-column: 1 / -1;
    }

    .course-gallery--rail .course-gallery__item {
        flex-basis: min(210px, 72vw);
        width: min(210px, 72vw);
        height: auto;
    }

    .course-intro__inner > p:last-child {
        font-size: 16px;
        line-height: 1.85;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-mosaic__item img,
    .course-gallery__item img {
        transition: none;
    }

    .course-gallery--rail .course-gallery__track {
        animation: course-gallery-flow-left 96s linear infinite !important;
    }

    .course-gallery--rail .course-gallery__viewport:hover .course-gallery__track,
    .course-gallery--rail .course-gallery__viewport:focus-within .course-gallery__track {
        animation-play-state: paused !important;
    }
}
