.fc-video-showcase {
    padding: 90px 24px;
    background: #202020;
}

.fc-video-showcase__inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.fc-video-showcase__intro {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.fc-video-showcase__eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #ffffff;
    position: relative;
    text-transform: uppercase;
}

.fc-video-showcase__eyebrow::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 1px;
    height: 8px;
    background: #b7f34a;
    opacity: 0.32;
    z-index: -1;
    border-radius: 2px;
}

.fc-video-showcase__title {
    margin: 0 0 14px;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 800;
    color: #ffffff;
}

.fc-video-showcase__text {
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
}

.fc-video-showcase__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 260px 220px;
    grid-template-areas:
        "featured featured tallTop"
        "bottomLeft bottomCenter tallBottom";
    gap: 18px;
}

.fc-video-showcase__item {
    min-width: 0;
}

.fc-video-showcase__item--featured {
    grid-area: featured;
}

.fc-video-showcase__item--tall-top {
    grid-area: tallTop;
}

.fc-video-showcase__item--bottom-left {
    grid-area: bottomLeft;
}

.fc-video-showcase__item--bottom-center {
    grid-area: bottomCenter;
}

.fc-video-showcase__item--tall-bottom {
    grid-area: tallBottom;
}

.fc-video-showcase__card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    background: #111111;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.fc-video-showcase__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42);
}

.fc-video-showcase__card:focus-visible,
.fc-video-showcase__modal-close:focus-visible {
    outline: 2px solid #b7f34a;
    outline-offset: 3px;
}

.fc-video-showcase__thumb,
.fc-video-showcase__overlay,
.fc-video-showcase__label,
.fc-video-showcase__play {
    position: absolute;
}

.fc-video-showcase__thumb {
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1);
    transition: transform 0.35s ease;
}

.fc-video-showcase__card:hover .fc-video-showcase__thumb {
    transform: scale(1.05);
}

.fc-video-showcase__overlay {
    inset: 0;
    background:
            linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.12) 100%);
}

.fc-video-showcase__label {
    left: 20px;
    right: 20px;
    bottom: 18px;
    z-index: 2;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.fc-video-showcase__play {
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 0 0 10px rgba(183, 243, 74, 0.95);
}

.fc-video-showcase__play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 22px solid #111111;
}

.fc-video-showcase__item--featured .fc-video-showcase__play {
    width: 94px;
    height: 94px;
}

.fc-video-showcase__item--featured .fc-video-showcase__label {
    font-size: 18px;
}

.fc-video-showcase__modal[hidden] {
    display: none;
}

.fc-video-showcase__modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.fc-video-showcase__modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.fc-video-showcase__modal-dialog {
    position: relative;
    z-index: 1;
    width: min(1040px, calc(100% - 32px));
    margin: 4vh auto 0;
    padding: 28px 28px 24px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.fc-video-showcase__modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f1f1f1;
    color: #111111;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fc-video-showcase__modal-close:hover {
    background: #b7f34a;
}

.fc-video-showcase__modal-header {
    margin-bottom: 18px;
    padding-right: 52px;
}

.fc-video-showcase__modal-title {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
    color: #111111;
}

.fc-video-showcase__modal-description {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
}

.fc-video-showcase__player-wrap {
    background: #000000;
    border-radius: 18px;
    overflow: hidden;
}

.fc-video-showcase__player {
    display: block;
    width: 100%;
    height: auto;
    max-height: 72vh;
    background: #000000;
}

body.fc-video-modal-open {
    overflow: hidden;
}

@media (max-width: 980px) {
    .fc-video-showcase__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 260px 220px 220px;
        grid-template-areas:
            "featured featured"
            "tallTop bottomLeft"
            "bottomCenter tallBottom";
    }

    .fc-video-showcase__title {
        font-size: 36px;
    }
}

@media (max-width: 680px) {
    .fc-video-showcase {
        padding: 60px 18px;
    }

    .fc-video-showcase__intro {
        margin-bottom: 32px;
    }

    .fc-video-showcase__title {
        font-size: 30px;
    }

    .fc-video-showcase__text {
        font-size: 16px;
    }

    .fc-video-showcase__grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-template-areas: none;
        gap: 16px;
    }

    .fc-video-showcase__item,
    .fc-video-showcase__item--featured,
    .fc-video-showcase__item--tall-top,
    .fc-video-showcase__item--bottom-left,
    .fc-video-showcase__item--bottom-center,
    .fc-video-showcase__item--tall-bottom {
        grid-area: auto;
    }

    .fc-video-showcase__item {
        height: 240px;
    }

    .fc-video-showcase__play {
        width: 72px;
        height: 72px;
        box-shadow: 0 0 0 8px rgba(183, 243, 74, 0.95);
    }

    .fc-video-showcase__item--featured .fc-video-showcase__play {
        width: 80px;
        height: 80px;
    }

    .fc-video-showcase__modal-dialog {
        width: calc(100% - 16px);
        margin-top: 2vh;
        padding: 22px 16px 16px;
        border-radius: 18px;
    }

    .fc-video-showcase__modal-title {
        font-size: 24px;
    }

    .fc-video-showcase__modal-description {
        font-size: 15px;
    }

    .fc-video-showcase__player {
        max-height: 60vh;
    }
}
