/* ============================================================
   CégPraxis – Akadémia: önképző kurzusok (/onkepzo-kurzusok lista + /onkepzo-kurzus részlet) – 2026-11-18, 30_INDITO_PROMPT_AKADEMIA.
   Az AgrárPraxis onkepzo.css-ének átvétele sötéten, az agrár onk-* osztálynevein (Views/Archivs, Views/Archiv, _OnkepzoKartya,
   _ArchivCsatolmanys; JS: onkepzo-kurzusok.js, onkepzo-kurzus.js). A hős, a gombok, a szakaszok és a --cp-* / --t-* tokenek a
   tudaster.css-ből, a kéthasábos rács és a ragadós oldalsáv a tartalom-lista.css-ből, a kereső-doboz, a szűrőgombok, a találati fejléc,
   a felhívás és a részletoldal pv-* elemei a palyazat.css-ből (mindhárom előtte töltődik). Az agrár Dashboard-tokenjei (--db-*, --k-*)
   nincsenek: a zöld helyett a bézs a kiemelőszín, a fehér kártyák helyett a CégPraxis „pillér-doboz” panelje; a kérdés–válasz videók
   jelölése a kérdés–válasz típusszíne (lila). Fehér doboz csak a keresőmező. Animáció csak transform és opacity; prefers-reduced-motion
   esetén nincs mozgás. Minden szabály az .onk-oldal szkóp alatt.
   ============================================================ */

.onk-oldal { --onk-r: 20px; --onk-r-kicsi: 14px; }
.onk-oldal img { max-width: 100%; }
.onk-oldal button { font-family: inherit; }

/* ---------- közös: lejátszás-gomb, jelvények a bélyegen, oktató, haladássáv ---------- */
.onk-oldal .onk-lejatszas {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%;
  display: grid; place-items: center; font-size: 19px;
  background: var(--cp-ikon-tele); color: var(--cp-sotet);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 12px 34px rgba(0, 0, 0, .45);
  transition: transform .35s var(--cp-atmenet);
}
.onk-oldal .onk-lejatszas i { margin-inline-start: 3px; }
.onk-oldal .onk-lejatszas::before {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 2px solid rgba(245, 212, 198, .55); animation: onk-pulzus 2.4s ease-out infinite;
}
@keyframes onk-pulzus {
  0% { transform: scale(.85); opacity: .9; }
  80%, 100% { transform: scale(1.35); opacity: 0; }
}
.onk-oldal .onk-lejatszas--nagy { width: 84px; height: 84px; margin: -42px 0 0 -42px; font-size: 25px; }
.onk-oldal .onk-lejatszas--kicsi { width: 36px; height: 36px; margin: -18px 0 0 -18px; font-size: 12px; }
.onk-oldal .onk-lejatszas--kicsi::before { inset: -5px; border-width: 1px; }
.onk-oldal .onk-lejatszas--oriasi { position: relative; left: auto; top: auto; margin: 0; width: 104px; height: 104px; font-size: 30px; }

.onk-oldal .onk-tipus,
.onk-oldal .onk-zar,
.onk-oldal .onk-hossz,
.onk-oldal .onk-kiemelt-szalag {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.2; white-space: nowrap;
}
.onk-oldal .onk-tipus { top: 14px; inset-inline-start: 14px; background: rgba(26, 24, 41, .82); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 4px 14px rgba(0, 0, 0, .3); backdrop-filter: blur(4px); }
.onk-oldal .onk-tipus i { color: var(--cp-bezs); }
.onk-oldal .is-kv .onk-tipus i { color: var(--t-kv-fg); }
.onk-oldal .onk-zar { top: 14px; inset-inline-end: 14px; background: rgba(26, 24, 41, .82); color: #fff; box-shadow: inset 0 0 0 1px rgba(228, 185, 167, .45); backdrop-filter: blur(4px); }
.onk-oldal .onk-zar i { color: var(--cp-bezs); }
.onk-oldal .onk-hossz { inset-inline-end: 14px; bottom: 14px; background: rgba(26, 24, 41, .84); color: #fff; font-variant-numeric: tabular-nums; }
.onk-oldal .onk-hossz i { color: var(--cp-bezs-vil); }

.onk-oldal .onk-haladas { position: absolute; inset-inline: 0; bottom: 0; z-index: 4; height: 5px; background: rgba(255, 255, 255, .25); }
.onk-oldal .onk-haladas[hidden] { display: none; }
.onk-oldal .onk-haladas > span { display: block; height: 100%; width: 0; background: var(--cp-bezs); transition: width .4s ease; }
.onk-oldal .onk-haladas.is-kesz > span { background: #a5e3ad; }

.onk-oldal .onk-oktato { display: inline-flex; align-items: center; gap: 11px; min-width: 0; color: inherit; }
.onk-oldal .onk-oktato-kep {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: top;
  background: var(--cp-ikon-csempe); border: 2px solid rgba(228, 185, 167, .55); box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
}
.onk-oldal .onk-oktato-monogram { display: inline-grid; place-items: center; color: var(--cp-bezs-vil); font-size: 14px; font-weight: 800; }
.onk-oldal .onk-oktato-szoveg { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.onk-oldal .onk-oktato-nev { color: #fff; font-size: 14.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.onk-oldal .onk-oktato-al { color: rgba(255, 255, 255, .66); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.onk-oldal a.onk-oktato:hover .onk-oktato-nev { color: var(--cp-bezs-vil); }
.onk-oldal .onk-oktato--sotet .onk-oktato-kep { border-color: rgba(255, 255, 255, .7); }

/* ---------- kurzuskártya ---------- */
.onk-oldal .onk-racs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; position: relative; z-index: 2; }
.onk-oldal .onk-kartya {
  position: relative; z-index: 1; isolation: isolate; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border-radius: var(--onk-r); background: var(--cp-felulet); box-shadow: inset 0 0 0 1px var(--cp-s-keret-2), var(--cp-s-arnyek);
  transition: transform .35s var(--cp-atmenet), box-shadow .35s;
}
.onk-oldal .onk-kartya::before { content: ""; position: absolute; z-index: 4; top: 0; left: 8%; right: 8%; height: 1px; background: var(--cp-feny-csik); opacity: .7; pointer-events: none; }
.onk-oldal .onk-kartya[hidden] { display: none; }
.onk-oldal .onk-kartya:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(228, 185, 167, .5), var(--cp-s-arnyek-emelt); }
.onk-oldal .onk-kartya-kep { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--cp-sotet-3); }
.onk-oldal .onk-kartya-kep img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--cp-atmenet); }
.onk-oldal .onk-kartya-kep::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(26, 24, 41, .1) 0%, rgba(26, 24, 41, 0) 40%, rgba(26, 24, 41, .7) 100%);
}
.onk-oldal .onk-kartya:hover .onk-kartya-kep img { transform: scale(1.06); }
.onk-oldal .onk-kartya:hover .onk-lejatszas { transform: scale(1.1); }
.onk-oldal .onk-kartya-test { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; padding: 22px 24px 20px; overflow: hidden; }
.onk-oldal .onk-kartya-test > .tt-disz .bg-shape-2 { top: auto; inset-inline-start: auto; bottom: -30px; inset-inline-end: -30px; max-width: 170px; opacity: .35; }
.onk-oldal .onk-kartya-meta { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; color: rgba(255, 255, 255, .7); font-size: 13px; }
.onk-oldal .onk-kartya-meta i { color: var(--cp-bezs); margin-inline-end: 3px; }
.onk-oldal .onk-cimke {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; max-width: 100%;
  background: var(--t-cikk-bg); box-shadow: inset 0 0 0 1px var(--t-cikk-ker); color: var(--t-cikk-fg); font-size: 12px; font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.onk-oldal .onk-kartya .onk-kartya-cim {
  position: relative; margin: 0 0 10px; font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.onk-oldal .onk-kartya-cim a { color: #fff; }
.onk-oldal .onk-kartya-cim a:hover, .onk-oldal .onk-kartya:hover .onk-kartya-cim a { color: var(--cp-bezs-vil); }
.onk-oldal .onk-kartya-lead {
  position: relative; margin: 0 0 18px; color: rgba(255, 255, 255, .76); font-size: 14.5px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.onk-oldal .onk-kartya-lab {
  position: relative; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-top: 16px; border-top: 1px solid var(--cp-s-keret-2);
}
.onk-oldal .onk-kartya-tovabb {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  color: var(--cp-bezs-vil); font-size: 14.5px; font-weight: 700; white-space: nowrap;
}
.onk-oldal .onk-kartya-tovabb i { transition: transform .25s var(--cp-atmenet); }
.onk-oldal .onk-kartya:hover .onk-kartya-tovabb { color: #fff; }
.onk-oldal .onk-kartya:hover .onk-kartya-tovabb i { transform: translateX(4px); }
.onk-oldal mark.onk-jelol { padding: 0 2px; border-radius: 4px; background: rgba(228, 185, 167, .32); color: inherit; }

/* ================= LISTA ================= */
/* ---------- 1. bevezető + kiemelt kurzus ---------- */
.onk-lista .onk-bev-racs { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.onk-lista .onk-bev-racs--egy { grid-template-columns: minmax(0, 1fr); text-align: center; }
.onk-lista .onk-bev-cim { margin: 14px 0 0; color: #fff; font-size: clamp(28px, 2.8vw, 41px); font-weight: 500; line-height: 1.16; letter-spacing: -.025em; }
.onk-lista .onk-bev-cim em {
  font-style: normal; color: var(--cp-bezs);
  background: linear-gradient(95deg, var(--cp-bezs-vil) 0%, var(--cp-bezs) 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.onk-lista .onk-bev-leiras { margin: 18px 0 0; max-width: 600px; color: rgba(255, 255, 255, .76); font-size: 16.5px; line-height: 1.65; }
.onk-lista .onk-bev-racs--egy .onk-bev-leiras { margin-inline: auto; }
.onk-lista .onk-tenyek { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; text-align: start; }
.onk-lista .onk-tenyek li {
  display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 16px; border-radius: var(--onk-r-kicsi);
  background: var(--cp-uveg); box-shadow: inset 0 0 0 1px var(--cp-s-keret-2);
}
.onk-lista .onk-tenyek i {
  flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 19px;
  color: var(--cp-bezs-vil); background: var(--cp-ikon-csempe); box-shadow: inset 0 0 0 1px rgba(228, 185, 167, .35);
}
.onk-lista .onk-tenyek span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.onk-lista .onk-tenyek b { color: #fff; font-size: 16px; font-weight: 700; }
.onk-lista .onk-tenyek small { color: rgba(255, 255, 255, .68); font-size: 13px; }

.onk-lista .onk-kiemelt {
  position: relative; z-index: 1; isolation: isolate; overflow: hidden; border-radius: 26px; color: #fff;
  background: radial-gradient(70% 90% at 100% 0%, rgba(228, 185, 167, .16), transparent 60%),
    linear-gradient(150deg, color-mix(in srgb, var(--cp-sotet-3) 70%, var(--cp-lila)) 0%, var(--cp-sotet-2) 52%, var(--cp-sotet) 100%);
  box-shadow: inset 0 0 0 1px rgba(228, 185, 167, .28), 0 34px 80px -20px rgba(0, 0, 0, .75);
}
.onk-lista .onk-kiemelt::after { content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: var(--cp-feny-csik); opacity: .85; pointer-events: none; }
.onk-lista .onk-kiemelt > .tt-disz .bg-shape-1 { max-width: 300px; opacity: .5; }
.onk-lista .onk-kiemelt > .tt-disz .bg-shape-2 { top: auto; inset-inline-start: auto; bottom: 0; inset-inline-end: 0; max-width: 260px; opacity: .45; }
.onk-lista .onk-kiemelt-kep {
  position: relative; display: block; aspect-ratio: 16 / 9; margin: 14px 14px 0; overflow: hidden;
  border-radius: 18px; background: #000; box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.onk-lista .onk-kiemelt-kep img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--cp-atmenet); }
.onk-lista .onk-kiemelt-kep::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(26, 24, 41, 0) 45%, rgba(26, 24, 41, .6) 100%);
}
.onk-lista .onk-kiemelt-kep:hover img { transform: scale(1.04); }
.onk-lista .onk-kiemelt-kep:hover .onk-lejatszas { transform: scale(1.08); }
.onk-lista .onk-kiemelt-szalag {
  top: 14px; inset-inline-start: 14px; background: var(--cp-ikon-tele); color: var(--cp-sotet);
  text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; box-shadow: 0 6px 18px rgba(228, 185, 167, .35);
}
.onk-lista .onk-kiemelt-test { position: relative; z-index: 2; padding: 22px 28px 26px; }
.onk-lista .onk-kiemelt-felcim {
  display: inline-flex; align-items: center; gap: 8px; color: var(--cp-bezs-vil);
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.onk-lista .onk-kiemelt-felcim i { color: var(--cp-bezs); }
.onk-lista .onk-kiemelt .onk-kiemelt-cim { margin: 10px 0 20px; color: #fff; font-size: clamp(21px, 1.9vw, 27px); font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.onk-lista .onk-kiemelt-cim a { color: #fff; }
.onk-lista .onk-kiemelt-cim a:hover { color: var(--cp-bezs-vil); }
.onk-lista .onk-kiemelt-lab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.onk-lista .onk-reszek {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12);
}
.onk-lista .onk-reszek-cim { color: rgba(255, 255, 255, .68); font-size: 13px; }
.onk-lista .onk-resz {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); color: #fff; font-size: 13.5px; font-weight: 600;
}
.onk-lista .onk-resz i { color: var(--cp-bezs); font-size: 11px; }
.onk-lista .onk-resz:hover { box-shadow: inset 0 0 0 1px var(--cp-bezs); color: var(--cp-bezs-vil); }

/* kategória-irányválasztó (a palyazat.css .ak-dir gombjai) */
.onk-lista .onk-dir { margin-top: 40px; }
.onk-lista .onk-dir-db {
  display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .86); font-size: 12px; font-weight: 700;
}
.onk-lista .ak-dir button.is-active { border-color: #fff; background: #fff; color: var(--cp-sotet); }
.onk-lista .ak-dir button.is-active i { color: var(--cp-barna); }
.onk-lista .ak-dir button.is-active .onk-dir-db { background: var(--cp-bezs-vil); color: var(--cp-sotet); }

/* ---------- 2. kereső (a palyazat.css .ak-searchbox-a) ---------- */
.onk-lista .ak-quick button.is-active { background: #fff; border-color: #fff; color: var(--cp-sotet); }
.onk-lista .ak-fbtn i { margin-inline-end: 4px; color: var(--cp-bezs); }
.onk-lista .ak-fbtn.is-active i { color: var(--cp-barna); }
.onk-lista .ak-fbtn.is-ures { opacity: .4; cursor: default; }
.onk-lista .ak-fbtn.is-ures:hover { border-color: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .92); }

/* ---------- 3. kurzusok ---------- */
.onk-lista .onk-kurzusok { position: relative; }
.onk-lista .onk-tobb-sav { display: flex; justify-content: center; margin-top: 44px; position: relative; z-index: 2; }
.onk-lista .onk-tobb-sav [hidden] { display: none; }
.onk-lista .ak-noresult { position: relative; z-index: 2; margin-top: 10px; }
.onk-lista .onk-segitseg {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px;
  margin: 44px 0 0; color: rgba(255, 255, 255, .8); font-size: 15px; text-align: center;
}
.onk-lista .onk-segitseg i { color: var(--cp-bezs); font-size: 18px; }
.onk-lista .onk-segitseg a { color: var(--cp-bezs-vil); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.onk-lista .onk-segitseg a:hover { color: #fff; }

/* ---------- 4. előfizetői felhívás (a palyazat.css .ak-flags panelje) ---------- */
.onk-lista .onk-felhivas { text-align: center; }
.onk-lista .onk-felhivas > p { margin: 0 auto 22px; max-width: 760px; }
.onk-lista .onk-felhivas-gombok { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ================= RÉSZLETOLDAL ================= */
.onk-reszlet .tt-hero h1.onk-cim--hosszu { font-size: clamp(28px, 3vw, 38px); line-height: 1.18; }
.onk-reszlet .onk-jelvenyek { margin-bottom: 4px; }
.onk-reszlet .onk-reszlet-szakasz { position: relative; }

/* ---------- lejátszó ---------- */
.onk-reszlet .onk-lejatszo {
  position: relative; isolation: isolate; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 24px; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 34px 80px -24px rgba(0, 0, 0, .8);
}
.onk-reszlet .onk-video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }
.onk-reszlet .onk-fedo {
  position: absolute; inset: 0; z-index: 2; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  background: var(--cp-sotet-3); transition: opacity .35s ease, visibility .35s ease;
}
.onk-reszlet .onk-fedo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--cp-atmenet); }
.onk-reszlet .onk-fedo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle at 50% 50%, rgba(26, 24, 41, .14) 0%, rgba(26, 24, 41, .64) 100%);
}
.onk-reszlet .onk-fedo:hover img { transform: scale(1.03); }
.onk-reszlet .onk-fedo:hover .onk-lejatszas, .onk-reszlet .onk-fedo:focus-visible .onk-lejatszas { transform: scale(1.08); }
.onk-reszlet .onk-fedo-kozep { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.onk-reszlet .onk-fedo-felirat {
  padding: 9px 18px; border-radius: 999px; background: rgba(26, 24, 41, .78); color: #fff; box-shadow: inset 0 0 0 1px rgba(228, 185, 167, .35);
  font-size: 15px; font-weight: 700; backdrop-filter: blur(6px); font-variant-numeric: tabular-nums;
}
.onk-reszlet .onk-lejatszo.is-indult .onk-fedo { opacity: 0; visibility: hidden; pointer-events: none; }
.onk-reszlet .onk-lejatszo-hiba {
  position: absolute; inset-inline: 16px; bottom: 16px; z-index: 5; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 12px; background: rgba(150, 40, 40, .94); color: #fff; font-size: 14.5px; font-weight: 600;
}
/* zárt (vendég, kevés csomag) */
.onk-reszlet .onk-zarolt { position: absolute; inset: 0; background: var(--cp-sotet-3); }
.onk-reszlet .onk-zarolt > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(3px) brightness(.4) saturate(.8); transform: scale(1.06); }
.onk-reszlet .onk-zarolt::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26, 24, 41, .3) 0%, rgba(26, 24, 41, .84) 100%);
}
.onk-reszlet .onk-zarolt-kozep {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 28px; text-align: center; color: #fff;
}
.onk-reszlet .onk-zarolt-kozep .onk-lejatszas { cursor: pointer; }
.onk-reszlet .onk-zarolt-kozep .onk-lejatszas i { margin: 0; }
.onk-reszlet .onk-zarolt-kozep .onk-lejatszas:hover { transform: scale(1.06); }
.onk-reszlet .onk-zarolt-kozep h3 { margin: 22px 0 8px; color: #fff; font-size: clamp(20px, 2vw, 27px); font-weight: 500; }
.onk-reszlet .onk-zarolt-kozep p { max-width: 540px; margin: 0 0 22px; color: rgba(255, 255, 255, .84); font-size: 15.5px; }
.onk-oldal .onk-zarolt-gombok { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; position: relative; z-index: 2; }
.onk-oldal .onk-gomb-atlatszo {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); color: #fff; font-size: 15px; font-weight: 600;
}
.onk-oldal .onk-gomb-atlatszo:hover { box-shadow: inset 0 0 0 1px var(--cp-bezs); color: var(--cp-bezs-vil); }

/* ---------- a lejátszó alatti sáv ---------- */
.onk-reszlet .onk-infosav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin: 22px 0 36px; padding: 16px 20px; border-radius: 18px;
  background: var(--cp-uveg); box-shadow: inset 0 0 0 1px var(--cp-s-keret-2);
}
.onk-reszlet .onk-infosav-oktatok { display: flex; flex-wrap: wrap; gap: 12px 24px; min-width: 0; }
.onk-reszlet .onk-infosav-jobb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.onk-reszlet .onk-sebesseg, .onk-reszlet .onk-megosztas { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .7); font-size: 13px; }
.onk-reszlet .onk-sebesseg span, .onk-reszlet .onk-megosztas span { margin-inline-end: 2px; }
.onk-reszlet .onk-sebesseg button {
  min-width: 42px; height: 32px; padding: 0 9px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; font-size: 13px; font-weight: 700;
}
.onk-reszlet .onk-sebesseg button:hover { border-color: var(--cp-bezs); color: var(--cp-bezs-vil); }
.onk-reszlet .onk-sebesseg button.is-active { background: var(--cp-bezs); border-color: var(--cp-bezs); color: var(--cp-sotet); }
.onk-reszlet .onk-megosztas a, .onk-reszlet .onk-megosztas button {
  width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff; font-size: 14px;
}
.onk-reszlet .onk-megosztas a:hover, .onk-reszlet .onk-megosztas button:hover { border-color: var(--cp-bezs); color: var(--cp-bezs-vil); }
.onk-reszlet .onk-megosztas button.is-masolva { border-color: var(--cp-bezs); background: var(--cp-bezs); color: var(--cp-sotet); }

/* ---------- a kurzus leírása ---------- */
.onk-reszlet .onk-lead {
  margin: 0 0 26px; padding: 4px 0 4px 20px; border-inline-start: 4px solid var(--cp-bezs);
  color: #fff; font-size: 18px; line-height: 1.65; font-weight: 500;
}
.onk-reszlet .onk-temak {
  margin: 0 0 30px; padding: 22px 26px; border-radius: 18px;
  background: var(--t-cikk-bg); box-shadow: inset 0 0 0 1px var(--t-cikk-ker);
}
.onk-reszlet .onk-temak-cim { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; color: #fff; font-size: 15px; font-weight: 800; }
.onk-reszlet .onk-temak-cim i { color: var(--cp-bezs); }
.onk-reszlet .onk-temak ol { list-style: none; margin: 0; padding: 0; counter-reset: onk-tema; display: grid; gap: 4px; }
.onk-reszlet .onk-temak li { counter-increment: onk-tema; margin: 0; }
.onk-reszlet .onk-temak a {
  display: flex; align-items: flex-start; gap: 12px; padding: 7px 10px; border-radius: 10px;
  color: rgba(255, 255, 255, .86); font-size: 15px; line-height: 1.45;
}
.onk-reszlet .onk-temak a::before {
  content: counter(onk-tema); flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cp-ikon-tele); color: var(--cp-sotet); font-size: 12.5px; font-weight: 800;
}
.onk-reszlet .onk-temak a:hover { background: rgba(255, 255, 255, .06); color: var(--cp-bezs-vil); }
.onk-reszlet .onk-tartalom h2 { margin: 30px 0 12px; color: #fff; font-size: 23px; font-weight: 600; line-height: 1.3; scroll-margin-top: 120px; }
.onk-reszlet .onk-tartalom h3 { margin: 24px 0 10px; color: #fff; font-size: 19px; }
.onk-reszlet .onk-tartalom ul, .onk-reszlet .onk-tartalom ol { margin: 0 0 16px; padding-inline-start: 22px; }
.onk-reszlet .onk-tartalom li { margin-bottom: 6px; }
.onk-reszlet .onk-tartalom a { color: var(--cp-bezs-vil); text-decoration: underline; text-underline-offset: 3px; }
.onk-reszlet .onk-cimkek { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; color: rgba(255, 255, 255, .68); font-size: 13.5px; }
.onk-reszlet .onk-cimkek a {
  padding: 6px 13px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  color: #fff; font-size: 13px; font-weight: 600;
}
.onk-reszlet .onk-cimkek a:hover { box-shadow: inset 0 0 0 1px var(--cp-bezs); color: var(--cp-bezs-vil); }

/* ---------- a szakmai nap videói ---------- */
.onk-reszlet .onk-esemeny-al { margin: -6px 0 16px; color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.onk-reszlet .onk-esemeny-lista { display: grid; gap: 12px; }
.onk-reszlet .onk-esemeny-sor {
  position: relative; display: flex; align-items: center; gap: 18px; padding: 12px; border-radius: 16px;
  background: var(--cp-uveg); box-shadow: inset 0 0 0 1px var(--cp-s-keret-2); color: inherit;
  transition: transform .25s var(--cp-atmenet);
}
.onk-reszlet a.onk-esemeny-sor:hover { box-shadow: inset 0 0 0 1px rgba(228, 185, 167, .5), var(--cp-s-arnyek); transform: translateY(-2px); }
.onk-reszlet .onk-esemeny-sor.is-most { background: var(--t-cikk-bg); box-shadow: inset 0 0 0 1px var(--t-cikk-ker); }
.onk-reszlet .onk-esemeny-kep { position: relative; flex: 0 0 168px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 11px; background: var(--cp-sotet-3); }
.onk-reszlet .onk-esemeny-kep img { width: 100%; height: 100%; object-fit: cover; }
.onk-reszlet .onk-esemeny-jel {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(26, 24, 41, .66); color: #fff; font-size: 13px; font-weight: 700;
}
.onk-reszlet .onk-esemeny-jel i { color: var(--cp-bezs); }
.onk-reszlet .onk-esemeny-szoveg { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1 1 auto; }
.onk-reszlet .onk-esemeny-tipus { color: rgba(255, 255, 255, .7); font-size: 13px; font-weight: 600; }
.onk-reszlet .onk-esemeny-tipus i { color: var(--cp-bezs); margin-inline-end: 3px; }
.onk-reszlet .onk-esemeny-cim { color: #fff; font-size: 16px; font-weight: 700; line-height: 1.35; }
.onk-reszlet a.onk-esemeny-sor:hover .onk-esemeny-cim { color: var(--cp-bezs-vil); }
.onk-reszlet .onk-esemeny-nyil { flex: 0 0 auto; margin-inline-end: 8px; color: var(--cp-bezs); font-size: 18px; transition: transform .25s var(--cp-atmenet); }
.onk-reszlet a.onk-esemeny-sor:hover .onk-esemeny-nyil { transform: translateX(4px); }

/* ---------- kérdés a szakértőnek (meleg, mintás panel) ---------- */
.onk-reszlet .onk-kerdes {
  position: relative; z-index: 1; isolation: isolate; overflow: hidden; margin-top: 10px; padding: 34px 34px 30px; border-radius: 22px; color: #fff;
  background: radial-gradient(90% 90% at 100% 0%, rgba(228, 185, 167, .2), transparent 62%), linear-gradient(160deg, var(--cp-meleg) 0%, var(--cp-sotet-2) 100%);
  box-shadow: inset 0 0 0 1px rgba(228, 185, 167, .34), 0 24px 60px -20px rgba(0, 0, 0, .7);
}
.onk-reszlet .onk-kerdes > :not(.tt-diszek) { position: relative; z-index: 2; }
.onk-reszlet .onk-kerdes-fej { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 22px; }
.onk-reszlet .onk-kerdes-ikon {
  flex: 0 0 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 24px;
  background: var(--cp-ikon-tele); color: var(--cp-sotet);
}
.onk-reszlet .onk-kerdes h3 { margin: 2px 0 6px; color: #fff; font-size: 24px; font-weight: 600; }
.onk-reszlet .onk-kerdes p { margin: 0; color: rgba(255, 255, 255, .84); font-size: 15px; }
.onk-reszlet .onk-kerdes p a { color: var(--cp-bezs-vil); text-decoration: underline; text-underline-offset: 3px; }
.onk-reszlet .onk-kerdes .form-label { color: rgba(255, 255, 255, .88); font-size: 14px; font-weight: 600; }
/* a mezők sötéten (fehér doboz csak a keresőmező), a natív legördülő bézs nyíllal (a nice-select-et az onkepzo-kurzus.js kikapcsolja) */
.onk-reszlet .onk-kerdes .form-control, .onk-reszlet .onk-kerdes .form-select {
  min-height: 50px; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px;
  background-color: rgba(255, 255, 255, .07); color: #fff; font-family: inherit; font-size: 15px; box-shadow: none;
}
.onk-reszlet .onk-kerdes .form-select {
  padding-inline-end: 44px; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23e4b9a7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px;
}
.onk-reszlet .onk-kerdes .form-select option { background: var(--cp-sotet-2); color: #fff; }
.onk-reszlet .onk-kerdes .form-control::placeholder { color: rgba(255, 255, 255, .55); }
.onk-reszlet .onk-kerdes .form-control:focus, .onk-reszlet .onk-kerdes .form-select:focus {
  border-color: var(--cp-bezs); background-color: rgba(255, 255, 255, .09); color: #fff; box-shadow: 0 0 0 3px rgba(228, 185, 167, .22);
}
.onk-reszlet .onk-kerdes textarea.form-control { min-height: 130px; }
.onk-reszlet .onk-kerdes .was-validated .form-control:invalid, .onk-reszlet .onk-kerdes .was-validated .form-select:invalid { border-color: #ffb4a8; background-image: none; }
.onk-reszlet .onk-kerdes .was-validated .form-select:invalid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23e4b9a7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.onk-reszlet .onk-kerdes .was-validated .form-control:valid, .onk-reszlet .onk-kerdes .was-validated .form-select:valid { border-color: rgba(205, 189, 245, .6); }
.onk-reszlet .onk-kerdes .was-validated .form-control:valid { background-image: none; }
.onk-reszlet .onk-kerdes .invalid-feedback { color: #ffb4a8; }
.onk-reszlet .onk-kerdes--vendeg .onk-zarolt-gombok { justify-content: flex-start; }

/* ---------- oldalsáv ---------- */
.onk-reszlet .onk-adatok-fej { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.onk-reszlet .onk-adatok-ikon {
  flex: 0 0 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 22px;
  background: var(--cp-ikon-tele); color: var(--cp-sotet);
}
.onk-reszlet .onk-adatok-fej .pv-widget-title { margin: 0; }
.onk-reszlet .onk-adatok-fej .pv-widget-sub { margin: 2px 0 0; }
.onk-reszlet .onk-adatok .pv-info-list { margin-top: 8px; }
.onk-reszlet .onk-adatok .onk-adatok-gomb { width: 100%; justify-content: space-between; margin: 18px 0 12px; }

.onk-reszlet .onk-modul {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; margin-top: 8px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--cp-s-keret-2); color: #fff; font-size: 14.5px; font-weight: 700; line-height: 1.3;
}
.onk-reszlet .onk-modul-ikon {
  flex: 0 0 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--cp-ikon-csempe); color: var(--cp-bezs-vil); font-size: 16px;
}
.onk-reszlet .onk-modul-nev { flex: 1 1 auto; min-width: 0; }
.onk-reszlet .onk-modul > i { color: var(--cp-bezs); transition: transform .2s var(--cp-atmenet); }
.onk-reszlet .onk-modul:hover { box-shadow: inset 0 0 0 1px var(--cp-bezs); color: var(--cp-bezs-vil); }
.onk-reszlet .onk-modul:hover > i { transform: translateX(3px); }

.onk-reszlet .onk-oktatokartya-sor + .onk-oktatokartya-sor { margin-top: 18px; padding-top: 18px; border-top: 1px dashed rgba(255, 255, 255, .16); }
.onk-reszlet .onk-oktatokartya .pv-widget-title { margin-bottom: 14px; }
.onk-reszlet .onk-oktato--nagy .onk-oktato-kep { flex-basis: 64px; width: 64px; height: 64px; }
.onk-reszlet .onk-oktato--nagy .onk-oktato-nev { font-size: 16px; white-space: normal; }
.onk-reszlet .onk-oktato--nagy .onk-oktato-al { white-space: normal; }
.onk-reszlet .onk-oktatokartya-bio { margin: 12px 0 0; color: rgba(255, 255, 255, .78); font-size: 14px; line-height: 1.6; }
.onk-reszlet .onk-oktatokartya-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; color: var(--cp-bezs-vil); font-size: 14px; font-weight: 700; }
.onk-reszlet .onk-oktatokartya-link i { transition: transform .2s var(--cp-atmenet); }
.onk-reszlet .onk-oktatokartya-link:hover { color: #fff; }
.onk-reszlet .onk-oktatokartya-link:hover i { transform: translateX(3px); }

.onk-reszlet .onk-mellekletek-db {
  display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .86); font-size: 12px; font-weight: 700;
}
.onk-reszlet .onk-melleklet-lista { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.onk-reszlet .onk-melleklet-lista li { margin: 0; }
.onk-reszlet .onk-melleklet {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer;
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--cp-s-keret-2); color: #fff;
}
.onk-reszlet .onk-melleklet:hover { box-shadow: inset 0 0 0 1px var(--cp-bezs); color: #fff; }
.onk-reszlet .onk-melleklet-ikon { flex: 0 0 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); }
.onk-reszlet .onk-melleklet-ikon--pdf { background: rgba(255, 140, 120, .18); color: #ffb4a8; }
.onk-reszlet .onk-melleklet-ikon--word { background: rgba(120, 160, 255, .2); color: #c3d3ff; }
.onk-reszlet .onk-melleklet-ikon--excel { background: rgba(120, 210, 150, .18); color: #a5e3ad; }
.onk-reszlet .onk-melleklet-nev { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; font-size: 14px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.onk-reszlet .onk-melleklet-nev small { color: rgba(255, 255, 255, .64); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.onk-reszlet .onk-melleklet-le { color: var(--cp-bezs); }

/* ---------- hasonló kurzusok ---------- */
.onk-reszlet .onk-hasonlok { padding-top: 10px; }
.onk-reszlet .onk-hasonlok .tt-szekcio-fej { flex-wrap: wrap; }

/* ---------- reszponzív ---------- */
@media (max-width: 1199px) {
  .onk-oldal .onk-racs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .onk-lista .onk-bev-racs { gap: 36px; }
}
@media (max-width: 991px) {
  .onk-lista .onk-bev-racs { grid-template-columns: minmax(0, 1fr); }
  .onk-lista .onk-bev-leiras { max-width: none; }
  .onk-reszlet .onk-lejatszo { border-radius: 18px; }
}
@media (max-width: 767px) {
  .onk-oldal .onk-racs { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .onk-oldal .onk-kartya-test { padding: 18px 18px 16px; }
  .onk-oldal .onk-kartya .onk-kartya-cim { font-size: 18.5px; }
  .onk-lista .onk-tenyek { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .onk-lista .onk-kiemelt { border-radius: 20px; }
  .onk-lista .onk-kiemelt-test { padding: 18px 18px 20px; }
  .onk-lista .onk-kiemelt-lab .tt-gomb { width: 100%; justify-content: space-between; }
  /* a szűrőcsoportok és a kategória-gombok egy sorban, vízszintesen görgetve (különben a kereső több képernyőnyi) */
  .onk-lista .ak-fbtns, .onk-lista .onk-dir {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain;
    margin-inline: -16px; padding: 2px 16px 8px; scrollbar-width: thin; -webkit-overflow-scrolling: touch;
  }
  .onk-lista .ak-fbtn, .onk-lista .onk-dir button { flex: 0 0 auto; white-space: nowrap; }
  .onk-lista .onk-dir { margin-top: 28px; padding-top: 6px; }
  .onk-oldal .onk-lejatszas--nagy { width: 66px; height: 66px; margin: -33px 0 0 -33px; font-size: 20px; }
  .onk-oldal .onk-lejatszas--oriasi { width: 74px; height: 74px; font-size: 22px; }
  .onk-reszlet .onk-fedo-kozep { gap: 12px; }
  .onk-reszlet .onk-fedo-felirat { font-size: 13.5px; padding: 7px 14px; }
  /* zárt lejátszó: a szöveg nem fér a 16:9-be → a doboz a tartalomhoz igazodik */
  .onk-reszlet .onk-lejatszo--zarolt { aspect-ratio: auto; }
  .onk-reszlet .onk-lejatszo--zarolt .onk-zarolt { position: relative; }
  .onk-reszlet .onk-lejatszo--zarolt .onk-zarolt-kozep { position: relative; padding: 34px 20px 30px; }
  .onk-reszlet .onk-zarolt-kozep p { font-size: 14.5px; }
  .onk-reszlet .onk-infosav { padding: 14px 16px; }
  .onk-reszlet .onk-lead { font-size: 16.5px; padding-inline-start: 14px; }
  .onk-reszlet .onk-temak { padding: 18px 16px; }
  .onk-reszlet .onk-esemeny-sor { gap: 12px; padding: 10px; }
  .onk-reszlet .onk-esemeny-kep { flex-basis: 112px; }
  .onk-reszlet .onk-esemeny-cim { font-size: 14.5px; }
  .onk-reszlet .onk-esemeny-nyil { display: none; }
  .onk-reszlet .onk-kerdes { padding: 24px 18px 22px; }
  .onk-reszlet .onk-kerdes-fej { flex-direction: column; gap: 12px; }
  .onk-reszlet .onk-kerdes h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .onk-oldal .onk-lejatszas::before { animation: none; }
  .onk-oldal .onk-kartya, .onk-oldal .onk-kartya-kep img, .onk-lista .onk-kiemelt-kep img, .onk-reszlet .onk-fedo img { transition: none; }
  .onk-oldal .onk-kartya:hover, .onk-oldal .onk-kartya:hover .onk-kartya-kep img, .onk-oldal .onk-kartya:hover .onk-lejatszas { transform: none; }
}
