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

:root {
    --primary: #ff8400;
    --dark: #0a0e1a;
    --dark-elevated: #1a1f2e;
    --text-primary: #ffffff;
    --text-secondary: #a0a8b8;
    --accent-glow: rgba(255, 132, 0, 0.2);
    --secondary_dark: #9a9392;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    /* line-height: 1.6; */
    overflow-x: scroll;
    display:flex;
    flex-direction:column;    
}
.nav-logo {
    font-size:x-large;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

header:hover {
    background: rgba(10, 14, 26, 0.95);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 50px;
    height: 30px;
}
.logo-accent-hero {
    margin-left: 15px;
    color:var(--primary);
}

.logo-accent
 {
    color: var(--primary);
    font-style: italic;
    /* margin-left: 5px; */
}

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    flex-direction: row;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}
nav a.active {
    color: var(--text-primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0px;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}
nav a.active::after
{
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--text-primary);
}
nav a.active+ nav a:hover {
    width:0%;
}
nav a:hover::after {
    width: 100%;
}
nav a.active:hover {
    cursor:default;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-image {
    width: 148px;
    /* height: 87px; */
    display: flex;
    align-items: center;
    height: 100%;
    margin-right: 1em;
}

.hero-text > h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a8b8 100%);
    background-clip: text;
}

.hero-text > h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 760px;
    line-height: 1.8;
}

.hero-text {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: row;
    line-height: 3em;
    justify-content: center;
}

/* Section Styles */
section {
    padding: 2rem 1rem;
    position: relative;
}

.section-inner {
    max-width: 1400px;
    margin: 0 auto;
}


.section-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    left: 5%;
}


.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

/* TV Section */
.tv-section {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-elevated) 100%);
}

.broadcast-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
}

.broadcast-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 640px;
    border-radius: 0px 0px 24px 24px;
}


.broadcast-card:hover,
.radio-player:hover {
    transition: box-shadow 0.1s ease-in-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.video-container {
    position: relative;
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: center;
    display: flex;
    flex-direction: row;
    /* width: 95%; */
    width: 640px;
    height: 360px;
}

.broadcast-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.broadcast-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.broadcast-title {
    font-family: 'Playfair Display', serif;
    font-size: x-large;
    margin-bottom: 1rem;
}

.broadcast-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
    overflow-y: auto;
}

.station-logos {
    display: flex;
    gap: 1.5rem;
    /* align-items: center; */
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.radio-player .station-logos {
    gap: 2rem;
}
.station-logos.tv::before {
    content:'Watch On:';
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}
.station-logos.radio::before {
    content:'Listen On:';
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}
.station-logo.logo-rounded {
    border-radius: 5px;
}
.station-logo.logo-backed {
    background: white;
}

.station-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}
        

.station-logo {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.station-logo:hover {
    opacity: 1;
}

/* Broadcast Series Sidebar */
.broadcast-series {
    flex: 0 0 245px;
    /* max-height: 600px; */
    overflow-y: auto;
    padding: 0.5em;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}
.broadcast-series::before {
    content: 'Recent Broadcasts';
    display: flex;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 5px;
    letter-spacing: 0.15em;
}

.radio-series::before {
    content: 'Recent Broadcasts';
    display: flex;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 5px;
    letter-spacing: 0.15em;
}

.broadcast-series::-webkit-scrollbar {
    width: 8px;
}

.broadcast-series::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.broadcast-series::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.broadcast-series::-webkit-scrollbar-thumb:hover {
    background: #ff9420;
}

.series-item {
    position: relative;
    margin-bottom: 1rem;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: .5em;
    /* height: 180px; */
    width: min(100%,640px);
}
.series-item:hover{
    box-shadow: -2px -2px var(--secondary_dark);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    transform: translate(2px, 2px);
}
.series-item.selected {
    box-shadow: 3px 3px var(--primary);
    transform: translateY(3px);
}



.series-item:last-child {
    margin-bottom: 0;
}

/* .series-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
} */

.radio-schedule-thumb {
    /* height: 240px; */
    /* width: min-content; */
    object-fit: cover;
}

.series-thumb {
    width: 100%;
    height: auto;
    display: block;
    /* aspect-ratio: 4/3; */
    object-fit: cover;
}

.radio-thumb {
    width: 100%;
    height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, var(--dark-elevated) 0%, var(--dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.station-logo-row {
    display: inherit;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
}
.radio-thumb-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.series-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0,0,0,0.1));
    padding: 0.75rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
}

.series-date {
    font-size: 0.75rem;
    color: var(--primary-light);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    z-index:2;
}

/* Radio Section */
.radio-section {
    background: var(--dark-elevated);
}

.radio-container {
    display: flex;
    justify-content:center;
    gap: 2rem;
}

.radio-player {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    backdrop-filter: blur(10px);
    width: 640px;
}

.series-artwork {
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.player-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
}

.player-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.radio-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.radio-meta,
.tv-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.audio-controls {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.control-button {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.control-button:hover {
    transform: scale(1.1);
}

.progress-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.progress-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--primary);
    transition: width 0.1s linear;
}

/* Radio Series Sidebar */
.radio-series {
    flex: 0 0 240px;
    /* max-height: 600px;
    overflow-y: auto; */
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.radio-series::-webkit-scrollbar {
    width: 8px;
}

.radio-series::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.radio-series::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.radio-series::-webkit-scrollbar-thumb:hover {
    background: #ff9420;
}
/* Footer */
.res_bkg-2D {
    background: var(--secondary_dark);
}
.res_footer {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: start;
    background-size: cover ! important;
    background-position: center ! important;
    gap: 10px;
    /* padding: 25px; */
    align-items: center;
    justify-content: center;
}
.res_footer-content {
    /* max-width: 50%; */
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.res_footer-content h3 {
    font-family: var(--resource_fonts--2);
    font-weight: 500;
    font-size: 20px;
    font-style: italic;
    text-transform: none;
}
a.res_footer__link {
    margin-right: 1em;
}

.res_footer-content p {
    line-height: 1.5;
    font-size: 12px;
    font-variation-settings: "wdth" 100, "wght" 400;
}
.section-inner {
    /* margin-left:1em; */
}
        
/* Responsive */
@media (max-width: 1024px) {
    a.res_footer__link {
        margin-right: 0.5em;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
        /* display: flex; */
    }

    .hero-text > h1 {
        font-size: 3rem;
    }

    .broadcast-section,
    .radio-container {
        flex-direction: column;
        align-items: center;
    }

    .broadcast-series,
    .radio-series {
        flex: 1;
        width: min(640px,90%);
        /* flex: 0 0 2405px; */
    }

    .radio-title {
        font-size:2em;
    }
    .broadcast-title {
        font-size: x-large;
        line-height:1em;
    }
}

@media (max-width: 768px) {
    a.res_footer__link {
        margin-right: 0em;
    }
     .video-container {
        width: 100%;
        /* left: 1%; */
     }
    nav ul {
        display: flex;
        justify-content: space-evenly !important;
        gap: 1em;
    }
    body {
        /* line-height:1em; */
    }

    #radio .section-title {
        padding: 0em;
    }

    .hero-text > h1 {
        font-size: 2.5rem;
        flex-direction: column;
        display: inherit;
    }

    .hero-text > h2 {
        font-size: 1.2rem;
    }

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

    .broadcast-info {
        padding: 1.5rem;
    }

    .radio-player {
        padding: 2rem;
        width: 100%;
    }

    .broadcast-card {
        width: 100%;
    }

    .player-header {
        flex-direction: column;
        gap: 1.5rem;
        align-content: center;
        /* display: flex; */
        align-items: center;
    }
    .radio-title {
        font-size: 1.75em;
    }
    .res_footer-content {
        max-width: 100% !important;
    }
    .logo-tp {
        font-size:0.75em;
    }
    #header .logo-img { display:none;}

    .header-inner {
        max-width: 1400px;
        margin: 0 auto;
        padding: 1rem 1rem;
    }
    .nav-logo {
        line-height:1.1em;
        font-size: large;
    }
    
}

.rolling-opacity-container,
 .rolling-opacity-container2
 {
  /* Initial state: fully transparent */
  opacity: 0;
  /* Apply the animation */
  animation-name: rollIn;
  animation-duration: 1.2s; /* Total animation duration */
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards; /* Keep the final state (opacity 1) */
}
@keyframes rollIn {
  0% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.75; /* Mid-point opacity */
  }
  100% {
    opacity: 1; /* Final state */
  }
}