/*
Theme Name: Spexo Child — Громадське
Template: spexo
Description: Дочірня тема hromadske.od.ua: шаблони рубрик і міток без Elementor і без JS (18.11.2026).
Version: 1.0.0
Text Domain: spexo-child
*/

/* Rubric / tag pages. Builds on hromadske-home/home.css tokens (.hh.hh) and single.css sidebar blocks. */
.hh.hh.ha-page { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; max-width: 1140px; margin: 8px auto 48px; }
@media (max-width: 1180px) { .hh.hh.ha-page { padding-left: 16px; padding-right: 16px; } }
@media (max-width: 1024px) { .hh.hh.ha-page { grid-template-columns: minmax(0, 1fr); } }
.hh.hh .ha-main, .hh.hh .ha-side { display: grid; gap: 26px; align-content: start; min-width: 0; }

.hh.hh .ha-crumbs { font-size: 13px; color: var(--hh-muted); }
.hh.hh .ha-crumbs a { text-decoration: underline; text-decoration-color: #ccc; text-underline-offset: 3px; }
.hh.hh .ha-head { display: grid; gap: 8px; border-bottom: 2px solid var(--hh-ink); padding-bottom: 14px; }
.hh.hh .ha-head h1 { margin: 0; font-size: 32px; line-height: 1.15; font-weight: 900; text-wrap: balance; }
@media (max-width: 819px) { .hh.hh .ha-head h1 { font-size: 26px; } }
.hh.hh .ha-desc, .hh.hh .ha-desc p { margin: 0; color: #333333; font-size: 15px; line-height: 1.55; }
.hh.hh .ha-stat { font-size: 13px; color: var(--hh-muted); }

.hh.hh .ha-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; }
@media (max-width: 700px) { .hh.hh .ha-top { grid-template-columns: minmax(0, 1fr); } }
.hh.hh .ha-hero .hh-ph img { aspect-ratio: 16 / 9; }
.hh.hh .ha-hero .hh-title { font-size: 24px; line-height: 1.2; font-weight: 900; text-wrap: balance; margin: 0 0 6px; }
.hh.hh .ha-hero p { margin: 0 0 6px; color: #333333; font-size: 15px; }
.hh.hh .ha-sec { display: grid; gap: 18px; align-content: start; }
.hh.hh .ha-sec .hh-title { font-size: 16px; line-height: 1.3; margin: 0 0 4px; }

.hh.hh .ha-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hh.hh .ha-chips a { display: inline-flex; gap: 6px; border: 1px solid var(--hh-line); padding: 6px 10px; font-size: 13px; font-weight: 700; }
.hh.hh .ha-chips a span { color: var(--hh-muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.hh.hh .ha-chips .ha-lbl { font-size: 12px; color: var(--hh-muted); padding-right: 2px; }

.hh.hh .ha-day { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hh-muted); padding: 14px 0 4px; border-bottom: 2px solid var(--hh-ink); }
.hh.hh .ha-day:first-child { padding-top: 0; }
.hh.hh .ha-list li { display: grid; grid-template-columns: 50px minmax(0, 1fr) 132px; gap: 14px; padding: 14px 0; margin: 0; border-bottom: 1px solid var(--hh-soft); align-items: start; }
.hh.hh .ha-list li.np { grid-template-columns: 50px minmax(0, 1fr); }
.hh.hh .ha-list li > time { font-size: 14px; font-weight: 700; color: var(--hh-ink); font-variant-numeric: tabular-nums; padding-top: 1px; }
.hh.hh .ha-list h2 { margin: 0 0 4px; font-size: 17px; line-height: 1.3; font-weight: 700; }
.hh.hh .ha-list p { margin: 0; font-size: 14px; line-height: 1.5; color: #444444; }
.hh.hh .ha-sub { margin-top: 6px; font-size: 12px; color: var(--hh-muted); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.hh.hh .ha-sub .hot { color: var(--hh-accent-dk); font-weight: 700; }
.hh.hh .ha-list .hh-ph img { aspect-ratio: 4 / 3; }
@media (max-width: 600px) {
	.hh.hh .ha-list li { grid-template-columns: 44px minmax(0, 1fr); }
	.hh.hh .ha-list li .hh-ph { display: none; }
}
.hh.hh .ha-empty { color: var(--hh-muted); }

.hh.hh .ha-pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hh.hh .ha-pager .page-numbers { min-width: 38px; text-align: center; border: 1px solid var(--hh-line); padding: 8px 10px; font-weight: 700; font-size: 14px; }
.hh.hh .ha-pager .page-numbers.current { background: var(--hh-ink); color: #ffffff; border-color: var(--hh-ink); }
.hh.hh .ha-pager .page-numbers.dots { border: 0; }
.hh.hh .ha-pager .next { margin-left: auto; color: var(--hh-accent-dk); }

.hh.hh .ha-routes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.hh.hh .ha-routes a { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; border: 1px solid var(--hh-line); padding: 12px; }
.hh.hh .ha-routes b { display: block; font-size: 14px; line-height: 1.3; text-align: left; font-weight: 700; }
.hh.hh .ha-h2 { margin: 0 0 12px; font-size: 19px; font-weight: 900; }

/* sidebar blocks come from the home page; titles there are h2 → shown as div here */
.hh.hh .ha-side .hh-svitlo { padding: 14px 16px; }
.hh.hh .ha-side .hh-qs { grid-template-columns: 1fr 1fr; }
.hh.hh .ha-side .hh-h2 { font-size: 19px; }
