:root {
    --um-blue: #2a4b9a;
    --um-text: #202020;
    --um-muted: #444444;
    --um-soft: #eceae5;
}

.showcase-page {
    color: var(--um-text);
    background: #ffffff;
}

.showcase-hero {
    background-image: var(--showcase-hero-image);
    background-position: var(
        --showcase-hero-position-desktop,
        center center
    );
    background-repeat: no-repeat;
    background-size: cover;
}

.showcase-hero__inner {
    padding:
        var(--showcase-hero-spacer-desktop, 147px)
        30px
        23px;
    text-align: center;
}

.showcase-hero__title {
    color: #ffffff;
    font-family: Onest, Arial, sans-serif;
    font-size: 57px;
    font-weight: 700;
    line-height: 1.1;
}

.showcase-hero__divider {
    display: block;
    width: 28%;
    min-width: 150px;
    height: 2px;
    margin: 23px auto;
    background: rgb(255 255 255 / 34%);
}

.showcase-intro__inner,
.showcase-cases {
    width: min(
        100%,
        var(--showcase-content-width, 1200px)
    );
    margin: 0 auto;
}

.showcase-intro__inner {
    padding:
        var(--showcase-row-padding, 50px)
        30px
        0;
    color: var(--um-muted);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

.showcase-case {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(34px, 5vw, 76px);
    align-items: center;
    padding:
        var(--showcase-row-padding, 50px)
        30px;
}

.showcase-case--soft {
    background: var(--um-soft);
}

.showcase-case__media,
.showcase-case__content {
    min-width: 0;
}

.showcase-case--media-left .showcase-case__media {
    grid-column: 1;
    grid-row: 1;
}

.showcase-case--media-left .showcase-case__content {
    grid-column: 2;
    grid-row: 1;
}

.showcase-case--media-right .showcase-case__content {
    grid-column: 1;
    grid-row: 1;
}

.showcase-case--media-right .showcase-case__media {
    grid-column: 2;
    grid-row: 1;
}

.showcase-case__content h2 {
    margin: 0;
    font-family: Onest, Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}

.showcase-case__subtitle {
    margin: 4px 0 20px;
    color: var(--um-muted);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

.showcase-case__series {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.showcase-case__series a,
.showcase-case__series span {
    display: inline-block;
    border: 1px solid rgb(42 75 154 / 26%);
    border-radius: 999px;
    padding: 6px 11px;
    color: var(--um-blue);
    background: rgb(255 255 255 / 72%);
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.showcase-case__series a:hover,
.showcase-case__series a:focus-visible {
    text-decoration: underline;
}

.showcase-case__eyebrow,
.showcase-case__installation h3 {
    margin: 20px 0 7px;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
}

.showcase-case__facts {
    margin: 0;
    color: var(--um-muted);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

.showcase-case__fact {
    display: flex;
    flex-wrap: wrap;
    gap: 0 5px;
    margin: 0 0 4px;
}

.showcase-case__fact dt {
    font-weight: 700;
}

.showcase-case__fact dt::after {
    content: ":";
}

.showcase-case__fact dd {
    margin: 0;
}

.showcase-case__installation {
    color: var(--um-muted);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

.showcase-case__installation p {
    margin: 0;
}

.lite-video {
    margin: 0;
}

.showcase-gallery__stage {
    min-width: 0;
}

.showcase-gallery__slide[hidden] {
    display: none;
}

.showcase-gallery__figure {
    margin: 0;
}

.showcase-gallery__figure img,
.showcase-gallery__figure video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
    background: #17213a;
    object-fit: cover;
}

.showcase-gallery__figure figcaption {
    margin-top: 8px;
    color: var(--um-muted);
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

.showcase-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 9px;
    margin-top: 12px;
}

.showcase-gallery__thumb {
    min-width: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 4px;
    padding: 0;
    color: #ffffff;
    background: #17213a;
    cursor: pointer;
}

.showcase-gallery__thumb[aria-pressed="true"] {
    border-color: var(--um-blue);
}

.showcase-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-gallery__thumb:focus-visible {
    outline: 3px solid var(--um-blue);
    outline-offset: 3px;
}

.lite-video__button {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #17213a;
}

.lite-video__button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 200ms ease;
}

.lite-video__button:hover img,
.lite-video__button:focus-visible img {
    transform: scale(1.025);
}

.lite-video__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgb(0 0 0 / 8%),
        rgb(0 0 0 / 28%)
    );
}

.lite-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74px;
    height: 74px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: rgb(42 75 154 / 88%);
    box-shadow: 0 5px 22px rgb(0 0 0 / 28%);
    transform: translate(-50%, -50%);
}

.lite-video__play::after {
    position: absolute;
    top: 50%;
    left: 53%;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 24px solid #ffffff;
    content: "";
    transform: translate(-50%, -50%);
}

.lite-video__button:focus-visible {
    outline: 4px solid var(--um-blue);
    outline-offset: 4px;
}

.lite-video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.lite-video figcaption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .showcase-hero {
        background-position: var(
            --showcase-hero-position-tablet,
            var(
                --showcase-hero-position-desktop,
                center center
            )
        );
    }

    .showcase-hero__inner {
        padding-top: var(
            --showcase-hero-spacer-tablet,
            var(--showcase-hero-spacer-desktop, 147px)
        );
    }

    .showcase-hero__title {
        font-size: 53px;
    }

    .showcase-case__content h2 {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .showcase-hero {
        background-position: var(
            --showcase-hero-position-mobile,
            center center
        );
    }

    .showcase-hero__inner {
        padding-top: var(
            --showcase-hero-spacer-mobile,
            var(--showcase-hero-spacer-desktop, 147px)
        );
    }

    .showcase-hero__title {
        font-size: 26px;
    }

    .showcase-case {
        grid-template-columns: 1fr;
        gap: 30px;
        padding:
            var(--showcase-row-padding, 50px)
            22px;
    }

    .showcase-case--media-left .showcase-case__media,
    .showcase-case--media-left .showcase-case__content,
    .showcase-case--media-right .showcase-case__media,
    .showcase-case--media-right .showcase-case__content {
        grid-column: 1;
    }

    .showcase-case--media-left .showcase-case__media,
    .showcase-case--media-right .showcase-case__content {
        grid-row: 1;
    }

    .showcase-case--media-left .showcase-case__content,
    .showcase-case--media-right .showcase-case__media {
        grid-row: 2;
    }

    .showcase-case__content h2 {
        font-size: 18px;
        line-height: 1.5;
    }

    .showcase-case__subtitle {
        margin-bottom: 16px;
    }

    .lite-video__play {
        width: 62px;
        height: 62px;
    }
}
