/* Homepage videos slider */
.home-videos {
    --hv-pink: #e31c79;
    --hv-purple: #702082;
    --hv-ink: #1f1230;
    --hv-muted: rgba(31, 18, 48, 0.68);
    --hv-line: rgba(112, 32, 130, 0.1);
    position: relative;
    margin: 24px 0 56px;
    padding: 48px 0 40px;
    background:
        radial-gradient(ellipse 70% 60% at 0% 0%, rgba(227, 28, 121, 0.06), transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 100%, rgba(112, 32, 130, 0.07), transparent 50%),
        #f7f4f8;
    overflow: hidden;
}

.home-videos__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.home-videos__eyebrow {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hv-pink);
}

.home-videos__title {
    margin: 0;
    font-family: Saira, Quicksand, sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--hv-ink);
}

.home-videos__all {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(137deg, #e31c79 0%, #702082 100%);
    color: #fff !important;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(112, 32, 130, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-videos__all:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(227, 28, 121, 0.28);
    color: #fff !important;
}

.home-videos__carousel {
    margin: 0 -8px;
}

.home-videos__carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.home-videos__carousel .owl-item {
    display: flex;
    height: auto;
    padding: 8px;
}

.hv-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    border: 1px solid var(--hv-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(42, 16, 56, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.hv-card:hover {
    transform: translateY(-6px);
    border-color: rgba(227, 28, 121, 0.28);
    box-shadow: 0 18px 40px rgba(112, 32, 130, 0.14);
}

.hv-card__media {
    position: relative;
    display: block;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: linear-gradient(135deg, #702082, #e31c79);
    text-decoration: none !important;
}

.hv-card__media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hv-card:hover .hv-card__media img {
    transform: scale(1.06);
}

.hv-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(20, 8, 30, 0.45) 100%);
    pointer-events: none;
    transition: background 0.35s ease;
}

.hv-card:hover .hv-card__media::after {
    background: linear-gradient(180deg, rgba(112, 32, 130, 0.12) 0%, rgba(227, 28, 121, 0.38) 100%);
}

.hv-card__play {
    position: absolute;
    top: 12px;
    right: 12px;
    left: auto;
    z-index: 2;
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(137deg, #e31c79 0%, #702082 100%);
    color: #fff;
    font-size: 14px;
    box-shadow: 0 8px 18px rgba(227, 28, 121, 0.4);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    pointer-events: none;
}

.hv-card__play i {
    margin-left: 2px;
    line-height: 1;
}

.hv-card:hover .hv-card__play {
    transform: scale(1.08);
    box-shadow: 0 10px 22px rgba(112, 32, 130, 0.48);
}

.hv-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 16px 18px;
}

.hv-card__title {
    margin: 0 0 12px;
    font-family: Saira, Quicksand, sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--hv-ink);
}

.hv-card__title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: inherit;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.hv-card__title a:hover {
    color: var(--hv-pink);
}

.hv-card__cta {
    margin-top: auto;
    align-self: flex-start;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(227, 28, 121, 0.08);
    color: var(--hv-pink) !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.hv-card:hover .hv-card__cta {
    background: linear-gradient(137deg, #e31c79 0%, #702082 100%);
    color: #fff !important;
}

.home-videos__carousel .owl-nav {
    margin: 0;
}

.home-videos__carousel .owl-nav button,
.home-videos__carousel .owl-nav .owl-prev,
.home-videos__carousel .owl-nav .owl-next,
.home-videos__carousel.owl-theme .owl-controls .owl-nav div.owl-prev,
.home-videos__carousel.owl-theme .owl-controls .owl-nav div.owl-next {
    position: absolute !important;
    top: 38% !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #702082 !important;
    box-shadow: 0 8px 22px rgba(42, 16, 56, 0.14);
    font-size: 16px !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.home-videos__carousel .owl-nav button:before,
.home-videos__carousel .owl-nav .owl-prev:before,
.home-videos__carousel .owl-nav .owl-next:before,
.home-videos__carousel.owl-theme .owl-controls .owl-nav div.owl-prev:before,
.home-videos__carousel.owl-theme .owl-controls .owl-nav div.owl-next:before {
    content: none !important;
    display: none !important;
}

.home-videos__carousel .owl-nav .hv-nav-icon,
.home-videos__carousel .owl-nav button .hv-nav-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: inherit;
}

.home-videos__carousel .owl-nav .hv-nav-icon svg,
.home-videos__carousel .owl-nav button svg {
    display: block;
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.home-videos__carousel .owl-nav button:hover,
.home-videos__carousel .owl-nav .owl-prev:hover,
.home-videos__carousel .owl-nav .owl-next:hover {
    background: linear-gradient(137deg, #e31c79 0%, #702082 100%) !important;
    color: #fff !important;
    transform: scale(1.05);
}

.home-videos__carousel .owl-nav .owl-prev,
.home-videos__carousel.owl-theme .owl-controls .owl-nav div.owl-prev {
    left: -8px !important;
    right: auto !important;
}

.home-videos__carousel .owl-nav .owl-next,
.home-videos__carousel.owl-theme .owl-controls .owl-nav div.owl-next {
    right: -8px !important;
    left: auto !important;
}

.home-videos__carousel .owl-dots {
    margin-top: 18px !important;
    text-align: center;
}

.home-videos__carousel .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 4px;
    background: rgba(112, 32, 130, 0.22);
    transition: width 0.25s ease, background 0.25s ease;
}

.home-videos__carousel .owl-dots .owl-dot.active span,
.home-videos__carousel .owl-dots .owl-dot:hover span {
    width: 22px;
    border-radius: 999px;
    background: linear-gradient(137deg, #e31c79 0%, #702082 100%);
}

@media (max-width: 1199.98px) {
    .home-videos__carousel .owl-nav .owl-prev {
        left: 0;
    }

    .home-videos__carousel .owl-nav .owl-next {
        right: 0;
    }
}

@media (max-width: 767.98px) {
    .home-videos {
        padding: 36px 0 28px;
        margin-bottom: 36px;
    }

    .home-videos__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-videos__carousel .owl-nav {
        display: none;
    }

    .hv-card__play {
        width: 38px;
        height: 38px;
        top: 10px;
        right: 10px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hv-card,
    .hv-card__media img,
    .hv-card__play,
    .home-videos__all {
        transition: none !important;
    }
}
