/* =========================================================================
   Online-képzések.hu – stíluslap
   Design tokenek a :root alatt; a színek és méretek itt egy helyen cserélhetők.
   ========================================================================= */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-display-700.woff") format("woff"); }
@font-face { font-family: "Inter Display"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/inter-display-800.woff") format("woff"); }
/* Metrikailag illesztett tartalék betű, hogy a webfont betöltésekor ne ugorjon a tördelés (CLS). */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 107.06%; ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; }

:root {
  /* Alapszínek (brief 4. pont) */
  --c-bg: #ffffff;
  --c-surface: #f8fafc;
  --c-surface-2: #f1f5f9;
  --c-ink: #111827;
  --c-ink-2: #334155;
  --c-muted: #64748b;
  --c-line: #e2e8f0;
  --c-line-strong: #cbd5e1;
  --c-primary: #5b36d1;
  --c-primary-hover: #4323a8;
  --c-primary-tint: #f1ecff;
  --c-primary-tint-2: #e2d9ff;
  --c-accent: #0f766e;
  --c-accent-tint: #e3f3f0;
  --c-sponsor: #8a5a00;
  --c-sponsor-tint: #fff3d6;
  --c-danger: #b42318;

  /* Kategóriaszínek – borítók és ikonok */
  --cat-uzlet: #2e2a6b;
  --cat-marketing: #b4235a;
  --cat-video: #12508f;
  --cat-foto: #0f766e;
  --cat-onfejlesztes: #8a5a00;
  --cat-digitalis: #344256;

  /* Tipográfia */
  --f-text: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-display: "Inter Display", "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Térköz (8px skála) és formák */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-pill: 999px;
  --container: 1240px;
  --gutter: 24px;
  --header-h: 72px;
  --shadow-pop: 0 18px 40px -18px rgba(33, 18, 92, .35), 0 2px 6px rgba(17, 24, 39, .06);
  --focus: 0 0 0 2px #fff, 0 0 0 4px var(--c-primary);
}

@media (max-width: 767px) {
  :root { --gutter: 16px; --header-h: 60px; }
}

/* ------------------------------------------------------------------ Alapok */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-text);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "calt" 1, "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-primary-hover); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--c-ink); margin: 0; line-height: 1.15; letter-spacing: -0.015em; }
h1 { font-weight: 800; font-size: clamp(2rem, 1.4rem + 2.2vw, 2.75rem); letter-spacing: -0.025em; }
h2 { font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
h3 { font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s-4); }
ul, ol { margin: 0; padding: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: var(--s-4); top: -60px; z-index: 100; background: var(--c-ink); color: #fff; padding: var(--s-2) var(--s-4); border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: var(--s-3); color: #fff; }
.num { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------------ Ikonok */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 16px; height: 16px; }
.i--lg { width: 28px; height: 28px; }

/* ------------------------------------------------------------------ Gombok */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  border-radius: var(--r-md); border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-hover); color: #fff; }
.btn--secondary { background: #fff; color: var(--c-ink); border-color: var(--c-line-strong); }
.btn--secondary:hover { border-color: var(--c-ink); color: var(--c-ink); }
.btn--ghost { background: transparent; color: var(--c-primary); padding-inline: var(--s-3); }
.btn--ghost:hover { background: var(--c-primary-tint); }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; font-size: 1.0625rem; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ Fejléc */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--c-line); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-4); height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--c-ink); text-decoration: none; flex: none; }
.logo:hover { color: var(--c-ink); }
.logo__mark { width: 34px; height: 34px; }
.logo__text { font-family: var(--f-display); font-weight: 800; font-size: 1.1875rem; letter-spacing: -0.03em; white-space: nowrap; }
.logo__tld { color: var(--c-muted); font-weight: 700; }

.nav { display: flex; align-items: center; gap: var(--s-1); }
.nav__link, .nav__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 var(--s-3);
  border: 0; background: none; border-radius: var(--r-sm);
  color: var(--c-ink-2); font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap;
}
.nav__link:hover, .nav__btn:hover, .nav__btn[aria-expanded="true"] { background: var(--c-surface-2); color: var(--c-ink); }
.nav__link[aria-current="page"] { color: var(--c-primary); }
.nav__btn .i { transition: transform .15s ease; }
.nav__btn[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav__item { position: relative; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 50;
  min-width: 320px; padding: var(--s-3);
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow-pop);
}
.dropdown--mega { width: 620px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown--right { left: auto; right: 0; }
.dropdown__item { display: flex; align-items: flex-start; gap: var(--s-3); padding: var(--s-3); border-radius: var(--r-md); color: var(--c-ink); text-decoration: none; }
.dropdown__item:hover { background: var(--c-surface); color: var(--c-ink); }
.dropdown__title { display: block; font-weight: 600; line-height: 1.3; }
.dropdown__meta { display: block; color: var(--c-muted); font-size: .8125rem; line-height: 1.4; margin-top: 2px; }
.dropdown__foot { grid-column: 1 / -1; border-top: 1px solid var(--c-line); margin-top: var(--s-2); padding: var(--s-3) var(--s-3) var(--s-1); }

.cat-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: #fff; flex: none; }
.cat-icon--uzlet { background: var(--cat-uzlet); }
.cat-icon--marketing { background: var(--cat-marketing); }
.cat-icon--video { background: var(--cat-video); }
.cat-icon--foto { background: var(--cat-foto); }
.cat-icon--onfejlesztes { background: var(--cat-onfejlesztes); }
.cat-icon--digitalis { background: var(--cat-digitalis); }
.svc-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--c-primary-tint); color: var(--c-primary); flex: none; }

.header-search { flex: 1 1 auto; max-width: 520px; min-width: 200px; }
.header-actions { display: none; margin-left: auto; gap: var(--s-1); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: var(--r-sm); color: var(--c-ink); }
.icon-btn:hover { background: var(--c-surface-2); }

/* Kereső (fejléc, hero, katalógus) */
.search { position: relative; }
.search__field { position: relative; display: flex; align-items: center; }
.search__icon { position: absolute; left: 14px; color: var(--c-muted); pointer-events: none; }
.search__input {
  width: 100%; height: 44px; padding: 0 var(--s-4) 0 44px;
  border: 1.5px solid var(--c-line-strong); border-radius: var(--r-pill); background: var(--c-surface);
  font-size: .9375rem; color: var(--c-ink);
  transition: border-color .15s ease, background-color .15s ease;
}
.search__input::placeholder { color: var(--c-muted); opacity: 1; }
.search__input:hover { border-color: var(--c-muted); }
.search__input:focus { outline: none; background: #fff; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-tint-2); }
.search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search--hero .search__input { height: 64px; padding-left: 56px; padding-right: 148px; font-size: 1.0625rem; background: #fff; border-width: 2px; border-color: var(--c-ink); }
.search--hero .search__icon { left: 20px; }
.search--hero .search__submit { position: absolute; right: 8px; height: 48px; padding: 0 var(--s-5); border-radius: var(--r-pill); }
.search__list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
  max-height: min(70vh, 480px); overflow-y: auto; padding: var(--s-2);
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow-pop);
  list-style: none;
}
.search__opts { list-style: none; margin: 0; padding: 0; }
.search__group { padding: var(--s-2) var(--s-3) var(--s-1); color: var(--c-muted); font-size: .8125rem; font-weight: 600; }
.search__opt { display: flex; align-items: center; gap: var(--s-3); padding: 10px var(--s-3); border-radius: var(--r-sm); cursor: pointer; color: var(--c-ink); text-decoration: none; }
.search__opt[aria-selected="true"], .search__opt:hover { background: var(--c-primary-tint); }
.search__opt-title { display: block; font-weight: 600; font-size: .9375rem; line-height: 1.35; }
.search__opt-sub { display: block; color: var(--c-muted); font-size: .8125rem; }
.search__opt .i { color: var(--c-muted); }
.search__empty { padding: var(--s-3); color: var(--c-muted); font-size: .9375rem; }
.search__all { display: block; margin-top: var(--s-1); padding: 10px var(--s-3); border-top: 1px solid var(--c-line); font-weight: 600; text-decoration: none; }

/* Mobil fejléc + fiók */
.mobile-search { display: none; padding: 0 0 var(--s-3); }
.drawer { position: fixed; inset: 0; z-index: 80; display: flex; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(17, 24, 39, .45); }
.drawer__panel {
  position: relative; margin-left: auto; width: min(400px, 92vw); height: 100%;
  background: #fff; overflow-y: auto; padding: var(--s-4) var(--s-5) var(--s-7);
  display: flex; flex-direction: column; gap: var(--s-5);
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__title { font-family: var(--f-display); font-weight: 700; font-size: 1.125rem; }
.drawer__section h2 { font-size: .875rem; color: var(--c-muted); font-family: var(--f-text); font-weight: 600; letter-spacing: 0; margin-bottom: var(--s-2); }
.drawer__list { list-style: none; display: grid; gap: 2px; }
.drawer__list a { display: flex; align-items: center; gap: var(--s-3); min-height: 48px; padding: var(--s-2) var(--s-2); border-radius: var(--r-sm); color: var(--c-ink); text-decoration: none; font-weight: 600; }
.drawer__list a:hover { background: var(--c-surface); }
.drawer__list .cat-icon { width: 32px; height: 32px; border-radius: 8px; }
.drawer__list .cat-icon .i { width: 18px; height: 18px; }
body.is-locked { overflow: hidden; }

@media (max-width: 1179px) {
  .nav, .header-search { display: none; }
  .header-actions { display: flex; }
}
@media (min-width: 1180px) {
  .drawer, .mobile-search { display: none !important; }
}
@media (max-width: 1179px) {
  .mobile-search.is-open { display: block; }
}

/* ------------------------------------------------------------------ Szakaszok */
.section { padding-block: var(--s-8); }
.section--tight { padding-block: var(--s-7); }
.section--surface { background: var(--c-surface); border-block: 1px solid var(--c-line); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-5); }
.section__head p { margin: var(--s-2) 0 0; color: var(--c-muted); max-width: 62ch; }
@media (max-width: 767px) {
  .section { padding-block: var(--s-7); }
  .section__head { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------------ Hero */
.hero { padding-block: var(--s-8) var(--s-8); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s-7); align-items: center; }
.hero__title { font-size: clamp(2.75rem, 1.6rem + 4.4vw, 5rem); line-height: .98; letter-spacing: -0.04em; font-weight: 800; }
.hero__title span { display: block; }
.hero__lead { font-size: 1.1875rem; line-height: 1.55; color: var(--c-ink-2); max-width: 34em; margin: var(--s-5) 0 var(--s-6); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.hero__note { margin-top: var(--s-5); color: var(--c-muted); font-size: .875rem; display: flex; gap: var(--s-2); align-items: flex-start; }
.hero__note .i { margin-top: 2px; }

.shelf { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.shelf__col { display: grid; gap: var(--s-4); align-content: start; }
.shelf__col:nth-child(2) { margin-top: var(--s-8); }
.shelf__item { display: block; border-radius: var(--r-md); text-decoration: none; box-shadow: 0 1px 0 rgba(17, 24, 39, .04), 0 14px 30px -18px rgba(17, 24, 39, .45); transition: transform .2s ease; }
.shelf__item:hover { transform: translateY(-3px); }
.shelf__item .cover { border-radius: var(--r-md); }
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shelf__col { display: contents; }
  .shelf__col:nth-child(2) { margin-top: 0; }
}
@media (max-width: 599px) {
  .shelf { display: none; }
}
@media (max-width: 767px) {
  .hero { padding-block: var(--s-6) var(--s-7); }
  .hero__lead { font-size: 1.0625rem; margin: var(--s-4) 0 var(--s-5); }
  .search--hero .search__input { height: 56px; padding-right: 16px; font-size: 1rem; }
  .search--hero .search__submit { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ------------------------------------------------------------------ Borító (generált) */
.cover {
  --cover-bg: var(--cat-uzlet);
  container-type: inline-size;
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background-color: var(--cover-bg);
  background-repeat: no-repeat; background-position: right center; background-size: auto 100%;
  color: #fff; isolation: isolate;
}
.cover--uzlet { --cover-bg: var(--cat-uzlet); background-image: url("/assets/motif-uzlet.svg"); }
.cover--marketing { --cover-bg: var(--cat-marketing); background-image: url("/assets/motif-marketing.svg"); }
.cover--video { --cover-bg: var(--cat-video); background-image: url("/assets/motif-video.svg"); }
.cover--foto { --cover-bg: var(--cat-foto); background-image: url("/assets/motif-foto.svg"); }
.cover--onfejlesztes { --cover-bg: var(--cat-onfejlesztes); background-image: url("/assets/motif-onfejlesztes.svg"); }
.cover--digitalis { --cover-bg: var(--cat-digitalis); background-image: url("/assets/motif-digitalis.svg"); }
.cover__provider { position: absolute; top: 7cqi; left: 7cqi; font-size: max(11px, 4.4cqi); font-weight: 600; letter-spacing: .01em; opacity: .9; }
.cover__word {
  position: absolute; left: 7cqi; right: 22cqi; bottom: 20cqi;
  font-family: var(--f-display); font-weight: 800; line-height: .98; letter-spacing: -0.035em;
  font-size: 11.5cqi; overflow-wrap: anywhere; hyphens: auto;
}
.cover__word--m { font-size: 9.6cqi; }
.cover__word--l { font-size: 8.4cqi; right: 14cqi; }
.cover__format { position: absolute; left: 7cqi; bottom: 7cqi; display: inline-flex; align-items: center; gap: 1.6cqi; font-size: max(11px, 4.2cqi); font-weight: 600; opacity: .92; }
.cover__format .i { width: max(13px, 5cqi); height: max(13px, 5cqi); }
.cover img.cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }

/* ------------------------------------------------------------------ Kártyák */
.grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid--services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid--services { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: var(--c-primary-tint-2); box-shadow: 0 12px 28px -18px rgba(67, 35, 168, .45); }
.card:focus-within { border-color: var(--c-primary); }
.card__body { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4) var(--s-4) 0; flex: 1; }
.card__title { font-family: var(--f-text); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a { color: var(--c-ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__title a:focus-visible { box-shadow: none; }
.card__title a:focus-visible::after { box-shadow: inset 0 0 0 3px var(--c-primary); border-radius: var(--r-lg); }
.card__by { color: var(--c-muted); font-size: .875rem; line-height: 1.4; }
.card__facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); color: var(--c-ink-2); font-size: .8125rem; margin-top: auto; padding-top: var(--s-1); }
.card__facts span { display: inline-flex; align-items: center; gap: 6px; }
.card__facts .i { width: 15px; height: 15px; color: var(--c-muted); }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-3) var(--s-4); margin-top: var(--s-3); border-top: 1px solid var(--c-line); min-height: 52px; }
.card__price { font-weight: 700; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.card__price--na { font-weight: 600; font-size: .875rem; color: var(--c-muted); }
.card__go { display: inline-flex; align-items: center; gap: 4px; color: var(--c-primary); font-weight: 600; font-size: .875rem; }
.card__ext { position: relative; z-index: 2; }

.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: var(--r-pill); font-size: .75rem; font-weight: 600; line-height: 1; white-space: nowrap; }
.badge .i { width: 13px; height: 13px; }
.badge--own { background: var(--c-primary-tint); color: var(--c-primary-hover); }
.badge--partner { background: var(--c-surface-2); color: var(--c-ink-2); }
.badge--free { background: var(--c-accent-tint); color: var(--c-accent); }
.badge--sponsored { background: var(--c-sponsor-tint); color: var(--c-sponsor); }
.badge--neutral { background: #fff; color: var(--c-ink-2); box-shadow: inset 0 0 0 1px var(--c-line-strong); }

/* Podcastkártya */
.thumb { position: relative; aspect-ratio: 16 / 9; background: #1f1b3a; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__fallback { position: absolute; inset: 0; display: grid; place-items: center; background: url("/assets/motif-podcast.svg") center / cover no-repeat, #1f1b3a; color: #fff; }
.thumb__fallback span { font-family: var(--f-display); font-weight: 700; font-size: 1rem; opacity: .9; }
.thumb img + .thumb__fallback { display: none; }
.thumb.is-broken img { display: none; }
.thumb.is-broken .thumb__fallback { display: grid; }
.thumb__play { position: absolute; left: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--c-ink); }
.thumb__play .i { width: 18px; height: 18px; fill: currentColor; stroke: none; margin-left: 2px; }
.thumb__dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 7px; border-radius: 6px; background: rgba(17, 24, 39, .82); color: #fff; font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.card--podcast .card__guest { color: var(--c-ink-2); font-size: .875rem; }

/* Kategóriakártya */
.cat-card { position: relative; display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); transition: border-color .15s ease, box-shadow .15s ease; }
.cat-card:hover { border-color: var(--c-primary-tint-2); box-shadow: 0 12px 28px -18px rgba(67, 35, 168, .45); }
.cat-card h3 a { color: var(--c-ink); text-decoration: none; }
.cat-card h3 a::after { content: ""; position: absolute; inset: 0; }
.cat-card p { margin: 0; color: var(--c-muted); font-size: .9375rem; }
.cat-card__count { margin-top: auto; font-size: .8125rem; font-weight: 600; color: var(--c-ink-2); }
.cat-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1023px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .cat-grid { grid-template-columns: 1fr; } }

/* Szolgáltatáskártya */
.svc-card { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.svc-card__head { display: flex; align-items: center; gap: var(--s-3); }
.svc-card__host { color: var(--c-muted); font-size: .8125rem; }
.svc-card__aud { margin: 0; font-weight: 600; color: var(--c-ink-2); font-size: .9375rem; }
.svc-card p { margin: 0; }
.svc-card .btn { margin-top: auto; align-self: flex-start; }

/* Témacímkék */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 var(--s-4);
  border: 1.5px solid var(--c-line-strong); border-radius: var(--r-pill); background: #fff;
  color: var(--c-ink); font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: var(--c-ink); color: var(--c-ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.chip__count { color: inherit; opacity: .65; font-weight: 600; font-variant-numeric: tabular-nums; }
.chip--remove { background: var(--c-primary-tint); border-color: transparent; color: var(--c-primary-hover); min-height: 34px; padding: 0 10px 0 14px; font-size: .875rem; }
.chip--remove:hover { border-color: var(--c-primary); color: var(--c-primary-hover); }

/* Tanulási út kártya (kezdőlap) */
.path-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1179px) { .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .path-grid { grid-template-columns: 1fr; } }
.path-card { position: relative; display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-5); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.path-card h3 { font-size: 1.25rem; }
.path-card h3 a { color: var(--c-ink); text-decoration: none; }
.path-card h3 a::after { content: ""; position: absolute; inset: 0; }
.path-card:hover { border-color: var(--c-primary-tint-2); box-shadow: 0 12px 28px -18px rgba(67, 35, 168, .45); }
.path-steps { list-style: none; counter-reset: step; display: grid; gap: var(--s-2); }
.path-steps li { counter-increment: step; display: grid; grid-template-columns: 24px 1fr; gap: var(--s-2); font-size: .875rem; color: var(--c-ink-2); line-height: 1.4; }
.path-steps li::before { content: counter(step); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c-surface-2); color: var(--c-ink); font-size: .75rem; font-weight: 700; }
.path-card .link-more { margin-top: auto; }

/* Bizalom */
.trust { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s-7); align-items: start; }
.trust__list { list-style: none; display: grid; gap: var(--s-4); }
.trust__list li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s-3); }
.trust__list .i { color: var(--c-accent); margin-top: 3px; }
.trust__list strong { display: block; font-weight: 600; }
.trust__list span { color: var(--c-ink-2); font-size: .9375rem; }
@media (max-width: 1023px) { .trust { grid-template-columns: 1fr; gap: var(--s-5); } }

/* ------------------------------------------------------------------ Morzsamenü, oldalfej */
.crumbs { padding-top: var(--s-5); font-size: .875rem; color: var(--c-muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: var(--c-line-strong); }
.crumbs a { color: var(--c-ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--c-primary); }
.page-head { padding-block: var(--s-5) var(--s-6); }
.page-head__lead { margin: var(--s-3) 0 0; font-size: 1.125rem; color: var(--c-ink-2); max-width: 62ch; }
.page-head--cat { display: flex; gap: var(--s-4); align-items: flex-start; }
.page-head--cat .cat-icon { width: 56px; height: 56px; border-radius: 14px; }
.page-head--cat .cat-icon .i { width: 28px; height: 28px; }

/* ------------------------------------------------------------------ Katalógus */
.catalog { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: var(--s-6); align-items: start; padding-bottom: var(--s-8); }
.catalog__toolbar { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin-bottom: var(--s-4); }
.catalog__toolbar .search { flex: 1 1 320px; }
.catalog__toolbar .search__input { height: 48px; background: #fff; }
.catalog__count { font-weight: 600; color: var(--c-ink-2); }
.catalog__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); min-height: 34px; }
.catalog__active { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.select { position: relative; display: inline-flex; align-items: center; gap: var(--s-2); }
.select label { font-size: .875rem; color: var(--c-muted); white-space: nowrap; }
.select select { appearance: none; height: 48px; padding: 0 40px 0 var(--s-4); border: 1.5px solid var(--c-line-strong); border-radius: var(--r-md); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; font-weight: 600; font-size: .9375rem; }
.select select:hover { border-color: var(--c-muted); }
.filters__toggle { display: none; }

.filters { position: sticky; top: calc(var(--header-h) + var(--s-4)); max-height: calc(100vh - var(--header-h) - var(--s-6)); overflow-y: auto; padding-right: var(--s-2); }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-2); }
.filters__head h2 { font-size: 1.125rem; }
.filters__clear { border: 0; background: none; color: var(--c-primary); font-weight: 600; font-size: .875rem; padding: var(--s-2); border-radius: var(--r-sm); }
.filters__clear:hover { background: var(--c-primary-tint); }
.fgroup { border: 0; border-top: 1px solid var(--c-line); margin: 0; padding: var(--s-4) 0; }
.fgroup legend { float: left; width: 100%; padding: 0; margin-bottom: var(--s-2); font-weight: 600; font-size: .9375rem; }
.fgroup legend + * { clear: both; }
.fopt { display: flex; align-items: center; gap: var(--s-3); min-height: 40px; padding: 2px var(--s-2); margin-inline: calc(var(--s-2) * -1); border-radius: var(--r-sm); cursor: pointer; font-size: .9375rem; color: var(--c-ink); }
.fopt:hover { background: var(--c-surface); }
.fopt input { width: 20px; height: 20px; margin: 0; accent-color: var(--c-primary); flex: none; cursor: pointer; }
.fopt__label { flex: 1; line-height: 1.35; }
.fopt__count { color: var(--c-muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.fopt.is-zero { color: var(--c-muted); }
.filters__footer { display: none; }

.empty { display: grid; justify-items: start; gap: var(--s-3); padding: var(--s-7) var(--s-6); border: 1.5px dashed var(--c-line-strong); border-radius: var(--r-lg); background: var(--c-surface); }
.empty h2 { font-size: 1.25rem; }
.empty p { margin: 0; color: var(--c-ink-2); }
.load-more { display: flex; justify-content: center; margin-top: var(--s-6); }
.price-note { margin-top: var(--s-6); padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-ink-2); font-size: .875rem; display: flex; gap: var(--s-3); align-items: flex-start; }
.price-note .i { margin-top: 2px; color: var(--c-muted); }
.price-note p { margin: 0; }

@media (max-width: 1023px) {
  .catalog { grid-template-columns: 1fr; }
  .filters__toggle { display: inline-flex; }
  .filters { display: none; position: fixed; inset: 0; z-index: 85; top: 0; max-height: none; padding: 0; background: rgba(17, 24, 39, .45); }
  .filters.is-open { display: flex; align-items: flex-end; }
  .filters__sheet { width: 100%; max-height: 88vh; overflow-y: auto; background: #fff; border-radius: 20px 20px 0 0; padding: var(--s-4) var(--s-5) 0; }
  .filters__footer { display: flex; gap: var(--s-3); position: sticky; bottom: 0; background: #fff; padding: var(--s-3) 0 var(--s-4); border-top: 1px solid var(--c-line); }
  .filters__footer .btn { flex: 1; }
  .filters__close { display: inline-grid !important; }
  .filters__head { position: sticky; top: calc(var(--s-4) * -1); z-index: 1; background: #fff; margin: calc(var(--s-4) * -1) 0 0; padding: var(--s-4) 0 var(--s-2); border-bottom: 1px solid var(--c-line); }
}
.filters__close { display: none !important; }

/* ------------------------------------------------------------------ Képzés-adatlap */
.course-hero { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.course-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--s-7); align-items: center; padding-block: var(--s-5) var(--s-7); }
.course-hero h1 { margin-top: var(--s-3); font-size: clamp(1.875rem, 1.3rem + 2vw, 2.625rem); }
.course-hero__summary { margin: var(--s-4) 0 0; font-size: 1.125rem; color: var(--c-ink-2); max-width: 60ch; }
.course-hero__by { margin-top: var(--s-4); color: var(--c-ink-2); }
.course-hero__by strong { color: var(--c-ink); font-weight: 600; }
.course-hero__facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-4); color: var(--c-ink-2); font-size: .9375rem; }
.course-hero__facts span { display: inline-flex; align-items: center; gap: 8px; }
.course-hero__facts .i { color: var(--c-muted); }
.course-hero .cover { border-radius: var(--r-lg); box-shadow: 0 24px 48px -28px rgba(17, 24, 39, .55); }
.course-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-7); align-items: start; padding-block: var(--s-7); }
.course-main { display: grid; gap: var(--s-7); min-width: 0; }
.course-main h2 { font-size: 1.5rem; margin-bottom: var(--s-4); }
.outcomes { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-5); padding: var(--s-5); border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.outcomes li, .ticks li { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); line-height: 1.5; }
.outcomes .i, .ticks .i { color: var(--c-accent); margin-top: 2px; }
.ticks { list-style: none; display: grid; gap: var(--s-3); }
.prose { max-width: 70ch; }
.prose p, .prose li { color: var(--c-ink-2); }
.prose h2 { margin: var(--s-6) 0 var(--s-3); font-size: 1.5rem; }
.prose h3 { margin: var(--s-5) 0 var(--s-2); }
.prose ul, .prose ol { padding-left: 1.25em; margin-bottom: var(--s-4); display: grid; gap: var(--s-2); }
.prose a { font-weight: 500; }
.prose .todo { background: var(--c-sponsor-tint); color: var(--c-sponsor); padding: 0 4px; border-radius: 4px; font-weight: 600; }
.data-note { padding: var(--s-4) var(--s-5); background: var(--c-surface); border-radius: var(--r-md); font-size: .875rem; color: var(--c-ink-2); }
.data-note p { margin: 0; }
.data-note p + p { margin-top: var(--s-2); }

.buybox { position: sticky; top: calc(var(--header-h) + var(--s-5)); display: grid; gap: var(--s-4); padding: var(--s-5); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: 0 20px 40px -32px rgba(17, 24, 39, .45); }
.buybox__price { font-family: var(--f-display); font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.buybox__price--na { font-size: 1.125rem; font-family: var(--f-text); font-weight: 600; }
.buybox__pricenote { margin: -8px 0 0; color: var(--c-muted); font-size: .8125rem; }
.buybox__disclosure { margin: 0; font-size: .8125rem; color: var(--c-ink-2); display: flex; gap: var(--s-2); align-items: flex-start; }
.buybox__disclosure .i { margin-top: 1px; color: var(--c-muted); width: 16px; height: 16px; }
.facts { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--c-line); }
.facts div { display: grid; grid-template-columns: 112px 1fr; gap: var(--s-3); padding: 10px 0; border-bottom: 1px solid var(--c-line); font-size: .875rem; }
.facts dt { color: var(--c-muted); }
.facts dd { margin: 0; color: var(--c-ink); font-weight: 600; }
.buybar { display: none; }
@media (max-width: 1023px) {
  .course-hero__grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .course-hero .cover { max-width: 420px; }
  .course-body { grid-template-columns: 1fr; gap: var(--s-6); }
  .buybox { position: static; order: -1; }
  .outcomes { grid-template-columns: 1fr; }
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 -10px 24px -18px rgba(17, 24, 39, .4); }
  .buybar__price { font-weight: 700; font-variant-numeric: tabular-nums; }
  .buybar__price small { display: block; font-weight: 400; color: var(--c-muted); font-size: .75rem; }
  .buybar .btn { min-height: 46px; }
  body.has-buybar { padding-bottom: 76px; }
}

/* Podcast-adatlap */
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #111827; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.player__overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--s-3); padding: var(--s-5); text-align: center; color: #fff; background: linear-gradient(180deg, rgba(17, 24, 39, .1), rgba(17, 24, 39, .7)); }
.player__overlay p { margin: 0; max-width: 46ch; font-size: .8125rem; opacity: .92; }
.player__overlay .btn--primary { background: #fff; color: var(--c-ink); }
.player__overlay .btn--primary:hover { background: var(--c-primary-tint); color: var(--c-ink); }
.pod-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--s-7); align-items: start; padding-block: var(--s-5) var(--s-7); }
.pod-head h1 { margin-top: var(--s-3); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem); }
@media (max-width: 1023px) { .pod-head { grid-template-columns: 1fr; gap: var(--s-5); } }

/* Tanulási utak oldal */
.lp { padding-block: var(--s-7); border-top: 1px solid var(--c-line); }
.lp:first-of-type { border-top: 0; }
.lp__head { display: flex; gap: var(--s-4); align-items: flex-start; margin-bottom: var(--s-5); }
.lp__head .cat-icon { width: 48px; height: 48px; border-radius: 12px; }
.lp__goal { display: block; color: var(--c-muted); font-weight: 600; font-size: .9375rem; margin-bottom: 2px; }
.lp__intro { margin: var(--s-2) 0 0; color: var(--c-ink-2); max-width: 64ch; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--s-4); counter-reset: lp; }
.step { position: relative; counter-increment: lp; display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-5) var(--s-4) var(--s-4); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.step::before { content: counter(lp); position: absolute; top: -14px; left: var(--s-4); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-ink); color: #fff; font-size: .8125rem; font-weight: 700; }
.step--optional { border-style: dashed; }
.step--optional::before { background: #fff; color: var(--c-ink); box-shadow: inset 0 0 0 1.5px var(--c-ink); }
.step__type { color: var(--c-muted); font-size: .8125rem; font-weight: 600; }
.step h3 { font-size: 1rem; font-family: var(--f-text); font-weight: 600; line-height: 1.35; }
.step h3 a { color: var(--c-ink); text-decoration: none; }
.step h3 a::after { content: ""; position: absolute; inset: 0; }
.step:hover { border-color: var(--c-primary-tint-2); }
.step p { margin: 0; color: var(--c-ink-2); font-size: .875rem; }
.step__by { color: var(--c-muted); font-size: .8125rem; }
.lp__pods { margin-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: baseline; font-size: .9375rem; }
.lp__pods strong { font-weight: 600; }

/* Partneri jelzés, info-dobozok */
.notice { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--c-primary-tint); color: var(--c-ink); }
.notice .i { color: var(--c-primary); margin-top: 2px; }
.notice p { margin: 0; }

/* ------------------------------------------------------------------ Lábléc */
.site-footer { margin-top: var(--s-8); background: var(--c-surface); border-top: 1px solid var(--c-line); padding-block: var(--s-8) var(--s-6); color: var(--c-ink-2); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: var(--s-6); }
.footer-grid h2 { font-family: var(--f-text); font-size: .9375rem; font-weight: 600; color: var(--c-ink); letter-spacing: 0; margin-bottom: var(--s-3); }
.footer-grid ul { list-style: none; display: grid; gap: var(--s-2); }
.footer-grid a { color: var(--c-ink-2); text-decoration: none; }
.footer-grid a:hover { color: var(--c-primary); text-decoration: underline; }
.footer-brand p { margin: var(--s-3) 0 0; max-width: 36ch; font-size: .875rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--c-line); font-size: .8125rem; color: var(--c-muted); }
.footer-bottom button { border: 0; background: none; padding: 0; color: var(--c-ink-2); text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Sütisáv */
.consent { position: fixed; z-index: 90; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); max-width: 560px; padding: var(--s-5); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); }
.consent h2 { font-size: 1.125rem; margin-bottom: var(--s-2); }
.consent p { font-size: .875rem; color: var(--c-ink-2); margin-bottom: var(--s-4); }
.consent__opts { display: grid; gap: var(--s-2); margin-bottom: var(--s-4); }
.consent__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.consent__actions .btn { min-height: 44px; flex: 1 1 auto; }

/* ------------------------------------------------------------------ 404 */
.notfound { padding-block: var(--s-9); max-width: 680px; }
.notfound .search { margin: var(--s-5) 0; }

/* ------------------------------------------------------------------ Segédosztályok (inline style helyett, CSP miatt) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.u-search-wide { max-width: 720px; margin-bottom: var(--s-5); }
.u-lead-sm { margin-top: var(--s-3); color: var(--c-ink-2); }
.u-pb-6 { padding-bottom: var(--s-6); }
.u-pb-7 { padding-bottom: var(--s-7); }
.u-pb-8 { padding-bottom: var(--s-8); }
.u-mt-5 { margin-top: var(--s-5); }
.u-mw-prose { max-width: 70ch; }
.h-sm { font-size: 1.25rem; margin-bottom: var(--s-4); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.catalog__count { margin: 0; }
.search--pod { flex: 1 1 320px; max-width: 520px; }
.prose > h2:first-child { margin-top: 0; }
.player__overlay a { color: #fff; }
.cat-card__title { font-size: 1.125rem; }
.cat-card__title a { color: var(--c-ink); text-decoration: none; }
.cat-card__title a::after { content: ""; position: absolute; inset: 0; }

/* ------------------------------------------------------------------ Mobil finomítások */
@media (max-width: 599px) {
  /* Vízszintesen görgethető kártyasor ("rail") a hosszú listák helyett */
  .grid--rail {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) var(--s-3);
    scroll-padding-inline: var(--gutter); gap: var(--s-4);
    scrollbar-width: thin;
  }
  .grid--rail > * { scroll-snap-align: start; }
  /* Tömör témakör-kártyák */
  .cat-grid { gap: var(--s-2); }
  .cat-card { flex-direction: row; align-items: center; gap: var(--s-4); padding: var(--s-3) var(--s-4); }
  .cat-card p { display: none; }
  .cat-card h3, .cat-card .cat-card__title { font-size: 1rem; }
  .cat-card > div, .cat-card__text { min-width: 0; }
  .cat-card__count { margin-top: 0; margin-left: auto; text-align: right; font-weight: 600; white-space: nowrap; }
  .course-hero__media { display: none; }
}

/* Kategóriaoldal: szöveg + oldalsáv */
.cat-about { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-7); align-items: start; }
.cat-about__aside { display: grid; gap: var(--s-4); position: sticky; top: calc(var(--header-h) + var(--s-5)); }
.side-box { padding: var(--s-5); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.side-box h3 { font-size: 1rem; margin-bottom: var(--s-3); }
.side-box ul { list-style: none; display: grid; gap: var(--s-2); }
.side-box a { font-weight: 600; text-decoration: none; }
.side-box a:hover { text-decoration: underline; }
@media (max-width: 1023px) { .cat-about { grid-template-columns: 1fr; gap: var(--s-5); } .cat-about__aside { position: static; } }
/* Lejátszó tartalék háttér, ha a bélyegkép nem tölthető be */
.player { background: url("/assets/motif-podcast.svg") center / cover no-repeat, #1f1b3a; }
.player.is-broken .player__poster { display: none; }

@media (max-width: 599px) {
  .chips--scroll { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) var(--s-2); scrollbar-width: none; }
  .chips--scroll::-webkit-scrollbar { display: none; }
  .chips--scroll .chip { flex: none; }
}
