/* YouTube-videocarrousel (Epoch-pagina + productpagina’s) */

.epoch-video-showcase {
    margin-top: 0;
    padding: clamp(1.1rem, 2.6vw, 1.55rem) clamp(1rem, 3vw, 1.45rem);
    border-radius: 18px;
    background:
        radial-gradient(ellipse 90% 80% at 50% -20%, rgba(255, 193, 7, 0.18) 0%, transparent 55%),
        linear-gradient(165deg, #0f1f14 0%, #1a3324 48%, #142a1c 100%);
    border: 1px solid rgba(255, 214, 120, 0.12);
    box-shadow: 0 18px 48px rgba(8, 22, 14, 0.32);
}

.epoch-video-showcase--after-product {
    margin-top: clamp(1.25rem, 3vw, 2rem);
}

/*
 * Tekst boven, video eronder (nooit naast elkaar).
 * main-section verhoogt specificiteit; !important vangt oude/gcached regels
 * die nog display:grid + twee kolommen zetten.
 */
main section.epoch-video-showcase > .epoch-video-showcase__grid,
section.epoch-video-showcase > .epoch-video-showcase__grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch;
    gap: clamp(1.1rem, 2.8vw, 1.85rem);
    width: 100%;
    max-width: none;
    margin: 0;
}

.epoch-video-showcase__copy {
    text-align: left;
    order: 1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 0 0 auto;
}

.epoch-video-showcase__eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 214, 120, 0.92);
}

.epoch-video-showcase__title {
    margin: 0 0 0.55rem;
    font-size: clamp(1.25rem, 2.8vw, 1.72rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1.22;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.epoch-video-showcase__text {
    margin: 0;
    font-size: 0.96rem;
    color: rgba(230, 238, 232, 0.9);
    line-height: 1.58;
}

.epoch-video-carousel {
    order: 2;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 0 0 auto;
}

.epoch-video-carousel__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #0a0f0c;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 12px 36px rgba(0, 0, 0, 0.42);
}

.epoch-video-carousel__embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.epoch-video-carousel__toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 0.65rem;
    flex-wrap: wrap;
}

.epoch-video-carousel__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.epoch-video-carousel__btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

.epoch-video-carousel__btn:focus-visible {
    outline: 2px solid rgba(255, 214, 120, 0.85);
    outline-offset: 2px;
}

.epoch-video-carousel__dots {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.epoch-video-carousel__dot {
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.epoch-video-carousel__dot[aria-current="true"] {
    background: rgba(255, 214, 120, 0.95);
    transform: scale(1.25);
}

.epoch-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    main section.epoch-video-showcase > .epoch-video-showcase__grid,
    section.epoch-video-showcase > .epoch-video-showcase__grid {
        gap: 1.15rem;
    }

    .epoch-video-showcase__copy {
        text-align: center;
    }
}

/* Extra borging op brede schermen: nooit naast elkaar */
@media (min-width: 769px) {
    main section.epoch-video-showcase > .epoch-video-showcase__grid,
    section.epoch-video-showcase > .epoch-video-showcase__grid {
        flex-direction: column !important;
    }
}
