/* VH Video Manager v2 */

/* ==========================================================================
   Single Video Post
   ========================================================================== */

.vhv-video-post .cb-sidebar { display: none !important; }
.vhv-video-post .cb-main { width: 100% !important; max-width: 100% !important; float: none !important; }
.vhv-video-post .cb-entry-header img,
.vhv-video-post .cb-entry-header > a,
.vhv-video-post .cb-entry-header > figure,
.vhv-video-post .cb-entry-header-img,
.vhv-video-post .cb-featured-img-full { display: none !important; }
.vhv-video-post .cb-entry-title,
.vhv-video-post .entry-title { display: none !important; }
.vhv-video-post .cb-byline,
.vhv-video-post .cb-post-meta { display: none !important; }

/* Dark title bar */
.vhv-title-bar {
    background: #1a1a1a;
    padding: 16px 24px;
    margin-bottom: 0;
}
.vhv-title-bar-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Video player */
.vhv-video-section { background: #000; }
.vhv-player-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.vhv-player-wrap iframe,
.vhv-player-wrap video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Video Archive — Hero Section (image 5 layout)
   ========================================================================== */

.vhv-archive { max-width: 1100px; margin: 0 auto; padding: 0; }

/* Hero: featured left + sidebar right */
.vhv-hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2px;
    background: #f0f0f0;
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
}

/* Hero main (left) */
.vhv-hero-main {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    background: #000;
}
.vhv-hero-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.vhv-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.vhv-hero-main:hover .vhv-hero-thumb img { transform: scale(1.03); }
.vhv-hero-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 64px; height: 64px;
    background: rgba(173,134,51,0.9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    padding-left: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s;
}
.vhv-hero-main:hover .vhv-hero-play { opacity: 1; }
.vhv-hero-title {
    padding: 14px 16px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin: 0;
    line-height: 1.4;
    background: #fff;
}
.vhv-hero-main:hover .vhv-hero-title { color: #ad8633; }

/* Hero sidebar (right) */
.vhv-hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #f0f0f0;
}
.vhv-hero-item {
    display: flex;
    gap: 12px;
    padding: 10px 12px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    flex: 1;
    align-items: center;
    transition: background 0.2s;
}
.vhv-hero-item:hover { background: #faf6ee; }
.vhv-hero-item-thumb {
    width: 120px;
    min-width: 120px;
    aspect-ratio: 16/9;
    border-radius: 6px;
    overflow: hidden;
    background: #ddd;
}
.vhv-hero-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vhv-hero-item-info { flex: 1; min-width: 0; }
.vhv-hero-item-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vhv-hero-item:hover h4 { color: #ad8633; }
.vhv-hero-item-info span {
    font-size: 11px;
    color: #999;
}

/* Section title divider */
.vhv-section-title {
    text-align: center;
    margin: 30px 0 25px;
    position: relative;
}
.vhv-section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}
.vhv-section-title span {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 0 20px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    letter-spacing: 2px;
}

/* Grid cards */
.vhv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.vhv-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}
.vhv-card:hover { transform: translateY(-3px); }
.vhv-card-thumb {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    background: #222;
}
.vhv-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.vhv-card:hover .vhv-card-thumb img { transform: scale(1.05); }
.vhv-card-play-sm {
    position: absolute;
    bottom: 6px; right: 6px;
    width: 28px; height: 28px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    padding-left: 2px;
}
.vhv-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin: 10px 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vhv-card:hover .vhv-card-title { color: #ad8633; }
.vhv-card-date { font-size: 11px; color: #999; }

.vhv-no-videos { text-align: center; padding: 60px 20px; color: #999; font-style: italic; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
    .vhv-hero { grid-template-columns: 1fr; }
    .vhv-hero-sidebar { flex-direction: row; flex-wrap: wrap; }
    .vhv-hero-item { flex: 1 1 48%; }
    .vhv-hero-item-thumb { width: 90px; min-width: 90px; }
    .vhv-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .vhv-title-bar { padding: 12px 15px; }
    .vhv-title-bar-text { font-size: 14px; }
    .vhv-hero-sidebar { flex-direction: column; }
    .vhv-hero-item { flex: 1 1 100%; }
    .vhv-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .vhv-card-title { font-size: 12px; }
    .vhv-hero-play { opacity: 1; width: 50px; height: 50px; font-size: 20px; }
}
