.home-page > .cms-video-section {
    grid-column: 1 / -1;
}

.cms-video-section {
    --cms-video-navy: #01264e;
    --cms-video-orange: #F26A07;
    overflow: hidden;
    border-radius: 10px;
    background: var(--cms-video-navy);
    color: #fff;
}

.cms-video-section__inner {
    width: 100%;
    padding: 10px 0 43px;
}

.cms-video-section__header {
    display: flex;
    height: 18px;
    margin: 0 15px 0 9px;
    align-items: center;
    gap: 11px;
}

.cms-video-section__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cms-video-orange);
    flex: 0 0 10px;
}

.cms-video-section__header h2 {
    margin: 0;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 18px;
    text-transform: uppercase;
}

.cms-video-section__lead {
    margin: 14px 26px 0;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 19px;
}

.cms-video-section__cta {
    display: flex;
    width: calc(100% - 30px);
    height: 34px;
    margin: 14px 15px 0;
    padding: 0 16px;
    border: 1px solid #fff;
    border-radius: 8px;
    background: #fff;
    color: #000;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 14px;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cms-video-section__cta svg {
    width: 7px;
    height: 14px;
    overflow: visible;
    color: #ff7a1a;
    flex: 0 0 7px;
}

.cms-video-section__cta path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.5;
}

.cms-video-section__cta:hover,
.cms-video-section__cta:focus-visible {
    color: #000;
    text-decoration: none;
}

.cms-video-section__cta:focus-visible,
.cms-video-card a:focus-visible,
.cms-video-section__rail:focus-visible {
    outline: 3px solid #ff7a1a;
    outline-offset: 3px;
}

.cms-video-section__rail {
    display: flex;
    width: 100%;
    margin-top: 20px;
    padding: 0 15px;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 14px;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 15px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.cms-video-section__rail::-webkit-scrollbar {
    display: none;
}

.cms-video-card {
    width: 145px;
    height: 195px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    flex: 0 0 145px;
    scroll-snap-align: start;
}

.cms-video-card a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    color: #fff;
    text-decoration: none;
}

.cms-video-card__media,
.cms-video-card__shade,
.cms-video-card__placeholder {
    position: absolute;
    inset: 0;
    display: block;
}

.cms-video-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cms-video-card__placeholder {
    background: linear-gradient(145deg, #123f6c, #061a30 70%);
}

.cms-video-card__shade {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000 100%);
}

.cms-video-card__play {
    position: absolute;
    top: 27px;
    left: 50%;
    display: block;
    width: 40px;
    height: 40px;
    transform: translateX(-50%);
}

.cms-video-card__play svg {
    display: block;
    width: 40px;
    height: 40px;
}

.cms-video-card__play circle {
    fill: rgba(0, 0, 0, 0.08);
    stroke: #fff;
    stroke-width: 4px;
}

.cms-video-card__play path {
    fill: #fff;
}

.cms-video-card__title {
    position: absolute;
    top: 91px;
    right: 7px;
    bottom: 10px;
    left: 7px;
    display: -webkit-box;
    overflow: hidden;
    color: #fff;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 18px;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.cms-video-section__empty {
    margin: 20px 15px 0;
    color: rgba(255, 255, 255, 0.78);
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
}

@media (hover: hover) {
    .cms-video-section__cta:hover {
        background: #f8f8f8;
    }

    .cms-video-card a:hover .cms-video-card__media img {
        transform: scale(1.025);
    }

    .cms-video-card__media img {
        transition: transform 180ms ease;
    }
}

@media (max-width: 767.98px) {
    .home-page > .cms-video-section {
        width: 100vw;
        margin-left: calc((100% - 100vw) / 2);
        border-radius: 0;
    }

    .cms-video-section__cta {
        width: calc(100vw - 30px);
        margin-right: 0;
        margin-left: calc(50% - 50vw + 15px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cms-video-card__media img {
        transition: none;
    }
}
