/*
Theme Name: Radiomas
Theme URI:
Author: Craneo Creativo Multimedia
Author URI:
Description: Radiomas es un tema editorial y de broadcasting para radios online con player persistente, canales múltiples, programación dinámica, podcasts, charts y una base modular lista para escalar.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: radiowave
Domain Path: /languages
Tags: radio, music, audio, responsive, dark-mode, custom-menu, featured-images
*/

/* ================================
   RADIOWAVE THEME - VARIABLES
   ================================ */
:root {
    /* Colores principales */
    --rw-primary: #ff3366;
    --rw-primary-dark: #e62958;
    --rw-secondary: #1a1a2e;
    --rw-accent: #00d4aa;
    
    /* Colores de fondo */
    --rw-bg-dark: #0f0f1a;
    --rw-bg-darker: #08080f;
    --rw-bg-card: #16162a;
    --rw-bg-overlay: rgba(15, 15, 26, 0.95);
    
    /* Colores de texto */
    --rw-text-primary: #ffffff;
    --rw-text-secondary: #a0a0b0;
    --rw-text-muted: #7a7a8a;
    
    /* Bordes */
    --rw-border: rgba(255, 255, 255, 0.1);
    --rw-border-hover: rgba(255, 51, 102, 0.5);
    
    /* Tipografía */
    --rw-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --rw-font-heading: 'Poppins', sans-serif;
    
    /* Espaciado */
    --rw-spacing-xs: 0.5rem;
    --rw-spacing-sm: 1rem;
    --rw-spacing-md: 1.5rem;
    --rw-spacing-lg: 2rem;
    --rw-spacing-xl: 3rem;
    --rw-spacing-xxl: 5rem;
    
    /* Bordes redondeados */
    --rw-radius-sm: 4px;
    --rw-radius-md: 8px;
    --rw-radius-lg: 12px;
    --rw-radius-xl: 20px;
    
    /* Sombras */
    --rw-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --rw-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --rw-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --rw-shadow-glow: 0 0 30px rgba(255, 51, 102, 0.3);
    
    /* Transiciones */
    --rw-transition-fast: 0.15s ease;
    --rw-transition-normal: 0.3s ease;
    --rw-transition-slow: 0.5s ease;
    
    /* Alturas */
    --rw-player-height: 80px;
    --rw-header-height: 70px;
}

/* ================================
   RESET Y BASE
   ================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--rw-font-primary);
    background-color: var(--rw-bg-dark);
    color: var(--rw-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: var(--rw-player-height);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'ss01' 1, 'cv02' 1, 'cv03' 1;
}

a {
    color: var(--rw-text-primary);
    text-decoration: none;
    transition: color var(--rw-transition-fast);
}

a:hover {
    color: var(--rw-primary);
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.rw-player-chat-btn {
    background: linear-gradient(135deg, #ff9f1c 0%, #ffb347 100%);
    color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 10px 28px rgba(255, 159, 28, 0.35);
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 14px;
    transition: transform var(--rw-transition-fast), box-shadow var(--rw-transition-fast), filter var(--rw-transition-fast);
}

.rw-player-chat-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(255, 159, 28, 0.45);
    filter: saturate(1.05);
}

ul, ol {
    list-style: none;
}

/* ================================
   TIPOGRAFÍA
   ================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--rw-font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--rw-spacing-md);
    letter-spacing: -0.02em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--rw-spacing-sm);
    color: var(--rw-text-secondary);
    line-height: 1.72;
}

.text-gradient {
    background: linear-gradient(135deg, var(--rw-primary) 0%, var(--rw-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================
   CONTENEDORES
   ================================ */
.rw-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--rw-spacing-md);
}

.rw-container-narrow {
    max-width: 1000px;
}

.rw-container-wide {
    max-width: 1600px;
}

/* ================================
   BOTONES
   ================================ */
.rw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--rw-spacing-xs);
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--rw-radius-md);
    transition: all var(--rw-transition-normal);
    cursor: pointer;
    line-height: 1;
}

.rw-btn-sm {
    min-height: 40px;
    padding: 0.7rem 1rem;
    font-size: 0.75rem;
}

.rw-btn-primary {
    background: var(--rw-primary);
    color: white;
}

.rw-btn-primary:hover {
    background: var(--rw-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--rw-shadow-glow);
}

.rw-btn-secondary {
    background: transparent;
    color: var(--rw-text-primary);
    border: 1px solid var(--rw-border);
}

.rw-btn-secondary:hover {
    border-color: var(--rw-primary);
    color: var(--rw-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.rw-btn-outline {
    background: transparent;
    border: 2px solid var(--rw-primary);
    color: var(--rw-primary);
}

.rw-btn-outline:hover {
    background: var(--rw-primary);
    color: white;
    box-shadow: 0 14px 28px rgba(255, 51, 102, 0.18);
}

.rw-btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

.rw-btn:focus-visible {
    outline: 2px solid var(--rw-primary);
    outline-offset: 2px;
}

/* ================================
   HEADER
   ================================ */
.rw-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: var(--rw-header-height);
    height: auto;
    background: var(--rw-bg-overlay);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--rw-border);
    z-index: 1000;
    transition: all var(--rw-transition-normal);
}

.rw-header.scrolled {
    background: rgba(15, 15, 26, 0.98);
}

.rw-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--rw-header-height);
    padding-top: var(--rw-spacing-xs, 0.25rem);
    padding-bottom: var(--rw-spacing-xs, 0.25rem);
}

.rw-header-slot {
    min-width: 0;
}

.rw-header--left .rw-header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: var(--rw-spacing-lg);
}

.rw-header--left .rw-header-slot--nav {
    display: flex;
    justify-content: flex-end;
}

.rw-header--center .rw-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: var(--rw-spacing-lg);
}

.rw-header--center .rw-header-slot--brand {
    justify-self: center;
}

.rw-header--center .rw-header-slot--nav {
    display: flex;
    justify-content: flex-start;
}

.rw-header--center .rw-header-slot--actions {
    display: flex;
    justify-content: flex-end;
}

.rw-header--transparent {
    background: transparent;
    border-bottom-color: transparent;
}

.rw-header--transparent.scrolled {
    background: var(--rw-bg-overlay);
    border-bottom: 1px solid var(--rw-border);
}

.rw-header--static {
    position: relative;
}

.rw-header--hidden-menu .rw-header-slot--nav {
    display: none;
}

/* Logo */
.rw-logo {
    display: flex;
    align-items: center;
    gap: var(--rw-spacing-sm);
    max-width: min(240px, 42vw);
    font-family: var(--rw-font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.rw-logo img {
    display: block;
    max-width: 100%;
    max-height: var(--rw-logo-max-height, 64px);
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Navegación */
.rw-nav {
    display: flex;
    align-items: center;
    gap: var(--rw-spacing-lg);
    justify-content: flex-end;
}

.rw-nav-menu {
    display: flex;
    align-items: center;
    gap: var(--rw-spacing-md);
}

.rw-nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
}

.rw-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rw-primary);
    transition: width var(--rw-transition-normal);
}

.rw-nav-menu a:hover::after,
.rw-nav-menu a.active::after,
.rw-nav-menu .current-menu-item > a::after {
    width: 100%;
}

.rw-nav-menu .current-menu-item > a {
    color: var(--rw-primary);
}

.rw-nav-actions {
    display: flex;
    align-items: center;
    gap: var(--rw-spacing-sm);
    justify-content: flex-end;
}

.rw-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: var(--rw-spacing-xs);
    padding: 0.35rem 0.65rem;
    border-radius: var(--rw-radius-md);
    border: 1px solid var(--rw-border);
    background: var(--rw-bg-card);
}

.rw-lang-switcher ul {
    display: flex;
    align-items: center;
    gap: var(--rw-spacing-xs);
    list-style: none;
    margin: 0;
    padding: 0;
}

.rw-lang-switcher li {
    margin: 0;
}

.rw-lang-switcher a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--rw-text-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 0.15rem 0.35rem;
    border-radius: var(--rw-radius-sm);
    transition: color var(--rw-transition-fast), background var(--rw-transition-fast);
}

.rw-lang-switcher a:hover,
.rw-lang-switcher .current-lang a {
    color: var(--rw-primary);
    background: rgba(255, 51, 102, 0.08);
}

.rw-lang-switcher img {
    width: 18px;
    height: 12px;
    object-fit: cover;
}

.rw-lang-switcher--mobile {
    margin: var(--rw-spacing-sm) 0;
    width: 100%;
    justify-content: center;
}

.rw-nav-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--rw-bg-card);
    border: 1px solid var(--rw-border);
    color: var(--rw-text-primary);
    transition: all var(--rw-transition-fast);
}

.rw-nav-btn:hover {
    background: var(--rw-primary);
    border-color: var(--rw-primary);
}

.rw-nav-btn:focus-visible {
    outline: 2px solid var(--rw-primary);
    outline-offset: 2px;
}

/* ================================
   REPRODUCTOR DE RADIO
   ================================ */
.rw-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--rw-player-height);
    background: var(--rw-bg-darker);
    border-top: 1px solid var(--rw-border);
    z-index: 1001;
    display: flex;
    align-items: center;
}

.rw-player-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 var(--rw-spacing-md);
}

.rw-player-track {
    display: flex;
    align-items: center;
    gap: var(--rw-spacing-md);
    flex: 1;
}

.rw-player-artwork {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: var(--rw-radius-sm);
    overflow: hidden;
    background: var(--rw-bg-card);
}

.rw-player-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rw-player-artwork.is-video-active {
    width: 96px;
    height: 56px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.rw-player-video-thumb {
    position: absolute;
    inset: 0;
    display: none;
    background: #000;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.rw-player-video-window {
    width: 100%;
}

.rw-player-video-window__stage {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: var(--rw-player-video-ratio, 16 / 9);
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.1), transparent 45%),
        #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

.rw-player-video-window__stage.is-ready {
    display: block;
}

.rw-player-video-thumb.is-ready {
    display: block;
}

.rw-player-video-thumb iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

.rw-player-video-thumb iframe {
    border: 0;
}

.rw-player-video-thumb.is-playing-video iframe {
    opacity: 1;
    pointer-events: auto;
}

.rw-player-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rw-player-title {
    font-weight: 600;
    font-size: 0.9375rem;
}

.rw-player-artist {
    font-size: 0.8125rem;
    color: var(--rw-text-secondary);
}

.rw-player-controls {
    display: flex;
    align-items: center;
    gap: var(--rw-spacing-md);
}

.rw-player-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--rw-text-primary);
    transition: all var(--rw-transition-fast);
}

.rw-player-btn:hover {
    background: var(--rw-bg-card);
    color: var(--rw-primary);
}

.rw-player-btn.play {
    width: 56px;
    height: 56px;
    background: var(--rw-primary);
    color: white;
}

.rw-player-btn.play:hover {
    background: var(--rw-primary-dark);
    transform: scale(1.05);
}

.rw-player-btn.play.buffering {
    animation: rw-pulse-buffering 1s ease-in-out infinite;
}

@keyframes rw-pulse-buffering {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.rw-player-btn:active {
    transform: scale(0.93);
}

.rw-player-volume {
    display: flex;
    align-items: center;
    gap: var(--rw-spacing-sm);
}

.rw-player-volume input[type="range"] {
    width: 100px;
    height: 4px;
    background: var(--rw-bg-card);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.rw-player-volume input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--rw-primary);
    border-radius: 50%;
    cursor: pointer;
}

.rw-player-volume input[type="range"]::-moz-range-track {
    background: var(--rw-bg-card);
    border: none;
    border-radius: 2px;
    height: 4px;
}

.rw-player-volume input[type="range"]::-moz-range-thumb {
    background: var(--rw-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 12px;
    height: 12px;
}

.rw-player-volume input[type="range"]:focus-visible {
    outline: 2px solid var(--rw-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

.rw-player-actions {
    display: flex;
    align-items: center;
    gap: var(--rw-spacing-lg);
    justify-content: flex-end;
    margin-left: auto;
    flex-wrap: wrap;
}

.rw-player-popup {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    background: var(--rw-bg-card);
    border-radius: var(--rw-radius-md);
    border: 1px solid var(--rw-border);
    transition: all var(--rw-transition-fast);
}

.rw-player-popup:hover,
.rw-player-popup:focus-visible {
    background: var(--rw-primary);
    color: #fff;
    border-color: var(--rw-primary);
}

.rw-player-popup:focus-visible {
    outline: 2px solid var(--rw-primary);
    outline-offset: 2px;
}

.rw-player.is-video-mode .rw-player-volume {
    opacity: 1;
    pointer-events: auto;
}

/* Player channel active/touch state */
.rw-player-channel:active {
    transform: scale(0.97);
}

/* Player Error Toast */
.rw-player-error {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #ff6b6b, #e63946);
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--rw-radius-md);
    box-shadow: var(--rw-shadow-lg);
    z-index: 10000;
    animation: slideInRight 0.3s ease;
}

.rw-player-error.is-hiding {
    animation: slideOutRight 0.3s ease forwards;
}

@keyframes slideOutRight {
    to {
        opacity: 0;
        transform: translateX(30px);
    }
}

/* Loading spinner (generic) */
.rw-loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--rw-primary);
    border-radius: 50%;
    animation: rw-spin 0.7s linear infinite;
}

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

/* Notifications (success/error/info) */
.rw-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    max-width: 400px;
    padding: 1rem 1.5rem;
    color: white;
    border-radius: var(--rw-radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--rw-shadow-lg);
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.rw-notification-success {
    background: var(--rw-accent);
}

.rw-notification-error {
    background: #e63946;
}

.rw-notification-info {
    background: var(--rw-primary);
}

.rw-notification.is-hiding {
    animation: slideInRight 0.3s ease reverse forwards;
}

@media (max-width: 480px) {
    .rw-notification {
        left: 12px;
        right: 12px;
        max-width: none;
        top: 80px;
    }
}

.rw-player-video-shell {
    position: relative;
    display: block;
    width: 100%;
    max-width: 920px;
    margin: 0 auto 1.25rem;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.1), transparent 45%),
        #000;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 42px rgba(0,0,0,0.35);
}

.rw-player-video-shell iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

.rw-player-video-shell.is-playing-video iframe {
    opacity: 1;
    pointer-events: auto;
}

/* Video loading state */
.rw-player-video-shell.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

.rw-player-video-shell.is-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--rw-primary);
    border-radius: 50%;
    animation: rw-spin 0.7s linear infinite;
    z-index: 4;
}

/* Video error state */
.rw-player-video-shell.is-error {
    border-color: rgba(255, 107, 107, 0.3);
}

.rw-player-video-shell.is-error::after {
    content: 'Error al cargar video';
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    color: #ff6b6b;
    font-size: 0.875rem;
    font-weight: 600;
}

.rw-player-video-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 0;
    color: var(--rw-text-secondary);
    font-size: 0.8rem;
}

.rw-player-video-meta strong {
    color: var(--rw-text-primary);
    font-size: 0.95rem;
}

.rw-player-video-stage {
    position: relative;
    width: 100%;
    max-width: 920px;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 42px rgba(0,0,0,0.35);
}

.rw-player-video-stage::before {
    content: '';
    display: block;
    padding-top: 56.25%;
}

.rw-player-video-stage iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* ================================
   HERO SECTION
   ================================ */
.rw-hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--rw-header-height);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.rw-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.rw-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--rw-bg-card);
}

.rw-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 15, 26, 0.95) 0%, rgba(15, 15, 26, 0.7) 50%, rgba(15, 15, 26, 0.9) 100%);
}

.rw-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: var(--rw-spacing-xxl) 0;
}

.rw-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--rw-spacing-xxl);
    align-items: center;
}

.rw-hero-left {
    display: flex;
    flex-direction: column;
    gap: var(--rw-spacing-lg);
}

.rw-hero-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.rw-hero-kicker span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--rw-text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rw-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--rw-spacing-xs);
    padding: 0.5rem 1rem;
    background: var(--rw-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--rw-radius-md);
    width: fit-content;
}

.rw-hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

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

.rw-hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--rw-spacing-sm);
}

.rw-hero-subtitle {
    font-size: 1.25rem;
    color: var(--rw-text-secondary);
    margin-bottom: var(--rw-spacing-lg);
}

.rw-hero-actions {
    display: flex;
    gap: var(--rw-spacing-md);
}

/* ================================
   NOW PLAYING CARD
   ================================ */
.rw-now-playing {
    background:
        radial-gradient(circle at top right, rgba(255, 51, 102, 0.14), transparent 26%),
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
        var(--rw-bg-card);
    border-radius: var(--rw-radius-lg);
    border: 1px solid var(--rw-border);
    overflow: hidden;
    box-shadow: 0 22px 80px rgba(0, 0, 0, 0.34);
}

.rw-now-playing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--rw-spacing-md);
    border-bottom: 1px solid var(--rw-border);
}

.rw-now-playing-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rw-now-playing-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: var(--rw-spacing-sm);
}

.rw-now-playing-body {
    padding: var(--rw-spacing-md);
}

.rw-now-playing-track {
    display: flex;
    align-items: center;
    gap: var(--rw-spacing-md);
    margin-bottom: var(--rw-spacing-md);
}

.rw-now-playing-artwork {
    width: 80px;
    height: 80px;
    border-radius: var(--rw-radius-md);
    overflow: hidden;
}

.rw-now-playing-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rw-now-playing-details {
    flex: 1;
}

.rw-now-playing-song {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.rw-now-playing-artist {
    color: var(--rw-text-secondary);
    font-size: 0.9375rem;
}

.rw-now-playing-progress {
    display: flex;
    align-items: center;
    gap: var(--rw-spacing-sm);
    margin-top: var(--rw-spacing-sm);
}

.rw-now-playing-progress-bar {
    flex: 1;
    height: 4px;
    background: var(--rw-bg-dark);
    border-radius: 2px;
    overflow: hidden;
}

.rw-now-playing-progress-fill {
    height: 100%;
    width: 45%;
    background: var(--rw-primary);
    border-radius: 2px;
}

.rw-now-playing-time {
    font-size: 0.75rem;
    color: var(--rw-text-muted);
    font-family: monospace;
}

.rw-now-playing-meta-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: var(--rw-spacing-md);
}

.rw-now-playing-meta-rail div {
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.rw-now-playing-meta-rail span {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--rw-text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rw-now-playing-meta-rail strong {
    display: block;
    font-size: 0.92rem;
}

/* ================================
   COMING NEXT
   ================================ */
.rw-coming-next {
    margin-top: var(--rw-spacing-md);
    padding-top: var(--rw-spacing-md);
    border-top: 1px solid var(--rw-border);
}

.rw-coming-next-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rw-text-muted);
    margin-bottom: var(--rw-spacing-sm);
}

.rw-coming-next-item {
    display: flex;
    align-items: center;
    gap: var(--rw-spacing-sm);
    padding: var(--rw-spacing-sm) 0;
}

.rw-coming-next-time {
    font-size: 0.8125rem;
    color: var(--rw-text-secondary);
    min-width: 100px;
}

.rw-coming-next-show {
    font-weight: 600;
    font-size: 0.9375rem;
}

/* ================================
   TOP HITS SECTION
   ================================ */
.rw-section {
    padding: var(--rw-spacing-xxl) 0;
}

.rw-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--rw-spacing-xl);
}

.rw-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--rw-spacing-xs);
}

.rw-section-subtitle {
    color: var(--rw-text-secondary);
    font-size: 1rem;
}

.rw-top-hits {
    background: var(--rw-bg-card);
    border-radius: var(--rw-radius-lg);
    border: 1px solid var(--rw-border);
    overflow: hidden;
}

.rw-top-hit-item {
    display: flex;
    align-items: center;
    gap: var(--rw-spacing-md);
    padding: var(--rw-spacing-md);
    border-bottom: 1px solid var(--rw-border);
    transition: background var(--rw-transition-fast);
}

.rw-top-hit-item:last-child {
    border-bottom: none;
}

.rw-top-hit-item:hover {
    background: rgba(255, 51, 102, 0.05);
}

.rw-top-hit-rank {
    width: 40px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--rw-primary);
    text-align: center;
}

.rw-top-hit-artwork {
    width: 60px;
    height: 60px;
    border-radius: var(--rw-radius-sm);
    overflow: hidden;
}

.rw-top-hit-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rw-top-hit-info {
    flex: 1;
}

.rw-top-hit-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.rw-top-hit-artist {
    font-size: 0.875rem;
    color: var(--rw-text-secondary);
}

.rw-top-hit-actions {
    display: flex;
    gap: var(--rw-spacing-xs);
}

.rw-top-hit-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--rw-bg-dark);
    color: var(--rw-text-secondary);
    transition: all var(--rw-transition-fast);
}

.rw-top-hit-btn:hover {
    background: var(--rw-primary);
    color: white;
}

/* ================================
   SHOWS SCHEDULE
   ================================ */
.rw-schedule-tabs {
    display: flex;
    gap: var(--rw-spacing-xs);
    margin-bottom: var(--rw-spacing-lg);
    overflow-x: auto;
    padding-bottom: var(--rw-spacing-xs);
}

.rw-schedule-tab {
    padding: 0.75rem 1.5rem;
    background: var(--rw-bg-card);
    border: 1px solid var(--rw-border);
    border-radius: var(--rw-radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rw-text-secondary);
    white-space: nowrap;
    transition: all var(--rw-transition-fast);
}

.rw-schedule-tab:hover,
.rw-schedule-tab.active {
    background: var(--rw-primary);
    border-color: var(--rw-primary);
    color: white;
}

.rw-schedule-grid {
    display: grid;
    gap: var(--rw-spacing-md);
}

.rw-show-card {
    display: flex;
    align-items: center;
    gap: var(--rw-spacing-md);
    padding: var(--rw-spacing-md);
    background: var(--rw-bg-card);
    border-radius: var(--rw-radius-lg);
    border: 1px solid var(--rw-border);
    transition: all var(--rw-transition-normal);
}

.rw-show-card:hover {
    border-color: var(--rw-border-hover);
    transform: translateX(5px);
}

.rw-show-card.on-air {
    border-color: var(--rw-primary);
    background: rgba(255, 51, 102, 0.05);
}

.rw-show-image {
    width: 88px;
    height: 88px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--rw-bg-dark);
}

.rw-show-image img,
.rw-show-no-image {
    width: 100%;
    height: 100%;
}

.rw-show-image img {
    object-fit: cover;
    display: block;
}

.rw-show-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.rw-show-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    padding-right: var(--rw-spacing-md);
    border-right: 1px solid var(--rw-border);
}

.rw-show-time-start {
    font-size: 1.25rem;
    font-weight: 700;
}

.rw-show-time-end {
    font-size: 0.875rem;
    color: var(--rw-text-muted);
}

.rw-show-info {
    flex: 1;
}

.rw-show-genre {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--rw-accent);
    margin-bottom: 0.25rem;
}

.rw-show-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.rw-show-host {
    font-size: 0.875rem;
    color: var(--rw-text-secondary);
}

.rw-show-actions {
    display: flex;
    gap: var(--rw-spacing-xs);
}

@media (max-width: 768px) {
    .rw-show-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .rw-show-image {
        width: 100%;
        height: auto;
        max-height: 220px;
    }

    .rw-show-time {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-width: 0;
        padding-right: 0;
        padding-bottom: var(--rw-spacing-sm);
        border-right: none;
        border-bottom: 1px solid var(--rw-border);
        gap: var(--rw-spacing-sm);
    }

    .rw-show-info {
        width: 100%;
    }

    .rw-show-actions {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

/* ================================
   SONG REQUESTS
   ================================ */
.rw-requests {
    background: var(--rw-bg-card);
    border-radius: var(--rw-radius-lg);
    border: 1px solid var(--rw-border);
    padding: var(--rw-spacing-xl);
}

.rw-requests-header {
    text-align: center;
    margin-bottom: var(--rw-spacing-xl);
}

.rw-requests-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--rw-spacing-sm);
}

.rw-requests-list {
    display: flex;
    flex-direction: column;
    gap: var(--rw-spacing-md);
    margin-bottom: var(--rw-spacing-xl);
}

.rw-request-item {
    display: flex;
    align-items: center;
    gap: var(--rw-spacing-md);
    padding: var(--rw-spacing-md);
    background: var(--rw-bg-dark);
    border-radius: var(--rw-radius-md);
}

.rw-request-artwork {
    width: 64px;
    height: 64px;
    border-radius: var(--rw-radius-sm);
    overflow: hidden;
}

.rw-request-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rw-request-content {
    flex: 1;
}

.rw-request-song {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.rw-request-message {
    font-size: 0.875rem;
    color: var(--rw-text-secondary);
    margin-bottom: 0.25rem;
}

.rw-request-author {
    font-size: 0.8125rem;
    color: var(--rw-text-muted);
}

.rw-request-form {
    background: var(--rw-bg-dark);
    border-radius: var(--rw-radius-md);
    padding: var(--rw-spacing-lg);
}

.rw-form-group {
    margin-bottom: var(--rw-spacing-md);
}

.rw-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.rw-form-input,
.rw-form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--rw-bg-card);
    border: 1px solid var(--rw-border);
    border-radius: var(--rw-radius-md);
    color: var(--rw-text-primary);
    font-size: 0.9375rem;
    transition: border-color var(--rw-transition-fast);
}

.rw-form-input:focus,
.rw-form-textarea:focus {
    outline: none;
    border-color: var(--rw-primary);
}

.rw-form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Form States */
.rw-form-input:disabled,
.rw-form-textarea:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--rw-bg-dark);
}

.rw-form-input:invalid:not(:placeholder-shown),
.rw-form-textarea:invalid:not(:placeholder-shown) {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.1);
}

.rw-form-input::placeholder,
.rw-form-textarea::placeholder {
    color: var(--rw-text-muted);
    opacity: 0.7;
}

.rw-emoji-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: var(--rw-spacing-sm);
}

.rw-emoji-btn {
    font-size: 1.25rem;
    padding: 0.25rem;
    background: transparent;
    border-radius: var(--rw-radius-sm);
    transition: transform var(--rw-transition-fast);
}

.rw-emoji-btn:hover {
    transform: scale(1.2);
}

/* ================================
   PODCASTS
   ================================ */
.rw-podcasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--rw-spacing-lg);
}

.rw-podcast-card {
    background: var(--rw-bg-card);
    border-radius: var(--rw-radius-lg);
    border: 1px solid var(--rw-border);
    overflow: hidden;
    transition: all var(--rw-transition-normal);
}

.rw-podcast-card:hover {
    transform: translateY(-5px);
    border-color: var(--rw-border-hover);
    box-shadow: var(--rw-shadow-lg);
}

.rw-podcast-artwork {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.rw-podcast-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--rw-transition-slow);
}

.rw-podcast-card:hover .rw-podcast-artwork img {
    transform: scale(1.05);
}

.rw-podcast-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity var(--rw-transition-normal);
}

.rw-podcast-card:hover .rw-podcast-play {
    opacity: 1;
}

.rw-podcast-play-btn {
    width: 64px;
    height: 64px;
    background: var(--rw-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transform: scale(0.8);
    transition: transform var(--rw-transition-normal);
}

.rw-podcast-card:hover .rw-podcast-play-btn {
    transform: scale(1);
}

.rw-podcast-info {
    padding: var(--rw-spacing-md);
}

.rw-podcast-date {
    font-size: 0.75rem;
    color: var(--rw-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.rw-podcast-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--rw-spacing-sm);
}

.rw-podcast-episode {
    font-size: 0.875rem;
    color: var(--rw-text-secondary);
}

/* ================================
   NEWS/BLOG
   ================================ */
.rw-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--rw-spacing-lg);
}

.rw-news-card {
    background: var(--rw-bg-card);
    border-radius: var(--rw-radius-lg);
    border: 1px solid var(--rw-border);
    overflow: hidden;
    transition: all var(--rw-transition-normal);
}

.rw-news-card:hover {
    border-color: var(--rw-border-hover);
}

.rw-news-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.rw-news-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.rw-news-card.featured .rw-news-image {
    aspect-ratio: auto;
}

.rw-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--rw-transition-slow);
}

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

.rw-news-category {
    position: absolute;
    top: var(--rw-spacing-sm);
    left: var(--rw-spacing-sm);
    padding: 0.375rem 0.75rem;
    background: var(--rw-primary);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--rw-radius-sm);
}

.rw-news-content {
    padding: var(--rw-spacing-md);
}

.rw-news-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--rw-spacing-sm);
    line-height: 1.4;
}

.rw-news-card.featured .rw-news-title {
    font-size: 1.5rem;
}

.rw-news-excerpt {
    font-size: 0.9375rem;
    color: var(--rw-text-secondary);
    margin-bottom: var(--rw-spacing-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rw-news-meta {
    display: flex;
    align-items: center;
    gap: var(--rw-spacing-md);
    font-size: 0.8125rem;
    color: var(--rw-text-muted);
}

.rw-news-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ================================
   SPONSORS
   ================================ */
.rw-sponsors {
    background: var(--rw-bg-card);
    padding: var(--rw-spacing-xl) 0;
}

.rw-sponsors-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--rw-spacing-xxl);
    flex-wrap: wrap;
}

.rw-sponsor-item {
    opacity: 0.6;
    transition: opacity var(--rw-transition-normal);
    filter: grayscale(100%);
}

.rw-sponsor-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.rw-sponsor-item img {
    max-height: 40px;
    width: auto;
}

/* ================================
   NEWSLETTER
   ================================ */
.rw-newsletter {
    background: linear-gradient(135deg, var(--rw-secondary) 0%, var(--rw-bg-darker) 100%);
    padding: var(--rw-spacing-xxl) 0;
    text-align: center;
}

.rw-newsletter-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--rw-spacing-md);
}

.rw-newsletter-form {
    display: flex;
    gap: var(--rw-spacing-sm);
    max-width: 500px;
    margin: 0 auto;
}

.rw-newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--rw-bg-card);
    border: 1px solid var(--rw-border);
    border-radius: var(--rw-radius-md);
    color: var(--rw-text-primary);
    font-size: 1rem;
}

.rw-newsletter-input:focus {
    outline: none;
    border-color: var(--rw-primary);
}

/* ================================
   EDITORIAL / ARCHIVES / SINGLE
   ================================ */
.rw-archive-header,
.rw-post-header {
    padding: calc(var(--rw-header-height) + 4rem) 0 3rem;
    background:
        radial-gradient(circle at top right, rgba(255, 51, 102, 0.18), transparent 28%),
        radial-gradient(circle at left center, rgba(0, 212, 170, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
    border-bottom: 1px solid var(--rw-border);
}

.rw-archive-header--layered,
.rw-post-header {
    position: relative;
    overflow: hidden;
}

.rw-archive-header--layered::before,
.rw-post-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.4), transparent 80%);
    pointer-events: none;
}

.rw-archive-header--centered .rw-archive-description {
    margin-left: auto;
    margin-right: auto;
}

.rw-hero--compact {
    min-height: 72vh;
}

.rw-home-stack-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
}

.rw-archive-topline {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
    color: var(--rw-text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rw-archive-label {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--rw-border);
    color: var(--rw-text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.rw-archive-title {
    font-size: clamp(2.4rem, 4vw, 4.5rem);
    margin-bottom: 1rem;
}

.rw-archive-description {
    max-width: 760px;
    color: var(--rw-text-secondary);
    font-size: 1.05rem;
}

.rw-archive-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.rw-post-header-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.rw-post-header-rail div {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
}

.rw-post-header-rail span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--rw-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rw-post-header-rail strong {
    display: block;
    font-size: 1rem;
}

.rw-show-cover-media {
    margin-top: 1.75rem;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.rw-show-cover-media img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

.rw-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(300px, 0.8fr);
    gap: 2rem;
    align-items: start;
}

.rw-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.rw-post-card,
.rw-sidebar-panel,
.rw-editorial-panel,
.rw-single-main,
.rw-single-aside {
    background: var(--rw-bg-card);
    border: 1px solid var(--rw-border);
    border-radius: 24px;
}

.rw-post-card,
.rw-sidebar-panel,
.rw-editorial-panel,
.rw-single-main,
.rw-single-aside,
.rw-top-hits,
.rw-requests,
.rw-show-card,
.rw-podcast-card,
.rw-event-card,
.rw-host-card,
.rw-current-host,
.rw-host-profile,
.rw-podcast-player,
.rw-episode-item,
.rw-request-form-wrapper,
.rw-top-hits-list,
.rw-player-history-item {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.rw-post-card {
    overflow: hidden;
    transition: transform var(--rw-transition-normal), border-color var(--rw-transition-normal), box-shadow var(--rw-transition-normal);
}

.rw-post-card:hover {
    transform: translateY(-4px);
    border-color: var(--rw-border-hover);
    box-shadow: var(--rw-shadow-md);
}

.rw-post-card:hover .rw-post-image img,
.rw-event-card:hover .rw-event-image img,
.rw-podcast-card:hover .rw-podcast-artwork img,
.rw-host-card:hover .rw-host-image img {
    transform: scale(1.045);
}

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

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

.rw-post-content {
    padding: 1.25rem;
}

.rw-post-card .rw-post-title a,
.rw-post-title a,
.rw-podcast-title a,
.rw-event-title a,
.rw-host-name a {
    transition: color var(--rw-transition-fast);
}

.rw-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    color: var(--rw-text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.rw-post-category,
.rw-post-category a,
.rw-post-meta .rw-post-category {
    color: var(--rw-primary);
    font-weight: 700;
}

.rw-post-title {
    font-size: clamp(2rem, 3vw, 3.3rem);
}

.rw-post-card .rw-post-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.rw-post-excerpt {
    color: var(--rw-text-secondary);
    margin-bottom: 1rem;
}

.rw-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--rw-accent);
}

.rw-text-link:hover {
    color: var(--rw-primary);
}

.rw-pagination {
    margin-top: 2rem;
}

.rw-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.rw-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--rw-bg-card);
    border: 1px solid var(--rw-border);
}

.rw-pagination .page-numbers.current,
.rw-pagination .page-numbers:hover {
    background: var(--rw-primary);
    color: #fff;
    border-color: var(--rw-primary);
}

.rw-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.rw-shows-panel-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.25rem;
}

.rw-shows-panel-kicker {
    display: inline-flex;
    margin-bottom: 0.45rem;
    color: var(--rw-accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rw-shows-panel-title {
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    margin: 0;
}

.rw-shows-panel-copy {
    max-width: 420px;
    color: var(--rw-text-secondary);
    margin: 0;
    text-align: right;
}

.rw-editorial-panel--stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rw-post-image--show {
    aspect-ratio: 16 / 11;
}

.rw-show-slot-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--rw-border);
    color: var(--rw-text-secondary);
    font-weight: 600;
}

.rw-archive-show-hosts {
    margin: -0.1rem 0 0.85rem;
    color: var(--rw-text-primary);
    font-weight: 600;
}

.rw-show-card {
    position: relative;
    align-items: stretch;
    gap: 1.1rem;
}

.rw-show-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255,255,255,0.04), transparent 42%);
    pointer-events: none;
}

.rw-show-time {
    justify-content: center;
}

.rw-show-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rw-show-host {
    margin-top: 0.35rem;
    font-size: 0.95rem;
    color: var(--rw-text-primary);
}

.rw-show-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    margin-top: 0.8rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 51, 102, 0.12);
    color: var(--rw-primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.rw-upcoming-shows {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.rw-upcoming-show-item {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}

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

.rw-upcoming-name {
    color: var(--rw-text-primary);
    font-weight: 600;
}

.rw-sidebar-panel {
    padding: 1.2rem;
}

.rw-sidebar-panel h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.rw-editorial-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.rw-editorial-panel {
    padding: 1.4rem;
}

.rw-editorial-panel > *:last-child,
.rw-sidebar-panel > *:last-child,
.rw-single-main > *:last-child {
    margin-bottom: 0;
}

.rw-editorial-panel--spotlight {
    background:
        radial-gradient(circle at top right, rgba(0, 212, 170, 0.16), transparent 24%),
        var(--rw-bg-card);
}

.rw-section--soft {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0)),
        var(--rw-bg-card);
}

.rw-section-header--compact {
    margin-bottom: 1rem;
}

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

.rw-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.75fr);
    gap: 2rem;
}

.rw-single-main {
    padding: 1.5rem;
}

.rw-single-aside {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-self: start;
    position: sticky;
    top: calc(var(--rw-header-height) + 1rem);
}

.rw-post-featured-image {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 20px;
}

.rw-post-featured-image img {
    width: 100%;
    height: auto;
}

.rw-post-content > * + * {
    margin-top: 1rem;
}

.rw-post-tags,
.rw-author-box,
.rw-post-navigation,
.rw-related-posts,
.rw-page-links {
    margin-top: 2rem;
}

.rw-tag,
.rw-show-tag {
    display: inline-flex;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--rw-border);
    margin: 0.35rem 0.35rem 0 0;
}

.rw-author-box {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 20px;
    background: var(--rw-bg-dark);
    border: 1px solid var(--rw-border);
}

.rw-author-avatar img {
    border-radius: 50%;
}

.rw-post-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.rw-nav-prev,
.rw-nav-next {
    padding: 1rem;
    border-radius: 18px;
    background: var(--rw-bg-dark);
    border: 1px solid var(--rw-border);
}

.rw-nav-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--rw-text-muted);
    margin-bottom: 0.5rem;
}

.rw-nav-title {
    display: block;
    font-weight: 600;
}

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

.rw-related-item {
    padding: 0.9rem;
    border-radius: 18px;
    background: var(--rw-bg-dark);
    border: 1px solid var(--rw-border);
}

.rw-related-image {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 0.85rem;
}

.rw-related-image img {
    width: 100%;
    height: auto;
}

.rw-related-post-title {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.rw-related-date {
    color: var(--rw-text-muted);
    font-size: 0.8rem;
}

.rw-no-posts {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--rw-bg-card);
    border: 1px solid var(--rw-border);
    border-radius: 24px;
}

/* ================================
   GLOBAL TEMPLATE CLASSES
   ================================ */
.rw-main {
    display: block;
    min-height: calc(100vh - var(--rw-header-height, 80px) - var(--rw-player-height, 80px));
}

.rw-content-main {
    min-width: 0;
}

.rw-post-date {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--rw-text-secondary);
}

/* ================================
   SEARCH RESULTS
   ================================ */
.rw-search-header {
    padding: 3rem 0;
    background: var(--rw-bg-card);
    text-align: center;
    border-bottom: 1px solid var(--rw-border);
}

.rw-search-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.rw-search-query {
    color: var(--rw-primary);
    font-style: italic;
}

.rw-search-form-large {
    max-width: 600px;
    margin: 1.5rem auto 0;
}

.rw-search-form-large .search-form {
    display: flex;
    gap: 0.5rem;
}

.rw-search-form-large input[type="search"] {
    flex: 1;
    padding: 0.875rem 1rem;
    background: var(--rw-bg-dark);
    border: 1px solid var(--rw-border);
    border-radius: var(--rw-radius-md);
    color: var(--rw-text-primary);
    font-size: 1rem;
}

.rw-search-form-large button {
    padding: 0.875rem 1.5rem;
    background: var(--rw-primary);
    color: #fff;
    border: none;
    border-radius: var(--rw-radius-md);
    cursor: pointer;
    font-weight: 600;
}

.rw-search-form {
    display: flex;
    gap: 0.5rem;
}

.rw-search-form .rw-form-input {
    flex: 1;
}

.rw-search-results-count {
    font-size: 0.9375rem;
    color: var(--rw-text-secondary);
    margin-bottom: 1.5rem;
}

.rw-post-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rw-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.rw-no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.rw-no-results .material-icons {
    font-size: 64px;
    color: var(--rw-text-muted);
    margin-bottom: 1rem;
    display: block;
}

.rw-search-suggestions {
    text-align: left;
    max-width: 400px;
    margin: 2rem auto 0;
}

.rw-search-suggestions ul {
    padding-left: 1.5rem;
    color: var(--rw-text-secondary);
}

.rw-search-suggestions li {
    margin-bottom: 0.5rem;
}

/* ================================
   PAGE TEMPLATE
   ================================ */
.rw-page-header {
    padding: calc(var(--rw-header-height, 80px) + 3rem) 0 3rem;
    background: var(--rw-bg-card);
    border-bottom: 1px solid var(--rw-border);
}

.rw-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.rw-breadcrumbs {
    font-size: 0.875rem;
    color: var(--rw-text-secondary);
    margin-top: 0.75rem;
}

.rw-breadcrumbs a {
    color: var(--rw-text-secondary);
    transition: color var(--rw-transition-fast);
}

.rw-breadcrumbs a:hover {
    color: var(--rw-primary);
}

.rw-page-content {
    margin-bottom: 3rem;
}

.rw-page-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--rw-radius-lg);
    overflow: hidden;
}

.rw-page-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.rw-page-body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--rw-text-primary);
}

.rw-page-body p {
    margin-bottom: 1.5rem;
}

.rw-page-body h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
}

.rw-page-body h3 {
    font-size: 1.375rem;
    margin: 2rem 0 0.75rem;
}

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

.rw-page-body blockquote {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--rw-primary);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 var(--rw-radius-md) var(--rw-radius-md) 0;
    font-style: italic;
    color: var(--rw-text-secondary);
}

.rw-page-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--rw-radius-sm);
}

/* ================================
   SINGLE POST EXTRAS
   ================================ */
.rw-single-post {
    margin-bottom: 3rem;
}

.rw-post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rw-post-categories a {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rw-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rw-post-author,
.rw-post-comments {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--rw-text-secondary);
}

.rw-tags-label {
    font-weight: 600;
    color: var(--rw-text-secondary);
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

.rw-author-info {
    flex: 1;
    min-width: 0;
}

.rw-author-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.rw-author-name a {
    color: var(--rw-text-primary);
    transition: color var(--rw-transition-fast);
}

.rw-author-name a:hover {
    color: var(--rw-primary);
}

.rw-author-bio {
    font-size: 0.9375rem;
    color: var(--rw-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.rw-related-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* ================================
   COMMENTS
   ================================ */
.rw-comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--rw-border);
}

.rw-comments-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.rw-comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.rw-comment-list .comment {
    padding: 1.25rem;
    border-radius: var(--rw-radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--rw-border);
    margin-bottom: 1rem;
}

.rw-comment-list .comment .children {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.rw-comment-list .comment-author img {
    border-radius: 50%;
    margin-right: 0.75rem;
    vertical-align: middle;
}

.rw-comment-list .comment-author .fn {
    font-weight: 600;
    color: var(--rw-text-primary);
}

.rw-comment-list .comment-metadata {
    font-size: 0.8125rem;
    color: var(--rw-text-muted);
    margin-bottom: 0.75rem;
}

.rw-comment-list .comment-metadata a {
    color: var(--rw-text-muted);
}

.rw-comment-list .comment-content p {
    color: var(--rw-text-secondary);
    line-height: 1.7;
}

.rw-comment-list .reply a {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rw-primary);
}

.rw-no-comments {
    text-align: center;
    padding: 2rem;
    color: var(--rw-text-muted);
}

.rw-comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--rw-text-secondary);
}

.rw-comment-form input[type="text"],
.rw-comment-form input[type="email"],
.rw-comment-form input[type="url"],
.rw-comment-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--rw-bg-dark);
    border: 1px solid var(--rw-border);
    border-radius: var(--rw-radius-md);
    color: var(--rw-text-primary);
    font-family: inherit;
    transition: border-color var(--rw-transition-fast);
}

.rw-comment-form input:focus,
.rw-comment-form textarea:focus {
    border-color: var(--rw-primary);
    outline: none;
}

.rw-comment-form p {
    margin-bottom: 1rem;
}

.comment-reply-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* ================================
   404 ERROR PAGE
   ================================ */
.rw-error-404 {
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    text-align: center;
}

.rw-error-content {
    max-width: 600px;
    margin: 0 auto;
}

.rw-error-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.rw-error-number {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--rw-primary) 0%, var(--rw-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rw-error-icon {
    font-size: 6rem;
    color: var(--rw-primary);
    animation: pulse 2s infinite;
}

.rw-error-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.rw-error-message {
    font-size: 1.125rem;
    color: var(--rw-text-secondary);
    margin-bottom: 2rem;
}

.rw-error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.rw-error-search {
    margin-bottom: 3rem;
}

.rw-error-search p {
    margin-bottom: 1rem;
}

.rw-error-search .search-form {
    display: flex;
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.rw-error-search input[type="search"] {
    flex: 1;
    padding: 0.875rem 1rem;
    background: var(--rw-bg-card);
    border: 1px solid var(--rw-border);
    border-radius: var(--rw-radius-md);
    color: var(--rw-text-primary);
}

.rw-error-search button {
    padding: 0.875rem 1.5rem;
    background: var(--rw-primary);
    color: #fff;
    border: none;
    border-radius: var(--rw-radius-md);
    cursor: pointer;
}

.rw-error-links h4 {
    margin-bottom: 1rem;
    color: var(--rw-text-secondary);
}

.rw-quick-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
}

.rw-quick-nav a {
    padding: 0.5rem 1rem;
    background: var(--rw-bg-card);
    border: 1px solid var(--rw-border);
    border-radius: var(--rw-radius-md);
    transition: all var(--rw-transition-fast);
}

.rw-quick-nav a:hover {
    border-color: var(--rw-primary);
    color: var(--rw-primary);
}

/* ================================
   INDEX / HOME PAGE EXTRAS
   ================================ */
.rw-hero-right {
    position: relative;
}

.rw-editorial-panel--wide {
    grid-column: span 2;
}

.rw-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--rw-primary);
    background: rgba(255, 51, 102, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--rw-radius-xl);
}

.rw-live-pill--small {
    font-size: 0.6875rem;
    padding: 0.125rem 0.5rem;
}

.rw-requests-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Content links (prose) */
.rw-post-content a,
.rw-page-body a {
    color: var(--rw-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rw-post-content a:hover,
.rw-page-body a:hover {
    color: var(--rw-accent);
}

/* Embed dark-mode handling */
.rw-post-content iframe,
.rw-page-body iframe {
    background: #000;
    border-radius: var(--rw-radius-md);
    max-width: 100%;
}

.rw-post-content img,
.rw-page-body img {
    border-radius: var(--rw-radius-sm);
}

/* ================================
   FOOTER
   ================================ */
.rw-footer {
    background: var(--rw-bg-darker);
    padding: var(--rw-spacing-xxl) 0 var(--rw-spacing-xl);
    border-top: 1px solid var(--rw-border);
}

.rw-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--rw-spacing-xl);
    margin-bottom: var(--rw-spacing-xl);
}

.rw-footer-brand {
    max-width: 300px;
}

.rw-footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: var(--rw-spacing-md);
}

.rw-footer-tagline {
    color: var(--rw-text-secondary);
    font-size: 1rem;
    margin-bottom: var(--rw-spacing-md);
}

.rw-footer-social {
    display: flex;
    gap: var(--rw-spacing-sm);
}

.rw-footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rw-bg-card);
    border-radius: 50%;
    transition: all var(--rw-transition-fast);
}

.rw-footer-social a:hover {
    background: var(--rw-primary);
    color: white;
}

.rw-footer-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--rw-spacing-md);
}

.rw-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rw-footer-links a {
    color: var(--rw-text-secondary);
    font-size: 0.9375rem;
    transition: color var(--rw-transition-fast);
}

.rw-footer-links a:hover {
    color: var(--rw-primary);
}

.rw-footer-bottom {
    padding-top: var(--rw-spacing-lg);
    border-top: 1px solid var(--rw-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--rw-text-muted);
}

.rw-footer-heart {
    font-size: 14px;
    color: var(--rw-primary);
    vertical-align: middle;
}

.rw-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #18d26e;
    box-shadow: 0 0 0 6px rgba(24, 210, 110, 0.16);
}

.rw-header-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--rw-border);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rw-hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.rw-hero-highlight-card {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--rw-radius-lg);
    backdrop-filter: blur(14px);
}

.rw-hero-statbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.rw-hero-stat {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.rw-hero-stat strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 1.35rem;
    font-family: var(--rw-font-heading);
}

.rw-hero-stat span {
    color: var(--rw-text-secondary);
    font-size: 0.82rem;
}

.rw-hero-highlight-card .material-icons {
    color: var(--rw-primary);
}

.rw-hero-highlight-card strong,
.rw-home-intro-card h3 {
    display: block;
    margin-bottom: 0.25rem;
}

.rw-hero-highlight-card span:last-child,
.rw-home-intro-card small {
    color: var(--rw-text-secondary);
    font-size: 0.875rem;
}

.rw-coming-next-dynamic > * + * {
    margin-top: 0.75rem;
}

.rw-home-intro-strip {
    padding-top: 0;
    margin-top: -2.5rem;
    position: relative;
    z-index: 4;
}

.rw-home-intro-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.rw-home-intro-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--rw-shadow-md);
}

.rw-home-intro-card--accent {
    background:
        radial-gradient(circle at top right, rgba(0, 212, 170, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
}

.rw-home-ribbon {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    padding: 1.5rem 1.65rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(255, 51, 102, 0.16), transparent 24%),
        radial-gradient(circle at bottom right, rgba(0, 212, 170, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
}

.rw-home-ribbon-copy h2 {
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    margin-bottom: 0;
}

.rw-home-ribbon-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

.rw-home-ribbon-badges span,
.rw-panel-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--rw-text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rw-panel-chip--accent {
    background: rgba(255, 51, 102, 0.12);
    border-color: rgba(255, 51, 102, 0.28);
    color: #ffd6e2;
}

.rw-home-intro-card .rw-request-item,
.rw-home-intro-card .rw-event-card,
.rw-home-intro-card .rw-current-show {
    background: transparent;
    border-color: rgba(255,255,255,0.08);
}

.rw-player {
    flex-direction: column;
    height: auto;
    min-height: var(--rw-player-height);
}

.rw-player-inner {
    gap: 1rem;
    min-height: var(--rw-player-height);
}

.rw-player-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.35rem;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--rw-text-muted);
}

.rw-player-channel-switcher {
    flex: 1;
    max-width: 420px;
}

.rw-player-channel-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rw-player-channel {
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--rw-border);
    background: var(--rw-bg-card);
    color: var(--rw-text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rw-player-channel.is-active,
.rw-player-channel:hover {
    background: var(--rw-primary);
    color: #fff;
    border-color: var(--rw-primary);
}

.rw-player-history {
    width: 100%;
    background: rgba(8, 8, 15, 0.98);
    border-top: 1px solid var(--rw-border);
    padding: 1rem 1.25rem 1.25rem;
}

.rw-player-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.rw-player-history-close {
    color: var(--rw-text-secondary);
    transition: color var(--rw-transition-fast);
}

.rw-player-history-close:hover {
    color: var(--rw-primary);
}

.rw-player-history-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.rw-player-history-item {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 0.8rem;
    align-items: center;
    padding: 0.8rem;
    background: var(--rw-bg-card);
    border-radius: 16px;
    border: 1px solid var(--rw-border);
    transition: transform var(--rw-transition-fast), border-color var(--rw-transition-fast), background var(--rw-transition-fast);
}

.rw-player-history-item:hover {
    transform: translateY(-2px);
    border-color: var(--rw-border-hover);
    background: rgba(255,255,255,0.04);
}

.rw-player-history-artwork {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
}

.rw-player-history-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rw-player-history-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.rw-player-history-copy span,
.rw-player-history-item time {
    color: var(--rw-text-secondary);
    font-size: 0.8rem;
}

.rw-now-playing-widget {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 0.9rem;
    align-items: center;
}

.rw-now-playing-widget-artwork {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
}

.rw-now-playing-widget-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rw-events-grid-home,
.rw-hosts-grid-home {
    display: grid;
    gap: 1.5rem;
}

.rw-events-grid-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rw-hosts-grid-home {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ================================
   MOBILE MENU
   ================================ */
.rw-menu-toggle {
    display: none;
}

.rw-mobile-menu[hidden] {
    display: none;
}

.rw-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    justify-content: flex-end;
}

.rw-mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.25s ease;
}

.rw-mobile-menu-drawer {
    position: relative;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: var(--rw-bg-dark);
    border-left: 1px solid var(--rw-border);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    animation: slideInRight 0.3s ease;
}

.rw-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--rw-spacing-md);
    border-bottom: 1px solid var(--rw-border);
}

.rw-mobile-menu-header .rw-logo {
    max-width: 160px;
}

.rw-mobile-nav-menu {
    list-style: none;
    padding: var(--rw-spacing-sm) 0;
    margin: 0;
    flex: 1;
}

.rw-mobile-nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.rw-mobile-nav-menu a {
    display: block;
    padding: 1rem var(--rw-spacing-md);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--rw-text-primary);
    text-decoration: none;
    transition: background var(--rw-transition-fast), color var(--rw-transition-fast);
}

.rw-mobile-nav-menu a:hover,
.rw-mobile-nav-menu .current-menu-item > a {
    background: rgba(255, 51, 102, 0.08);
    color: var(--rw-primary);
}

.rw-mobile-nav-menu .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rw-mobile-nav-menu .sub-menu a {
    padding-left: calc(var(--rw-spacing-md) + 1rem);
    font-size: 0.875rem;
    color: var(--rw-text-secondary);
}

.rw-mobile-menu-cta {
    padding: var(--rw-spacing-md);
    border-top: 1px solid var(--rw-border);
}

.rw-btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

body.menu-open {
    overflow: hidden;
}

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

.rw-loading .rw-loading-spinner {
    font-size: 48px;
}

@media (max-width: 992px) {
    .rw-menu-toggle {
        display: flex;
    }
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1200px) {
    .rw-hero-grid {
        grid-template-columns: 1fr;
        gap: var(--rw-spacing-xl);
    }
    
    .rw-hero-title {
        font-size: 3rem;
    }
    
    .rw-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rw-news-card.featured {
        grid-column: span 2;
    }

    .rw-content-grid,
    .rw-single-layout,
    .rw-editorial-top-grid,
    .rw-related-grid {
        grid-template-columns: 1fr;
    }

    .rw-single-aside {
        position: static;
    }

    .rw-hero-highlights,
    .rw-home-intro-grid,
    .rw-events-grid-home,
    .rw-hosts-grid-home,
    .rw-player-history-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rw-now-playing-meta-rail,
    .rw-hero-statbar,
    .rw-post-header-rail {
        grid-template-columns: 1fr;
    }

    .rw-shows-panel-heading {
        flex-direction: column;
        align-items: start;
    }

    .rw-shows-panel-copy {
        text-align: left;
    }

    .rw-home-ribbon {
        flex-direction: column;
        align-items: flex-start;
    }

    .rw-home-ribbon-badges {
        justify-content: flex-start;
    }
}

@media (max-width: 992px) {
    .rw-nav-menu {
        display: none;
    }
    
    .rw-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rw-player-inner {
        flex-wrap: wrap;
    }

    .rw-player-channel-switcher {
        order: 4;
        flex-basis: 100%;
        max-width: none;
    }

    .rw-player-video-stage {
        max-width: none;
    }
    
    .rw-news-grid {
        grid-template-columns: 1fr;
    }

    .rw-posts-grid,
    .rw-post-navigation {
        grid-template-columns: 1fr;
    }

    .rw-hero-statbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .rw-news-card.featured {
        grid-template-columns: 1fr;
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    :root {
        --rw-spacing-xxl: 3rem;
    }
    
    .rw-hero-title {
        font-size: 2.5rem;
    }
    
    .rw-section-title {
        font-size: 2rem;
    }
    
    .rw-player-track {
        display: flex;
        width: 100%;
    }

    .rw-player-artwork.is-video-active {
        width: 72px;
        height: 40px;
    }
    
    .rw-player-volume {
        display: none;
    }

    /* Player history as mobile sheet */
    .rw-player-history[role="region"]:not([hidden]) {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 70vh;
        z-index: 9999;
        border-radius: var(--rw-radius-lg) var(--rw-radius-lg) 0 0;
        box-shadow: var(--rw-shadow-lg);
    }

    .rw-player-popup {
        font-size: 0.7rem;
        padding: 0.4rem 0.65rem;
    }

    .rw-footer-branding {
        flex-direction: column;
        gap: var(--rw-spacing-md);
    }

    .rw-footer-social a {
        transition: all var(--rw-transition-normal);
    }

    .rw-footer-social a:active {
        transform: scale(1.15);
    }

    .rw-player-controls,
    .rw-player-actions {
        width: 100%;
        justify-content: space-between;
    }

    .rw-player-video-meta {
        flex-wrap: wrap;
    }

    .rw-hero-highlights,
    .rw-home-intro-grid,
    .rw-events-grid-home,
    .rw-hosts-grid-home,
    .rw-player-history-list {
        grid-template-columns: 1fr;
    }

    .rw-hero-statbar {
        grid-template-columns: 1fr;
    }

    .rw-now-playing-track {
        align-items: flex-start;
    }

    .rw-now-playing-status {
        display: none;
    }
    
    .rw-footer-grid {
        grid-template-columns: 1fr;
    }

    .rw-author-box {
        grid-template-columns: 1fr;
    }
    
    .rw-footer-bottom {
        flex-direction: column;
        gap: var(--rw-spacing-sm);
        text-align: center;
    }
    
    .rw-newsletter-form {
        flex-direction: column;
    }

    .rw-error-number {
        font-size: 5rem;
    }

    .rw-error-icon {
        font-size: 4rem;
    }

    .rw-error-actions {
        flex-direction: column;
    }

    .rw-requests-grid {
        grid-template-columns: 1fr;
    }

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

    .rw-search-title {
        font-size: 1.5rem;
    }

    .rw-editorial-panel--wide {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .rw-hero-title {
        font-size: 2rem;
    }
    
    .rw-hero-actions {
        flex-direction: column;
    }

    .rw-hero-kicker {
        gap: 0.5rem;
    }

    .rw-home-ribbon,
    .rw-post-header-rail div,
    .rw-now-playing-meta-rail div {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .rw-header-live-pill {
        display: none;
    }

    .rw-player-history-item {
        grid-template-columns: 52px 1fr;
    }

    .rw-player-history-item time {
        grid-column: 2;
    }
    
    .rw-schedule-tabs {
        gap: 0.5rem;
    }
    
    .rw-schedule-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .rw-now-playing-artwork {
        width: 60px;
        height: 60px;
    }

    .rw-now-playing-song {
        font-size: 1rem;
    }

    .rw-now-playing-artist {
        font-size: 0.8rem;
    }

    .rw-player-error {
        left: 12px;
        right: 12px;
        max-width: none;
    }
}

/* ================================
   ANIMACIONES
   ================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rw-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.rw-slide-in-left {
    animation: slideInLeft 0.5s ease forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.rw-slide-in-right {
    animation: slideInRight 0.5s ease forwards;
}

/* ================================
   UTILIDADES
   ================================ */
.rw-text-center { text-align: center; }
.rw-text-left { text-align: left; }
.rw-text-right { text-align: right; }

.rw-mt-0 { margin-top: 0; }
.rw-mt-1 { margin-top: var(--rw-spacing-xs); }
.rw-mt-2 { margin-top: var(--rw-spacing-sm); }
.rw-mt-3 { margin-top: var(--rw-spacing-md); }
.rw-mt-4 { margin-top: var(--rw-spacing-lg); }
.rw-mt-5 { margin-top: var(--rw-spacing-xl); }

.rw-mb-0 { margin-bottom: 0; }
.rw-mb-1 { margin-bottom: var(--rw-spacing-xs); }
.rw-mb-2 { margin-bottom: var(--rw-spacing-sm); }
.rw-mb-3 { margin-bottom: var(--rw-spacing-md); }
.rw-mb-4 { margin-bottom: var(--rw-spacing-lg); }
.rw-mb-5 { margin-bottom: var(--rw-spacing-xl); }

.rw-hidden { display: none !important; }
.rw-visible { display: block !important; }

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--rw-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--rw-bg-card);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--rw-primary);
}

/* Selección de texto */
::selection {
    background: var(--rw-primary);
    color: white;
}

/* ================================
   SKIP LINK (Accessibility)
   ================================ */
.rw-skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 100000;
    padding: 0.75rem 1.5rem;
    background: var(--rw-primary);
    color: #fff;
    font-weight: 700;
    border-radius: 0 0 var(--rw-radius-md) var(--rw-radius-md);
    text-decoration: none;
    transition: top 0.15s ease;
}

.rw-skip-link:focus {
    top: 0;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* ================================
   REDUCED MOTION
   ================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ================================
   PRINT STYLES
   ================================ */
@media print {
    .rw-header,
    .rw-player,
    .rw-mobile-menu,
    .rw-menu-toggle,
    .rw-footer-social,
    .rw-player-history,
    .rw-search-modal,
    .rw-error-search,
    .rw-newsletter,
    .rw-skip-link {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
        padding-bottom: 0 !important;
    }

    .rw-main {
        min-height: auto;
    }

    .rw-footer {
        background: #fff !important;
        border-top: 1px solid #ccc;
        color: #333 !important;
    }

    a {
        color: #000 !important;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }

    .rw-btn::after,
    .rw-nav-menu a::after {
        content: none !important;
    }
}
