/*
Theme Name: RMV Radio Mayotte
Theme URI: https://rmv.yt
Author: RMV - Radio Miréréni Village
Author URI: https://rmv.yt
Description: Thème WordPress officiel de RMV Radio Mayotte. Reproduit fidèlement l'identité visuelle de la radio (rouge #E5231E, fond clair, Barlow Condensed + Inter) avec lecteur radio en direct, bandeau FLASH, actualités, podcasts, événements et artistes. Mode sombre, responsive, et réglages éditables (flux radio, contacts, réseaux sociaux) via l'outil de personnalisation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rmv-radio
Tags: radio, news, podcast, dark-mode, custom-logo, custom-menu, featured-images, translation-ready, full-width-template
*/

/* ===================== VARIABLES ===================== */
:root {
  /* Brand red is the primary colour (matches rmv.yt). The legacy
     --rmv-orange variable name is kept so existing rules still resolve. */
  --rmv-orange: #E5231E;
  --rmv-orange-dark: #c41510;
  --rmv-navy: #0C0F1A;
  --rmv-card-dark: #14182a;
  --rmv-border-dark: #20243a;
  --rmv-red: #E5231E;

  --rmv-bg: #fbf7f6;
  --rmv-fg: #16181d;
  --rmv-muted: #6b7280;
  --rmv-card: #ffffff;
  --rmv-border: #ececec;
  --rmv-soft: #fdeceb;

  --rmv-font-display: 'Barlow Condensed', 'Inter', sans-serif;
  --rmv-font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --rmv-radius: 12px;
  --rmv-shadow: 0 4px 20px rgba(0,0,0,.06);
  --rmv-maxw: 1200px;
}

html.dark {
  --rmv-bg: #0C0F1A;
  --rmv-fg: #e8eaf0;
  --rmv-muted: #8b90a3;
  --rmv-card: #14182a;
  --rmv-border: #20243a;
  --rmv-soft: rgba(229,35,30,.16);
}

/* ===================== RESET / BASE ===================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--rmv-font-body);
  background: var(--rmv-bg);
  color: var(--rmv-fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px; /* space for fixed mini-player */
}
h1, h2, h3, h4 { font-family: var(--rmv-font-display); letter-spacing: -.01em; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--rmv-maxw); margin: 0 auto; padding: 0 20px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  background: var(--rmv-orange); color: #fff;
  border: none; border-radius: 999px;
  font-weight: 700; font-size: .95rem; cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn:hover { background: var(--rmv-orange-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--rmv-fg); border: 2px solid var(--rmv-border); }
.btn-outline:hover { border-color: var(--rmv-orange); color: var(--rmv-orange); background: transparent; }

/* ===================== HEADER / NAV ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--rmv-card);
  border-bottom: 1px solid var(--rmv-border);
  backdrop-filter: saturate(180%) blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.site-logo img { height: 48px; width: auto; }
.site-logo .brand-text { font-family: var(--rmv-font-display); font-weight: 800; font-size: 1.4rem; }
.site-logo .brand-text span { color: var(--rmv-orange); }

.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a {
  display: inline-flex; align-items: center; height: 44px; padding: 0 14px;
  font-weight: 600; font-size: .95rem; border-radius: 8px; color: var(--rmv-fg);
  transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--rmv-orange); }
.main-nav li { position: relative; }
.main-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: var(--rmv-card); border: 1px solid var(--rmv-border);
  border-radius: 10px; box-shadow: var(--rmv-shadow);
  padding: 8px; display: none; flex-direction: column; z-index: 50;
}
.main-nav li:hover > .sub-menu { display: flex; }
.main-nav .sub-menu a { height: 40px; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle, .menu-toggle {
  width: 48px; height: 48px; border: 1px solid var(--rmv-border); background: transparent;
  border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  color: var(--rmv-fg); font-size: 1.2rem;
}
.menu-toggle { display: none; }
.header-freqs { font-family: var(--rmv-font-display); font-weight: 700; font-size: .9rem; color: var(--rmv-muted); white-space: nowrap; }
.header-listen {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: var(--rmv-orange); color: #fff; font-weight: 700; font-size: .82rem; border: none;
  padding: 9px 16px; border-radius: 999px; white-space: nowrap;
}
.header-listen:hover, .header-listen.is-playing { background: var(--rmv-orange-dark); }
.live-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--rmv-red); color: #fff; font-weight: 700; font-size: .8rem;
  padding: 8px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em;
}
.live-dot { width: 8px; height: 8px; background: #fff; border-radius: 50%; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.8)} }

/* mobile nav drawer */
.mobile-nav { display: none; }

/* ===================== HERO (light) ===================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% -12%, rgba(229,35,30,.10), transparent),
    linear-gradient(180deg, #ffffff, var(--rmv-bg));
  color: var(--rmv-fg); padding: 56px 0 64px;
  border-bottom: 1px solid var(--rmv-border);
}
.hero .container, .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero h1 { color: var(--rmv-fg); font-size: clamp(2.4rem, 5.2vw, 4rem); }
.hero h1 .hl { color: var(--rmv-orange); }
.hero p.lead { font-size: 1.1rem; color: var(--rmv-muted); max-width: 500px; }
.hero-live-pill {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
  background: var(--rmv-soft); color: var(--rmv-orange);
  font-weight: 700; font-size: .82rem; padding: 8px 16px; border-radius: 999px;
}
.hero-live-pill .live-dot { background: var(--rmv-orange); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 30px; }
.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.hero-stats .stat-n { display: block; font-family: var(--rmv-font-display); font-weight: 800; font-size: 2rem; color: var(--rmv-orange); line-height: 1; }
.hero-stats .stat-l { font-size: .78rem; color: var(--rmv-muted); }
.hero .freqs { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.hero .freq-pill { background: #fff; border: 1px solid var(--rmv-border); color: var(--rmv-fg); padding: 8px 16px; border-radius: 999px; font-weight: 700; font-family: var(--rmv-font-display); }

/* live radio player card (white) */
.radio-card {
  background: var(--rmv-card); border: 1px solid var(--rmv-border);
  border-radius: 22px; padding: 30px; box-shadow: 0 24px 60px rgba(20,22,30,.10);
}
.radio-card .now-label {
  display: inline-flex; align-items: center; gap: 8px; background: var(--rmv-soft);
  color: var(--rmv-orange); font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  font-size: .72rem; padding: 6px 12px; border-radius: 999px;
}
.radio-card .now-label .live-dot { background: var(--rmv-orange); }
.radio-card .track { color: var(--rmv-fg); font-family: var(--rmv-font-display); font-size: 2rem; font-weight: 800; margin: 14px 0 16px; }
.radio-card .track .track-sub { display: block; font-size: .95rem; font-weight: 500; color: var(--rmv-muted); font-family: var(--rmv-font-body); margin-top: 2px; }
.now-playing-row {
  display: flex; align-items: center; gap: 14px; background: var(--rmv-bg);
  border: 1px solid var(--rmv-border); border-radius: 14px; padding: 14px 16px; margin-bottom: 20px;
}
.now-playing-row .np-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--rmv-soft); color: var(--rmv-orange); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.now-playing-row .np-text { min-width: 0; }
.now-playing-row .np-label { font-size: .68rem; font-weight: 700; letter-spacing: .06em; color: var(--rmv-muted); text-transform: uppercase; }
.now-playing-row .np-track { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now-playing-row .np-meta { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--rmv-muted); font-size: .82rem; flex-shrink: 0; }
.radio-card .controls { display: flex; align-items: center; gap: 16px; }
.radio-card .freq-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rmv-border); font-size: .82rem; color: var(--rmv-muted); }
.radio-card .freq-foot span { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.radio-card .freq-foot .fwifi { color: var(--rmv-orange); }
.play-big {
  width: 68px; height: 68px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--rmv-orange); color: #fff; font-size: 1.7rem;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 10px 26px rgba(229,35,30,.35);
  transition: transform .15s, background .2s;
}
.play-big:hover { background: var(--rmv-orange-dark); transform: scale(1.05); }
.viz { display: flex; align-items: center; gap: 4px; height: 44px; flex: 1; }
.viz span { flex: 1; background: var(--rmv-orange); border-radius: 3px; height: 30%; opacity: .8; }
.viz.playing span { animation: viz 1s ease-in-out infinite; }
.viz span:nth-child(2n){animation-delay:.15s} .viz span:nth-child(3n){animation-delay:.3s} .viz span:nth-child(4n){animation-delay:.45s}
@keyframes viz { 0%,100%{height:20%} 50%{height:100%} }

/* ===================== SECTIONS / CARDS ===================== */
.section { padding: 56px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; gap: 16px; }
.section-head h2 { margin: 0; position: relative; padding-left: 16px; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; background: var(--rmv-orange); border-radius: 3px; }

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

.card {
  background: var(--rmv-card); border: 1px solid var(--rmv-border);
  border-radius: var(--rmv-radius); overflow: hidden; box-shadow: var(--rmv-shadow);
  transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--rmv-border); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .thumb img { transform: scale(1.05); }
.card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 1.15rem; margin: 0; }
.card .meta { font-size: .82rem; color: var(--rmv-muted); display: flex; gap: 10px; align-items: center; }
.card p { margin: 0; color: var(--rmv-muted); font-size: .92rem; }

.cat-pill {
  align-self: flex-start; display: inline-block; background: var(--rmv-orange); color: #fff;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 6px;
}

/* podcast play row */
.podcast-card .play-row { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.play-sm {
  width: 44px; height: 44px; border-radius: 50%; background: var(--rmv-orange); color: #fff;
  border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.play-sm:hover { background: var(--rmv-orange-dark); }

/* event card */
.event-card .date-badge {
  background: var(--rmv-orange); color: #fff; text-align: center; border-radius: 10px;
  padding: 8px 12px; font-family: var(--rmv-font-display); line-height: 1; flex-shrink: 0;
}
.event-card .date-badge .d { font-size: 1.6rem; font-weight: 800; display: block; }
.event-card .date-badge .m { font-size: .8rem; text-transform: uppercase; }
.event-card .body { flex-direction: row; gap: 14px; align-items: flex-start; }

/* ===================== SINGLE / CONTENT ===================== */
.page-hero { background: var(--rmv-navy); color: #fff; padding: 48px 0; }
.page-hero h1 { color: #fff; }
.breadcrumbs { font-size: .85rem; color: var(--rmv-muted); margin-bottom: 14px; }
.breadcrumbs a:hover { color: var(--rmv-orange); }
.content-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding: 48px 0; }
.entry-content { font-size: 1.05rem; }
.entry-content p { margin: 0 0 1.2em; }
.entry-content img { border-radius: var(--rmv-radius); margin: 1.5em 0; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content a { color: var(--rmv-orange); text-decoration: underline; }
.entry-content blockquote { border-left: 4px solid var(--rmv-orange); margin: 1.5em 0; padding: .5em 1.2em; background: var(--rmv-card); border-radius: 0 10px 10px 0; }

.widget { background: var(--rmv-card); border: 1px solid var(--rmv-border); border-radius: var(--rmv-radius); padding: 20px; margin-bottom: 24px; }
.widget-title { font-family: var(--rmv-font-display); font-size: 1.2rem; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--rmv-orange); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--rmv-border); }
.widget a:hover { color: var(--rmv-orange); }

.audio-player-block { background: var(--rmv-card); border: 1px solid var(--rmv-border); border-radius: var(--rmv-radius); padding: 20px; margin: 24px 0; }
.audio-player-block audio { width: 100%; }

/* ===================== MINI PLAYER (fixed, light) ===================== */
.mini-player {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--rmv-card); color: var(--rmv-fg); border-top: 1px solid var(--rmv-border);
  box-shadow: 0 -8px 30px rgba(20,22,30,.08);
  display: flex; align-items: center; gap: 16px; padding: 10px 20px; height: 72px;
}
.mini-player .play-mini {
  width: 48px; height: 48px; border-radius: 50%; background: var(--rmv-orange); color: #fff; border: none;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.2rem;
}
.mini-player .play-mini:hover { background: var(--rmv-orange-dark); }
.mini-player .mp-info { display: flex; flex-direction: column; min-width: 0; }
.mini-player .mp-info .st { font-weight: 700; font-family: var(--rmv-font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-player .mp-info .sub { font-size: .78rem; color: var(--rmv-muted); display: flex; align-items: center; gap: 6px; }
.mini-player .mp-vol { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--rmv-muted); }
.mini-player input[type=range] { accent-color: var(--rmv-orange); width: 110px; }
html.dark .mini-player { background: var(--rmv-card); border-top-color: var(--rmv-border); }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--rmv-navy); color: #cfd2e0; padding: 56px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.site-footer a:hover { color: var(--rmv-orange); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.footer-logo img { height: 56px; margin-bottom: 14px; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.07);
  display: inline-flex; align-items: center; justify-content: center; transition: background .2s;
}
.social-row a:hover { background: var(--rmv-orange); }
.footer-bottom { border-top: 1px solid var(--rmv-border-dark); margin-top: 36px; padding-top: 20px; text-align: center; font-size: .85rem; color: #8b90a3; }
address.nap { font-style: normal; line-height: 1.8; }
address.nap a { color: #cfd2e0; }

/* ===================== POSTS LIST / PAGINATION ===================== */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--rmv-border); border-radius: 8px; font-weight: 600;
}
.pagination .current, .pagination .page-numbers:hover { background: var(--rmv-orange); color: #fff; border-color: var(--rmv-orange); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .content-wrap { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .header-freqs { display: none; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-listen { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mini-player .mp-vol { display: none; }
  .mobile-nav.open {
    display: block; position: fixed; inset: 72px 0 0 0; z-index: 150;
    background: var(--rmv-card); padding: 20px; overflow-y: auto;
  }
  .mobile-nav ul { list-style: none; margin: 0; padding: 0; }
  .mobile-nav a { display: block; padding: 14px 8px; font-weight: 600; border-bottom: 1px solid var(--rmv-border); }
  .mobile-nav .sub-menu a { padding-left: 24px; font-weight: 500; color: var(--rmv-muted); }
}

/* ===================== HERO FEATURE + PLAYER STATUS ===================== */
.radio-card { margin-top: 24px; }
.radio-card .track .track-sub { display: block; font-size: .95rem; font-weight: 500; color: #b9bdcf; font-family: var(--rmv-font-body); margin-top: 2px; }
.radio-status { margin-top: 16px; font-size: .85rem; font-weight: 600; color: #b9bdcf; }
.radio-status[data-state="live"] { color: var(--rmv-red); }
.radio-status[data-state="error"] { color: #ffb4a1; }
.radio-status[data-state="loading"] { color: var(--rmv-orange); }
.radio-format { margin-top: 6px; font-size: .78rem; color: #8b90a3; font-family: var(--rmv-font-display); letter-spacing: .03em; }
.play-big.is-playing { background: var(--rmv-orange-dark); }

.freq-loc { background: rgba(255,85,32,.16) !important; border-color: rgba(255,85,32,.32) !important; }

.hero-feature { position: relative; display: block; border-radius: 18px; overflow: hidden; min-height: 360px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.hero-feature img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.hero-feature-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; background: linear-gradient(to top, rgba(8,10,18,.92), transparent); }
.hero-feature-body h2 { color: #fff; margin: 8px 0 6px; font-size: 1.5rem; }
.hero-feature-label { display: inline-block; margin-left: 8px; color: var(--rmv-orange); font-weight: 700; font-size: .72rem; letter-spacing: .08em; }
.hero-feature-body .meta { color: #cfd2e0; font-size: .82rem; }

/* ===================== PROGRAMME GRID ===================== */
.section-programme { background: var(--rmv-card); }
.section-sub { color: var(--rmv-muted); font-weight: 600; font-size: .9rem; }
.programme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.programme-slot {
  background: var(--rmv-bg); border: 1px solid var(--rmv-border); border-left: 4px solid var(--rmv-orange);
  border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 4px;
  transition: transform .15s, box-shadow .2s;
}
.programme-slot:hover { transform: translateY(-3px); box-shadow: var(--rmv-shadow); }
.prog-time { font-family: var(--rmv-font-display); font-weight: 800; font-size: 1.4rem; color: var(--rmv-orange); }
.prog-title { font-weight: 700; }
.prog-cat { font-size: .78rem; color: var(--rmv-muted); text-transform: uppercase; letter-spacing: .04em; }

/* ===================== JOURNAL (light card) ===================== */
.section-journal { padding-top: 0; }
.journal-card {
  background: var(--rmv-card); color: var(--rmv-fg); border: 1px solid var(--rmv-border);
  border-radius: 20px; padding: 28px 32px; box-shadow: var(--rmv-shadow);
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
}
.journal-head { display: flex; align-items: center; gap: 14px; }
.journal-head h2 { color: var(--rmv-fg); margin: 0; font-size: 1.5rem; }
.journal-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--rmv-orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.journal-badge { color: var(--rmv-orange); font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.journal-main { min-width: 0; }
.journal-audio { width: 100%; }
.journal-empty { color: var(--rmv-muted); margin: 0; }
.journal-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.journal-refresh.refreshed { border-color: var(--rmv-orange); color: var(--rmv-orange); }
@media (max-width: 860px) { .journal-card { grid-template-columns: 1fr; text-align: left; } .journal-actions { flex-direction: row; } }

/* ===================== FLASH TICKER (top bar) ===================== */
.flash-bar { background: #111317; color: #fff; font-size: .82rem; }
.flash-bar .container { display: flex; align-items: center; gap: 14px; height: 38px; overflow: hidden; }
.flash-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--rmv-orange); color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .04em; padding: 4px 10px; border-radius: 6px; flex-shrink: 0; }
.flash-track { position: relative; flex: 1; overflow: hidden; white-space: nowrap; }
.flash-track ul { display: inline-flex; gap: 40px; list-style: none; margin: 0; padding: 0; animation: flashscroll 40s linear infinite; }
.flash-track a { color: #e7e7ea; } .flash-track a:hover { color: #fff; }
.flash-track li::before { content: "•"; color: var(--rmv-orange); margin-right: 14px; }
@keyframes flashscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.flash-bar:hover .flash-track ul { animation-play-state: paused; }

/* ===================== POST LIST (home / category) ===================== */
.post-list { display: flex; flex-direction: column; gap: 24px; }
.post-row { display: grid; grid-template-columns: 280px 1fr; gap: 22px; background: var(--rmv-card); border: 1px solid var(--rmv-border); border-radius: var(--rmv-radius); overflow: hidden; box-shadow: var(--rmv-shadow); }
.post-row-thumb { display: block; aspect-ratio: 16/10; background: var(--rmv-border); overflow: hidden; }
.post-row-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-row:hover .post-row-thumb img { transform: scale(1.05); }
.post-row-body { padding: 20px 22px 22px 0; display: flex; flex-direction: column; gap: 10px; }
.post-row-title { font-size: 1.4rem; margin: 0; }
.post-row-body .meta { font-size: .82rem; color: var(--rmv-muted); }
.post-row-body p { margin: 0; color: var(--rmv-muted); }
.readmore { color: var(--rmv-orange); font-weight: 700; align-self: flex-start; }
.readmore:hover { text-decoration: underline; }

/* ===================== SINGLE: share + related ===================== */
.single-thumb { border-radius: var(--rmv-radius); overflow: hidden; margin: 0 0 28px; }
.share-row { display: flex; align-items: center; gap: 10px; margin: 28px 0; flex-wrap: wrap; }
.share-label { font-weight: 700; }
.share-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; color: #fff; font-weight: 600; font-size: .85rem; }
.share-fb { background: #1877f2; }
.share-wa { background: #25d366; }
.share-btn:hover { opacity: .9; }
.related-block { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rmv-border); }
.related-block h2 { margin-bottom: 22px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .programme-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .programme-grid { grid-template-columns: 1fr 1fr; }
  .post-row { grid-template-columns: 1fr; }
  .post-row-body { padding: 0 20px 20px; }
}

/* WP core alignment helpers */
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption-text { font-size: .85rem; color: var(--rmv-muted); text-align: center; }
.sticky, .gallery-caption { display: block; }
.screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); height: 1px; width: 1px; overflow: hidden; }
