/* Risk Könyvvizsgáló Kft. – világos, modern megjelenés.
   Mélyzöld-kékes (teal) + tiszta fehér + borostyán kiemelés, kerekebb formák, lágy árnyékok. */

:root {
  --paper: #f5f8fa;
  --paper-2: #e9f0f3;
  --ink: #12202a;
  --ink-soft: #46586a;
  --green: #0b5c66;
  --green-dark: #083f47;
  --hi: #ffb81c;
  --line: rgba(11, 92, 102, .16);
  --radius: 18px;
  --shadow: 0 8px 28px rgba(8, 63, 71, .10);
  --serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: 68px; /* hely a mobilos gyorssávnak */
}

img, svg { max-width: 100%; }
a { color: var(--green); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--hi);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--green);
}

.wrap { width: min(100% - 32px, 1040px); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--hi); color: var(--ink); padding: 8px 14px; z-index: 100;
}
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0; color: var(--green-dark); }
h2 { font-size: clamp(1.7rem, 5vw, 2.3rem); margin-bottom: .5rem; }
h3 { font-size: 1.25rem; }

/* ---------- Fejléc ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--green);
  color: #fff;
  border-bottom: 4px solid var(--hi);
}
.top__in { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }

.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.logo__mark {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--hi); color: var(--green-dark);
  font: 700 1.5rem/1 var(--serif);
}
.logo__text { font: 700 1.25rem/1 var(--serif); letter-spacing: .08em; }
.logo__text small { font-size: .7em; letter-spacing: .04em; opacity: .8; font-weight: 400; }

.nav { display: none; gap: 6px; }
.nav a { color: #fff; text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: rgba(255, 255, 255, .12); }
.nav .nav__cta { background: var(--hi); color: var(--green-dark); font-weight: 700; }
.nav .nav__cta:hover { background: #ffd16b; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 44px 0 56px;
  /* vonalas főkönyvi papír */
  background:
    linear-gradient(90deg, transparent 47px, rgba(255, 184, 28, .55) 47px 49px, transparent 49px),
    repeating-linear-gradient(to bottom, transparent 0 31px, var(--line) 31px 32px),
    var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__in { position: relative; padding-left: 20px; }

.eyebrow {
  margin: 0 0 14px;
  font: 700 .85rem/1 var(--sans);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--green);
}
.hero h1 { font-size: clamp(2.2rem, 9vw, 4rem); letter-spacing: -.01em; }
.hero mark {
  background: linear-gradient(transparent 55%, var(--hi) 55% 92%, transparent 92%);
  color: inherit; padding: 0 .1em;
}
.lead { max-width: 34em; font-size: 1.15rem; color: var(--ink-soft); margin: 18px 0 26px; }

.cta { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 12px 22px;
  border-radius: var(--radius);
  font: 700 1.05rem/1.2 var(--sans);
  text-decoration: none;
  border: 2px solid var(--green);
  transition: transform .12s ease, background .12s ease;
}
.btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 4px 4px 0 var(--hi); }
.btn--primary:hover { background: var(--green-dark); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: rgba(11, 92, 102, .08); }

/* pecsét */
.stamp {
  display: none;
  position: absolute; right: 0; top: 0;
  width: 140px; height: 140px; border-radius: 50%;
  flex-direction: column;
  border: 4px double var(--hi);
  color: #fff;
  align-items: center; justify-content: center; gap: 2px;
  text-align: center;
  transform: rotate(-12deg);
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green), 6px 6px 0 3px var(--hi);
}
.stamp__num { font: 700 3.2rem/1 var(--serif); color: var(--hi); }
.stamp__txt { font: 700 .8rem/1.1 var(--sans); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Szekciók ---------- */
.section { padding: 56px 0; }
.section--alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.section__sub { margin: 0 0 28px; color: var(--ink-soft); }

.services { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.services li {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--green);
  border-radius: var(--radius);
  padding: 20px 20px 20px 22px;
}
.services__no { position: absolute; right: 16px; top: 12px; font: 700 1.6rem/1 var(--serif); color: var(--hi); -webkit-text-stroke: 1px var(--green); }
.services h3 { margin-bottom: 6px; }
.services p { margin: 0; color: var(--ink-soft); }

/* ---------- Csapat ---------- */
.team { display: grid; gap: 16px; }
.person {
  display: grid; gap: 4px; justify-items: start;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.person__av {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: var(--hi);
  font: 700 1.3rem/1 var(--serif);
  margin-bottom: 8px;
}
.person h3 { margin-bottom: 4px; }
.person__mail {
  display: inline-block; padding: 6px 0; min-height: 44px;
  font-weight: 600; color: var(--green);
  user-select: all; /* egy koppintással kijelölhető */
}
.person__link {
  display: inline-block; padding: 6px 0; min-height: 44px; /* jó érintési felület */
  font-weight: 600; text-underline-offset: 3px;
}

/* ---------- Kapcsolat ---------- */
.contact { display: grid; gap: 28px; }
address { font-style: normal; font-size: 1.15rem; margin: 12px 0 18px; }
.contact__list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 6px; }
.contact__list span { display: inline-block; min-width: 5.5em; color: var(--ink-soft); }
.contact__list a, .contact__mail { font-weight: 700; font-size: 1.1rem; user-select: all; }
.contact__list a { user-select: auto; }

[hidden] { display: none !important; }

.chat { margin: 0 0 24px; }
.chat__title { margin: 0 0 10px; font-weight: 700; color: var(--green-dark); }
.chat__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.chat__btns .btn { flex: 1 1 140px; }
.chat__note { margin: 10px 0 0; font-size: .9rem; color: var(--ink-soft); }

.map {
  position: relative;
  min-height: 320px;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, var(--paper-2) 0 14px, #f1f6f8 14px 28px);
  box-shadow: 6px 6px 0 var(--hi);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__load {
  position: absolute; inset: 0; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: none; border: 0; cursor: pointer; padding: 20px; text-align: center;
  font-family: var(--sans); color: var(--green-dark);
}
.map__load span {
  background: var(--green); color: #fff; padding: 14px 24px; border-radius: var(--radius);
  font-weight: 700; font-size: 1.05rem; box-shadow: 4px 4px 0 var(--hi);
}
.map__load small { color: var(--ink-soft); max-width: 28em; }
.map noscript a { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; }

/* ---------- Lábléc ---------- */
.foot { background: var(--green-dark); color: #dfe8e2; padding: 24px 0; font-size: .95rem; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot p { margin: 0; }
.foot a { color: var(--hi); }

/* ---------- Mobilos gyorssáv ---------- */
.dock {
  position: fixed; inset: auto 0 0 0; z-index: 60;
  display: grid; grid-template-columns: repeat(2, 1fr);
  background: var(--green); border-top: 3px solid var(--hi);
  padding-bottom: env(safe-area-inset-bottom);
}
.dock a {
  display: grid; place-items: center; min-height: 56px;
  color: #fff; text-decoration: none; font-weight: 700;
}
.dock a + a { border-left: 1px solid rgba(255, 255, 255, .2); }
.dock a:first-child { background: var(--hi); color: var(--green-dark); }

/* ---------- Nagyobb képernyő ---------- */
@media (min-width: 720px) {
  body { padding-bottom: 0; font-size: 1.125rem; }
  .dock { display: none; }
  .nav { display: flex; }
  .hero { padding: 88px 0 96px; }
  .hero__in { padding-left: 40px; }
  .hero h1 { padding-right: 170px; }
  .cta { flex-direction: row; max-width: none; }
  .stamp { display: flex; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: 1fr 1.3fr; align-items: start; }
  .map { min-height: 420px; }
}

@media (min-width: 1000px) {
  .services { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* =====================================================================
   V2 kiegészítések: bérkalkulátor, NAV-tájékoztatók, tesztsáv
   ===================================================================== */

.vbar { background: var(--hi); color: var(--green-dark); text-align: center; font-size: .9rem; padding: 6px 16px; font-weight: 600; }
.vbar a { color: inherit; }

.section__sub { max-width: 44em; }

/* ---------- Bérkalkulátor ---------- */
.calc { display: grid; gap: 20px; margin-top: 24px; }
.calc__form, .calc__result {
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.calc__form { display: grid; gap: 16px; align-content: start; }
.field { display: grid; gap: 6px; }
.field > label, .field > legend, .field > .field__label { font-weight: 700; color: var(--green-dark); padding: 0; }
.field input[type="text"], .field input[type="number"], .field select {
  width: 100%; min-height: 52px; padding: 10px 14px; font: inherit; font-size: 1.1rem; color: var(--ink);
  background: #fff; border: 2px solid var(--green); border-radius: 10px;
}
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--hi); outline-offset: 2px; }
.field small { color: var(--ink-soft); font-size: .9rem; }
fieldset.field { border: 0; margin: 0; min-width: 0; }

.seg { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--green); border-radius: 10px; overflow: hidden; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: grid; place-items: center; min-height: 48px; padding: 6px 10px; text-align: center; cursor: pointer; font-weight: 700; color: var(--green); background: #fff; }
.seg label + input + label, .seg input + label + input + label { border-left: 2px solid var(--green); }
.seg input:checked + label { background: var(--green); color: #fff; }
.seg input:focus-visible + label { outline: 3px solid var(--hi); outline-offset: -3px; }

.check { display: flex; gap: 12px; align-items: center; min-height: 48px; font-weight: 600; cursor: pointer; }
.check input { width: 24px; height: 24px; accent-color: var(--green); flex: none; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.calc__more { border-top: 1px dashed var(--line); padding-top: 12px; }
.calc__more summary { cursor: pointer; font-weight: 700; color: var(--green); min-height: 44px; display: flex; align-items: center; }
.calc__more div { display: grid; gap: 14px; margin-top: 8px; }

/* eredmény: számlap */
.calc__result {
  background:
    repeating-linear-gradient(to bottom, transparent 0 31px, var(--line) 31px 32px), #ffffff;
  box-shadow: 6px 6px 0 var(--hi); border: 2px solid var(--green);
}
.res__empty { color: var(--ink-soft); margin: 0; }
.res__big { margin: 0 0 14px; display: grid; gap: 2px; }
.res__big span { font-weight: 700; color: var(--ink-soft); }
.res__big strong { font: 700 clamp(2.1rem, 9vw, 3rem)/1.05 var(--serif); color: var(--green-dark); }
.res__big small { color: var(--ink-soft); }
.res__list { margin: 0; }
.res__row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.res__row dt { margin: 0; }
.res__row dd { margin: 0; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.res__plus dd { color: var(--green); }
.res__sum { border-bottom: 2px solid var(--green); font-weight: 700; }
.res__emp dt, .res__emp dd { color: var(--ink-soft); }
.res__emp.res__sum dt, .res__emp.res__sum dd { color: var(--green-dark); }
.res__warn { margin: 14px 0 0; padding: 10px 12px; background: #fff1cf; border-left: 5px solid var(--hi); border-radius: 6px; font-size: .95rem; }
.calc__note { margin: 14px 0 0; font-size: .9rem; color: var(--ink-soft); }
.calc__note a { font-weight: 700; }
.yearwarn { padding: 10px 12px; background: #fff1cf; border-left: 5px solid #d64737; border-radius: 6px; margin: 16px 0 0; }

/* ---------- NAV-tájékoztatók ---------- */
.nav-grid { display: grid; gap: 24px; margin-top: 24px; }
.panel { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel h3 { margin-bottom: 12px; }

.deadlines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.deadlines li {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.deadlines li:last-child { border-bottom: 0; }
.deadlines time { grid-column: 1; color: var(--green); font-weight: 700; }
.deadlines em { grid-column: 2; grid-row: 1; font-style: normal; font-weight: 700; background: var(--hi); color: var(--green-dark); padding: 2px 10px; border-radius: 999px; align-self: start; white-space: nowrap; font-size: .9rem; }
.deadlines b { grid-column: 1 / -1; color: var(--green-dark); }
.deadlines span { grid-column: 1 / -1; color: var(--ink-soft); font-size: .95rem; }
.panel__foot { margin: 12px 0 0; font-size: .9rem; color: var(--ink-soft); }

.facts { display: grid; gap: 12px; margin-top: 0; }
.fact { border-left: 6px solid var(--green); padding: 4px 0 4px 14px; }
.fact h4 { margin: 0 0 4px; font: 700 1.1rem/1.25 var(--serif); color: var(--green-dark); }
.fact p { margin: 0 0 4px; color: var(--ink-soft); }
.fact a { font-weight: 700; font-size: .95rem; }

.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.links a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px;
  background: #ffffff; border: 2px solid var(--green); border-radius: var(--radius); text-decoration: none; font-weight: 700; color: var(--green-dark);
}
.links a::after { content: "↗"; color: var(--green); }
.links a:hover { background: var(--green); color: #fff; }
.links a:hover::after { color: var(--hi); }

/* ---------- Dock: három gomb ---------- */
.dock--3 { grid-template-columns: repeat(3, 1fr); }

@media (min-width: 720px) {
  .nav a { padding: 8px 10px; }
  .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .nav-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .nav-grid .links-wrap { grid-column: 1 / -1; }
  .links { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) { .nav a { padding: 8px 14px; } }

/* ---------- Ünnepnapok, hosszú hétvégék ---------- */
.panel--wide { grid-column: 1 / -1; }
.cal { display: grid; gap: 20px; }
.cal h4 { margin: 0 0 8px; font: 700 1.05rem/1.25 var(--serif); color: var(--green-dark); }
.cal__list { list-style: none; margin: 0; padding: 0; }
.cal__list li { display: flex; flex-direction: column; padding: 8px 0; border-bottom: 1px solid var(--line); }
.cal__list li:last-child { border-bottom: 0; }
.cal__list b { color: var(--green-dark); }
.cal__list span { color: var(--ink-soft); font-size: .95rem; }
.cal__list li.elmult { opacity: .5; }
.deadlines small.eltolva { grid-column: 1 / -1; margin-top: 4px; padding: 6px 10px; background: #fff1cf; border-left: 4px solid var(--hi); border-radius: 4px; font-size: .88rem; color: var(--ink); }
@media (min-width: 720px) { .cal { grid-template-columns: 1fr 1.4fr; } }

/* ---------- Közepes szélesség: öt menüpont nem fér ki, marad az alsó gyorssáv ---------- */
@media (min-width: 720px) and (max-width: 899px) {
  .nav { display: none; }
  .dock { display: grid; }
  body { padding-bottom: 68px; }
}
@media (min-width: 720px) {
  .cta { flex-wrap: wrap; }
  .nav a { white-space: nowrap; }
}


/* =====================================================================
   V3 megjelenés: szerkezeti eltérések a v2-höz képest
   ===================================================================== */
body { background: var(--paper); }
h1, h2, h3 { letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); }

/* világos, üveges fejléc */
.top { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); color: var(--ink);
       border-bottom: 1px solid var(--line); }
.logo, .logo__text { color: var(--green-dark); }
.logo__mark { background: var(--green); color: #fff; border-radius: 10px; }
.nav a { color: var(--ink); }
.nav a:hover { background: var(--paper-2); }
.nav .nav__cta { background: var(--green); color: #fff; }
.nav .nav__cta:hover { background: var(--green-dark); }

.vbar { background: var(--green-dark); color: #dff1f3; font-weight: 500; }
.vbar a { color: var(--hi); }

/* hero: sima, puha színátmenet a vonalas papír helyett */
.hero { background: radial-gradient(1200px 420px at 85% -10%, #d7ecf0 0%, transparent 60%), linear-gradient(180deg, #ffffff 0%, var(--paper) 100%); border-bottom: 0; }
.hero__in { padding-left: 0; }
@media (min-width: 720px) { .hero__in { padding-left: 0; } }
.eyebrow { color: var(--green); background: #fff; display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); letter-spacing: .12em; }
.hero mark { background: linear-gradient(transparent 62%, rgba(255, 184, 28, .75) 62% 94%, transparent 94%); }

/* pecsét: teal korong borostyán gyűrűvel, lágy árnyékkal */
.stamp { border: 4px solid var(--hi); background: var(--green); box-shadow: var(--shadow); transform: rotate(-8deg); }

/* gombok: pill alak, nincs kemény árnyék */
.btn { border-radius: 999px; box-shadow: none; transition: transform .12s ease, background .12s ease, box-shadow .12s ease; }
.btn--primary { box-shadow: 0 8px 20px rgba(11, 92, 102, .28); }
.btn--primary:hover { box-shadow: 0 10px 24px rgba(11, 92, 102, .36); }
.btn--ghost { background: #fff; }

/* kártyák: kerek sarok, lágy árnyék, nincs oldalsáv */
.services li, .person, .panel, .calc__form { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.services li { border-left: 1px solid var(--line); border-top: 5px solid var(--green); }
.services__no { color: var(--hi); -webkit-text-stroke: 0; font-size: 1.9rem; opacity: .95; }
.section--alt { background: var(--paper-2); border-block: 0; }
.person__av { background: var(--green); color: #fff; }

.calc__result { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-top: 6px solid var(--hi); }
.res__big strong { color: var(--green); }
.res__sum { border-bottom: 2px solid var(--green); }

.fact { border-left: 0; padding-left: 0; padding-top: 12px; border-top: 3px solid var(--hi); }
.links a { border: 1px solid var(--line); box-shadow: var(--shadow); }
.links a:hover { background: var(--green); }
.deadlines em { background: var(--hi); }

.map { border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); }
.map__load span { box-shadow: 0 8px 20px rgba(11, 92, 102, .28); border-radius: 999px; }

.field input[type="text"], .field input[type="number"], .field select { border: 1.5px solid var(--line); border-radius: 12px; }
.field input:focus-visible, .field select:focus-visible { border-color: var(--green); }
.seg { border: 1.5px solid var(--green); border-radius: 999px; }
.seg label { background: #fff; }

.foot { background: var(--green-dark); }
.dock { background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(8, 63, 71, .10); }
.dock a { color: var(--green-dark); }
.dock a + a { border-left: 1px solid var(--line); }
.dock a:first-child { background: var(--green); color: #fff; }

a:focus-visible, button:focus-visible { box-shadow: 0 0 0 5px var(--green); }


/* =====================================================================
   Adótervező és hirdetőtábla
   ===================================================================== */
.tabs { display: flex; gap: 8px; margin: 22px 0 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.tabs button {
  flex: 1 0 auto; min-height: 52px; padding: 8px 18px; font: 700 1.05rem var(--sans); cursor: pointer; white-space: nowrap;
  color: var(--green); background: #fff; border: 2px solid var(--green); border-radius: 999px;
}
.tabs button[aria-selected="true"] { background: var(--green); color: #fff; box-shadow: 0 4px 0 var(--hi); }
.tabs button:focus-visible { outline: 3px solid var(--hi); outline-offset: 2px; }
#adotervezo .calc { margin-top: 0; }
#adotervezo .calc[hidden] { display: none; }
.adnote { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px 14px; }
.adnote p { margin: 6px 0; color: var(--ink-soft); }

.res__csoport { margin: 18px 0 4px; font: 700 1.05rem/1.2 var(--serif); color: var(--green-dark); }
.res__past dt, .res__past dd { color: var(--ink-soft); opacity: .65; }
.res__row small { color: var(--ink-soft); font-weight: 400; }
.res__note { margin: 12px 0 0; padding: 10px 12px; background: var(--paper-2); border-radius: 10px; font-size: .95rem; }
.res__villam { margin: 14px 0 4px; padding: 12px 14px; background: #fff3c4; border-left: 6px solid var(--hi); border-radius: 8px; line-height: 1.45; }
.res__villam small { color: var(--ink-soft); }

/* hirdetőtábla */
.hirdeto { background: var(--green-dark); color: #fff; border-bottom: 3px solid var(--hi); }
.hirdeto[hidden] { display: none; }
.hirdeto__in { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "cim mind" "lista lista"; gap: 4px 12px; padding: 8px 0 10px; align-items: center; }
.hirdeto__cim { grid-area: cim; font: 700 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--hi); }
.hirdeto__lista { grid-area: lista; display: grid; gap: 6px; }
.hirdeto__elem {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; padding: 7px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .10); color: #fff; text-decoration: none; min-height: 44px;
}
.hirdeto__elem em { font-style: normal; font-weight: 700; padding: 1px 10px; border-radius: 999px; background: rgba(255, 255, 255, .22); white-space: nowrap; font-size: .85rem; }
.hirdeto__elem b { white-space: nowrap; }
.hirdeto__elem span { grid-column: 1 / -1; font-size: .88rem; line-height: 1.3; opacity: .95; }
.hirdeto__elem:nth-child(n+4) { display: none; }
.hirdeto--kozel em { background: var(--hi); color: var(--green-dark); animation: hirdeto-pulz 1.8s ease-in-out infinite; }
.hirdeto--surgos { background: #b3261e; }
.hirdeto--surgos em { background: #fff; color: #b3261e; animation: hirdeto-pulz 1.4s ease-in-out infinite; }
.hirdeto__mind { grid-area: mind; color: var(--hi); font-weight: 700; font-size: .9rem; text-decoration: none; min-height: 32px; display: flex; align-items: center; }
@keyframes hirdeto-pulz {   /* lágy pulzálás (< 1 Hz), nem gyors villogás */
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); transform: scale(1); }
  50% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { .hirdeto--kozel em, .hirdeto--surgos em { animation: none; } }
@media (min-width: 720px) {
  .hirdeto__lista { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .hirdeto__elem:nth-child(n+4) { display: grid; }
}
