body {
    background: #f6f3ee;
    color: #1c1b1a;
}

.gallery-page {
    padding: 40px 0 100px;
}

.gallery-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}


.hero-intro {
    max-width: 860px;
}

.eyebrow {
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #6f6b65;
    margin-bottom: 12px;
}

.hero-intro h1 {
    font-family: 'Lora', serif;
    font-size: 3.2rem;
    line-height: 1.1;
    color: #111;
}

 .video-section {
    margin-bottom: 0;
}

.gallery-card {
    background: #ffffff;
    border-radius: 38px;
    padding: 32px;
    box-shadow: 0 35px 60px rgba(14, 14, 14, 0.08);
}

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

.video-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 45px rgba(17, 19, 27, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(24px);
    animation: rise 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: var(--delay, 0s);
}

.video-card a {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 55px rgba(17, 19, 27, 0.18);
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    background: #f4e9df;
    background-size: cover;
    background-position: center;
}

.video-wrapper.has-preview,
.video-fallback.has-preview {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-fallback {
    height: 0;
    padding-top: 56.25%;
    position: relative;
    background: linear-gradient(180deg, #f7f4f0, #ece3d9);
}

.video-fallback img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid rgba(17, 17, 17, 0.15);
    background: rgba(255, 255, 255, 0.98);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #111;
    z-index: 3;
    pointer-events: none;
}

.badge-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
}

.badge-label {
    font-size: 0.7rem;
}

.quotes-section {
    margin-top: 32px;
}

.text-card {
    background: #ffffff;
    border-radius: 38px;
    padding: 36px 40px;
    box-shadow: 0 20px 50px rgba(14, 14, 14, 0.08);
}

.quote-stream {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #2e2b28;
    font-size: 1rem;
    line-height: 1.7;
    font-family: 'Lora', serif;
    padding-left: 16px;
}

@media (max-width: 1024px) {
    .gallery-card {
        padding: 24px;
    }

    .text-card {
        padding: 30px;
    }
}

.quote-stream br {
    content: '';
    height: 8px;
}

.quote-line {
    margin: 0;
}

@keyframes rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .gallery-content {
        padding: 0 16px;
    }

    .hero-intro h1 {
        font-size: 2.7rem;
    }

    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .gallery-page {
        padding: 40px 0 80px;
    }

    .video-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .quotes-section {
        padding: 24px;
    }
}

