/* ============================================================
   Full-bleed Video showcase page (ZHA-inspired)
   ============================================================ */
.zha-video-page {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 380px;
    overflow: hidden;
    background-color: var(--black-01);
}

.zha-video-page .carousel-inner,
.zha-video-page .carousel-item {
    width: 100%;
    height: 100%;
}

.zha-video-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.zha-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zha-video-page::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}

.zha-video-label {
    position: absolute;
    top: 130px;
    left: 40px;
    z-index: 2;
    color: var(--white-01);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.zha-video-caption {
    position: absolute;
    bottom: 50px;
    left: 40px;
    right: 40px;
    z-index: 2;
}

.zha-video-caption h2 {
    color: var(--white-01);
    font-size: clamp(1.6rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.15;
    margin: 0 0 20px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
    word-break: break-word;
}

.zha-video-caption .my-btn.btn-02 {
    display: inline-block;
    background-color: transparent;
    border: 1px solid var(--white-01);
    border-radius: 0;
    color: var(--white-01);
    padding: 14px 38px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all .3s ease;
    text-align: center;
}

.zha-video-caption .my-btn.btn-02:hover,
.zha-video-caption .my-btn.btn-02:active {
    background-color: var(--color-01);
    border-color: var(--color-01);
    color: var(--white-01);
}

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
    .zha-video-label {
        top: 110px;
        left: 28px;
        font-size: .75rem;
        letter-spacing: 3px;
    }
    .zha-video-caption {
        left: 28px;
        right: 28px;
        bottom: 36px;
    }
    .zha-video-caption h2 {
        margin-bottom: 16px;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 575px) {
    .zha-video-page {
        min-height: 100vh;
        min-height: 100dvh;
    }
    .zha-video-label {
        top: 88px;
        left: 18px;
        font-size: .65rem;
        letter-spacing: 2px;
    }
    .zha-video-page::after {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.1) 55%, rgba(0, 0, 0, 0.65) 100%);
    }
    .zha-video-caption {
        left: 18px;
        right: 18px;
        bottom: 24px;
    }
    .zha-video-caption h2 {
        font-size: 1.6rem;
        letter-spacing: -1px;
        margin-bottom: 18px;
    }
    .zha-video-caption .my-btn.btn-02 {
        display: block;
        width: 100%;
        padding: 14px 20px;
        font-size: .7rem;
        letter-spacing: 2px;
    }
}

/* ---------- Mobile: 2-column video gallery grid ---------- */
.zha-video-grid {
    background-color: var(--black-01);
    padding: 90px 0 30px;
}
.zha-video-grid-label {
    position: static;
    display: block;
    margin: 0 0 14px 18px;
}
.zha-video-grid-item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
}
.zha-video-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.zha-video-grid-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.65) 100%);
}
.zha-video-grid-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-01);
    font-size: .75rem;
    z-index: 1;
}
.zha-video-grid-title {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    z-index: 1;
    color: var(--white-01);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zha-video-grid-item-wrap {
    position: relative;
}
.zha-video-grid-share {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white-01);
    font-size: .7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease;
}
.zha-video-grid-share:hover {
    background: rgba(0, 0, 0, 0.75);
}
.zha-video-grid-share.copied {
    background: var(--color-01, #d50000);
}

/* ---------- Reduced-data: skip the autoplaying video on metered/slow connections ---------- */
.zha-video-page.zha-save-data .zha-video-bg {
    display: none;
}
.zha-video-page.zha-save-data,
.zha-video-page.zha-save-data .zha-video-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
