/* ==========================================================================
   gtradio.ge — Radio Georgian Times
   ბრენდის ფერი: #d81c1c
   ========================================================================== */

:root {
  --red: #d81c1c;
  --red-dark: #b01313;
  --ink: #16181d;
  --text: #22252b;
  --muted: #6b7280;
  --line: #e6e7ea;
  --bg: #ffffff;
  --soft: #f4f5f7;
  --card: #ffffff;
  --nav: #d81c1c;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 2px 8px rgba(16, 24, 40, .06);
  --radius: 10px;
  --wrap: 1240px;
  --font: "Noto Sans Georgian", "DejaVu Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
:root[data-theme="dark"] {
  --ink: #f2f3f5;
  --text: #d9dbe0;
  --muted: #9aa0aa;
  --line: #2a2e36;
  --bg: #0f1115;
  --soft: #171a20;
  --card: #151820;
  --nav: #b51717;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
button { font: inherit; cursor: pointer; }
svg { width: 18px; height: 18px; fill: currentColor; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ── ზედა ზოლი ── */
.topbar { background: var(--ink); color: #c9cbd1; font-size: 13px; }
:root[data-theme="dark"] .topbar { background: #07080a; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 12px; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials svg { width: 16px; height: 16px; }
.top-live { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #fff; }
.theme-toggle { background: none; border: 0; color: inherit; padding: 4px; display: flex; }

/* ── ლოგო / ბანერი ── */
.masthead { background: var(--bg); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 72px; width: auto; }
:root[data-theme="dark"] .logo img, :root[data-theme="dark"] .footer-logo img { filter: brightness(0) invert(1); }
.masthead-ad img { max-height: 80px; width: auto; border-radius: 4px; }

/* ── ნავიგაცია ── */
.navbar { background: var(--nav); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.navbar .wrap { display: flex; align-items: center; gap: 8px; min-height: 50px; }
.mainnav { display: flex; flex-wrap: wrap; flex: 1; min-width: 0; }
.mainnav a { color: #fff; font-weight: 600; font-size: 14px; padding: 14px 9px; position: relative; white-space: nowrap; }
.mainnav a:hover, .mainnav a.active { background: rgba(0, 0, 0, .16); color: #fff; }
.mainnav a.active::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 0; height: 3px; background: #fff; border-radius: 3px 3px 0 0; }
.nav-live { display: inline-flex; align-items: center; gap: 6px; color: var(--red); background: #fff; font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 20px; white-space: nowrap; }
.nav-live:hover { color: var(--red-dark); }
.nav-search { display: flex; align-items: center; background: rgba(255, 255, 255, .16); border-radius: 20px; overflow: hidden; }
.nav-search input { background: transparent; border: 0; color: #fff; padding: 7px 4px 7px 14px; width: 120px; font: inherit; font-size: 14px; outline: none; }
.nav-search input::placeholder { color: rgba(255, 255, 255, .75); }
.nav-search button { background: none; border: 0; color: #fff; padding: 7px 12px 7px 6px; display: flex; }
.burger { display: none; background: none; border: 0; padding: 10px 6px; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; transition: .2s; }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; animation: pulse 1.4s infinite; }
.top-live .live-dot { background: var(--red); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(216, 28, 28, .6); } 70% { box-shadow: 0 0 0 7px rgba(216, 28, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(216, 28, 28, 0); } }

/* ── მორბენალი ხაზი ── */
.ticker { background: var(--soft); border-bottom: 1px solid var(--line); font-size: 14px; }
.ticker .wrap { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.ticker-label { background: var(--red); color: #fff; font-weight: 700; padding: 3px 10px; border-radius: 4px; font-size: 13px; flex: none; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-move { display: inline-flex; gap: 36px; white-space: nowrap; animation: ticker 90s linear infinite; }
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker-move b { color: var(--red); margin-right: 4px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-move { animation: none; } .live-dot { animation: none; } }

main.wrap { padding-top: 22px; padding-bottom: 40px; min-height: 60vh; }

/* ── ტეგი / მეტა ── */
.tag { display: inline-block; background: var(--red); color: #fff !important; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 4px; line-height: 1.6; letter-spacing: .01em; }
.tag:hover { background: var(--red-dark); }
.meta { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.meta time::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 4px; vertical-align: -1px; background: currentColor; -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16zm1 3v5.4l3.6 2.1-1 1.7L11 13.6V7z"/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20zm0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16zm1 3v5.4l3.6 2.1-1 1.7L11 13.6V7z"/></svg>') center/contain no-repeat; opacity: .8; }

/* ── სექციის სათაური ── */
.section-title, .box-title { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--line); margin: 0 0 16px; font-size: 20px; }
.section-title span, .box-title span { display: inline-block; position: relative; padding-bottom: 8px; margin-bottom: -2px; border-bottom: 2px solid var(--red); }
.section-title .more, .box-title a { font-size: 13px; font-weight: 600; color: var(--red); }
.box-title { font-size: 17px; }
.page-title { font-size: 28px; margin-bottom: 18px; }

/* ── ბარათები ── */
.thumb, .hero-img, .overlay > a { display: block; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.thumb img, .hero-img img, .overlay img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover img, .row-card:hover img, .wide-card:hover img, .overlay:hover img, .hero:hover img { transform: scale(1.04); }

.card { display: flex; flex-direction: column; gap: 10px; }
.card .thumb { aspect-ratio: 16 / 10; }
.card h3 { font-size: 16px; margin: 6px 0 6px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; }

.hero { position: relative; }
.hero-img { aspect-ratio: 16 / 9; }
.hero-body { padding-top: 14px; }
.hero h2 { font-size: 28px; margin: 8px 0; }
.hero p { color: var(--muted); margin: 0 0 8px; }

.overlay { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.overlay > a { height: 100%; border-radius: 0; }
.overlay .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .85)); }
.overlay-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; color: #fff; pointer-events: none; }
.overlay-body a { pointer-events: auto; }
.overlay h3 { color: #fff; font-size: 16px; margin: 6px 0 4px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.overlay h3 a:hover { color: #fff; text-decoration: underline; }
.overlay .meta { color: rgba(255, 255, 255, .8); }

.row-card { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; }
.row-card .thumb { aspect-ratio: 4 / 3; }
.row-card h3 { font-size: 15px; font-weight: 600; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.wide-card { display: grid; gap: 12px; }
.wide-card .thumb { aspect-ratio: 16 / 9; }
.wide-card h3 { font-size: 20px; margin: 8px 0 6px; }
.wide-card p { color: var(--muted); margin: 0 0 6px; font-size: 15px; }
.stack .wide-card { grid-template-columns: 280px 1fr; align-items: start; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.stack .wide-card h3 { font-size: 18px; margin-top: 0; }
.stack > .row-card { padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.stack > .row-card:last-child { border: 0; }

/* ── მთავარი გვერდი ── */
.home-top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; margin-bottom: 30px; }
.home-lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-content: start; }
.home-lead .hero h2 { font-size: 24px; }
.grid-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.grid-2x2 .overlay { aspect-ratio: 1 / 1; }
.grid-2x2 .overlay h3 { font-size: 14px; -webkit-line-clamp: 4; }
.home-feed { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.timeline { list-style: none; margin: 0; padding: 0; max-height: 520px; overflow: auto; scrollbar-width: thin; }
.timeline li { position: relative; padding: 0 0 12px 18px; margin-bottom: 12px; border-bottom: 1px dashed var(--line); font-size: 14.5px; line-height: 1.45; }
.timeline li:last-child { border: 0; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.timeline .meta { font-size: 12px; margin-bottom: 2px; color: var(--red); font-weight: 600; }
.timeline .meta time::before { display: none; }
.timeline a { font-weight: 500; }

.popular { counter-reset: pop; list-style: none; margin: 0; padding: 0; }
.popular li { counter-increment: pop; display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; font-weight: 500; }
.popular li:last-child { border: 0; }
.popular li::before { content: counter(pop); font-size: 26px; font-weight: 800; color: var(--red); opacity: .85; line-height: 1; }

.cat-section { margin: 34px 0; }
.cat-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 26px; }
.cat-rows { display: flex; flex-direction: column; gap: 16px; }
.cat-rows .row-card { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cat-rows .row-card:last-child { border: 0; padding: 0; }
.cat-section.alt .cat-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.cat-section.alt .wide-card { order: 2; }

.home-mid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 26px; margin: 34px 0; padding: 24px; background: var(--ink); border-radius: 14px; }
:root[data-theme="dark"] .home-mid { background: #07080a; }
.home-mid .popular-box { background: transparent; border-color: rgba(255, 255, 255, .12); }
.home-mid .popular-box .box-title { border-color: rgba(255, 255, 255, .15); }
.home-mid .popular-box h2, .home-mid .popular a { color: #fff; }
.home-mid .popular li { border-color: rgba(255, 255, 255, .1); }
.home-mid .live-widget { border: 0; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 34px 0; }
.duo .stack .row-card { padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }

.programs-strip { margin: 34px 0 10px; }
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.program-grid.scroller { grid-auto-flow: column; grid-auto-columns: calc(25% - 12px); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.program-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--soft); scroll-snap-align: start; }
.program-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .4s; }
.program-card:hover img { transform: scale(1.05); }
.program-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }

/* ── ლაივ ვიჯეტები ── */
.live-widget { background: #000; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.live-head { background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 12px; display: flex; align-items: center; gap: 8px; }
:root[data-theme="dark"] .live-head { background: #07080a; }
.badge-live { background: var(--red); color: #fff; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 3px; letter-spacing: .05em; }
.live-frame { position: relative; aspect-ratio: 16 / 9; }
.live-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live-facade { position: absolute; inset: 0; width: 100%; border: 0; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: radial-gradient(circle at 30% 20%, rgba(216, 28, 28, .55), transparent 55%), linear-gradient(135deg, #1b1e25, #0b0c10); }
.live-radio .live-facade { background: radial-gradient(circle at 70% 30%, rgba(216, 28, 28, .6), transparent 55%), linear-gradient(135deg, #22252d, #0b0c10); }
.live-facade .live-dot { position: absolute; top: 12px; right: 12px; background: var(--red); }
.live-play { width: 58px; height: 58px; border-radius: 50%; background: var(--red); position: relative; box-shadow: 0 6px 20px rgba(216, 28, 28, .45); transition: transform .2s; }
.live-play::after { content: ""; position: absolute; left: 23px; top: 18px; border-left: 17px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.live-facade:hover .live-play { transform: scale(1.08); }
.live-label { font-weight: 700; font-size: 15px; }
.live-page { display: grid; grid-template-columns: 1fr; gap: 24px; }

/* ── შიდა გვერდები ── */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; }
.side .sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 66px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--red); }

.article-title { font-size: 32px; line-height: 1.25; margin-bottom: 12px; letter-spacing: -.01em; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.article-meta .views::before { content: "👁 "; }
.article-meta .author::before { content: "✍ "; }
.article-image { margin: 0 0 16px; }
.article-image img { width: 100%; border-radius: var(--radius); }
.article-body { font-size: 18px; line-height: 1.75; color: var(--text); overflow-wrap: anywhere; }
.article-body p { margin: 0 0 1.1em; }
.article-body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.article-body img { border-radius: 8px; margin: 1em auto; height: auto !important; }
.article-body h2, .article-body h3 { margin-top: 1.4em; }
.article-body blockquote { margin: 1.4em 0; padding: 12px 20px; border-left: 4px solid var(--red); background: var(--soft); border-radius: 0 8px 8px 0; font-style: italic; }
.article-body blockquote.twitter-tweet { font-style: normal; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; display: block; overflow-x: auto; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: 6px 10px; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body figure { margin: 1.2em 0; }
.article-body figcaption { font-size: 14px; color: var(--muted); text-align: center; }
.article-body [style*="font-family"], .article-body font { font-family: inherit !important; }
.article-body [style*="font-size"] { font-size: inherit !important; }
.embed { margin: 1.4em 0; }
.embed-video { position: relative; aspect-ratio: 16 / 9; }
.embed-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }
.embed-fb:not(.embed-video) iframe { width: 100%; max-width: 500px; min-height: 560px; border: 0; }
.embed-spotify iframe { width: 100%; height: 152px; border: 0; border-radius: 12px; }

.share { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.share a, .share button { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 20px; color: #fff; border: 0; }
.share a:hover { color: #fff; opacity: .9; }
.s-fb { background: #1877f2; } .s-x { background: #111; } .s-tg { background: #229ed9; } .s-wa { background: #25d366; }
.s-copy { background: var(--soft); color: var(--text) !important; border: 1px solid var(--line) !important; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.tags a { background: var(--soft); border: 1px solid var(--line); padding: 4px 12px; border-radius: 20px; font-size: 13px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 20px 0; }
.gallery img { border-radius: 6px; aspect-ratio: 1; object-fit: cover; }
.related { margin-top: 34px; }
.related .card-grid { grid-template-columns: repeat(3, 1fr); }

.listing .hero { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 34px 0 10px; }
.pagination a, .pagination span { min-width: 40px; text-align: center; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.pagination a:hover { border-color: var(--red); }
.pagination .current { background: var(--red); border-color: var(--red); color: #fff; }
.pagination .dots { border: 0; }

.search-big { display: flex; gap: 8px; margin-bottom: 18px; }
.search-big input { flex: 1; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--card); color: var(--text); }
.search-big button, .btn { background: var(--red); color: #fff; border: 0; border-radius: 10px; padding: 10px 20px; font-weight: 700; display: inline-block; }
.btn:hover, .search-big button:hover { background: var(--red-dark); color: #fff; }

/* სტატიკური გვერდები */
.content-block { font-size: 17px; line-height: 1.7; }
.content-block h3 { margin-top: 1.4em; }
.doc-list { list-style: none; padding: 0; margin: 0 0 1em; }
.doc-list li { border-bottom: 1px solid var(--line); }
.doc-list a { display: flex; align-items: center; gap: 10px; padding: 12px 4px; font-weight: 500; }
.doc-list a::before { content: "📄"; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 5px 0; }
.map iframe { width: 100%; height: 320px; border: 0; border-radius: var(--radius); }
.program-cover img { border-radius: var(--radius); width: 100%; margin-bottom: 20px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.yt { position: relative; cursor: pointer; border-radius: var(--radius); overflow: hidden; background: #000; }
.yt img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; opacity: .9; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 38%; width: 54px; height: 38px; transform: translate(-50%, -50%); background: var(--red); border-radius: 10px; }
.yt-play::after { content: ""; position: absolute; left: 21px; top: 11px; border-left: 15px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.yt-meta { background: var(--card); padding: 8px 10px; font-size: 13.5px; line-height: 1.4; color: var(--text); display: flex; justify-content: space-between; gap: 8px; }
.yt-meta small { color: var(--muted); flex: none; }
.yt iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.more-link { text-align: center; margin-top: 24px; }
.ad-positions img { max-width: 420px; border-radius: 8px; border: 1px solid var(--line); }

/* გამოკითხვა */
.poll { margin-bottom: 20px; }
.poll h2 { font-size: 20px; }
.poll-answer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.poll-bar { grid-column: 1 / -1; height: 8px; background: var(--soft); border-radius: 8px; overflow: hidden; }
.poll-bar i { display: block; height: 100%; background: var(--red); border-radius: 8px; }
.poll-pc { font-size: 13px; color: var(--muted); }
.poll-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 10px; }

/* ── რეკლამა ── */
.ad { text-align: center; margin: 26px 0; }
.ad img { margin: 0 auto; border-radius: 6px; }
.ad-side { display: flex; flex-direction: column; gap: 12px; }
.ad-rotate > a:not(:first-child) { display: none; }

/* ── ფუტერი ── */
.footer { background: var(--ink); color: #b9bcc4; margin-top: 40px; font-size: 14.5px; }
:root[data-theme="dark"] .footer { background: #07080a; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 30px; padding-top: 40px; padding-bottom: 30px; }
.footer h3 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0 0 16px; }
.footer li { padding: 3px 0; }
.footer ul.inline { display: flex; gap: 14px; }
.footer a:hover { color: #fff; }
.footer-logo img { height: 60px; width: auto; filter: brightness(0) invert(1); margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 14px 0; font-size: 13px; }
.footer-bottom a { margin-left: 10px; color: var(--red); }

/* რადიოს ქვედა პანელი */
.radio-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); color: #fff; box-shadow: 0 -4px 20px rgba(0, 0, 0, .25); }
.radio-bar .wrap { display: flex; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.radio-bar-frame { flex: 1; height: 90px; }
.radio-bar-frame iframe { width: 100%; height: 100%; border: 0; }
.radio-bar-close { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; padding: 4px 8px; }
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 55; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--red); color: #fff; font-size: 18px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s; }
.to-top.show { opacity: 1; pointer-events: auto; }
body.radio-open .to-top { bottom: 120px; }

.notfound .search-big { max-width: 560px; }

/* ── რესპონსივი ── */
@media (max-width: 1280px) {
  .nav-search input { width: 0; padding-left: 0; padding-right: 0; transition: width .2s; }
  .nav-search:focus-within input { width: 140px; padding-left: 14px; }
  .mainnav a { padding: 14px 7px; font-size: 13.5px; }
}
@media (max-width: 1100px) {
  .home-top { grid-template-columns: 1fr; }
  .home-feed { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
  .nav-search input { width: 110px; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .mainnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--nav); flex-direction: column; padding: 6px 0 12px; box-shadow: 0 10px 20px rgba(0, 0, 0, .2); }
  .mainnav.open { display: flex; }
  .mainnav a { padding: 12px 20px; }
  .mainnav a.active::after { display: none; }
  .navbar .wrap { position: relative; }
  .nav-search { margin-left: auto; }
  .layout { grid-template-columns: 1fr; }
  .side .sidebar { position: static; }
  .home-lead { grid-template-columns: 1fr; }
  .cat-grid, .cat-section.alt .cat-grid, .home-mid, .duo, .contact-grid { grid-template-columns: 1fr; }
  .cat-section.alt .wide-card { order: 0; }
  .card-grid, .related .card-grid, .video-grid { grid-template-columns: 1fr 1fr; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .program-grid.scroller { grid-auto-columns: 45%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .masthead-ad { display: none; }
  .stack .wide-card { grid-template-columns: 200px 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .topbar .today { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .logo img { height: 56px; }
  .masthead .wrap { justify-content: center; padding-top: 10px; padding-bottom: 10px; }
  .nav-search input { width: 90px; }
  .nav-live { padding: 5px 10px; font-size: 13px; }
  .home-feed { grid-template-columns: 1fr; }
  .grid-2x2 { gap: 10px; }
  .hero h2, .home-lead .hero h2 { font-size: 21px; }
  .article-title { font-size: 24px; }
  .article-body { font-size: 17px; }
  .page-title { font-size: 23px; }
  .card-grid, .related .card-grid, .video-grid { grid-template-columns: 1fr; }
  .row-card { grid-template-columns: 100px 1fr; }
  .stack .wide-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .home-mid { padding: 14px; }
  .program-grid.scroller { grid-auto-columns: 70%; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .radio-bar-frame { height: 70px; }
  .radio-bar strong { display: none; }
}
@media print {
  .topbar, .navbar, .ticker, .side, .share, .related, .footer, .ad, .radio-bar, .to-top, .masthead-ad { display: none !important; }
  .layout { display: block; }
}

/* სურათის გარეშე მთავარი სტატია */
.hero-noimg { background: var(--soft); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 22px 24px; }
.hero-noimg .hero-body { padding-top: 0; }
