/* Szaki – ellenőrzött szakemberek
   Bármely szakmára ugyanaz: tipográfiai cím, áttekintő lista a pontokkal, cégkártyák.
   Szín: munkaruha-kék tinta, sárga kiemelés, zöld csak az igazolt tényeknél.
   Betű: Archivo változó betű; a címek keskeny szélességben (font-stretch), a szöveg normálban. SIL OFL. */

@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-ext-standard-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --papir: #ffffff;
  --beton: #eef0f3;
  --kek: #1d2b53;
  --kek-mely: #14203f;
  --szurke: #555f78;
  --vonal: #d4d8e0;
  --sarga: #ffc629;
  --sarga-sotet: #f0b400;
  --zold: #0f7a4a;
  --betu: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --szel: 74rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--papir); color: var(--kek); font: 400 1.0625rem/1.6 var(--betu); font-stretch: 100%; }
a { color: var(--kek); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--kek); outline-offset: 3px; }
p { margin: 0 0 1rem; }
.rejtett { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.75rem, 1.4rem + 6.4vw, 6rem); line-height: 0.92; font-stretch: 62%; max-width: 18ch; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.05; font-stretch: 70%; margin: 3.5rem 0 1rem; }
h3 { font-size: 1.5rem; line-height: 1.1; font-stretch: 75%; font-weight: 750; }
.egyben { white-space: nowrap; }
@media (max-width: 26rem) { .egyben { white-space: normal; } }

.sav, .oldal { max-width: var(--szel); margin: 0 auto; padding: 0 1.25rem; }
.ugras { position: absolute; left: -999px; top: 0; background: var(--kek); color: var(--papir); padding: 0.5rem 1rem; }
.ugras:focus { left: 0; z-index: 10; }

/* tervezet: munkaterület-csík */
.tervezet-sav { background: var(--kek); color: var(--sarga); border-bottom: 6px solid transparent;
  border-image: repeating-linear-gradient(-45deg, var(--sarga) 0 10px, var(--kek) 10px 20px) 6; }
.tervezet-sav p { max-width: var(--szel); margin: 0 auto; padding: 0.5rem 1.25rem; font-size: 0.9375rem; font-weight: 600; }

/* fejléc */
.fejlec .sav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
.logo { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 1.75rem; font-weight: 850; font-stretch: 62%; text-decoration: none; }
.logo-jel { width: 1.05rem; height: 1.4rem; background: var(--sarga); border: 2.5px solid var(--kek); border-radius: 2px;
  background-image: linear-gradient(var(--kek) 2px, transparent 2px); background-size: 100% 0.35rem; background-position: 0 0.2rem; }
.fejlec nav a { font-weight: 650; white-space: nowrap; }
@media (max-width: 26rem) { .logo { font-size: 1.45rem; } .fejlec nav a { font-size: 0.9375rem; } }

/* hős: cím, szám, áttekintés */
.hos { padding: 1rem 0 2.5rem; }
.hos-kicsi { padding-bottom: 1.5rem; }
.hos-fo { padding-top: 3rem; }
.morzsa { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.875rem; color: var(--szurke); margin-bottom: 1.75rem; }
.morzsa a { color: var(--szurke); }
.hos-szam { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); line-height: 1.4; max-width: 46ch; margin: 1.25rem 0 0; }
.hos-szam strong { font-weight: 750; }

.hos-megj { margin: 1rem 0 0; font-size: 0.9375rem; color: var(--szurke); max-width: 60ch; }
.hos-megj a { color: var(--kek); font-weight: 650; }
.attekintes { list-style: none; margin: 1.75rem 0 0; padding: 0; max-width: 42rem; border-top: 3px solid var(--kek); }
.attekintes a { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto; gap: 0 0.9rem; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--vonal); text-decoration: none; }
.attekintes a:hover .att-nev { text-decoration: underline; }
.att-rang { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; background: var(--sarga); border-radius: 2px; font-size: 1.35rem; font-weight: 850; font-stretch: 62%; }
.att-nev { font-size: 1.125rem; font-weight: 700; font-stretch: 85%; line-height: 1.25; }
.att-pont .minosit { font-size: 0.9375rem; }
.keves { margin-top: 1.5rem; padding: 1rem 1.25rem; background: var(--beton); border-left: 6px solid var(--sarga); max-width: 46rem; }

/* bevezető és rács */
.bevezeto { font-size: 1.125rem; max-width: 62ch; margin: 1rem 0 0; }
.racs { display: grid; gap: 0 3.5rem; }

/* cégek */
.lista { list-style: none; margin: 0; padding: 0; }
.ceg { padding: 1.5rem 0 2rem; border-top: 3px solid var(--kek); }
.ceg + .ceg { margin-top: 0.5rem; }
.ceg-fej { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 1rem; align-items: start; margin-bottom: 1rem; }
.ceg-rang { display: grid; place-items: center; width: 3rem; height: 3rem; background: var(--sarga); font-size: 1.9rem; font-weight: 850; font-stretch: 62%; line-height: 1; border-radius: 2px; }
.ceg-nev { padding-top: 0.2rem; }
.ceg-pont { margin: 0; text-align: right; line-height: 1; }
.ceg-pont-cimke { display: block; font-size: 0.8125rem; color: var(--szurke); margin-top: 0.4rem; }
.minosit { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.8rem 0.4rem 0.65rem; border-radius: 999px; font-size: 1rem; font-weight: 750; line-height: 1.1; white-space: nowrap; }
.minosit-3 { background: #0b6b40; color: #ffffff; }
.minosit-2 { background: #cdeedb; color: #0b5132; }
.minosit-1 { background: #edf3e3; color: #3f5a1e; }
.jelzo { display: inline-flex; align-items: flex-end; gap: 2px; height: 0.95rem; }
.jelzo i { width: 4px; border-radius: 1px; background: currentColor; opacity: 0.28; }
.jelzo i:nth-child(1) { height: 40%; } .jelzo i:nth-child(2) { height: 70%; } .jelzo i:nth-child(3) { height: 100%; }
.minosit-1 .jelzo i:nth-child(1), .minosit-2 .jelzo i:nth-child(-n+2), .minosit-3 .jelzo i { opacity: 1; }

.jelvenyek { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-weight: 650; color: var(--zold); font-size: 0.9375rem; }
.jelvenyek li, .ellenorzolap li { position: relative; padding-left: 1.55rem; }
.jelvenyek li::before, .ellenorzolap li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.3em; width: 0.9rem; height: 0.5rem;
  border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(-45deg);
}
.indoklas { max-width: 66ch; }
.indoklas strong { font-weight: 750; }
.gombok { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.25rem 0 0.9rem; }
.gomb {
  display: inline-flex; align-items: center; min-height: 3rem; padding: 0.6rem 1.15rem; border: 2px solid var(--kek); border-radius: 3px;
  background: var(--sarga); color: var(--kek); font-weight: 750; text-decoration: none; box-shadow: 0 3px 0 var(--kek);
}
.gomb:hover { background: var(--sarga-sotet); }
.gomb:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--kek); }
.gomb-masodlagos { background: var(--papir); }
.gomb-masodlagos:hover { background: var(--beton); }
.ceg-kerulet { margin: -0.25rem 0 0.75rem; font-size: 0.9375rem; color: var(--szurke); }
.ceg-datum { font-size: 0.8125rem; color: var(--szurke); margin: 0; }

/* oldalsáv */
.ellenorzolap { background: var(--kek); color: var(--papir); padding: 1.5rem 1.5rem 0.75rem; border-radius: 3px; margin-top: 2rem; }
.ellenorzolap h2 { margin: 0 0 1rem; font-size: 1.6rem; color: var(--papir); }
.ellenorzolap ul { list-style: none; margin: 0; padding: 0; }
.ellenorzolap li { margin-bottom: 0.85rem; font-size: 0.9688rem; line-height: 1.45; }
.ellenorzolap li::before { color: var(--sarga); }
.hivas-elott { border: 2px solid var(--kek); border-radius: 3px; padding: 1.25rem 1.5rem 0.5rem; margin-top: 1.25rem; }
.hivas-elott h2 { margin: 0 0 0.5rem; font-size: 1.6rem; }
.hivas-elott ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.hivas-elott li { margin-bottom: 0.4rem; }
.hivas-elott p { font-size: 0.9688rem; }

/* szöveges szakaszok */
.korlat, .gyik, .hiany { max-width: 46rem; }
.korlat { border-left: 6px solid var(--sarga); padding-left: 1.25rem; margin-top: 3.5rem; }
.korlat h2 { margin-top: 0; }
.gyik details { border-top: 1px solid var(--vonal); }
.gyik details:last-of-type { border-bottom: 1px solid var(--vonal); }
.gyik summary { cursor: pointer; list-style: none; padding: 1rem 2.5rem 1rem 0; font-weight: 700; position: relative; }
.gyik summary::-webkit-details-marker { display: none; }
.gyik summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.65rem; font-size: 1.75rem; line-height: 1; font-weight: 400; transition: transform 160ms ease; }
.gyik details[open] summary::after { transform: rotate(45deg); }
.gyik details p { max-width: 64ch; }

/* település-választó */
.helyek { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.helyek a { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem 1.25rem 0.9rem; border: 2px solid var(--kek); border-radius: 3px; text-decoration: none; box-shadow: 0 3px 0 var(--kek); }
.helyek a:hover { background: var(--sarga); }
.hely-nev { font-size: 1.75rem; font-weight: 800; font-stretch: 62%; line-height: 1; }
.hely-db { font-size: 0.875rem; color: var(--szurke); }
.helyek a:hover .hely-db { color: var(--kek); }
.szakma-blokk h2 a { text-decoration: none; }
.szakma-blokk h2 a:hover { text-decoration: underline; }

/* módszertan */
.szoveg > * { max-width: 48rem; }
.lepesek { margin: 1.5rem 0 0; padding: 0; list-style: none; counter-reset: lepes; }
.lepesek > li { counter-increment: lepes; position: relative; padding: 0 0 2rem 3.75rem; }
.lepesek > li::after { content: ""; position: absolute; left: 1.2rem; top: 2.75rem; bottom: 0.25rem; width: 3px; background: var(--vonal); }
.lepesek > li:last-child::after { display: none; }
.lepesek > li::before {
  content: counter(lepes); position: absolute; left: 0; top: 0; width: 2.6rem; height: 2.6rem; display: grid; place-items: center;
  background: var(--sarga); border-radius: 2px; font-weight: 850; font-stretch: 62%; font-size: 1.5rem;
}
.lepesek h2 { margin: 0.25rem 0 0.75rem; }
.kicsi { font-size: 0.9375rem; color: var(--szurke); }
.tablazat-keret { overflow-x: auto; margin: 0 0 1rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 0.55rem 0.75rem 0.55rem 0; border-bottom: 1px solid var(--vonal); vertical-align: top; }
thead th { font-weight: 700; color: var(--szurke); }
tbody th { font-weight: 400; }
td { white-space: nowrap; font-weight: 650; }
.szempontok dt { font-weight: 700; margin-top: 0.75rem; }
.szempontok dd { margin: 0.15rem 0 0; color: var(--szurke); font-size: 0.9375rem; }

/* egyszerű oldalak (adatkezelés, 404) */
.nyito { padding: 2.5rem 0 0.5rem; }
.nyito-bevezeto { font-size: 1.125rem; max-width: 60ch; margin-top: 1rem; }

/* lábléc */
.lablec { margin-top: 5rem; background: var(--kek); color: var(--papir); border-top: 10px solid var(--sarga); }
.lablec .sav { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.lablec-cim { margin: 0 0 0.75rem; color: var(--sarga); font-size: 1.75rem; }
.lablec p { max-width: 62ch; }
.lablec a { color: var(--papir); }
.lablec :focus-visible { outline-color: var(--sarga); }

@media (max-width: 40rem) {
  .ceg-fej { grid-template-columns: auto minmax(0, 1fr); }
  .ceg-pont { grid-column: 2; text-align: left; margin-top: 0.6rem; }
}

@media (min-width: 64rem) {
  .racs { grid-template-columns: minmax(0, 1fr) 21rem; align-items: start; }
  .oldalsav { position: sticky; top: 1.5rem; margin-top: 3.5rem; }
  .ellenorzolap { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .gyik summary::after { transition: none; }
}

@media print {
  .fejlec nav, .gombok, .tervezet-sav { display: none; }
  .lablec { background: none; color: var(--kek); }
  .lablec a, .lablec-cim { color: var(--kek); }
}
