/* Kál Nagyközség Önkormányzata – stíluslap („Napsugár és kalász”)
   Színek a címerből: címerkék (mező), napsárga (sugarak, sas, kalász), mezőzöld (halom), ezüst (sáv) */
:root {
  --navy: #0a2f57;
  --navy-deep: #072240;
  --blue: #005ca1;
  --blue-soft: #e8f1f9;
  --green: #016d33;
  --green-soft: #e3f3e9;
  --gold: #f9bc14;
  --gold-soft: #fff6d9;
  --gold-text: #8a5d00;
  --ink: #14233a;
  --muted: #56657a;
  --line: #e1e7ef;
  --bg: #f5f7fa;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(10, 47, 87, .05), 0 8px 24px rgba(10, 47, 87, .08);
  --shadow-lg: 0 18px 48px rgba(10, 47, 87, .18);
  --wrap: 1240px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.015em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ikon { display: inline-block; width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

/* a címer napsugarai – díszítő elem */
.sugarak { position: absolute; pointer-events: none; fill: currentColor; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px; border-radius: 12px; font: 600 15.5px/1.2 var(--font);
  text-decoration: none; border: 1.5px solid transparent; transition: background .15s, border-color .15s, transform .15s, color .15s;
}
.btn .ikon { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #ffcd3f; color: var(--navy); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

/* ---------- Felső sáv ---------- */
.topbar { background: #fff; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.topbar .wrap { display: flex; gap: 20px; align-items: center; justify-content: space-between; min-height: 46px; }
.topbar a { color: var(--navy); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .contact { display: flex; gap: 22px; align-items: center; min-width: 0; }
.topbar .contact > span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar .contact .ikon { width: 15px; height: 15px; color: var(--blue); }
.fogadas, .allapot {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 99px;
  background: #eef1f5; color: var(--ink); font-weight: 600; font-size: 13.5px; white-space: nowrap;
}
.topbar a.fogadas { color: var(--ink); }
.fogadas .pont, .allapot .pont { width: 8px; height: 8px; border-radius: 50%; background: #8d99a8; flex: none; }
.fogadas.nyitva, .allapot.nyitva { background: var(--green-soft); color: #00532a; }
.topbar a.fogadas.nyitva { color: #00532a; }
.nyitva .pont { background: #0a9a4c; box-shadow: 0 0 0 3px rgba(10, 154, 76, .2); animation: lukteto 2s ease-in-out infinite; }
@keyframes lukteto { 50% { box-shadow: 0 0 0 6px rgba(10, 154, 76, 0); } }
.topbar-right { display: flex; align-items: center; gap: 16px; flex: none; }
.kontraszt-gomb {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px; border-radius: 99px;
  border: 1.5px solid var(--line); background: #fff; color: var(--navy); font: 600 13.5px var(--font);
  cursor: pointer; white-space: nowrap;
}
.kontraszt-gomb .ikon { width: 17px; height: 17px; }
.kontraszt-gomb:hover { border-color: var(--blue); }
.kontraszt-gomb[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.topbar .fb, .topbar .akadaly { display: inline-flex; align-items: center; padding: 4px; margin: -4px; color: var(--navy); }
.topbar .fb .ikon, .topbar .akadaly .ikon { width: 22px; height: 22px; }
.topbar a.fb:hover, .topbar .akadaly:hover { color: var(--blue); }

/* ---------- Fejléc ---------- */
.header { background: #fff; }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); min-width: 0; }
.brand img { width: 66px; height: auto; flex: none; }
.brand strong { display: block; font-size: 26px; font-weight: 800; line-height: 1.05; letter-spacing: -.025em; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.header-cta { margin-left: auto; display: flex; gap: 10px; }
.nav-toggle { display: none; }

/* ---------- Főmenü (asztali nézet: lenyílók és jobbra nyíló további szintek) ---------- */
.nav { background: var(--navy); position: sticky; top: 0; z-index: 50; box-shadow: 0 6px 18px rgba(7, 34, 64, .18); }
.menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; position: relative; }
.menu li { position: relative; }
.menu > li { display: flex; align-items: center; }
.menu > li > a {
  display: block; position: relative; padding: 16px 12px; color: #fff; text-decoration: none;
  font: 600 15.5px/1.2 var(--font); white-space: nowrap;
}
.menu > li.has-sub > a { padding-right: 2px; }
.menu > li > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 3px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.menu > li.has-sub > a::after { right: 2px; }
.menu > li:hover > a::after, .menu > li:focus-within > a::after, .menu > li > a[aria-current]::after { transform: scaleX(1); }
.menu > li > a[aria-current] { color: #fff; }
.sub-toggle {
  display: inline-grid; place-items: center; width: 26px; height: 32px; padding: 0; margin: 0 6px 0 0;
  background: none; border: 0; border-radius: 6px; color: rgba(255, 255, 255, .8); cursor: pointer;
}
.sub-toggle::before {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .15s;
}
.sub-toggle:hover { color: var(--gold); }

.sub {
  list-style: none; margin: 0; padding: 6px; display: none;
  position: absolute; top: 100%; left: 0; z-index: 60; min-width: 300px; max-width: 330px;
  background: #fff; border-radius: 0 0 16px 16px; box-shadow: var(--shadow-lg);
}
.sub .sub { top: -6px; left: 100%; border-radius: 16px; }
.sub li { display: flex; align-items: center; border-radius: 9px; }
.sub a {
  flex: 1; display: block; padding: 7px 12px; color: var(--ink); text-decoration: none;
  font: 500 14.5px/1.3 var(--font); border-radius: 9px;
}
.sub li:hover > a, .sub li:focus-within > a, .sub li.nyitva > a { background: var(--blue-soft); color: var(--blue); }
.sub a[aria-current] { color: var(--blue); font-weight: 700; }
.sub .sub-toggle { color: var(--muted); margin: 0 2px 0 0; }
.sub .sub-toggle::before { transform: translateX(-2px) rotate(-45deg); }
.sub li:hover > .sub-toggle { color: var(--blue); }
/* a jobb szélső pontok lenyílója jobbra igazodik, a további szintek balra nyílnak */
.menu > li.jobbra > .sub { left: auto; right: 0; }
.menu > li.jobbra .sub .sub { left: auto; right: 100%; }
.menu > li.jobbra .sub .sub-toggle::before { transform: translateX(2px) rotate(135deg); }

/* Településfejlesztés: széles panel, a Fejlesztések projektjei (a legújabb elöl) több oszlopban */
.menu > li.mega { position: static; }
.menu > li.mega > .sub { left: 0; right: 0; max-width: none; min-height: min(560px, calc(100vh - 210px)); padding: 22px; border-radius: 0 0 20px 20px; }
/* a projektlista a panelhez igazodik, nem a Fejlesztések ponthoz */
.menu > li.mega > .sub > li { width: 270px; position: static; }
.menu > li.mega > .sub > li > a { font-weight: 600; padding: 11px 14px; }
.menu > li.mega > .sub > li.has-sub > a { background: var(--blue-soft); color: var(--blue); }
.menu > li.mega > .sub > li.has-sub > a::after { content: " →"; }
.menu > li.mega > .sub > li > .sub-toggle { display: none; }
.menu > li.mega > .sub > li > .sub {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: start; gap: 2px 12px;
  position: absolute; top: 22px; left: 310px; right: 22px; bottom: 22px; overflow-y: auto;
  max-width: none; min-width: 0; padding: 0 0 0 22px; box-shadow: none; border-radius: 0; border-left: 1px solid var(--line);
}
.menu > li.mega > .sub > li > .sub > li { display: block; }
.menu > li.mega > .sub > li > .sub a { font-size: 14px; padding: 6px 10px; }

@media (min-width: 1181px) {
  .menu li.has-sub:hover > .sub, .menu li.has-sub:focus-within > .sub, .menu li.nyitva > .sub { display: block; }
  .menu li.zarva > .sub { display: none !important; }
}

/* ---------- Nyitórész ---------- */
.nyito {
  /* a napsugarak ne lógjanak ki, a panorámakép viszont lefelé kilóghat a következő szakaszra */
  position: relative; clip-path: inset(0 0 -400px 0); color: #fff; padding: 64px 0 32px;
  background:
    radial-gradient(ellipse at 78% 105%, rgba(249, 188, 20, .22) 0, rgba(249, 188, 20, 0) 45%),
    linear-gradient(155deg, #072240 0%, #0a3a6b 55%, #005ca1 100%);
}
.nyito-sugarak { left: 25%; bottom: 0; width: 75%; height: 100%; color: var(--gold); opacity: .13; }
.nyito .wrap { position: relative; }
.nyito-racs { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 99px; background: rgba(249, 188, 20, .14);
  color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.nyito h1 { color: #fff; font-size: clamp(42px, 6.4vw, 78px); font-weight: 800; line-height: 1; letter-spacing: -.035em; margin: 20px 0 18px; }
.nyito p { font-size: 19px; color: #d6e5f4; max-width: 54ch; margin: 0; }
.gombok { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.nyito-cimer { display: flex; justify-content: center; }
.korong {
  width: 290px; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 14px rgba(255, 255, 255, .08), 0 0 0 32px rgba(255, 255, 255, .045), 0 30px 60px rgba(0, 0, 0, .3);
}
.korong img { width: 74%; height: auto; }
.panorama { margin: 32px 0 0; position: relative; z-index: 2; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 5px solid #fff; background: #fff; }
.panorama img { width: 100%; height: auto; aspect-ratio: 1311 / 334; object-fit: cover; }

/* ---------- Gyorslinkek ---------- */
.gyors { padding-top: 28px; }
.gyors ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.gyors a {
  display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  text-decoration: none; color: var(--navy); font-weight: 700; font-size: 15.5px; line-height: 1.25;
  transition: transform .15s, border-color .15s;
}
.gyors a:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--navy); }
.gyors .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--blue); }
.gyors .ico .ikon { width: 24px; height: 24px; }
.gyors small { display: block; margin-top: 4px; font-weight: 400; color: var(--muted); font-size: 13.5px; }

/* ---------- Szakaszok ---------- */
.szakasz { padding: 72px 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.025em; margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--gold); }
.section-head .lead { margin: 10px 0 0; color: var(--muted); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: gap .15s; }
.link-more .ikon { width: 18px; height: 18px; }
.link-more:hover { gap: 10px; }
.more-row { margin-top: 30px; text-align: center; }
.empty { background: #fff; border-radius: 14px; padding: 18px; color: var(--muted); }

/* ---------- Borító (hírkép vagy témaszínű, napsugaras helyettesítő) ---------- */
.thumb { position: relative; display: grid; place-items: center; overflow: hidden; color: #fff; aspect-ratio: 16 / 9; }
.thumb::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-conic-gradient(from -90deg at 50% 125%, rgba(255, 255, 255, .09) 0 3deg, rgba(255, 255, 255, 0) 3deg 11deg);
}
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.thumb > .ikon { position: relative; width: 54px; height: 54px; stroke-width: 1.4; opacity: .95; }
.thumb .tag {
  position: absolute; top: 14px; left: 14px; z-index: 1; padding: 4px 11px; border-radius: 99px;
  background: rgba(255, 255, 255, .94); color: var(--navy); font-size: 12.5px; font-weight: 700;
}
.t-blue { background: linear-gradient(135deg, #0069b4, #0a2f57); }
.t-gold { background: linear-gradient(135deg, #fbc93a, #e59a00); color: var(--navy); }
.t-green { background: linear-gradient(135deg, #0d8c49, #014f25); }

/* ---------- Hírek a főoldalon: egy kiemelt + három ---------- */
.hir-racs { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; }
.hir-kiemelt, .hir-sor { position: relative; background: #fff; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.hir-kiemelt:hover, .hir-sor:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.hir-kiemelt .body { padding: 24px 28px 28px; }
.hir-kiemelt h3 { font-size: 25px; font-weight: 800; margin: 6px 0 10px; }
.hir-kiemelt p { color: var(--muted); margin: 0; }
.hir-racs time { font-size: 13.5px; font-weight: 700; color: var(--blue); }
.hir-racs h3 a { color: var(--navy); text-decoration: none; }
/* a cím linkje az egész kártyát lefedi */
.hir-racs h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.hir-racs h3 a:focus-visible { outline: none; }
.hir-racs article:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.hir-lista { display: grid; gap: 16px; }
.hir-sor { display: grid; grid-template-columns: 170px minmax(0, 1fr); }
.hir-sor .thumb { aspect-ratio: auto; min-height: 132px; }
.hir-sor .thumb > .ikon { width: 38px; height: 38px; }
.hir-sor .thumb .tag { top: 10px; left: 10px; font-size: 11.5px; padding: 3px 9px; }
.hir-sor .body { padding: 16px 20px; align-self: center; }
.hir-sor h3 { font-size: 17.5px; font-weight: 700; margin: 4px 0 6px; }
.hir-sor p { margin: 0; font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.attach { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.attach .ikon { width: 16px; height: 16px; }

/* ---------- Köszöntő és ügyfélfogadás ---------- */
.szakasz-hivatal { background: #fff; }
.hivatal-racs { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.koszonto {
  margin: 0; display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 30px; align-items: center;
  padding: 36px; border-radius: 24px; border: 1px solid #f2e2a6;
  background: linear-gradient(135deg, var(--gold-soft) 0%, #fffdf6 65%);
}
.portre { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; border: 6px solid #fff; box-shadow: var(--shadow); }
.koszonto blockquote { margin: 6px 0 14px; padding-left: 44px; position: relative; }
.koszonto blockquote p { margin: 0; font-size: 22px; line-height: 1.45; font-weight: 600; color: var(--navy); letter-spacing: -.01em; }
.koszonto blockquote::before { content: "„"; position: absolute; left: -4px; top: -46px; font: 800 80px/1 Georgia, serif; color: var(--gold); }
.koszonto figcaption { color: var(--muted); margin-bottom: 14px; }
.koszonto figcaption strong { color: var(--navy); }

.fogadas-kartya { padding: 30px; border-radius: 24px; color: #fff; background: linear-gradient(160deg, var(--navy) 0%, #0b4a86 100%); box-shadow: var(--shadow-lg); }
.fogadas-kartya h2 { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.fogadas-kartya h2 .ikon { width: 24px; height: 24px; color: var(--gold); }
.fogadas-kartya .hely { margin: 0 0 16px; color: #b9cde2; font-size: 14.5px; }
.het { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 4px; }
.het li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border-radius: 10px; font-size: 15.5px; }
.het .nap { font-weight: 600; }
.het .nap::first-letter { text-transform: uppercase; }
.het .ido { color: #d6e5f4; text-align: right; }
.het li.ma { background: rgba(249, 188, 20, .16); box-shadow: inset 0 0 0 1px rgba(249, 188, 20, .55); }
.het em { font-style: normal; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: var(--gold); color: var(--navy); font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; vertical-align: 1px; }
.fogadas-kartya .egyeb { margin: 0 0 18px; font-size: 14.5px; }
.fogadas-kartya .egyeb dt { font-weight: 700; color: #fff; }
.fogadas-kartya .egyeb dd { margin: 0 0 8px; color: #b9cde2; }
.elerhetoseg { display: flex; flex-wrap: wrap; gap: 10px; }
.elerhetoseg a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px; }
.elerhetoseg a:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.elerhetoseg .ikon { width: 16px; height: 16px; color: var(--gold); }

/* ---------- Fejlesztési idővonal ---------- */
.szakasz-fejlesztes { overflow: hidden; background: linear-gradient(180deg, #fffaf0 0%, var(--bg) 100%); }
.fejlesztes-sugarak { left: 50%; bottom: 0; width: 1500px; height: 560px; margin-left: -750px; color: var(--gold); opacity: .1; }
.szakasz-fejlesztes .wrap { position: relative; }
.idovonal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; }
.idovonal li { position: relative; padding-top: 50px; }
.idovonal li::before { content: ""; position: absolute; top: 15px; left: 0; right: -18px; height: 3px; background: linear-gradient(90deg, var(--gold), rgba(249, 188, 20, .35)); }
.idovonal li:nth-child(4n)::before, .idovonal li:last-child::before { right: 0; }
.idovonal .ev {
  position: absolute; top: 0; left: 0; z-index: 1; padding: 5px 13px; border-radius: 99px;
  background: var(--gold); color: var(--navy); font-weight: 800; font-size: 14px; line-height: 1.2;
  box-shadow: 0 0 0 5px #fbf8f1;
}
.idovonal a {
  display: flex; flex-direction: column; gap: 16px; height: 100%; padding: 20px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none;
  transition: transform .15s, border-color .15s;
}
.idovonal a:hover { transform: translateY(-3px); border-color: var(--gold); }
.idovonal .cim { color: var(--navy); font-weight: 700; font-size: 16.5px; line-height: 1.35; }
.idovonal .tovabb { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 14px; }
.idovonal .tovabb .ikon { width: 16px; height: 16px; }
.tamogatok { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.tabla { display: block; padding: 12px; background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .15s; }
.tabla:hover { transform: translateY(-3px); }
.tabla img { width: 100%; height: auto; }

/* ---------- Hasznos linkek ---------- */
.linktar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.linktar a {
  display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 15.5px; text-decoration: none;
  transition: border-color .15s, background .15s;
}
.linktar a:hover { border-color: var(--blue); background: var(--blue-soft); color: var(--navy); }
.linktar .ikon { width: 22px; height: 22px; color: var(--blue); }
.linktar .ikon.kulso { width: 16px; height: 16px; margin-left: auto; color: var(--muted); }

/* ---------- Lábléc ---------- */
.footer { position: relative; overflow: hidden; background: var(--navy-deep); color: #c3d4e7; padding: 64px 0 0; font-size: 15px; border-top: 5px solid var(--gold); }
.footer-sugarak { right: -260px; bottom: 0; width: 1000px; height: 500px; color: #fff; opacity: .04; }
.footer .wrap { position: relative; }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer h2 { color: var(--gold); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin: 8px 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer .brand img { width: 56px; }
.footer .brand strong { font-size: 22px; }
.footer .brand small { color: #9fb7cc; }
.footer-brand p { line-height: 1.8; margin: 0 0 14px; }
.footer .social { display: inline-flex; padding: 4px; margin-left: -4px; color: #fff; }
.footer .social .ikon { width: 28px; height: 28px; }
.footer a.social:hover { color: var(--gold); }
.footer .bottom { margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }

/* ---------- Belső oldal fejsávja ---------- */
.page-head { position: relative; overflow: hidden; color: #fff; padding: 38px 0 44px; background: linear-gradient(155deg, #072240 0%, #0a3a6b 60%, #005ca1 100%); }
.fej-sugarak { right: -120px; bottom: 0; width: 900px; height: 420px; color: var(--gold); opacity: .13; }
.page-head .wrap { position: relative; }
.page-head h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.025em; margin: 12px 0 0; max-width: 30ch; }
.crumbs { font-size: 14px; color: #b9cde2; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { margin: 0 8px; opacity: .55; }

/* ---------- Hírlista és oldalsáv ---------- */
.main-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: start; }
.news-list { display: flex; flex-direction: column; gap: 18px; }
.news-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); background: #fff; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.news-row .thumb { aspect-ratio: auto; min-height: 160px; }
.news-row .thumb > .ikon { width: 44px; height: 44px; }
.news-row .body { padding: 20px 24px; }
.news-row h2 { font-size: 21px; font-weight: 750; margin: 4px 0 8px; }
.news-row h2 a { color: var(--navy); text-decoration: none; }
.news-row h2 a:hover { color: var(--blue); text-decoration: underline; }
.news-row p { margin: 0 0 12px; color: var(--muted); }
.news-row .foot { display: flex; gap: 18px; align-items: center; justify-content: space-between; font-size: 14px; flex-wrap: wrap; }
.news-row .foot > a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.news-row .foot .ikon { width: 16px; height: 16px; }
.meta { color: var(--muted); font-size: 14px; }
.news-row time.meta { color: var(--blue); font-weight: 700; }
.oldalsav { display: grid; gap: 18px; position: sticky; top: 76px; }
.fogadas-kartya.kicsi { padding: 22px; border-radius: 20px; }
.fogadas-kartya.kicsi h2 { font-size: 19px; margin-bottom: 12px; }
.fogadas-kartya.kicsi .allapot { margin: 0 0 12px; white-space: normal; }
.fogadas-kartya.kicsi .het li { padding: 7px 12px; font-size: 14.5px; }
.oldalsav-linkek { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 20px; }
.oldalsav-linkek h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin: 0 0 10px; }
.oldalsav-linkek ul { list-style: none; margin: 0; padding: 0; }
.oldalsav-linkek a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; }
.oldalsav-linkek a:hover { background: var(--blue-soft); }
.oldalsav-linkek .ikon { width: 20px; height: 20px; color: var(--blue); }
.pager { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.pager a { min-width: 42px; text-align: center; padding: 8px 12px; border-radius: 10px; background: #fff; box-shadow: var(--shadow); text-decoration: none; font-weight: 700; }
.pager a[aria-current] { background: var(--navy); color: #fff; }

/* a látványterv helyőrző dobozai */
.helyorzo { background: var(--gold-soft); border-left: 5px solid var(--gold); border-radius: 12px; padding: 16px 20px; }
.helyorzo p { margin: 0; }
.oldalterkep-cim { margin-top: 32px; font-size: 22px; }
.prose.oldalterkep ul ul { margin-top: .3em; }

/* ---------- Reszponzív ---------- */
@media (max-width: 1240px) {
  .menu > li > a { padding: 16px 9px; font-size: 15px; }
  .menu > li > a::after { left: 9px; right: 9px; }
}
/* ennél keskenyebben a főmenü a „Menü” gomb mögé kerül, az almenük a pontok alatt nyílnak */
@media (max-width: 1180px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; padding: 11px 16px;
    border: 0; border-radius: 12px; background: var(--navy); color: #fff; font: 600 15.5px var(--font); cursor: pointer;
  }
  .header-cta + .nav-toggle { margin-left: 0; }
  .nav-toggle .ikon { width: 20px; height: 20px; stroke-width: 2.2; }
  .nav-toggle .zar, .nav-toggle[aria-expanded="true"] .nyit { display: none; }
  .nav-toggle[aria-expanded="true"] .zar { display: inline-block; }
  .brand { margin-right: auto; }
  .header-cta { margin-left: 0; }
  .nav { display: none; position: static; background: #fff; box-shadow: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .nav.open { display: block; }
  .menu { flex-direction: column; padding: 8px 0 16px; }
  .menu li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .menu > li { display: grid; border-bottom: 1px solid var(--line); }
  .menu > li > a { color: var(--navy); padding: 14px 4px; font-size: 17px; white-space: normal; }
  .menu > li > a::after { display: none; }
  .menu > li > a[aria-current] { color: var(--blue); }
  .sub-toggle { width: 48px; height: 46px; margin: 0; color: var(--navy); border-radius: 10px; }
  .sub-toggle:hover { color: var(--blue); background: var(--blue-soft); }
  .sub .sub-toggle::before, .menu > li.jobbra .sub .sub-toggle::before { transform: translateY(-2px) rotate(45deg); }
  li.nyitva > .sub-toggle::before, .sub li.nyitva > .sub-toggle::before, .menu > li.jobbra .sub li.nyitva > .sub-toggle::before { transform: translateY(2px) rotate(-135deg); }
  .sub, .sub .sub, .menu > li.jobbra > .sub, .menu > li.jobbra .sub .sub, .menu > li.mega > .sub, .menu > li.mega > .sub > li > .sub {
    grid-column: 1 / -1; position: static; display: none; min-width: 0; max-width: none; min-height: 0;
    margin: 0 0 10px 8px; padding: 0 0 0 12px; background: none; box-shadow: none; border-radius: 0;
    border-left: 3px solid var(--gold-soft); columns: auto; overflow: visible;
  }
  .menu li.nyitva > .sub, .menu > li.mega > .sub > li.nyitva > .sub { display: block; }
  .sub li { border-radius: 0; }
  .sub a, .menu > li.mega > .sub > li > .sub a { padding: 10px 4px; font-size: 15.5px; border-radius: 8px; }
  .sub li:hover > a, .sub li:focus-within > a, .sub li.nyitva > a { background: none; }
  .menu > li.mega > .sub > li { width: auto; }
  .menu > li.mega > .sub > li > a, .menu > li.mega > .sub > li.has-sub > a { padding: 10px 4px; background: none; color: var(--ink); }
  .menu > li.mega > .sub > li.has-sub > a::after { content: none; }
  .menu > li.mega > .sub > li > .sub-toggle { display: inline-grid; }
  .gyors ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hir-racs, .hivatal-racs, .main-grid { grid-template-columns: 1fr; }
  .oldalsav { position: static; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .korong { width: 220px; }
  .idovonal, .linktar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .idovonal li:nth-child(4n)::before { right: -18px; }
  .idovonal li:nth-child(2n)::before, .idovonal li:last-child::before { right: 0; }
}
@media (max-width: 760px) {
  .header-cta { display: none; }
  .nyito { padding: 44px 0 22px; }
  .nyito-racs { grid-template-columns: 1fr; }
  .nyito-cimer { display: none; }
  .panorama { margin: 22px 0 0; border-width: 4px; border-radius: 16px; }
  .panorama img { aspect-ratio: auto; min-height: 150px; object-position: 30% center; }
  .koszonto { grid-template-columns: 1fr; padding: 28px 24px; gap: 18px; }
  .portre { width: 120px; height: 120px; }
  .tamogatok { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .topbar .wrap { gap: 12px; }
  .topbar .fogadas, .topbar .contact .mail { display: none; }
  /* mobilon csak az ikon látszik, a felirat a képernyőolvasónak megmarad */
  .kontraszt-gomb { padding: 5px 8px; }
  .kontraszt-gomb span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .header .wrap { min-height: 76px; gap: 12px; }
  .brand img { width: 50px; }
  .brand strong { font-size: 21px; }
  .brand small { font-size: 11px; letter-spacing: .06em; line-height: 1.35; }
  .nav-toggle { padding: 10px 13px; }
  .nyito h1 { font-size: 44px; }
  .nyito p { font-size: 17px; }
  .gyors ul { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gyors a { padding: 14px; font-size: 15px; }
  .gyors small { display: none; }
  .szakasz { padding: 52px 0; }
  .section-head { flex-wrap: wrap; align-items: flex-start; }
  .hir-kiemelt .body { padding: 18px 20px 22px; }
  .hir-kiemelt h3 { font-size: 21px; }
  .hir-sor { grid-template-columns: 104px minmax(0, 1fr); }
  .hir-sor .thumb .tag { display: none; }
  .hir-sor .body { padding: 12px 14px; }
  .hir-sor h3 { font-size: 16px; }
  .hir-sor p { display: none; }
  .koszonto blockquote p { font-size: 19px; }
  .fogadas-kartya { padding: 22px 18px; }
  .het li { padding: 8px 10px; font-size: 15px; }
  .news-row { grid-template-columns: 1fr; }
  .news-row .thumb { min-height: 110px; }
  .footer .cols { grid-template-columns: 1fr; gap: 28px; }
  .linktar { grid-template-columns: 1fr; }
  /* mobilon függőleges idővonal: az évszám a kártya fölött, a vonal bal oldalt */
  .idovonal { grid-template-columns: 1fr; gap: 14px; padding-left: 18px; border-left: 3px solid rgba(249, 188, 20, .5); }
  .idovonal li { padding-top: 0; }
  .idovonal li::before { display: none; }
  .idovonal .ev { position: static; align-self: flex-start; margin: 0; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Pályázati infóblokk: görgetéskor is mindig látható, jobb alsó sarok ---------- */
.infoblokk {
  position: fixed; right: 0; bottom: 0; z-index: 70; display: block; width: 300px;
  background: #fff; border-top-left-radius: 10px; overflow: hidden;
  box-shadow: 0 -2px 14px rgba(10, 47, 87, .18);
}
.infoblokk img { width: 100%; height: auto; }
.infoblokk:focus-visible { outline-offset: -3px; }
/* a lap alja (lábléc utolsó sora) ne kerüljön a logó alá */
body.van-infoblokk { padding-bottom: 90px; }
@media (max-width: 640px) {
  .infoblokk { width: 200px; }
  body.van-infoblokk { padding-bottom: 60px; }
  .nav.open { padding-bottom: 70px; }
}

/* ---------- Kiemelt felhívás egy oldal tetején ---------- */
.callout { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--blue-soft); border-left: 5px solid var(--blue); border-radius: 12px; padding: 18px 22px; margin: 0 0 26px; }
.callout h2 { font-size: 19px; margin: 0 0 4px; }
.callout p { margin: 0; color: #3c4856; max-width: 60ch; }
.callout .btn { flex: none; }

/* ---------- Belső oldalak tartalma ---------- */
.page-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 36px; align-items: start; }
.page-narrow { max-width: 900px; }
.prose-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 36px; min-width: 0; }
.prose { overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 24px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 19px; margin: 1.4em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose img { height: auto; border-radius: 10px; margin: .5em auto; }   /* a hasábnál keskenyebb képek középen */
.prose figure { margin: 1.2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15.5px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg); color: var(--navy); }
.prose blockquote { margin: 0 0 1em; padding: 4px 18px; border-left: 4px solid var(--gold); color: #3c4856; }
.prose iframe { max-width: 100%; border: 0; border-radius: 10px; }
.prose .doc-item { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 0 0 14px; }
.prose .doc-item h3 { margin-top: 0; }
.prose .cta { margin: 26px 0; }
.prose .cta .btn { color: #fff; text-decoration: none; }
.lead-img { margin: 0 0 24px; }
.lead-img img { width: 100%; border-radius: 12px; }
.article-meta { margin: 0 0 18px; font-weight: 600; }
.back { margin: 28px 0 0; }

.side-nav { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; position: sticky; top: 76px; }
.side-nav h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--green); margin-bottom: 10px; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav ul ul { padding-left: 14px; border-left: 2px solid var(--line); margin: 4px 0 6px 12px; }
.side-nav a { display: block; padding: 7px 10px; border-radius: 8px; text-decoration: none; color: var(--navy); font-size: 15.5px; line-height: 1.35; }
.side-nav a:hover { background: var(--bg); }
.side-nav a[aria-current] { background: var(--blue-soft); color: var(--blue); font-weight: 600; }

.attachments { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 22px; }
.attachments h2 { font-size: 19px; }
.attachments ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.attachments a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--navy); transition: border-color .15s, background .15s; }
.attachments a:hover { border-color: var(--blue); background: var(--blue-soft); }
.attachments svg { width: 28px; height: 28px; flex: none; stroke: var(--blue); fill: none; stroke-width: 1.6; }
.attachments span { display: flex; flex-direction: column; min-width: 0; }
.attachments strong { overflow-wrap: anywhere; font-weight: 600; }
.attachments small { color: var(--muted); }

@media (max-width: 960px) {
  .page-grid { grid-template-columns: 1fr; }
  .side-nav { position: static; order: 2; }
}
@media (max-width: 640px) {
  .prose-card { padding: 22px 18px; }
}

.attachments.inline { margin: 12px 0 0; padding: 0; border: 0; }
.prose .attachments ul { margin: 0; }
.prose .attachments li { margin: 0; }
.prose .attachments a { text-decoration: none; }
.prose .doc-item .meta { margin: -.3em 0 .6em; }
/* listaoldalak (Rendeletek, Hirdetmények): tömör, kétoszlopos mellékletsorok, évre ugró linkek */
.prose .doc-item .attachments ul { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.prose .doc-item .attachments a { padding: 8px 12px; gap: 10px; border-radius: 10px; }
.prose .doc-item .attachments .ikon { width: 22px; height: 22px; }
.prose .doc-item .attachments strong { font-size: 15px; line-height: 1.3; }
.prose .doc-item .attachments small { font-size: 13px; }
.ev-ugras { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.prose .ev-ugras a { padding: 3px 10px; border-radius: 99px; background: var(--blue-soft); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.prose .ev-ugras a:hover { background: var(--gold-soft); }
.prose h2[id^="ev-"] { scroll-margin-top: 70px; }

/* ---------- Szerkesztőfelület ---------- */
.admin-bar { background: var(--navy); color: #fff; }
.admin-bar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; flex-wrap: wrap; }
.admin-bar .brand { color: #fff; }
.admin-bar .brand img { width: 36px; }
.admin-bar .brand strong { font-size: 17px; }
.admin-bar .brand small { color: #9fb7cc; }
.admin-bar .user { font-size: 14px; color: #cfe0ef; }
.admin-bar .user button { color: #fff; margin-left: 12px; background: none; border: 0; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
.admin { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding: 32px 20px 60px; }
.admin-nav { list-style: none; margin: 0; padding: 0; }
.admin-nav a { display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; color: var(--navy); font-weight: 600; }
.admin-nav a:hover { background: #fff; }
.admin-nav a[aria-current] { background: #fff; color: var(--blue); box-shadow: var(--shadow); }
.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; min-width: 0; }
.panel h1 { font-size: 26px; }
.field { margin-bottom: 20px; }
.field > label, .field > .label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field .hint { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.field input[type=text], .field input[type=password], .field input[type=date], .field input[type=number], .field input[type=file], .field select, .field textarea {
  width: 100%; font: inherit; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-soft); }
.toolbar { display: flex; gap: 4px; border: 1.5px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; padding: 6px; background: var(--bg); flex-wrap: wrap; }
.toolbar button { font: 600 14px var(--font); border: 0; background: none; padding: 6px 10px; border-radius: 6px; color: var(--navy); cursor: pointer; }
.toolbar button:hover { background: #fff; }
.field .toolbar + textarea { border-radius: 0 0 10px 10px; min-height: 260px; resize: vertical; }
.files { list-style: none; margin: 10px 0 0; padding: 0; }
.files li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; margin-top: 8px; font-size: 15px; flex-wrap: wrap; }
.files label { font-weight: 500; color: #b42318; display: inline-flex; gap: 6px; align-items: center; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.actions { display: flex; gap: 12px; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 8px; flex-wrap: wrap; }
button.btn { border: 0; cursor: pointer; font-family: var(--font); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
button.btn-danger, .btn-danger { background: #fff; color: #b42318; border: 1.5px solid #e7b4ae; }
.btn-danger:hover { background: #fdecea; color: #b42318; }
.btn-sm { padding: 7px 12px; font-size: 14px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.kep-elonezet { max-height: 120px; border-radius: 8px; }
.kepek-lista img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.files .nev-mezo { flex: 1 1 260px; font: inherit; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 8px; min-width: 0; }
.files .nev-mezo:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-soft); }
.fajlvalaszto { margin-top: 10px; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.alert-ok { background: var(--green-soft); color: #1d5a36; }
.alert-err { background: #fdecea; color: #8a1c12; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.admin-table th, .admin-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.admin-table th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.admin-table td.act { white-space: nowrap; text-align: right; }
.admin-table form { display: inline; }
.status { font-size: 12.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.status.on { background: var(--green-soft); color: var(--green); }
.status.off { background: #eef0f3; color: var(--muted); }
.login { max-width: 420px; margin: 60px auto; }
.help { font-size: 14px; color: var(--muted); background: var(--bg); border-radius: 10px; padding: 12px 14px; margin-top: 8px; }
.help code { background: #fff; padding: 1px 5px; border-radius: 4px; }
@media (max-width: 860px) {
  .admin { grid-template-columns: 1fr; }
  .admin-nav { display: flex; gap: 6px; flex-wrap: wrap; }
  .row2 { grid-template-columns: 1fr; }
  .admin-table .hide-sm { display: none; }
}

/* ---------- Akadálymentes nézet (nagy kontraszt, sárga-fekete, nagyobb betű) – önkormányzati oldalakon kötelező ----------
   A stilus.css VÉGÉRE másold (a !important szabályok így mindent felülírnak). Kipróbálva: hevesvezekeny.hu, sarud.hu.
   Az 1. rész változtatás nélkül használható; a 2. részt a település saját díszítő elemeihez igazítsd. */

/* 1. Általános rész */
html.kontraszt body { font-size: 19.5px; background: #000 !important; }
html.kontraszt body *, html.kontraszt body *::before, html.kontraszt body *::after {
  background-color: #000 !important; background-image: none !important; color: #ff0 !important;
  border-color: #ff0 !important; box-shadow: none !important; text-shadow: none !important;
}
html.kontraszt a, html.kontraszt a * { color: #0ff !important; text-decoration: underline !important; }
html.kontraszt .btn, html.kontraszt .kontraszt-gomb, html.kontraszt .nav-toggle { border: 2px solid #ff0 !important; }
html.kontraszt :focus-visible { outline: 3px solid #fff !important; }
html.kontraszt img { filter: none; }   /* a fotók, plakátok, címer eredeti színben maradnak */
/* bekapcsolt állapotban a gomb kiemelt (sárga alapon fekete) – különben a fenti általános szabály feketére írná felül */
html.kontraszt .kontraszt-gomb[aria-pressed="true"], html.kontraszt .kontraszt-gomb[aria-pressed="true"] * { background-color: #ff0 !important; color: #000 !important; }


/* 2. Kál saját díszítő elemei: a napsugarak, színátmenetek és árnyékok eltűnnek, a kártyák és szakaszok
   határát sárga keret jelzi; a keretből rajzolt nyilak (almenü-gomb) csak a látható élükkel maradnak. */
html.kontraszt .sugarak, html.kontraszt .thumb::before, html.kontraszt .kicker::before, html.kontraszt .koszonto blockquote::before,
html.kontraszt .idovonal li::before, html.kontraszt .menu > li > a::after { display: none !important; }
html.kontraszt .sub-toggle::before { border-color: transparent !important; border-right-color: #0ff !important; border-bottom-color: #0ff !important; }
html.kontraszt .nav, html.kontraszt .nyito, html.kontraszt .page-head, html.kontraszt .footer { border-bottom: 2px solid #ff0 !important; }
html.kontraszt .sub, html.kontraszt .gyors a, html.kontraszt .hir-kiemelt, html.kontraszt .hir-sor, html.kontraszt .news-row,
html.kontraszt .koszonto, html.kontraszt .fogadas-kartya, html.kontraszt .idovonal a, html.kontraszt .tabla, html.kontraszt .linktar a,
html.kontraszt .oldalsav-linkek, html.kontraszt .prose-card, html.kontraszt .side-nav, html.kontraszt .het li.ma { border: 2px solid #ff0 !important; }
html.kontraszt .hir-racs h3 a::after { background: none !important; }
html.kontraszt .thumb > .ikon, html.kontraszt .ikon { color: #ff0 !important; }
html.kontraszt a .ikon { color: #0ff !important; }
html.kontraszt .korong { background: #fff !important; }
html.kontraszt .korong img { background-color: transparent !important; }
html.kontraszt .panorama { border: 2px solid #ff0 !important; }
html.kontraszt .nyitva .pont, html.kontraszt .pont { background: #ff0 !important; }
