.video-archive-page,
.video-detail-page {
    background: linear-gradient(180deg, #fffaf1 0%, #f7ead8 46%, #fffaf1 100%);
    color: var(--hi-ink, #2b1b2d);
}

.video-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(100px, 12vh, 165px) 0 clamp(76px, 9vw, 118px);
    background:
        radial-gradient(circle at 14% 18%, rgba(222, 238, 236, .76), transparent 34%),
        radial-gradient(circle at 82% 18%, rgba(198, 148, 53, .18), transparent 32%),
        linear-gradient(135deg, #fffaf1 0%, #f3e5cf 58%, #eaf1ee 100%);
}

.video-hero__content {
    max-width: 930px;
}

.video-hero h1 {
    margin: 10px 0 18px;
    color: var(--hi-ink, #2b1b2d);
    font-size: clamp(3rem, 6vw, 6.2rem);
    line-height: 1.06;
    letter-spacing: 0;
}

.video-hero p {
    max-width: 820px;
    margin: 0;
    color: #5b4a41;
    font-family: var(--hi-serif, Georgia, serif);
    font-size: clamp(1.12rem, 1.75vw, 1.55rem);
    line-height: 1.85;
}

.video-section {
    padding: clamp(64px, 8vw, 108px) 0;
}

.video-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.video-filter {
    border: 1px solid rgba(121, 43, 42, .16);
    border-radius: 999px;
    padding: 11px 17px;
    background: rgba(255, 252, 246, .78);
    color: #6a5247;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(82, 50, 34, .06);
}

.video-filter.is-active,
.video-filter:hover,
.video-filter:focus-visible {
    color: #fffaf1;
    background: var(--hi-maroon, #8a2f2d);
    outline: none;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.video-card {
    display: flex;
    min-height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid rgba(198, 148, 53, .22);
    border-radius: 8px;
    background: rgba(255, 252, 246, .88);
    box-shadow: 0 20px 52px rgba(82, 50, 34, .09);
}

.video-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3e5cf;
}

.video-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.02);
    transition: transform .32s ease;
}

.video-card:hover .video-card__media img {
    transform: scale(1.035);
}

.video-card__play {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 250, 241, .94);
    color: var(--hi-maroon, #8a2f2d);
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(43, 27, 45, .18);
}

.video-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.video-card h2,
.video-card h3 {
    margin: 0 0 10px;
    color: var(--hi-ink, #2b1b2d);
    font-size: clamp(1.22rem, 1.6vw, 1.48rem);
    line-height: 1.38;
}

.video-card__meta {
    margin: 0 0 14px;
    color: var(--hi-maroon, #8a2f2d);
    font-weight: 800;
    line-height: 1.55;
}

.video-card__excerpt {
    margin: 0 0 22px;
    color: #62534a;
    line-height: 1.75;
}

.video-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.video-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid rgba(121, 43, 42, .2);
    border-radius: 999px;
    padding: 9px 16px;
    text-decoration: none;
    font-weight: 900;
    line-height: 1.2;
}

.video-action--primary {
    color: #fffaf1;
    background: var(--hi-maroon, #8a2f2d);
}

.video-action--secondary {
    color: var(--hi-maroon, #8a2f2d);
    background: rgba(255, 252, 246, .75);
}

.video-action[disabled] {
    opacity: .5;
    cursor: not-allowed;
}

.video-empty {
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid rgba(198, 148, 53, .2);
    border-radius: 8px;
    background: rgba(255, 252, 246, .82);
    color: #62534a;
    box-shadow: 0 18px 46px rgba(82, 50, 34, .08);
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(36, 22, 38, .72);
}

.video-modal.is-open {
    display: flex;
}

.video-modal__dialog {
    width: min(100%, 980px);
    overflow: hidden;
    border-radius: 8px;
    background: #fffaf1;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .32);
}

.video-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(121, 43, 42, .14);
}

.video-modal__title {
    margin: 0;
    color: var(--hi-ink, #2b1b2d);
    font-size: 1.08rem;
    line-height: 1.4;
}

.video-modal__close {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(121, 43, 42, .16);
    border-radius: 999px;
    background: rgba(255, 252, 246, .9);
    color: var(--hi-maroon, #8a2f2d);
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
}

.video-modal__frame {
    aspect-ratio: 16 / 9;
    background: #120d13;
}

.video-modal__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(34px, 6vw, 76px);
    align-items: start;
}

.video-detail-frame {
    overflow: hidden;
    border: 1px solid rgba(198, 148, 53, .22);
    border-radius: 8px;
    background: #120d13;
    box-shadow: 0 24px 64px rgba(82, 50, 34, .16);
}

.video-detail-frame iframe,
.video-detail-frame img {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: block;
    border: 0;
    object-fit: cover;
}

.video-detail-copy h2 {
    margin: 0 0 16px;
    color: var(--hi-ink, #2b1b2d);
    font-size: clamp(2rem, 3.2vw, 3.3rem);
    line-height: 1.18;
    letter-spacing: 0;
}

.video-detail-copy p {
    color: #5b4a41;
    font-size: 1.08rem;
    line-height: 1.9;
}

.video-detail-hook {
    padding: 24px;
    border-left: 4px solid var(--hi-gold, #c69435);
    border-radius: 8px;
    background: rgba(255, 252, 246, .84);
    color: var(--hi-ink, #2b1b2d);
    font-family: var(--hi-serif, Georgia, serif);
    font-size: clamp(1.18rem, 1.8vw, 1.45rem);
    font-weight: 700;
    line-height: 1.75;
}

@media (max-width: 980px) {
    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .video-hero {
        padding-top: 118px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .video-filter {
        flex: 0 0 auto;
    }
}


.testimonial-video-block {
    scroll-margin-top: 110px;
}

.testimonial-video-block:nth-of-type(even) {
    background: rgba(255, 252, 246, .42);
}

.testimonial-video-heading {
    max-width: 900px;
    margin: 0 0 30px;
}

.testimonial-video-heading h2 {
    margin: 8px 0 12px;
    color: var(--hi-ink, #2b1b2d);
    font-size: clamp(2.2rem, 4.2vw, 4.25rem);
    line-height: 1.14;
}

.testimonial-video-heading p {
    max-width: 780px;
    margin: 0;
    color: #62534a;
    font-family: var(--hi-serif, Georgia, serif);
    font-size: clamp(1.08rem, 1.5vw, 1.32rem);
    line-height: 1.8;
}

