/* Zsebhang – éjszakai stúdió. Sötét alap, egyetlen borostyán kiemelés. */

:root {
  --h-alap: #0e1217;
  --h-emelt: #141a21;
  --h-emelt2: #1b232c;
  --h-vonal: rgba(236, 232, 223, 0.11);
  --h-vonal-eros: rgba(236, 232, 223, 0.22);
  --h-szoveg: #ece8df;
  --h-halk: #a9b0b8;
  --h-halkabb: #87909a;
  --h-borostyan: #f2a93b;
  --h-borostyan-link: #f5b453;
  --h-borostyanra: #1a1206;
  --h-kek: #7fb3c8;
  --h-felirat: #f2a93b;
  --b-hatter: #131a22;
  --b-masod: #2c3b49;
  --b-kiemel: #f2a93b;
  --fej-fejsin: rgba(14, 18, 23, 0.86);
  --arnyek: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -12px rgba(0, 0, 0, 0.55);

  --betu-cim: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --betu-test: "Proza Libre", "Segoe UI", system-ui, sans-serif;

  --t-kicsi: 0.875rem;
  --t-alap: clamp(1rem, 0.97rem + 0.18vw, 1.0875rem);
  --t-1: clamp(1.15rem, 1.1rem + 0.3vw, 1.3rem);
  --t-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.85rem);
  --t-3: clamp(1.85rem, 1.5rem + 1.5vw, 2.75rem);
  --t-4: clamp(2.4rem, 1.7rem + 3.2vw, 4.5rem);

  --szel: 1200px;
  --margo: clamp(16px, 4vw, 40px);
  --fej-mag: 68px;
  --sugar: 14px;
  --sugar-kis: 8px;

  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --h-alap: #f4f1ea;
    --h-emelt: #fbf9f4;
    --h-emelt2: #ebe6dc;
    --h-vonal: rgba(21, 25, 30, 0.12);
    --h-vonal-eros: rgba(21, 25, 30, 0.24);
    --h-szoveg: #15191e;
    --h-halk: #4c545e;
    --h-halkabb: #5f6872;
    --h-borostyan: #e8962a;
    --h-borostyan-link: #8a4d00;
    --h-borostyanra: #1a1206;
    --h-kek: #2f6f88;
    --h-felirat: #8a4d00;
    --b-hatter: #e8e3d8;
    --b-masod: #b9c3cb;
    --b-kiemel: #d9861a;
    --fej-fejsin: rgba(244, 241, 234, 0.9);
    --arnyek: 0 1px 2px rgba(30, 25, 15, 0.08), 0 14px 30px -16px rgba(30, 25, 15, 0.25);
    color-scheme: light;
  }
}

/* ---------- alapok ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--fej-mag) + 16px); }
body {
  margin: 0;
  background: var(--h-alap);
  color: var(--h-szoveg);
  font-family: var(--betu-test);
  font-size: var(--t-alap);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--betu-cim);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; }
a { color: inherit; }
::selection { background: var(--h-borostyan); color: var(--h-borostyanra); }
:focus-visible { outline: 2px solid var(--h-borostyan); outline-offset: 3px; border-radius: 3px; }
main:focus { outline: none; }

.lathatatlan {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.ugras {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--h-borostyan); color: var(--h-borostyanra);
  padding: 10px 16px; border-radius: var(--sugar-kis); font-weight: 600; text-decoration: none;
  transition: top 0.15s ease;
}
.ugras:focus { top: 12px; }

.felirat {
  font-family: var(--betu-cim);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--h-felirat);
  margin-bottom: 0.9rem;
}
.felirat--halk { color: var(--h-halk); }

.nyil { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; flex: none; }

.gombsor { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.gomb {
  display: inline-flex; align-items: center; gap: 0.55em;
  min-height: 48px; padding: 0 1.35rem;
  font-family: var(--betu-cim); font-weight: 600; font-size: 1rem; letter-spacing: 0.01em;
  border-radius: 999px; text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.gomb:hover .nyil { transform: translateX(3px); }
.gomb--tele { background: var(--h-borostyan); color: var(--h-borostyanra); }
.gomb--tele:hover { background: #f7bc63; }
.gomb--korvonal { border: 1px solid var(--h-vonal-eros); color: var(--h-szoveg); }
.gomb--korvonal:hover { border-color: var(--h-szoveg); }

/* ---------- fejsín ---------- */
.fejsin {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: #ece8df;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.fejsin__belso {
  max-width: var(--szel); margin: 0 auto; padding: 0 var(--margo);
  height: var(--fej-mag);
  display: flex; align-items: center; gap: 24px;
}
.fejsin--szilard {
  background: var(--fej-fejsin);
  color: var(--h-szoveg);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  box-shadow: 0 1px 0 var(--h-vonal);
}
.szojel {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--betu-cim); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em;
  text-decoration: none; color: inherit; margin-right: auto;
}
.jel { width: 28px; height: 28px; }
.jel__a { fill: var(--h-borostyan); }
.fejsin__menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.fejsin__menu a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  font-family: var(--betu-cim); font-weight: 500; font-size: 0.975rem;
  text-decoration: none; border-radius: 999px; color: inherit; opacity: 0.86;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}
.fejsin__menu a:hover { opacity: 1; background: rgba(127, 127, 127, 0.14); }
.fejsin__menu a[aria-current="page"] { opacity: 1; background: rgba(242, 169, 59, 0.16); color: var(--h-felirat); }
.fejsin--lebego:not(.fejsin--szilard) .fejsin__menu a[aria-current="page"] { color: #f2a93b; }
.fejsin__gomb {
  display: none;
  width: 44px; height: 44px; border-radius: 999px;
  background: transparent; color: inherit; border: 1px solid rgba(127, 127, 127, 0.35); cursor: pointer;
  align-items: center; justify-content: center;
}
.fejsin__gomb-vonal, .fejsin__gomb-vonal::before, .fejsin__gomb-vonal::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform 0.2s ease, background-color 0.2s ease;
}
.fejsin__gomb-vonal::before, .fejsin__gomb-vonal::after { content: ""; position: absolute; left: 0; }
.fejsin__gomb-vonal::before { top: -6px; }
.fejsin__gomb-vonal::after { top: 6px; }
.fejsin--nyitva .fejsin__gomb-vonal { background: transparent; }
.fejsin--nyitva .fejsin__gomb-vonal::before { transform: translateY(6px) rotate(45deg); }
.fejsin--nyitva .fejsin__gomb-vonal::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .fejsin__gomb { display: inline-flex; }
  .fejsin__menu {
    position: absolute; top: var(--fej-mag); left: 0; right: 0;
    background: var(--h-emelt); color: var(--h-szoveg);
    box-shadow: 0 1px 0 var(--h-vonal), var(--arnyek);
    padding: 8px var(--margo) 18px;
    display: none;
  }
  .fejsin--nyitva .fejsin__menu { display: block; }
  .fejsin--nyitva { background: var(--h-emelt); color: var(--h-szoveg); }
  .fejsin__menu ul { flex-direction: column; gap: 2px; }
  .fejsin__menu a { width: 100%; min-height: 48px; font-size: 1.05rem; }
}

.lap-belso main { padding-top: var(--fej-mag); }

/* ---------- nyitány (főoldali nyitókép) ---------- */
.nyitany {
  --h-szoveg: #ece8df; --h-halk: #b6bcc3; --h-vonal: rgba(236, 232, 223, 0.14); --h-vonal-eros: rgba(236, 232, 223, 0.3); --h-felirat: #f2a93b;
  position: relative; isolation: isolate;
  min-height: min(100svh, 900px);
  display: flex; flex-direction: column;
  color: var(--h-szoveg);
  background: #0e1217;
  overflow: hidden;
}
.nyitany__foto, .nyitany__foto img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.nyitany__foto { z-index: -2; margin: 0; }
.nyitany__foto img { object-fit: cover; object-position: 78% 30%; top: -13%; height: 113%; }
@media (min-width: 961px) and (min-aspect-ratio: 3/2) { .nyitany__foto img { object-position: 78% 0%; } }
.nyitany::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 18, 23, 0.94) 0%, rgba(14, 18, 23, 0.78) 42%, rgba(14, 18, 23, 0.18) 100%),
    linear-gradient(0deg, #0e1217 0%, rgba(14, 18, 23, 0.9) 36%, rgba(14, 18, 23, 0.55) 52%, rgba(14, 18, 23, 0) 68%);
}
.nyitany__belso {
  flex: 1;
  width: 100%; max-width: var(--szel); margin: 0 auto;
  padding: calc(var(--fej-mag) + clamp(40px, 9vh, 110px)) var(--margo) clamp(56px, 8vh, 96px);
  display: grid; gap: clamp(40px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: end;
}
.nyitany__szoveg { align-self: center; max-width: 36rem; }
.nyitany__cim {
  font-size: var(--t-4);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.nyitany__lead {
  margin-top: 1.4rem; max-width: 32rem;
  font-size: var(--t-1); line-height: 1.6; color: var(--h-halk);
}
.musorlista__fej {
  font-family: var(--betu-cim); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--h-halk);
  padding-bottom: 14px;
}
.musorlista ol { list-style: none; margin: 0; padding: 0; }
.musorlista__tetel {
  position: relative;
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 4px 14px;
  padding: 18px 0;
  border-top: 1px solid var(--h-vonal);
}
.musorlista__szam {
  font-family: var(--betu-cim); font-weight: 500; font-size: 2.5rem; line-height: 1;
  color: #f2a93b; font-variant-numeric: tabular-nums;
}
.musorlista__cim { font-size: var(--t-1); font-weight: 600; line-height: 1.25; }
.musorlista__cim a { text-decoration: none; }
.musorlista__cim a::after { content: ""; position: absolute; inset: 0; }
.musorlista__lead { margin-top: 6px; font-size: 0.95rem; line-height: 1.5; color: var(--h-halk); }
.musorlista__tetel:hover .musorlista__cim a { text-decoration: underline; text-decoration-color: #f2a93b; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
.musorlista__tetel:focus-within { outline: 2px solid #f2a93b; outline-offset: 4px; border-radius: 4px; }
.musorlista__cim a:focus-visible { outline: none; }

.hullamsav { position: absolute; left: 0; bottom: 0; width: max(100%, 1200px); height: 64px; z-index: -1; opacity: 0.75; }
.hullamsav path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hullamsav__fo { stroke: #f2a93b; stroke-width: 1.6; opacity: 0.55; }
.hullamsav__halk { stroke: #7fb3c8; stroke-width: 1.2; opacity: 0.3; }

@media (max-width: 960px) {
  .nyitany__belso { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .nyitany__foto img { object-position: 78% 30%; }
  .nyitany::before {
    background:
      linear-gradient(180deg, rgba(14, 18, 23, 0.55) 0%, rgba(14, 18, 23, 0.82) 38%, #0e1217 72%);
  }
}

/* ---------- sávok ---------- */
.sav { padding: clamp(64px, 9vw, 120px) 0; }
.sav__belso { max-width: var(--szel); margin: 0 auto; padding: 0 var(--margo); }
.savfej { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.savfej__cim { font-size: var(--t-3); letter-spacing: -0.025em; }
.savfej__link {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--betu-cim); font-weight: 600; text-decoration: none; color: var(--h-borostyan-link);
}
.savfej__link:hover .nyil { transform: translateX(3px); }
.savfej__link:hover { text-decoration: underline; text-underline-offset: 0.25em; }

/* ---------- borítóminták ---------- */
.borito { width: 100%; height: 100%; }
.borito .b-h { fill: var(--b-hatter); }
.borito .b-a { fill: var(--b-kiemel); stroke: var(--b-kiemel); stroke-width: 0; }
.borito .b-b { fill: var(--b-masod); stroke: var(--b-masod); stroke-width: 0; }
.borito .b-c { stroke: var(--b-masod); stroke-width: 1.5; }
.borito--1 .b-a, .borito--1 .b-b, .borito--2 .b-a, .borito--2 .b-b { fill: none; stroke-width: 2; }
.borito--1 .b-vastag { stroke-width: 3.5; }
.borito--2 .b-tele, .borito--3 .b-tele { stroke-width: 0; }
.borito--2 .b-tele { fill: var(--b-kiemel); }
.borito--3 .b-a { fill: var(--b-kiemel); }

/* ---------- lemezpolc (cikklista) ---------- */
.lemezpolc {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(28px, 3.5vw, 48px);
}
.lemez { position: relative; display: flex; flex-direction: column; gap: 18px; }
.lemez__kep {
  aspect-ratio: 16 / 10; border-radius: var(--sugar); overflow: hidden;
  box-shadow: 0 0 0 1px var(--h-vonal);
  background: var(--b-hatter);
}
.lemez__kep svg { transition: transform 0.5s cubic-bezier(.2, .7, .2, 1); }
.lemez:hover .lemez__kep svg { transform: scale(1.035); }
.lemez__cim { font-size: var(--t-1); line-height: 1.22; letter-spacing: -0.01em; }
.lemez__cim a { text-decoration: none; }
.lemez__cim a::after { content: ""; position: absolute; inset: 0; border-radius: var(--sugar); }
.lemez:hover .lemez__cim a { text-decoration: underline; text-decoration-color: var(--h-borostyan); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.lemez__cim a:focus-visible { outline: none; }
.lemez__cim a:focus-visible::after { outline: 2px solid var(--h-borostyan); outline-offset: 6px; }
.lemez__lead { margin-top: 10px; color: var(--h-halk); line-height: 1.6; font-size: 0.98rem; }
.lemez__meta { margin-top: 12px; font-size: var(--t-kicsi); color: var(--h-halkabb); font-variant-numeric: tabular-nums; }

.lemez--fo .lemez__kep { aspect-ratio: 16 / 9.5; }
.lemez--fo .lemez__cim { font-size: var(--t-3); line-height: 1.08; letter-spacing: -0.03em; }
.lemez--fo .lemez__lead { font-size: var(--t-1); max-width: 40rem; }
.lemezpolc__mellek { display: grid; grid-template-rows: auto auto; gap: clamp(28px, 3vw, 40px); align-content: start; }
.lemez--mellek .lemez__kep { aspect-ratio: 16 / 8; }
.lemez--mellek .lemez__lead { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.lemezpolc__sor {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 3vw, 40px);
  padding-top: clamp(28px, 3.5vw, 48px);
  border-top: 1px solid var(--h-vonal);
}
.lemezpolc__sor > .lemez:last-child:nth-child(3n + 1) {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; gap: clamp(20px, 3vw, 40px);
}
.lemezpolc__sor > .lemez:last-child:nth-child(3n + 1) .lemez__cim { font-size: var(--t-2); }

@media (max-width: 960px) {
  .lemezpolc { grid-template-columns: minmax(0, 1fr); }
  .lemezpolc__mellek { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; }
  .lemezpolc__sor { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lemezpolc__sor > .lemez:last-child:nth-child(3n + 1) { grid-column: auto; display: flex; }
  .lemezpolc__sor > .lemez:last-child:nth-child(2n + 1) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; }
}
@media (max-width: 620px) {
  .lemezpolc__mellek, .lemezpolc__sor { grid-template-columns: minmax(0, 1fr); }
  .lemezpolc__sor > .lemez:last-child:nth-child(2n + 1) { display: flex; }
  .lemez--mellek .lemez__kep, .lemez--sor .lemez__kep { aspect-ratio: 16 / 8; }
  .lemezpolc__sor > .lemez:last-child:nth-child(3n + 1) .lemez__cim { font-size: var(--t-1); }
}

/* ---------- Lexikon-sáv ---------- */
.sav--szotar { background: var(--h-emelt); box-shadow: 0 -1px 0 var(--h-vonal), 0 1px 0 var(--h-vonal); }
.szotarsav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.szotarsav__kep { margin: 0; border-radius: var(--sugar); overflow: hidden; box-shadow: var(--arnyek); aspect-ratio: 4 / 3.4; }
.szotarsav__kep img { width: 100%; height: 100%; object-fit: cover; }
.szotarsav__szoveg > p { margin-top: 1.1rem; color: var(--h-halk); font-size: var(--t-1); line-height: 1.6; max-width: 34rem; }
.szotarsav__minta { margin: 1.8rem 0 2rem; }
.szotarsav__minta > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--h-vonal); }
.szotarsav__minta > div:last-child { border-bottom: 1px solid var(--h-vonal); }
.szotarsav__minta dt { font-family: var(--betu-cim); font-weight: 600; color: var(--h-borostyan-link); }
.szotarsav__minta dd { margin: 0; color: var(--h-halk); line-height: 1.55; }
@media (max-width: 860px) {
  .szotarsav { grid-template-columns: minmax(0, 1fr); }
  .szotarsav__kep { aspect-ratio: 16 / 10; }
}
@media (max-width: 480px) {
  .szotarsav__minta > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ---------- Rólunk-sáv ---------- */
.rolunk { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.rolunk__fej { position: sticky; top: calc(var(--fej-mag) + 32px); }
.spektrumjel { width: 100%; max-width: 240px; height: auto; margin-top: 28px; }
.spektrumjel .b-a { fill: var(--h-borostyan); }
.spektrumjel .b-b { fill: var(--b-masod); }
@media (max-width: 860px) {
  .rolunk { grid-template-columns: minmax(0, 1fr); }
  .rolunk__fej { position: static; }
}

/* ---------- szövegtörzs (cikk, főoldali bevezető, lapok) ---------- */
.szoveg { max-width: 68ch; overflow-wrap: break-word; }
.szoveg > * + * { margin-top: 1.15em; }
.szoveg p, .szoveg li { line-height: 1.75; }
.szoveg h2 { font-size: var(--t-2); margin-top: 2.4em; letter-spacing: -0.02em; scroll-margin-top: calc(var(--fej-mag) + 20px); }
.szoveg h3 { font-size: var(--t-1); margin-top: 1.9em; scroll-margin-top: calc(var(--fej-mag) + 20px); }
.szoveg h2 + *, .szoveg h3 + * { margin-top: 0.75em; }
.szoveg > :first-child { margin-top: 0; }
.szoveg a { color: var(--h-borostyan-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: color-mix(in srgb, var(--h-borostyan-link) 45%, transparent); transition: text-decoration-color 0.2s ease; }
.szoveg a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.szoveg strong { font-weight: 600; color: var(--h-szoveg); }
.szoveg ul, .szoveg ol, .rolunk__szoveg ul, .rolunk__szoveg ol { padding-left: 1.4em; margin-left: 0; }
.szoveg li + li, .rolunk__szoveg li + li { margin-top: 0.5em; }
.szoveg ul > li::marker, .rolunk__szoveg ul > li::marker { color: var(--h-borostyan); content: "▪  "; font-size: 0.9em; }
.szoveg ol > li::marker, .rolunk__szoveg ol > li::marker { color: var(--h-felirat); font-family: var(--betu-cim); font-weight: 600; }
.szoveg blockquote {
  margin: 1.6em 0; padding: 1.2em 1.4em; border-radius: var(--sugar);
  background: var(--h-emelt2); color: var(--h-szoveg); font-size: 1.05em;
}
.szoveg hr { border: 0; height: 1px; background: var(--h-vonal); margin: 2.4em 0; }
.szoveg code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.88em; background: var(--h-emelt2); padding: 0.12em 0.4em; border-radius: 5px; overflow-wrap: anywhere; }
.szoveg pre { overflow-x: auto; max-width: 100%; background: var(--h-emelt2); padding: 1rem 1.2rem; border-radius: var(--sugar-kis); line-height: 1.5; }
.szoveg pre code { background: none; padding: 0; overflow-wrap: normal; }
.tablazat { overflow-x: auto; max-width: 100%; margin: 1.6em 0; border-radius: var(--sugar-kis); box-shadow: 0 0 0 1px var(--h-vonal); -webkit-overflow-scrolling: touch; }
.tablazat table { width: 100%; border-collapse: collapse; font-size: 0.95rem; font-variant-numeric: tabular-nums; min-width: 420px; }
.tablazat th, .tablazat td { padding: 0.75em 1em; text-align: left; vertical-align: top; }
.tablazat thead th { font-family: var(--betu-cim); font-weight: 600; background: var(--h-emelt2); }
.tablazat tbody tr + tr td { border-top: 1px solid var(--h-vonal); }
.szoveg dl { margin: 1.2em 0 0; }
.szoveg dt { font-family: var(--betu-cim); font-weight: 600; font-size: 1.08rem; padding-top: 1em; border-top: 1px solid var(--h-vonal); }
.szoveg dd { margin: 0.35em 0 1em; color: var(--h-halk); }
.szoveg dt:first-child { border-top: 0; padding-top: 0; }

/* ---------- lap- és cikkfej ---------- */
.lapfej { padding: clamp(48px, 8vw, 104px) 0 clamp(28px, 4vw, 44px); }
.lapfej__belso { max-width: var(--szel); margin: 0 auto; padding: 0 var(--margo); }
.lapfej__cim { font-size: var(--t-4); line-height: 1.04; letter-spacing: -0.035em; max-width: 18em; }
.olvaso--cikk .lapfej__cim { font-size: clamp(2.1rem, 1.5rem + 2.7vw, 3.75rem); max-width: 20em; }
.lapfej__lead { margin-top: 1.2rem; max-width: 44rem; font-size: var(--t-1); line-height: 1.6; color: var(--h-halk); }
.lapfej__meta { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: var(--t-kicsi); color: var(--h-halkabb); font-variant-numeric: tabular-nums; }
.lapfej .spektrumjel { margin-top: 32px; max-width: 200px; }
.lapfej--hiba .lapfej__cim { max-width: 14em; }
.morzsa { display: flex; gap: 10px; font-family: var(--betu-cim); font-size: 0.875rem; color: var(--h-halk); margin-bottom: 1.4rem; }
.morzsa a { text-decoration: none; }
.morzsa a:hover { color: var(--h-borostyan-link); text-decoration: underline; text-underline-offset: 0.2em; }
.morzsa a:last-child { color: var(--h-borostyan-link); }

.cikkvizual { max-width: var(--szel); margin: 0 auto; padding: 0 var(--margo); }
.cikkvizual__minta, .cikkvizual__foto { margin: 0; aspect-ratio: 21 / 8; border-radius: var(--sugar); overflow: hidden; box-shadow: 0 0 0 1px var(--h-vonal); background: var(--b-hatter); }
.cikkvizual__foto img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 620px) {
  .cikkvizual__minta, .cikkvizual__foto { aspect-ratio: 16 / 9; }
}

.olvaso__test {
  max-width: var(--szel); margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) var(--margo) clamp(56px, 8vw, 96px);
}
.olvaso__test--oldalsav { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.tartalomsav { position: sticky; top: calc(var(--fej-mag) + 28px); }
.tartalomsav__cim { font-family: var(--betu-cim); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--h-halk); margin-bottom: 12px; }
.tartalomsav ol { list-style: none; margin: 0; padding: 0; counter-reset: fej; }
.tartalomsav li { counter-increment: fej; }
.tartalomsav li a {
  display: grid; grid-template-columns: 1.6em minmax(0, 1fr); gap: 4px;
  padding: 8px 0; font-size: 0.92rem; line-height: 1.4; color: var(--h-halk); text-decoration: none;
  border-top: 1px solid var(--h-vonal);
  transition: color 0.2s ease;
}
.tartalomsav li a::before { content: counter(fej); font-family: var(--betu-cim); font-weight: 600; color: var(--h-felirat); font-variant-numeric: tabular-nums; }
.tartalomsav li a:hover { color: var(--h-szoveg); }
.tartalomsav__doboz { display: none; }
.tartalomsav__doboz summary { cursor: pointer; font-family: var(--betu-cim); font-weight: 600; padding: 14px 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.tartalomsav__doboz summary::-webkit-details-marker { display: none; }
.tartalomsav__doboz summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--h-felirat); }
.tartalomsav__doboz[open] summary::after { content: "–"; }
.tartalomsav__doboz ol { padding: 0 16px 10px; }
@media (max-width: 1000px) {
  .olvaso__test--oldalsav { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tartalomsav { position: static; }
  .tartalomsav__lista { display: none; }
  .tartalomsav__doboz { display: block; background: var(--h-emelt); border-radius: var(--sugar); box-shadow: 0 0 0 1px var(--h-vonal); }
}
.olvaso--lap .szoveg { margin: 0; }

/* Lexikon betűsora */
.betusor { max-width: var(--szel); margin: 0 auto; padding: 0 var(--margo); }
.betusor ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.betusor a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 10px; border-radius: 10px;
  font-family: var(--betu-cim); font-weight: 600; text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--h-vonal-eros); color: var(--h-szoveg);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.betusor a:hover { background: var(--h-borostyan); color: var(--h-borostyanra); box-shadow: none; }
.olvaso--lexikon .szoveg h2 { font-size: var(--t-3); color: var(--h-felirat); margin-top: 1.6em; }

/* Olvasd tovább */
.rokon { background: var(--h-emelt); box-shadow: 0 -1px 0 var(--h-vonal); padding: clamp(56px, 8vw, 96px) 0; }
.rokon__belso { max-width: var(--szel); margin: 0 auto; padding: 0 var(--margo); }
.rokon .savfej__cim { font-size: var(--t-2); margin-bottom: 32px; }
.rokon__sor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); }
@media (max-width: 860px) { .rokon__sor { grid-template-columns: minmax(0, 1fr); } .rokon .lemez__kep { aspect-ratio: 16 / 7; } }

.rovat-bevezeto { margin-bottom: 48px; }
.sav--rovat { padding-top: 24px; }

/* ---------- zárósáv (lábléc) ---------- */
.zarosav { background: var(--h-emelt); box-shadow: 0 -1px 0 var(--h-vonal); color: var(--h-halk); font-size: 0.95rem; }
.sav--szotar + .sav--rolunk { background: var(--h-alap); }
.zarosav__belso {
  max-width: var(--szel); margin: 0 auto; padding: clamp(56px, 7vw, 88px) var(--margo) 40px;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 72px);
}
.szojel--zaro { color: var(--h-szoveg); margin-bottom: 16px; }
.zarosav__marka p { max-width: 26rem; line-height: 1.65; }
.zarosav h2 { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--h-szoveg); margin-bottom: 14px; }
.zarosav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.zarosav ul a { display: inline-block; padding: 5px 0; text-decoration: none; line-height: 1.4; transition: color 0.2s ease; }
.zarosav ul a:hover { color: var(--h-borostyan-link); text-decoration: underline; text-underline-offset: 0.2em; }
.zarosav__also { max-width: var(--szel); margin: 0 auto; padding: 22px var(--margo) 32px; font-size: 0.85rem; color: var(--h-halkabb); box-shadow: 0 -1px 0 var(--h-vonal); }
@media (max-width: 860px) {
  .zarosav__belso { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .zarosav__marka { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .zarosav__belso { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- mozgás ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .lemez:hover .lemez__kep svg { transform: none; }
}
