/* ==========================================================================
   Hero Follow-up Videos Component
   Luxury modern card strip beneath the hero slider stage
   ========================================================================== */

.hero-followup-videos {
    --video-ribbon-ink: #0f172a;
    --video-ribbon-muted: #64748b;
    --video-ribbon-line: rgba(15, 23, 42, 0.08);
    --video-ribbon-bg: rgba(255, 255, 255, 0.82);
    --video-ribbon-hover-bg: #ffffff;
    --video-ribbon-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.05), 0 1px 4px -1px rgba(15, 23, 42, 0.03);
    --video-ribbon-hover-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.1), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
    margin-top: 10px;
    padding-top: 2px;
    padding-bottom: 0;
}

.hero-followup-videos__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0 2px;
}

.hero-followup-videos__title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-followup-videos__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--video-ribbon-muted);
}

.hero-followup-videos__eyebrow i {
    font-size: 0.95rem;
    color: #ef4444;
}

.hero-followup-videos__all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--video-ribbon-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, transform 0.2s ease;
}

.hero-followup-videos__all:hover {
    color: var(--bs-primary, #0d6efd);
    transform: translateX(2px);
}

.hero-followup-videos__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-followup-video {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
    color: inherit;
    text-decoration: none;
    padding: 8px;
    border-radius: 12px;
    background: var(--video-ribbon-bg);
    border: 1px solid var(--video-ribbon-line);
    box-shadow: var(--video-ribbon-shadow);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.25s ease,
                border-color 0.25s ease;
}

.hero-followup-video:hover {
    transform: translateY(-2px);
    background: var(--video-ribbon-hover-bg);
    border-color: rgba(13, 110, 253, 0.3);
    box-shadow: var(--video-ribbon-hover-shadow);
}

.hero-followup-video__media {
    position: relative;
    height: 64px;
    overflow: hidden;
    background: radial-gradient(circle at center, #1e293b 0%, #090d16 100%);
    border-radius: 8px;
    flex-shrink: 0;
}

.hero-followup-video__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    color: transparent;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-followup-video:hover .hero-followup-video__media img {
    transform: scale(1.08);
}

.hero-followup-video__placeholder {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 35%, #1e293b 0%, #090d16 100%);
    color: rgba(255, 255, 255, 0.45);
    position: relative;
    overflow: hidden;
}

.hero-followup-video__placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 2px, transparent 2px, transparent 8px);
    pointer-events: none;
}

.hero-followup-video__placeholder-icon {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, color 0.3s ease;
}

.hero-followup-video:hover .hero-followup-video__placeholder-icon {
    transform: scale(1.1);
    color: rgba(255, 255, 255, 0.7);
}

.hero-followup-video__play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
    z-index: 2;
    pointer-events: none;
}

.hero-followup-video__play i {
    margin-left: 2px;
}

.hero-followup-video:hover .hero-followup-video__play {
    transform: scale(1.16);
    background: var(--bs-primary, #0d6efd);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.5);
}

.hero-followup-video__duration {
    position: absolute;
    right: 4px;
    bottom: 4px;
    padding: 2px 5px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
    z-index: 2;
}

.hero-followup-video__body {
    min-width: 0;
    padding-right: 4px;
}

.hero-followup-video__name {
    margin: 0;
    color: var(--video-ribbon-ink);
    font-family: var(--bs-font-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    transition: color 0.2s ease;
}

.hero-followup-video:hover .hero-followup-video__name {
    color: var(--bs-primary, #0d6efd);
}

/* Responsive viewports */
@media (max-width: 991px) {
    .hero-followup-videos {
        margin-top: 12px;
    }
    .hero-followup-videos__grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-bottom: 6px;
        margin: 0 -4px;
        padding-left: 4px;
        padding-right: 4px;
    }
    .hero-followup-videos__grid::-webkit-scrollbar {
        display: none;
    }
    .hero-followup-video {
        flex: 0 0 260px;
        scroll-snap-align: start;
    }
}

@media (max-width: 767px) {
    .hero-followup-videos {
        margin-top: 10px;
    }
    .hero-followup-video {
        flex: 0 0 240px;
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 10px;
        padding: 6px;
    }
    .hero-followup-video__media {
        height: 56px;
    }
    .hero-followup-video__name {
        font-size: 0.78rem;
    }
}

/* Dark mode theme token alignment */
html[data-bs-theme="dark"] .hero-followup-videos,
body.dark .hero-followup-videos,
body.dark-mode .hero-followup-videos {
    --video-ribbon-ink: #f8fafc;
    --video-ribbon-muted: #94a3b8;
    --video-ribbon-line: rgba(255, 255, 255, 0.08);
    --video-ribbon-bg: rgba(30, 41, 59, 0.55);
    --video-ribbon-hover-bg: rgba(30, 41, 59, 0.85);
    --video-ribbon-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.25);
    --video-ribbon-hover-shadow: 0 8px 22px -4px rgba(0, 0, 0, 0.45);
}
