/*
Theme Name: Radio UNO
Theme URI: https://radiouno.ro
Author: Radio UNO
Author URI: https://radiouno.ro
Description: Tema site-ului Radio UNO 101.1 FM: player live pe prima pagină, programul și emisiunile, știri, LIVE TV către TV UNO.
Version: 1.0.39
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: radiouno
License: Proprietary
Update URI: false
*/
:root {
  --ink: #111113;
  --ink-2: #2b2b30;
  --muted: #5f5f66;
  --line: #e4e4e7;
  --bg: #f4f4f5;
  --paper: #ffffff;
  --navy: #0e0e10;
  --navy-2: #1c1c20;
  --red: #e80306;
  --red-dark: #c00205;
  --brand: #e80306;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 0, 0, .06);
  --head: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 12px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Top strip ---------- */
.topbar { background: #000; color: #c8c8cd; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 36px; gap: 16px; }
.topbar .date { display: inline-block; }
.topbar .date::first-letter { text-transform: uppercase; }
.socials { display: flex; gap: 4px; }
.socials a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; color: #c8c8cd; }
.socials a:hover { background: var(--navy-2); color: #fff; }
.socials svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Header ---------- */
.header { background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.06); position: sticky; top: 0; z-index: 100; }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 44px; width: auto; }

.nav { flex: 1; }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a, .nav .dd-btn {
  display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px;
  font: 700 14px/1 var(--head); text-transform: uppercase; letter-spacing: .3px; color: #e8e8eb;
  background: none; border: 0;
}
.nav a:hover, .nav .dd-btn:hover, .nav a[aria-current="page"] { background: var(--navy-2); color: #fff; }
.dd a { color: var(--ink-2); }
.dd a:hover { background: var(--bg); color: var(--ink); }
.nav li { position: relative; }
.dd-btn svg { width: 12px; height: 12px; transition: transform .2s; }
.dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; padding: 6px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  list-style: none; margin: 0; display: none;
}
.dd.open { display: block; }
.dd a { text-transform: none; font: 600 15px/1.2 var(--body); padding: 10px 12px; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 8px; border: 0; background: none;
  display: grid; place-items: center; color: #fff;
}
.icon-btn:hover { background: var(--navy-2); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn { display: none; }

.live-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px;
  background: var(--red); color: #fff; font: 800 14px/1 var(--head); letter-spacing: .6px;
}
.live-btn:hover { background: var(--red-dark); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; position: relative; flex-shrink: 0; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.8); opacity: 0; } }

.search-bar { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.search-bar.open { display: block; }
.search-bar form { display: flex; gap: 8px; padding: 12px 0; }
.search-bar input {
  flex: 1; height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 0 14px; font: inherit; background: var(--bg);
}
.btn {
  height: 44px; padding: 0 18px; border-radius: 8px; border: 0; background: var(--ink); color: #fff; font-weight: 700;
}

/* ---------- Breaking ticker ---------- */
.ticker { background: var(--paper); border-bottom: 1px solid var(--line); }
.ticker .wrap { display: flex; align-items: center; height: 44px; gap: 14px; overflow: hidden; }
.ticker-label {
  flex-shrink: 0; background: var(--red); color: #fff; font: 800 12px/1 var(--head);
  padding: 7px 10px; border-radius: 6px; letter-spacing: .6px; text-transform: uppercase;
}
.ticker-track { overflow: hidden; flex: 1; }
.ticker-items { display: flex; gap: 40px; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .ticker-items { animation-play-state: paused; }
.ticker-items a { white-space: nowrap; font-weight: 600; font-size: 14px; }
.ticker-items a:hover { color: var(--red); }
.ticker-items time { color: var(--red); font-weight: 800; margin-right: 6px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-items { animation: none; }
  .dot::after { animation: none; }
}

/* ---------- Generic ---------- */
main { padding: 24px 0 48px; }
.section { margin-top: 36px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-title {
  font: 900 22px/1.1 var(--head); margin: 0; letter-spacing: -.3px; display: flex; align-items: center; gap: 10px;
}
.section-title::before { content: ""; width: 6px; height: 22px; background: var(--red); border-radius: 3px; }
.more { font-weight: 700; font-size: 14px; color: var(--red); }
.more:hover { text-decoration: underline; }

.kicker {
  display: inline-block; font: 800 11px/1 var(--head); text-transform: uppercase; letter-spacing: .8px;
  color: var(--red);
}
.meta { color: var(--muted); font-size: 13px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

.thumb { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy); aspect-ratio: 16 / 9; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.thumb.noimg { background: var(--navy) url(assets/img/radiouno-logo-white-80.png) center / 46% auto no-repeat; }
a:hover .thumb img { transform: scale(1.04); }

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; gap: 10px; }
.card h3 { font: 800 17px/1.3 var(--head); margin: 0; letter-spacing: -.1px; }
.card:hover h3 { color: var(--red); }
.card p { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

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

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.lead { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--navy); }
.lead .thumb { aspect-ratio: 16 / 9; border-radius: 0; }
.lead-body { padding: 22px 28px 26px; background: var(--navy); color: #fff; border-top: 4px solid var(--red); }
.lead-body .kicker { background: var(--red); color: #fff; padding: 6px 8px; border-radius: 5px; }
.lead-body h2 { font: 900 32px/1.12 var(--head); margin: 12px 0 10px; letter-spacing: -.6px; max-width: 780px; }
.lead-body p { margin: 0; color: #d4d4d8; max-width: 680px; font-size: 15px; }
.lead:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hero-sub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }

.side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

/* Live card */
.live-card { background: var(--navy); color: #fff; border-radius: 14px; overflow: hidden; }
.live-card .screen { position: relative; aspect-ratio: 16 / 9; background: #000 center / cover; display: grid; place-items: center; }
.live-card .screen::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.play {
  position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--red);
  display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(232, 3, 6, .25); transition: transform .2s;
}
.live-card:hover .play { transform: scale(1.08); }
.play svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }
.badge-live {
  position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px;
  background: var(--red); color: #fff; font: 800 12px/1 var(--head); letter-spacing: .6px; padding: 6px 9px; border-radius: 5px;
}
.live-info { padding: 16px 18px 18px; }
.live-info .now { font: 800 19px/1.2 var(--head); margin: 4px 0 10px; }
.live-info small { color: #9d9da5; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; }
.progress { height: 4px; background: rgba(255,255,255,.15); border-radius: 2px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--red); }
.next { display: flex; justify-content: space-between; margin-top: 12px; font-size: 14px; color: #c8c8cd; gap: 10px; }
.next b { color: #fff; }

/* Latest list */
.box { background: var(--paper); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.box .section-title { font-size: 18px; }
.box .section-title::before { height: 18px; }
.latest { list-style: none; margin: 14px 0 0; padding: 0; }
.latest li { border-top: 1px solid var(--line); }
.latest a { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 11px 0; font-weight: 600; font-size: 14px; line-height: 1.35; }
.latest a:hover span { color: var(--red); }
.latest time { color: var(--red); font-weight: 800; font-size: 13px; padding-top: 1px; }

/* ---------- Ads ---------- */
.ad-slot { margin: 36px 0 0; min-height: 100px; display: grid; place-items: center; gap: 6px; overflow: hidden; }
.ad-slot::before { content: "Publicitate"; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #9d9da5; }
.ad-slot.tall { min-height: 250px; margin: 0; }
.ad-slot.in-article { margin: 28px 0; }
.ad-widget { max-width: 100%; }

/* ---------- Two column ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.list-cards { display: flex; flex-direction: column; gap: 18px; }
.row-card { display: grid; grid-template-columns: 240px 1fr; gap: 18px; background: var(--paper); padding: 12px; border-radius: 12px; box-shadow: var(--shadow); }
.row-card .thumb { aspect-ratio: 16 / 10; }
.row-card h3 { font: 800 19px/1.25 var(--head); margin: 6px 0 8px; }
.row-card:hover h3 { color: var(--red); }
.row-card p { margin: 0 0 10px; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-sticky { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; }

.popular { list-style: none; margin: 10px 0 0; padding: 0; counter-reset: pop; }
.popular li { counter-increment: pop; border-top: 1px solid var(--line); }
.popular a { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px 0; font: 700 15px/1.3 var(--head); }
.popular a::before { content: counter(pop); font: 900 28px/1 var(--head); color: var(--red); opacity: .9; }
.popular a:hover { color: var(--red); }

.follow h3 { font: 900 20px/1.2 var(--head); margin: 0 0 6px; }
.follow p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.follow .socials a { width: 40px; height: 40px; background: var(--bg); color: var(--ink); }
.follow .socials a:hover { background: var(--red); color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #a8a8b0; padding: 44px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font: 800 14px/1 var(--head); text-transform: uppercase; letter-spacing: .6px; margin: 6px 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a:hover { color: #fff; }
.footer p { margin: 14px 0; max-width: 320px; }
.footer .socials a { background: rgba(255,255,255,.06); width: 36px; height: 36px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 36px; padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Article ---------- */
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.crumbs a:hover { color: var(--red); }
.article { background: var(--paper); border-radius: 14px; padding: 32px 40px 40px; box-shadow: var(--shadow); }
.article h1 { font: 900 40px/1.12 var(--head); letter-spacing: -.8px; margin: 12px 0 14px; }
.article .lede { font: 400 20px/1.5 var(--serif); color: var(--ink-2); margin: 0 0 20px; }
.byline { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline-author { display: flex; align-items: center; gap: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 800 14px/1 var(--head); }
.byline-author b { display: block; font-size: 14px; }
.share { display: flex; gap: 6px; }
.share a, .share button {
  width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper);
  display: grid; place-items: center; color: var(--ink-2);
}
.share a:hover, .share button:hover { background: var(--bg); }
.share svg { width: 17px; height: 17px; fill: currentColor; }
.article figure { margin: 24px 0; }
.article figure img { border-radius: var(--radius); width: 100%; height: auto; }
.article figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; }
.prose { font: 400 19px/1.75 var(--serif); color: #1b2130; max-width: 720px; }
.prose p { margin: 0 0 1.2em; }
.prose h2 { font: 800 26px/1.25 var(--head); margin: 1.6em 0 .6em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--red); font-style: italic; color: var(--ink-2); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 24px 0; }
.gallery img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.tags a { background: var(--bg); padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.tags a:hover { background: var(--ink); color: #fff; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 14px; transition: .25s; z-index: 60;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav > ul > li.hide-md { display: none; }
  .shows { grid-template-columns: repeat(3, 1fr); }
  .shows .show:nth-child(n+4) { display: none; }
}
@media (max-width: 960px) {
  .menu-btn { display: grid; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--paper); z-index: 80;
    padding: 72px 16px 24px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; box-shadow: -10px 0 30px rgba(0,0,0,.15);
  }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li.hide-md { display: block; }
  .nav a, .nav .dd-btn { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 15px; color: var(--ink-2); }
  .nav a:hover, .nav .dd-btn:hover, .nav a[aria-current="page"] { background: var(--bg); color: var(--ink); }
  .nav-close { color: var(--ink-2); }
  .nav-close:hover { background: var(--bg); }
  .dd { position: static; box-shadow: none; border: 0; padding: 0 0 6px 12px; }
  .nav-close { position: absolute; top: 14px; right: 14px; }
  /* Below the sticky header (z 50), whose stacking context holds the drawer */
  .scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 49; display: none; }
  .scrim.open { display: block; }
  .header .live-btn { display: none; }
  .live-pill { display: inline-flex; }
  .hero, .two-col, .live-layout { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .side-sticky { position: static; }
}
@media (min-width: 961px) { .nav-close, .scrim { display: none; } }
@media (max-width: 640px) {
  .topbar .date { font-size: 12px; }
  .header .wrap { height: 60px; gap: 12px; }
  .logo img { height: 38px; }
  .lead-body { padding: 16px 18px 18px; }
  .lead-body h2 { font-size: 25px; }
  .lead-body p { display: none; }
  .hero-sub, .grid-3 { grid-template-columns: 1fr; }
  .hero-sub .card, .grid-4 .card { display: grid; grid-template-columns: 120px 1fr; grid-auto-rows: min-content; gap: 4px 12px; align-items: start; }
  .hero-sub .card .thumb, .grid-4 .card .thumb { grid-row: 1 / span 3; }
  .hero-sub .card h3, .grid-4 .card h3 { font-size: 16px; }
  .hero-sub .card .thumb { aspect-ratio: 4 / 3; }
  .hero-sub .card p { display: none; }
  .grid-4 { grid-template-columns: 1fr; gap: 16px; }
  .grid-4 .card .thumb { aspect-ratio: 4 / 3; }
  .grid-4 .card p { display: none; }
  .row-card { grid-template-columns: 1fr; }
  .shows { grid-template-columns: repeat(2, 1fr); }
  .shows .show:nth-child(n+4) { display: flex; }
  .show { aspect-ratio: auto; min-height: 120px; }
  .footer-grid { grid-template-columns: 1fr; }
  .article { padding: 20px 16px 28px; border-radius: 0; margin: 0 -16px; box-shadow: none; }
  .article h1 { font-size: 28px; }
  .article .lede { font-size: 18px; }
  .prose { font-size: 18px; }
  .ticker-label { font-size: 11px; padding: 6px 8px; }
}

/* ---------- WordPress additions ---------- */
.custom-logo-link img, .logo img { height: 44px; width: auto; }

/* Județe dropdown: grouped by region, several columns on desktop */
.dd-group { padding: 10px 12px 4px; font: 800 11px/1 var(--head); letter-spacing: .8px; text-transform: uppercase; color: var(--red); }
.dd-wide { max-height: 70vh; overflow-y: auto; }
@media (min-width: 961px) {
  /* Anchor the wide panel to the header row so it never runs off-screen */
  .header .wrap { position: relative; }
  .nav li:has(> .dd-wide) { position: static; }
  .dd-wide { left: auto; right: 16px; top: calc(100% - 4px); }
  .dd-wide.open { display: grid; grid-template-columns: repeat(4, minmax(140px, 1fr)); width: min(760px, calc(100vw - 32px)); }
  .dd-wide .dd-group { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 4px; }
  .dd-wide .dd-group:first-child { border-top: 0; margin-top: 0; }
}

/* "Din țară" */
#din-tara .tabs { margin-bottom: 16px; }
.county-picker select {
  height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; font: 600 14px/1 var(--body);
  background: var(--paper); color: var(--ink); max-width: 220px;
}
.tab-panel[hidden] { display: none; }

/* Archives & search */
.archive-head { margin-bottom: 20px; }
.archive-head .section-title { font-size: 30px; }
.archive-head .section-title::before { height: 28px; }
.archive-desc { color: var(--muted); margin-top: 8px; }
.pagination { margin-top: 28px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.page-numbers {
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px; display: grid; place-items: center;
  background: var(--paper); box-shadow: var(--shadow); font-weight: 700; font-size: 14px;
}
.page-numbers.current { background: var(--ink); color: #fff; }
a.page-numbers:hover { color: var(--red); }
.not-found { margin-top: 12px; }
.not-found form { display: flex; gap: 8px; margin-top: 12px; }
.not-found input[type="search"] { height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 0 14px; font: inherit; }
.not-found input[type="submit"] { height: 44px; padding: 0 18px; border-radius: 8px; border: 0; background: var(--ink); color: #fff; font-weight: 700; cursor: pointer; }

/* Article content from the block editor */
.article .featured img { aspect-ratio: auto; }
.byline .byline-author a:hover { color: var(--red); }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose img { height: auto; border-radius: 8px; }
.prose figure, .prose .wp-block-image { margin: 1.6em 0; }
.prose figcaption, .prose .wp-element-caption { font: 400 13px/1.4 var(--body); color: var(--muted); margin-top: 8px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose h3 { font: 800 21px/1.3 var(--head); margin: 1.4em 0 .5em; }
.prose table { width: 100%; border-collapse: collapse; font: 15px/1.5 var(--body); margin: 1.4em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose iframe { max-width: 100%; }
.prose .wp-block-embed__wrapper { position: relative; }
.prose .wp-block-gallery { margin: 1.6em 0; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.aligncenter { margin-left: auto; margin-right: auto; }

/* Sidebar live box */
.live-mini { display: block; }
.live-mini .badge-live { position: static; margin-bottom: 10px; }

/* Live page */
.live-main { padding-top: 0; }
.live-desc p { margin: 0; }
.live-title .badge-live { position: static; }
.upnext a b { color: #fff; }
.upnext .more { color: #fff; display: inline-block; margin-top: 10px; }
.sched { background: var(--paper); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.sched-row { display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line); }
.sched-row:first-child { border-top: 0; }
.sched-row time { font: 800 18px/1 var(--head); }
.sched-row b { display: block; font: 800 17px/1.25 var(--head); }
.sched-row span { color: var(--muted); font-size: 14px; }

@media (max-width: 960px) {
  .dd-group { padding-left: 0; }
}
@media (max-width: 640px) {
  .section-head { flex-wrap: wrap; }
  .county-picker select { max-width: none; }
  .archive-head .section-title { font-size: 24px; }
  .alignleft, .alignright { float: none; margin: 1em 0; max-width: 100%; }
}

/* ---------- Byline for newsroom-desk articles ---------- */
.avatar-desk { background: #0e0e10; overflow: hidden; }
.avatar-desk img { width: 100%; height: 100%; object-fit: cover; }


/* LIVE → TV UNO (red = live, as on TV UNO). */
.header .live-btn { background: #e80306; height: 40px; padding: 0 14px; font: 800 13px/1 var(--body); }
.header .live-btn:hover { background: #c00205; }
.tvlive-card { display: block; border-radius: var(--radius); overflow: hidden; background: #0e0e10; color: #fff; margin-bottom: 18px; }
.tvlive-screen { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: #0e0e10 url(assets/img/tvuno-live.jpg) center / cover; }
.tvlive-screen::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.tvlive-play { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #e80306; transition: transform .2s; }
.tvlive-play svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }
.tvlive-card:hover .tvlive-play { transform: scale(1.08); }
.tvlive-screen .badge-live { position: absolute; top: 10px; left: 10px; }
.badge-live { display: inline-flex; align-items: center; gap: 6px; background: #e80306; color: #fff; font: 800 11px/1 var(--body); letter-spacing: .6px; padding: 5px 8px; border-radius: 4px; }
.tvlive-text { display: block; padding: 12px 16px 14px; }
.tvlive-text small { display: block; color: #a1a1aa; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.tvlive-text strong { display: block; font: 800 20px/1.2 var(--head); margin: 2px 0 4px; }
.tvlive-text span:not(.badge-live):not(.dot) { color: #c8c8cd; font-size: 14px; }
.tvlive-mini .tvlive-text { padding: 14px 16px; }
.tvlive-mini strong { margin-top: 8px; }
@media (max-width: 960px) { .header .live-btn { display: inline-flex; height: 34px; padding: 0 10px; } }

.nav .dd-btn, .nav a { white-space: nowrap; }
.section-title::before { background: var(--red); }

/* ================= Radio UNO ================= */
.logo img { height: 40px; width: auto; }
.listen-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 0; border-radius: 8px;
  background: #fff; color: var(--ink); font: 800 13px/1 var(--body); letter-spacing: .3px; white-space: nowrap;
}
.listen-btn svg { width: 18px; height: 18px; fill: var(--red); }
.listen-btn:hover { background: #f1f1f2; }
.header .live-btn { background: var(--red); }
.i-pause { display: none; }
.radio-playing [data-radio-toggle] .i-play { display: none; }
.radio-playing [data-radio-toggle] .i-pause { display: block; }

/* Big player */
.radio-hero { background: var(--navy); color: #fff; padding: 34px 0 40px; }
.radio-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 32px; align-items: start; }
.radio-hero-title { margin: 0 0 18px; font: 900 clamp(28px, 3.4vw, 44px)/1 var(--head); letter-spacing: -.01em; }
.radio-hero-title span { color: var(--red); }
.radio-player { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.radio-player--big { padding: 26px; border-radius: 16px; background: var(--navy-2); }
.radio-player--big .rp-side { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.rp-play {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; border: 0; border-radius: 50%;
  background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(232,3,6,.8); transition: transform .15s;
}
.radio-player--big .rp-play { width: 96px; height: 96px; }
.rp-play svg { width: 44%; height: 44%; fill: currentColor; }
.rp-play .i-play { margin-left: 6%; }
.rp-play:hover { transform: scale(1.05); }
.rp-spin { position: absolute; inset: -5px; border-radius: 50%; border: 3px solid transparent; border-top-color: #fff; opacity: 0; }
.radio-loading .rp-spin { opacity: 1; animation: rp-spin .8s linear infinite; }
@keyframes rp-spin { to { transform: rotate(360deg); } }
.rp-info { min-width: 0; display: grid; gap: 6px; }
.rp-badge { display: inline-flex; align-items: center; gap: 7px; width: max-content; padding: 5px 9px; border-radius: 5px; background: rgba(232,3,6,.15); color: #ff6b6d; font: 800 12px/1 var(--body); letter-spacing: .5px; }
.rp-badge .dot { background: var(--red); }
.rp-show { color: #b4b4bb; font-size: 14px; }
.rp-show a, .rp-show b { color: #fff; font-weight: 700; }
.rp-show a:hover { color: #ff6b6d; }
.rp-title { font: 800 clamp(18px, 2vw, 24px)/1.25 var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-player:not(.radio-player--big) .rp-title { font-size: 17px; }
.rp-eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.rp-eq i { display: block; width: 4px; height: 4px; border-radius: 2px; background: var(--red); }
.radio-playing .rp-eq i { animation: rp-eq 1s ease-in-out infinite; }
.radio-playing .rp-eq i:nth-child(2) { animation-delay: -.6s; }
.radio-playing .rp-eq i:nth-child(3) { animation-delay: -.3s; }
.radio-playing .rp-eq i:nth-child(4) { animation-delay: -.8s; }
.radio-playing .rp-eq i:nth-child(5) { animation-delay: -.45s; }
@keyframes rp-eq { 0%, 100% { height: 4px; } 50% { height: 18px; } }
@media (prefers-reduced-motion: reduce) { .radio-playing .rp-eq i { animation: none; height: 12px; } }
.rp-vol input { width: 140px; accent-color: var(--red); }
.rp-popup { color: #fff; font-weight: 700; font-size: 14px; }
.rp-popup:hover { color: #ff6b6d; }
.rp-next { color: #b4b4bb; font-size: 14px; }
.rp-next b { color: #fff; }

/* Today's program */
.radio-today { background: var(--navy-2); border-radius: 16px; padding: 20px 22px; }
.radio-today .section-title { color: #fff; }
.radio-today .more { color: #ff6b6d; }
.program { list-style: none; margin: 0; padding: 0; }
.program li { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); }
.program li:first-child { border-top: 0; }
.program time { color: #8f8f97; font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.program a, .program span { font-weight: 700; }
.program li.is-live time, .program li.is-live a, .program li.is-live span { color: #fff; }
.radio-today .program a { color: #e8e8eb; }
.radio-today .program a:hover { color: #ff6b6d; }
.program--big { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 20px; }
.program--big li { grid-template-columns: 140px 1fr auto; border-top-color: var(--line); padding: 14px 0; }
.program--big time { color: var(--muted); }
.program--big li.is-live { background: #fff5f5; margin: 0 -20px; padding: 14px 20px; }
.program--big li.is-live time, .program--big li.is-live a, .program--big li.is-live span { color: var(--red); }
.badge-live { font-style: normal; }

/* Shows */
.shows-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.show-card { display: block; }
.show-card .thumb { aspect-ratio: 1 / 1; }
.show-card h3 { margin: 12px 0 4px; font: 800 18px/1.2 var(--head); }
.show-card:hover h3 { color: var(--red); }
.show-when { display: block; color: var(--red); font-weight: 700; font-size: 13px; }
.show-card p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.show-page { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 36px; padding: 32px 0 48px; align-items: start; }
.show-page-img img { width: 100%; height: auto; border-radius: 14px; }
.show-page .kicker { color: var(--red); font-weight: 800; text-transform: uppercase; font-size: 13px; letter-spacing: .5px; }
.show-page .page-title { margin: 6px 0 12px; font: 900 clamp(28px, 3.4vw, 42px)/1.05 var(--head); }
.show-times { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.show-times li { background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; padding: 7px 12px; border-radius: 999px; }
.show-page .radio-player { margin-top: 24px; padding: 18px; background: var(--navy); color: #fff; border-radius: 14px; }
.page-head { margin: 28px 0 16px; }
.page-title { margin: 0; font: 900 clamp(26px, 3vw, 38px)/1.1 var(--head); }

/* Day tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tab { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 9px 16px; font: 700 13px/1 var(--head); text-transform: uppercase; letter-spacing: .4px; color: var(--ink-2); }
.tab:hover { border-color: var(--ink-2); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Sidebar player */
.radio-box .rp-show { color: var(--muted); }
.radio-box .rp-show a, .radio-box .rp-show b { color: var(--ink); }
.radio-box .rp-badge { background: #fff0f0; color: var(--red); }

/* Bottom radio bar (every page but the homepage) */
.radio-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--navy); color: #fff; border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 -8px 24px -12px rgba(0,0,0,.5); }
.radio-bar .wrap { display: flex; align-items: center; gap: 14px; height: 64px; }
.radio-bar .rp-play { width: 44px; height: 44px; box-shadow: none; flex-shrink: 0; }
.radio-bar-text { min-width: 0; display: grid; gap: 3px; }
.radio-bar-text strong { font: 800 15px/1.2 var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-bar .rp-badge { padding: 3px 7px; font-size: 11px; }
.radio-bar-pop { margin-left: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; font-size: 18px; color: #fff; }
.radio-bar-pop:hover { background: var(--navy-2); }
body:not(.home) { padding-bottom: 64px; }

/* Pop-up player window */
body.popup-player { min-height: 100vh; margin: 0; padding: 24px 16px; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.popup-logo { width: min(320px, 80vw); height: auto; }
.popup-player .radio-player--big { width: min(460px, 100%); }
.popup-note { color: #8f8f97; font-size: 13px; text-align: center; }

.footer-freq { color: #a8a8b0; margin: 14px 0; }

@media (max-width: 960px) {
  .radio-hero-grid { grid-template-columns: 1fr; }
  .show-page { grid-template-columns: 1fr; }
  .listen-btn span { display: none; }
  .listen-btn { padding: 0 10px; }
  /* The network bar sits above the drawer, so the close button goes below it. */
  .nav { padding-top: 84px; }
  .nav-close { top: 38px; }
}
@media (max-width: 640px) {
  /* The logo gives way so search, listen, LIVE TV and the menu always fit. */
  .header .wrap { gap: 8px; }
  .logo { flex-shrink: 1; min-width: 0; }
  .logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 30px; }
  .header-actions { flex-shrink: 0; gap: 4px; }
  .header .icon-btn, .listen-btn { width: 36px; height: 36px; padding: 0; justify-content: center; }
  .header .live-btn { height: 36px; padding: 0 8px; gap: 5px; font-size: 11px; letter-spacing: .2px; white-space: nowrap; }
  .radio-hero { padding: 20px 0 26px; }
  .radio-player--big { padding: 18px; }
  .radio-player--big .rp-play { width: 76px; height: 76px; }
  .program--big li { grid-template-columns: 110px 1fr; }
  .program--big li .badge-live { display: none; }
  /* Shows: a swipeable row of small cards instead of a tall stack of full-width squares. */
  .shows-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .shows-grid::-webkit-scrollbar { display: none; }
  .shows-grid .show-card { flex: 0 0 42%; max-width: 170px; scroll-snap-align: start; }
  .show-card .thumb { border-radius: 10px; }
  .show-card h3 { margin: 8px 0 2px; font-size: 15px; }
  .show-when { font-size: 12px; }
  /* The full list on /emisiuni/ stays a grid, two per row. */
  .shows-grid--all { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; overflow: visible; margin: 0; padding: 0; }
  .shows-grid--all .show-card { max-width: none; }
}
.program .badge-live, .program--big .badge-live { position: static; display: inline-flex; align-items: center; gap: 5px; background: var(--red); color: #fff; font: 800 10px/1 var(--body); letter-spacing: .5px; padding: 4px 6px; border-radius: 4px; }
.popup-player .rp-popup { display: none; }

/* Sound waves behind the player */
.radio-hero { position: relative; overflow: hidden; }
.radio-waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.radio-hero-grid { position: relative; z-index: 1; }
.radio-hero .radio-player--big, .radio-hero .radio-today { background: rgba(28,28,32,.42); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); border: 1px solid rgba(255,255,255,.06); }
.radio-hero { padding-bottom: 56px; }
body.popup-player > *:not(.radio-waves) { position: relative; z-index: 1; }
body.popup-player .radio-waves { position: fixed; }

/* Mozaic folcloric: the horă under the player while the show is on air */
html.radio-mozaic { --dance-h: clamp(210px, 25vw, 360px); }
.radio-dance { position: absolute; left: 0; bottom: 0; width: 100%; height: var(--dance-h); pointer-events: none; }
html.radio-mozaic .radio-hero { padding-bottom: calc(var(--dance-h) + 14px); }
html.radio-mozaic body.popup-player { padding-bottom: calc(var(--dance-h) + 10px); }
body.popup-player .radio-dance { position: fixed; z-index: 1; }

/* "Din rețeaua noastră": headlines from Canal Sud and TV UNO */
.network .net-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.net-col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.net-name { margin: 0 0 10px; font: 800 18px/1.2 var(--head); }
.net-name a:hover { color: var(--red); }
.net-name span { font: 600 12px/1 var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-left: 6px; }
.net-list { list-style: none; margin: 0; padding: 0; }
.net-list li { border-top: 1px solid var(--line); }
.net-list li:first-child { border-top: 0; }
.net-list a { display: block; padding: 10px 0; font-weight: 600; line-height: 1.35; }
.net-list a:hover { color: var(--red); }
.net-list time { color: var(--red); font-weight: 800; font-size: 13px; margin-right: 8px; }
.net-first a { display: grid; grid-template-columns: 132px 1fr; gap: 12px; align-items: start; }
.net-first img { width: 132px; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
@media (max-width: 760px) { .network .net-grid { grid-template-columns: 1fr; } .net-first a { grid-template-columns: 96px 1fr; } .net-first img { width: 96px; } }

/* Confirmations (e.g. "link copied") at the top, above ad bars and floating widgets. */
.toast { top: 84px; bottom: auto; transform: translate(-50%, -16px); z-index: 2147483647; box-shadow: 0 8px 24px rgba(0,0,0,.25); font-weight: 600; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); }

/* Copy protection (visitors only) */
body.no-copy { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
body.no-copy input, body.no-copy textarea, body.no-copy select, body.no-copy [contenteditable] { -webkit-user-select: text; user-select: text; }
body.no-copy img { -webkit-user-drag: none; }
.locked-note { padding: 96px 0; text-align: center; }
.locked-note h1 { margin: 0 0 8px; font: 800 clamp(26px, 3vw, 36px)/1.1 var(--head); }
.locked-note p { margin: 0; color: var(--muted); }

/* Sudwire's credit line closes the article in normal text; the AI note at its end is set very small */
p.sudwire-source, .prose p.sudwire-source { font-size: 1em; opacity: 1; color: inherit; margin-top: 1.6em; }
p.sudwire-source .sudwire-ai { font: 400 7px/1 var(--body, system-ui, sans-serif); color: #6b6b73; letter-spacing: .2px; }
p.sudwire-ai-label, .prose p.sudwire-ai-label { font: 400 11px/1.4 var(--body, system-ui, sans-serif); color: #8b8b93; opacity: 1; margin: 0 0 1.2em; }
