/* Buller teema — põhistiil. Tokenid vt kujundus/kujundus-juhend.md */

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/inter-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/inter-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Source Serif 4';
	font-style: normal;
	font-weight: 600 800;
	font-display: swap;
	src: url('../fonts/source-serif-4-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Source Serif 4';
	font-style: normal;
	font-weight: 600 800;
	font-display: swap;
	src: url('../fonts/source-serif-4-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--b-tekst: #111111;
	--b-taust: #ffffff;
	--b-aktsent: #ffd400;
	--b-aktsent-hele: #fff8cc;
	--b-aktsent-hele-piir: #f0e3a0;
	--b-sekundaarne: #555555;
	--b-joon: #e3e3e3;
	--b-joon-hele: #ededed;
	--b-hall-kast: #f4f4f4;
	--b-jalus-tekst-1: #cfcfcf;
	--b-jalus-tekst-2: #9e9e9e;
	--b-jalus-tekst-3: #e8e8e8;
	--b-hover: #5c4a00;
	--b-max: 1200px;
	--f-tekst: Inter, system-ui, sans-serif;
	--f-pealkiri: 'Source Serif 4', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--b-taust);
	color: var(--b-tekst);
	font-family: var(--f-tekst);
	font-size: 16px;
	line-height: 1.5;
}

img { max-width: 100%; height: auto; }

a {
	color: var(--b-tekst);
	text-decoration: none;
}
a:hover, a:focus-visible {
	color: var(--b-hover);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

button { font: inherit; cursor: pointer; }

.b-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--b-tekst);
	color: #fff;
	padding: 10px 16px;
	z-index: 1000;
}
.b-skip-link:focus { left: 10px; top: 10px; }

.b-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.b-wrap { max-width: var(--b-max); margin: 0 auto; padding: 0 24px; }

/* ---------- Päise reklaam (suletav riba enne topbari) ---------- */
.b-billboard { position: relative; width: 100%; background: var(--b-tekst); }
.b-billboard__link { display: block; }
.b-billboard img, .b-billboard video { display: block; width: 100%; height: auto; }
.b-billboard__close {
	position: absolute; top: 12px; right: 12px; z-index: 2;
	width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
	background: rgba(0,0,0,.55); color: #fff; border: none; border-radius: 2px; cursor: pointer;
}
.b-billboard__close:hover { background: rgba(0,0,0,.75); }
.b-billboard__disclaimer { margin: 0; padding: 8px 24px; background: var(--b-tekst); color: #cfd3d8; font-size: 12px; line-height: 1.4; text-align: center; }
@media (max-width: 860px) {
	.b-billboard__close { top: 8px; right: 8px; width: 28px; height: 28px; }
}

/* ---------- Ülariba ---------- */
.b-topbar { background: var(--b-tekst); color: var(--b-jalus-tekst-3); font-size: 13px; }
.b-topbar__row {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 8px 24px; padding: 8px 0;
}
.b-topbar__left, .b-topbar__right { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.b-topbar__weather { color: #bdbdbd; }
.b-topbar a { color: var(--b-jalus-tekst-3); }
.b-topbar__hint { color: var(--b-aktsent) !important; font-weight: 600; }

/* ---------- Päis ---------- */
.b-header { border-bottom: 1px solid var(--b-joon); }
.b-header__row {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
	gap: 16px; padding: 22px 0 18px;
}
.b-logo { display: block; }
.b-logo svg { height: 64px; width: auto; display: block; }
.b-header__tools { display: flex; align-items: center; gap: 10px; }
.b-search { display: flex; align-items: center; border: 1px solid #cfcfcf; height: 44px; padding: 0 6px 0 14px; gap: 6px; background: var(--b-taust); }
.b-search input { border: none; outline: none; font: inherit; font-size: 15px; width: 200px; background: transparent; color: var(--b-tekst); }
.b-search button { width: 36px; height: 36px; border: none; background: transparent; display: flex; align-items: center; justify-content: center; color: var(--b-tekst); }
.b-login { height: 44px; padding: 0 16px; display: flex; align-items: center; border: 1px solid var(--b-tekst); font-size: 14px; font-weight: 600; }

.b-nav { border-top: 1px solid var(--b-joon-hele); }
.b-nav__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 26px; font-size: 15px; font-weight: 600; list-style: none; margin: 0; padding: 0; }
.b-nav__row > li { position: relative; }
.b-nav a { padding: 13px 0; display: inline-block; border-bottom: 3px solid transparent; }
.b-nav a.is-active { border-bottom-color: var(--b-aktsent); }
.b-nav a.b-nav__muted { color: var(--b-sekundaarne); }
.b-nav__row li.has-dropdown > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 5px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.b-nav__row .sub-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 20; min-width: 200px; list-style: none; margin: 0; padding: 6px 0; background: #fff; border-top: 3px solid var(--b-aktsent); box-shadow: 0 12px 24px rgba(0,0,0,.12); }
.b-nav__row li.has-dropdown:hover > .sub-menu,
.b-nav__row li.has-dropdown:focus-within > .sub-menu { display: block; }
.b-nav__row .sub-menu a { display: block; padding: 10px 16px; border-bottom: none; }
.b-nav__row .sub-menu a:hover, .b-nav__row .sub-menu a:focus-visible { color: var(--b-aktsent); }

.b-mobile-header { display: none; }

/* ---------- Hetkel kuum ---------- */
.b-hot { background: var(--b-aktsent-hele); border-bottom: 1px solid var(--b-aktsent-hele-piir); }
.b-hot__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; font-size: 14px; padding: 10px 0; }
.b-hot__label { font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Pealugude ala ---------- */
.b-hero { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 28px; }
.b-hero__main { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.b-hero__main img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #e9e9e9; }
.b-hero__meta { display: flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.b-hero__badge { background: var(--b-aktsent); padding: 3px 7px; }
.b-hero__meta-muted { color: var(--b-sekundaarne); }
.b-hero__title { margin: 0; font-family: var(--f-pealkiri); font-weight: 800; font-size: 44px; line-height: 1.08; letter-spacing: -0.015em; }
.b-hero__excerpt { margin: 0; font-size: 18px; line-height: 1.55; color: #333333; max-width: 680px; }

.b-hero__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.b-hero__side-item { display: flex; flex-direction: column; gap: 10px; padding-bottom: 22px; border-bottom: 1px solid var(--b-joon); }
.b-hero__side-item:last-child { border-bottom: none; padding-bottom: 0; }
.b-hero__side-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; background: #e9e9e9; }
.b-hero__side-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.b-hero__side-meta { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--b-sekundaarne); }
.b-hero__side-title { margin: 0; font-family: var(--f-pealkiri); font-weight: 700; font-size: 24px; line-height: 1.18; }
.b-hero__side-excerpt { margin: 0; font-size: 15px; color: #444444; }

/* ---------- Põhiosa ---------- */
/* flex-wrap:nowrap (mitte wrap) on tahtlik: kahe veeru mahtumise otsus peab
   arvestama flex-shrink'i, aga brauser murrab wrap'iga rea lahti juba
   flex-basis'te summa (760+300+40 gap > sisu laius) järgi, ENNE kui shrink
   jõuab rakenduda — nii kukkus .b-aside .b-main alla (täislaiuses, teisel
   real) just desktopi vahepealsetel laiustel (~860-1100px), mistõttu
   sticky külgpaneel "jäi keset lehte kinni" (kasutaja märkas 2026-10-24,
   sama viga nii buller.ee's kui ka sisuportaalides — vt .p-content). */
.b-content { display: flex; flex-wrap: nowrap; gap: 40px; margin-top: 40px; padding-top: 28px; border-top: 3px solid var(--b-tekst); }
.b-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 44px; }
.b-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 32px; align-self: flex-start; position: sticky; top: 24px; }

.b-section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.b-section__head--line { padding-bottom: 10px; border-bottom: 1px solid var(--b-tekst); }
.b-section__title { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.b-section__more { font-size: 14px; font-weight: 600; white-space: nowrap; }

/* Viimased uudised — rida */
.b-list { display: flex; flex-direction: column; }
.b-list__item { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid var(--b-joon); }
.b-list__item:last-child { border-bottom: 1px solid var(--b-joon); }
.b-list__time { flex: 0 0 64px; font-size: 13px; color: var(--b-sekundaarne); padding-top: 3px; }
.b-list__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.b-list__title { margin: 0; font-family: var(--f-pealkiri); font-weight: 700; font-size: 20px; line-height: 1.25; }
.b-list__meta { font-size: 13px; color: var(--b-sekundaarne); }
.b-list__thumb { flex: 0 0 132px; width: 132px; height: 88px; object-fit: cover; margin-left: auto; background: #e9e9e9; }
.b-list__more { display: none; }

/* Rubriigiplokid — ruudustik */
.b-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px 28px; }
.b-grid__item { display: flex; flex-direction: column; gap: 6px; }
.b-grid__item--pildiga img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; background: #e9e9e9; margin-bottom: 4px; }
.b-grid__meta { font-size: 12px; color: var(--b-sekundaarne); }
.b-grid__title { margin: 0; font-family: var(--f-pealkiri); font-weight: 700; font-size: 19px; line-height: 1.25; }

/* Sisuturundus */
.b-sponsored { background: var(--b-hall-kast); padding: 22px 24px; }
.b-sponsored__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.b-sponsored__label { font-size: 13px; color: var(--b-sekundaarne); }
.b-sponsored__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px 24px; }
.b-sponsored__item { display: flex; flex-direction: column; gap: 10px; }
.b-sponsored__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; background: #e3e3e3; }
.b-sponsored__title { margin: 0; font-family: var(--f-pealkiri); font-weight: 700; font-size: 18px; line-height: 1.28; }

/* ---------- Külgpaneel ---------- */
.b-popular__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.b-popular__item { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--b-joon); }
.b-popular__item:last-child { border-bottom: 1px solid var(--b-joon); }
.b-popular__num { font-family: var(--f-pealkiri); font-weight: 800; font-size: 28px; line-height: 1; min-width: 22px; }
.b-popular__link { font-weight: 600; font-size: 16px; line-height: 1.35; }

.b-tip { background: var(--b-aktsent); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.b-tip__title { margin: 0; font-family: var(--f-pealkiri); font-weight: 800; font-size: 24px; line-height: 1.15; }
.b-tip__text { margin: 0; font-size: 15px; line-height: 1.5; }
.b-tip__btn { align-self: flex-start; background: var(--b-tekst); color: #fff; height: 44px; padding: 0 18px; display: flex; align-items: center; font-weight: 700; font-size: 15px; }
.b-tip__btn:hover { color: #fff; }

/* Täna on + Ilm + Päeva tsitaat + Valuutakursid — ÜKS ühtne plokkide grupp,
   sama raam/padding, nagu nad oleksid üks kaart nelja osaga (kasutaja soov
   2026-10-24). Väline raam (vasak/parem/üla-/alaserv) on hall.
   Kaartide VAHEL olev eraldusjoon on aktsendikollane, aga NII NAGU
   .b-weather__forecast oma sisemine joon ("10°" ja pilvede rea vahel) —
   see EI lähe servast servani, vaid on padding'u (18px) võrra seest
   kitsam, nii et see ei puutu hallisse raami kokku (kasutaja täpsustas
   2026-10-24, pärast esialgset "servast servani" katset). Kuna
   border-top ise alati läheks terve kaardi laiuseni, on joon eraldi
   ::before pseudoelemendina, mis saab omaette vasak/parem-inset. */
.b-info-group { display: block; }
.b-info-card { position: relative; box-sizing: border-box; border-left: 1px solid var(--b-joon); border-right: 1px solid var(--b-joon); padding: 18px; }
.b-info-group > .b-info-card:first-child { border-top: 1px solid var(--b-joon); }
.b-info-group > .b-info-card:last-child { border-bottom: 1px solid var(--b-joon); }
.b-info-group > .b-info-card:not(:first-child)::before { content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 1px; background: var(--b-aktsent); }

.b-quote__text { margin: 0; font-family: var(--f-pealkiri); font-style: italic; font-weight: 600; font-size: 22px; line-height: 1.3; }
.b-quote__author { margin: 10px 0 0; font-size: 14px; color: var(--b-sekundaarne); text-align: right; }

.b-currency__unit { margin: 0 0 8px; font-size: 13px; color: var(--b-sekundaarne); }
.b-currency__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; font-size: 15px; font-variant-numeric: tabular-nums; }
.b-currency__code { font-weight: 600; }
.b-currency__value { text-align: right; }

/*
 * Kuupäevakast: "24 oktoober" ühel real, kuunimi aktsendivärvis, kogu
 * kaardi laiuses (kasutaja täpsustas 2026-10-24). Selle all väike vahe,
 * nädalapäeva pealkiri ja loend tänastest tähtpäevadest (eesti + rahvus-
 * vahelised, vt buller_get_calendar_days() inc/helpers.php) — mitte enam
 * üksik tähtpäev, et kaart kannaks rohkem sisu.
 */
/* Must kast servani — tühistab kaardi 18px padding'u vasakul/paremal/üleval
   negatiivse marginaaliga, et kast puutuks hallisse raami otse kokku, ilma
   vahepealse valge servata (kasutaja täpsustas 2026-10-24). */
.b-today__date { background: var(--b-tekst); color: #fff; display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 16px 0; margin: -18px -18px 14px; }
.b-today__day { font-family: var(--f-pealkiri); font-weight: 800; font-size: 26px; line-height: 1; }
.b-today__month { font-size: 17px; font-weight: 700; line-height: 1; color: var(--b-aktsent); }
.b-today__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.b-today__weekday { margin: 0; font-family: var(--f-pealkiri); font-weight: 700; font-size: 20px; line-height: 1.2; }
.b-today__list { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 3px; }
.b-today__list li { font-size: 14px; color: #444444; }

/* Ilm — praegune ilm + prognoosiriba, osa .b-info-card grupist. CSS Grid
   kõikjal, et paigutus ei laguneks kitsal ekraanil üksikuteks ridadeks. */
.b-weather__now { display: grid; grid-template-columns: auto auto 1fr; align-items: center; column-gap: 12px; }
.b-weather__now-icon { grid-row: 1 / 3; color: var(--b-tekst); display: flex; }
.b-weather__temp { grid-column: 2; grid-row: 1 / 3; font-family: var(--f-pealkiri); font-weight: 800; font-size: 30px; line-height: 1; white-space: nowrap; }
.b-weather__body { grid-column: 3; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.b-weather__place { font-size: 14px; font-weight: 700; }
.b-weather__desc { font-size: 12px; color: var(--b-sekundaarne); }

.b-weather__forecast { box-sizing: border-box; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--b-aktsent); }
.b-weather__fday { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; text-align: center; }
.b-weather__fday-label { font-size: 10px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--b-sekundaarne); white-space: nowrap; }
.b-weather__fday-icon { color: var(--b-tekst); display: flex; }
.b-weather__fday-temp { font-size: 12px; font-weight: 700; color: var(--b-tekst); white-space: nowrap; }
.b-weather__fday-min { font-weight: 400; color: var(--b-sekundaarne); margin-left: 3px; }

/* Reklaamikohad. Kui pole seadistatud (vt buller_render_ad()), ei kuvata
   midagi — need klassid vormindavad ainult pildi, kui see on olemas. */
.b-ad-slot { display: block; width: 100%; height: 100%; position: relative; }
.b-ad-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b-ad__label { position: absolute; top: 4px; left: 4px; background: rgba(255,255,255,.85); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #555; padding: 2px 6px; }

.b-ad { width: 300px; max-width: 100%; height: 250px; overflow: hidden; }

.b-ad-grid__head { font-size: 14px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 12px; }
/* Üksteise alla (1 veerg), mitte 2×2 — 2 kõrvuti jäi külgpaneeli laiuses
   liiga kitsaks reaalse reklaami jaoks (kasutaja täpsustas 2026-10-24). */
.b-ad-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.b-ad-grid__item { aspect-ratio: 1; overflow: hidden; }

.b-ad-banner { overflow: hidden; margin: 40px 0; max-width: 728px; height: 90px; }
.b-ad-banner .b-ad-slot, .b-ad-banner .b-ad-slot img { width: 100%; height: 100%; }

.b-portals { display: flex; flex-direction: column; gap: 18px; }
.b-portals__head { display: flex; flex-direction: column; gap: 2px; }
.b-portals__sub { font-size: 13px; color: var(--b-sekundaarne); }
.b-portal-card { padding-top: 10px; display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--b-portal-color, var(--b-tekst)); }
.b-portal-card__logo { display: block; align-self: flex-start; }
.b-portal-card__logo svg, .b-portal-card__logo img { height: 20px; width: auto; display: block; }
.b-portal-card__link { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; }
.b-portal-card__thumb { flex: 0 0 96px; width: 96px; height: 64px; object-fit: cover; display: block; background: #e9e9e9; }
.b-portal-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.b-portal-card__title { font-family: var(--f-pealkiri); font-weight: 700; font-size: 16px; line-height: 1.28; color: var(--b-tekst); }
.b-portal-card__date { font-size: 12px; color: var(--b-sekundaarne); }

/* ---------- Breadcrumb ---------- */
.b-breadcrumb { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--b-sekundaarne); }
.b-breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 6px; color: #bdbdbd; }
.b-breadcrumb a { color: var(--b-sekundaarne); }

/* ---------- Üks artikkel (single.php) ---------- */
.b-article { max-width: 760px; }
.b-article__header { display: flex; flex-direction: column; gap: 12px; padding: 18px 0 24px; }
.b-article__meta-top { display: flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.b-article__title { margin: 0; font-family: var(--f-pealkiri); font-weight: 800; font-size: 38px; line-height: 1.12; letter-spacing: -0.01em; }
.b-article__lead { margin: 0; font-size: 19px; line-height: 1.5; color: #333333; }
.b-article__byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--b-sekundaarne); padding-top: 6px; border-top: 1px solid var(--b-joon); }
.b-article__byline strong { color: var(--b-tekst); font-weight: 600; }

.b-article__featured { margin: 0 0 28px; }
.b-article__featured img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #e9e9e9; }
.b-article__featured figcaption { margin-top: 8px; font-size: 13px; color: var(--b-sekundaarne); }

/*
 * Osa vanu postitusi (ja mõni toimetaja jätkuvalt) kasutab WPBakery Page
 * Builderit — selle <p>, <h2> jne EI ole .b-article__content otsesed
 * lapsed, vaid mitu taset sügavamal (vc_row > vc_column > wpb_wrapper > p),
 * nii et varasem otselapse-selektor (> * + *) jättis need vahele ja tekst
 * jooksis üheks jorus kokku (kasutaja märkas 2026-10-24). Lõiguvahe anname
 * siit edasi margin-bottom'iga IGALE elemendile olenemata pesastuse
 * sügavusest, mitte ainult otsestele lastele.
 */
.b-article__content { font-size: 18px; line-height: 1.7; color: #222222; }
.b-article__content h2 { font-family: var(--f-pealkiri); font-weight: 700; font-size: 26px; line-height: 1.25; margin: 40px 0 16px; }
.b-article__content h3 { font-family: var(--f-pealkiri); font-weight: 700; font-size: 21px; line-height: 1.3; margin: 32px 0 12px; }
.b-article__content p { margin: 0 0 22px; }
.b-article__content img { width: 100%; height: auto; display: block; margin: 0 0 22px; }
.b-article__content figure { margin: 0 0 22px; }
.b-article__content figcaption { font-size: 13px; color: var(--b-sekundaarne); margin-top: 8px; }
.b-article__content a { text-decoration: underline; text-underline-offset: 2px; }
.b-article__content blockquote { margin: 0 0 22px; padding-left: 20px; border-left: 3px solid var(--b-aktsent); font-family: var(--f-pealkiri); font-style: italic; font-size: 21px; line-height: 1.4; }
.b-article__content ul, .b-article__content ol { margin: 0 0 22px; padding-left: 22px; }
.b-article__content li + li { margin-top: 8px; }

.b-article__source { margin-top: 28px; font-size: 13px; color: var(--b-sekundaarne); }
.b-article__source strong { text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; display: block; margin-bottom: 2px; color: var(--b-tekst); }

/*
 * Need neli plokki (sildid, jaga, eelmine/järgmine, autoriboks) järgnevad
 * artikli põhisisu lõppedes vahetult üksteisele dokumendivoos — ilma
 * ülemise vahega kleepusid nad kokku ("sildid jne on üksteise otsas",
 * kasutaja märkas 2026-10-24). Iga plokk saab oma ülemise vahe + sildid/jaga
 * vahele õhuke eraldusjoon, et need loetaks selgelt eraldi sektsioonidena.
 */
.b-article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--b-joon); }
.b-article__tags a { font-size: 13px; padding: 6px 12px; border: 1px solid var(--b-joon); color: var(--b-tekst); }
.b-article__tags a:hover { border-color: var(--b-tekst); text-decoration: none; }

.b-article__share { display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.b-article__share-label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--b-sekundaarne); }
.b-article__share a { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--b-joon); }
.b-article__share a:hover { border-color: var(--b-tekst); }

.b-article__nav { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; margin-top: 36px; padding: 24px 0; border-top: 1px solid var(--b-joon); border-bottom: 1px solid var(--b-joon); }
.b-article__nav-item { display: flex; flex-direction: column; gap: 4px; max-width: 48%; }
.b-article__nav-item--next { text-align: right; margin-left: auto; }
.b-article__nav-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--b-sekundaarne); }
.b-article__nav-title { font-family: var(--f-pealkiri); font-weight: 700; font-size: 16px; line-height: 1.3; }

.b-author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 36px; padding: 24px; background: var(--b-hall-kast); }
.b-author-box img { width: 56px; height: 56px; border-radius: 50%; flex: 0 0 56px; }
.b-author-box__name { font-family: var(--f-pealkiri); font-weight: 700; font-size: 18px; margin: 0 0 4px; }
.b-author-box__bio { font-size: 14px; color: #444444; margin: 0; }

/*
 * "Kuula artiklit" nupp tuleb kolmanda osapoole pistikprogrammist
 * (ResponsiveVoice, klass .responsivevoice-button) — see pole teema enda
 * markup, nii et me ei saa selle suurust artikli sisus ühtlustada, ainult
 * CSS-iga üle kirjutada. Pistik ise paneb nupule suhtelise (artiklite
 * vahel kõikuva) suuruse, mistõttu nupp oli eri postitustel eri suur ja
 * liiga suur (kasutaja märkas 2026-10-24) — fikseerime kindla, kompaktse
 * suuruse !important'iga, mis töötab kõikjal ühtemoodi.
 */
.responsivevoice-button {
	font-size: 14px !important;
	line-height: 1.2 !important;
	padding: 10px 18px !important;
	width: auto !important;
	height: auto !important;
	max-width: max-content !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	font-family: var(--f-pealkiri) !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em !important;
}
.responsivevoice-button .rvtts-icon { width: 20px !important; height: 20px !important; flex: 0 0 auto !important; }
.responsivevoice-button__label { font-size: 14px !important; }

/*
 * Nii kogu rea joon kui aktiivse saki allajoon on SAMA paksusega (3px) ja
 * saki -3px negatiivne alumine marginaal asetab need täpselt kattuvaks —
 * varem oli rea joon 1px ja saki oma 3px, mistõttu üleminek kollaselt
 * mustale tekitas nähtava "astme"/katkise visuaali (kasutaja märkas
 * 2026-10-24).
 */
.b-related__tabs { display: flex; gap: 24px; border-bottom: 3px solid var(--b-joon); margin-bottom: 18px; }
.b-related__tab { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding-bottom: 10px; color: var(--b-sekundaarne); border-bottom: 3px solid transparent; margin-bottom: -3px; }
.b-related__tab.is-active { color: var(--b-tekst); border-bottom-color: var(--b-aktsent); }

/* ---------- Kategooria / arhiiv (category.php) ---------- */
.b-archive__header { padding: 24px 0 28px; border-bottom: 3px solid var(--b-tekst); margin-bottom: 28px; }
.b-archive__title { margin: 0 0 8px; font-family: var(--f-pealkiri); font-weight: 800; font-size: 36px; line-height: 1.1; }
.b-archive__desc { margin: 0; font-size: 16px; color: var(--b-sekundaarne); max-width: 680px; }
.b-archive__count { font-size: 13px; color: var(--b-sekundaarne); margin-top: 6px; }

.b-archive-item { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--b-joon); }
.b-archive-item:last-child { border-bottom: 1px solid var(--b-joon); }

/* Reklaamiriba loeteluvaates (iga 11 postituse järel), 3x kõrgem kui
   tavaline 728×90 riba (kasutaja täpsustas 2026-10-24). Eraldi üla-/
   alajoont plokil pole — reklaami enda raam (ad-placeholder SVG) piirab
   seda juba piisavalt, lisajoon oleks topelt (kasutaja täpsustas
   2026-10-24). */
/* Parem proportsioon: täislaiuses (mitte 728px lakke jäänud), madalam kui
   esialgne 270px (kasutaja täpsustas 2026-10-24, näitas sobivat kõrgust). */
.b-ad-banner.b-archive-ad { width: 100%; max-width: none; height: 180px; margin: 28px 0; padding: 0; }
.b-archive-item__thumb { flex: 0 0 220px; width: 220px; aspect-ratio: 3 / 2; object-fit: cover; display: block; background: #e9e9e9; }
.b-archive-item__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.b-archive-item__meta { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--b-sekundaarne); }
.b-archive-item__title { margin: 0; font-family: var(--f-pealkiri); font-weight: 700; font-size: 23px; line-height: 1.22; }
.b-archive-item__excerpt { margin: 0; font-size: 15px; color: #444444; line-height: 1.5; }

.b-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.b-pagination a, .b-pagination span { min-width: 40px; height: 40px; padding: 0 10px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--b-joon); font-size: 14px; font-weight: 600; }
.b-pagination .current { background: var(--b-tekst); color: #fff; border-color: var(--b-tekst); }
.b-pagination a:hover { border-color: var(--b-tekst); text-decoration: none; }

@media (max-width: 860px) {
	.b-article__title { font-size: 28px; }
	.b-article__lead { font-size: 17px; }
	.b-article__content { font-size: 17px; }
	.b-article__nav { flex-direction: column; }
	.b-article__nav-item, .b-article__nav-item--next { max-width: 100%; text-align: left; margin-left: 0; }
	.b-archive-item { flex-direction: column; gap: 10px; }
	.b-archive-item__thumb { width: 100%; flex-basis: auto; aspect-ratio: 16/9; }
}

/* ---------- 404 ---------- */
.b-404 { max-width: 560px; margin: 56px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.b-404__code { margin: 0; font-family: var(--f-pealkiri); font-weight: 800; font-size: 96px; line-height: 1; color: var(--b-aktsent); -webkit-text-stroke: 2px var(--b-tekst); }
.b-404__title { margin: 0; font-family: var(--f-pealkiri); font-weight: 700; font-size: 26px; }
.b-404__text { margin: 0; color: var(--b-sekundaarne); }
.b-404__links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.b-404__links a { font-size: 14px; padding: 8px 14px; border: 1px solid var(--b-joon); }
.b-404__links a:hover { border-color: var(--b-tekst); text-decoration: none; }

/* ---------- Jalus ---------- */
.b-footer { margin-top: 56px; background: var(--b-tekst); color: var(--b-jalus-tekst-3); }
.b-footer__row { display: flex; flex-wrap: wrap; gap: 32px 56px; justify-content: space-between; padding: 40px 0; }
.b-footer__about { flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; max-width: 460px; }
.b-footer__about svg { height: 52px; width: auto; display: block; align-self: flex-start; }
.b-footer__about p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--b-jalus-tekst-1); }
.b-footer__about a { color: var(--b-aktsent); }
.b-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 56px; font-size: 15px; }
.b-footer__col { display: flex; flex-direction: column; gap: 8px; }
.b-footer__col-title { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--b-jalus-tekst-2); }
.b-footer__col a { color: var(--b-jalus-tekst-3); }
.b-footer__bottom { border-top: 1px solid #2c2c2c; }
.b-footer__bottom-row { padding: 14px 0; font-size: 13px; color: var(--b-jalus-tekst-2); }

/* ============ Mobiil ============ */
@media (max-width: 860px) {
	.b-wrap { padding: 0 16px; }

	/* päis: hamburger + väiksem logo + otsingunupp, rubriigid kerituvad */
	.b-topbar { display: none; }
	.b-header__desktop-row { display: none; }
	.b-mobile-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; gap: 8px; }
	.b-mobile-header__btn { width: 44px; height: 44px; border: none; background: transparent; display: flex; align-items: center; justify-content: center; color: var(--b-tekst); }
	.b-mobile-header .b-logo svg { height: 40px; }
	.b-nav__row { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; gap: 20px; -webkit-overflow-scrolling: touch; }
	.b-login { display: none; }

	/* hero: täislaius, kompaktsem */
	.b-hero { flex-direction: column; gap: 0; padding-top: 0; }
	.b-hero__main { flex: 1 1 auto; gap: 10px; }
	.b-hero__main img { aspect-ratio: auto; height: 240px; }
	.b-hero__main .b-wrap-inner { padding: 0 16px; display: flex; flex-direction: column; gap: 10px; }
	.b-hero__title { font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; }
	.b-hero__excerpt { font-size: 16px; }
	.b-hero__side { flex-direction: column; gap: 0; }
	.b-hero__side-item { flex-direction: row-reverse; align-items: flex-start; gap: 12px; padding: 18px 0; margin-top: 0; }
	.b-hero__side-thumb { flex: 0 0 104px; }
	.b-hero__side-item img { width: 104px; height: 78px; aspect-ratio: auto; display: block; }
	.b-hero__side-body { flex: 1 1 auto; min-width: 0; }
	.b-hero__side-title { font-size: 19px; }

	.b-content { flex-direction: column; gap: 0; margin-top: 18px; padding-top: 16px; border-top-width: 3px; }
	.b-main, .b-aside { gap: 0; }
	.b-aside { position: static; top: auto; }

	.b-list__item { padding: 14px 0; }
	.b-list__item:last-child { border-bottom: none; }
	.b-list__time { display: none; }
	.b-list__title { font-size: 18px; }
	.b-list__thumb { flex-basis: 96px; width: 96px; height: 64px; }
	.b-list__more { display: flex; align-items: center; justify-content: center; height: 48px; margin-top: 16px; border: 1px solid var(--b-tekst); font-weight: 700; font-size: 15px; }

	/* Desktopi-ainsad plokid peidetud mobiilis (vt kujundus-juhend.md "Mobiil") */
	.b-hide-mobile { display: none !important; }

	.b-section, .b-aside > * { margin-top: 32px; }
	.b-sponsored { padding: 18px 16px; margin-top: 32px; }
	.b-sponsored__grid { grid-template-columns: 1fr; gap: 10px; }
	.b-sponsored__item img { aspect-ratio: auto; height: 190px; }

	.b-today__date { padding: 14px 0; }
	.b-today__day { font-size: 22px; }
	.b-today__month { font-size: 15px; }

	.b-footer { padding: 28px 0; }
	.b-footer__row { padding: 0; gap: 12px; }
	.b-footer__about svg { height: 44px; }
	.b-footer__cols { display: none; }
}
