/* ==========================================================================
   TCM One — Independent Hero Video Showcase (Border-Free)
   ========================================================================== */

/* Reduced Header & Hero Spacing Tweaks */
.header {
    padding: 6px 0 !important;
}

.header .navbar {
    min-height: 48px !important;
}

.logo-img {
    height: 30px !important;
    width: auto;
}

.hero {
    padding: 44px 0 24px !important;
    min-height: auto !important;
}

/* Tight Spacing Fix between Hero Video and Courses Section */
.courses-section {
    padding-top: 48px !important;
}

/* Independent Hero Video Showcase Container (Border-Free) */
.hero-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #090a0f;
    border-radius: 22px;
    border: none !important;
    outline: none !important;
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-video-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 36px 80px -12px rgba(0, 0, 0, 0.25);
    border: none !important;
}

/* Poster Overlay & Centered Play Trigger */
.hero-poster-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.hero-poster-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
    transition: background 0.3s ease;
}

.hero-poster-overlay:hover::before {
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.hero-poster-overlay.is-playing {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Centered Play Button */
.hero-play-circle {
    position: relative;
    z-index: 4;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffffff;
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    padding-left: 4px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 10px rgba(255, 255, 255, 0.2);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.hero-poster-overlay:hover .hero-play-circle {
    transform: scale(1.12);
    background: #e52e2e;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(229, 46, 46, 0.5), 0 0 0 14px rgba(229, 46, 46, 0.25);
}

.hero-iframe-player {
    width: 100%;
    height: 100%;
    border: none !important;
}

@media (max-width: 767px) {
    .hero-play-circle {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    .hero {
        padding-bottom: 16px !important;
    }
    .courses-section {
        padding-top: 36px !important;
    }
}
