/**
 * ReachTV Theme Styles
 *
 * Migrated and adapted from demo_preview/style.css
 *
 * @package ReachTV_Theme
 */

/* Custom Fonts */
@font-face {
    font-family: 'Transducer Condensed';
    src: url('../fonts/Transducer-CondensedRegular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Transducer Condensed';
    src: url('../fonts/Transducer-CondensedRegularOblique.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Transducer Condensed';
    src: url('../fonts/Transducer-CondensedMedium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Transducer Condensed';
    src: url('../fonts/Transducer-CondensedMediumOblique.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Transducer Condensed';
    src: url('../fonts/Transducer-condensed-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Transducer Condensed';
    src: url('../fonts/Transducer-condensed-700-oblique.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Reset & Base */
:root {
    --color-bg: #000000;
    --color-card: #1A1A1A;
    --color-accent: #ADFF00;
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #AAAAAA;
    --font-main: 'Transducer Condensed', 'Inter', sans-serif;
    --spacing-container: 4%;
    --radius-card: 12px;
    --radius-btn: 999px;
    --transition-standard: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    font-family: var(--font-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-standard);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-container);
}

.text-white {
    color: #fff;
}

.text-accent {
    color: var(--color-accent);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo .custom-logo {
    max-height: 44px;
    max-width: 200px;
    width: auto;
    height: auto;
}

.logo .custom-logo-link {
    display: flex;
    align-items: center;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    line-height: 1;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text-primary);
}

/* Navigation Dropdowns */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    padding: 0;
    line-height: 1;
}

.dropdown-toggle:hover {
    color: var(--color-text-primary);
}

.dropdown-arrow {
    transition: transform 0.2s ease;
}

.nav-dropdown.is-open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.5rem 1.25rem;
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.65rem;
    color: var(--color-text-secondary);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.is-open {
    display: block;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-menu a {
    color: var(--color-text-primary);
    font-size: 1.1rem;
    padding: 0.5rem 0;
}

/* Mobile Nav Dropdown Overrides */
.mobile-nav .nav-dropdown {
    display: block;
}

.mobile-nav .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    color: var(--color-text-primary);
    font-size: 1.1rem;
    padding: 0.5rem 0;
}

.mobile-nav .dropdown-menu {
    position: static;
    transform: none;
    min-width: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.3s ease;
}

.mobile-nav .nav-dropdown.is-open .dropdown-menu {
    max-height: 500px;
    transform: none;
    padding: 0.5rem 0;
}

.mobile-nav .dropdown-link {
    padding: 0.5rem 0 0.5rem 1.5rem;
    font-size: 1rem;
    color: var(--color-text-secondary);
}

/* Buttons */
.btn {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-standard);
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #000;
}

.btn-primary:hover {
    background-color: #beff33;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(173, 255, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    margin-right: 0.5rem;
}

.btn-outline:hover {
    border-color: #fff;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* Main Content */
.main-content {
    padding: /* 2rem */ 0 0;
}

section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

/* Hero / Video */
.hero-section {
    position: relative;
}

.hero-highlight {
    background-color: var(--color-accent);
    color: #000;
    padding: 1.5rem 0;
    position: relative;
}

.hero-container {
    position: relative;
    z-index: 10;
}

.video-player-wrapper {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--color-card);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    aspect-ratio: 16/9;
}

.video-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-placeholder img,
.video-placeholder iframe {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 0.3s ease;
}

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

#hero-vimeo-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

#hero-vimeo-player iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.player-overlay-top-right {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 20;
}

.btn-unmute {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition-standard);
}

.btn-unmute:hover {
    background: rgba(0, 0, 0, 0.9);
}

.btn-unmute.is-unmuted svg line {
    display: none;
}

.btn-skip {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition-standard);
}

.btn-skip:hover {
    background: rgba(0, 0, 0, 0.9);
}

.btn-skip svg {
    width: 16px;
    height: 16px;
}

.btn-playpause {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-standard);
}

.btn-playpause:hover {
    background: rgba(0, 0, 0, 0.9);
}

.btn-playpause svg {
    width: 20px;
    height: 20px;
}

.hero-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.hero-title {
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 2.5rem;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.hero-subtitle {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.live-badge-solid {
    background-color: #ff3b30;
    color: white;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
}

.playlist-badge {
    background-color: var(--color-card);
    color: var(--color-text-secondary);
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.pulse-dot-white {
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Hero Controls */
.hero-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.playlist-indicator {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

/* Hero poster (loading state) */
.hero-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    transition: opacity 0.3s ease;
}

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

/* Hero loading spinner */
.hero-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.hero-loading.is-loading {
    opacity: 1;
}

.hero-loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: hero-spin 0.8s linear infinite;
}

@keyframes hero-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Vimeo player container */
#hero-vimeo-player {
    width: 100%;
    height: 100%;
}

#hero-vimeo-player iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Carousels */
.content-carousel {
    position: relative;
}

.carousel-track-wrapper {
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.carousel-track-wrapper::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
}

/* Carousel Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-75%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.content-carousel:hover .carousel-nav {
    opacity: 1;
}

.carousel-nav:hover {
    background: var(--color-accent);
    color: #000;
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav-prev {
    left: 1rem;
}

.carousel-nav-next {
    right: 1rem;
}

/* Hide arrows on mobile/touch devices */
@media (max-width: 768px) {
    .carousel-nav {
        display: none;
    }
}

.content-card {
    width: 320px;
    flex-shrink: 0;
    cursor: pointer;
}

.content-card a {
    display: block;
}

.card-media {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    margin-bottom: 0.5rem;
    aspect-ratio: 16/9;
    transition: var(--transition-standard);
    border: 2px solid transparent;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-card:hover .card-media {
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(173, 255, 0, 0.15);
}

/* Play Button Overlay */
.play-btn-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--color-accent);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 8px;
    z-index: 5;
}

.play-icon-black {
    fill: #000;
    width: 20px;
    height: 20px;
}

.card-info {
    padding-top: 0.25rem;
}

.card-title {
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1.35rem;
    color: var(--color-accent);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0.25rem;
    letter-spacing: 0.01em;
}

.card-category {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 400;
    display: block;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-left: 0;
}

.indicator-line {
    width: 40px;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-standard);
}

.indicator-line:hover {
    background-color: #555;
}

.indicator-line.active {
    background-color: #fff;
}

/* Categories Stack */
.categories-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.category-stack-item {
    position: relative;
    height: 140px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: var(--color-card);
    background-size: cover;
    background-position: center;
    transition: var(--transition-standard);
}

.category-stack-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: var(--transition-standard);
}

.category-stack-item:hover::before {
    background: rgba(0, 0, 0, 0.2);
}

.category-stack-item:hover {
    transform: scale(1.01);
}

.category-stack-name {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.back-to-top-wrapper {
    margin-top: 3rem;
    text-align: center;
}

/* Posts Grid (for archive pages) */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Single Show Page */
.show-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-color: #06020E;
    padding: 3rem 0;
}

.show-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    z-index: 1;
}

.show-hero .container {
    position: relative;
    z-index: 2;
}

.show-hero-content {
    max-width: 800px;
}

.show-title {
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 3.5rem;
    color: var(--color-accent);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.show-caption {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
}

/* Episodes Section */
.episodes-section {
    padding-top: 3rem;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.episode-card {
    cursor: pointer;
}

.episode-card a {
    display: block;
    text-decoration: none;
}

.episode-media {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    aspect-ratio: 16/9;
    background-color: var(--color-card);
    margin-bottom: 0.75rem;
    transition: var(--transition-standard);
    border: 2px solid transparent;
}

.episode-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.episode-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--color-card);
}

.episode-card:hover .episode-media {
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(173, 255, 0, 0.15);
}

.episode-info {
    padding: 0.25rem 0;
}

.episode-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    line-height: 1.3;
}

/* Section Divider */
.section-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 3rem 0;
}

/* More from Category Section */
.more-from-category {
    padding-bottom: 2rem;
}

.shows-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.shows-carousel::-webkit-scrollbar {
    display: none;
}

.shows-carousel .show-card {
    flex-shrink: 0;
    width: 280px;
    display: block;
    text-decoration: none;
    transition: var(--transition-standard);
}

.shows-carousel .show-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--radius-card);
    border: 2px solid transparent;
    transition: var(--transition-standard);
}

.shows-carousel .show-card-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: var(--color-card);
    border-radius: var(--radius-card);
}

.shows-carousel .show-card:hover img {
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(173, 255, 0, 0.15);
}

.shows-carousel .show-card:hover {
    transform: translateY(-4px);
}

.shows-carousel .show-card-title {
    display: block;
    margin-top: 0.75rem;
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-accent);
    text-decoration: none;
}

/* Other Categories Section */
.other-categories {
    padding-bottom: 2rem;
}

.categories-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-carousel::-webkit-scrollbar {
    display: none;
}

.category-card {
    flex-shrink: 0;
    width: 280px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-card);
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-card);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition-standard);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: var(--transition-standard);
}

.category-card:hover::before {
    background: rgba(0, 0, 0, 0.2);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.category-name {
    position: relative;
    z-index: 2;
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

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

@media (max-width: 768px) {
    .show-hero {
        min-height: 300px;
        padding: 2rem 0;
    }

    .show-title {
        font-size: 2.5rem;
    }

    .episodes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-card {
        width: 220px;
        height: 110px;
    }

    .category-name {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .show-title {
        font-size: 2rem;
    }

    .show-caption {
        font-size: 1rem;
    }
}

/* Category Archive Page */
.category-hero {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: var(--color-card);
    padding: 3rem 0;
}

.category-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.category-hero .container {
    position: relative;
    z-index: 2;
}

.category-title {
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 3.5rem;
    color: var(--color-accent);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.category-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
}

/* Shows Grid on Category Page */
.category-shows {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.shows-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.show-card {
    cursor: pointer;
}

.show-card a {
    display: block;
    text-decoration: none;
}

.show-card-media {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    aspect-ratio: 16/9;
    background-color: var(--color-card);
    margin-bottom: 0.75rem;
    transition: var(--transition-standard);
    border: 2px solid transparent;
}

.show-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.show-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--color-card);
}

.show-card:hover .show-card-media {
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(173, 255, 0, 0.15);
}

.show-card-info {
    padding: 0.25rem 0;
}

.show-card-title {
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--color-accent);
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.no-shows {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    padding: 3rem 0;
}

/* Pagination */
.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination .page-numbers,
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background-color: var(--color-card);
    color: var(--color-text-secondary);
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition-standard);
}

.pagination .page-numbers:hover,
.nav-links .page-numbers:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
}

.pagination .page-numbers.current,
.nav-links .page-numbers.current {
    background-color: var(--color-accent);
    color: #000;
}

/* Category Archive Responsive */
@media (max-width: 1200px) {
    .shows-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .category-hero {
        min-height: 200px;
        padding: 2rem 0;
    }

    .category-title {
        font-size: 2.5rem;
    }

    .shows-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .category-title {
        font-size: 2rem;
    }

    .shows-grid {
        grid-template-columns: 1fr;
    }

    .show-card-title {
        font-size: 1.1rem;
    }
}

/* Blog Page Styles */
.blog-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: var(--color-card);
    padding: 4rem 0;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.blog-hero .container {
    position: relative;
    z-index: 2;
}

.blog-hero-content {
    max-width: 700px;
}

.blog-hero-title {
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 3.5rem;
    color: var(--color-accent);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.blog-hero-synopsis {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Blog Filter */
.blog-posts-section {
    padding: 3rem 0;
}

.news-anchor {
    position: relative;
    top: -100px;
    visibility: hidden;
}

.blog-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-standard);
}

.filter-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-text-primary);
}

.filter-btn.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #000;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
}

.blog-card-image {
    display: block;
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: var(--color-card);
    margin-bottom: 1rem;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--color-card);
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.blog-card-category {
    color: var(--color-accent);
    font-weight: 500;
}

.meta-separator {
    color: var(--color-text-secondary);
}

.blog-card-date {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.blog-card-title {
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.blog-card-title a {
    color: inherit;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--color-accent);
}

.blog-card-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-card-link {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
    font-style: italic;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.blog-card-link:hover {
    opacity: 0.8;
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background-color: var(--color-card);
    color: var(--color-text-secondary);
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition-standard);
}

.blog-pagination .page-numbers:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
}

.blog-pagination .page-numbers.current {
    background-color: var(--color-accent);
    color: #000;
}

.no-posts {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    padding: 3rem 0;
    grid-column: 1 / -1;
}

/* Single Blog Post */
.single-blog-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-color: var(--color-card);
    padding: 3rem 0;
}

.single-blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
}

.single-blog-hero .container {
    position: relative;
    z-index: 2;
}

.single-blog-hero-content {
    max-width: 900px;
}

.single-blog-title {
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 3rem;
    color: var(--color-accent);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.single-blog-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
}

.single-blog-meta .blog-category {
    color: var(--color-accent);
    font-weight: 500;
}

.single-blog-meta .meta-separator {
    color: var(--color-text-secondary);
}

.single-blog-meta .blog-date {
    color: var(--color-text-secondary);
}

/* Blog Content */
.single-blog-content {
    padding: 3rem 0;
}

.blog-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-primary);
}

.blog-content-wrapper p {
    margin-bottom: 1.5rem;
}

.blog-content-wrapper h1,
.blog-content-wrapper h2,
.blog-content-wrapper h3,
.blog-content-wrapper h4,
.blog-content-wrapper h5,
.blog-content-wrapper h6 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
    font-weight: 700;
    line-height: 1.3;
}

.blog-content-wrapper h2 {
    margin-top: 3rem;
}

.blog-content-wrapper h3 {
    margin-top: 2.75rem;
}

.blog-content-wrapper h1 {
    font-size: 2.5rem;
}

.blog-content-wrapper h2 {
    font-size: 2rem;
}

.blog-content-wrapper h3 {
    font-size: 1.75rem;
}

.blog-content-wrapper h4 {
    font-size: 1.5rem;
}

.blog-content-wrapper h5 {
    font-size: 1.25rem;
}

.blog-content-wrapper h6 {
    font-size: 1.1rem;
}

.blog-content-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    margin: 2rem 0;
}

.blog-content-wrapper a {
    color: var(--color-accent);
}

.blog-content-wrapper a:hover {
    text-decoration: underline;
}

.blog-content-wrapper blockquote {
    border-left: 3px solid var(--color-accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--color-text-secondary);
}

.blog-content-wrapper ul,
.blog-content-wrapper ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-content-wrapper li {
    margin-bottom: 0.5rem;
}

/* Related Posts */
.related-posts {
    padding-bottom: 2rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Blog Responsive */
@media (max-width: 1024px) {
    .blog-grid,
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-hero {
        min-height: 280px;
        padding: 3rem 0;
    }

    .blog-hero-title {
        font-size: 2.5rem;
    }

    .single-blog-hero {
        min-height: 350px;
    }

    .single-blog-title {
        font-size: 2rem;
    }

    .blog-grid,
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-content-wrapper {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-hero-title {
        font-size: 2rem;
    }

    .single-blog-title {
        font-size: 1.75rem;
    }

    .blog-filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.3s, opacity 0.3s ease;
}

.video-modal.is-open {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.3s ease;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.video-modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    z-index: 10;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.is-open .video-modal-container {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 20;
}

.video-modal-close:hover {
    color: var(--color-accent);
}

.video-modal-content {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.video-modal-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Hide scrollbar in modal iframe container */
.video-modal-container,
.video-modal-content,
.video-modal-iframe {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.video-modal-container::-webkit-scrollbar,
.video-modal-content::-webkit-scrollbar,
.video-modal-iframe::-webkit-scrollbar {
    display: none;
}

body.video-modal-active {
    overflow: hidden !important;
    height: 100vh;
}

html.video-modal-active {
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .video-modal-container {
        width: 95%;
    }

    .video-modal-close {
        top: -45px;
        right: 0;
    }
}

/* Footer */
.site-footer {
    padding: 2.5rem 0 1.5rem;
    margin-top: 4rem;
    color: var(--color-text-secondary);
    background-color: #0a0a0a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
}

/* Social Links */
.social-links {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.social-links li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 0.9rem;
    transition: var(--transition-standard);
}

.social-links li a:hover {
    color: var(--color-accent);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--color-accent);
    border-radius: 50%;
    background-size: 14px 14px;
    background-repeat: no-repeat;
    background-position: center;
}

.social-icon-facebook {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E");
}

.social-icon-linkedin {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z'/%3E%3Crect x='2' y='9' width='4' height='12'/%3E%3Ccircle cx='4' cy='4' r='2'/%3E%3C/svg%3E");
}

.social-icon-twitter {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
}

.social-icon-instagram {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E");
}

/* App Download Badges */
.app-downloads {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.app-badge img {
    height: 40px;
    width: auto;
}

/* Footer Navigation */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.footer-menu li a {
    color: #fff;
    text-decoration: none;
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-weight: 600;
    font-style: italic;
    font-size: 0.9rem;
    transition: var(--transition-standard);
}

.footer-menu li a:hover {
    color: var(--color-accent);
}

/* Footer Copyright */
.footer-copyright {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.footer-copyright p {
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-menu {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .logo .custom-logo {
        max-height: 36px;
        max-width: 160px;
    }

    .user-actions {
        display: none;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .footer-menu {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-highlight {
        padding: 1rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .content-card {
        width: 280px;
    }

    .category-stack-item {
        height: 100px;
    }

    .category-stack-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .content-card {
        width: 240px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-info-bar {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==========================================================================
   Page Content Styles
   ========================================================================== */

.page-content {
    padding: 3rem 0;
    min-height: 60vh;
}

.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.page-body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--color-text-secondary);
}

.page-body h1,
.page-body h2,
.page-body h3,
.page-body h4,
.page-body h5,
.page-body h6 {
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-style: italic;
    color: var(--color-text-primary);
}

.page-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    text-transform: uppercase;
}

.page-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

.page-body h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.75rem 0 0.5rem;
}

.page-body p {
    margin: 0 0 16px 0;
}

.page-body ul,
.page-body ol {
    margin: 1rem 0 1rem 1.5rem;
    list-style: disc;
}

.page-body ol {
    list-style: decimal;
}

.page-body li {
    margin-bottom: 0.5rem;
}

.page-body a {
    color: var(--color-accent);
    text-decoration: underline;
}

.page-body a:hover {
    text-decoration: none;
}

.page-body blockquote {
    border-left: 4px solid var(--color-accent);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--color-text-secondary);
}

.page-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.page-body th,
.page-body td {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.page-body th {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .page-content {
        padding: 2rem 0;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-body {
        font-size: 0.9375rem;
    }
}

/* ==========================================================================
   Flexible Layout Styles (ACF Page Builder)
   ========================================================================== */

/* Text Accent (for [[text]] highlighting) */
.text-accent {
    color: var(--color-accent);
}

/* Banner with Background Image */
.flex-banner {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    padding: 3rem 0;
    background-size: cover;
    background-position: center;
    background-color: var(--color-card);
}

.flex-banner-content {
    max-width: 800px;
}

.flex-banner-title {
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.flex-banner-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

/* Text Section (Heading with Paragraph) */
.flex-text-section {
    padding: 2rem 0;
}

.flex-text-content {
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
}

.flex-text-heading {
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.flex-text-subheading {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.flex-text-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-secondary);
}

/* Stats/Numbers Section */
.flex-stats-section {
    padding: 2rem 0;
}

.flex-stats-heading {
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 2rem;
}

.flex-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.flex-stat-item {
    text-align: center;
    padding: 1.5rem;
}

.flex-stat-number {
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.flex-stat-unit {
    font-size: 1.5rem;
    margin-left: 0.25rem;
}

.flex-stat-description {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Image + Text Section */
.flex-image-text-section {
    padding: 2rem 0;
}

.flex-image-text-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
}

.flex-image-col img {
    max-width: 300px;
    height: auto;
    border-radius: var(--radius-card);
}

.flex-image-text-title {
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.flex-image-text-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text-secondary);
}

/* Flex Carousel Section (ACF Image Slider) */
.flex-carousel-section {
    padding: 1.5rem 0;
}

.flex-carousel-section .section-title {
    text-align: center;
}

/* Center arrows vertically against the thumbnails in flex carousel */
.flex-carousel-section .carousel-nav {
    top: calc(50% + 1rem);
    transform: translateY(-50%);
}

/* Image-only slide cards - match standard content-card sizing */
.flex-slide-card {
    width: 320px;
    flex-shrink: 0;
}

.flex-slide-card .card-image {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    aspect-ratio: 16/9;
    transition: var(--transition-standard);
    border: 2px solid transparent;
}

.flex-slide-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flex-slide-card:hover .card-image {
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(173, 255, 0, 0.15);
}

/* Team Section */
.flex-team-section {
    padding: 2rem 0;
}

.flex-team-heading {
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 2rem;
}

.flex-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
}

.flex-team-grid.flex-team-single {
    max-width: 400px;
    margin: 0 auto;
}

.flex-team-member {
    text-align: center;
}

.flex-team-image {
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: var(--radius-card);
}

.flex-team-image img {
    width: 100%;
    height: auto;
    display: block;
}

.flex-team-name {
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}

.flex-team-role {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin: 0;
}

.flex-team-bio {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-top: 1rem;
}

/* Video Banner */
.flex-video-banner {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.flex-video-embed,
.flex-video-native {
    position: relative;
    width: 100%;
}

.flex-video-native video {
    width: 100%;
    height: auto;
    display: block;
}

.flex-video-heading {
    font-family: 'Transducer Condensed', 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    margin-top: 2rem;
}

/* Responsive adjustments for flexible layouts */
@media (max-width: 768px) {
    .flex-banner {
        min-height: 300px;
    }

    .flex-banner-title {
        font-size: 2rem;
    }

    .flex-text-heading,
    .flex-stats-heading {
        font-size: 1.75rem;
    }

    .flex-image-text-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .flex-image-col {
        order: -1;
    }

    .flex-image-col img {
        max-width: 100%;
        margin: 0 auto;
    }

    .flex-stat-number {
        font-size: 2.5rem;
    }

    .flex-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
