/**
 * Hero Single Style
 * 1 large full-width video
 * 
 * @package Polanger_VideoHub
 * @since 1.5.0
 */

/* =====================================================
   SINGLE STYLE HERO - Full Width Single Video
   ===================================================== */

.pvh-hero-single {
    height: auto;
    min-height: auto;
    max-height: none;
}

.pvh-hero-single .pvh-hero-grid {
    padding: 0 20px;
}

.pvh-hero-single .pvh-hero-main {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    text-decoration: none;
    height: 450px;
    width: 100%;
}

/* Backdrop styles */
.pvh-hero-single .pvh-hero-main .pvh-hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.pvh-hero-single .pvh-hero-main .pvh-hero-backdrop img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pvh-hero-single .pvh-hero-main:hover .pvh-hero-backdrop img {
    transform: scale(1.03);
}

/* Gradient styles */
.pvh-hero-single .pvh-hero-main .pvh-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.6) 30%,
        rgba(0, 0, 0, 0.3) 60%,
        transparent 100%
    );
}

/* Video icon badge */
.pvh-hero-single .pvh-hero-video-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 4;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    border-radius: 6px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.pvh-hero-single .pvh-hero-main:hover .pvh-hero-video-icon {
    opacity: 1;
}

.pvh-hero-single .pvh-hero-video-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.9);
}

/* Content styles */
.pvh-hero-single .pvh-hero-main .pvh-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: auto;
    width: 60%;
    max-width: 700px;
    padding: 40px;
    z-index: 3;
}

.pvh-hero-single .pvh-hero-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--pvh-primary-color, #ff0000);
    margin-bottom: 12px;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
}

.pvh-hero-single .pvh-hero-main .pvh-hero-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px 0;
    color: #fff !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.pvh-hero-single .pvh-hero-excerpt {
    display: block;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pvh-hero-single .pvh-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.pvh-hero-single .pvh-hero-actions {
    display: flex;
    gap: 12px;
}

.pvh-hero-single .pvh-hero-main .pvh-hero-play-btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
}

.pvh-hero-single .pvh-hero-main .pvh-hero-play-btn .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
}

/* =====================================================
   RESPONSIVE - Single Style
   ===================================================== */

@media screen and (max-width: 1024px) {
    .pvh-hero-single .pvh-hero-main {
        height: 380px;
    }
    
    .pvh-hero-single .pvh-hero-main .pvh-hero-content {
        width: 70%;
        padding: 30px;
    }
    
    .pvh-hero-single .pvh-hero-main .pvh-hero-title {
        font-size: 28px;
    }
    
    .pvh-hero-single .pvh-hero-excerpt {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .pvh-hero-single .pvh-hero-grid {
        padding: 0 10px;
    }
    
    .pvh-hero-single .pvh-hero-main {
        height: 300px;
        border-radius: 12px;
    }
    
    .pvh-hero-single .pvh-hero-main .pvh-hero-gradient {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            transparent 100%
        );
    }
    
    .pvh-hero-single .pvh-hero-main .pvh-hero-content {
        width: 100%;
        max-width: none;
        padding: 20px;
    }
    
    .pvh-hero-single .pvh-hero-main .pvh-hero-title {
        font-size: 22px;
    }
    
    .pvh-hero-single .pvh-hero-excerpt {
        display: none;
    }
    
    .pvh-hero-single .pvh-hero-meta {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .pvh-hero-single .pvh-hero-main .pvh-hero-play-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .pvh-hero-single .pvh-hero-video-icon {
        top: 12px;
        right: 12px;
        padding: 6px 8px;
    }
    
    .pvh-hero-single .pvh-hero-video-icon .dashicons {
        font-size: 16px;
        width: 16px;
        height: 16px;
    }
}

@media screen and (max-width: 576px) {
    .pvh-hero-single .pvh-hero-grid {
        padding: 0 5px;
    }
    
    .pvh-hero-single .pvh-hero-main {
        height: 250px;
    }
    
    .pvh-hero-single .pvh-hero-main .pvh-hero-content {
        padding: 16px;
    }
    
    .pvh-hero-single .pvh-hero-main .pvh-hero-title {
        font-size: 18px;
    }
    
    .pvh-hero-single .pvh-hero-category {
        font-size: 10px;
        padding: 3px 8px;
        margin-bottom: 8px;
    }
    
    .pvh-hero-single .pvh-hero-main .pvh-hero-play-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .pvh-hero-single .pvh-hero-main .pvh-hero-play-btn .dashicons {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }
}
