.home-video-section {
    --home-video-accent: var(--theme-primary, #ff3300);
    --home-video-heading: var(--theme-heading, #16251c);
    background: #f6f7f9;
    overflow: hidden;
    padding: 70px 0 76px;
}

.home-video-header {
    align-items: end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.home-video-kicker {
    color: var(--home-video-accent);
    display: block;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 7px;
}

.home-video-header h2 {
    color: var(--home-video-heading);
    font-size: clamp(34px, 3vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 9px;
}

.home-video-header p {
    color: #65706a;
    font-size: 17px;
    line-height: 1.65;
    margin: 0;
}

.home-video-view-all {
    align-items: center;
    background: var(--home-video-accent);
    border: 1px solid var(--home-video-accent);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 800;
    gap: 8px;
    padding: 12px 20px;
    transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

.home-video-view-all:hover,
.home-video-view-all:focus-visible {
    background: var(--theme-primary-hover, #d92b00);
    border-color: var(--theme-primary-hover, #d92b00);
    color: #fff;
    outline: 2px solid rgba(var(--theme-primary-rgb, 255, 51, 0), .24);
    outline-offset: 3px;
    transform: translateY(-2px);
}

.home-video-view-all span,
.home-video-cta span {
    transition: transform .22s ease;
}

.home-video-view-all:hover span,
.home-video-view-all:focus-visible span,
.home-video-cta:hover span,
.home-video-cta:focus-visible span {
    transform: translateX(4px);
}

.home-video-slider-wrap {
    position: relative;
}

.home-video-carousel {
    margin: 0 auto;
}

.home-video-carousel .owl-stage,
.home-video-carousel .owl-item {
    display: flex;
}

.home-video-section .owl-nav,
.home-video-section .owl-dots,
.home-video-section .owl-controls {
    display: none !important;
}

.home-video-card {
    background: #fff;
    border: 1px solid #e6eaee;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(24, 30, 38, .09);
    display: block;
    flex: 1 1 auto;
    height: 390px;
    max-width: 320px;
    min-width: 0;
    overflow: hidden;
    position: relative;
    transition: box-shadow .28s ease, opacity .4s ease, transform .28s ease;
    width: 100%;
}

.home-video-carousel .owl-item.active .home-video-card {
    animation: homeVideoFadeIn .55s ease both;
}

.home-video-card:hover,
.home-video-card:focus-within {
    box-shadow: 0 24px 54px rgba(24, 30, 38, .18);
    transform: translateY(-8px);
}

.home-video-thumb {
    background: #e8ecef;
    display: block;
    height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.home-video-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
    width: 100%;
}

.home-video-card:hover .home-video-thumb img,
.home-video-card:focus-within .home-video-thumb img {
    transform: scale(1.05);
}

.home-video-thumb:focus-visible,
.home-video-card:focus-within,
.home-video-cta:focus-visible,
.home-video-nav:focus-visible {
    outline: 3px solid rgba(var(--theme-primary-rgb, 255, 51, 0), .35);
    outline-offset: 3px;
}

.home-video-play {
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, .92);
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    display: flex;
    height: 64px;
    justify-content: center;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: transform .24s ease;
    width: 64px;
}

.home-video-play::before {
    border-bottom: 12px solid transparent;
    border-left: 18px solid var(--home-video-accent);
    border-top: 12px solid transparent;
    content: "";
    margin-left: 5px;
}

.home-video-play::after {
    animation: homeVideoPulse 1.8s ease-out infinite;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 50%;
    content: "";
    inset: -8px;
    position: absolute;
}

.home-video-card:hover .home-video-play,
.home-video-card:focus-within .home-video-play {
    transform: translate(-50%, -50%) scale(1.1);
}

.home-video-duration {
    background: rgba(0, 0, 0, .86);
    border-radius: 6px;
    bottom: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    padding: 6px 8px;
    position: absolute;
    right: 12px;
}

.home-video-body {
    background: #ffffffd2;
    border-radius: 20px 20px 0 0;
    bottom: 0;
    box-shadow: 0 -14px 30px rgba(24, 30, 38, .11);
    display: flex;
    flex-direction: column;
    left: 0;
    opacity: 0;
    padding: 24px;
    position: absolute;
    right: 0;
    transform: translate3d(0, 100%, 0);
    transition: opacity .4s ease-in-out, transform .4s ease-in-out;
    z-index: 3;
    will-change: transform, opacity;
}

.home-video-card:hover .home-video-body,
.home-video-card:focus-within .home-video-body {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.home-video-body h3 {
    color: #20242a;
    display: -webkit-box;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 15px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-video-body p {
    color: #68727b;
    display: -webkit-box;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.7;
    margin: 0 0 22px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-video-cta {
    align-items: center;
    color: var(--home-video-accent);
    display: inline-flex;
    font-size: 15px;
    font-weight: 800;
    gap: 8px;
    margin-top: 0;
}

.home-video-cta:hover,
.home-video-cta:focus-visible {
    color: var(--theme-primary-hover, #d92b00);
}

.home-video-nav {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e7ec;
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(26, 34, 42, .14);
    color: #20242a;
    cursor: pointer;
    display: flex;
    font-size: 22px;
    height: 46px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background .22s ease, color .22s ease, transform .22s ease;
    width: 46px;
    z-index: 5;
}

.home-video-nav:hover {
    background: var(--home-video-accent);
    color: #fff;
    transform: translateY(-50%) scale(1.07);
}

.home-video-prev {
    left: -23px;
}

.home-video-next {
    right: -23px;
}

@keyframes homeVideoPulse {
    0% {
        opacity: .75;
        transform: scale(.9);
    }

    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

@keyframes homeVideoFadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1199px) {
    .home-video-card {
        height: 370px;
        max-width: 300px;
    }
}

@media (max-width: 991px) {
    .home-video-section {
        padding: 58px 0 64px;
    }

    .home-video-card {
        height: 370px;
        max-width: 280px;
    }

    .home-video-nav {
        height: 42px;
        width: 42px;
    }
}

@media (max-width: 767px) {
    .home-video-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .home-video-section {
        padding: 30px 0 25px;
    }

    .home-video-header {
        margin-bottom: 24px;
    }

    .home-video-header h2 {
        font-size: 32px;
    }

    .home-video-card {
        height: auto;
        max-width: none;
    }

    .home-video-thumb {
        height: 230px;
    }

    .home-video-body {
        opacity: 1;
        position: relative;
        transform: none;
    }

    .home-video-prev {
        left: 10px;
    }

    .home-video-next {
        right: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-video-card,
    .home-video-thumb img,
    .home-video-play,
    .home-video-play::after,
    .home-video-nav,
    .home-video-view-all,
    .home-video-cta span {
        animation: none;
        transition: none;
    }
}

@media (hover: none) {
    .home-video-card {
        height: auto;
    }

    .home-video-thumb {
        height: 230px;
    }

    .home-video-body {
        opacity: 1;
        position: relative;
        transform: none;
    }
}
