/* Publikus weboldal – Domestika-inspirált felület
   (fejléc kategóriasávval, nagy kereső, karusszel kurzussorok, keret nélküli kártyák) */
*,
*::before,
*::after { box-sizing: border-box; }
:root {
  --primary: #12267C;
  --accent: #E11D48;
  --ink: #1a1a1a;
  --muted: #737373;
  --line: #e8e8e8;
  --bg-alt: #f7f7f7;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(0, 0, 0, .10);
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--site-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  color: var(--ink);
  background: var(--page-bg, #fff);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.hide-m {}

/* ---------------- akciósáv ---------------- */
.promo {
  display: flex; align-items: center; gap: 16px;
  background: #ff3200; color: #fff; padding: 9px 20px; font-size: 15px;
}
.promo-badge {
  background: #fff; color: #ff3200; font-weight: 900; font-size: 12px;
  text-transform: uppercase; padding: 5px 9px; border-radius: 3px;
  transform: rotate(-4deg); letter-spacing: .02em; flex: none;
}
.promo-text { font-weight: 700; }
.promo-text:hover { text-decoration: underline; }
.promo-count { display: flex; align-items: baseline; gap: 6px; margin-left: auto; font-variant-numeric: tabular-nums; }
.promo-count[hidden] { display: none; }
.promo-count span { display: flex; flex-direction: column; align-items: center; }
.promo-count b { font-size: 24px; font-weight: 800; line-height: 1; }
.promo-count small { font-size: 10.5px; opacity: .85; }
.promo-count i { font-style: normal; font-weight: 800; font-size: 20px; align-self: flex-start; }
.promo-x {
  border: 0; background: none; color: #fff; font-size: 24px; cursor: pointer;
  padding: 0 2px; line-height: 1; opacity: .85; flex: none;
}
.promo:has(.promo-count[hidden]) .promo-x { margin-left: auto; }
.promo-x:hover { opacity: 1; }

/* ---------------- fejléc (sötét, Domestika-minta) ---------------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--header-bg, #141414); color: var(--header-text, #fff); }
.hdr-in { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; color: var(--header-text, #fff); }
.brand img { height: 36px; width: auto; }
.brand-mark { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); display: inline-block; }
.hnav { display: flex; align-items: center; gap: 4px; }
.hnav > a, .hnav .dd > a {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 11px; font-size: 15px; font-weight: 600; color: #e6e6e6; border-radius: 7px;
  white-space: nowrap;
}
.hnav > a:hover, .hnav .dd > a:hover { color: #fff; background: rgba(255, 255, 255, .09); }
.hnav a.active { color: #fff; }
.dd { position: relative; }
.dd-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; color: var(--ink); border-radius: 10px; box-shadow: var(--shadow);
  padding: 8px; z-index: 60;
}
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; }
.dd-menu a { display: block; padding: 9px 12px; border-radius: 7px; font-size: 14.5px; font-weight: 600; }
.dd-menu a:hover { background: var(--bg-alt); }
.dd-sep { height: 1px; background: var(--line); margin: 6px 4px; }
.hdr-search {
  flex: 1; max-width: 520px; display: flex; align-items: center;
  background: #2b2b2b; border: 1px solid #3a3a3a; border-radius: 8px;
  padding: 0 4px 0 10px; transition: border-color .15s, background .15s;
}
.hdr-search:focus-within { background: #333; border-color: #666; }
.hdr-search button { border: 0; background: none; padding: 9px 4px; cursor: pointer; color: #9a9a9a; display: flex; }
.hdr-search input { border: 0; background: transparent; color: #fff; padding: 9px 8px; font-size: 14.5px; outline: none; width: 100%; }
.hdr-search input::placeholder { color: #9a9a9a; }
.hdr-actions { display: flex; gap: 14px; align-items: center; margin-left: auto; }
.hdr-login { font-size: 15px; font-weight: 600; color: #e6e6e6; white-space: nowrap; }
.hdr-login:hover { color: #fff; }
.burger { display: none; border: 0; background: none; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 22px; height: 2.5px; background: #fff; margin: 4.5px 0; border-radius: 2px; }
.mnav { display: none; }
.mnav.open {
  display: flex; flex-direction: column; background: #141414;
  padding: 6px 20px 16px; border-top: 1px solid #2c2c2c;
}
.mnav a { padding: 12px 6px; color: #e6e6e6; font-size: 16px; font-weight: 600; border-bottom: 1px solid #262626; }
.mnav a.mnav-sub { padding-left: 22px; font-weight: 500; color: #b8b8b8; font-size: 15px; }

/* ---------------- hero-slider (Domestika-minta) ---------------- */
.hs { position: relative; background: #63639b; color: #fff; overflow: hidden; }
.hs-track { display: flex; transition: transform .5s ease;
  /* vízszintes gesztus mindig a miénk (lapozás), a függőleges a böngészőé;
     kép-vonszolás és szövegkijelölés kikapcsolva, hogy ne zavarja a húzást */
  touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.hs-slide img { -webkit-user-drag: none; }
.hs-slide { flex: 0 0 100%; min-width: 0; }
.hs-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center;
  padding-top: 64px; padding-bottom: 70px;
}
.hs-text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hs-text h2 { margin: 0; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -.02em; }
.hs-text p { margin: 0; font-size: 16.5px; opacity: .92; }
.hs-stats { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; opacity: .95; }
.hs-stats span { display: flex; align-items: center; gap: 6px; }
.hs-badge {
  background: rgba(255, 255, 255, .95); color: var(--accent);
  font-size: 11.5px; font-weight: 900; letter-spacing: .05em;
  padding: 5px 11px; border-radius: 999px;
}
.hs-price { font-size: 24px; font-weight: 800; }
.btn-dark { background: #141414; color: #fff; border-radius: 8px; }
.btn-dark:hover { background: #000; }
.hs-img a { display: block; }
.hs-img img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}
.hs-dots {
  position: absolute; left: 0; right: 0; bottom: 18px;
  display: flex; justify-content: center; gap: 9px;
}
.hs-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .45); padding: 0; transition: background .15s, transform .15s;
}
.hs-dots button.on { background: #fff; transform: scale(1.25); }

/* ---------------- gombok ---------------- */
.btn {
  display: inline-block; border: 0; cursor: pointer; font-weight: 700; font-size: 14.5px;
  padding: 10px 18px; border-radius: var(--btn-radius, 999px); transition: transform .12s, opacity .12s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); opacity: .93; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-block { display: block; width: 100%; }

/* ---------------- hero ---------------- */
.hero {
  position: relative; color: #fff; padding: 96px 0;
  background: linear-gradient(120deg, var(--primary), #0a1440);
  background-size: cover; background-position: center;
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5, 8, 30, .88) 15%, rgba(5, 8, 30, .45) 65%, rgba(5, 8, 30, .25));
}
.hero-in { position: relative; }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); margin: 0 0 16px; line-height: 1.1; max-width: 720px; letter-spacing: -.02em; }
.hero p { font-size: 19px; opacity: .92; max-width: 600px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- szekciók ---------------- */
.sec { padding: 42px 0 26px; }
.sec-alt { background: var(--bg-alt); }
.sec-title { font-size: 25px; margin: 0 0 6px; letter-spacing: -.02em; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.more { color: var(--accent); font-weight: 700; font-size: 14px; }
.more:hover { text-decoration: underline; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 800; color: var(--accent); }
.page-head { background: var(--bg-alt); padding: 36px 0 28px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0 0 4px; font-size: 32px; letter-spacing: -.02em; }

/* ---------------- karusszel ---------------- */
.carousel-wrap { position: relative; }
.row-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 285px; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll .card { scroll-snap-align: start; }
.car-btn {
  position: absolute; top: 90px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow); cursor: pointer;
  font-size: 24px; line-height: 1; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.car-btn:hover { background: var(--bg-alt); }
.car-btn.prev { left: 4px; }
.car-btn.next { right: 4px; }

/* ---------------- kártyák (Domestika-stílus: keret nélkül) ---------------- */
.grid { display: grid; gap: 28px 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(275px, 1fr)); }
.card { display: flex; flex-direction: column; }
.card-img {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  border-radius: var(--radius); background: var(--bg-alt); margin-bottom: 12px;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-img img { transform: scale(1.045); }
.card-ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c, var(--primary)), color-mix(in srgb, var(--c, var(--primary)) 55%, #000));
  transition: transform .35s ease;
}
.card:hover .card-ph { transform: scale(1.045); }
.card-ph span { font-size: 52px; font-weight: 800; color: rgba(255, 255, 255, .85); }
.card-ph.big span { font-size: 84px; }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 11.5px; font-weight: 700;
  /* a gombokkal azonos lekerekítés (a beállított gombstílust követi) */
  padding: 4px 10px; border-radius: var(--btn-radius, 999px);
}
.badge-acc { background: var(--badge-acc, var(--accent)); color: #fff; }
.badge-dark { background: var(--badge-dark, rgba(20, 20, 20, .82)); color: #fff; }
.badge-hot { background: var(--badge-hot, #f59e0b); color: #fff; }
.card-body { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card-body h3 { margin: 0; font-size: 16.5px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.card:hover h3 { text-decoration: underline; text-decoration-thickness: 1.5px; }
/* két sornyi hely az oktatónévnek: a hosszú név sortöréssel fér ki (nem …),
   a rövid név alatt üresen marad a sor — így minden kártya egységes marad */
.card-by { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.4;
  min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.card-by strong { color: #444; font-weight: 600; }
.card-cat { margin: 0; font-size: 12.5px; color: var(--muted); }
/* kompakt meta-blokk: színes típus-címke + ikonos adatsor, a kártya aljára igazítva */
.card-rows { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.card-type-label {
  margin: 0; font-size: 10.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .09em; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-meta-line {
  margin: 0; display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden;
}
.card-meta-line .mi { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.card-meta-line .mi svg { opacity: .65; flex: 0 0 auto; }
/* min. magasság: ha nincs kiírt ár (pl. egyedi ár-szöveg), a sor helye akkor is
   megmarad, így az oktató/címke/dátum minden kártyán egy vonalban van */
.card-foot { padding-top: 2px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; min-height: 24px; }
.price { font-weight: 800; font-size: 15.5px; color: var(--accent); }
/* pont-jelzés: a bal felső "Akkreditált" címkével azonos szín, a gombokkal azonos lekerekítés */
.pts {
  font-size: 11.5px; font-weight: 700; color: #fff;
  background: var(--badge-acc, var(--accent)); padding: 2px 8px;
  border-radius: var(--btn-radius, 999px);
}
.seats { font-size: 12px; color: var(--muted); }

/* kiemelt képzés */
.feat {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: center;
  background: var(--bg-alt); border-radius: 20px; overflow: hidden;
}
.feat-img { aspect-ratio: 16/10; align-self: stretch; }
.feat-img img, .feat-img .card-ph { width: 100%; height: 100%; object-fit: cover; }
.feat-body { padding: 30px 34px 30px 0; display: flex; flex-direction: column; gap: 13px; align-items: flex-start; }
.feat-body h2 { margin: 0; font-size: 28px; letter-spacing: -.02em; }
.feat-body .card-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 14px; color: #444; }

/* kategóriák */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 14.5px;
  transition: border-color .12s, background .12s;
}
.chip:hover { border-color: var(--ink); }
.chip small { color: var(--muted); font-weight: 600; }
.cat-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
/* letisztult fehér kártya: kép felül, felirat alatta – semmi sem lóg ki */
.cat-tile {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line, #e8e8ec); border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat-tile:hover {
  transform: translateY(-3px); border-color: transparent;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .12);
}
.cat-tile img {
  width: 100%; height: 120px; object-fit: contain; padding: 14px 14px 6px;
  box-sizing: border-box; transition: transform .35s ease;
}
.cat-tile:hover img { transform: scale(1.05); }
.cat-shade { display: none; }
.cat-label {
  display: flex; flex-direction: column; gap: 3px; padding: 8px 14px 14px;
  color: var(--ink, #1a1a1a); font-weight: 800; font-size: 14.5px; line-height: 1.25;
  text-align: center; align-items: center; margin-top: auto;
}
.cat-label::before {
  content: ""; width: 24px; height: 3px; border-radius: 2px;
  background: var(--c, var(--primary)); margin-bottom: 6px;
}
.cat-label small { font-weight: 600; font-size: 12px; color: var(--muted, #6b7280); }
/* a név mindig egy sorban – a site.js kicsinyíti a betűt, ha nem férne ki */
.cat-name {
  display: block; width: 100%; overflow: hidden; text-align: center;
  white-space: nowrap; font-weight: inherit;
}
@media (min-width: 720px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
/* asztali nézet: minden kategória egyetlen sorban, egyenlő szélességgel */
@media (min-width: 1000px) {
  .cat-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-columns: none; gap: 16px; }
  .cat-tile img { height: 130px; }
}

/* oktatók */
/* mindig páros oszlopszám (2 / 4), így a sorok sosem csonkák;
   szűkített maximum-szélesség, hogy a fotók ne legyenek túl nagyok */
/* teljes tartalomszélesség (mint a fenti kártyáké), sorona 4 kártya;
   a csonka utolsó sor középre igazítva jelenik meg */
.people { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
/* minden kártya pixelre azonos: egységes álló (2:3) fotó felül, szöveg alatta */
.person { display: flex; flex-direction: column; width: calc((100% - 40px) / 3); }
/* kompakt kártyák: soronként 8, kisebb fotókkal */
@media (min-width: 900px) { .person { width: calc((100% - 140px) / 8); } }
/* "Összes oktatónk" sorzáró kártya páratlan létszámnál */
.person-cta-img {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--primary); font-weight: 700; font-size: 14.5px;
  border: 1.5px dashed color-mix(in srgb, var(--primary) 35%, transparent);
  background: color-mix(in srgb, var(--primary) 5%, #fff);
  box-shadow: none;
}
.person-cta:hover .person-cta-img {
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  border-style: solid; transform: translateY(-4px);
}
/* prémium csapatkártya: színes fotó felül, szöveg ALATTA — mindig olvasható,
   a név minden kártyán pixelre azonos helyen kezdődik */
.person-img {
  position: relative; width: 100%; aspect-ratio: 2/3; height: auto;
  border-radius: var(--radius); overflow: hidden;
  /* semleges, a fotók stúdióhátteréhez illő szürke — csak akkor látszik,
     ha a kép még tölt vagy nem érhető el */
  background: linear-gradient(150deg, #f0f0f1 0%, #dfdfe1 100%);
  box-shadow: 0 2px 10px rgba(15, 23, 42, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.person:hover .person-img {
  transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 23, 42, .16);
}
.person-img.lg { width: 170px; height: 170px; aspect-ratio: auto; flex: none; }
/* monogram kikapcsolva — a csempén csak a fotó (vagy a semleges háttér) látszik */
.person-init { display: none; }
/* a kép a teljes csempét kitölti, felülre (fejre) igazított vágással —
   így minden kártya mérete és vágása azonos, mint a referencia-oldalon */
.person-img img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform .4s ease;
}
.person:hover .person-img img { transform: scale(1.03); }
.person-txt {
  display: flex; flex-direction: column; gap: 3px;
  padding: 10px 2px 0; text-align: left;
}
.person-txt strong { font-size: 15px; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.person-txt > span { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.person:hover .person-txt strong { text-decoration: underline; }
.avatar-ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff; font-size: 36px; font-weight: 800;
}
.person strong { font-size: 15px; }
.person:hover strong { text-decoration: underline; }
.person span { font-size: 13px; color: var(--muted); }
.profile { display: flex; gap: 34px; align-items: flex-start; }
.profile h1 small { font-size: 16px; color: var(--muted); font-weight: 600; }

/* helyszínek */
.venue-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
.venue {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 5px; font-size: 14px;
  transition: box-shadow .15s, transform .15s;
}
.venue:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.venue strong { font-size: 16px; }
.venue.big { padding: 22px 24px; display: flex; flex-direction: column; }
/* egységes sorkezdetek: a név 1, a cím 3 sornyi helyet kap minden kártyán,
   a "Képzések..." link a kártya aljára ül — így minden oszlopban egy vonalban vannak */
.venue.big .v-name { min-height: 24px; }
.venue.big .v-addr { min-height: 66px; }
.venue.big .v-more { margin-top: auto; padding-top: 10px; }
.venue-img {
  aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; margin: -6px -8px 8px;
  background: var(--bg-alt);
}
.venue.big .venue-img { margin: -10px -12px 10px; }
.venue-img img { width: 100%; height: 100%; object-fit: cover; }

/* GYIK */
.faq { border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; background: #fff; }
.faq summary {
  padding: 15px 34px 15px 0; font-weight: 700; cursor: pointer;
  position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
/* a lenyitó nyíl Font Awesome: zárva jobbra (›), nyitva lefelé (⌄) mutat */
.faq summary::after {
  font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f054";
  position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  font-size: 13px; color: var(--primary);
}
.faq[open] summary::after { content: "\f078"; }
.faq p a { color: var(--primary); text-decoration: underline; word-break: break-all; }
.faq p { margin: 0 0 15px; color: var(--muted); }

/* kapcsolat — professzionális, világos blokk fehér infokártyával */
.contact-blk {
  display: grid; grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  gap: 34px 70px; align-items: center;
  background: var(--bg-alt); border-radius: 20px; padding: 46px 52px;
}
.cb-head h2 { margin: 0 0 10px; font-size: clamp(25px, 2.4vw, 32px); letter-spacing: -.02em; line-height: 1.15; }
.cb-head .muted { margin: 0 0 24px; font-size: 15.5px; line-height: 1.65; max-width: 430px; }
.cb-info {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 8px 24px; box-shadow: 0 2px 12px rgba(15, 23, 42, .05);
}
.cb-row {
  display: flex; align-items: center; gap: 15px;
  padding: 16px 0; border-bottom: 1px solid var(--bg-alt);
}
.cb-row:last-child { border-bottom: 0; }
.cb-ic { flex: 0 0 auto; color: var(--primary); opacity: .75; }
.cb-row small {
  display: block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); margin-bottom: 2px;
}
.cb-row span { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
a.cb-row:hover span { color: var(--primary); }
@media (max-width: 860px) {
  .contact-blk { grid-template-columns: 1fr; gap: 22px; padding: 28px 20px; }
  .cb-cta { display: block; text-align: center; }
  .cb-info { padding: 4px 18px; }
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 34px; }

/* ---------------- lista + szűrők (vízszintes szűrősáv a lista felett) ---------------- */
.listing { display: block; }
.filters {
  border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 12px 14px; align-items: end; margin-bottom: 24px;
  background: #fff; box-shadow: 0 2px 12px rgba(15, 23, 42, .05);
  /* görgetésnél a fejléc alatt ragad */
  position: sticky; top: 72px; z-index: 40;
  transition: box-shadow .2s ease, padding .2s ease;
}
/* leragadt állapot: kompaktabb, erősebb árnyékkal válik el a tartalomtól */
.filters.stuck {
  padding: 12px 20px; border-radius: 0 0 14px 14px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
}
.filters.stuck h3 { display: none; }
.filters h3 {
  grid-column: 1 / -1; margin: 0 0 2px; font-size: 12px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.filters h3::before {
  content: "\f0b0"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  font-size: 12px; color: var(--primary);
}
.filters label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 700; color: #555; }
.filters select, .filters input:not([type=checkbox]) {
  border: 1.5px solid var(--line); border-radius: 9px; padding: 0 11px; font-size: 14px; font-weight: 400;
  background: #fff; width: 100%; height: 42px; transition: border-color .15s ease, box-shadow .15s ease;
}
/* egyedi lenyíló-nyíl: kényelmes távolságra a doboz szélétől */
.filters select {
  -webkit-appearance: none; appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23555' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.filters select:focus, .filters input:not([type=checkbox]):focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);
}
.panel .check { flex-direction: row; align-items: center; gap: 8px; font-weight: 600; }
/* jelölők: mezőmagasságú, keretezett "chip" kivitel, igazított pipával */
.filters .check {
  flex-direction: row; align-items: center; gap: 9px; font-weight: 600; font-size: 13px;
  color: #444; border: 1.5px solid var(--line); border-radius: 9px;
  height: 42px; padding: 0 12px; cursor: pointer; line-height: 1.15; font-size: 12.5px;
  transition: border-color .15s ease, background .15s ease;
}
.filters .check:hover { border-color: color-mix(in srgb, var(--primary) 40%, var(--line)); }
.filters .check:has(input:checked) {
  border-color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, #fff);
  color: var(--primary);
}
.filters .check input {
  width: 16px; height: 16px; margin: 0; accent-color: var(--primary); flex: none;
}
/* a két gomb azonos magasságú a mezőkkel */
.filters .btn { white-space: nowrap; height: 42px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; }
.sortbar { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.sortbar label { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.sortbar select { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.sortbar .csel { min-width: 215px; }
.empty { padding: 44px; text-align: center; color: var(--muted); background: var(--bg-alt); border-radius: var(--radius); }
.empty a { color: var(--accent); font-weight: 700; }

/* ---------------- űrlapok / panelek ---------------- */
.panel {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 12px; background: #fff;
}
.panel h3 { margin: 0; }
.panel label { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; font-weight: 700; color: #444; }
.panel input, .panel textarea, .panel select {
  border: 1.5px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 14.5px; font-weight: 400;
  font-family: inherit; width: 100%;
}
.panel input:focus, .panel textarea:focus { outline: none; border-color: var(--ink); }
.form-msg { font-weight: 700; }
.form-msg.ok { color: #059669; }
.form-msg.err { color: #b91c1c; }

/* ---------------- fiók ---------------- */
.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 18px; }
.tabs button {
  border: 0; background: none; padding: 10px 16px; font-weight: 700; font-size: 15px; cursor: pointer;
  color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -2px;
}
.tabs button.active { color: var(--accent); border-color: var(--accent); }
.reg-item {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.reg-item .top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.reg-item h3 { margin: 0; font-size: 16.5px; }
.reg-item .card-meta { display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; color: #444; }
.pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #f1f5f9; color: #475569; }
.pill.green { background: #ecfdf5; color: #065f46; }
.pill.red { background: #fef2f2; color: #b91c1c; }
.pill.amber { background: #fffbeb; color: #b45309; }
.points-box {
  background: color-mix(in srgb, var(--primary) 7%, #fff); border-radius: var(--radius);
  padding: 14px 18px; margin-bottom: 16px; font-weight: 700; color: var(--primary);
}

/* ---------------- lábléc (sötét) ---------------- */
.ftr { background: #141414; color: #d8d8d8; padding: 52px 0 40px; margin-top: 50px; }
.ftr-grid { display: grid; gap: 34px; grid-template-columns: 1.6fr 0.9fr 1.2fr 1.6fr; }
/* hírlevél-feliratkozás a láblécben */
.ftr-nl .nlf-row { flex-direction: column; gap: 8px; }
.ftr-nl .nlf-inp {
  flex: 0 0 auto; width: 100%;
  background: #222; border-color: #3a3a3a; color: #fff; font-size: 14px; padding: 10px 13px;
}
.ftr-nl .nlf-inp::placeholder { color: #8a8a8a; }
.ftr-nl .nlf-inp:focus { border-color: #666; }
.ftr-nl .nlf-btn { background: var(--accent, #E11D48); color: #fff; width: 100%; }
.ftr-nl .nlf-consent { display: flex; padding: 0; font-size: 12px; color: #8a8a8a; margin-top: 10px; }
.ftr-nl .nlf-consent a { display: inline; padding: 0; font-size: inherit; color: #b8b8b8; }
.ftr-nl .nlf-consent input[type="checkbox"] {
  width: 17px; height: 17px; border-radius: 5px;
  border-color: #4a4a4a; background: #222;
}
.ftr-nl .nlf-consent input[type="checkbox"]:checked {
  background: var(--accent, #E11D48); border-color: var(--accent, #E11D48);
}
.ftr-nl .nlf-msg { font-size: 13px; }
.ftr-brand { font-weight: 800; font-size: 19px; margin-bottom: 8px; color: #fff; }
.ftr h4 { margin: 0 0 12px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: #8a8a8a; }
.ftr a { display: block; padding: 3px 0; font-size: 14.5px; color: #d8d8d8; }
.ftr a:hover { color: #fff; }
.ftr p { font-size: 14.5px; margin: 0 0 8px; }
.ftr .muted { color: #8a8a8a; }

/* ---------------- reszponzív ---------------- */
@media (max-width: 960px) {
  .filters { grid-template-columns: 1fr 1fr; top: 64px; }
  /* mobilon a sáv lenyitható: alapból csak a "Szűrők" fejléc látszik */
  .filters h3 { cursor: pointer; user-select: none; margin: 0; }
  .filters h3::after {
    content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    font-size: 11px; margin-left: auto; color: var(--muted); transition: transform .2s ease;
  }
  .filters.fopen h3::after { transform: rotate(180deg); }
  .filters:not(.fopen) > *:not(h3) { display: none; }
  .filters.stuck h3 { display: flex; }
  .feat { grid-template-columns: 1fr; }
  .feat-body { padding: 0 26px 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .profile { flex-direction: column; }
  .row-scroll { grid-auto-columns: 250px; }
}
@media (max-width: 960px) {
  .hnav { display: none; }
}
@media (max-width: 760px) {
  .hdr-in { gap: 12px; height: 60px; }
  .burger { display: block; }
  .hdr-search { display: none; }
  .hide-m { display: none; }
  .hdr-login { display: none; }
  .hero { padding: 56px 0; }
  .car-btn { display: none; }
  .hs-grid { grid-template-columns: 1fr; gap: 22px; padding-top: 34px; padding-bottom: 56px; }
  .hs-img { order: -1; }
  .hs-text h2 { font-size: 26px; }
  /* mobil: egyetlen kompakt sor — badge, csonkolt szöveg, tömör óra, bezárás */
  .promo { flex-wrap: nowrap; gap: 8px; font-size: 13px; padding: 8px 12px; }
  .promo-badge { font-size: 10px; padding: 4px 7px; transform: none; }
  .promo-text {
    flex: 1 1 auto; min-width: 0; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
  }
  .promo-count { flex: 0 0 auto; gap: 2px; margin-left: 0; }
  .promo-count b { font-size: 15px; }
  .promo-count small { display: none; }
  .promo-count i { font-size: 14px; align-self: center; }
  .promo-x { font-size: 20px; }
}
@media (max-width: 520px) {
  .hdr-actions .btn { padding: 8px 13px; font-size: 13px; }
  .ftr-grid { grid-template-columns: 1fr; }
  /* mobil sorrend: logó + „minden jog fenntartva” blokk után rögtön a hírlevél,
     és csak utána a menü-oszlopok */
  .ftr-grid > div:first-child { order: 0; }
  .ftr-grid > .ftr-nl { order: 1; }
  .ftr-grid > div:not(:first-child):not(.ftr-nl) { order: 2; }
  .row-scroll { grid-auto-columns: 78vw; }
}

/* ---------------- hírlevél ---------------- */
/* lábléc-sáv: az oldal fejlécének színvilágát követő, teret kitöltő sötét sáv */
.nl-strip {
  background: var(--bg-alt, #f7f7f7); color: var(--ink, #1a1a1a);
  padding: 40px 0; border-top: 1px solid var(--line, #e8e8ec);
}
/* keskenyebb, középre zárt tartalom */
.nl-strip .wrap { max-width: 1000px; }
.nl-strip h3 { margin: 0 0 6px; font-size: clamp(22px, 2vw, 27px); letter-spacing: -.01em; }
.nl-strip .muted { margin: 0 0 16px; font-size: 14.5px; }
@media (min-width: 980px) {
  .nl-strip .wrap { display: grid; grid-template-columns: minmax(240px, .9fr) 1.5fr; gap: 44px; align-items: start; }
  .nl-strip .muted { margin-bottom: 0; }
  .nl-strip .nlf { max-width: none; }
}
.nl-strip .nlf-inp { background: #fff; border-color: var(--line, #e5e7eb); }
.nl-strip .nlf-inp:focus { border-color: var(--primary, #12267C); }
.nl-strip .nlf-btn { background: var(--primary, #12267C); color: #fff; }
.nl-strip .nlf-chip span { background: #fff; border-color: var(--line, #e5e7eb); color: var(--ink, #1a1a1a); }
.nl-strip .nlf-chip span:hover { border-color: var(--primary, #12267C); }
.nl-strip .nlf-chip input:checked + span {
  background: var(--primary, #12267C); border-color: var(--primary, #12267C); color: #fff;
}
.nl-strip .nlf-consent { color: var(--muted, #666); }
.nl-strip .nlf-consent input[type="checkbox"] { background: #fff; }
.nl-strip .nlf-consent input[type="checkbox"]:checked {
  background: var(--primary, #12267C); border-color: var(--primary, #12267C);
}
/* az esemény-oldali kártyaváltozat marad világos */
.nl-strip.nl-strip-card {
  background: #fff; color: var(--ink, #1a1a1a); border: 1px solid #eef2f7;
  border-radius: 16px; padding: 30px 28px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, .07), 0 1px 3px rgba(15, 23, 42, .05);
}
@media (max-width: 640px) { .nl-strip.nl-strip-card { padding: 22px 18px; } }
.nl-strip.nl-strip-card .wrap { display: block; }
.nl-strip.nl-strip-card .muted { color: var(--muted, #737373); margin-bottom: 16px; }
.nl-strip.nl-strip-card .nlf-inp { border-color: var(--line, #e5e7eb); }
.nl-strip.nl-strip-card .nlf-btn { background: #141414; color: #fff; }
.nl-strip.nl-strip-card .nlf-chip span { border-color: var(--line, #e5e7eb); color: var(--ink, #1a1a1a); }
.nl-strip.nl-strip-card .nlf-chip input:checked + span {
  background: var(--primary, #12267C); border-color: var(--primary, #12267C); color: #fff;
}
.nl-strip.nl-strip-card .nlf-consent { color: var(--muted, #666); }
.nl-strip-card { background: #fff; border: 1px solid #eef2f7; border-radius: 16px; padding: 26px 28px; margin: 26px 0 40px;
  box-shadow: 0 6px 24px rgba(15,23,42,.07); border-top: 1px solid #eef2f7; }
.nlf { max-width: 720px; }
.nlf-wide { max-width: 100%; }
.nlf-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.nlf-row { display: flex; gap: 10px; flex-wrap: wrap; }
.nlf-inp { flex: 1 1 180px; padding: 12px 14px; border: 1.5px solid var(--line, #e5e7eb); border-radius: var(--btn-radius, 10px);
  font: inherit; background: #fff; min-width: 0; }
.nlf-inp:focus { outline: none; border-color: var(--primary, #12267C); }
.nlf-btn { flex: 0 0 auto; }
.nlf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nlf-chip { cursor: pointer; }
.nlf-chip input { display: none; }
.nlf-chip span { display: inline-block; padding: 6px 13px; border: 1.5px solid var(--line, #e5e7eb);
  border-radius: 999px; font-size: 13px; font-weight: 600; transition: all .12s; }
.nlf-chip input:checked + span { background: var(--primary, #12267C); border-color: var(--primary, #12267C); color: #fff; }
.nlf-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; font-size: 13px;
  color: var(--muted, #666); cursor: pointer; line-height: 1.45; }
.nlf-consent a { text-decoration: underline; }
/* designos checkbox: egyedi négyzet pipával, az oldal kiemelőszínével */
.nlf-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: 0 0 auto;
  width: 19px; height: 19px; margin: 1px 0 0; border-radius: 6px; cursor: pointer;
  border: 2px solid color-mix(in srgb, currentColor 55%, transparent);
  background: rgba(255, 255, 255, .06);
  display: inline-grid; place-content: center;
  transition: background .15s, border-color .15s, transform .1s;
}
.nlf-consent input[type="checkbox"]::before {
  content: ""; width: 11px; height: 11px; transform: scale(0); transition: transform .12s ease-in-out;
  background: #fff;
  clip-path: polygon(14% 44%, 0 62%, 38% 100%, 100% 18%, 84% 4%, 38% 70%);
}
.nlf-consent input[type="checkbox"]:checked {
  background: var(--accent, #E11D48); border-color: var(--accent, #E11D48);
}
.nlf-consent input[type="checkbox"]:checked::before { transform: scale(1); }
.nlf-consent input[type="checkbox"]:active { transform: scale(.92); }
.nl-strip.nl-strip-card .nlf-consent input[type="checkbox"]:checked {
  background: var(--primary, #12267C); border-color: var(--primary, #12267C);
}
.nlf-msg { margin: 10px 0 0; font-weight: 700; }
.nlf-msg.ok { color: #059669; } .nlf-msg.err { color: #dc2626; }
.nl-hero-sub { max-width: 760px; margin: 46px auto 70px; }
.nl-hero-sub h1 { margin: 0 0 8px; }
.nl-popup { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; }
.nl-popup-backdrop { position: absolute; inset: 0; background: rgba(10, 14, 25, .55); }
.nl-popup-box { position: relative; background: #fff; border-radius: 16px; padding: 28px 26px;
  max-width: 560px; width: calc(100% - 32px); max-height: 88vh; overflow: auto; box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.nl-popup-box h3 { margin: 0 0 4px; font-size: 21px; }
.nl-popup-x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 26px;
  cursor: pointer; color: #888; line-height: 1; }
@media (max-width: 640px) {
  .nlf-row { flex-direction: column; }
  /* oszlopiránynál a flex-basis magasságként hatna — fix automata magasság */
  .nlf-inp { flex: 0 0 auto; width: 100%; }
  .nlf-btn { width: 100%; }
  .nl-strip { padding: 32px 0; }
}
.feat-body .card-meta .mi { display: inline-flex; align-items: center; gap: 6px; }
.feat-body .card-meta .mi svg { color: var(--muted); flex: 0 0 auto; }
.more-wrap { text-align: center; margin: 26px 0 0; }
/* a lenyitásig rejtett kártyák tényleg rejtve legyenek (a .card display-e ne írja felül) */
#upcoming-grid .card-more[hidden] { display: none; }
.ftr-brand img { height: 40px; width: auto; }

/* ---------------- prémium ügyfélfiók ---------------- */
#account-root.acc-wide { max-width: 1080px; }
.acc-auth {
  display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .12); border: 1px solid var(--line);
}
.acc-auth-side {
  background: linear-gradient(160deg, var(--primary), color-mix(in srgb, var(--primary) 55%, #000));
  color: #fff; padding: 42px 36px; display: flex; flex-direction: column; justify-content: center;
}
.acc-auth-side h2 { margin: 0 0 8px; font-size: 24px; letter-spacing: -.02em; }
.acc-auth-side p { margin: 0 0 22px; opacity: .85; font-size: 14.5px; line-height: 1.5; }
.acc-benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.acc-benefits li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.acc-benefits i {
  width: 34px; height: 34px; flex: none; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .14); border-radius: 10px; font-size: 14px;
}
.acc-auth-card { background: #fff; padding: 34px 36px; }
.acc-tabs {
  display: flex; background: var(--bg-alt); border-radius: 12px; padding: 4px; margin-bottom: 22px;
}
.acc-tabs button {
  flex: 1; border: 0; background: none; padding: 10px; border-radius: 9px; cursor: pointer;
  font-weight: 700; font-size: 14px; color: var(--muted);
}
.acc-tabs button.active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(15, 23, 42, .1); }
.acc-f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.acc-f > span:first-child { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.acc-in { position: relative; display: flex; align-items: center; }
.acc-in > i {
  position: absolute; left: 13px; font-size: 13px; color: #9aa3b2; pointer-events: none;
}
.acc-in input {
  width: 100%; padding: 11px 40px 11px 38px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 14.5px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.acc-in input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
}
.acc-in input:disabled { background: var(--bg-alt); color: var(--muted); }
.acc-eye {
  position: absolute; right: 6px; border: 0; background: none; cursor: pointer;
  padding: 8px; color: #9aa3b2; font-size: 14px;
}
.acc-submit { width: 100%; justify-content: center; margin-top: 4px; }
.acc-submit:disabled { opacity: .6; cursor: default; }
.acc-hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 12px 0 0; }
@media (max-width: 860px) {
  .acc-auth { grid-template-columns: 1fr; }
  .acc-auth-side { padding: 28px 24px; }
  .acc-auth-card { padding: 26px 20px; }
}

.acc-head {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 14px; margin-bottom: 20px;
}
.acc-id { display: flex; align-items: center; gap: 14px; }
.acc-id h1 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.acc-email { font-size: 13.5px; color: var(--muted); }
.acc-avatar {
  width: 52px; height: 52px; flex: none; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: 18px; color: #fff;
  background: linear-gradient(150deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #000));
  box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 35%, transparent);
}
.acc-head-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.acc-head-acts .btn i { margin-right: 4px; }
.acc-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px;
}
.acc-stat {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 2px; box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
}
.acc-stat i { font-size: 15px; color: var(--primary); margin-bottom: 6px; }
.acc-stat strong { font-size: 24px; letter-spacing: -.02em; line-height: 1.1; }
.acc-stat span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
@media (max-width: 760px) { .acc-stats { grid-template-columns: repeat(2, 1fr); } }
.acc-sec {
  display: flex; align-items: center; gap: 10px; font-size: 17px; letter-spacing: -.01em;
  margin: 26px 0 12px;
}
.acc-sec i { color: var(--primary); font-size: 15px; }
.acc-reg {
  display: flex; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
  transition: box-shadow .15s ease;
}
.acc-reg:hover { box-shadow: 0 8px 24px rgba(15, 23, 42, .1); }
.acc-reg.past { opacity: .92; }
.acc-reg-img { width: 148px; flex: none; background: var(--bg-alt); }
.acc-reg-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acc-reg-ph {
  width: 100%; height: 100%; min-height: 110px; display: flex; align-items: center; justify-content: center;
  color: color-mix(in srgb, var(--primary) 35%, #cbd5e1); font-size: 30px;
}
.acc-reg-main { flex: 1; min-width: 0; padding: 15px 18px; display: flex; flex-direction: column; gap: 9px; }
.acc-reg-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.acc-reg-title { font-weight: 800; font-size: 15.5px; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.acc-reg-title:hover { text-decoration: underline; }
.acc-reg-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.acc-reg-meta i { margin-right: 5px; color: color-mix(in srgb, var(--primary) 65%, #94a3b8); }
.acc-reg-inv { display: flex; gap: 6px; flex-wrap: wrap; }
.acc-reg-inv .pill i { margin-right: 3px; }
.acc-reg-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.acc-act {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 9px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 700;
  font-size: 12.5px; text-decoration: none; cursor: pointer; font-family: inherit;
  transition: border-color .15s ease, background .15s ease;
}
.acc-act:hover { border-color: var(--primary); color: var(--primary); }
.acc-act i { font-size: 12px; }
.acc-act-danger:hover { border-color: #dc2626; color: #dc2626; }
.acc-empty {
  text-align: center; padding: 54px 20px; background: #fff; border: 1.5px dashed var(--line);
  border-radius: 16px;
}
.acc-empty i { font-size: 34px; color: color-mix(in srgb, var(--primary) 40%, #cbd5e1); }
.acc-empty h3 { margin: 14px 0 4px; }
.acc-empty p { margin: 0 0 18px; color: var(--muted); }
.acc-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .05); max-width: 640px;
}
.acc-card h3 {
  display: flex; align-items: center; gap: 9px; font-size: 15px; margin: 0 0 16px;
}
.acc-card h3:not(:first-child) { margin-top: 26px; }
.acc-card h3 i { color: var(--primary); font-size: 13px; }
.acc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 640px) { .acc-grid2 { grid-template-columns: 1fr; } }
.acc-form-acts { margin-top: 8px; }
@media (max-width: 640px) {
  .acc-reg { flex-direction: column; }
  .acc-reg-img { width: 100%; height: 120px; }
}

/* csak képernyőolvasónak/keresőnek szóló elem — vizuálisan láthatatlan */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------- prémium oktatói adatlap ---------------- */
.sp-hero {
  background: linear-gradient(160deg,
    color-mix(in srgb, var(--primary) 6%, #fff) 0%,
    color-mix(in srgb, var(--primary) 13%, var(--bg-alt)) 100%);
  border-bottom: 1px solid var(--line);
  padding: 46px 0;
}
.sp-hero-in {
  /* a tartalom a teljes sávot kitölti: fotó + rugalmas szövegoszlop, középre zárva */
  display: grid; grid-template-columns: 280px minmax(0, 1fr);
  gap: 52px; align-items: center;
}
.sp-photo {
  position: relative; width: 100%; max-width: 280px; aspect-ratio: 2/3; border-radius: 18px;
  overflow: hidden; background: linear-gradient(150deg, #f0f0f1, #dfdfe1);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .18);
}
.sp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.sp-photo-init {
  display: none; position: absolute; inset: 0; align-items: center; justify-content: center;
  font-size: 64px; font-weight: 800; color: color-mix(in srgb, var(--primary) 40%, #b9c2d4);
}
.sp-photo.noimg .sp-photo-init { display: flex; }
.sp-info { min-width: 0; }
.sp-kicker {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 8px;
}
.sp-info h1 { margin: 0 0 4px; font-size: clamp(26px, 4vw, 36px); letter-spacing: -.02em; }
.sp-title { margin: 0 0 12px; font-size: 15.5px; color: var(--muted); font-weight: 600; }
.sp-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.sp-chip {
  /* a gombokkal azonos lekerekítés */
  padding: 6px 13px; border-radius: var(--btn-radius, 999px); font-size: 12.5px; font-weight: 700;
  background: #fff; border: 1px solid color-mix(in srgb, var(--primary) 25%, var(--line));
  color: var(--primary);
}
.sp-facts { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.sp-facts i { margin-right: 6px; color: var(--primary); }
.sp-links { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-link {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 10px;
  background: #fff; border: 1.5px solid var(--line); color: var(--ink);
  font-size: 12.5px; font-weight: 700; text-decoration: none;
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.sp-link:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.sp-link i { font-size: 13px; }
/* bemutatkozás a hero sávon belül, a név és elérhetőségek alatt */

.sp-bio-inline p { margin: 0 0 12px; line-height: 1.7; font-size: 15px; color: var(--ink); }
.sp-bio-inline p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .sp-hero { padding: 30px 0; }
  .sp-hero-in { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
  .sp-photo { width: 180px; }
  .sp-bio { padding: 20px 18px; }
}

/* prémium bemutatkozó-kártya: üveghatású panel, kétoszlopos tényrács */
.sp-bio-card {
  margin-top: 24px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 18px; padding: 20px 24px;
  box-shadow: 0 20px 45px color-mix(in srgb, var(--primary) 12%, transparent),
              0 2px 6px rgba(15, 23, 42, .05);
}
.sp-lead { margin: 0 0 18px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.sp-lead:last-child { margin-bottom: 0; }
/* egyszerű sorok egymás alatt: ikon + félkövér címke + szöveg egy sorban */
.sp-rows { display: flex; flex-direction: column; gap: 9px; }
.sp-row { font-size: 14.5px; line-height: 1.65; color: #2a2f3a; }
.sp-row-k { font-weight: 700; color: var(--primary); }
.sp-row-k::after { content: ": "; }
.sp-bio-title {
  margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.sp-row-v { font-size: 14.5px; }
@media (max-width: 760px) { .sp-bio-card { padding: 16px 14px; } }

/* egyedi lenyíló a szűrősávban — mindig lefelé nyílik */
.csel { position: relative; }
.csel-native { display: none !important; }
.csel-btn {
  width: 100%; height: 42px; padding: 0 36px 0 11px; text-align: left;
  border: 1.5px solid var(--line); border-radius: 9px; background: #fff;
  font: inherit; font-size: 14px; cursor: pointer; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23555' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.csel.open .csel-btn, .csel-btn:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);
}
.csel-list {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 11px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .16); z-index: 70;
  max-height: 290px; overflow: auto; padding: 6px;
}
.csel.open .csel-list { display: block; }
.csel-it {
  padding: 9px 12px; border-radius: 8px; font-size: 14px; cursor: pointer;
  white-space: nowrap;
}
.csel-it:hover { background: var(--bg-alt); }
.csel-it.on { background: color-mix(in srgb, var(--primary) 9%, #fff); color: var(--primary); font-weight: 700; }

/* Google Maps beágyazás a kapcsolat oldalon */
.contact-map {
  margin-top: 18px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 2px 12px rgba(15, 23, 42, .07);
}
.contact-map iframe { display: block; width: 100%; height: 300px; border: 0; }

/* modern kapcsolat-űrlap kártya */
.cform {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 30px; box-shadow: 0 10px 34px rgba(15, 23, 42, .08);
  display: flex; flex-direction: column;
}
.cform h3 { margin: 0 0 4px; font-size: 19px; letter-spacing: -.01em; }
.cform h3 i { color: var(--primary); margin-right: 8px; font-size: 16px; }
.cform-sub { margin: 0 0 18px; font-size: 13.5px; color: var(--muted); }
.cform .acc-in textarea {
  width: 100%; padding: 11px 12px 11px 38px; border: 1.5px solid var(--line);
  border-radius: 10px; font: inherit; font-size: 14.5px; resize: vertical; min-height: 120px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cform .acc-in textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
}
.cform-ta { align-items: flex-start; }
.cform-ta > i { top: 15px; transform: none; }
.cform .acc-in > i { top: 50%; transform: translateY(-50%); }
.cform-ta > i { top: 15px !important; transform: none !important; }
.cform-btn { margin-top: 4px; }
.cform-btn i { margin-right: 7px; }

/* elérhetőségek: letisztult sorok doboz nélkül, kis ikonnal */
.cinfo-rows { display: flex; flex-direction: column; margin-bottom: 20px; }
.cinfo-row {
  display: flex; align-items: center; gap: 12px; padding: 12px 2px;
  text-decoration: none; font-size: 15px; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.cinfo-row:first-child { border-top: 1px solid var(--line); }
.cinfo-row:hover { color: var(--primary); }
.cinfo-ic {
  width: 20px; flex: none; text-align: center; font-size: 14px;
  color: var(--primary); background: none; border: 0; height: auto; display: block;
}
.cinfo-row > span:last-child { display: block; min-width: 0; }
.cinfo-row strong { display: none; }
.cinfo .contact-map { margin-top: auto; }
/* a két kártya azonos magasságú; az űrlap üzenetmezője kitölti a maradék helyet,
   így nincs üres tér a gomb alatt */
.contact-grid { align-items: stretch; }
.cform .acc-f:has(textarea) { flex: 1; display: flex; flex-direction: column; }
.cform .acc-in.cform-ta { flex: 1; display: flex; }
.cform .acc-in textarea { height: 100%; }

/* lezárult képzések archív kártyái: nem kattinthatók, hover-effekt nélkül */
.card-past { cursor: default; }
.card-past:hover h3 { text-decoration: none; }
.card-past:hover .card-img img, .card-past:hover .card-ph, .card-past:hover .card-closed { transform: none; }

/* lezárult kártya képhelye: semleges háttér, középen circle-xmark ikon */
.card-closed {
  width: 100%; height: 100%; min-height: 100%; display: flex;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef1f6, #e3e8f1);
}
.card-closed i { font-size: 52px; color: #a7b1c2; }

/* Korábbi képzéseink: összecsukható sáv */
.past-acc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 22px; box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
  transition: border-color .15s ease;
}
.past-acc summary::-webkit-details-marker { display: none; }
.past-acc summary:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); }
.past-acc summary .sec-title { margin: 0; }
.past-acc summary i {
  font-size: 15px; color: var(--primary); transition: transform .2s ease; flex: none;
}
.past-acc[open] summary { margin-bottom: 20px; }
.past-acc[open] summary i { transform: rotate(180deg); }

/* ================= BLOG ================= */
/* listaoldal: a képzéskártyákkal azonos vizuális rendszer, 16:9 borítóképpel */
.bp-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.bpost .bp-img { aspect-ratio: 16/9; }
.bp-excerpt {
  margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bp-meta { margin-top: auto; padding-top: 12px; }
.bp-meta .mi i { font-size: 12px; color: var(--primary); }
.bp-cat { background: var(--primary); color: #fff; }
.bp-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.bp-chip {
  display: inline-flex; align-items: center; padding: 8px 16px;
  border: 1px solid var(--line, #e5e7eb); border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: none;
  background: #fff; transition: border-color .15s ease, background .15s ease;
}
.bp-chip:hover { border-color: var(--primary); }
.bp-chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.bp-pager {
  display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px;
}

/* cikkoldal: teljes szélességű magazin-elrendezés — fejléc-sáv + tartalom és
   ragadós oldalsáv; a szövegtörzs olvasható hasábban marad */
.bp-article { padding: 0 0 10px; }
.bp-hero {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--primary) 6%, var(--bg-alt)) 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--line, #eef2f7);
  padding: 34px 0 34px;
}
.bp-hero-in { max-width: 980px; }
.bp-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 370px;
  gap: 48px; align-items: start; padding-top: 38px;
}
.bp-main { min-width: 0; max-width: 860px; }
.bp-aside { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
.bp-aside-card {
  background: #fff; border: 1px solid var(--line, #eef2f7); border-radius: var(--radius);
  padding: 22px 22px 20px; box-shadow: 0 6px 24px rgba(15, 23, 42, .06);
}
.bp-aside-title {
  margin: 0 0 14px; font-size: 12.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .09em; color: var(--primary);
}
.bp-aside-list { display: flex; flex-direction: column; }
.bp-aside-item {
  display: flex; flex-direction: column; gap: 3px; padding: 11px 0;
  border-top: 1px solid var(--line, #eef2f7); text-decoration: none; color: var(--ink);
}
.bp-aside-item:first-child { border-top: 0; padding-top: 0; }
.bp-aside-item:last-child { padding-bottom: 0; }
.bp-aside-item strong { font-size: 14px; line-height: 1.4; font-weight: 700; }
.bp-aside-item:hover strong { color: var(--primary); text-decoration: underline; }
.bp-aside-item span { font-size: 12px; color: var(--muted); }
.bp-aside-cta {
  background: color-mix(in srgb, var(--primary) 5%, #fff);
  border-color: color-mix(in srgb, var(--primary) 18%, #fff);
}
.bp-aside-cta p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.bp-crumbs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 13px; color: var(--muted); margin-bottom: 22px;
}
.bp-crumbs a { color: var(--muted); text-decoration: none; }
.bp-crumbs a:hover { color: var(--primary); text-decoration: underline; }
.bp-cat-tag {
  display: inline-block; padding: 5px 13px; border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 9%, #fff);
  color: var(--primary); font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px;
}
.bp-hero h1 {
  margin: 0 0 12px; font-size: 42px; line-height: 1.16; letter-spacing: -.02em; font-weight: 800;
}
.bp-lead { margin: 0 0 16px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.bp-byline {
  display: flex; flex-wrap: wrap; gap: 18px; margin: 0;
  font-size: 13.5px; color: var(--muted);
}
.bp-byline i { color: var(--primary); margin-right: 2px; }
.bp-cover { margin: 0 0 30px; }
.bp-cover img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: 0 10px 34px rgba(15, 23, 42, .1);
}
.bp-body { font-size: 17px; line-height: 1.75; color: var(--ink); }
.bp-body p { margin: 0 0 20px; }
.bp-body h2 {
  margin: 38px 0 14px; font-size: 26px; line-height: 1.3; letter-spacing: -.015em; font-weight: 800;
}
.bp-body h3 { margin: 30px 0 10px; font-size: 20px; line-height: 1.35; font-weight: 700; }
.bp-body ul, .bp-body ol { margin: 0 0 20px; padding-left: 24px; }
.bp-body li { margin-bottom: 8px; }
.bp-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.bp-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.bp-body blockquote {
  margin: 26px 0; padding: 16px 22px;
  background: color-mix(in srgb, var(--primary) 4%, #fff);
  border-left: 3px solid var(--primary); border-radius: 0 10px 10px 0;
  font-style: italic; color: #374151;
}
.bp-body blockquote p:last-child { margin-bottom: 0; }
.bp-fig { margin: 26px 0; }
.bp-fig img { width: 100%; display: block; }
.bp-fig figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }
.bp-rel .card-body h3 { font-size: 15.5px; }

@media (max-width: 1080px) {
  .bp-layout { grid-template-columns: 1fr; gap: 34px; }
  .bp-main { max-width: none; }
  .bp-aside { position: static; }
}
@media (max-width: 768px) {
  .bp-hero h1 { font-size: 29px; }
  .bp-body { font-size: 16px; }
  .bp-body h2 { font-size: 22px; }
  .bp-body h3 { font-size: 18px; }
}
@media (max-width: 640px) {
  .bp-hero { padding: 24px 0 26px; }
  .bp-layout { padding-top: 26px; }
  .bp-hero h1 { font-size: 25px; }
  .bp-lead { font-size: 16px; }
  .bp-byline { gap: 12px; }
  .bp-grid { grid-template-columns: 1fr; }
}

/* cikkoldali oldalsáv: sötét prémium képzésajánló-modul, képre írt címekkel */
.bp-promo {
  background: color-mix(in srgb, var(--primary) 3%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary) 14%, #fff);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius); padding: 24px 22px 22px;
  box-shadow: 0 6px 24px color-mix(in srgb, var(--primary) 7%, transparent);
  display: flex; flex-direction: column; gap: 14px;
}
.bp-promo-kicker {
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary);
}
.bp-promo-title {
  margin: -6px 0 4px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--ink);
}
.bp-promo-p { margin: 0 0 4px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.bp-tile {
  position: relative; display: block; aspect-ratio: 16/10; border-radius: calc(var(--radius) - 2px);
  overflow: hidden; text-decoration: none; background: var(--bg-alt, #f7f7f7);
}
.bp-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.bp-tile:hover img { transform: scale(1.06); }
.bp-tile-ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 800; color: color-mix(in srgb, var(--primary) 35%, #fff);
}
.bp-tile-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 30, 0) 30%, rgba(10, 14, 30, .88) 100%);
}
.bp-tile-badge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.bp-tile-txt {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; gap: 5px; padding: 14px 15px 13px;
}
.bp-tile-txt strong {
  color: #fff; font-size: 15px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .4);
}
.bp-tile:hover .bp-tile-txt strong { text-decoration: underline; text-decoration-thickness: 1.5px; }
.bp-tile-meta { color: rgba(255, 255, 255, .78); font-size: 12px; font-weight: 600; }
.bp-promo-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 4px;
  padding: 13px 18px; border-radius: var(--btn-radius); text-decoration: none;
  background: var(--primary); color: #fff; font-size: 14px; font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.bp-promo-btn i { font-size: 12px; transition: transform .18s ease; }
.bp-promo-btn:hover {
  transform: translateY(-2px); filter: brightness(1.08);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 35%, transparent);
}
.bp-promo-btn:hover i { transform: translateX(3px); }

/* blogcikk: számozott listák altípusai (a. b. c. / i. ii. iii.) */
.bp-body ol[type="a"] { list-style-type: lower-alpha; }
.bp-body ol[type="i"] { list-style-type: lower-roman; }

/* fejléc: HU | EN nyelvváltó */
.lang-sw {
  display: inline-flex; align-items: center; gap: 7px; margin-right: 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.lang-sw a { color: var(--header-text, #fff); opacity: .55; text-decoration: none; transition: opacity .15s ease; }
.lang-sw a:hover { opacity: .9; }
.lang-sw a.on { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.lang-sw span { color: var(--header-text, #fff); opacity: .3; }
@media (max-width: 640px) { .lang-sw { margin-right: 8px; } }

/* ================= logó-szalagok (Egyetemek / Márkák / Partnerek) ================= */
.lg-sec { padding: 34px 0; }
.lg-sec .sec-title { margin-bottom: 22px; }
.lg-strip {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.lg-track {
  display: flex; width: max-content; will-change: transform;
  animation: lg-scroll var(--lg-dur, 32s) linear infinite;
}
.lg-set { display: flex; align-items: center; gap: 70px; padding-right: 70px; flex: none; }
.lg-item { display: flex; align-items: center; flex: none; text-decoration: none; }
.lg-item img {
  height: 54px; width: auto; max-width: 220px; object-fit: contain; display: block;
  filter: grayscale(1); opacity: .72;
  transition: filter .25s ease, opacity .25s ease;
}
.lg-item:hover img { filter: none; opacity: 1; }
@keyframes lg-scroll { to { transform: translateX(-50%); } }
@media (max-width: 640px) {
  .lg-set { gap: 44px; padding-right: 44px; }
  .lg-item img { height: 40px; max-width: 160px; }
}

/* hero slider: oktató sor a kártyákkal azonos formában */
.hs-by { margin: 2px 0 10px; font-size: 14.5px; opacity: .85; }
.hs-by strong { font-weight: 700; }
@media (max-width: 640px) { .hs-by { font-size: 13px; } }

/* kiemelt képzés: oktató sor a kártyákkal azonos formában */
.feat-by { margin: -4px 0 10px; font-size: 14px; color: var(--muted); }
.feat-by strong { color: #444; font-weight: 700; }

/* ---- designos 404-oldal ---- */
.nf-wrap { max-width: 640px; margin: 40px auto; }
.nf-card { background: #fff; border: 1px solid var(--line, #e2e8f0); border-radius: 20px;
  padding: 46px 34px; text-align: center; box-shadow: 0 10px 30px rgba(15,23,42,.07); }
.nf-code { font-size: 4.2rem; font-weight: 800; line-height: 1; color: var(--primary, #12267C);
  letter-spacing: .04em; margin-bottom: 8px; }
.nf-title { margin: 0 0 12px; font-size: 1.7rem; }
.nf-lead { color: #475569; margin: 0 0 18px; }
.nf-count { color: #64748b; font-size: .95rem; margin: 0 0 22px; }
.nf-count strong { color: var(--primary, #12267C); font-size: 1.1rem; }

/* statikus logórács: precíz oszloprács minden méretben — az oszlopok minden
   sorban ugyanott vannak, azonos szélű oldaltávolsággal (mintha vonalzóval) */
.lg-flat { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  align-items: center; justify-items: center; gap: 26px 18px; padding: 6px 0; }
/* fix magasságú cella: minden sor pontosan ugyanolyan magas, a logó a
   cella közepén — a sorok vonalzóval húzott rendben követik egymást */
.lg-flat .lg-item { height: 56px; width: 100%; max-width: 100%; overflow: hidden;
  display: flex; align-items: center; justify-content: center; }
/* a rács logói ~30%-kal kisebbek a szalagokénál — egységes vizuális magassággal */
.lg-flat .lg-item img { height: 27px; max-width: 130px; }
.lg-flat .lg-item img { transition: filter .2s, opacity .2s; }
.lg-flat .lg-item:active img, .lg-flat .lg-item:focus-visible img { filter: none; opacity: 1; }

/* ár-megjegyzés a csempéken: az árral egy sorban, kisebb, halvány */
.price { white-space: nowrap; }
.price .price-note { font-size: 11.5px; font-weight: 600; color: var(--muted); }

/* statikus logórács mobilon: precíz 3 oszlopos rács, minden cella középre
   igazítva — egyenletes sorok és oszlopok (asztali változatlan) */
@media (max-width: 640px) {
  .lg-flat { display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 26px 14px; padding: 10px 0 14px; align-items: center; justify-items: center; }
  .lg-flat .lg-item { justify-content: center; height: 44px; }
  .lg-flat .lg-item img { height: 24px; max-width: 104px; }
}

/* vissza a tetejére gomb (csak főoldal, mobil) */
.totop {
  position: fixed; right: 16px; bottom: 18px; z-index: 900;
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--primary, #12267C); color: #fff; cursor: pointer;
  display: none; align-items: center; justify-content: center; font-size: 17px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .28);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.totop.on { opacity: 1; transform: none; pointer-events: auto; }
.totop:active { transform: scale(.94); }
@media (max-width: 768px) { .totop { display: flex; } }

/* --- Esemény-oldal: ne villanjon fel a hírlevél-blokk betöltéskor (Barnabás 2026-08-15) ---
   A #kf-modal-content JS-ből töltődik, tehát az első festéskor üres és nulla magas.
   Emiatt az alatta lévő, szerver-oldalon renderelt hírlevél-sáv egy pillanatra
   a képernyő tetejére kerül, majd lejjebb ugrik. Amíg a doboz ÜRES, tartsuk a helyet;
   amint a JS betölti a tartalmat, a :empty már nem illeszkedik és a foglalás megszűnik. */
.kf-page-box > .kf-modal-content:empty { min-height: 78vh; }
