/*
Theme Name: Deeyar Signature Classic v48
Theme URI: https://deeyar.tv/
Author: Deeyar TV
Description: Lightweight, secure news theme for Deeyar TV. Same layout and colors as the current homepage (navy, white, red), built without page builders. Supports RTL (Dari/Persian) and LTR (English) through Polylang.
Version: 48.4
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: deeyar
*/

/* ---------- Fonts (existing files in the site's uploads folder) ---------- */
@font-face { font-family: "Deeyar Sans"; font-weight: 400; font-display: swap;
	src: url("../../uploads/2023/05/IRANSansXFaNum-Regular.woff") format("woff"); }
@font-face { font-family: "Deeyar Sans"; font-weight: 700; font-display: swap;
	src: url("../../uploads/2023/05/IRANSansXFaNum-Bold.woff") format("woff"); }

/* ---------- Colors ---------- */
:root {
	--navy: #003542;
	--navy-deep: #0a2434;
	--red: #f70d28;
	--bg: #ffffff;
	--surface: #f6f7f8;
	--text: #212121;
	--muted: #6b7075;
	--line: #e9ebed;
	--band: #212121;
	--radius: 4px;
	--wrap: 1140px;
	--font: "Deeyar Sans", "Iran Sans X Regular", IRANSans, Tahoma, "Segoe UI", Arial, sans-serif;
}
:root[data-theme="dark"] {
	--bg: #1e1e1e; --surface: #262626; --text: #e3e0db; --muted: #a29e98; --line: #303030; --band: #191919; --red: #e2323f;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) { --bg: #1e1e1e; --surface: #262626; --text: #e3e0db; --muted: #a29e98; --line: #303030; --band: #191919; --red: #e2323f; }
}

/* Night mode: matte and soft, no shine (no shadows, slightly dimmed photos) */
:root[data-theme="dark"] .photo-band .photo-slider, :root[data-theme="dark"] .band .band-grid, :root[data-theme="dark"] .live-wrap .player, :root[data-theme="dark"] .menu .sub-menu { box-shadow: none; }
:root[data-theme="dark"] img { filter: brightness(.9); }
:root[data-theme="dark"] .masthead__logo img { filter: invert(1) brightness(.9); }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .photo-band .photo-slider, :root:not([data-theme="light"]) .band .band-grid, :root:not([data-theme="light"]) .live-wrap .player { box-shadow: none; }
	:root:not([data-theme="light"]) img { filter: brightness(.9); }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.8 var(--font); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.5; font-weight: 700; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 999; width: auto; height: auto; clip: auto; background: #fff; color: #000; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #f5f5f5; font-size: 12px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.topbar__start, .topbar__end { display: flex; align-items: center; gap: 14px; }
.socials { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.socials a { display: grid; place-items: center; width: 18px; height: 18px; color: inherit; }
.socials a:hover { color: var(--red); }
.socials svg { width: 15px; height: 15px; fill: currentColor; }
.btn { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 3px; border: 0; line-height: 1.8; }
.btn:hover { color: #fff; filter: brightness(1.08); }
.btn--round { border-radius: 99px; }
.btn--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.mode-toggle { width: 44px; height: 22px; border-radius: 99px; border: 0; background: rgba(255,255,255,.25); position: relative; }
.mode-toggle::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
:root[data-theme="dark"] .mode-toggle::after { transform: translateX(22px); }
:root[dir="rtl"][data-theme="dark"] .mode-toggle::after { transform: translateX(-22px); }

/* ---------- Header ---------- */
.masthead { padding: 18px 0 10px; text-align: center; }
.masthead .custom-logo, .masthead__logo img { max-height: 110px; width: auto; margin-inline: auto; }
:root[data-theme="dark"] .masthead__logo img { filter: invert(1); }
.masthead__title { font-size: 28px; }
.navbar { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 50; }
.admin-bar .navbar { top: 32px; }
.navbar .wrap { display: flex; align-items: center; gap: 10px; min-height: 50px; }
.menu { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 2px; flex: 1; }
.menu a { display: block; padding: 12px 11px; font-size: 15px; font-weight: 700; }
.menu .current-menu-item > a, .menu .current-menu-ancestor > a { color: var(--red); }
.menu li { position: relative; }
.menu .sub-menu { display: none; position: absolute; top: 100%; inset-inline-start: 0; min-width: 210px; background: var(--bg); border: 1px solid var(--line); list-style: none; margin: 0; padding: 6px 0; box-shadow: 0 8px 20px rgba(0,0,0,.08); z-index: 60; }
.menu .sub-menu a { padding: 7px 16px; font-weight: 400; font-size: 14px; }
.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { display: block; }
.icon-btn { background: none; border: 0; color: var(--text); width: 38px; height: 38px; display: grid; place-items: center; }
.icon-btn svg { width: 19px; height: 19px; fill: currentColor; }
.menu-toggle { display: none; }
.search-panel { display: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.search-panel.is-open { display: block; }
.search-form { display: flex; border: 1px solid var(--line); background: var(--bg); }
.search-form input { flex: 1; border: 0; padding: 10px 14px; font: inherit; background: transparent; color: var(--text); min-width: 0; }
.search-form button { border: 0; background: none; color: var(--text); padding: 0 14px; }

/* ---------- Weather & exchange-rate belt ---------- */
.infobar { background: var(--surface); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text); }
.infobar--inline { max-width: 100%; min-width: 0; overflow: hidden; margin-top: 0; border: 1px solid var(--line); border-radius: var(--radius); }
/* Glass look, like the dark caption on the slideshow photos: soft white text that does not glare */
.infobar--inline { background: linear-gradient(180deg, rgba(38,46,54,.88), rgba(20,26,32,.92)); -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%); border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 4px 14px rgba(0,0,0,.12); color: #e9e7e2; }
.infobar--inline .info__item b { color: #f4f2ee; }
.infobar--inline .info__dot { color: rgba(233,231,226,.45); }
/* One box: weather row on top, a thin line, rates row below. Nothing moves. */
.infobar--box { padding: 0; }
.infobox__row { display: flex; align-items: center; gap: 14px; padding: 9px 14px; }
.infobox__row + .infobox__row { border-top: 1px solid rgba(255,255,255,.12); }
.infobox__label { flex: 0 0 auto; min-width: 92px; padding-inline-end: 12px; border-inline-end: 2px solid var(--red); font-weight: 700; font-size: 12.5px; color: #f4f2ee; white-space: nowrap; }
.infobox__items { flex: 1; min-width: 0; overflow: hidden; }
.infobox__track { display: flex; width: max-content; animation: infobelt 45s linear infinite; }
:root[dir="rtl"] .infobox__track { animation-name: infobelt-rtl; }
.infobox__row + .infobox__row .infobox__track { animation-duration: 38s; }
.infobar--box:hover .infobox__track { animation-play-state: paused; }
.infobox__set { display: flex; gap: 34px; padding-inline-end: 34px; }
.infobox__set .info__item { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .infobox__track { animation: none; } }
@media (max-width: 640px) {
	.infobox__row { gap: 10px; padding: 9px 12px; }
	.infobox__label { min-width: 0; font-size: 12px; }
}
[data-theme="dark"] .infobar--inline { background: linear-gradient(180deg, rgba(44,44,44,.9), rgba(30,30,30,.92)); box-shadow: none; color: #dcd9d3; }
.infobar__wrap { overflow: hidden; }
.infobar__track { display: flex; width: max-content; animation: infobelt 60s linear infinite; }
.infobar:hover .infobar__track { animation-play-state: paused; }
.infobar__row { display: flex; align-items: center; gap: 14px; padding: 8px 14px; white-space: nowrap; }
.info__item b { font-weight: 700; }
.info__item--sep { padding-inline-start: 14px; border-inline-start: 2px solid var(--red); }
.info__dot { color: var(--muted); font-size: 10px; }
@keyframes infobelt { from { transform: translateX(0); } to { transform: translateX(-50%); } }
:root[dir="rtl"] .infobar__track { animation-name: infobelt-rtl; }
@keyframes infobelt-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .infobar__track { animation: none; } }

/* ---------- Layout ---------- */
/* The box is glued to the bottom of the slideshow: no white gap, one dark block. */
.layout--top .stack > .slider + .infobar { margin-top: 0; border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }
.layout--top .stack > .slider:has(+ .infobar) { border-radius: var(--radius) var(--radius) 0 0; }
.layout--top .stack > .slider + .infobar--inline { background: var(--infobox-bg, linear-gradient(180deg, #0f2a3a, #0a2434)); box-shadow: 0 6px 16px rgba(0,0,0,.14); }
[data-theme="dark"] .layout--top .stack > .slider + .infobar--inline { box-shadow: none; }
.site-main { padding: 26px 0 40px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: start; }
.layout + .layout { margin-top: 32px; }
.layout--tight { margin-top: 24px !important; }
/* Line up the sidebar heading with the section labels (same height and spacing). */
.sidebar__latest .section-head { border-bottom: 0; margin-bottom: 8px; }
/* "Latest news" always ends exactly where the section cards end */
.layout--tight, .layout--top { align-items: stretch; }
.layout--tight > .sidebar, .layout--top > .sidebar { display: flex; flex-direction: column; }
.sidebar__latest { flex: 1; display: flex; flex-direction: column; }
.sidebar__latest .list--plain { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.sidebar__latest .list--plain > * + * { margin-top: 0; padding-top: 0; }
.sidebar__latest .card--small { grid-template-columns: 1fr 128px; }
/* Homepage "Latest": 4 stories, a little bigger, still ending level with the cards */
.sidebar__latest--four .card--small { grid-template-columns: 1fr 175px; align-items: center; }
.sidebar__latest--four .card--small + .card--small { border-top: 1px solid var(--line); padding-top: 22px !important; }
.sidebar__latest--four .card--small .card-title { font-size: 15px; line-height: 1.8; }
@media (max-width: 1024px) { .sidebar__latest .list--plain { justify-content: flex-start; gap: 16px; } }
.sidebar__latest .section-head h2 { font-size: 15px; line-height: 1.8; padding-bottom: 4px; }
.sidebar__latest .section-head h2::after { bottom: 0; width: 100%; }
.stack > * + * { margin-top: 32px; }
.sidebar .sticky { position: sticky; top: 70px; }

/* ---------- Section heading ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.section-head h2 { font-size: 16px; padding-bottom: 8px; position: relative; }
.section-head h2::after { content: ""; position: absolute; bottom: -1px; inset-inline-start: 0; width: 26px; height: 3px; background: var(--red); }
.section-head a.more { font-size: 12px; color: var(--muted); }

/* ---------- Ticker ---------- */
.ticker { display: flex; align-items: stretch; border: 1px solid var(--line); margin-bottom: 26px; background: var(--bg); }
.ticker__label { background: var(--red); color: #fff; font-weight: 700; font-size: 12px; padding: 7px 14px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.ticker__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.ticker__items { flex: 1; position: relative; overflow: hidden; min-height: 38px; }
.ticker__item { position: absolute; inset: 0; padding: 0 14px; display: flex; align-items: center; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .4s; }
.ticker__item.is-active { opacity: 1; }
.ticker__nav { display: flex; }
.ticker__nav button { width: 34px; background: none; border: 0; border-inline-start: 1px solid var(--line); color: var(--muted); }

/* ---------- Live box ---------- */
.livebox { border: 1px solid var(--line); padding: 16px; }
.livebox__title { color: var(--red); font-size: 18px; display: flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--red); padding-bottom: 8px; margin-bottom: 12px; }
.livebox__title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: pulse 1.4s infinite; }
.player { position: relative; aspect-ratio: 16 / 9; background: #111; }
.player video, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #111; }
.player__offline { position: absolute; inset: 0; display: none; place-items: center; color: #ccc; font-size: 14px; text-align: center; padding: 16px; }
.player.is-offline .player__offline { display: grid; }
.player.is-offline video { visibility: hidden; }

/* ---------- Top news slider ---------- */
.slider { position: relative; border-radius: var(--radius); overflow: hidden; background: #111; }
.slider__track { position: relative; aspect-ratio: 16 / 9.5; }
.slider__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slider__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slider__slide .card--overlay, .slider__slide .thumb { height: 100%; border-radius: 0; }
.slider__slide .card--hero .thumb { aspect-ratio: auto; }
.slider__slide .card__body { padding-bottom: 42px; }
.slider__slide.is-active .thumb img, .slider__slide.is-leaving .thumb img { animation: slowzoom calc(var(--slide-time, 5s) + 1s) linear both; }
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.05); } }
.slider.is-paused .slider__slide.is-active .thumb img { animation-play-state: paused; }
.slider__arrow { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .2s, background .2s; }
.slider:hover .slider__arrow, .slider__arrow:focus-visible { opacity: 1; }
.slider__arrow:hover { background: var(--red); }
.slider__arrow svg { width: 22px; height: 22px; fill: currentColor; }
.slider__arrow--prev { inset-inline-start: 12px; }
.slider__arrow--next { inset-inline-end: 12px; }
.slider__dots { position: absolute; bottom: 16px; inset-inline-end: 16px; z-index: 3; display: flex; gap: 6px; }
.slider__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.5); transition: width .25s, background .25s; }
.slider__dots button.is-active { width: 24px; background: var(--red); }
@media (hover: none) { .slider__arrow { opacity: 1; width: 34px; height: 34px; } }

/* Time bar: fills up until the next photo */
.slider__progress { position: absolute; inset: auto 0 0 0; height: 3px; background: rgba(255,255,255,.25); z-index: 3; }
.slider__progress span { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: left center; transform: scaleX(0); animation: slidetime var(--slide-time, 5s) linear forwards; }
:root[dir="rtl"] .slider__progress span { transform-origin: right center; }
.slider.is-paused .slider__progress span { animation-play-state: paused; }
@keyframes slidetime { to { transform: scaleX(1); } }

/* Slide effect: one photo moves out, the next moves in */
.slider--slide .slider__track { overflow: hidden; }
.slider--slide .slider__slide { opacity: 1; visibility: visible; transform: translateX(100%); transition: transform 1.3s cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.slider--slide .slider__slide.is-active { transform: translateX(0); }

/* Remaining sections: one row of four */
.four .grid-4 { gap: 20px; }
.four .trio .card-title { font-size: 14px; }

/* Culture & Knowledge: six equal cards */
.six__grid { row-gap: 26px; }
.six__media { position: relative; margin-bottom: 10px; }
.six__media .thumb { aspect-ratio: 16 / 10; }
.six__media .badge { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; }
.six .card-title { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.six .grid-3 + .grid-3 { border-top: 0; }

/* Photo slideshow: dark band like the sports band, photo as wide as the page content */
.photo-band { background: transparent; color: #fff; padding: 0; margin-top: 40px; }
.photo-band .photo-slider { border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.photo-slider { position: relative; }
.photo-band__title { position: absolute; top: 16px; inset-inline-start: 18px; z-index: 4; margin: 0; font-size: 20px; line-height: 1.5; padding-bottom: 4px; border-bottom: 3px solid var(--red); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.photo-band__title a, .photo-band__title a:hover { color: #fff; }
.photo-band .section-head { border-color: rgba(255,255,255,.15); }
.photo-band .section-head h2 a { color: #fff; }
.photo-band .slider { border-radius: 0; }
.photo-band .slider__track { aspect-ratio: 17 / 8; }
.photo-band .card--hero .card-title { font-size: 24px; }
.photo-band + .wrap .layout { margin-top: 40px !important; }
@media (max-width: 640px) {
	.photo-band .slider__track { aspect-ratio: 4 / 3.2; }
	.photo-band .card--hero .card-title { font-size: 18px; }
}

/* ---------- Cards ---------- */
.thumb { position: relative; display: block; overflow: hidden; background: var(--surface); aspect-ratio: 16 / 10; border-radius: var(--radius); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.badge { display: inline-block; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; padding: 1px 8px; border-radius: 2px; line-height: 1.9; }
.badge:hover { color: #fff; }
.meta { color: var(--muted); font-size: 11px; display: flex; gap: 10px; flex-wrap: wrap; }
.card-title { font-size: 15px; line-height: 1.65; }
.card-excerpt { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.readmore { display: inline-block; margin-top: 8px; font-size: 11px; color: var(--muted); border: 1px solid var(--line); padding: 2px 10px; }

.card--overlay { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.card--overlay .thumb { aspect-ratio: 16 / 11; border-radius: 0; }
.card--overlay .card__body { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; }
.card--overlay .card__body a:hover { color: #fff; text-decoration: underline; }
.card--overlay .card-title { font-size: 16px; }
.card--overlay .meta { color: rgba(255,255,255,.8); }
.card--overlay .badge { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; }
.card--hero .thumb { aspect-ratio: 16 / 9.5; }
.card--hero .card-title { font-size: 26px; }

.card--small { display: grid; grid-template-columns: 1fr 120px; gap: 12px; align-items: start; }
.card--small .thumb { aspect-ratio: 4 / 3; order: 2; }
.card--small .card-title { font-size: 13px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-height: calc(2 * 1.7em); }
.card--list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.card--list .thumb { order: 2; aspect-ratio: 4 / 3; }
.card--list .card-title { font-size: 18px; }

.feature-badge, .card--list .badge { position: absolute; top: 10px; inset-inline-end: 10px; }
.card--top .thumb { margin-bottom: 10px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 + .grid-3 { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
/* Row with two sections: each card is wider, but the photo keeps the same height as in a row of three. */
.grid-3--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3--two .card--top .thumb { aspect-ratio: 2.4 / 1; }
.trio__label { display: inline-block; font-size: 15px; font-weight: 700; padding-bottom: 4px; margin-bottom: 8px; border-bottom: 3px solid var(--red); }
.trio .card-title { font-size: 14px; }
.trio__more { list-style: none; margin: 8px 0 0; padding: 0; }
.trio__more li { font-size: 13px; line-height: 1.7; padding: 6px 0 0; margin-bottom: 6px; max-height: calc(2 * 1.7em + 6px); border-top: 1px solid var(--line); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.trio .card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; }
.trio .card--top .thumb { margin-bottom: 8px; }
.trio__more li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-inline-end: 8px; vertical-align: middle; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.list > * + * { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.list--plain > * + * { border-top: 0; padding-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.empty { background: var(--surface); color: var(--muted); padding: 24px; text-align: center; font-size: 13px; }

/* ---------- Dark sports band ---------- */
.band { background: transparent; color: #fff; padding: 0; margin: 40px 0; }
.band .band-grid { border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.band .card--overlay { border-radius: 0; }
.band .grid-2 { gap: 3px !important; }
.band-grid { gap: 3px !important; }
.band-grid > .grid-2 { grid-auto-rows: 1fr; }
.band-grid > .grid-2 .card--overlay, .band-grid > .card--overlay { height: 100%; }
.band-grid > .grid-2 .card--overlay .thumb { aspect-ratio: auto; height: 100%; min-height: 190px; }
.band .section-head { border-color: rgba(255,255,255,.15); }
.band-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
.band-grid .grid-2 { gap: 16px; }
.band-grid .card--hero .thumb { aspect-ratio: auto; height: 100%; min-height: 380px; }
.band-grid .card--overlay .thumb { aspect-ratio: 4 / 3.4; }

/* ---------- Program video ---------- */
.program .section-head h2 { color: var(--red); font-size: 20px; }

/* Headlines on the homepage and lists: at most 2 lines, then "…" (readers click for the rest) */
.card .card-title, .trio .card-title, .six .card-title, .band .card-title, .slider .card-title {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* Small headlines under the cards (red dot): one line. Sidebar next to photos: two lines. */
.trio__more li {
	display: -webkit-box; -webkit-line-clamp: 1 !important; -webkit-box-orient: vertical; overflow: hidden; max-height: calc(1.7em + 6px);
}
.card--small .card-title {
	display: -webkit-box; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical; overflow: hidden; max-height: calc(2 * 1.7em);
}
.card .card-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Single ---------- */
.entry-header { margin-bottom: 18px; }
.entry-title { font-size: 30px; line-height: 1.55; margin: 10px 0; }
.entry-lead { color: var(--muted); font-size: 16px; }
.entry-figure { margin: 0 0 18px; }
.entry-figure img { width: 100%; border-radius: var(--radius); }
.entry-figure figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.entry-content { font-size: 17px; line-height: 2.05; }
.entry-content p { margin: 0 0 1.2em; }
.entry-content a { color: var(--red); text-decoration: underline; }
.entry-content img, .entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.entry-content blockquote { margin: 1.4em 0; padding: 4px 18px; border-inline-start: 4px solid var(--red); color: var(--muted); }
.entry-content h2 { font-size: 22px; margin: 1.4em 0 .6em; }
.entry-content h3 { font-size: 19px; margin: 1.2em 0 .5em; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content td, .entry-content th { border: 1px solid var(--line); padding: 6px 10px; }
.entry-content .wp-caption, .entry-content figure { max-width: 100%; margin: 1.2em 0; }
.entry-tags { margin-top: 24px; display: flex; gap: 6px; flex-wrap: wrap; }
.entry-tags a { font-size: 12px; background: var(--surface); padding: 2px 10px; }
.share { display: flex; gap: 8px; margin: 22px 0; flex-wrap: wrap; }
.share a { font-size: 12px; padding: 5px 12px; color: #fff; background: var(--navy); border-radius: 3px; }
.share a:hover { color: #fff; background: var(--red); }
.related { margin-top: 36px; }
.page-title { font-size: 24px; margin-bottom: 20px; }
.pagination { margin-top: 28px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { min-width: 36px; padding: 4px 10px; text-align: center; border: 1px solid var(--line); }
.pagination .current { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Live page ---------- */
.live-page { background: #000; color: #fff; min-height: 100vh; display: flex; flex-direction: column; }
.live-page__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--navy-deep); }
.live-page__bar a { color: #fff; }
.live-page .player { flex: 1; aspect-ratio: auto; min-height: 56vw; max-height: calc(100vh - 60px); }

/* Live page inside the normal site frame */
.live-wrap { max-width: 1200px; }
.live-title { font-size: 26px; margin: 6px 0 22px; }
.live-wrap .player { border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.live-back { margin: 22px 0 10px; text-align: center; }
.live-back .btn { font-size: 14px; padding: 8px 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #a8a8aa; margin-top: 40px; }
.site-footer a { color: #d6d9dc; }
.site-footer a:hover { color: var(--red); }
.footer-top { padding: 44px 0 30px; text-align: center; }
.footer-brand { color: var(--red); font-size: 20px; margin-bottom: 12px; }
.footer-about { max-width: 640px; margin: 0 auto; font-size: 14px; line-height: 2.1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 14px 0; font-size: 12px; }
.footer-bottom .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-menu { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.to-top { position: fixed; bottom: 18px; inset-inline-end: 18px; width: 40px; height: 40px; border-radius: 3px; border: 1px solid var(--line); background: var(--bg); color: var(--text); display: none; place-items: center; z-index: 40; }
.to-top.is-visible { display: grid; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar .sticky { position: static; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.band-grid { grid-template-columns: 1fr; }
	.band-grid .card--hero .thumb { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 782px) {
	.admin-bar .navbar { top: 0; }
	.menu-toggle { display: grid; }
	.navbar .menu { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; max-height: 75vh; overflow-y: auto; }
	.navbar.is-open .menu { display: flex; }
	.navbar .wrap { justify-content: space-between; position: relative; }
	.menu .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding-inline-start: 12px; }
	.topbar__date { display: none; }
	.masthead .custom-logo, .masthead__logo img { max-height: 70px; }
}
@media (max-width: 640px) {
	.grid-2, .grid-3, .split, .card--list { grid-template-columns: 1fr; }
	.grid-3--two .card--top .thumb { aspect-ratio: 16 / 10; }
	.card--list .thumb { order: 0; }
	.card--hero .card-title { font-size: 19px; }
	.entry-title { font-size: 23px; }
	.entry-content { font-size: 16px; }
	.socials--top { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .topbar, .navbar, .sidebar, .site-footer, .share, .to-top { display: none !important; } .layout { display: block; } }


/* Classic v48.1: headlines remain readable without mouse hover. */
.slider .slider__slide .card--overlay .card__body,
.photo-slider .slider__slide .card--overlay .card__body,
.band .card--overlay .card__body {
    opacity: 1; visibility: visible;
    background: linear-gradient(to top, rgba(4, 15, 24, .93) 0%, rgba(4, 15, 24, .48) 60%, transparent 100%);
}
.slider .slider__slide .card__body .card-title,
.slider .slider__slide .card__body .card-title a,
.slider .slider__slide .card__body .card-title a:visited,
.photo-slider .card__body .card-title a,
.band .card__body .card-title a,
.band .card__body .card-title a:visited {
    color: #fff !important; opacity: 1 !important; visibility: visible !important;
    font-weight: 700; text-shadow: 0 2px 5px rgba(0,0,0,.7);
}

/* Classic standalone minimal sharing */
.deeyar-share-tools { margin-top: -12px; margin-bottom: 20px; }
.deeyar-share-status:empty { display: none; }
.deeyar-share-status { font-size: 13px; color: var(--muted); }
.deeyar-qr-panel { width: fit-content; max-width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.deeyar-qr-panel[hidden] { display: none !important; }
.deeyar-qr-panel img { width: 180px; height: 180px; max-width: 100%; background: #fff; }
.deeyar-qr-panel p { margin: 0 0 8px; }
.deeyar-qr-panel .deeyar-qr-note { max-width: 230px; margin: 8px 0 0; font-size: 11px; color: var(--muted); }
@media print { .deeyar-share-tools { display: none !important; } }

/* v48.6: Style 9 — Deeyar Signature sharing bar. */
.share.deeyar-sharebar--signature { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin:26px 0 16px; padding:12px 0 16px; border-bottom:2px solid var(--navy); }
.share.deeyar-sharebar--signature .deeyar-sharebar__icon { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; padding:0; border:0; border-radius:999px; background:transparent; color:var(--navy); text-decoration:none; cursor:pointer; transition:color .16s ease, background-color .16s ease, transform .16s ease; }
.share.deeyar-sharebar--signature .deeyar-sharebar__icon:hover,
.share.deeyar-sharebar--signature .deeyar-sharebar__icon:focus-visible { color:var(--red); background:rgba(4, 56, 74, .06); transform:translateY(-1px); }
.share.deeyar-sharebar--signature svg { display:block; flex-shrink:0; }
.deeyar-sharebar__glyph { font:400 24px/1 Georgia, serif; color:currentColor; }
.deeyar-sharebar__glyph--x { font-size:23px; }
.deeyar-sharebar__title { margin-inline-start:auto; display:inline-flex; align-items:center; gap:12px; color:var(--text); font-size:18px; font-weight:500; line-height:1.5; }
.deeyar-sharebar__dot { width:12px; height:12px; border-radius:50%; background:var(--red); flex:0 0 12px; }
.deeyar-share-tools { margin-top:-2px; margin-bottom:20px; }
@media (max-width: 720px) {
  .share.deeyar-sharebar--signature { gap:10px 8px; }
  .deeyar-sharebar__title { flex-basis:100%; margin-inline-start:0; order:-1; font-size:16px; margin-bottom:4px; }
  .share.deeyar-sharebar--signature .deeyar-sharebar__icon { width:34px; height:34px; }
}
@media print { .deeyar-sharebar { display:none !important; } }

/* v48.7: Exact minimalist Style 9, isolated from generic theme and plugin .share styles. */
.deeyar-signature-sharing {
  direction:ltr !important; display:flex !important; align-items:center !important;
  justify-content:space-between !important; gap:20px !important;
  width:100% !important; margin:26px 0 16px !important;
  padding:12px 0 22px !important; box-sizing:border-box !important;
  border:0 !important; border-bottom:3px solid #003542 !important;
  border-radius:0 !important; background:transparent !important;
  box-shadow:none !important;
}
.deeyar-signature-sharing__icons {display:flex !important; direction:ltr !important; align-items:center !important; flex-wrap:wrap !important; gap:17px !important;}
.deeyar-signature-sharing .deeyar-signature-sharing__icon,
.deeyar-signature-sharing a.deeyar-signature-sharing__icon,
.deeyar-signature-sharing button.deeyar-signature-sharing__icon {
  appearance:none !important; -webkit-appearance:none !important;
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  background:transparent !important; background-image:none !important; box-shadow:none !important;
  color:#003542 !important; border:none !important; border-radius:0 !important; outline-offset:3px;
  width:26px !important; height:32px !important; min-width:26px !important; min-height:32px !important;
  padding:0 !important; margin:0 !important; font-size:23px !important;
  line-height:1 !important; text-decoration:none !important; cursor:pointer !important;
}
.deeyar-signature-sharing .deeyar-signature-sharing__icon:hover,
.deeyar-signature-sharing .deeyar-signature-sharing__icon:focus-visible {color:#d0002b !important; background:transparent !important;}
.deeyar-signature-sharing .deeyar-signature-sharing__icon svg {display:block !important; width:24px !important; height:24px !important; color:inherit !important;}
.deeyar-signature-sharing__glyph {font:400 25px/1 Arial,sans-serif !important; color:inherit !important;}
.deeyar-signature-sharing__glyph--x {font-size:24px !important;}
.deeyar-signature-sharing__title {direction:rtl !important; display:inline-flex !important; gap:12px !important; align-items:center !important; margin-left:auto !important; white-space:nowrap !important; color:#202020 !important; font-size:19px !important; font-weight:500 !important;}
.deeyar-signature-sharing__dot {display:block !important; width:12px !important; height:12px !important; border-radius:50% !important; background:#d0002b !important; flex-shrink:0 !important;}
@media(max-width:680px) {
  .deeyar-signature-sharing {flex-wrap:wrap !important; gap:10px !important;}
  .deeyar-signature-sharing__title {order:-1 !important; width:100% !important; justify-content:flex-start !important; font-size:16px !important;}
  .deeyar-signature-sharing__icons {gap:15px !important;}
}
@media print {.deeyar-signature-sharing {display:none !important;}}


/* v48.8 Style 1 Minimal News: intentionally namespaced to avoid button and .share collisions. */
.deeyar-minimal-sharing {direction:ltr!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;flex-wrap:nowrap!important;column-gap:30px!important;row-gap:16px!important;background:transparent!important;border:0!important;box-shadow:none!important;margin:26px 0 28px!important;padding:16px 0!important;width:100%!important;box-sizing:border-box!important;}
.deeyar-minimal-sharing__icons {direction:ltr!important;display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:18px!important;}
.deeyar-minimal-sharing .deeyar-minimal-sharing__icon,
.deeyar-minimal-sharing button.deeyar-minimal-sharing__icon,
.deeyar-minimal-sharing a.deeyar-minimal-sharing__icon {appearance:none!important;-webkit-appearance:none!important;display:inline-flex!important;justify-content:center!important;align-items:center!important;flex:0 0 30px!important;width:30px!important;height:38px!important;min-width:30px!important;min-height:38px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important;background-color:transparent!important;background-image:none!important;color:#34434b!important;text-decoration:none!important;font:inherit!important;line-height:1!important;cursor:pointer!important;}
.deeyar-minimal-sharing .deeyar-minimal-sharing__icon:hover,.deeyar-minimal-sharing .deeyar-minimal-sharing__icon:focus-visible {color:#c9002b!important;background:transparent!important;outline-offset:3px;}
.deeyar-minimal-sharing .deeyar-minimal-sharing__icon svg {display:block!important;width:23px!important;height:23px!important;color:inherit!important;}
.deeyar-minimal-sharing__glyph {font:500 24px/1 Arial,sans-serif!important;color:inherit!important;}
.deeyar-minimal-sharing__glyph--x {font-size:22px!important;}
.deeyar-minimal-sharing__title {display:inline-flex!important;direction:rtl!important;align-items:center!important;white-space:nowrap!important;margin:0!important;padding:0!important;color:#535960!important;font-size:16px!important;font-weight:500!important;line-height:1.5!important;}
@media(max-width:620px){.deeyar-minimal-sharing {flex-wrap:wrap!important;gap:8px 14px!important;justify-content:flex-end!important;}.deeyar-minimal-sharing__title {order:-1!important;width:100%!important;justify-content:flex-start!important;}.deeyar-minimal-sharing__icons {gap:13px!important;flex-wrap:wrap!important;}}
@media print{.deeyar-minimal-sharing{display:none!important;}}

/* Classic 48.2 mobile navigation and dark mode */
@media(max-width:782px){
  .navbar.is-open .menu {display:flex !important; z-index:9999 !important;}
  .navbar {position:relative;z-index:100;}
  .navbar .menu {box-shadow:0 12px 20px rgba(0,0,0,.12);}
}
:root[data-theme="dark"] .navbar .menu {background:var(--bg); color:var(--text);}

/* 48.3: only the exact selected menu item is red */
.navbar .menu .current-menu-ancestor > a,.navbar .menu .current-menu-parent > a { color:var(--text) !important; }
.navbar .menu .current-menu-item > a { color:var(--red) !important; }
@media (max-width:1024px) {
.navbar.is-open .menu {display:flex !important; flex-direction:column !important; flex-wrap:nowrap !important; width:100% !important; max-width:100% !important; max-height:70vh !important; overflow-y:auto !important; overflow-x:hidden !important; padding:8px 12px !important; box-sizing:border-box !important;}
.navbar.is-open .menu > li {width:100%; min-width:0;}
.navbar.is-open .menu a {display:block; padding:10px 8px; overflow-wrap:anywhere;}
.navbar.is-open .menu .sub-menu {display:block !important;position:static !important;box-shadow:none !important;min-width:0 !important;width:100% !important;border:0 !important;padding-inline-start:14px !important;}
}

/* Classic v48.4 mobile color-mode controls. */
@media(max-width:1024px){.navbar.is-open .menu{display:flex !important;}}
