/* ============================================
   madmonster-video.css
============================================ */

main {

}

/* ── Hero (reuse from event) ── */
.campaign-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-overlay h1 {
    font-size: clamp(36px, 6vw, 82px);
    font-weight: 700;
    margin: 0;
}

.navigation-back {
    margin: 30px 0;
}

/* ============================================
   Main page section
============================================ */
.vdo-page {
    position: relative;
    background: #f0f0f0;
    padding: 60px 24px 100px;
    overflow: hidden;
}

/* ── Decorative images ── */
.vdo-deco {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.vdo-deco-headphone {
    width: clamp(80px, 8vw, 120px);
    left: -10px;
    top: 180px;
}

.vdo-deco-logo-tr {
    width: clamp(100px, 10vw, 160px);
    top: 40px;
    right: 20px;
}

.vdo-deco-element-br {
    width: clamp(120px, 14vw, 200px);
    bottom: 60px;
    right: 0;
}

/* ── Inner container ── */
.vdo-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* ── Description ── */
.vdo-desc {
    font-size: clamp(18px, 2.2vw, 26px);
    line-height: 1.75;
    color: #222;
    max-width: 820px;
    margin: 0;
}

/* ============================================
   Section block (TVC / CONTENT)
============================================ */
.vdo-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── Section heading with bullet icon ── */
.vdo-block-heading {
    display: flex;
    align-items: center;
    gap: 6px;
}

.vdo-bullet-icon {
    width: 54px;
    height: auto;
    display: block;
    flex-shrink: 0;
}

.vdo-block-heading h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: 0.06em;
    margin: 0;
    color: #111;
}

/* ============================================
   TVC — YouTube 3-column grid
============================================ */
.vdo-youtube-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.vdo-yt-item {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #ddd;
    border-radius: 14px;
    overflow: hidden;
}

.vdo-yt-item iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 14px;
}

/* ============================================
   CONTENT — TikTok thumbnail grid (4 cols, portrait 3:4)
============================================ */
.vdo-tiktok-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.vdo-tiktok-item {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
    background: #111;
}

.vdo-tiktok-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.vdo-tiktok-item:hover img {
    transform: scale(1.05);
    opacity: 0.75;
}

/* TikTok icon overlay */
.vdo-tiktok-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.vdo-tiktok-item:hover .vdo-tiktok-overlay {
    opacity: 1;
}

.vdo-tiktok-overlay i {
    font-size: 48px;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}

@media (max-width: 1024px) {
    .vdo-tiktok-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .vdo-tiktok-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* ============================================
   CONTENT — mixed portrait + landscape grid
   4 cols, 2 rows
   Row 1: [P][P][LS ──]
   Row 2: [LS ──][P][P]
============================================ */
.vdo-content-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: 20px;
}

/* portrait: 1 col, full row height */
.vdo-thumb.portrait {
    grid-column: span 1;
}

/* landscape: 2 cols, half row height (auto-fit by grid row) */
.vdo-thumb.landscape {
    grid-column: span 2;
}

.vdo-thumb {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: #ddd;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vdo-thumb:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}

.vdo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   Responsive
============================================ */
@media (max-width: 1024px) {
    .vdo-youtube-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vdo-content-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    /* landscape spans 2 cols (full width on 2-col grid) */
    .vdo-thumb.landscape {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .vdo-youtube-grid {
        grid-template-columns: 1fr;
    }

    .vdo-content-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
    }

    .vdo-thumb.landscape {
        grid-column: span 2;
    }

    .vdo-deco {
        display: none;
    }
}
