/* ==========================================================================
   گنج موسیقی — main stylesheet
   Editorial system: white page, ink type, one colour (pomegranate) used only
   for category labels, links and the logo. Photos carry the colour.
   Estedad for headlines and interface, Estedad Regular for reading text.
   ========================================================================== */

:root {
	--bg: #ffffff;
	--bg-2: #f4f5f6;
	--surface: #ffffff;
	--surface-2: #f0f1f3;
	--line: #e3e5e8;
	--rule: #17191c;
	--text: #17191c;
	--text-2: #3a3e45;
	--muted: #6b7079;
	--accent: #a8172f;
	--on-accent: #ffffff;
	--ink-bg: #17191c;
	--ink-text: #f2f3f4;
	--ink-muted: #a3a8b0;
	--radius: 3px;
	--wrap: 1220px;
	--gut: 16px;
	--sans: "Estedad", "Vazirmatn", Tahoma, system-ui, sans-serif;
	--serif: "Estedad", "Vazirmatn", Tahoma, sans-serif; /* article text uses the headline face, regular weight */
	--hdr-h: 60px;
	color-scheme: light;
}
:root[data-theme="dark"] {
	--bg: #121314;
	--bg-2: #191a1c;
	--surface: #17181a;
	--surface-2: #222326;
	--line: #2c2e32;
	--rule: #e6e7e9;
	--text: #ececee;
	--text-2: #c6c9ce;
	--muted: #9297a0;
	--accent: #ef6a7c;
	--on-accent: #121314;
	--ink-bg: #0c0d0e;
	color-scheme: dark;
}
@media (min-width: 768px) { :root { --gut: 24px; } }
@media (min-width: 1024px) { :root { --hdr-h: 88px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; overflow-x: clip; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.75;
	direction: rtl;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	padding-bottom: 60px; /* mobile tab bar */
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { line-height: 1.5; margin: 0; font-weight: 800; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ico { flex: none; }
.muted { color: var(--muted); font-size: .875rem; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 760px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; z-index: 999; }
.skip:focus { inset-inline-start: 8px; }
[hidden] { display: none !important; }
img.fade { opacity: 0; transition: opacity .4s ease; }
img.fade.is-loaded { opacity: 1; }

/* ---------- buttons, labels ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--radius); font-weight: 700; font-size: .92rem; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn--ink, .btn--gold { background: var(--text); color: var(--bg); }
.btn--ink:hover, .btn--gold:hover { background: var(--accent); color: var(--on-accent); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--block { display: flex; width: 100%; margin-top: 24px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius); color: var(--text-2); }
.icon-btn:hover { color: var(--text); background: var(--surface-2); }

/* Category label: plain coloured text, no pill. */
.chip { display: inline-block; font-size: .8rem; font-weight: 700; line-height: 1.4; color: var(--accent); }
.chip:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- masthead ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr__bar { display: flex; align-items: center; gap: 8px; height: var(--hdr-h); }
.hdr__burger { margin-inline-start: -8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand__mark svg { display: block; }
.brand__logo { max-height: 44px; width: auto; }
.brand__name { font-size: 1.3rem; font-weight: 900; letter-spacing: -.3px; line-height: 1; }
.hdr__date { display: none; margin: 0; color: var(--muted); font-size: .85rem; }
.hdr__tools { display: flex; gap: 2px; margin-inline-start: auto; }
.theme-toggle .if-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .if-dark { display: inline; }
:root[data-theme="dark"] .theme-toggle .if-light { display: none; }

/* Section row under the masthead. Phones: a swipeable strip. Desktop: sticky bar. */
.navrow { background: var(--bg); border-bottom: 1px solid var(--line); }
.navrow__in { display: flex; align-items: center; gap: 12px; }
.navrow__mark { display: none; }
.nav__list { list-style: none; display: flex; gap: 0; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; flex: 1; }
.nav__list::-webkit-scrollbar { display: none; }
.nav__list a { position: relative; display: block; padding: 11px 12px; font-weight: 600; font-size: .92rem; color: var(--text-2); white-space: nowrap; }
.nav__list li:first-child a { padding-inline-start: 0; }
.nav__list a:hover { color: var(--text); }
.nav__list .current-menu-item > a, .nav__list .current-cat > a { color: var(--text); }
.nav__list .current-menu-item > a::after, .nav__list .current-cat > a::after { content: ""; position: absolute; inset-inline: 12px; bottom: -1px; height: 3px; background: var(--accent); }
.nav__list li:first-child.current-menu-item > a::after { inset-inline-start: 0; }

@media (min-width: 1024px) {
	.hdr { position: static; border-bottom: 0; }
	.hdr__burger { display: none; }
	.brand__mark svg { width: 44px; height: 44px; }
	.brand__name { font-size: 2rem; }
	.hdr__date { display: block; margin-inline-start: 28px; padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
	.navrow { position: sticky; top: 0; z-index: 50; border-top: 1px solid var(--line); }
	.navrow.is-stuck { box-shadow: 0 1px 0 var(--line); }
	.navrow.is-stuck .navrow__mark { display: block; }
	.navrow__mark svg { display: block; }
	.nav__list { overflow: visible; }
	.nav__list a { padding-block: 13px; }
}

/* search overlay */
.search-ov { position: fixed; inset: 0; z-index: 90; background: var(--bg); padding-top: 12vh; }
.search-ov__form { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--text); padding: 4px 0; }
.search-ov__form input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 1.5rem; font-weight: 700; color: var(--text); height: 60px; outline: none; }
.search-ov__hint { margin-top: 16px; color: var(--muted); font-size: .9rem; }
.search-ov__hint a { display: inline-block; margin-inline-start: 12px; color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, .45); }
.drawer__panel { position: absolute; inset-block: 0; right: 0; width: min(320px, 86vw); background: var(--bg); padding: 16px 20px; overflow-y: auto; animation: slidein .2s ease; }
@keyframes slidein { from { transform: translateX(100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list a { display: flex; gap: 12px; align-items: center; padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.drawer__list .ico { display: none; }
.drawer__list--extra { margin-top: 20px; }
.drawer__social { display: flex; gap: 4px; margin-top: 20px; }
.drawer__social a { display: grid; place-items: center; width: 42px; height: 42px; color: var(--text-2); }

/* ---------- section scaffolding ---------- */
.main { min-height: 60vh; }
.sec { margin-top: 56px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding-top: 10px; border-top: 2px solid var(--rule); }
.sec-head__title { display: inline-flex; align-items: center; gap: 8px; font-size: 1.2rem; font-weight: 800; }
.sec-head__title .ico { display: none; }
.sec-head__more { font-size: .88rem; font-weight: 600; color: var(--muted); }
.sec-head__more:hover { color: var(--text); }
.label { margin: 0 0 4px; font-size: .95rem; font-weight: 800; padding-bottom: 10px; border-bottom: 2px solid var(--rule); }
.layout__main, .layout__side { min-width: 0; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 56px; }
@media (min-width: 1024px) {
	.layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
}
.sticky { position: sticky; top: 72px; }

.grid { display: grid; gap: 32px 24px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.grid--photos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (max-width: 599px) { .grid--photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } .grid--photos .card__title { font-size: .9rem; } }
@media (max-width: 599px) {
	.grid--3, .grid--4 { grid-template-columns: 1fr; gap: 0; }
	.grid--3 .card--std, .grid--4 .card--std { display: grid; grid-template-columns: minmax(0, 1fr) 116px; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
	.grid--3 .card--std:first-child, .grid--4 .card--std:first-child { padding-top: 0; }
	.grid--3 .card--std .card__media, .grid--4 .card--std .card__media { order: 2; aspect-ratio: 4 / 3; margin: 0; }
	.grid--3 .card--std .card__ex, .grid--4 .card--std .card__ex { display: none; }
	.grid--3 .card--std .card__title, .grid--4 .card--std .card__title { font-size: 1rem; }
	.grid--3 .card--std .card__badge, .grid--4 .card--std .card__badge { display: none; }
}
.stack { display: grid; gap: 0; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 48px; }
@media (min-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ---------- cards ---------- */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__media { position: relative; display: block; flex: none; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-2); border-radius: var(--radius); margin-bottom: 12px; }
.card__media > .card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.card__badge { position: absolute; bottom: 8px; left: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; font-size: .74rem; font-weight: 700; background: rgba(15, 16, 18, .78); color: #fff; border-radius: 2px; }
.card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex: 1; min-width: 0; }
.card__title { font-size: 1.05rem; font-weight: 700; line-height: 1.65; }
.card__title a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.card__ex { margin: 2px 0 0; font-family: var(--serif); color: var(--text-2); font-size: .98rem; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { margin-top: 4px; color: var(--muted); font-size: .78rem; }

/* Lead: photo above, large headline below. No overlay. */
.card--lead .card__media { aspect-ratio: 16 / 9; margin-bottom: 18px; }
.card--lead .card__title { font-size: clamp(1.5rem, 3.2vw, 2.35rem); font-weight: 900; line-height: 1.45; letter-spacing: -.3px; }
.card--lead .card__title a { -webkit-line-clamp: 4; }
.card--lead .card__ex { font-size: 1.12rem; -webkit-line-clamp: 3; max-width: 62ch; margin-top: 6px; }

/* Row: text first, small photo at the end of the line. */
.card--row { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.card--row .card__media { order: 2; aspect-ratio: 4 / 3; margin: 0; }
.card--row .card__title { font-size: 1.08rem; }
.card--row .card__ex { font-size: .98rem; -webkit-line-clamp: 2; }
@media (min-width: 768px) { .card--row { grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; } .card--row .card__title { font-size: 1.2rem; } }

/* Mini: headline only, separated by thin rules. */
.card--mini { padding: 14px 0; border-bottom: 1px solid var(--line); }
.card--mini:last-child { border-bottom: 0; }
.card--mini .card__title { font-size: .98rem; font-weight: 700; }

/* Photo story in the gallery rail. */
.card--photo .card__media { aspect-ratio: 4 / 5; margin-bottom: 10px; }
.card--photo .card__badge { top: 8px; bottom: auto; }
.card--photo .card__ex { display: none; }
.card--photo .card__title { font-size: .98rem; }

/* ---------- home ---------- */
.front-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 24px; }
.front-top__lead, .front-top__side { min-width: 0; }
@media (min-width: 1024px) {
	.front-top { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; margin-top: 32px; }
	.front-top__side { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
	.front-top__side .card--mini .card__title { font-size: 1.02rem; }
}
.front-four { margin-top: 40px; }
.front-four > .grid { padding-top: 32px; border-top: 1px solid var(--line); }
.duo .card--std .card__media { aspect-ratio: 16 / 9; }
.duo .card--std { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.layout__side > .box--rank:only-child { position: sticky; top: 72px; }
@media (max-width: 599px) {
	.card--lead .card__media { margin-inline: calc(var(--gut) * -1); border-radius: 0; aspect-ratio: 4 / 3; }
	.front-four { margin-top: 24px; }
	.front-four > .grid { padding-top: 8px; }
}
.stream .card--row:first-child { padding-top: 0; }
.upcoming__list { display: grid; gap: 0; }
@media (min-width: 900px) { .upcoming__list { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

.band { margin-top: 64px; padding: 40px 0 44px; background: var(--ink-bg); color: var(--ink-text); }
.band .sec-head { border-top-color: var(--ink-text); }
.band .sec-head__more { color: var(--ink-muted); }
.band .sec-head__more:hover { color: var(--ink-text); }
.band .card__meta { color: var(--ink-muted); }
.band .card__media { background: #26282b; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(64vw, 220px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: #4a4d52 transparent; }
.rail > * { scroll-snap-align: start; }

.cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin: 64px 0 8px; padding: 24px 0; border-block: 1px solid var(--line); }
.cta p { margin: 0; color: var(--text-2); font-size: 1rem; }
.cta b { color: var(--text); }
@media (min-width: 768px) { .cta { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- sidebar: most read ---------- */
.box { margin-bottom: 32px; }
.box__title { font-size: 1rem; margin-bottom: 8px; }
.tabs { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__btn { position: relative; padding: 10px 0 12px; font-weight: 700; font-size: .95rem; color: var(--muted); white-space: nowrap; }
.tabs__btn:hover { color: var(--text); }
.tabs__btn.is-on { color: var(--text); }
.tabs__btn.is-on::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 3px; background: var(--accent); }
.tabs--sm { border-top: 2px solid var(--rule); border-bottom: 1px solid var(--line); }
.rank { list-style: none; margin: 0; padding: 0; }
.rank__item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rank__item:last-child { border-bottom: 0; }
.rank__n { flex: none; width: 22px; font-size: 1.6rem; font-weight: 300; line-height: 1.1; color: var(--muted); }
.rank__t { display: block; font-weight: 700; font-size: .95rem; line-height: 1.7; }
.rank__t:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.rank__m { color: var(--muted); font-size: .76rem; }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.social { display: flex; align-items: center; gap: 8px; padding: 10px 0; font-size: .88rem; font-weight: 700; }

/* ---------- archive ---------- */
.arch-head { padding: 28px 0 0; }
.arch-head .wrap > :last-child { padding-bottom: 20px; }
.arch-head__title { font-size: clamp(1.75rem, 4.5vw, 2.75rem); font-weight: 900; margin-top: 6px; letter-spacing: -.3px; }
.arch-head__desc { margin: 6px 0 0; font-family: var(--serif); color: var(--text-2); font-size: 1.05rem; max-width: 62ch; }
.arch-head__count { margin: 4px 0 0; color: var(--muted); font-size: .85rem; }
.arch-head + .wrap, .arch-head + .layout { border-top: 1px solid var(--line); }
.arch-head + .layout { margin-top: 0; padding-top: 32px; }
.arch-lead { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
	.arch-lead .card--lead { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
	.arch-lead .card--lead .card__media { margin: 0; }
	.arch-lead .card--lead .card__title { font-size: 1.75rem; }
}
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: .85rem; }
.crumbs a:hover { color: var(--text); }
.empty { padding: 40px 0; color: var(--muted); text-align: center; }

.pager { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-top: 40px; }
.pager .page-numbers { display: inline-flex; align-items: center; gap: 4px; min-width: 40px; height: 40px; padding: 0 10px; justify-content: center; border-radius: var(--radius); font-weight: 600; color: var(--text-2); }
.pager a.page-numbers:hover { background: var(--surface-2); color: var(--text); }
.pager .page-numbers.current { background: var(--text); color: var(--bg); }

.searchbar { display: flex; align-items: center; gap: 10px; margin-top: 16px; max-width: 640px; border-bottom: 2px solid var(--text); padding: 2px 0; }
.searchbar input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 1.05rem; color: var(--text); height: 46px; outline: none; }
.searchbar .btn { height: 38px; }
.stack--list .card--row:first-child { padding-top: 0; }

/* ---------- article ---------- */
.article { min-width: 0; }
.article .crumbs { margin-bottom: 18px; }
.article__head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.article__head .chip { font-size: .9rem; }
.article__title { font-size: clamp(1.65rem, 4.4vw, 2.6rem); font-weight: 900; line-height: 1.45; letter-spacing: -.3px; max-width: 26ch; }
.article__lead { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 2; color: var(--text-2); max-width: 62ch; }
.article__meta { display: flex; flex-wrap: wrap; gap: 4px 20px; color: var(--muted); font-size: .85rem; padding: 14px 0 0; margin-top: 4px; border-top: 1px solid var(--line); width: 100%; }
.byline { color: var(--text); font-weight: 700; }
.article__cover { margin: 28px 0 0; background: var(--surface-2); }
.article__cover img { width: 100%; max-height: 78vh; object-fit: cover; }

.prose { margin-top: 28px; max-width: 680px; font-family: var(--serif); font-size: 1.14rem; line-height: 2; color: var(--text); overflow-wrap: anywhere; }
.prose p { margin: 0 0 1.15em; }
.prose img { margin: 12px auto 24px; cursor: zoom-in; width: auto; max-height: 80vh; background: var(--surface-2); }
.prose p:has(> img:only-child) { text-align: center; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.prose h2, .prose h3 { font-family: var(--sans); color: var(--text); margin: 1.8em 0 .5em; line-height: 1.5; }
.prose h2 { font-size: 1.35rem; } .prose h3 { font-size: 1.15rem; }
.prose blockquote { margin: 1.6em 0; padding: 0 20px; border-inline-start: 3px solid var(--accent); font-size: 1.25rem; color: var(--text); }
.prose iframe, .prose video, .prose audio { max-width: 100%; }
.prose audio { width: 100%; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .92rem; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 8px; text-align: start; }
.prose strong, .prose b { font-weight: 700; }

.gallery { margin-top: 40px; }
.gallery__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 768px) { .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery__item { display: block; aspect-ratio: 1; overflow: hidden; background: var(--surface-2); }
.gallery__item--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.story-btn { display: inline-flex; align-items: center; gap: 10px; padding: 0; font-weight: 700; font-size: .88rem; color: var(--text); }
.story-btn:hover { color: var(--accent); }
.story-btn__ring { width: 34px; height: 34px; border-radius: 50%; padding: 2px; border: 2px solid var(--accent); }
.story-btn__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

.article__foot { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; }
.share > span { margin-inline-end: 8px; font-weight: 700; color: var(--text); }
.share__b { display: inline-flex; align-items: center; gap: 6px; height: 38px; min-width: 38px; padding: 0 10px; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text-2); font-size: .85rem; font-weight: 600; }
.share__b:hover { border-color: var(--text); color: var(--text); }
.share__copy.is-done { background: var(--text); color: var(--bg); border-color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.tags a { font-size: .85rem; color: var(--muted); }
.tags a:hover { color: var(--text); }

.prevnext { display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .prevnext { grid-template-columns: 1fr 1fr; } .prevnext__a + .prevnext__a { border-inline-start: 1px solid var(--line); padding-inline-start: 20px; } }
.prevnext__a { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; }
.prevnext__a small { color: var(--muted); }
.prevnext__a b { font-size: .98rem; line-height: 1.7; }
.prevnext__a:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.covers-dl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 20px; padding: 14px 16px; background: var(--bg-2); font-size: .88rem; }
.covers-dl a { font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

/* comments */
.comments { margin-top: 48px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.comment-list .children { list-style: none; padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.cmt__av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); color: var(--text-2); font-weight: 800; flex: none; }
.comment-metadata { font-size: .78rem; color: var(--muted); }
.comment-content p { margin: 8px 0; font-family: var(--serif); font-size: 1.02rem; }
.reply a { font-size: .85rem; color: var(--accent); font-weight: 700; }
.comment-form { display: grid; gap: 12px; }
.comment-form label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; }
.comment-form textarea:focus, .comment-form input:focus { outline: none; border-color: var(--text); }
.comment-reply-title { font-size: 1.1rem; margin-bottom: 8px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; font-size: .85rem; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; margin: 0; }

/* 404 */
.nf { text-align: center; padding: 72px var(--gut); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.nf__code { font-size: 5rem; line-height: 1; font-weight: 900; color: var(--text); }
.nf p { color: var(--muted); margin: 0; }
.nf .searchbar { width: 100%; }

/* ---------- footer ---------- */
.ftr { margin-top: 72px; background: var(--ink-bg); color: var(--ink-muted); padding-top: 48px; font-size: .92rem; }
.ftr a:hover { color: var(--ink-text); }
.ftr__grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.brand--ftr { color: var(--ink-text); margin-bottom: 16px; }
.brand--ftr .brand__text b { font-size: 1.3rem; font-weight: 900; }
.brand--ftr .brand__text small { display: none; }
.ftr__social { display: flex; gap: 4px; margin-inline-start: -10px; }
.ftr__social a { display: grid; place-items: center; width: 40px; height: 40px; color: var(--ink-text); }
.ftr__h { color: var(--ink-text); font-size: .95rem; margin-bottom: 12px; }
.ftr__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ftr__join p { margin: 0 0 14px; }
.ftr .btn--gold { background: var(--ink-text); color: var(--ink-bg); }
.ftr .btn--gold:hover { background: #fff; color: #000; }
.ftr__copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-block: 20px; border-top: 1px solid #2a2c30; font-size: .8rem; }
.totop { display: inline-flex; align-items: center; gap: 4px; }
.totop .ico { transform: rotate(90deg); }

/* ---------- mobile tab bar ---------- */
.tabbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr); height: 60px; padding-bottom: env(safe-area-inset-bottom); background: var(--bg); border-top: 1px solid var(--line); }
.tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: .68rem; font-weight: 600; color: var(--muted); }
.tabbar .is-on { color: var(--text); }
@media (min-width: 1024px) { .tabbar { display: none; } }

/* reading progress (article pages) */
.readbar { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 70; pointer-events: none; }
.readbar span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: right; background: var(--accent); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(8, 9, 10, .96); display: grid; place-items: center; touch-action: pan-y; }
.lightbox figure { margin: 0; max-width: 94vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lightbox img { max-width: 94vw; max-height: 82vh; object-fit: contain; }
.lightbox figcaption { color: #bbb; font-size: .85rem; }
.lightbox .icon-btn { color: #fff; }
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.lightbox__x { position: absolute; top: 16px; left: 16px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox__prev { right: 12px; } .lightbox__next { left: 12px; }
@media (max-width: 599px) { .lightbox__nav { top: auto; bottom: 20px; transform: none; } }

/* ---------- story viewer (full-screen photo report) ---------- */
.story { position: fixed; inset: 0; z-index: 130; background: #000; display: flex; align-items: center; justify-content: center; touch-action: none; }
.story__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(40px) brightness(.4); transform: scale(1.2); }
.story__frame { position: relative; width: min(100vw, 56.25vh); height: 100vh; height: 100dvh; display: flex; align-items: center; justify-content: center; }
.story__frame img { max-width: 100%; max-height: 100%; object-fit: contain; }
.story__bars { position: absolute; top: max(12px, env(safe-area-inset-top)); inset-inline: 12px; display: flex; gap: 4px; z-index: 2; }
.story__bars i { flex: 1; height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.story__bars i b { display: block; height: 100%; width: 0; background: #fff; }
.story__bars i.done b { width: 100%; }
.story__bars i.on b { animation: storybar var(--dur, 5s) linear forwards; }
.story.is-paused .story__bars i.on b { animation-play-state: paused; }
@keyframes storybar { to { width: 100%; } }
.story__head { position: absolute; top: calc(max(12px, env(safe-area-inset-top)) + 14px); inset-inline: 14px; display: flex; align-items: center; justify-content: space-between; color: #fff; z-index: 2; font-size: .85rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.story__head b { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-width: 75%; }
.story__x { color: #fff; width: 40px; height: 40px; display: grid; place-items: center; }
.story__tap { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 1; }
.story__tap--r { right: 0; } .story__tap--l { left: 0; }

/* ---------- artists ---------- */
.artist-chips { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.artist-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; }
.artist-chip img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.artist-chip:hover { text-decoration: underline; text-underline-offset: 4px; }

.artist-hero { padding: 32px 0 28px; border-bottom: 1px solid var(--line); }
.artist-hero__in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.artist-hero__avatar { width: 148px; height: 148px; flex: none; }
.artist-hero__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 25%; background: var(--surface-2); }
.artist-hero__txt { flex: 1; min-width: 240px; }
.artist-hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 900; letter-spacing: -.5px; margin-top: 4px; }
.artist-hero__bio { max-width: 62ch; font-family: var(--serif); color: var(--text-2); margin: 6px 0 0; }
.artist-stats { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 12px; color: var(--muted); font-size: .9rem; }
.artist-stats b { color: var(--text); font-size: 1.1rem; margin-inline-end: 4px; }
@media (max-width: 599px) { .artist-hero__avatar { width: 104px; height: 104px; } .artist-hero__in { gap: 18px; } }

.artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 28px 18px; margin-top: 32px; }
.artist-card { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.artist-card__img { width: 100%; aspect-ratio: 1; margin-bottom: 6px; }
.artist-card__img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 25%; background: var(--surface-2); }
.artist-card b { font-size: .98rem; }
.artist-card:hover b { text-decoration: underline; text-underline-offset: 4px; }
.artist-card small { color: var(--muted); font-size: .8rem; }

/* ---------- concerts: date-led rows ---------- */
.ticket { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ticket__stub { display: flex; flex-direction: column; align-items: center; padding-top: 2px; line-height: 1.2; text-align: center; }
.ticket__stub b { font-size: 2.1rem; font-weight: 900; line-height: 1; color: var(--text); }
.ticket__stub span { font-weight: 700; font-size: .85rem; margin-top: 4px; }
.ticket__stub small { font-size: .76rem; color: var(--muted); margin-top: 2px; }
.ticket__img { display: none; }
.ticket__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ticket__body h3 { font-size: 1.05rem; line-height: 1.65; }
.ticket__body h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ticket__body p { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .86rem; }
.ticket__body p .ico { display: none; }
.ticket__soon { align-self: flex-start; font-size: .78rem; font-weight: 700; color: var(--accent); }
.ticket__actions { display: flex; gap: 8px; margin-top: 8px; }
.ticket__actions .btn { height: 34px; padding: 0 14px; font-size: .84rem; }
@media (min-width: 768px) {
	.ticket { grid-template-columns: 72px 132px minmax(0, 1fr); }
	.ticket__img { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); border-radius: var(--radius); }
	.ticket__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
}
.cal-month { margin: 40px 0 0; padding-top: 10px; border-top: 2px solid var(--rule); font-size: 1.2rem; }
.cal-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 60px 0; color: var(--muted); text-align: center; }
.cal-past .ticket { opacity: .75; }
.article__ticket { margin-top: 24px; border-top: 1px solid var(--line); }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* WordPress core alignment classes */
.alignleft { float: left; margin: 0 1em 1em 0; } .alignright { float: right; margin: 0 0 1em 1em; } .aligncenter { margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wp-caption { max-width: 100%; } .wp-caption-text { font-family: var(--sans); font-size: .82rem; color: var(--muted); text-align: start; margin-top: 6px; }

/* ---------- phone polish ---------- */
@media (max-width: 1023px) {
	/* Section strip: fade at the end so it reads as swipeable. */
	.navrow__in { position: relative; }
	.nav__list { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32px); mask-image: linear-gradient(to right, transparent 0, #000 32px); padding-inline-end: 28px; }
	.nav__list a { padding-block: 12px; font-size: .9rem; }
	.hdr__bar { gap: 4px; }
	.brand__name { font-size: 1.2rem; }
}
@media (max-width: 599px) {
	.chip { padding-block: 4px; }
	.card__meta { font-size: .75rem; }
	.sec { margin-top: 44px; }
	.layout { margin-top: 40px; }
	.card--row { grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; padding: 16px 0; }
	.card--row .card__title { font-size: 1rem; }
	.card--row .card__ex { display: none; }
	.card--lead .card__title { font-size: 1.5rem; line-height: 1.55; }
	.card--lead .card__ex { font-size: 1.02rem; -webkit-line-clamp: 3; }
	.article__title { font-size: 1.6rem; }
	.article__lead { font-size: 1.08rem; }
	.article__meta { font-size: .8rem; gap: 2px 14px; }
	.prose { font-size: 1.08rem; line-height: 1.95; margin-top: 22px; }
	.prose p > img:only-child, .prose figure > img, .prose .wp-caption > img { margin-inline: calc(var(--gut) * -1); max-width: calc(100% + var(--gut) * 2); width: calc(100% + var(--gut) * 2); height: auto; max-height: none; }
	.article__cover { margin-inline: calc(var(--gut) * -1); }
	.share__b { height: 44px; min-width: 44px; }
	.prevnext__a { padding: 14px 0; }
	.prevnext__a + .prevnext__a { border-top: 1px solid var(--line); }
	.ticket { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
	.ticket__stub b { font-size: 1.8rem; }
	.ticket__actions .btn { height: 40px; }
	.ftr { padding-top: 36px; }
	.ftr__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
	.ftr__about, .ftr__join { grid-column: 1 / -1; }
	.ftr__links a { display: inline-block; padding-block: 3px; }
	.ftr__copy { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
	.pager .page-numbers { min-width: 44px; height: 44px; }
	.tabs__btn { padding-block: 12px 14px; }
	.rank__item { padding: 12px 0; }
	.artist-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 12px; }
	.artist-card b { font-size: .88rem; }
	.search-ov__form input { font-size: 1.2rem; }
}
.tabbar .tabbar__new { color: var(--accent); }

/* Photo reports on phones: part of the page flow, smaller cards, edge-to-edge swipe. */
@media (max-width: 599px) {
	.layout__side .box { margin-bottom: 0; }
	.band { margin-top: 44px; padding: 0; background: none; color: inherit; }
	.band .sec-head { border-top-color: var(--rule); margin-bottom: 14px; }
	.band .sec-head__more { color: var(--muted); }
	.band .card__meta { color: var(--muted); }
	.band .card__media { background: var(--surface-2); }
	.rail { grid-auto-columns: 38vw; gap: 12px; margin-inline: calc(var(--gut) * -1); padding: 0 var(--gut) 2px; scroll-padding-inline: var(--gut); scrollbar-width: none; }
	.rail::-webkit-scrollbar { display: none; }
	.card--photo .card__media { aspect-ratio: 3 / 4; margin-bottom: 8px; }
	.card--photo .card__title { font-size: .86rem; line-height: 1.6; }
	.card--photo .card__title a { -webkit-line-clamp: 2; }
	.card--photo .card__meta { font-size: .72rem; margin-top: 0; }
	.card--photo .card__badge { top: 6px; left: 6px; font-size: .68rem; padding: 0 6px; }
}

/* ---------- home: featured slider ---------- */
.hs { margin-top: 20px; }
.hs__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: var(--radius); background: var(--ink-bg); }
.hs__track::-webkit-scrollbar { display: none; }
.hs__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; aspect-ratio: 4 / 3; overflow: hidden; color: #fff; }
.hs__media, .hs__media .hs__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hs__media .hs__img { object-fit: cover; object-position: center 30%; }
.hs__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 11, 12, .92) 0%, rgba(10, 11, 12, .55) 38%, rgba(10, 11, 12, 0) 68%); }
.hs__body { position: absolute; inset-inline: 0; bottom: 0; padding: 18px var(--gut) 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; }
.hs__body a { pointer-events: auto; }
.hs__body .chip { color: #fff; background: var(--accent); padding: 2px 8px; border-radius: 2px; font-size: .76rem; }
:root[data-theme="dark"] .hs__body .chip { background: #a8172f; }
.hs__title { font-size: 1.3rem; font-weight: 900; line-height: 1.55; letter-spacing: -.2px; max-width: 30ch; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hs__title a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hs__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hs__time { font-size: .78rem; color: rgba(255, 255, 255, .75); }
.hs__bar { display: flex; align-items: center; gap: 12px; padding: 10px 0 0; }
.hs__brand { display: none; align-items: center; gap: 8px; font-size: .85rem; font-weight: 800; color: var(--text); }
.hs__brand svg { display: block; }
.hs__dots { display: flex; gap: 6px; flex: 1; }
.hs__dots button { flex: 1; max-width: 72px; height: 22px; display: flex; align-items: center; }
.hs__dots i { display: block; width: 100%; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; position: relative; }
.hs__dots i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: right; }
.hs__dots [aria-selected="true"] i::after { transform: scaleX(1); }
.hs.is-playing .hs__dots [aria-selected="true"] i::after { animation: hs-progress 6s linear forwards; }
@keyframes hs-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hs__arrows { display: none; gap: 4px; }
@media (min-width: 768px) {
	.hs { margin-top: 28px; }
	.hs__slide { aspect-ratio: 21 / 9; max-height: 540px; }
	.hs__body { padding: 32px 40px 34px; gap: 10px; }
	.hs__title { font-size: clamp(1.6rem, 2.8vw, 2.5rem); line-height: 1.45; }
	.hs__time { font-size: .85rem; }
	.hs__brand { display: inline-flex; }
	.hs__dots { justify-content: center; }
	.hs__arrows { display: flex; }
}
@media (max-width: 599px) {
	.hs { margin-top: 0; padding-inline: 0; }
	.hs__track { border-radius: 0; }
	.hs__bar { padding-inline: var(--gut); }
}
@media (prefers-reduced-motion: reduce) { .hs__track { scroll-behavior: auto; } .hs.is-playing .hs__dots [aria-selected="true"] i::after { animation: none; transform: scaleX(1); } }
.front-four { margin-top: 36px; }
.front-four > .grid { padding-top: 0; border-top: 0; }

/* ---------- home: latest in two columns, popular tabs further down ---------- */
.latest { margin-top: 48px; }
@media (min-width: 1024px) {
	.stream--2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; }
	.stream--2 .card--row:nth-child(-n+2) { padding-top: 0; }
	.stream--2 .card--row { grid-template-columns: minmax(0, 1fr) 168px; }
}
.rank-sec .box { margin: 0; }
.rank-sec .tabs--sm { margin-bottom: 4px; }
.rank-sec .tabs__btn { font-size: 1.05rem; }
@media (min-width: 768px) {
	.rank-sec .rank { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
	.rank-sec .rank__item:last-child { border-bottom: 1px solid var(--line); }
}
@media (min-width: 1024px) {
	.rank-sec .rank { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(2, auto); }
}
.hs + .latest { margin-top: 36px; }

/* Article text: justified, like print. Images and captions stay centred; short lines are not stretched. */
.prose p, .prose li, .prose blockquote { text-align: justify; text-justify: inter-word; }
.prose p:has(> img:only-child), .prose p:has(> a:only-child > img) { text-align: center; }

/* Article and summary text: Estedad Regular, same family as the headlines. */
.prose, .card__ex, .article__lead, .arch-head__desc, .artist-hero__bio, .comment-content p, .app-steps ol { font-weight: 400; }
.prose strong, .prose b { font-weight: 700; }

/* Story page headline: calmer size (was up to 2.6rem). */
.article__title { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 800; line-height: 1.6; letter-spacing: 0; max-width: 34ch; }
@media (max-width: 599px) { .article__title { font-size: 1.3rem; line-height: 1.65; } }
