/* ==========================================================
   BEAVER RADIO NETWORK - GLOBAL STYLESHEET (style.css)
   ========================================================== */

:root {
    --bsu-green: #005950;
    --bsu-green-dark: #003d35;
    --bsu-gold: #C19767;
    --bsu-gold-light: #dfbc92;
    --light-bg: #edf2f0;
    --dark-text: #1a1a1a;
    --white: #ffffff;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body { background-color: var(--light-bg); color: var(--dark-text); line-height: 1.6; }

/* Layout Grid */
.container { max-width: 1200px; margin: 25px auto; padding: 0 15px; }
.main-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; align-items: start; }
main, aside { min-width: 0; }
@media (max-width: 768px) { .main-grid { grid-template-columns: 1fr; } }

/* Cards & Content Panels */
.card { background: var(--white); border: 1px solid #d4ddd9; border-radius: 8px; padding: 24px; margin-bottom: 30px; box-shadow: var(--card-shadow); }
.card h2, .card h1 { font-size: 1.35rem; color: var(--bsu-green); border-bottom: 3px solid var(--bsu-gold); padding-bottom: 8px; margin-bottom: 20px; }
.card h1 { font-size: 1.75rem; border-bottom: none; margin-bottom: 10px; }

/* Story Elements */
.story-meta { font-size: 0.85rem; color: #666; margin-bottom: 20px; border-bottom: 2px solid var(--bsu-gold); padding-bottom: 10px; display: flex; gap: 15px; }
.story-content { font-size: 1rem; color: var(--dark-text); line-height: 1.7; }
.story-content p { margin-bottom: 1.25rem; }
.story-content img { max-width: 100%; height: auto; border-radius: 6px; margin: 15px 0; }

/* Tables & Boxscores */
.story-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.9rem; background: #ffffff; border: 1px solid #d4ddd9; border-radius: 6px; overflow: hidden; }
.story-content th, .story-content td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #eaeef0; }
.story-content th { background-color: var(--bsu-green); color: #ffffff; font-weight: 700; border-bottom: 3px solid var(--bsu-gold); }
.story-content tr:nth-child(even) { background-color: #fafbfc; }

.featured-story { margin-bottom: 24px; }
.image-wrapper { position: relative; overflow: hidden; border-radius: 6px; margin-bottom: 12px; max-height: 400px; background: #e2e8e5; }
.image-wrapper img { width: 100%; height: auto; object-fit: cover; display: block; }
.sport-badge { position: absolute; top: 12px; left: 12px; background-color: var(--bsu-green); color: var(--white); padding: 4px 10px; font-size: 0.75rem; font-weight: bold; border-radius: 4px; border-left: 3px solid var(--bsu-gold); z-index: 10; }

.featured-story h3 a, .story-item h4 a { color: var(--dark-text); text-decoration: none; }
.featured-story h3 a:hover, .story-item h4 a:hover { color: var(--bsu-green); text-decoration: underline; }
.featured-story h3 { font-size: 1.35rem; line-height: 1.3; margin-bottom: 8px; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 480px) { .story-grid { grid-template-columns: 1fr; } }

.story-item { background: #fafbfc; padding: 15px; border-radius: 6px; border: 1px solid #eaeef0; display: flex; flex-direction: column; justify-content: space-between; }
.story-item-thumb { width: 100%; height: 120px; object-fit: cover; border-radius: 4px; margin-bottom: 10px; border: 1px solid #d4ddd9; }
.story-item h4 { font-size: 1rem; line-height: 1.35; margin-bottom: 6px; }
.story-item p, .featured-story p { font-size: 0.9rem; color: #555; margin-top: 6px; }

.read-more-btn { display: inline-block; margin-top: 8px; font-size: 0.85rem; font-weight: 700; color: var(--bsu-green); text-decoration: none; transition: var(--transition); }
.read-more-btn:hover { color: var(--bsu-gold); text-decoration: underline; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 6px 12px; background: var(--white); border: 1px solid #d4ddd9; color: var(--bsu-green); text-decoration: none; border-radius: 4px; font-weight: bold; font-size: 0.85rem; }
.pagination a:hover { background: var(--bsu-green); color: var(--white); }
.pagination .active { background: var(--bsu-green); color: var(--white); border-color: var(--bsu-green); }

/* Responsive YouTube Video Embeds */
.video-embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; background: #000; border-radius: 6px; margin: 20px 0; }
.video-embed-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* Ads */
.ad-container { width: 100%; background: #e2e8e5; border: 2px dashed #b5c4be; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #667570; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; overflow: hidden; }
.ad-leaderboard { max-width: 1200px; margin: 20px auto 0 auto; padding: 0 15px; }
.ad-leaderboard-inner { height: 90px; width: 100%; }

footer { background-color: var(--bsu-green-dark); color: var(--white); text-align: center; padding: 30px 0; margin-top: 50px; font-size: 0.9rem; border-top: 4px solid var(--bsu-gold); }
footer p { color: #d4ddd9; }

/* Compact Mini Audio Button */
.mini-audio-btn { display: inline-flex; align-items: center; gap: 6px; background-color: #005950; color: #ffffff; padding: 4px 10px; font-size: 0.8rem; font-weight: 700; border-radius: 4px; text-decoration: none; cursor: pointer; border: none; vertical-align: middle; transition: background-color 0.2s ease; }
.mini-audio-btn:hover { background-color: #C19767; color: #1a1a1a; }
.mini-audio-btn svg { width: 12px; height: 12px; fill: currentColor; }

/* Menu & Navigation Styles */
.menu-header { background-color: #ffffff; text-align: center; border-bottom: 4px solid #C19767; box-shadow: 0 2px 8px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.menu-logo-container { width: 100%; max-height: 140px; overflow: hidden; background: #ffffff; padding: 8px 0; }
.menu-logo-container img { width: 100%; height: auto; max-height: 124px; object-fit: contain; }
.menu-nav { background-color: #005950; display: flex; justify-content: center; flex-wrap: wrap; box-shadow: inset 0 -3px 0 rgba(0,0,0,0.15); }
.menu-nav-item { position: relative; }
.menu-nav-link { color: #ffffff; padding: 12px 20px; text-decoration: none; font-size: 0.9rem; font-weight: 700; display: inline-block; transition: all 0.25s ease; letter-spacing: 0.5px; border-bottom: 3px solid transparent; }
.menu-nav-link:hover, .menu-nav-item:hover .menu-nav-link { background-color: #003d35; color: #dfbc92; border-bottom-color: #C19767; }
.menu-dropdown { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background-color: #003d35; min-width: 200px; box-shadow: 0 8px 16px rgba(0,0,0,0.2); z-index: 1001; list-style: none; border-top: 3px solid #C19767; text-align: left; }
.menu-dropdown li a { color: #ffffff; padding: 10px 16px; text-decoration: none; display: block; font-size: 0.85rem; font-weight: 600; transition: all 0.25s ease; border-bottom: 1px solid rgba(255,255,255,0.05); }
.menu-dropdown li a:hover { background-color: #005950; color: #dfbc92; padding-left: 20px; }
.menu-nav-item:hover .menu-dropdown { display: block; }

/* Broadcast Widget Styles */
.broadcast-widget { background: #ffffff; border: 1px solid #d4ddd9; border-radius: 8px; padding: 18px; margin-bottom: 25px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
.broadcast-widget-title { font-size: 1.1rem; color: #005950; border-bottom: 3px solid #C19767; padding-bottom: 6px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; text-transform: uppercase; font-weight: bold; }
.live-pulse { width: 10px; height: 10px; background-color: #ff4d4d; border-radius: 50%; animation: pulse 1.5s infinite; display: inline-block; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7); } 70% { box-shadow: 0 0 0 8px rgba(255, 77, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); } }

.broadcast-list { display: flex; flex-direction: column; gap: 10px; }
.broadcast-card { display: flex; gap: 10px; align-items: center; background: #f8faf9; border: 1px solid #e2e8e5; border-radius: 6px; padding: 10px; }
.broadcast-date-badge { background: #005950; color: #ffffff; min-width: 44px; height: 44px; border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; border-bottom: 2px solid #C19767; }
.broadcast-date-badge .b-month { font-size: 0.55rem; text-transform: uppercase; font-weight: 700; color: #dfbc92; }
.broadcast-date-badge .b-day { font-size: 1rem; font-weight: 800; line-height: 1; }
.broadcast-details { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; font-size: 0.8rem; }
.broadcast-sport { font-weight: 700; color: #005950; font-size: 0.75rem; text-transform: uppercase; }
.broadcast-teams { font-weight: 700; color: #1a1a1a; font-size: 0.85rem; line-height: 1.2; }
.broadcast-time { color: #555; font-size: 0.75rem; margin-bottom: 3px; }
.listen-now-btn { display: inline-block; background-color: #C19767; color: #1a1a1a; padding: 3px 8px; font-size: 0.7rem; font-weight: 800; text-decoration: none; border-radius: 3px; width: fit-content; }
.listen-now-btn:hover { background-color: #005950; color: #ffffff; }

/* Sidebar Sport Headline Items & Thumbnails */
.sport-headline-item { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #edf2f0; }
.sport-headline-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sport-thumb { width: 60px !important; height: 60px !important; min-width: 60px !important; max-width: 60px !important; object-fit: cover; border-radius: 6px; flex-shrink: 0; border: 1px solid #d4ddd9; display: block; }
.sport-headline-item h5 { font-size: 0.9rem; line-height: 1.35; }
.sport-headline-item h5 a { color: #005950; text-decoration: none; transition: all 0.25s ease; }
.sport-headline-item h5 a:hover { color: #C19767; text-decoration: underline; }
