/* ==========================================================================
   OVERTON RADIO - PROFESSIONAL BROADCAST THEME STYLESHEET
   ========================================================================== */

:root {
    /* Brand Colors */
    --rsh-primary: #e63946;
    --rsh-primary-hover: #c92a37;
    --rsh-primary-glow: rgba(230, 57, 70, 0.35);
    --rsh-secondary: #0f172a;
    --rsh-secondary-surface: #1e293b;
    --rsh-accent-blue: #2563eb;
    --rsh-accent-green: #059669;
    --rsh-accent-purple: #4f46e5;
    --rsh-accent-amber: #d97706;

    /* Base Neutrals */
    --rsh-dark: #0f172a;
    --rsh-slate-800: #1e293b;
    --rsh-slate-700: #334155;
    --rsh-slate-600: #475569;
    --rsh-slate-500: #64748b;
    --rsh-slate-200: #e2e8f0;
    --rsh-slate-100: #f1f5f9;
    --rsh-slate-50: #f8fafc;
    --rsh-white: #ffffff;

    /* Depth & Elevation */
    --rsh-shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --rsh-shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --rsh-shadow-hover: 0 12px 20px -3px rgba(15, 23, 42, 0.12), 0 4px 6px -4px rgba(15, 23, 42, 0.06);
    --rsh-shadow-player: 0 14px 28px rgba(15, 23, 42, 0.16), 0 10px 10px rgba(15, 23, 42, 0.08);

    /* Layout & Type */
    --rsh-radius-sm: 4px;
    --rsh-radius: 8px;
    --rsh-radius-lg: 12px;
    --rsh-font: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --rsh-max-width: 1440px;
    --rsh-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */
.rsh-main-site-content {
    font-family: var(--rsh-font) !important;
    color: var(--rsh-dark);
    background-color: var(--rsh-slate-50);
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0 0 60px 0;
    overflow-x: hidden;
    line-height: 1.5;
}

.rsh-main-site-content *,
.rsh-main-site-content *::before,
.rsh-main-site-content *::after {
    box-sizing: border-box;
}

.rsh-main-site-content h1,
.rsh-main-site-content h2,
.rsh-main-site-content h3,
.rsh-main-site-content h4,
.rsh-main-site-content h5,
.rsh-main-site-content h6,
.rsh-slide-title,
.rsh-section-heading,
.rsh-article-title,
.rsh-card-title,
.rsh-widget-title,
.rsh-station-name,
.rsh-live-text,
.rsh-btn {
    font-family: var(--rsh-font) !important;
    letter-spacing: -0.015em;
}

.rsh-container {
    width: 100%;
    max-width: var(--rsh-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   1. HERO SLIDER SECTION
   ========================================================================== */
.rsh-hero-slider-section {
    position: relative;
    background: var(--rsh-dark);
    width: 100%;
    overflow: hidden;
}

.rsh-slider {
    position: relative;
    width: 100%;
    height: 500px;
    min-height: 500px;
}

.rsh-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--rsh-slate-800);
    display: flex;
    align-items: center;
    z-index: 1;
}

.rsh-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.rsh-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.72) 50%, rgba(15, 23, 42, 0.25) 100%);
    z-index: 2;
}

.rsh-slide-content {
    position: relative;
    z-index: 3;
    max-width: 720px;
    padding: 30px 0;
}

.rsh-slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(230, 57, 70, 0.2);
    border: 1px solid rgba(230, 57, 70, 0.4);
    color: #fca5a5;
    padding: 4px 10px;
    border-radius: var(--rsh-radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.rsh-slide-title {
    color: var(--rsh-white) !important;
    font-size: 2.85rem;
    font-weight: 800;
    margin: 0 0 14px 0;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.rsh-slide-desc {
    color: var(--rsh-slate-200);
    font-size: 1.15rem;
    margin: 0 0 26px 0;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    max-width: 600px;
}

/* ==========================================================================
   BUTTONS & UI ELEMENTS
   ========================================================================== */
.rsh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--rsh-radius);
    transition: var(--rsh-transition);
    border: none;
    cursor: pointer;
}

.rsh-btn-primary {
    background-color: var(--rsh-primary);
    color: var(--rsh-white) !important;
    box-shadow: 0 4px 12px var(--rsh-primary-glow);
}

.rsh-btn-primary:hover {
    background-color: var(--rsh-primary-hover);
    color: var(--rsh-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--rsh-primary-glow);
}

/* ==========================================================================
   2. BROADCAST LIVE AUDIO PLAYER BAR
   ========================================================================== */
.rsh-player-section {
    position: relative;
    z-index: 30;
    margin-top: -38px;
    padding: 0;
}

.rsh-player-card {
    background: var(--rsh-white);
    border-radius: var(--rsh-radius-lg);
    box-shadow: var(--rsh-shadow-player);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--rsh-slate-200);
    border-left: 5px solid var(--rsh-primary);
}

.rsh-player-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.rsh-play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rsh-primary) 0%, #b91c1c 100%);
    border: none;
    color: var(--rsh-white);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    box-shadow: 0 4px 12px var(--rsh-primary-glow);
    transition: var(--rsh-transition);
}

.rsh-play-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 18px var(--rsh-primary-glow);
}

.rsh-play-btn .rsh-icon-pause,
.rsh-play-btn .rsh-icon-spinner {
    display: none;
}

.rsh-player-card.is-playing .rsh-icon-play {
    display: none;
}

.rsh-player-card.is-playing .rsh-icon-pause {
    display: inline-block;
}

.rsh-player-card.is-loading .rsh-icon-play,
.rsh-player-card.is-loading .rsh-icon-pause {
    display: none;
}

.rsh-player-card.is-loading .rsh-icon-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--rsh-white);
    border-radius: 50%;
    animation: rsh-spin 0.8s linear infinite;
}

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

.rsh-player-status {
    display: flex;
    flex-direction: column;
}

.rsh-live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rsh-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--rsh-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7);
    animation: rsh-pulse 1.8s infinite;
}

@keyframes rsh-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(230, 57, 70, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

.rsh-live-text {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--rsh-primary);
    text-transform: uppercase;
}

.rsh-station-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--rsh-secondary);
    line-height: 1.2;
}

.rsh-player-center {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-grow: 1;
    min-width: 0;
    background: var(--rsh-slate-50);
    padding: 8px 16px;
    border-radius: var(--rsh-radius);
    border: 1px solid var(--rsh-slate-200);
}

.rsh-track-art-wrapper {
    flex-shrink: 0;
}

.rsh-track-art-wrapper img {
    width: 44px;
    height: 44px;
    border-radius: var(--rsh-radius-sm);
    object-fit: cover;
    display: block;
    box-shadow: var(--rsh-shadow-subtle);
}

.rsh-track-details {
    overflow: hidden;
    min-width: 0;
}

.rsh-track-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--rsh-slate-500);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.rsh-track-title {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--rsh-dark);
}

.rsh-player-right {
    flex-shrink: 0;
}

.rsh-player-alert {
    font-size: 0.8rem;
    font-weight: 600;
    color: #991b1b;
    background: #fef2f2;
    padding: 6px 12px;
    border-radius: var(--rsh-radius-sm);
    border: 1px solid #fecaca;
}

/* ==========================================================================
   3. ON AIR / SCHEDULES SECTION
   ========================================================================== */
.rsh-section {
    padding: 44px 0 0 0;
    clear: both;
}

.rsh-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.rsh-card-onair {
    background: var(--rsh-white);
    padding: 24px 28px;
    border-radius: var(--rsh-radius-lg);
    box-shadow: var(--rsh-shadow-card);
    border: 1px solid var(--rsh-slate-200);
    border-top: 4px solid var(--rsh-primary);
    position: relative;
    overflow: hidden;
}

.rsh-card-next {
    border-top-color: var(--rsh-secondary);
}

.rsh-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--rsh-primary);
    color: var(--rsh-white);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: var(--rsh-radius-sm);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.rsh-badge-secondary {
    background: var(--rsh-secondary);
}

.rsh-card-title {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--rsh-dark);
}

.rsh-shortcode-content {
    font-size: 1rem;
    color: var(--rsh-slate-700);
    line-height: 1.5;
}

/* ==========================================================================
   4. TWO-COLUMN LAYOUT (MAIN CONTENT + SIDEBAR)
   ========================================================================== */
.rsh-main-content-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 36px;
    margin-top: 44px !important;
    align-items: start;
}

.rsh-feed-section {
    margin-bottom: 48px;
}

.rsh-feed-section:last-child {
    margin-bottom: 0;
}

.rsh-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--rsh-slate-200);
    padding-bottom: 10px;
}

.rsh-section-heading {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    color: var(--rsh-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.rsh-section-heading::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--rsh-primary);
    border-radius: 2px;
}

.rsh-more-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--rsh-primary);
    text-decoration: none;
    transition: var(--rsh-transition);
}

.rsh-more-link:hover {
    color: var(--rsh-primary-hover);
    transform: translateX(2px);
}

.rsh-grid-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

/* ==========================================================================
   NEWS & ARTICLE CARDS
   ========================================================================== */
.rsh-article-card {
    background: var(--rsh-white);
    border-radius: var(--rsh-radius-lg);
    overflow: hidden;
    box-shadow: var(--rsh-shadow-card);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--rsh-slate-200);
    transition: var(--rsh-transition);
}

.rsh-article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rsh-shadow-hover);
    border-color: #cbd5e1;
}

.rsh-card-img-link {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--rsh-slate-200);
    position: relative;
}

.rsh-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.rsh-article-card:hover .rsh-card-img {
    transform: scale(1.04);
}

.rsh-card-placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--rsh-slate-100) 0%, var(--rsh-slate-200) 100%);
}

.rsh-card-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.rsh-card-date {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--rsh-slate-500);
    margin-bottom: 8px;
    display: block;
}

.rsh-article-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.rsh-article-title a {
    color: var(--rsh-dark);
    text-decoration: none;
    transition: color 0.15s ease;
}

.rsh-article-title a:hover {
    color: var(--rsh-primary);
}

.rsh-card-excerpt {
    font-size: 0.88rem;
    color: var(--rsh-slate-600);
    margin: 0 0 16px 0;
    flex-grow: 1;
    line-height: 1.5;
}

.rsh-readmore {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--rsh-secondary);
    text-decoration: none;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--rsh-transition);
}

.rsh-readmore:hover {
    color: var(--rsh-primary);
    transform: translateX(3px);
}

/* Category Accents */
.rsh-card-sport {
    border-top: 3px solid var(--rsh-accent-green);
}
.rsh-sport-section .rsh-section-heading::before {
    background: var(--rsh-accent-green);
}

.rsh-card-biz {
    border-top: 3px solid var(--rsh-accent-purple);
}
.rsh-business-section .rsh-section-heading::before {
    background: var(--rsh-accent-purple);
}

/* ==========================================================================
   5. SIDEBAR WIDGETS
   ========================================================================== */
.rsh-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.rsh-sidebar-widget {
    background: var(--rsh-white);
    border-radius: var(--rsh-radius-lg);
    box-shadow: var(--rsh-shadow-card);
    padding: 22px;
    border: 1px solid var(--rsh-slate-200);
}

.rsh-widget-events {
    border-top: 4px solid var(--rsh-secondary);
}

.rsh-widget-sports-fixtures {
    border-top: 4px solid var(--rsh-accent-green);
}

.rsh-widget-weather {
    border-top: 4px solid #10658e;
}

.rsh-widget-header {
    border-bottom: 2px solid var(--rsh-slate-100);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.rsh-widget-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    color: var(--rsh-secondary);
}

/* Events & Sports Shortcode Cleanups */
.rsh-events-content .ecs-events,
.rsh-sports-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rsh-events-content .ecs-event,
.rsh-sports-content li,
.rsh-sports-content .fixture-item {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--rsh-slate-100);
}

.rsh-events-content .ecs-event:last-child,
.rsh-sports-content li:last-child,
.rsh-sports-content .fixture-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.rsh-events-content .ecs-event-title,
.rsh-sports-content .fixture-title {
    font-size: 0.98rem;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.rsh-events-content .ecs-event-title a,
.rsh-sports-content a {
    color: var(--rsh-dark);
    text-decoration: none;
    transition: color 0.15s ease;
}

.rsh-events-content .ecs-event-title a:hover,
.rsh-sports-content a:hover {
    color: var(--rsh-primary);
}

.rsh-events-content .ecs-date,
.rsh-events-content .duration,
.rsh-sports-content .fixture-meta {
    font-size: 0.8rem;
    color: var(--rsh-slate-500);
    font-weight: 600;
}

/* Weather Widget Container */
.rsh-weather-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
    padding-top: 4px;
}

.rsh-weather-iframe {
    max-width: 100%;
    border: 1px solid #10658e;
    border-radius: var(--rsh-radius);
    display: block;
}

.rsh-empty-msg {
    grid-column: 1 / -1;
    color: var(--rsh-slate-500);
    font-style: italic;
    font-size: 0.9rem;
    padding: 12px 0;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
    .rsh-main-content-layout {
        grid-template-columns: 1fr 320px;
        gap: 28px;
    }
}

@media (max-width: 992px) {
    .rsh-main-content-layout {
        grid-template-columns: 1fr;
    }
    .rsh-slide-title {
        font-size: 2.25rem;
    }
    .rsh-sidebar-column {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .rsh-container {
        padding: 0 16px;
    }
    .rsh-slider {
        height: 420px;
        min-height: 420px;
    }
    .rsh-slide-title {
        font-size: 1.75rem;
    }
    .rsh-slide-desc {
        font-size: 1rem;
    }
    .rsh-player-section {
        margin-top: -24px;
    }
    .rsh-player-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        gap: 14px;
    }
    .rsh-player-left, 
    .rsh-player-center {
        width: 100%;
    }
    .rsh-grid-2, 
    .rsh-grid-col,
    .rsh-sidebar-column {
        grid-template-columns: 1fr;
    }
}