/* =============================================================
Radio Accent — style.css
============================================================= */

/* ===== TOKENS ===== */
:root {
    --ra-red:          #c41e3a;
    --ra-dark-red:     #8b0000;
    --ra-cream:        #faf8f5;
    --ra-text:         #333;
    --ra-meta:         #666;
    --ra-white:        #fff;
    --ra-border:       #e5e5e5;
    --ra-overlay:      rgba(0, 0, 0, 0.85);
    --ra-shadow:       0 2px 12px rgba(0, 0, 0, 0.08);
    --ra-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.12);
    --max-width:       1200px;
    --pad:             20px;
    --radius:          8px;
    --radius-lg:       12px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--ra-cream);
    color: var(--ra-text);
    line-height: 1.6;
}

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

#siteMain {
    min-height: 100vh;
}

#pageHome,
#pageCat,
#pageArticle {
    animation: pageIn 0.18s ease;
}

@keyframes pageIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.pg-card .pg-noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f0ebe6;
}

.pg-card .pg-noimg img {
    width: 60%;
    height: auto;
    opacity: 0.25;
    filter: grayscale(1);
    object-fit: contain;
}

/* ===== LAYOUT ===== */
.site-main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--pad) 40px;
}

/* ===== SECTIONS ===== */
.hero-section,
.weather-section,
.player-section,
.grid-section,
.team-section-wrap {
    margin-bottom: 50px;
}

/* ===== SECTION TITLE ===== */
.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ra-text);
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid var(--ra-red);
    line-height: 1.2;
}

/* ===== HEADER ===== */
.site-header {
    padding: 20px var(--pad);
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo { line-height: 0; }
.logo img {
    max-height: 80px;
    width: auto;
    display: block;
}

/* ===== WEATHER ===== */
.weather-section {
    text-align: center;
    border: 1px solid var(--ra-border);
    border-radius: var(--radius);
    overflow: hidden;
}

/* ===== HERO ===== */

#heroSection {
    margin-top: 30px;
}

.ph-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--ra-white);
    border: 1px solid var(--ra-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.ph-main {
    position: relative;
    height: 520px;
    background: #f0f0f0;
    overflow: hidden;
}

.ph-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.ph-main:hover img { transform: scale(1.03); }

.ph-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 30px;
    background: linear-gradient(to top, var(--ra-overlay), transparent);
    color: var(--ra-white);
}

.ph-meta {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ph-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.3;
}

.ph-title a { color: var(--ra-white); }
.ph-title a:hover { opacity: 0.9; }

.ph-excerpt {
    font-size: 0.95rem;
    opacity: 0.95;
    margin: 0 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ph-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ra-white);
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.ph-more:hover { border-bottom-color: var(--ra-white); }

.ph-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    background: var(--ra-border);
}

.ph-card {
    position: relative;
    min-height: 240px;
    background: var(--ra-white);
    overflow: hidden;
}

.ph-card-link { position: absolute; inset: 0; z-index: 2; }
.ph-card-img { position: absolute; inset: 0; }

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

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

.ph-card-overlay {
    position: absolute;
    inset: 0;
    padding: 18px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 60%);
    color: var(--ra-white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 3;
    pointer-events: none;
}

.ph-card .ph-meta  { font-size: 0.7rem; opacity: 0.85; margin-bottom: 6px; }
.ph-card .ph-title { font-size: 1rem; font-weight: 600; margin: 0; line-height: 1.3; }
.ph-card .ph-title a { color: var(--ra-white); pointer-events: auto; }

.ph-hero .ph-cat-badge {
    display: none;
}

/* ===== PLAYER ===== */
.ra-player-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ra-player-inner {
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    background: var(--ra-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--ra-shadow);
    border: 3px solid var(--ra-red);
}

.ra-player-decoration {
    width: 286px;
    margin-top: -24px;
    margin-left: -24px;
    background: url('folk-dancer.png') center top no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.ra-freq {
    font-size: 0.75rem;
    color: #8b4513;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: auto;
    margin-bottom: 10px;
    display:none;
}

.ra-player-content {
    flex: 1;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ra-player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ra-title-section h2 {
    margin: 0 0 5px;
    color: var(--ra-red);
    font-size: 1.4rem;
    font-weight: 700;
}

.ra-title-section p {
    margin: 0;
    color: var(--ra-text);
    font-size: 0.9rem;
}

.ra-live-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--ra-red);
    color: var(--ra-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    animation: raPulse 2s infinite;
}

.ra-live-dot {
    width: 10px;
    height: 10px;
    background: var(--ra-white);
    border-radius: 50%;
    animation: raBlink 1.5s infinite;
}

@keyframes raPulse {
    0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0   rgba(196,30,58,0.4); }
    50%       { transform: scale(1.02); box-shadow: 0 0 0 8px rgba(196,30,58,0);   }
}

@keyframes raBlink {
    0%, 100% { opacity: 1;   }
    50%      { opacity: 0.4; }
}

.ra-player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ra-play-btn {
    background: linear-gradient(135deg, var(--ra-red), var(--ra-dark-red));
    color: var(--ra-white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(196,30,58,0.3);
    flex-shrink: 0;
}

.ra-play-btn:hover  { transform: scale(1.08); box-shadow: 0 6px 16px rgba(196,30,58,0.4); }
.ra-play-btn:active { transform: scale(0.97); }

.ra-volume-section {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ra-volume-btn {
    background: transparent;
    color: var(--ra-red);
    border: 2px solid var(--ra-red);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
    position: relative;
}

.ra-volume-btn:hover { background: var(--ra-red); color: var(--ra-white); }

.ra-volume-btn .ra-icon-volume,
.ra-volume-btn .ra-icon-mute {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ra-volume-btn .ra-icon-mute { display: none; }
.ra-volume-btn.muted .ra-icon-volume { display: none; }
.ra-volume-btn.muted .ra-icon-mute { display: block; }

.ra-volume-slider {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    background: linear-gradient(90deg, #0033a0, #fecb00, var(--ra-red));
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.ra-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--ra-white);
    border: 3px solid var(--ra-red);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* ===== GRID POSTS ===== */
.pg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.pg-card {
    border: 1px solid var(--ra-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--ra-white);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pg-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ra-shadow-hover);
}

.pg-card-img {
    display: block;
    width: 100%;
    height: 170px;
    background: #f5f5f5;
    overflow: hidden;
}

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

.pg-card:hover .pg-card-img img { transform: scale(1.03); }

.pg-noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #aaa;
    font-size: 0.85rem;
    background: #f0f0f0;
}

.pg-body {
    padding: 16px 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pg-meta {
    font-size: 0.75rem;
    color: var(--ra-meta);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.pg-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    line-height: 1.4;
}

.pg-title a { color: #222; font-weight: 600; }
.pg-title a:hover { color: var(--ra-red); }

.pg-excerpt {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 14px;
    flex-grow: 1;
}

.pg-excerpt p { margin: 0; }

.pg-more {
    color: var(--ra-red);
    font-weight: 600;
    font-size: 0.9rem;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pg-more:hover { text-decoration: underline; }

/* ===== TEAM ===== */
.team-section {
    background: var(--ra-white);
    border: 1px solid var(--ra-border);
    border-radius: var(--radius);;
    padding: 40px var(--pad);
    text-align: center;
}

.team-section .section-title {
    border-left: none;
    padding-left: 0;
    font-size: 1.6rem;
    color: var(--ra-red);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.team-member {
    padding: 15px 10px;
    border-radius: var(--radius);
    transition: background 0.2s;
}

.team-member:hover { background: var(--ra-cream); }

.team-member h3 {
    font-size: 0.95rem;
    margin: 0 0 4px;
    color: var(--ra-text);
    font-weight: 600;
}

.team-member p {
    color: var(--ra-red);
    font-size: 0.82rem;
    margin-bottom: 8px;
}

.team-social a {
    color: var(--ra-meta);
    display: inline-flex;
    transition: color 0.2s;
}

.team-social a:hover { color: var(--ra-red); }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--ra-text);
    color: var(--ra-white);
    padding: 30px var(--pad);
    text-align: center;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-menu {
    display: none;
    justify-content: center;
    gap: 25px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-menu a {
    color: var(--ra-white);
    font-size: 0.9rem;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.footer-menu a:hover { opacity: 1; text-decoration: underline; }

.copyright {
    font-size: 0.85rem;
    opacity: 0.7;
}

#privacyToggle {
    color: var(--ra-white);
    display: block;
    padding: 0 var(--pad) var(--pad);
}

#privacyPanel {
  max-width: var(--max-width);
  margin: 0 auto 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.07);
  border-left: 3px solid var(--ra-red);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  text-align: left;
  animation: fadeIn 0.2s ease;
}

#privacyPanel a { color: var(--ra-red); }
#privacyPanel a:hover { text-decoration: underline; }

#privacyToggle.active { opacity: 1; text-decoration: underline; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== MOBILE PLAYER (fixed bottom) ===== */
.player-mobile-wrapper {
    display: none;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - (var(--pad) * 2));
    max-width: calc(var(--max-width) - (var(--pad) * 2));
    z-index: 9999;
    margin: 0;
    padding: 0;
}

.player-mobile-wrapper .ra-player-inner {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: none;
    margin: 0;
    max-width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .pg-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .ph-hero              { grid-template-columns: 1fr; }
    .ph-side              { grid-template-columns: 1fr 1fr; }
    .ph-card              { min-height: 200px; }
    .pg-grid              { grid-template-columns: repeat(2, 1fr); }
    .ra-player-decoration { width: 120px; }
}

@media (max-width: 768px) {
    :root { --pad: 15px; }
    
    .logo img      { max-height: 60px; }
    .ph-overlay    { padding: 20px; }
    .ph-title      { font-size: 1.3rem; }
    .ph-excerpt    { -webkit-line-clamp: 2; }
    .team-grid     { grid-template-columns: repeat(2, 1fr); }
    
    /* Hide desktop player section */
    .player-desktop-section { display: none !important; }
    
    /* Show mobile fixed player */
    .player-mobile-wrapper { display: block !important; }
    
    /* Body padding for fixed player */
    .site-footer { padding-bottom: 180px; }
}

@media (max-width: 600px) {
    .ph-side   { grid-template-columns: 1fr; }
    .ph-card   { min-height: 220px; }
    .pg-grid   { grid-template-columns: 1fr; }
    
    .ra-player-inner { 
        flex-direction: column;
        margin-bottom: 15px;
    }
    
    .ra-player-decoration {
        width: 100%;
        height: 130px;
        flex-direction: row;
        justify-content: center;
        border-bottom: 3px solid var(--ra-red);
        display: none;
    }
    
    .ra-title-section  { padding-right: 15px; }
    .ra-play-btn svg   { width: 24px; height: 24px; }
    .ra-title-section p { display: none; }
    .ra-live-badge { display: none; }
    .ra-title-section h2 { font-size: 1.2rem; text-align: center; }
}

@media (max-width: 480px) {
    .team-grid   { grid-template-columns: 1fr; }
    .footer-menu { flex-direction: column; gap: 10px; }
}
/* =====================================================
   RADIO ACCENT v2 — Additional Styles
   ===================================================== */

/* ─── HEADER with nav ─────────────────────────────── */
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-header {
    padding: 0;
    background: var(--ra-white);
    border-bottom: 3px solid var(--ra-red);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.logo { line-height: 0; padding: 10px 0; }
.logo img { max-height: 60px; width: auto; display: block; }

/* ─── NAV MENU ────────────────────────────────────── */
.main-nav { display: flex; align-items: center; }

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0; padding: 0;
    align-items: center;
}

.nav-menu li a {
    display: block;
    padding: 6px 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ra-text);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    text-decoration: none;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--ra-red);
    border-bottom-color: var(--ra-red);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ra-text);
    border-radius: 2px;
    transition: 0.3s;
}

/* ─── PLAYER STRIP (below nav, not homepage) ──────── */
.aplayer-strip {
    background: #1a1a2e;
    border-bottom: 2px solid var(--ra-red);
    position: sticky;
    top: 0;
    z-index: 99;
}

/* When header is sticky and player strip is shown, stack them */
.asite-header + .player-strip {
    top: 95px; /* header height approx */
}

.player-strip-inner { 
    max-width: var(--max-width); 
    margin: 0 auto; 
    padding: 30px var(--pad) 5px;
}

/* Make player compact when in strip */
.aplayer-strip .ra-player-container {
    border-radius: 0;
    border: none;
    margin: 0;
}

.aplayer-strip .ra-player-inner {
    border-radius: 0;
    border: none;
    margin: 0;
    padding: 8px 20px;
    background: #1a1a2e;
}

.aplayer-strip .ra-player-decoration {
    width: 80px;
    height: 50px;
}

.aplayer-strip .ra-title-section h2 { font-size: 0.95rem; }
.aplayer-strip .ra-title-section p  { display: none; }

/* ─── HERO (both home and cat) ────────────────────── */
.ph-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--ra-white);
    border: 1px solid var(--ra-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.ph-left { position: relative; }

/* ph-main keeps old styles but link wraps whole thing */

.ph-cat-badge {
    display: inline-block;
    background: var(--ra-red);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.ph-cat-badge--sm {
    font-size: 0.6rem;
    padding: 2px 6px;
    margin-bottom: 4px;
}

/* ─── BREADCRUMB ──────────────────────────────────── */
.breadcrumb-nav, #articleBreadcrumb, #catBreadcrumb {
    padding: 12px 0 16px;
    font-size: 0.82rem;
    color: var(--ra-meta);
}

.breadcrumb-nav a {
    color: var(--ra-red);
    text-decoration: none;
}
.breadcrumb-nav a:hover { text-decoration: underline; }
.breadcrumb-nav span[aria-hidden] { margin: 0 4px; }

/* ─── GRID cards with cat tag ─────────────────────── */
.pg-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.pg-cat-tag {
    display: none;
    background: var(--ra-red);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 2px 7px;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s;
}
.pg-cat-tag:hover { background: var(--ra-dark-red); }

.pg-date {
    font-size: 0.75rem;
    color: var(--ra-meta);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ─── CAT loading hero ────────────────────────────── */
.cat-loading-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    background: var(--ra-white);
    border: 1px solid var(--ra-border);
    border-radius: var(--radius);
}

.grid-loading {
    display: flex;
    justify-content: center;
    padding: 40px;
}

/* ─── SPINNER ─────────────────────────────────────── */
.spinner {
    width: 36px; height: 36px;
    border: 3px solid var(--ra-border);
    border-top-color: var(--ra-red);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

/* ─── ARTICLE VIEW ────────────────────────────────── */
.article-view {
    background: var(--ra-white);
    border: 1px solid var(--ra-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
}

.article-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 80px 20px;
    color: var(--ra-meta);
    font-size: 0.9rem;
}

.article-header {
    padding: 30px 40px 20px;
    border-bottom: 1px solid var(--ra-border);
}

.article-logo-row {
    margin-bottom: 20px;
}

.article-logo {
    max-height: 50px;
    width: auto;
}

.article-cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.article-cat-tag {
    display: inline-block;
    background: var(--ra-red);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s;
}
.article-cat-tag:hover { background: var(--ra-dark-red); }

.article-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    color: #111;
    margin: 0 0 14px;
}

.article-meta {
    display: flex;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--ra-meta);
    flex-wrap: wrap;
}

.article-author { font-style: italic; }

.article-hero-img {
    width: 100%;
    overflow: hidden;
}

.article-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-body {
    padding: 30px 40px 40px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    max-width: 780px;
    margin: 0 auto;
}

.article-body h1, .article-body h2, .article-body h3 {
    margin: 1.5em 0 0.6em;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
}

.article-body h2 { font-size: 1.4rem; }
.article-body h3 { font-size: 1.15rem; }

.article-body p {
    margin: 0 0 1.2em;
}

.article-body a {
    color: var(--ra-red);
    text-decoration: underline;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1em 0;
}

.article-body blockquote {
    border-left: 4px solid var(--ra-red);
    padding: 10px 20px;
    margin: 1.5em 0;
    background: #f9f5f5;
    font-style: italic;
    color: #555;
}

.article-body ul, .article-body ol {
    padding-left: 1.5em;
    margin: 0 0 1.2em;
}

.article-body li { margin-bottom: 0.4em; }

.error-msg {
    padding: 40px;
    text-align: center;
    color: var(--ra-meta);
}

/* ─── LATEST 3 ARTICLES ───────────────────────────── */
.latest-section-inner {
    margin-bottom: 50px;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.latest-card {
    background: var(--ra-white);
    border: 1px solid var(--ra-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.latest-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ra-shadow-hover);
}

.latest-card-img {
    display: block;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #f5f5f5;
}

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

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

.latest-card-body {
    padding: 14px 16px;
}

.latest-card-body h4 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 6px;
    color: #222;
}

.latest-card-body h4 a { color: inherit; }
.latest-card-body h4 a:hover { color: var(--ra-red); }

/* ─── RESPONSIVE additions ────────────────────────── */
@media (max-width: 1024px) {
    .nav-menu li a { padding: 18px 8px; font-size: 0.67rem; }
}

@media (max-width: 860px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--ra-white);
        flex-direction: column;
        border-top: 3px solid var(--ra-red);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        z-index: 200;
    }

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

    .nav-menu li { width: 100%; }
    .nav-menu li a {
        padding: 14px 20px;
        font-size: 0.85rem;
        border-bottom: 1px solid var(--ra-border);
        border-left: none;
        margin-bottom: 0;
    }
    .nav-menu li a.active,
    .nav-menu li a:hover {
        background: #fff5f5;
        border-bottom-color: var(--ra-border);
        color: var(--ra-red);
    }

    .site-header { padding: 0; }

    .ph-hero { grid-template-columns: 1fr; }
    .ph-side { grid-template-columns: 1fr 1fr; }

    .latest-grid { grid-template-columns: repeat(2, 1fr); }
    .article-title { font-size: 1.5rem; }
    .article-header, .article-body { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 600px) {
    .latest-grid { grid-template-columns: 1fr; }
    .article-title { font-size: 1.3rem; }
    .article-header { padding: 20px 16px 16px; }
    .article-body { padding: 20px 16px 30px; font-size: 0.97rem; }
    .ph-side { grid-template-columns: 1fr; }
    .player-strip-inner .ra-player-decoration { display: none; }
}

