/* holnapi-idojaras.hu
   Layout: ködös égbolt alap, egy hangsúlyos "holnap" égbolt-kártya, alatta adatsávok. */
@font-face { font-family: 'Unbounded'; font-style: normal; font-display: swap; font-weight: 300 900;
  src: url('fonts/unbounded-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-display: swap; font-weight: 300 900;
  src: url('fonts/unbounded-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,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: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url('fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --bg: #E9EEF1; --surface: #FFFFFF; --surface2: #F3F6F8; --ink: #13212C; --muted: #5A6974; --line: #D6DEE3;
  --accent: #1F6FB2; --sun: #E28A1C; --rain: #2F78C0; --warn: #B4551B; --ok: #2D7D57;
  --i-sun: #F2A531; --i-moon: #8C9CC4; --i-cloud: #C3D0D9; --i-cloud2: #91A3B1; --i-rain: #3B86D1; --i-snow: #7DB7DE;
  --sky-a: #17304A; --sky-b: #0F2133; --sky-ink: #F3F7FA; --sky-muted: #B3C3CF; --sky-line: rgba(255,255,255,.14);
  --f-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --f-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --r: 18px; --shadow: 0 1px 2px rgba(19,33,44,.06), 0 8px 24px -12px rgba(19,33,44,.18);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0B131A; --surface: #121C25; --surface2: #18242E; --ink: #E4ECF1; --muted: #8FA1AD; --line: #23323D;
  --accent: #6AB2EE; --sun: #F3B04F; --rain: #6AA9EA; --warn: #F08A4B; --ok: #5CC28E;
  --i-sun: #F5B544; --i-moon: #C9D4F0; --i-cloud: #8E9FAC; --i-cloud2: #64788A; --i-rain: #63A8EE; --i-snow: #A8D4F2;
  --sky-a: #1D3550; --sky-b: #14263A; --sky-ink: #F3F7FA; --sky-muted: #B3C3CF; --sky-line: rgba(255,255,255,.14);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -14px rgba(0,0,0,.6); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0B131A; --surface: #121C25; --surface2: #18242E; --ink: #E4ECF1; --muted: #8FA1AD; --line: #23323D;
  --accent: #6AB2EE; --sun: #F3B04F; --rain: #6AA9EA; --warn: #F08A4B; --ok: #5CC28E;
  --i-sun: #F5B544; --i-moon: #C9D4F0; --i-cloud: #8E9FAC; --i-cloud2: #64788A; --i-rain: #63A8EE; --i-snow: #A8D4F2;
  --sky-a: #1D3550; --sky-b: #14263A; --sky-ink: #F3F7FA; --sky-muted: #B3C3CF; --sky-line: rgba(255,255,255,.14);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px -14px rgba(0,0,0,.6); color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f-body); font-variant-numeric: tabular-nums; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
h2 { font: 600 1.15rem/1.3 var(--f-display); letter-spacing: -.01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); } .small { font-size: .875rem; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wi { width: 2.25rem; height: 2.25rem; flex: none; }

/* ---- fejléc ---- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 12px; padding-block: 10px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font: 700 1rem/1 var(--f-display); letter-spacing: -.02em; margin-right: auto; }
.logo .wi { width: 1.9rem; height: 1.9rem; }
.logo span small { display: block; font: 500 .68rem/1.2 var(--f-body); color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.search { position: relative; flex: 1 1 260px; max-width: 420px; }
.search input { width: 100%; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 0 16px 0 40px; font: inherit; font-size: .95rem; }
.search input:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.search svg.mag { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 2.2; }
.results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); list-style: none; margin: 0; padding: 6px; z-index: 40; max-height: 320px; overflow: auto; }
.results li button { width: 100%; text-align: left; border: 0; background: none; color: var(--ink); font: inherit; padding: 9px 12px; border-radius: 10px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; }
.results li button:hover, .results li button[aria-selected="true"] { background: var(--surface2); }
.results li small { color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .875rem/1 var(--f-body); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: var(--accent); }
.btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn.icon-only { width: 42px; padding: 0; justify-content: center; }
.btn[aria-pressed="true"] svg { fill: var(--sun); stroke: var(--sun); }

/* ---- oldal fej ---- */
.crumbs { font-size: .85rem; color: var(--muted); margin: 18px 0 6px; }
.crumbs ol { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; padding: 0; margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.page-head { display: grid; gap: 10px; margin-bottom: 22px; }
.page-head h1 { font: 700 clamp(1.7rem, 4.2vw, 2.9rem)/1.08 var(--f-display); letter-spacing: -.03em; }
.page-head h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: 1.06rem; max-width: 68ch; margin: 0; }
.meta-row { display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.meta-row .btn { height: 36px; font-size: .8rem; }
.live { display: inline-flex; align-items: center; gap: 7px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent); }
.live.stale::before { background: var(--warn); box-shadow: 0 0 0 4px color-mix(in srgb, var(--warn) 22%, transparent); }
.preview-note { background: color-mix(in srgb, var(--sun) 18%, var(--surface)); color: var(--ink); border-radius: 999px; padding: 4px 12px; font-weight: 600; }

/* ---- rács ---- */
.top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.stack { display: grid; gap: 20px; min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; min-width: 0; }
.card > h2 { margin-bottom: 14px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.card-head p { margin: 0; color: var(--muted); font-size: .85rem; }
section { margin-top: 20px; }

/* ---- hős (holnap) ---- */
.hero { --glow: rgba(195,208,217,.16); --i-cloud: #D7E0E7; --i-cloud2: #A3B5C3; border-radius: calc(var(--r) + 6px); padding: clamp(18px, 3vw, 30px); color: var(--sky-ink);
  background: radial-gradient(90% 80% at 12% 8%, var(--glow), transparent 62%), linear-gradient(165deg, var(--sky-a), var(--sky-b)); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero.sky-clear, .hero.sky-partly { --glow: rgba(242,165,49,.30); }
.hero.sky-rain, .hero.sky-drizzle, .hero.sky-shower, .hero.sky-sleet { --glow: rgba(70,145,220,.34); }
.hero.sky-snow { --glow: rgba(170,215,245,.28); }
.hero.sky-storm { --glow: rgba(160,120,230,.30); }
.hero-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--sky-muted); }
.hero-top p { margin: 0; }
.hero-main { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: clamp(12px, 3vw, 26px); align-items: center; margin: 14px 0 18px; }
.hero-ico { width: clamp(84px, 14vw, 132px); height: clamp(84px, 14vw, 132px); grid-row: span 2; filter: drop-shadow(0 6px 14px rgba(0,0,0,.3)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-5px); } }
.hero-temps { display: flex; align-items: baseline; gap: 14px; }
.tmax { font: 700 clamp(3.4rem, 9vw, 5.6rem)/.95 var(--f-display); letter-spacing: -.05em; }
.tmin { font: 500 clamp(1.6rem, 4vw, 2.4rem)/1 var(--f-display); color: var(--sky-muted); letter-spacing: -.03em; }
.hero-desc { margin: 4px 0 0; font-size: 1.15rem; font-weight: 600; }
.strip { display: flex; height: 12px; border-radius: 999px; overflow: hidden; }
.strip i { flex: 1; }
.strip-axis { display: flex; justify-content: space-between; font-size: .72rem; color: var(--sky-muted); margin-top: 4px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 18px 0 0; border-top: 1px solid var(--sky-line); }
.hero-stats div { padding: 11px 10px 10px 0; border-bottom: 1px solid var(--sky-line); }
.hero-stats dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--sky-muted); font-weight: 700; }
.hero-stats dd { margin: 2px 0 0; font-weight: 700; font-size: 1rem; }
.hero-day { margin: 12px 0 0; font-size: .85rem; color: var(--sky-muted); }

/* ---- ma vs holnap ---- */
.cmp { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.cmp-day { display: grid; justify-items: center; gap: 2px; background: var(--surface2); border-radius: 14px; padding: 12px 8px; }
.cmp-l { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
.cmp-t { font: 600 1.35rem/1.1 var(--f-display); }
.cmp-t small { font-size: .9rem; color: var(--muted); }
.cmp-p { font-size: .8rem; color: var(--muted); }
.cmp-delta { display: grid; justify-items: center; line-height: 1.1; }
.cmp-delta b { font: 700 1.2rem/1 var(--f-display); }
.cmp-delta b.sm { font-size: .95rem; margin-top: 8px; }
.cmp-delta span { font-size: .7rem; color: var(--muted); }
.d-up b { color: var(--warn); } .d-down b { color: var(--rain); }
.cmp-msg { margin: 12px 0 0; font-weight: 600; }

/* ---- tippek ---- */
.tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tip { display: grid; grid-template-columns: 82px 1fr; gap: 10px; align-items: baseline; font-size: .93rem; }
.tip-k { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; padding: 3px 8px; border-radius: 6px; text-align: center; background: var(--surface2); color: var(--muted); }
.t-rain .tip-k { background: color-mix(in srgb, var(--rain) 16%, transparent); color: var(--rain); }
.t-warn .tip-k { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.t-ok .tip-k { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }

/* ---- diagram ---- */
.chart-wrap { overflow-x: auto; margin: 0 -6px; }
.chart { display: block; width: 100%; min-width: 640px; height: auto; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .base { stroke: var(--line); }
.chart .ax { fill: var(--muted); font: 500 12px var(--f-body); }
.chart .ax.lg { font-size: 11px; }
.chart .tarea { fill: url(#tg); }
.chart .tline { fill: none; stroke: var(--sun); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.chart .tdot { fill: var(--surface); stroke: var(--sun); stroke-width: 2.5; }
.chart .tv { fill: var(--ink); font: 700 13px var(--f-body); }
.chart .pbar { fill: var(--rain); opacity: .8; }
.hours { list-style: none; margin: 16px 0 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 74px; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; }
.hours li { position: relative; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 12px; background: var(--surface2); font-size: .8rem; }
.hr-t { color: var(--muted); font-weight: 600; }
.hr-v { font: 600 1.05rem/1.2 var(--f-display); }
.hr-p { color: var(--muted); } .hr-p.wet, .wk-p.wet { color: var(--rain); font-weight: 700; }
.hr-w { color: var(--muted); font-size: .72rem; }

/* ---- napszakok ---- */
.parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.parts li { display: grid; gap: 2px; justify-items: start; padding: 14px; border-radius: 14px; background: var(--surface2); }
.parts h3 { font: 700 .95rem/1.2 var(--f-body); }
.pt-h, .pt-p { font-size: .78rem; color: var(--muted); }
.parts .wi { width: 2.8rem; height: 2.8rem; margin: 4px 0; }
.pt-t { font: 600 1.6rem/1.1 var(--f-display); letter-spacing: -.02em; }
.pt-d { font-size: .88rem; font-weight: 600; }

/* ---- levegő ---- */
.aqi { display: flex; gap: 14px; align-items: center; }
.aqi-n { font: 700 1.6rem/1 var(--f-display); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #12202A; }
.aqi-g1 .aqi-n { background: #5FD0C2; } .aqi-g2 .aqi-n { background: #8FD68A; } .aqi-g3 .aqi-n { background: #F2D35B; }
.aqi-g4 .aqi-n { background: #F29A55; } .aqi-g5 .aqi-n { background: #E2625A; color: #fff; } .aqi-g6 .aqi-n { background: #8E3E8A; color: #fff; } .aqi-na .aqi-n { background: var(--surface2); color: var(--muted); }
.aqi small { color: var(--muted); }
.aq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.aq-list div { background: var(--surface2); border-radius: 10px; padding: 8px 12px; }
.aq-list dt { font-size: .72rem; color: var(--muted); font-weight: 700; } .aq-list dd { margin: 0; font-weight: 700; }
.pollen { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pollen li { display: flex; justify-content: space-between; font-size: .9rem; }
.pl-alacsony { color: var(--ok); } .pl-közepes { color: var(--sun); } .pl-magas { color: var(--warn); }

/* ---- 7 nap ---- */
.week { list-style: none; margin: 0; padding: 0; }
.week li { display: grid; grid-template-columns: 92px 2.2rem minmax(0, 1fr) 46px 42px minmax(70px, 1.3fr) 42px; gap: 10px; align-items: center; padding: 9px 8px; border-bottom: 1px solid var(--line); }
.week li:last-child { border-bottom: 0; }
.week li.is-tm { background: color-mix(in srgb, var(--sun) 12%, transparent); border-radius: 12px; border-bottom-color: transparent; }
.wk-d { display: grid; line-height: 1.2; } .wk-d small { color: var(--muted); }
.wk-x { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-p { font-size: .85rem; color: var(--muted); text-align: right; }
.wk-lo { color: var(--muted); text-align: right; } .wk-hi { font-weight: 700; }
.wk-bar { position: relative; height: 8px; background: var(--surface2); border-radius: 999px; }
.wk-bar i { position: absolute; top: 0; bottom: 0; border-radius: 999px; min-width: 8px; }

/* ---- országos térkép ---- */
.nat { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.map-wrap { overflow-x: auto; }
.map { width: 100%; min-width: 520px; height: auto; display: block; }
.map .land { fill: var(--surface2); stroke: var(--i-cloud2); stroke-width: 1.2; }
.map .pin { text-decoration: none; }
.map .pin-dot { fill: var(--ink); }
.map .pin-t { font: 700 12.5px var(--f-display); fill: var(--ink); }
.map .pin-n { font: 600 8.5px var(--f-body); fill: var(--muted); }
.map .pin:hover .pin-t, .map .pin:focus .pin-t { fill: var(--accent); }
.ext { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ext li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.ext li span { color: var(--muted); font-size: .85rem; } .ext li b { font: 700 1.1rem var(--f-display); }
.cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 10px; }
.cities a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; grid-template-rows: auto auto; gap: 2px 8px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); height: 100%; }
.cities a:hover { border-color: var(--accent); }
.nc-n { font-weight: 700; min-width: 0; overflow-wrap: anywhere; hyphens: auto; line-height: 1.25; } .cities .wi { grid-row: 1 / span 2; grid-column: 2; align-self: start; }
.nc-t { grid-column: 1; }
.nc-t { font: 600 1.05rem var(--f-display); } .nc-t small { color: var(--muted); font-size: .8rem; }
.nc-p { grid-column: 1 / -1; font-size: .78rem; color: var(--muted); }
.favs { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .85rem; cursor: pointer; font-family: inherit; }
.chip:hover { border-color: var(--accent); }

/* ---- szöveges tartalom ---- */
.prose { max-width: 70ch; }
.prose p { margin: 0 0 12px; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font: 600 1.2rem/1 var(--f-display); color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 8px 0 0; max-width: 70ch; }
.two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .92rem; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 600; }
.near { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---- lábléc ---- */
.site-foot { margin-top: 48px; border-top: 1px solid var(--line); background: var(--surface); }
.site-foot .wrap { padding-block: 32px 40px; display: grid; gap: 22px; }
.site-foot h2 { font-size: .95rem; margin-bottom: 10px; }
.foot-links { list-style: none; margin: 0; padding: 0; columns: 4 170px; column-gap: 20px; font-size: .9rem; }
.foot-links li { break-inside: avoid; padding: 3px 0; }
.foot-links a { color: var(--ink); text-decoration: none; } .foot-links a:hover { color: var(--accent); text-decoration: underline; }
.foot-meta { font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; z-index: 50; }

@media (max-width: 920px) {
  .top, .nat, .two { grid-template-columns: minmax(0, 1fr); }
  .parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .week li { grid-template-columns: 70px 2rem 40px 34px minmax(40px, 1fr) 34px; gap: 6px; padding: 9px 4px; }
  .wk-x { display: none; }
  .btn .lbl { display: none; } .btn.has-lbl { width: 42px; padding: 0; justify-content: center; }
  .card { padding: 16px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; scroll-behavior: auto !important; } }

/* ---- településlisták (vármegye-oldal, kerületek) ---- */
.counties { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.counties a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); height: 100%; }
.counties a:hover { border-color: var(--accent); }
.counties span { font-size: .8rem; color: var(--muted); }
.jaras { font: 700 .95rem/1.3 var(--f-body); margin: 20px 0 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.jaras:first-of-type { border-top: 0; padding-top: 0; margin-top: 4px; }
.jaras .muted { font-weight: 500; font-size: .82rem; }
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .92rem; }
.towns.cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.towns a { color: var(--ink); text-decoration: none; } .towns a:hover { color: var(--accent); text-decoration: underline; }
.towns a.is-town { font-weight: 700; }

/* ---- impresszum, kapcsolat, lábléc menü ---- */
.facts.imp { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); }
.facts.imp dd { overflow-wrap: anywhere; }
.prose ul { margin: 0 0 12px; padding-left: 1.2em; } .prose li { margin: 4px 0; }
.mail-big { font: 600 clamp(1.05rem, 3vw, 1.35rem)/1.3 var(--f-display); margin: 0 0 12px; overflow-wrap: anywhere; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; font-size: .92rem; }
.foot-nav a { color: var(--ink); text-decoration: none; } .foot-nav a:hover { color: var(--accent); text-decoration: underline; }

/* ---- Budapest-összefoglaló (főoldal), ma-panel ---- */
.bp-row, .today-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bp-row .wi, .today-row .wi { width: 3rem; height: 3rem; }
.near .btn { height: 38px; font-size: .85rem; }
.today { border-color: color-mix(in srgb, var(--sun) 45%, var(--line)); }
.h1-sub { display: block; font: 600 clamp(1rem, 2.4vw, 1.3rem)/1.3 var(--f-body); color: var(--muted); letter-spacing: 0; margin-top: 6px; }
