.rn-home-video {
    width: 100%;
    margin: 1.5rem auto .75rem;
    padding-bottom: 0;
}
.rn-home-video h2 {
    border-inline-start: 4px solid var(--bs-primary, #168ed2);
    padding-inline: 1rem;
    margin: 0 0 1rem;
    font-size: clamp(1.25rem, 2.1vw, 1.85rem);
    overflow-wrap: anywhere;
}
.rn-home-video-media {
    --rn-video-height: min(56.25vw, 64vh, 620px);
    --rn-video-portrait-ratio: .5625;
    display: flex;
    width: 100%;
    height: var(--rn-video-height);
    background: #121a1f;
}
@supports (width: 1cqw) {
    .rn-home-video { container-type: inline-size; }
    .rn-home-video-media { --rn-video-height: min(56.25cqw, 64vh, 620px); }
}
.rn-home-video-stage {
    position: relative;
    flex: 0 0 100%;
    min-width: 0;
}
.rn-home-video-media [hidden], .rn-home-video-side { display: none !important; }
.rn-home-video-cover, .rn-home-video-stage video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.rn-home-video-cover img, .rn-home-video-stage video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.rn-home-video-cover span {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 3.6rem;
    height: 3.6rem;
    border: 2px solid white;
    border-radius: 50%;
    background: #121a1f;
    color: white;
    font-size: 1.3rem;
}
.rn-home-video-cover:focus-visible, .rn-home-video-side:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -5px;
    z-index: 1;
}
.rn-home-video-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1rem 0;
}
.rn-home-video-numbers a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding-inline: .5rem;
    border: 1px solid #245744;
    border-radius: .5rem;
    background: #fff;
    color: #245744;
    font-weight: 600;
    text-decoration: none;
}
.rn-home-video-numbers a:hover {
    background: #e8f3ed;
    color: #183f31;
}
.rn-home-video-numbers a[aria-current] {
    background: #245744;
    color: #fff;
}
.rn-home-video-numbers a:focus-visible {
    outline: 2px solid #245744;
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .rn-home-video-media--portrait .rn-home-video-stage {
        flex-basis: min(70%, calc(var(--rn-video-height) * var(--rn-video-portrait-ratio)));
    }
    .rn-home-video-media--portrait .rn-home-video-side {
        display: block !important;
        flex: 1 1 0;
        min-width: 0;
        background-position: center;
        background-size: cover;
        background-color: #344135;
    }
    .rn-home-video-media--portrait .rn-home-video-side--farm {
        background-image: url('harvesting-farm-panel-v2.webp');
    }
    .rn-home-video-media--portrait .rn-home-video-side--collection {
        background-image: url('rudraksha-collection-panel-v2.webp');
    }
}
@media (max-width: 767.98px) {
    .rn-home-video-media--portrait {
        width: min(100%, calc(64vh * var(--rn-video-portrait-ratio)), calc(620px * var(--rn-video-portrait-ratio)));
        height: auto;
        margin-inline: auto;
        aspect-ratio: var(--rn-video-portrait-ratio);
    }
}
