/* Pump Radio Blog - Dark Electronic Music Aesthetic */

:root {
    --bg-primary: #0a0a0c;
    --bg-secondary: #121216;
    --bg-card: #17171c;
    --bg-elevated: #1e1e25;
    --bg-hover: #1a1a1f;
    --text-primary: #ffffff;
    --text-secondary: #a6a6b2;
    --text-muted: #6b6b78;
    --accent: #ff3366;
    --accent-secondary: #00ccff;
    --accent-3: #a855f7;
    --accent-gold: #ffb020;
    --accent-gradient: linear-gradient(135deg, #ff3366 0%, #ff6633 100%);
    --accent-gradient-cool: linear-gradient(135deg, #ff3366 0%, #a855f7 100%);
    --tint-accent: rgba(255, 51, 102, 0.10);
    --tint-cyan: rgba(0, 204, 255, 0.10);
    --tint-purple: rgba(168, 85, 247, 0.12);
    --border-color: #26262e;
    --border-strong: #34343f;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --max-width: 1200px;
    --header-height: 70px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(1100px 560px at 12% -8%, rgba(255, 51, 102, 0.14), transparent 60%),
        radial-gradient(900px 480px at 98% -4%, rgba(0, 204, 255, 0.09), transparent 55%),
        radial-gradient(1000px 700px at 50% 110%, rgba(168, 85, 247, 0.08), transparent 60%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-secondary);
}

/* ================================
   GLOBAL POLISH
   ================================ */

/* Visible keyboard focus everywhere (mouse clicks stay clean). */
*:focus-visible {
    outline: 2px solid var(--accent-secondary);
    outline-offset: 2px;
    border-radius: 3px;
}

/* Brand-tinted text selection. */
::selection {
    background: var(--accent);
    color: #fff;
}

/* Stop headings dropping a lone word onto the last line. */
h1, h2, h3, h4 {
    text-wrap: balance;
}

/* Fewer orphans / ragged edges in body copy (progressive enhancement). */
p {
    text-wrap: pretty;
}

/* Respect users who ask for less motion — kill the animations and
   parallax-y transitions, keep everything functional. */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================
   SKELETON LOADERS
   ================================ */

@keyframes skeleton-pulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.7;
    }
}

.skeleton {
    background: var(--bg-secondary);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-card {
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.skeleton-image {
    aspect-ratio: 1;
    background: var(--bg-secondary);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-text {
    height: 1rem;
    background: var(--bg-secondary);
    border-radius: 4px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-text-sm {
    height: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 4px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-text-lg {
    height: 1.25rem;
    background: var(--bg-secondary);
    border-radius: 4px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skeleton-player {
    height: 120px;
    background: var(--bg-secondary);
    border-radius: 8px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.skeleton-tag {
    width: 60px;
    height: 24px;
    background: var(--bg-secondary);
    border-radius: 4px;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

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

.logo-image {
    height: 55px;
    width: auto;
}

.logo-raw {
    color: var(--accent);
}

.logo-dj {
    color: var(--accent-secondary);
}

.logo-sessions {
    color: var(--text-primary);
}

/* Live Badge */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: #e53935;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    animation: pulse-live 1.5s ease-in-out infinite;
    text-decoration: none;
}

.live-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}

.live-badge:hover {
    background: #c62828;
    color: white;
}

@keyframes pulse-live {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(229, 57, 53, 0);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

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

/* Hamburger menu button - hidden by default */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    left: 0;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

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

.nav-dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.4rem;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 150px;
    padding: 0.5rem 0;
    padding-top: 1rem;
    margin-top: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Invisible bridge to prevent gap */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: normal;
}

.nav-dropdown-menu a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

/* Search */
.search-box {
    position: relative;
}

.search-box input {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    width: 200px;
    transition: all 0.2s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent);
    width: 250px;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-results {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.search-result {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.search-result:last-child {
    border-bottom: none;
}

.search-result:hover {
    background: var(--bg-hover);
}

/* Main Content */
.main-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - var(--header-height) - 200px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, transparent 100%);
    border-radius: 8px;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Section Headings */
.featured-posts h2,
.authors-section h2,
.tags-section h2,
.author-posts h2,
.author-bio-full h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.featured-posts h2::after,
.authors-section h2::after,
.tags-section h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.post-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(255, 51, 102, 0.1);
}

.post-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.post-card-link:hover {
    color: inherit;
}

.post-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

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

.post-card-content {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.post-meta time {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.post-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.post-card h3 a {
    color: var(--text-primary);
}

.post-card h3 a:hover {
    color: var(--accent);
}

.post-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.post-author a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Authors Grid */
.authors-section {
    margin-bottom: 4rem;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.author-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.author-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Tags Cloud */
.tags-section {
    margin-bottom: 4rem;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.tag-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.tag-count {
    font-size: 0.75rem;
    background: var(--bg-secondary);
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    color: var(--text-muted);
}

/* Single Post */
.post-single {
    max-width: 800px;
    margin: 0 auto;
}

.post-hero {
    margin: 0 -2rem 2rem;
}

.post-hero-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-hero figcaption {
    padding: 0.75rem 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

.post-header {
    margin-bottom: 2rem;
}

.post-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.post-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.post-author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.post-author-box .author-avatar {
    width: 60px;
    height: 60px;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

/* Audio/Video Embeds */
.post-audio,
.post-video {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-card);
}

.post-audio audio,
.post-video video {
    width: 100%;
    display: block;
}

.post-video iframe {
    aspect-ratio: 16/9;
}

/* Post Content */
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.post-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
}

.post-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

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

.post-content img {
    border-radius: 8px;
    margin: 2rem 0;
}

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

.post-content code {
    font-family: var(--font-mono);
    background: var(--bg-card);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
}

.post-content pre {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.post-content pre code {
    background: none;
    padding: 0;
}

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

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

.post-content a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Post Footer */
.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-share span {
    color: var(--text-muted);
}

.post-share a {
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.post-share a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* Author Sidebar */
.author-sidebar {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.author-sidebar h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.author-card-full {
    text-align: center;
}

.author-bio-short {
    text-align: left;
}

.author-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.author-card-full h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.author-genres {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.genre-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    color: var(--text-secondary);
}

.author-bio-short {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 1rem 0;
}

.author-bio-short p {
    margin-bottom: 0.75rem;
}

.author-bio-short p:last-child {
    margin-bottom: 0;
}

.author-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.author-socials a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.btn-view-profile {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--accent-gradient);
    color: var(--text-primary);
    border-radius: 4px;
    font-weight: 600;
    margin-top: 1rem;
}

/* Author Page */
.author-page {
    max-width: 900px;
    margin: 0 auto;
}

.author-header {
    margin-bottom: 3rem;
}

.author-hero {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.author-avatar-hero {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar-hero-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
}

.author-hero-info h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.author-realname {
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.author-role-hero {
    font-size: 1.1rem;
    color: var(--accent);
}

.author-genres-hero {
    margin: 1rem 0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.author-socials-hero {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.social-link:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.author-bio-full {
    margin-bottom: 3rem;
}

.bio-content {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.bio-content p {
    margin-bottom: 1rem;
}

/* Posts List (Author page) */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post-list-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.post-list-item:hover {
    border-color: var(--accent);
}

.post-list-image {
    flex-shrink: 0;
    width: 200px;
    aspect-ratio: 16/9;
    border-radius: 4px;
    overflow: hidden;
}

.post-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-list-content {
    flex: 1;
}

.post-list-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.post-list-content h3 a {
    color: var(--text-primary);
}

/* Tag Page */
.tag-page {
    max-width: 1000px;
    margin: 0 auto;
}

.tag-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tag-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.tag-header h1 {
    font-size: 2.5rem;
    color: var(--accent);
}

.tag-count {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Archive Page */
.archive-page {
    max-width: 900px;
    margin: 0 auto;
}

.archive-header {
    text-align: center;
    margin-bottom: 3rem;
}

.archive-header h1 {
    font-size: 2.5rem;
}

.archive-count {
    color: var(--text-muted);
}

.archive-year {
    font-size: 1.5rem;
    color: var(--accent);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.archive-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
}

.archive-item:hover {
    background: var(--bg-card);
    color: inherit;
}

.archive-item time {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.archive-item h3 {
    font-size: 1rem;
    font-weight: 500;
}

.archive-item h3 a {
    color: var(--text-primary);
}

.archive-author {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.archive-tags {
    display: flex;
    gap: 0.5rem;
}

.tag-small {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    background: var(--bg-secondary);
    border-radius: 3px;
    color: var(--text-muted);
}

/* ================================
   TOOLS PAGES
   ================================ */

.tools-page {
    max-width: 900px;
    margin: 0 auto;
}

.tools-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tools-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tools-intro {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tool-card {
    display: block;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    text-align: center;
}

.tool-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(255, 51, 102, 0.1);
    color: inherit;
}

.tool-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 50%;
    color: white;
}

.tool-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.tool-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Tool Page (Individual tool) */
.tool-page {
    max-width: 600px;
    margin: 0 auto;
}

.tool-header {
    text-align: center;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.back-link:hover {
    color: var(--accent);
}

.tool-header h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.tool-intro {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* DJ Name Form */
.dj-name-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
}

.dj-name-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.char-count {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.form-group input[type="text"],
.form-group textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group input[type="text"]::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

/* Range slider */
.form-group input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    outline: none;
}

.form-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent-gradient);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.form-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.form-group input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.energy-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Checkbox */
.form-group-checkbox {
    flex-direction: column;
    gap: 0.25rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent);
    cursor: pointer;
}

.checkbox-text {
    font-size: 1rem;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Form error */
.form-error {
    padding: 0.75rem 1rem;
    background: rgba(229, 57, 53, 0.1);
    border: 1px solid rgba(229, 57, 53, 0.3);
    border-radius: 8px;
    color: #e53935;
    font-size: 0.9rem;
}

/* Submit button */
.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff3366 0%, #ff6633 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.submit-btn:hover:not(:disabled) {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(255, 51, 102, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn span {
    color: #ffffff;
}

/* Results section */
.results-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.results-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.result-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.result-item:hover {
    background: var(--bg-hover);
}

.result-number {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
}

.result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.result-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.result-explanation {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.try-again-btn {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.try-again-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Loading Modal */
.loading-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.loading-modal.active {
    display: flex;
}

.loading-modal-content {
    text-align: center;
    padding: 3rem;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    animation: spin 1s linear infinite;
}

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

.loading-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.loading-subtext {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Responsive tools */
@media (max-width: 560px) {
    .dj-name-form-container {
        padding: 1.5rem;
    }

    .tool-header h1 {
        font-size: 1.75rem;
    }

    .result-item {
        padding: 0.75rem;
    }

    .result-name {
        font-size: 1rem;
    }
}

/* Footer */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    padding: 3rem 0 0;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
}

.footer-brand {
    color: var(--text-secondary);
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-links h4,
.footer-genres h4,
.footer-legal h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-legal p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer-links a,
.footer-legal a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--accent);
}

.footer-genres a,
.footer-genres span {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

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

.footer-bottom {
    max-width: var(--max-width);
    margin: 3rem auto 0;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.copyright-notice {
    font-size: 0.75rem;
    max-width: 600px;
    margin: 0.5rem auto 0;
    line-height: 1.5;
}

.footer-brand .logo-dj {
    color: var(--accent-secondary);
    font-size: 1.5rem;
}

/* ================================
   LIVE/NOW PLAYING SECTION
   ================================ */

.live-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* Live State */
.live-now {
    text-align: center;
}

.live-indicator {
    margin-bottom: 1.5rem;
}

.live-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: #e53935;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 8px;
    animation: pulse-live 1.5s ease-in-out infinite;
}

.live-badge-large::before {
    content: '';
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}

.live-player {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.live-player iframe {
    display: block;
    width: 100%;
}

.live-link {
    margin-top: 1rem;
}

/* Offline State */
.offline-state {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
}

.latest-show h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.show-card-featured {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 1.5rem;
    align-items: center;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.show-card-featured .show-image {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}

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

.show-card-featured .show-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.show-card-featured .show-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.show-card-featured .show-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.play-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(255, 51, 102, 0.4);
    color: white;
}

.show-player-embed {
    border-radius: 8px;
    overflow: hidden;
}

.show-player-embed iframe {
    display: block;
}

.latest-show .show-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Upcoming shows wrapper — stacks the next-show banner + smaller upcoming cards */
.upcoming-shows {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-width: 220px;
}

/* Next Show Banner */
.next-show-banner {
    background: linear-gradient(135deg, var(--accent) 0%, #ff6633 100%);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

/* Smaller card for shows 2+ */
.upcoming-show-card {
    background: var(--bg-elevated, var(--bg-hover));
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    text-align: center;
}

.upcoming-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.upcoming-show-card h4 {
    font-size: 0.95rem;
    margin: 0 0 0.15rem 0;
    color: var(--text-primary);
}

.upcoming-dj {
    display: block;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.upcoming-datetime {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.upcoming-date {
    font-weight: 600;
    color: var(--text-secondary);
}

.upcoming-time {
    color: var(--accent);
    font-weight: 600;
}

.next-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.next-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.next-dj {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.next-datetime {
    display: block;
    margin-top: 0.5rem;
}

.next-date {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
}

.next-time {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

/* ================================
   SHOWS SECTION
   ================================ */

.shows-section {
    margin-bottom: 4rem;
}

.shows-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.shows-section h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.shows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.show-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.show-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(255, 51, 102, 0.1);
}

.show-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.show-card-link:hover {
    color: inherit;
}

.show-card .show-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

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

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

.show-duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: white;
}

.show-card-content {
    padding: 1rem;
}

.show-card-content h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.show-card .show-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.view-all-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.view-all-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ================================
   BLOG SECTION
   ================================ */

.blog-section {
    margin-bottom: 4rem;
}

.blog-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-section h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.posts-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* ================================
   TOP 10 CHART SECTION
   ================================ */

.chart-section {
    margin-bottom: 4rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.chart-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.chart-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.chart-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.chart-date {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    padding: 0.15rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
}

.chart-list {
    display: flex;
    flex-direction: column;
}

.chart-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.15s ease;
}

.chart-item:last-child {
    border-bottom: none;
}

.chart-item:hover {
    background: var(--bg-hover);
}


.chart-position {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    min-width: 1.75rem;
    text-align: right;
    font-family: var(--font-mono);
}

/* Top 3 special styling */
.chart-item:nth-child(1) .chart-position {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.chart-item:nth-child(2) .chart-position,
.chart-item:nth-child(3) .chart-position {
    color: var(--accent-secondary);
}

/* Track info: 3-column grid on desktop, stacked on mobile.
   Each column is a "group" with a primary (top) and secondary (bottom) line. */
.chart-track-info {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 0.4rem 1.25rem;
    align-items: start;
}

.chart-track-group {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.chart-track-primary {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.chart-track-secondary {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

/* Label / Genre group — small uppercase, label bolder than genre */
.chart-track-group-label .chart-track-primary {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: 600;
}

.chart-track-group-label .chart-track-secondary {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    font-weight: 500;
}

/* Selector / Comments group */
.chart-track-group-selector .chart-track-primary {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.chart-selector-label {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-right: 0.25rem;
}

.chart-track-group-selector .chart-track-primary a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.chart-track-group-selector .chart-track-primary a:hover {
    text-decoration: underline;
}

.chart-track-comment {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.78rem;
}

/* Chart actions container */
.chart-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

/* Buy button styling */
.chart-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.15s ease;
}

.chart-buy-btn:hover {
    background: var(--bg-hover);
    color: var(--accent-secondary);
}

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

.chart-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--accent);
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.chart-play-btn:hover {
    background: var(--accent);
    color: white;
}

.chart-play-btn svg {
    width: 14px;
    height: 14px;
    margin-left: 1px;
}

/* Invisible placeholder reserves space so buttons align when a link is missing */
.chart-btn-placeholder {
    visibility: hidden;
    pointer-events: none;
}

/* Expand/collapse toggle */
.chart-expand-toggle {
    display: none;
}

.chart-item-hidden {
    display: none;
}

.chart-expand-toggle:checked ~ .chart-list .chart-item-hidden {
    display: flex;
}

.chart-expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s ease;
    width: 100%;
}

.chart-expand-btn:hover {
    color: var(--accent);
}

.chart-expand-icon {
    transition: transform 0.2s ease;
}

.chart-expand-toggle:checked ~ .chart-expand-btn .chart-expand-icon {
    transform: rotate(180deg);
}

.chart-collapse-text {
    display: none;
}

.chart-expand-toggle:checked ~ .chart-expand-btn .chart-expand-text {
    display: none;
}

.chart-expand-toggle:checked ~ .chart-expand-btn .chart-collapse-text {
    display: inline;
}

.chart-archive-link {
    display: block;
    text-align: center;
    margin-top: 0.75rem;
    padding: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: color 0.15s ease;
}

.chart-archive-link:hover {
    color: var(--accent);
}

.chart-nav {
    margin-top: 1rem;
    text-align: center;
}

.chart-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.chart-page .chart-section {
    margin-bottom: 2rem;
}

/* Medium screens — collapse to 2 columns (artist/label on top row, selector below) */
@media (max-width: 900px) {
    .chart-track-info {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 0.5rem 1rem;
    }

    .chart-track-group-selector {
        grid-column: 1 / -1;
    }
}

/* Small screens — stack everything */
@media (max-width: 560px) {
    .chart-section {
        padding: 1rem;
    }

    .chart-header {
        flex-direction: column;
        gap: 0.15rem;
    }

    .chart-item {
        gap: 0.75rem;
        padding: 0.75rem 0.25rem;
    }

    .chart-position {
        font-size: 0.9rem;
        min-width: 1.5rem;
    }

    .chart-track-info {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .chart-track-primary {
        font-size: 0.88rem;
    }

    .chart-track-secondary {
        font-size: 0.78rem;
    }

    .chart-play-btn,
    .chart-buy-btn {
        width: 28px;
        height: 28px;
    }

    .chart-play-btn svg {
        width: 12px;
        height: 12px;
    }

    .chart-buy-btn svg {
        width: 14px;
        height: 14px;
    }

    .chart-actions {
        gap: 0.15rem;
    }
}

/* ================================
   RECENT CONTENT SECTION (Unified Feed)
   ================================ */

.recent-section {
    margin-bottom: 4rem;
    /* Land below the sticky header when paginating via #latest */
    scroll-margin-top: 90px;
}

.recent-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.recent-section h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.content-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(255, 51, 102, 0.1);
}

.content-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.content-card-link:hover {
    color: inherit;
}

.content-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-secondary);
}

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

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

.content-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
}

.content-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.show-badge {
    background: var(--accent);
    color: white;
}

.post-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    backdrop-filter: blur(4px);
}

.content-duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: white;
}

.content-card-body {
    padding: 1rem;
}

.content-card-body h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.content-meta .post-author {
    color: var(--text-secondary);
}

.content-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.view-all-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ================================
   PAGINATION
   ================================ */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(.disabled) {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ================================
   DJS & PRODUCERS SECTION
   ================================ */

.djs-section {
    margin-bottom: 4rem;
}

.djs-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.djs-section h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.djs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.dj-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.dj-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.dj-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.dj-avatar-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.dj-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.dj-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.dj-genres .genre-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
}

/* ================================
   RESPONSIVE - Live & Shows
   ================================ */

@media (max-width: 900px) {
    .offline-state {
        grid-template-columns: 1fr;
    }

    .next-show-banner {
        order: -1;
    }
}

@media (max-width: 768px) {
    .show-card-featured {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .show-card-featured .show-image {
        max-width: 200px;
        margin: 0 auto;
    }

    .show-card-featured .show-meta {
        justify-content: center;
    }

    .show-card-featured .show-tags {
        justify-content: center;
    }

    .show-card-featured .show-actions {
        margin-top: 1rem;
    }

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

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

@media (max-width: 560px) {
    .shows-grid {
        grid-template-columns: 1fr;
    }

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

    .live-section {
        padding: 1.5rem;
    }

    .view-all-links {
        flex-direction: column;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .pagination-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

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

/* No Posts Message */
.no-posts,
.no-content {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

/* Responsive - Nav wraps earlier due to many links */
@media (max-width: 1100px) {
    .nav-container {
        flex-wrap: wrap;
        height: auto;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links {
        gap: 0.75rem;
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .search-box {
        order: 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .search-box input {
        width: 150px;
    }

    .hero-logo {
        max-width: 300px;
    }
}

/* Mobile hamburger menu */
@media (max-width: 560px) {
    .nav-toggle {
        display: block;
        order: 2;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 0;
    }

    .nav-links.nav-open {
        display: flex;
    }

    .nav-links a,
    .nav-dropdown-toggle {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 1rem;
        text-align: center;
    }

    .nav-links > a:last-child {
        border-bottom: none;
    }

    /* Mobile dropdown — stacked & centred, collapsible with a caret */
    .nav-dropdown {
        display: block;
        width: 100%;
    }

    .nav-dropdown-toggle {
        display: block;
        width: 100%;
        text-align: center;
        cursor: pointer;
    }

    /* Caret sits after the centred label and flips up when open */
    .nav-dropdown-toggle::after {
        display: inline-block;
        transition: transform 0.2s ease;
    }

    .nav-dropdown.open .nav-dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        display: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        min-width: auto;
    }

    .nav-dropdown-menu::before,
    .nav-dropdown-menu::after {
        display: none;
    }

    /* Collapsed by default; opens when JS adds .open */
    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        display: block;
        width: 100%;
        padding: 0.7rem 0;
        text-align: center;
        font-size: 0.95rem;
        color: var(--text-muted);
    }

    .nav-dropdown-menu a:hover {
        color: var(--text-primary);
    }

    /* No trailing divider at the very bottom of the menu */
    .nav-dropdown:last-child .nav-dropdown-menu a:last-child {
        border-bottom: none;
    }

    .search-box {
        order: 3;
        width: 100%;
        margin-top: 0.5rem;
    }

    .search-box input {
        width: 100%;
    }

    .hero-logo {
        max-width: 250px;
    }

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

    .author-hero {
        flex-direction: column;
        text-align: center;
    }

    .author-genres-hero,
    .author-socials-hero {
        justify-content: center;
    }

    .post-list-item {
        flex-direction: column;
    }

    .post-list-image {
        width: 100%;
    }

    .archive-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Rebrand: "formerly RawSessions.com" footer note */
.footer-brand .former-name {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ================================
   BROADCAST HOME (DAB refresh)
   Listen-live bar, featured + news rail
   ================================ */

/* --- Radio player (live station stream) --- */
.radio-player {
    position: relative;
    background:
        radial-gradient(520px 200px at 0% 0%, rgba(255, 51, 102, 0.22), transparent 70%),
        radial-gradient(420px 180px at 100% 100%, rgba(255, 102, 51, 0.16), transparent 70%),
        linear-gradient(180deg, var(--bg-elevated), var(--bg-card));
    border: 1px solid rgba(255, 51, 102, 0.35);
    border-radius: 14px;
    padding: 0;
    margin: 0.5rem 0 1rem;
    box-shadow: 0 10px 34px rgba(255, 51, 102, 0.14);
    overflow: hidden;
}

/* The brand gradient as the card's top edge: full width, clipped by the
   rounded corners, so it reads as part of the frame rather than a bar. */
.radio-player::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
}

.radio-player-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    flex-wrap: wrap;
    padding: 0.9rem 1rem 0.35rem;
}

.radio-player-tools {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.radio-popout {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.radio-popout:hover {
    color: var(--text-primary);
    border-color: var(--accent);
}

.radio-popout svg {
    width: 14px;
    height: 14px;
}

.radio-player-meta {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    min-width: 0;
    flex-wrap: wrap;
}

.radio-player-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.radio-player-hours {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Source switch: only shown while a show is live on Mixcloud. */
.radio-source {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-strong);
}

.radio-source[hidden] {
    display: none;
}

.radio-source-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.9rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.radio-source-btn:hover {
    color: var(--text-primary);
}

.radio-source-btn.is-active {
    background: var(--bg-elevated);
    color: var(--text-primary);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.radio-source-btn .onair-dot {
    width: 7px;
    height: 7px;
    background: #ff4438;
    animation: blink 1s ease-in-out infinite;
}

.radio-source-open {
    padding: 0.4rem 0.75rem 0.4rem 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
}

.radio-source-open:hover {
    color: var(--accent);
}

/* The widget sits straight on the card (it is served with a transparent
   background), inset so its artwork lines up with the "Listen Live" kicker. */
.radio-player-frames {
    padding: 0 0.4rem 0.3rem;
}

.radio-player-frames iframe {
    display: block;
    width: 100%;
}

.radio-player-frames iframe[hidden] {
    display: none;
}

#mixcloud-live-frame {
    width: calc(100% - 1.2rem);
    margin: 0.2rem 0.6rem 0.6rem;
    border-radius: 8px;
    background: #fff;
}

.onair-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
}

.play-button .icon-pause {
    display: none;
}

html.audio-playing .play-button .icon-play {
    display: none;
}

html.audio-playing .play-button .icon-pause {
    display: inline-block;
}

/* --- Top region: featured (left) + news rail (right) --- */
.home-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

/* News rail keeps its natural height (so the panel isn't stretched); the left
   column stretches to match it and the sponsor advert fills the remainder. */
.home-top > .news-bar {
    align-self: start;
}

.home-featured {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

/* Featured latest show */
.featured-show {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.25rem;
}

.featured-show-art {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    display: block;
}

.featured-show-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-show-art:hover img {
    transform: scale(1.05);
}

.featured-show-kicker {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.featured-show-duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: #fff;
}

.featured-show-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.featured-show-body h2 {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.featured-show-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}

.featured-show-meta time {
    font-family: var(--font-mono);
}

.featured-show .show-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.featured-show-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.featured-show-empty {
    display: block;
    text-align: center;
    grid-template-columns: none;
}

/* Latest show player, revealed inside the featured card on "Play Show" */
.featured-show-player {
    grid-column: 1 / -1;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.featured-show-player[hidden] {
    display: none;
}

.featured-show-player-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.6rem;
}

.featured-show-player-status {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

html.audio-playing .featured-show-player-status {
    color: var(--accent);
}

.featured-show-restart {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.featured-show-restart:hover {
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.featured-show-restart svg {
    width: 14px;
    height: 14px;
}

.featured-show-player iframe {
    display: block;
    width: 100%;
    border-radius: 8px;
    background: #fff;
}

/* Coming-up schedule strip */
/* --- "Coming Up" band (home, directly under the live bar) --- */
.nownext {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem 1.5rem;
    margin: 0 0 2.5rem;
    padding: 0.9rem 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
}

.nownext-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.nownext-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-3);
    box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.6);
    animation: sched-pulse-cool 1.8s infinite;
}

.nownext-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.nownext-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    flex: 1 1 auto;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    min-width: 0;
}

.nownext-item.is-next {
    border-color: rgba(168, 85, 247, 0.5);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(0, 204, 255, 0.05));
}

.nownext-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nownext-tag {
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: var(--accent-3);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.nownext-when {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-secondary);
    font-variant-numeric: tabular-nums;
}

.nownext-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nownext-dj {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nownext-dj a {
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid rgba(168, 85, 247, 0.5);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.nownext-dj a:hover {
    color: var(--accent-3);
    border-color: var(--accent-3);
}

.nownext-link {
    flex-shrink: 0;
    margin-left: auto;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-3);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.15s ease;
}

.nownext-link:hover {
    opacity: 0.75;
}

@media (max-width: 600px) {
    .nownext {
        gap: 0.75rem;
    }
    .nownext-list {
        flex-direction: column;
    }
    .nownext-link {
        margin-left: 0;
    }
}

/* --- Schedule page (/schedule) --- */
.sched-hero {
    max-width: 980px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 1.25rem;
    text-align: center;
}

.sched-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-3);
    margin-bottom: 0.85rem;
}

.sched-hero h1 {
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0;
}

.sched-lead {
    max-width: 560px;
    margin: 0.9rem auto 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Next up hero card */
.sched-next-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
}

.sched-next {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 2.25rem 2.5rem;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(0, 204, 255, 0.12), transparent 60%),
        linear-gradient(135deg, rgba(168, 85, 247, 0.16), rgba(0, 204, 255, 0.05));
    border: 1px solid var(--border-strong);
}

.sched-next::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.5), rgba(0, 204, 255, 0.35));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.sched-next-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-3);
    margin-bottom: 1rem;
}

.sched-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-3);
    box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.6);
    animation: sched-pulse-cool 1.8s infinite;
}

/* Home "Coming Up" band pulse — red, to pair with the live bar */
@keyframes sched-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.55); }
    70%  { box-shadow: 0 0 0 9px rgba(255, 51, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 51, 102, 0); }
}

/* Schedule page pulse — purple, calmer palette */
@keyframes sched-pulse-cool {
    0%   { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.5); }
    70%  { box-shadow: 0 0 0 9px rgba(168, 85, 247, 0); }
    100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
}

.sched-next-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0;
}

.sched-next-dj {
    margin: 0.4rem 0 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.sched-next-desc {
    margin: 0.9rem 0 0;
    max-width: 46ch;
    color: var(--text-secondary);
    line-height: 1.6;
}

.sched-next-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 1.4rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.sched-next-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.sched-next-meta svg {
    width: 18px;
    height: 18px;
    color: var(--accent-secondary);
    flex-shrink: 0;
}

/* Day-grouped list */
.sched-list {
    max-width: 980px;
    margin: 0 auto;
    padding: 2.75rem 1.5rem 4.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.sched-day-head {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--border-color);
}

.sched-day-head h3 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
}

.sched-today-tag {
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: var(--tint-purple);
    color: var(--accent-3);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sched-rows {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
}

.sched-row {
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: 1.25rem;
    padding: 1.1rem 1.25rem;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.sched-row:hover {
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

.sched-row-next {
    border-color: rgba(168, 85, 247, 0.5);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.10), rgba(0, 204, 255, 0.05));
}

.sched-row-time {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-variant-numeric: tabular-nums;
    padding-top: 0.1rem;
}

.sched-row-start {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-secondary);
}

.sched-row-end {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.sched-row-dur {
    margin-top: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.sched-row-headline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.sched-row-headline h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.sched-row-tag {
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: var(--accent-3);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sched-row-dj {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.sched-row-desc {
    margin: 0.6rem 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted);
}

/* Linked presenter names in the DJ credit */
.sched-next-dj a,
.sched-row-dj a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(168, 85, 247, 0.5);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.sched-next-dj a:hover,
.sched-row-dj a:hover {
    color: var(--accent-3);
    border-color: var(--accent-3);
}

/* "Previous shows" links per presenter */
.sched-next-links,
.sched-row-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.1rem;
    margin-top: 0.85rem;
}

.sched-row-links {
    margin-top: 0.65rem;
}

.sched-showlink {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-secondary);
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.sched-showlink svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.sched-showlink:hover {
    opacity: 0.72;
}

/* Offset the presenter shows anchor so it clears the sticky header on jump */
.author-shows {
    scroll-margin-top: 90px;
}

/* Empty state */
.sched-empty {
    text-align: center;
    padding: 3rem 1.5rem 3.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 18px;
}

.sched-empty svg {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.sched-empty h3 {
    font-size: 1.3rem;
    margin: 0 0 0.5rem;
}

.sched-empty p {
    color: var(--text-secondary);
    max-width: 42ch;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.sched-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.sched-btn,
.sched-btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.sched-btn {
    background: linear-gradient(135deg, #a855f7 0%, #00ccff 100%);
    color: #fff;
}

.sched-btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}

.sched-btn:hover,
.sched-btn-ghost:hover {
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .sched-row {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }
    .sched-row-time {
        flex-direction: row;
        align-items: baseline;
        gap: 0.5rem;
        padding-top: 0;
    }
    .sched-row-dur {
        margin-top: 0;
        margin-left: auto;
    }
}

/* --- News rail --- */
.news-bar {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.25rem;
    position: sticky;
    top: 1rem;
}

.news-bar-head {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-color);
}

.news-kicker {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    background: rgba(255, 51, 102, 0.12);
}

.news-bar-head h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
}

.news-hero {
    display: block;
    color: inherit;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.news-hero:hover {
    color: inherit;
    border-color: var(--accent);
    transform: translateY(-2px);
}

.news-hero-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-secondary);
}

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

.news-hero:hover .news-hero-image img {
    transform: scale(1.05);
}

.news-hero-image-placeholder {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
}

.news-hero-badge {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.news-hero-body {
    padding: 0.9rem 1rem 1rem;
}

.news-hero-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.4rem;
}

.news-hero:hover .news-hero-body h3 {
    color: var(--accent);
}

.news-hero-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

.news-hero-more {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.news-list li + li {
    border-top: 1px solid var(--border-color);
}

.news-list a {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.7rem 0;
    color: var(--text-primary);
}

.news-list a:hover .news-list-title {
    color: var(--accent);
}

.news-list-title {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
}

.news-list time {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.news-more {
    display: block;
    text-align: center;
    padding: 0.65rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.news-more:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Section head helper (grid sections) */
.section-head {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.recent-section .section-head h2 {
    margin-bottom: 0;
}

.section-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .home-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-bar {
        position: static;
    }
}

@media (max-width: 680px) {
    .radio-source {
        flex-wrap: wrap;
    }

    .featured-show {
        grid-template-columns: 1fr;
    }

    .featured-show-art {
        max-width: 260px;
    }

    .schedule-item {
        grid-template-columns: 100px 1fr;
        gap: 0.75rem;
    }
}

/* ================================
   COLOUR & POLISH (national-radio feel)
   ================================ */

/* Coloured accent tab on major section headings */
.recent-section .section-head h2,
.djs-section h2,
.authors-section h2,
.tags-section h2 {
    position: relative;
    padding-left: 0.9rem;
}

.recent-section .section-head h2::before,
.djs-section h2::before,
.authors-section h2::before,
.tags-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 1.1em;
    border-radius: 3px;
    background: var(--accent-gradient);
}

/* Elevated featured show card */
.featured-show {
    background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
    border-color: var(--border-strong);
}

/* --- Ways to Listen --- */
.listen-ways {
    background:
        radial-gradient(420px 220px at 100% 0%, var(--tint-cyan), transparent 65%),
        linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.2rem 1.35rem;
}

.listen-ways-head {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.listen-ways-kicker {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-primary);
}

.listen-ways-sub {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.listen-ways-sub::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.2);
}

.listen-ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
    gap: 0.7rem;
}

.listen-way {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.listen-way:hover {
    transform: translateY(-3px);
    color: var(--text-primary);
}

.listen-way svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.listen-way strong {
    display: block;
    font-size: 0.88rem;
    line-height: 1.2;
}

.listen-way span {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.listen-way-dab svg { color: var(--accent); }
.listen-way-dab:hover { border-color: var(--accent); box-shadow: 0 8px 22px rgba(255, 51, 102, 0.18); }
.listen-way-online svg { color: var(--accent-secondary); }
.listen-way-online:hover { border-color: var(--accent-secondary); box-shadow: 0 8px 22px rgba(0, 204, 255, 0.18); }
.listen-way-speaker svg { color: var(--accent-3); }
.listen-way-speaker:hover { border-color: var(--accent-3); box-shadow: 0 8px 22px rgba(168, 85, 247, 0.18); }
.listen-way-mixcloud svg { color: var(--accent-gold); }
.listen-way-mixcloud:hover { border-color: var(--accent-gold); box-shadow: 0 8px 22px rgba(255, 176, 32, 0.18); }

/* Colour-code content types: shows (pink) vs articles (cyan) */
.post-badge {
    background: rgba(0, 204, 255, 0.92);
    color: #04121a;
    backdrop-filter: none;
}

.content-card-post:hover {
    border-color: var(--accent-secondary);
    box-shadow: 0 10px 40px rgba(0, 204, 255, 0.12);
}

/* DJs & Producers as a distinct tinted panel */
.djs-section {
    padding: 2rem;
    border-radius: 18px;
    background:
        radial-gradient(560px 300px at 100% 0%, var(--tint-purple), transparent 60%),
        linear-gradient(180deg, var(--bg-secondary) 0%, rgba(18, 18, 22, 0.35) 100%);
    border: 1px solid var(--border-color);
}

.dj-card {
    background: var(--bg-elevated);
}

.dj-card:hover {
    border-color: var(--accent-3);
    box-shadow: 0 10px 34px rgba(168, 85, 247, 0.16);
}

.dj-avatar-placeholder {
    background: var(--accent-gradient-cool);
}

@media (max-width: 560px) {
    .djs-section {
        padding: 1.35rem;
    }
}

/* --- Sponsored advert slider --- */
.ad-slider {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.ad-slides {
    position: relative;
    flex: 1 1 auto;
}

/* A single advert flows at its natural height, so the padding below always
   gives the logo and CTA breathing room. Multiple adverts are stacked
   absolutely for the cross-fade and get a min-height instead. */
.ad-slider-multi .ad-slides {
    min-height: 240px;
}

.sponsor-ad {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--ad-bg,
        radial-gradient(460px 260px at 115% -25%, rgba(255, 176, 32, 0.4), transparent 60%),
        linear-gradient(135deg, #2a0f4a 0%, #4a1263 52%, #7a1a52 100%));
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease, box-shadow 0.2s ease;
}

.sponsor-ad[data-active="true"] {
    opacity: 1;
    visibility: visible;
}

/* Single advert: flow in-place so its height is driven by content + padding */
.sponsor-ad:only-child {
    position: relative;
}

.sponsor-ad:hover {
    color: #fff;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
}

.sponsor-tag {
    position: absolute;
    top: 0.75rem;
    right: 0.9rem;
    z-index: 2;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

/* Sponsor logo bled off the corner as a subtle watermark. Left-shifted so the
   wordmark after the crown reads through. */
.sponsor-bg {
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 1400px;
    /* Override the global `img { max-width: 100% }` — this mark is meant to
       bleed well past the card, so its explicit width must win. */
    max-width: none;
    height: auto;
    object-fit: contain;
    opacity: 0.09;
    /* Offset so only part of the enlarged logo shows, as a graphic feature:
       right by 15% and down by 10% of its own size. */
    transform: translate(44%, 36%);
    z-index: 0;
    pointer-events: none;
}

.sponsor-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.sponsor-logo {
    height: 88px;
    width: auto;
    max-width: 92%;
    margin: -0.6rem 0 -0.5rem -0.6rem;
    object-fit: contain;
    object-position: left center;
}

.sponsor-name {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.sponsor-tagline {
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.85);
    max-width: 34ch;
    margin: 0;
}

.sponsor-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.2rem;
    padding: 0.58rem 1.25rem;
    border-radius: 999px;
    background: var(--ad-accent, var(--accent-gold));
    color: var(--ad-accent-text, #2a0f4a);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: filter 0.2s ease;
}

.sponsor-ad:hover .sponsor-cta {
    filter: brightness(1.08);
}

/* Slider dots */
.ad-dots {
    position: absolute;
    bottom: 0.85rem;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.ad-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ad-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.ad-dot.is-active {
    background: #fff;
    transform: scale(1.25);
}

/* --- Advertise with us CTA band --- */
.advertise-cta {
    margin-bottom: 4rem;
    padding: 2.5rem 2rem;
    border-radius: 18px;
    text-align: center;
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(600px 300px at 0% 0%, var(--tint-accent), transparent 60%),
        radial-gradient(600px 300px at 100% 100%, var(--tint-cyan), transparent 60%),
        linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.advertise-cta-inner {
    max-width: 680px;
    margin: 0 auto;
}

.advertise-kicker {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: var(--tint-accent);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.advertise-cta h2 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
    line-height: 1.2;
}

.advertise-cta p {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.6rem;
}

.advertise-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.advertise-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 0.98rem;
    box-shadow: 0 10px 30px rgba(255, 51, 102, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.advertise-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(255, 51, 102, 0.4);
}

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

.advertise-link:hover {
    color: var(--accent);
}

@media (max-width: 560px) {
    .advertise-cta {
        padding: 2rem 1.35rem;
    }

    .advertise-cta h2 {
        font-size: 1.5rem;
    }
}

/* --- SMS bar (Ways to Listen) --- */
.listen-sms {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 0.7rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.listen-sms:hover {
    color: var(--text-primary);
    border-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 204, 255, 0.16);
}

.listen-sms > svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    color: var(--accent-secondary);
}

.listen-sms-text {
    flex: 1;
    min-width: 0;
}

.listen-sms-text strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.2;
}

.listen-sms-text span {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.listen-sms-text b {
    color: var(--text-primary);
    font-weight: 700;
}

.listen-sms-go {
    flex-shrink: 0;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    background: var(--accent-secondary);
    color: #04121a;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

/* Footer company ownership notice */
.footer-bottom .company-notice {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
}

/* ================================
   LIVE EVENTS PAGE
   ================================ */
.le-hero {
    position: relative;
    margin: 0.5rem 0 3rem;
    padding: 3.5rem 2rem;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(700px 360px at 12% -10%, var(--tint-accent), transparent 60%),
        radial-gradient(700px 360px at 100% 0%, var(--tint-purple), transparent 60%),
        linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.le-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.le-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: var(--tint-accent);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.le-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.1rem;
}

.le-lead {
    font-size: 1.12rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.le-hero-actions,
.le-cta-actions {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
}

.le-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 0.98rem;
    box-shadow: 0 10px 30px rgba(255, 51, 102, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.le-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(255, 51, 102, 0.4);
}

.le-btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.le-btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.le-services,
.le-hire {
    margin-bottom: 3rem;
}

.le-services .section-head h2,
.le-hire .section-head h2 {
    font-size: 1.6rem;
    font-weight: 800;
    position: relative;
    padding-left: 0.9rem;
}

.le-services .section-head h2::before,
.le-hire .section-head h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 1.1em;
    border-radius: 3px;
    background: var(--accent-gradient);
}

.le-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.service-card {
    padding: 1.6rem;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 12px 34px rgba(255, 51, 102, 0.12);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 13px;
    margin-bottom: 1rem;
    background: var(--tint-accent);
    color: var(--accent);
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-icon-2 { background: var(--tint-cyan); color: var(--accent-secondary); }
.service-icon-3 { background: var(--tint-purple); color: var(--accent-3); }
.service-icon-4 { background: rgba(255, 176, 32, 0.12); color: var(--accent-gold); }
.service-icon-5 { background: var(--tint-cyan); color: var(--accent-secondary); }
.service-icon-6 { background: var(--tint-purple); color: var(--accent-3); }

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

.le-hire-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.le-hire-card {
    padding: 1.8rem;
    border-radius: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.le-hire-card-feature {
    border-color: var(--accent);
    background:
        radial-gradient(500px 260px at 100% 0%, var(--tint-accent), transparent 60%),
        linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.le-hire-tag {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: var(--bg-hover);
    color: var(--text-secondary);
}

.le-hire-card-feature .le-hire-tag {
    background: var(--accent);
    color: #fff;
}

.le-hire-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}

.le-hire-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.le-cta {
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(600px 300px at 0% 0%, var(--tint-accent), transparent 60%),
        radial-gradient(600px 300px at 100% 100%, var(--tint-purple), transparent 60%),
        linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.le-cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.le-cta h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.le-cta p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.6rem;
}

.le-cta-actions {
    margin-bottom: 1.5rem;
}

.le-company {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 640px) {
    .le-hero {
        padding: 2.5rem 1.35rem;
    }

    .le-hero h1 {
        font-size: 2rem;
    }

    .le-hire-grid {
        grid-template-columns: 1fr;
    }

    .le-cta {
        padding: 2.2rem 1.35rem;
    }

    .le-cta h2 {
        font-size: 1.5rem;
    }
}

/* ================================
   MARKETING / ADVERTISING PAGE
   ================================ */
.mk-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.mk-stat {
    padding: 1.6rem;
    border-radius: 14px;
    background:
        radial-gradient(340px 180px at 100% 0%, var(--tint-accent), transparent 60%),
        var(--bg-card);
    border: 1px solid var(--border-strong);
}

.mk-stat-fig {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--accent);
}

.mk-stat p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.mk-stat p strong {
    color: var(--text-primary);
}

.mk-legal {
    max-width: 860px;
    margin: 0 auto 4rem;
}

.mk-legal .section-head h2 {
    font-size: 1.6rem;
    font-weight: 800;
    position: relative;
    padding-left: 0.9rem;
}

.mk-legal .section-head h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 1.1em;
    border-radius: 3px;
    background: var(--accent-gradient);
}

.mk-legal-body {
    padding: 1.75rem 2rem;
    border-radius: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.mk-legal-body h3 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.6rem;
}

.mk-legal-body h3:first-child {
    margin-top: 0;
}

/* --- Marketing: hero trust strip --- */
.mk-trust-strip {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.6rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.35;
    text-align: left;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.mk-trust-strip:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.mk-trust-strip strong {
    color: var(--text-primary);
}

.mk-trust-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
}

.mk-trust-tile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- Marketing: packages --- */
.mk-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.mk-package {
    display: flex;
    flex-direction: column;
    padding: 1.8rem;
    border-radius: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.mk-package-feature {
    border-color: var(--accent);
    background:
        radial-gradient(500px 260px at 100% 0%, var(--tint-accent), transparent 60%),
        linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.mk-package-feature .le-hire-tag {
    background: var(--accent);
    color: #fff;
}

.mk-package h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.mk-package > p {
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 1.1rem;
    font-size: 0.95rem;
}

.mk-package-list {
    list-style: none;
    margin: 0;
    padding: 1rem 0 0;
    border-top: 1px solid var(--border-color);
}

.mk-package-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.mk-package-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 50%;
    background: var(--tint-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff3366' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
}

.mk-packages-note {
    max-width: 760px;
    margin: 1.5rem auto 0;
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Marketing: how it works --- */
.mk-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    counter-reset: mk-step;
}

.mk-step {
    padding: 1.5rem;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.mk-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 0.9rem;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
}

.mk-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.mk-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* --- Radiocentre membership card (marketing + about) --- */
.mk-trust {
    margin-bottom: 3rem;
}

.mk-trust .section-head h2 {
    font-size: 1.6rem;
    font-weight: 800;
    position: relative;
    padding-left: 0.9rem;
}

.mk-trust .section-head h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 1.1em;
    border-radius: 3px;
    background: var(--accent-gradient);
}

.mk-trust-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(600px 300px at 0% 100%, var(--tint-accent), transparent 60%),
        linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.mk-trust-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    border-radius: 16px;
    background: #fff;
}

.mk-trust-mark img {
    width: 100%;
    max-width: 180px;
    height: auto;
}

.mk-trust-body p,
.mk-trust-body li {
    color: var(--text-secondary);
    line-height: 1.65;
}

.mk-trust-body p {
    margin-bottom: 0.9rem;
}

.mk-trust-body a {
    color: var(--accent);
    font-weight: 700;
}

.mk-trust-body a:hover {
    color: var(--accent-secondary);
}

.mk-trust-body ul {
    margin: 0;
    padding-left: 1.2rem;
}

.mk-trust-body li {
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
}

.mk-trust-body li strong {
    color: var(--text-primary);
}

/* --- Footer: Radiocentre membership badge --- */
.footer-trustmark {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0.25rem auto 1rem;
    padding: 0.4rem 0.9rem 0.4rem 0.4rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.3;
    text-align: left;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-trustmark:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.footer-trustmark .mk-trust-tile {
    width: 44px;
    height: 44px;
}

/* Four "why radio" cards sit on one row on desktop rather than 3 + 1 */
#mk-why .le-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (max-width: 900px) {
    .mk-packages {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 560px) {
    .mk-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .mk-trust-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .mk-trust-mark {
        max-width: 200px;
        margin: 0 auto;
    }

    .mk-trust-strip {
        border-radius: 16px;
        align-items: flex-start;
    }
}

/* --- About: founder card --- */
.founder-card {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    padding: 1.75rem 2rem;
    border-radius: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.founder-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border-strong);
}

.founder-body h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.founder-role {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 0.9rem;
}

.founder-body p {
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 0.85rem;
}

.founder-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
}

.founder-link:hover {
    color: var(--accent-secondary);
}

@media (max-width: 560px) {
    .founder-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }
}

/* ================================
   TOUCH: no sticky hover states
   On touch devices :hover latches after a tap, leaving cards/buttons
   stuck lifted or zoomed. Cancel the motion there (colour/shadow hovers
   are harmless, so they stay). Placed last so it wins on specificity ties.
   ================================ */
@media (hover: none) {
    .post-card:hover,
    .show-card:hover,
    .content-card:hover,
    .service-card:hover,
    .listen-way:hover,
    .play-button:hover,
    .submit-btn:hover:not(:disabled),
    .post-card:hover .post-image img,
    .show-card:hover .show-image img,
    .content-card:hover .content-image img,
    .news-hero:hover .news-hero-image img,
    .featured-show-art:hover img {
        transform: none;
    }
}

/* ================================
   IMAGE FADE-IN
   Lazy-loaded imagery fades in instead of popping. The `img-fade` class
   is added by JS, so no-JS users keep fully-visible images.
   ================================ */
img.img-fade {
    opacity: 0;
}

img.img-fade.img-in {
    opacity: 1;
    transition: opacity 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
    img.img-fade {
        opacity: 1;
        transition: none;
    }
}
