/* Kompolt Község Önkormányzata – stíluslap
   Színek a címerből: királykék, arany; a pajzs vizének hullámmotívuma visszatérő díszítőelem. */
:root {
  --ink: #0b1630;
  --navy: #13285a;
  --blue: #1f4fa8;
  --blue-2: #3a78e0;
  --blue-soft: #eaf0fb;
  --gold: #e0ac22;
  --gold-2: #f5cd55;
  --gold-d: #8a6510;
  --gold-soft: #fbf3dc;
  --ivory: #f6f4ee;
  --paper: #ffffff;
  --text: #18213a;
  --muted: #5a637c;
  --line: #e4e0d5;
  /* a szerkesztőfelület (sablon) változónevei */
  --bg: var(--ivory);
  --card: #fff;
  --green: #2f7d4f;
  --green-soft: #e7f3ec;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(11, 22, 48, .05), 0 10px 30px -14px rgba(11, 22, 48, .22);
  --shadow-lg: 0 2px 4px rgba(11, 22, 48, .05), 0 24px 50px -20px rgba(11, 22, 48, .35);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-d: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='28' viewBox='0 0 120 28'%3E%3Cpath d='M0 14c15 0 15-8 30-8s15 8 30 8 15-8 30-8 15 8 30 8' fill='none' stroke='white' stroke-opacity='.09' stroke-width='2'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--text); background: var(--ivory); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
svg.ikon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.flip { transform: rotate(180deg); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 200; padding: 12px 18px; border-radius: 12px; background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- gombok, címkék */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: 600 15.5px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(224, 172, 34, .9); }
.btn-gold:hover { background: var(--gold-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--navy); }
.btn svg.ikon { width: 18px; height: 18px; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.dark { color: var(--gold-d); }
.tag { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tag.minta { background: var(--gold-soft); color: var(--gold-d); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--blue); text-decoration: none; }
.more svg.ikon { width: 18px; height: 18px; transition: transform .2s; }
a:hover .more svg.ikon, .more:hover svg.ikon { transform: translateX(4px); }
.more.light { color: var(--gold-2); }
.ti { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
.ti svg.ikon { width: 24px; height: 24px; }
.ti.gold { background: var(--gold); color: var(--ink); }
.ti.light { background: rgba(255, 255, 255, .12); color: var(--gold-2); }
.ph-val { color: var(--muted); font-style: italic; }

/* ---------- fejléc */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid rgba(19, 40, 90, .08); transition: box-shadow .25s; }
.site-head.scrolled { box-shadow: 0 10px 30px -16px rgba(11, 22, 48, .35); }
.head-in { position: relative; display: flex; align-items: center; gap: 24px; height: 86px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 56px; height: auto; }
.brand b { display: block; font: 700 27px/1 var(--font-d); letter-spacing: -.025em; }
.brand small { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--gold-d); }
.brand.light { color: #fff; }
.brand.light b { color: #fff; }
.brand.light small { color: var(--gold-2); }

.mainnav { margin-left: auto; }
.mainnav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.mainnav li.dd-s { position: relative; }
.mainnav .top { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font: 600 15.5px/1 var(--font); color: var(--ink); text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.mainnav .top:hover, .mainnav li.open > .top { background: var(--blue-soft); color: var(--blue); }
.mainnav .top.is-active::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold); }
.mainnav .top svg.ikon { width: 16px; height: 16px; transition: transform .25s; }
.mainnav li.open > .top svg.ikon { transform: rotate(180deg); }
.head-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; flex: none; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.icon-btn:hover { border-color: var(--navy); color: var(--blue); }
.icon-btn svg.ikon { width: 20px; height: 20px; }
.icon-btn.dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.icon-btn.dark:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.menu-btn { display: none; }

/* ---------- nagy lenyíló menü */
.lenyilo { animation: lenyit .22s ease; }
@keyframes lenyit { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega { position: absolute; left: 24px; right: 24px; top: calc(100% + 8px); background: #fff; border-radius: 26px; box-shadow: 0 40px 90px -30px rgba(11, 22, 48, .45), 0 0 0 1px rgba(19, 40, 90, .07); overflow: hidden; }
.mega::before, .drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.mega[hidden], .drop[hidden] { display: none; }
.mega-in { display: grid; grid-template-columns: 310px 1fr; max-height: calc(100vh - 190px); }
.mega-l2 { list-style: none; margin: 0; padding: 16px; background: var(--ivory); border-right: 1px solid var(--line); overflow: auto; }
.mega-l2 a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3; transition: background .15s, box-shadow .15s; }
.mega-l2 a svg.ikon { color: var(--blue); }
.mega-l2 a svg.chev { margin-left: auto; width: 16px; height: 16px; color: var(--muted); opacity: .5; }
.mega-l2 a.on { background: #fff; box-shadow: var(--shadow); }
.mega-l2 a.on svg.chev { opacity: 1; color: var(--gold-d); }
.mega-panels { padding: 30px 34px 34px; overflow: auto; }
.mega-p { display: none; }
.mega-p.on { display: block; animation: lenyit .2s ease; }
.mp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.mp-head h3 { margin: 0; font: 700 26px/1.15 var(--font-d); letter-spacing: -.02em; }
.mp-head p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.mp-head .more { flex: none; margin-top: 4px; }
.mega-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px 30px; }
.mg-title { display: block; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 2px solid var(--gold-soft); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.35; }
.mg-title:hover { color: var(--blue); border-color: var(--gold); }
.mg ul { list-style: none; margin: 0; padding: 0; }
.mg li a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; font-size: 14.5px; line-height: 1.4; }
.mg li a:hover { color: var(--blue); }
.mp-solo { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: 20px; background: var(--ivory); color: var(--ink); text-decoration: none; max-width: 560px; }
.mp-solo b { display: block; font-size: 17px; }
.mp-solo small { display: block; color: var(--muted); font-size: 14px; }
.mp-solo > svg.ikon { margin-left: auto; color: var(--blue); }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 34px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.mega-foot a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); text-decoration: none; }
.mega-foot svg.ikon { width: 16px; height: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
.chip.light:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.drop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 260px; padding: 10px; background: #fff; border-radius: 20px; box-shadow: 0 30px 70px -25px rgba(11, 22, 48, .45), 0 0 0 1px rgba(19, 40, 90, .07); }
.drop ul { list-style: none; margin: 0; padding: 0; }
.drop a { display: block; padding: 11px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.drop a:hover, .drop a[aria-current] { background: var(--blue-soft); color: var(--blue); }

/* ---------- mobil menü */
.drawer { position: fixed; inset: 0; z-index: 120; }
.drawer[hidden] { display: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(11, 22, 48, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; gap: 18px; padding: 16px 18px 32px; background: #fff; overflow-y: auto; animation: becsuszik .25s ease; }
@keyframes becsuszik { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.brand-mini { display: flex; align-items: center; gap: 10px; font: 700 21px/1 var(--font-d); color: var(--ink); }
.brand-mini img { width: 40px; }
.mtree ul { list-style: none; margin: 0; padding: 0; }
.mtree ul[hidden] { display: none; }
.mtree .row { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.mtree .row a { flex: 1; padding: 13px 4px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.3; }
.mtree .row a[aria-current] { color: var(--blue); }
.mtree .tog { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: 12px; background: var(--ivory); color: var(--navy); cursor: pointer; }
.mtree .tog svg.ikon { transition: transform .2s; }
.mtree .tog[aria-expanded="true"] svg.ikon { transform: rotate(180deg); }
.mtree ul ul { margin: 4px 0 8px 8px; padding-left: 12px; border-left: 2px solid var(--gold-soft); }
.mtree ul ul .row { border-bottom-color: #f0ede5; }
.mtree ul ul .row a { font-weight: 600; font-size: 15.5px; padding: 11px 4px; }
.mtree ul ul ul .row a { font-weight: 500; color: var(--muted); }
.drawer-cta { width: 100%; }

/* ---------- nyitórész */
.hero { padding-top: 22px; }
.hero-card { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 560px; border-radius: 34px; overflow: hidden; color: #fff; box-shadow: var(--shadow-lg); }
.hero-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(11, 22, 48, .92) 0%, rgba(11, 22, 48, .7) 38%, rgba(11, 22, 48, .1) 72%), linear-gradient(0deg, rgba(11, 22, 48, .55), transparent 45%); }
.hero-txt { max-width: 660px; padding: 60px; }
.hero h1 { margin: 18px 0 18px; color: #fff; font: 700 clamp(40px, 6.2vw, 76px)/1 var(--font-d); letter-spacing: -.035em; }
.hero p { max-width: 540px; margin: 0 0 32px; color: #dbe2f1; font-size: 19px; line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-side { position: absolute; right: 28px; bottom: 28px; display: flex; align-items: center; gap: 16px; width: 360px; padding: 18px 20px; border-radius: 22px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
.hero-side:hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.hero-side b { display: block; font-size: 17px; }
.hero-side small { display: block; color: #e3e8f4; font-size: 13.5px; line-height: 1.4; }
.hero-side > svg.ikon { margin-left: auto; opacity: .8; }

/* ---------- szakaszok */
.sec { padding: 92px 0; }
.sec-tint { background: linear-gradient(180deg, #fff 0%, var(--ivory) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.sec-head h2 { margin: 12px 0 0; font: 700 clamp(30px, 3.8vw, 46px)/1.08 var(--font-d); letter-spacing: -.03em; }
.sec-sub { max-width: 380px; margin: 0; color: var(--muted); }
.sec-in { padding-top: 40px; padding-bottom: 90px; }

/* csempék */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 196px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
a.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tile h3 { margin: auto 0 0; font: 700 19px/1.25 var(--font-d); letter-spacing: -.01em; }
.tile p { margin: -6px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.tile .go { position: absolute; top: 24px; right: 22px; color: var(--blue); opacity: .25; transition: opacity .2s, transform .2s; }
a.tile:hover .go { opacity: 1; transform: translateX(3px); }
.tile-big { grid-column: span 2; grid-row: span 2; padding: 36px; border: 0; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(58, 120, 224, .55), transparent 55%), var(--wave), linear-gradient(140deg, var(--ink), var(--navy)); background-size: auto, 120px 28px, auto; }
.tile-big h3 { margin: 18px 0 0; font-size: 34px; letter-spacing: -.025em; }
.tile-big h3 a { color: #fff; text-decoration: none; }
.tile-big h3 a:hover { color: var(--gold-2); }
.tile-big p { margin: 0; color: #c9d2e8; font-size: 16px; max-width: 420px; }
.tile-big .chips { margin-top: auto; }
.tile-big .chip { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* hírek */
.news { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; }
.ph { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; color: rgba(255, 255, 255, .92); background: var(--wave), linear-gradient(135deg, var(--navy), var(--blue)); background-size: 120px 28px, auto; overflow: hidden; }
.ph::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -15%; top: -30%; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.ph svg.ikon { width: 64px; height: 64px; stroke-width: 1.3; }
.ph.t1 { background-image: var(--wave), linear-gradient(135deg, #0f2a5c, #2d63c4); }
.ph.t2 { background-image: var(--wave), linear-gradient(135deg, #6b4c08, #d39b17); }
.ph.t3 { background-image: var(--wave), linear-gradient(135deg, #123c4a, #2a8a8f); }
.ph.t4 { background-image: var(--wave), linear-gradient(135deg, #3b1f52, #7a4fb5); }
.ph.wide { aspect-ratio: 21 / 9; border-radius: 20px; margin: 20px 0 28px; }
.feat { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: box-shadow .25s, transform .25s; }
.feat:hover, .nitem:hover, .ncard:hover, .pcard:hover, .kid:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.feat .body { display: flex; flex-direction: column; gap: 12px; padding: 28px 32px 32px; }
.feat h3 { margin: 4px 0 0; font: 700 28px/1.2 var(--font-d); letter-spacing: -.02em; }
.feat p { margin: 0; color: var(--muted); }
.nlist { display: flex; flex-direction: column; gap: 14px; }
.nitem { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; padding: 14px; border-radius: 22px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; flex: 1; transition: box-shadow .25s, transform .25s; }
.nitem .ph { aspect-ratio: 1; border-radius: 16px; }
.nitem .ph svg.ikon { width: 38px; height: 38px; }
.nitem h3 { margin: 10px 0 0; font: 700 17.5px/1.3 var(--font-d); letter-spacing: -.01em; }

/* köszöntő */
.welcome { display: grid; grid-template-columns: 360px 1fr; gap: 60px; align-items: center; padding: 56px; border-radius: 34px; color: #fff; background: radial-gradient(circle at 100% 0%, rgba(224, 172, 34, .22), transparent 45%), var(--wave), linear-gradient(140deg, var(--ink), var(--navy)); background-size: auto, 120px 28px, auto; box-shadow: var(--shadow-lg); }
.welcome img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: 26px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .06); }
.welcome blockquote { margin: 22px 0 0; }
.welcome blockquote p { margin: 0; font: 500 clamp(22px, 2.5vw, 32px)/1.38 var(--font-d); letter-spacing: -.015em; color: #fff; }
.sig { display: flex; flex-direction: column; margin: 26px 0 30px; }
.sig b { font-size: 19px; }
.sig span { color: var(--gold-2); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* pályázatok */
.prog { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 16px; }
.pcard { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); color: var(--ink); text-decoration: none; transition: box-shadow .25s, transform .25s; }
.pcard .badge { font: 800 14px/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.pcard .cnt { display: flex; align-items: baseline; gap: 8px; }
.pcard .num { font: 700 44px/1 var(--font-d); letter-spacing: -.03em; color: var(--blue); }
.pcard .unit { color: var(--muted); font-size: 14px; font-weight: 600; }
.pcard ul { margin: 0; padding: 0 0 0 16px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.pcard ul li + li { margin-top: 6px; }
.pcard .more { margin-top: auto; }
a.pcard.plogo { align-items: center; justify-content: center; border-top: 1px solid var(--line); }
a.pcard.plogo img { width: 100%; max-width: 190px; }

/* Széchenyi 2020 infóblokk – kötelező arculati elem, mindig látható */
.infoblokk { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; gap: 6px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 12px 34px -12px rgba(11, 22, 48, .45), 0 0 0 1px rgba(19, 40, 90, .08); }
.infoblokk a { display: block; width: 200px; border-radius: 9px; overflow: hidden; }
.van-infoblokk .foot { padding-bottom: 170px; }

/* kapcsolat */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.ccard { padding: 40px; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.ccard h2 { margin: 12px 0 26px; font: 700 34px/1.1 var(--font-d); letter-spacing: -.025em; }
.cl { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cl li { display: flex; align-items: center; gap: 14px; }
.cl small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mapcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 320px; padding: 40px; border-radius: 28px; overflow: hidden; color: #fff; text-decoration: none; background: radial-gradient(circle at 70% 30%, rgba(58, 120, 224, .6), transparent 50%), var(--wave), linear-gradient(150deg, var(--navy), var(--ink)); background-size: auto, 120px 28px, auto; transition: transform .25s, box-shadow .25s; }
.mapcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mapcard b { font: 700 32px/1.1 var(--font-d); letter-spacing: -.02em; }
.pinbig { position: absolute; top: 34px; right: 40px; width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink); box-shadow: 0 0 0 14px rgba(224, 172, 34, .18), 0 0 0 30px rgba(224, 172, 34, .08); }
.pinbig svg.ikon { width: 38px; height: 38px; }

/* ---------- lábléc */
.foot { position: relative; margin-top: 60px; background: var(--ink); color: #b9c2da; }
.foot-wave { position: absolute; left: 0; right: 0; top: -59px; width: 100%; height: 60px; fill: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 64px 24px 48px; }
.foot h2 { margin: 6px 0 18px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.foot a { color: #b9c2da; text-decoration: none; font-size: 15.5px; }
.foot a:hover { color: #fff; }
.foot-brand p { margin: 20px 0; font-size: 15px; }
.foot-brand .ph-val { color: #8c97b6; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.foot-bottom a { color: var(--gold-2); font-size: 14px; }

/* ---------- belső oldalak */
.phead { margin-top: 22px; padding: 46px 54px 54px; border-radius: 34px; color: #fff; background: radial-gradient(circle at 88% 0%, rgba(58, 120, 224, .55), transparent 50%), var(--wave), linear-gradient(135deg, var(--ink), var(--navy)); background-size: auto, 120px 28px, auto; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: #9fabc9; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold-2); }
.crumbs a { color: #dbe2f1; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.phead h1 { max-width: 900px; margin: 20px 0 0; color: #fff; font: 700 clamp(30px, 4.4vw, 54px)/1.08 var(--font-d); letter-spacing: -.03em; overflow-wrap: anywhere; }
.phead .lead { max-width: 720px; margin: 14px 0 0; color: #cdd5ea; font-size: 18px; }
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; padding-top: 32px; padding-bottom: 90px; }
.layout.solo { grid-template-columns: minmax(0, 880px); }
.content { min-width: 0; }
.card { padding: 42px; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.side { position: sticky; top: 110px; padding: 18px; border-radius: 24px; background: #fff; border: 1px solid var(--line); max-height: calc(100vh - 130px); overflow: auto; }
.side h2 { margin: 6px 12px 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); }
.side ul { list-style: none; margin: 0; padding: 0; }
.side a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.35; font-weight: 600; }
.side a:hover { background: var(--ivory); }
.side a[aria-current] { background: var(--blue-soft); color: var(--blue); }
.side ul ul { margin: 2px 0 6px 14px; padding-left: 8px; border-left: 2px solid var(--gold-soft); }
.side ul ul a { font-size: 14.5px; font-weight: 500; color: var(--muted); }
.notice { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 26px; padding: 18px 20px; border-radius: 18px; background: var(--gold-soft); color: #5a4407; font-size: 15.5px; }
.notice p { margin: 0; }
.notice svg.ikon { margin-top: 2px; color: var(--gold-d); }
.h2s { display: flex; align-items: center; gap: 12px; margin: 40px 0 18px; font: 700 24px/1.2 var(--font-d); letter-spacing: -.02em; }
.kids { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.kids-3 { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kid { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: box-shadow .25s, transform .25s; }
.card .kid { background: var(--ivory); border-color: transparent; }
.kid b { font-size: 16px; line-height: 1.35; }
.kid small { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--blue); font-weight: 700; font-size: 13.5px; }
.kid small svg.ikon { width: 16px; height: 16px; }
.kid.big { padding: 28px; min-height: 230px; }
.kid.big b { font: 700 21px/1.25 var(--font-d); }
.kid .kd { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, background .2s; }
.doc:hover { border-color: var(--blue); background: var(--blue-soft); }
.doc .ext { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 12px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: #fff; background: #c2412d; }
.doc .ext-docx { background: #2b5fb8; }
.doc .dn { flex: 1; min-width: 0; }
.doc b { display: block; font-size: 15.5px; overflow-wrap: anywhere; }
.doc small { color: var(--muted); font-size: 13px; }
.doc > svg.ikon { color: var(--blue); }
.lead-dark { font-size: 19px; color: var(--text); }
.back a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.prose h2 { margin: 30px 0 8px; font: 700 22px/1.25 var(--font-d); }
.prose h2:first-child { margin-top: 0; }

/* hírlista */
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ncard { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: box-shadow .25s, transform .25s; }
.ncard .body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; }
.ncard h3 { margin: 4px 0 0; font: 700 19px/1.3 var(--font-d); letter-spacing: -.01em; }
.ncard p { margin: 0; color: var(--muted); font-size: 15px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 42px; }
.pager a, .pager span { display: inline-flex; align-items: center; gap: 8px; min-width: 46px; height: 46px; padding: 0 16px; justify-content: center; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; }
.pager span[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager svg.ikon { width: 16px; height: 16px; }

/* elérhetőség */
.ccards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ccard.sm { padding: 30px; }
.ccard.sm h2 { margin: 16px 0 18px; font-size: 24px; }
.cl.tight { grid-template-columns: 1fr; gap: 12px; margin: 0; }
.cl.tight .ti { width: 38px; height: 38px; border-radius: 11px; }
.cl.tight .ti svg.ikon { width: 19px; height: 19px; }

/* ---------- reszponzív */
@media (max-width: 1240px) {
  .mainnav .top { padding: 0 12px; font-size: 15px; }
}
@media (max-width: 1079px) {
  .mainnav, .head-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .head-tools { margin-left: auto; }
  .hero-side { position: static; width: auto; margin: 0 24px 24px; }
  .hero-card { flex-direction: column; align-items: stretch; justify-content: flex-end; }
  .hero-txt { padding: 48px 32px 28px; }
  .welcome { grid-template-columns: 280px 1fr; gap: 40px; padding: 40px; }
  .layout { grid-template-columns: 1fr; }
  .side { position: static; max-height: none; }
}
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .news, .contact-grid { grid-template-columns: 1fr; }
  .ngrid, .kids-3, .prog { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sec-head { flex-wrap: wrap; align-items: flex-start; }
  .welcome { grid-template-columns: 1fr; }
  .welcome img { max-width: 280px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
    .head-in { height: 72px; gap: 12px; }
  .brand img { width: 44px; }
  .brand b { font-size: 22px; }
  .brand small { font-size: 9.5px; letter-spacing: .14em; }
  .head-tools .icon-btn { display: none; }
  .menu-btn { min-height: 44px; padding: 0 16px; }
  .hero { padding-top: 12px; }
  .hero-card { min-height: 520px; border-radius: 26px; }
  .hero-card > img { object-position: 42% 40%; }
  .hero-card::before { background: linear-gradient(0deg, rgba(11, 22, 48, .95) 0%, rgba(11, 22, 48, .72) 55%, rgba(11, 22, 48, .25) 100%); }
  .hero-txt { padding: 34px 22px 22px; }
  .hero p { font-size: 17px; }
  .hero-side { margin: 0 14px 14px; padding: 14px 16px; }
  .sec { padding: 64px 0; }
  .bento { gap: 12px; }
  .tile { min-height: 168px; padding: 18px; gap: 10px; }
  .tile .ti { width: 42px; height: 42px; }
  .tile h3 { font-size: 16.5px; }
  .tile p { font-size: 13.5px; }
  .tile .go { display: none; }
  .tile-big { padding: 26px 22px; }
  .tile-big h3 { font-size: 28px; }
  .nitem { grid-template-columns: 84px 1fr; gap: 14px; padding: 12px; }
  .feat .body { padding: 22px; }
  .feat h3 { font-size: 23px; }
  .welcome { padding: 26px 22px 30px; gap: 26px; border-radius: 26px; }
  .welcome img { max-width: 200px; }
  .prog { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .infoblokk { right: 10px; bottom: 10px; }
  .infoblokk a { width: 140px; }
  .van-infoblokk .foot { padding-bottom: 120px; }
  .ccard, .mapcard { padding: 28px 22px; }
  .cl { grid-template-columns: 1fr; }
  .phead { padding: 28px 22px 34px; border-radius: 26px; margin-top: 12px; }
  .phead .lead { font-size: 16px; }
  .card { padding: 24px 20px; border-radius: 22px; }
  .ngrid, .kids-3, .ccards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; padding: 56px 16px 36px; }
  .foot-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Felső sáv: elérhetőség, Akadálymentes nézet, Facebook, akadálymentességi nyilatkozat */
.topbar { background: var(--ink); color: #c9d1e6; font-size: 14px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar .contact { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; min-width: 0; }
.topbar .contact a, .topbar .contact span { display: inline-flex; align-items: center; gap: 8px; color: #dbe2f1; text-decoration: none; white-space: nowrap; }
.topbar .contact a:hover { color: #fff; text-decoration: underline; }
.topbar .contact svg.ikon { width: 16px; height: 16px; color: var(--gold-2); }
.topbar-right { display: flex; align-items: center; gap: 8px; flex: none; }
.kontraszt-gomb { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: transparent; color: #fff; font: 600 13.5px/1 var(--font); white-space: nowrap; cursor: pointer; }
.kontraszt-gomb:hover { background: rgba(255, 255, 255, .1); }
.kontraszt-gomb svg.ikon { width: 17px; height: 17px; color: var(--gold-2); }
.kontraszt-gomb[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.kontraszt-gomb[aria-pressed="true"] svg.ikon { color: var(--ink); }
.tb-ikon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.tb-ikon:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.tb-ikon svg.ikon { width: 17px; height: 17px; }

/* ---------- Tartalom (átvett oldalak szövege) */
.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; }
.prose { overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin: 1.6em 0 .5em; font: 700 24px/1.25 var(--font-d); letter-spacing: -.015em; }
.prose h3 { margin: 1.4em 0 .4em; font-size: 19px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose a { color: var(--blue); text-underline-offset: 3px; }
.prose img { height: auto; border-radius: 12px; margin: .5em 0; }
.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(--ivory); color: var(--ink); }
.prose blockquote { margin: 0 0 1em; padding: 4px 18px; border-left: 4px solid var(--gold); color: var(--muted); }
.prose .doc-item { border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 0 0 14px; }
.prose .doc-item h3 { margin-top: 0; }
.prose .attachments.inline ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.prose .attachments.inline li { margin: 0; }
.prose .attachments.inline a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; }
.prose .attachments.inline a:hover { border-color: var(--blue); background: var(--blue-soft); }
.prose .attachments.inline svg.ikon { width: 26px; height: 26px; color: var(--blue); }
.prose .attachments.inline span { display: flex; flex-direction: column; min-width: 0; }
.prose .attachments.inline small { color: var(--muted); }
figure.portre { float: right; width: 240px; margin: 0 0 18px 28px; }
figure.portre img { margin: 0; border-radius: 22px; width: 100%; }
.ures { margin: 0; color: var(--muted); font-style: italic; }
.attachments { margin-top: 8px; }
.attachments .h2s { margin-top: 32px; }
.card > .attachments:first-child .h2s, .card > .prose:empty + .attachments .h2s { margin-top: 0; }
.prose:empty { display: none; }
/* üres szövegű gyűjtőoldal: az „Ebben a rovatban” cím a kártya tetején kezdődik */
.prose:empty + .h2s { margin-top: 0; }
.doc .ext-doc, .doc .ext-docx, .doc .ext-rtf, .doc .ext-odt { background: #2b5fb8; }
.doc .ext-xls, .doc .ext-xlsx, .doc .ext-ods { background: #1f7a4a; }
.doc .ext-jpg, .doc .ext-jpeg, .doc .ext-png { background: #6b4fb0; }

/* kiemelt felhívás egy oldal tetején (elektronikus ügyintézés) */
.callout { display: flex; align-items: flex-start; gap: 18px; margin: 0 0 28px; padding: 22px 24px; border-radius: 20px; background: var(--blue-soft); border-left: 5px solid var(--gold); }
.callout h2 { margin: 0 0 4px; font: 700 19px/1.3 var(--font-d); }
.callout p { margin: 0 0 14px; color: var(--muted); }

/* hír oldala */
.card > .meta { margin-bottom: 18px; }
.card > .meta time, .ncard time, .feat time, .nitem time { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.lead-img { margin: 0 0 24px; }
.lead-img img { width: 100%; border-radius: 20px; }
/* „csak kép” hír (plakát, felhívás): a kép a tartalom – teljes egészében, vágás nélkül */
.lead-img.plakat img { width: auto; max-width: 100%; max-height: none; margin: 0 auto; background: var(--ivory); }
.back { margin: 30px 0 0; }
.back a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.ph.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.has-img::after { display: none; }
.ncard h2 { margin: 4px 0 0; font: 700 19px/1.3 var(--font-d); letter-spacing: -.01em; }
.ncard h2 a { color: var(--ink); text-decoration: none; }
.ncard h2 a::after { content: ""; position: absolute; inset: 0; }
.ncard { position: relative; }
.ncard h2 a:hover { color: var(--blue); }
.attach { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.attach svg.ikon { width: 16px; height: 16px; }

/* elérhetőség – ügyfélfogadás a főoldali kártyán */
.nyitva { display: flex; flex-direction: column; font-size: 15px; }
.cl li { align-items: flex-start; }
.cl li > span:last-child { min-width: 0; }
.cl a { color: var(--ink); }

/* ---------- Pályázati infóblokk: görgetéskor is mindig látható, jobb alsó sarok */
.infoblokk a { line-height: 0; }
.infoblokk img { width: 100%; height: auto; }

@media (max-width: 900px) {
  .topbar .contact .addr { display: none; }
}
@media (max-width: 640px) {
  .topbar .contact .mail { display: none; }
  .topbar .wrap { gap: 10px; }
  /* mobilon csak az ikon látszik, a felirat a képernyőolvasónak megmarad */
  .kontraszt-gomb { width: 32px; padding: 0; justify-content: center; }
  .kontraszt-gomb span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  figure.portre { float: none; width: 200px; margin: 0 0 18px; }
  .callout { flex-direction: column; padding: 18px; }
}

/* ---------- 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=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; }
.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; }
.panel + .panel { margin-top: 24px; }
.panel h2 { font-size: 21px; margin: 0 0 16px; }
.uj-ev .field input[type=text] { max-width: 160px; }
.vissza { margin: 0 0 10px; font-size: 14.5px; }
.vissza a { text-decoration: none; font-weight: 600; }
.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; }
}
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--navy); color: var(--blue); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { font-size: 26px; margin: 0; }
.link-more { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-more::after { content: " →"; }

/* ---------- 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. Kompolt-specifikus rész: a díszítő elemek (hullámok, színátmenetek, a nyitókép mint háttér) eltűnnek,
   a kártyák és szakaszok határát sárga keret jelzi */
html.kontraszt .foot-wave, html.kontraszt .eyebrow::before, html.kontraszt .ph::after,
html.kontraszt .hero-card::before, html.kontraszt .hero-card > img { display: none !important; }
html.kontraszt .hero-card { min-height: 0; }
html.kontraszt .hero-txt { padding-bottom: 120px; }
html.kontraszt .card, html.kontraszt .tile, html.kontraszt .feat, html.kontraszt .nitem, html.kontraszt .ncard,
html.kontraszt .pcard, html.kontraszt .kid, html.kontraszt .ccard, html.kontraszt .mapcard, html.kontraszt .welcome,
html.kontraszt .phead, html.kontraszt .hero-card, html.kontraszt .side, html.kontraszt .mega, html.kontraszt .drop,
html.kontraszt .callout, html.kontraszt .doc, html.kontraszt .chip, html.kontraszt .hero-side,
html.kontraszt .site-head, html.kontraszt .topbar, html.kontraszt .drawer-panel { border: 2px solid #ff0 !important; }
html.kontraszt .ph { min-height: 0; }
html.kontraszt .infoblokk { border: 2px solid #ff0 !important; }
