/* ============================================================
   AgrárPraxis – Önképző kurzusok (/onkepzo-kurzusok lista + /onkepzo-kurzus részlet) – 2026-11-12
   A Dashboard (.db-oldal, dashboard.css) tokenjeivel és a bexon elemeivel; a lista az /iratmintak ak-* keresőjét és tényeit, a
   részletoldal a pv-* vázat (palyazat-v2-detail.css) használja. Minden saját szabály az .onk-oldal szkóp alatt van.
   Színek: csak a --db-* / --k-* tokenek és a téma --tj-color-* változói (a kérdés–válasz videók jelölése a tanácsadói türkiz).
   ============================================================ */

.onk-oldal { --onk-r: 20px; --onk-r-kicsi: 14px; }
.onk-oldal img { max-width: 100%; }

/* ---------- 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: rgba(255, 255, 255, .94); color: var(--db-zold);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
  transition: transform .35s ease, background-color .35s ease, color .35s ease;
}
.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(255, 255, 255, .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; }
}
@media (prefers-reduced-motion: reduce) { .onk-oldal .onk-lejatszas::before { animation: none; } }
.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(255, 255, 255, .95); color: var(--db-cim); box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.onk-oldal .onk-tipus i { color: var(--db-zold); }
.onk-oldal .is-kv .onk-tipus i { color: var(--k-tanacsadoi); }
.onk-oldal .onk-zar { top: 14px; inset-inline-end: 14px; background: rgba(12, 29, 30, .78); color: #fff; backdrop-filter: blur(4px); }
.onk-oldal .onk-zar i { color: var(--k-emlekezteto); }
.onk-oldal .onk-hossz { inset-inline-end: 14px; bottom: 14px; background: rgba(12, 29, 30, .8); color: #fff; font-variant-numeric: tabular-nums; }
.onk-oldal .onk-hossz i { color: #bfe3c4; }

.onk-oldal .onk-haladas { position: absolute; inset-inline: 0; bottom: 0; z-index: 4; height: 5px; background: rgba(255, 255, 255, .35); }
.onk-oldal .onk-haladas[hidden] { display: none; }
.onk-oldal .onk-haladas > span { display: block; height: 100%; width: 0; background: var(--k-emlekezteto); transition: width .4s ease; }
.onk-oldal .onk-haladas.is-kesz > span { background: #7fd493; }

.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(--db-hatter); border: 2px solid #fff; box-shadow: 0 3px 10px rgba(12, 29, 30, .14);
}
.onk-oldal .onk-oktato-monogram { display: inline-grid; place-items: center; color: var(--db-zold); 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: var(--db-cim); font-size: 14.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.onk-oldal .onk-oktato-al { color: var(--db-halvany); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.onk-oldal a.onk-oktato:hover .onk-oktato-nev { color: var(--db-zold); }
.onk-oldal .onk-oktato--sotet .onk-oktato-kep { border-color: rgba(255, 255, 255, .85); }
.onk-oldal .onk-oktato--sotet .onk-oktato-nev { color: #fff; }
.onk-oldal .onk-oktato--sotet .onk-oktato-al { color: rgba(255, 255, 255, .66); }

/* ---------- kurzuskártya ---------- */
.onk-oldal .onk-racs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; 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;
  background: #fff; border: 1px solid var(--db-keret-halvany); border-radius: var(--onk-r);
  box-shadow: var(--db-arnyek-kicsi); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.onk-oldal .onk-kartya[hidden] { display: none; }
.onk-oldal .onk-kartya:hover { transform: translateY(-6px); box-shadow: var(--db-arnyek); border-color: transparent; }
.onk-oldal .onk-kartya-kep { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--db-sotet); }
.onk-oldal .onk-kartya-kep img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.onk-oldal .onk-kartya-kep::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 29, 30, .08) 0%, rgba(12, 29, 30, 0) 40%, rgba(12, 29, 30, .62) 100%);
  transition: background-color .35s ease;
}
.onk-oldal .onk-kartya:hover .onk-kartya-kep img { transform: scale(1.06); }
.onk-oldal .onk-kartya:hover .onk-kartya-kep::after { background-color: rgba(12, 29, 30, .18); }
.onk-oldal .onk-kartya:hover .onk-lejatszas { transform: scale(1.1); background: var(--db-zold); color: #fff; }
.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 > .bg-shape-2 {
  top: auto; inset-inline-start: auto; bottom: -30px; inset-inline-end: -30px; z-index: -1;
  max-width: 170px; opacity: .45; pointer-events: none;
}
.onk-oldal .onk-kartya-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; color: var(--db-halvany); font-size: 13px; }
.onk-oldal .onk-kartya-meta i { color: var(--db-zold); 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(--k-palyazat-bg); color: var(--k-palyazat-fg); font-size: 12px; font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.onk-oldal .onk-kartya-cim {
  margin: 0 0 10px; font-size: 20px; 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: var(--db-cim); transition: color .2s; }
.onk-oldal .onk-kartya-cim a:hover { color: var(--db-zold); }
.onk-oldal .onk-kartya-lead {
  margin: 0 0 18px; color: var(--db-szoveg); 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 {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-top: 16px; border-top: 1px solid var(--db-keret-halvany);
}
.onk-oldal .onk-kartya-tovabb {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  color: var(--db-zold); font-size: 14.5px; font-weight: 700; white-space: nowrap;
}
.onk-oldal .onk-kartya-tovabb i { transition: transform .25s ease; }
.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(75, 129, 77, .2); color: inherit; }

/* ================= LISTA ================= */
/* ---------- 1. bevezető + kiemelt kurzus ---------- */
.onk-lista .onk-bevezeto { padding-bottom: 0; }
.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-szoveg .sec-heading { margin-bottom: 0; text-align: start; }
.onk-lista .onk-bev-racs--egy .onk-bev-szoveg .sec-heading { text-align: center; }
.onk-lista .onk-bev-szoveg .sec-title { font-size: clamp(28px, 2.8vw, 41px); line-height: 1.16; }
.onk-lista .onk-bev-szoveg .desc { margin: 18px 0 0; max-width: 600px; }
.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; }
.onk-lista .onk-tenyek li {
  display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 16px; border-radius: var(--onk-r-kicsi);
  background: #fff; border: 1px solid var(--db-keret-halvany); box-shadow: var(--db-arnyek-kicsi);
}
.onk-lista .onk-tenyek i {
  flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 19px;
  color: var(--db-zold); background: var(--k-palyazat-bg);
}
.onk-lista .onk-tenyek span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.onk-lista .onk-tenyek b { color: var(--db-cim); font-size: 16px; font-weight: 700; }
.onk-lista .onk-tenyek small { color: var(--db-halvany); font-size: 13px; }

.onk-lista .onk-kiemelt {
  position: relative; z-index: 1; isolation: isolate; overflow: hidden; border-radius: 26px; color: #fff;
  background: linear-gradient(150deg, #143a33 0%, var(--db-sotet) 52%, #081516 100%);
  box-shadow: 0 34px 80px rgba(12, 29, 30, .30);
}
.onk-lista .onk-kiemelt > .bg-shape-1 { top: -40px; inset-inline-start: auto; inset-inline-end: -60px; max-width: 300px; opacity: .55; pointer-events: none; }
.onk-lista .onk-kiemelt > .bg-shape-2 { pointer-events: none; opacity: .5; }
.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, .35);
}
.onk-lista .onk-kiemelt-kep img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.onk-lista .onk-kiemelt-kep::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 29, 30, 0) 45%, rgba(12, 29, 30, .55) 100%);
}
.onk-lista .onk-kiemelt-kep:hover img { transform: scale(1.04); }
.onk-lista .onk-kiemelt-kep:hover .onk-lejatszas { transform: scale(1.08); background: var(--db-zold); color: #fff; }
.onk-lista .onk-kiemelt-szalag {
  top: 14px; inset-inline-start: 14px; background: var(--db-zold); color: #fff;
  text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; box-shadow: 0 6px 18px rgba(75, 129, 77, .45);
}
.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: #bfe3c4;
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.onk-lista .onk-kiemelt-cim { margin: 10px 0 20px; color: #fff; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.25; letter-spacing: -.01em; }
.onk-lista .onk-kiemelt-cim a { color: #fff; transition: color .2s; }
.onk-lista .onk-kiemelt-cim a:hover { color: #bfe3c4; }
.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, .66); 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, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: 13.5px; font-weight: 600;
  transition: background-color .2s, border-color .2s;
}
.onk-lista .onk-resz i { color: #7fd493; font-size: 11px; }
.onk-lista .onk-resz:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); color: #fff; }

/* megoldáscsomag-irányválasztó (az ellenorzolistak.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: var(--db-hatter); color: var(--db-halvany); font-size: 12px; font-weight: 700;
}
.onk-lista .ak-dir button.is-active { border-color: var(--db-zold); background: var(--db-zold); color: #fff; }
.onk-lista .ak-dir button.is-active i { color: #fff; }
.onk-lista .ak-dir button.is-active .onk-dir-db { background: rgba(255, 255, 255, .22); color: #fff; }

/* ---------- 2. kereső (az adminisztralnom-kell.css .ak-searchbox-a) ---------- */
.onk-lista .ak-quick button.is-active { background: var(--db-zold); border-color: var(--db-zold); }
.onk-lista .ak-fbtn i { margin-inline-end: 4px; }
.onk-lista .ak-fbtn.is-ures { opacity: .4; cursor: default; }
.onk-lista .ak-fbtn.is-ures:hover { border-color: var(--tj-color-border-3); }
.onk-lista .ak-sort-select { color: var(--db-cim); }

/* ---------- 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 .ak-noresult .ak-noresult-cta button.tj-primary-btn { border: 0; }
.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: var(--db-szoveg); font-size: 15px; text-align: center;
}
.onk-lista .onk-segitseg i { color: var(--db-zold); font-size: 18px; }
.onk-lista .onk-segitseg a { color: var(--db-zold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ================= RÉSZLETOLDAL ================= */
.tj-page-title.onk-cim--hosszu { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.15; max-width: 1060px; margin-inline: auto; }
.onk-jelvenyek { margin: 16px 0 18px !important; }
.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: 0 34px 80px rgba(12, 29, 30, .28);
}
.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(--db-sotet); transition: opacity .35s ease, visibility .35s ease;
}
.onk-reszlet .onk-fedo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.onk-reszlet .onk-fedo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle at 50% 50%, rgba(12, 29, 30, .12) 0%, rgba(12, 29, 30, .58) 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); background: var(--db-zold); color: #fff; }
.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(12, 29, 30, .74); color: #fff;
  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(200, 45, 45, .94); color: #fff; font-size: 14.5px; font-weight: 600;
}
/* zárt (demó, látogató) */
.onk-reszlet .onk-zarolt { position: absolute; inset: 0; background: var(--db-sotet); }
.onk-reszlet .onk-zarolt > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(3px) brightness(.42) saturate(.8); transform: scale(1.06); }
.onk-reszlet .onk-zarolt::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 29, 30, .25) 0%, rgba(12, 29, 30, .78) 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; color: var(--k-emlekezteto); }
.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); }
.onk-reszlet .onk-zarolt-kozep p { max-width: 540px; margin: 0 0 22px; color: rgba(255, 255, 255, .82); 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;
  border: 1px solid rgba(255, 255, 255, .45); color: #fff; font-size: 15px; font-weight: 600; transition: background-color .2s, border-color .2s;
}
.onk-oldal .onk-gomb-atlatszo:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

/* ---------- 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 40px; padding: 16px 20px; border-radius: 18px;
  background: #fff; border: 1px solid var(--db-keret-halvany); box-shadow: var(--db-arnyek-kicsi);
}
.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: var(--db-halvany); 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 var(--db-keret); background: #fff; color: var(--db-cim); font-size: 13px; font-weight: 700;
  transition: background-color .2s, border-color .2s, color .2s;
}
.onk-reszlet .onk-sebesseg button:hover { border-color: var(--db-zold); color: var(--db-zold); }
.onk-reszlet .onk-sebesseg button.is-active { background: var(--db-zold); border-color: var(--db-zold); color: #fff; }
.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 var(--db-keret); background: #fff; color: var(--db-cim); font-size: 14px; transition: .2s;
}
.onk-reszlet .onk-megosztas a:hover, .onk-reszlet .onk-megosztas button:hover { border-color: var(--db-zold); background: var(--db-zold); color: #fff; }
.onk-reszlet .onk-megosztas button.is-masolva { border-color: var(--db-zold); background: var(--db-zold); color: #fff; }

/* ---------- a kurzus leírása ---------- */
.onk-reszlet .onk-lead {
  margin: 0 0 26px; padding: 4px 0 4px 20px; border-inline-start: 4px solid var(--db-zold);
  color: var(--db-cim); 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: linear-gradient(135deg, var(--k-palyazat-bg) 0%, #f4f8f4 100%); border: 1px solid var(--k-palyazat-ker);
}
.onk-reszlet .onk-temak-cim { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; color: var(--db-cim); font-size: 15px; font-weight: 800; }
.onk-reszlet .onk-temak-cim i { color: var(--db-zold); }
.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: var(--db-szoveg); font-size: 15px; line-height: 1.45; transition: background-color .2s, color .2s;
}
.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: #fff; color: var(--db-zold); font-size: 12.5px; font-weight: 800; box-shadow: 0 2px 8px rgba(12, 29, 30, .08);
}
.onk-reszlet .onk-temak a:hover { background: rgba(255, 255, 255, .75); color: var(--db-zold); }
.onk-reszlet .onk-tartalom h2 { margin: 30px 0 12px; font-size: 23px; line-height: 1.3; scroll-margin-top: 120px; }
.onk-reszlet .onk-tartalom h3 { margin: 24px 0 10px; 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-cimkek { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; color: var(--db-halvany); font-size: 13.5px; }
.onk-reszlet .onk-cimkek a {
  padding: 6px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--db-keret-halvany);
  color: var(--db-cim); font-size: 13px; font-weight: 600; transition: background-color .2s, border-color .2s, color .2s;
}
.onk-reszlet .onk-cimkek a:hover { background: var(--db-zold); border-color: var(--db-zold); color: #fff; }

/* ---------- a szakmai nap videói ---------- */
.onk-reszlet .onk-esemeny-al { margin: -6px 0 16px; color: var(--db-halvany); 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: #fff; border: 1px solid var(--db-keret-halvany); color: inherit; transition: box-shadow .25s, border-color .25s, transform .25s;
}
.onk-reszlet a.onk-esemeny-sor:hover { border-color: transparent; box-shadow: var(--db-arnyek); transform: translateY(-2px); }
.onk-reszlet .onk-esemeny-sor.is-most { border-color: var(--k-palyazat-ker); background: var(--k-palyazat-bg); }
.onk-reszlet .onk-esemeny-kep { position: relative; flex: 0 0 168px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 11px; background: var(--db-sotet); }
.onk-reszlet .onk-esemeny-kep img { width: 100%; height: 100%; object-fit: cover; }
.onk-reszlet .onk-esemeny-kep .onk-lejatszas { opacity: .95; }
.onk-reszlet .onk-esemeny-jel {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(12, 29, 30, .62); color: #fff; font-size: 13px; font-weight: 700;
}
.onk-reszlet .onk-esemeny-jel i { color: #7fd493; }
.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: var(--db-halvany); font-size: 13px; font-weight: 600; }
.onk-reszlet .onk-esemeny-tipus i { color: var(--db-zold); margin-inline-end: 3px; }
.onk-reszlet .onk-esemeny-cim { color: var(--db-cim); font-size: 16px; font-weight: 700; line-height: 1.35; }
.onk-reszlet a.onk-esemeny-sor:hover .onk-esemeny-cim { color: var(--db-zold); }
.onk-reszlet .onk-esemeny-nyil { flex: 0 0 auto; margin-inline-end: 8px; color: var(--db-zold); font-size: 18px; transition: transform .25s; }
.onk-reszlet a.onk-esemeny-sor:hover .onk-esemeny-nyil { transform: translateX(4px); }

/* ---------- kérdés a szakértőnek (sötét doboz) ---------- */
.onk-reszlet .onk-kerdes {
  position: relative; z-index: 1; isolation: isolate; overflow: hidden; margin-top: 10px; padding: 34px 34px 30px; border-radius: 22px;
  background: linear-gradient(135deg, var(--db-sotet) 0%, #123a2c 100%); color: #fff; box-shadow: 0 24px 60px rgba(12, 29, 30, .22);
}
.onk-reszlet .onk-kerdes > .bg-shape-1, .onk-reszlet .onk-kerdes > .bg-shape-2 { pointer-events: none; opacity: .6; }
.onk-reszlet .onk-kerdes-fej { position: relative; z-index: 2; 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: rgba(127, 212, 147, .16); color: #7fd493;
}
.onk-reszlet .onk-kerdes h3 { margin: 2px 0 6px; color: #fff; font-size: 24px; }
.onk-reszlet .onk-kerdes p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 15px; }
.onk-reszlet .onk-kerdes p a { color: #bfe3c4; text-decoration: underline; text-underline-offset: 3px; }
.onk-reszlet .onk-kerdes-urlap { position: relative; z-index: 2; }
.onk-reszlet .onk-kerdes .form-label { color: rgba(255, 255, 255, .86); font-size: 14px; font-weight: 600; }
.onk-reszlet .onk-kerdes .form-control, .onk-reszlet .onk-kerdes .form-select {
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; background-color: #fff; color: var(--db-cim); font-size: 15px;
  min-height: 50px;
}
.onk-reszlet .onk-kerdes textarea.form-control { min-height: 130px; }
.onk-reszlet .onk-kerdes .invalid-feedback { color: #ffb4a9; }
.onk-reszlet .onk-kerdes .tj-primary-btn { border: 0; }
.onk-reszlet .onk-kerdes--vendeg .onk-zarolt-gombok { justify-content: flex-start; }

/* ---------- oldalsáv ---------- */
.onk-reszlet .onk-oldalsav .pv-widget { box-shadow: var(--db-arnyek-kicsi); }
.onk-reszlet .onk-adatok-fej { position: relative; z-index: 2; 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: rgba(127, 212, 147, .16); color: #7fd493;
}
.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-gomb { position: relative; z-index: 2; width: 100%; justify-content: center; margin: 18px 0 12px; border: 0; }
.onk-reszlet .onk-adatok-gomb .btn-icon i { font-size: 13px; transform: none; }   /* a téma -45°-ra forgatná (a nyílhoz való) */
.onk-reszlet .onk-vissza { position: relative; z-index: 2; }
.onk-reszlet .onk-adatok > .bg-shape-1 { opacity: .5; }

.onk-reszlet .onk-modul {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; margin-top: 8px; border-radius: 12px;
  background: var(--db-hatter); color: var(--db-cim); font-size: 14.5px; font-weight: 700; line-height: 1.3; transition: background-color .2s, color .2s;
}
.onk-reszlet .onk-modul-ikon {
  flex: 0 0 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: #fff; color: var(--db-zold); font-size: 16px; transition: background-color .2s, color .2s;
}
.onk-reszlet .onk-modul-nev { flex: 1 1 auto; min-width: 0; }
.onk-reszlet .onk-modul > i { color: var(--db-zold); transition: transform .2s, color .2s; }
.onk-reszlet .onk-modul:hover { background: var(--db-zold); color: #fff; }
.onk-reszlet .onk-modul:hover .onk-modul-ikon { background: rgba(255, 255, 255, .18); color: #fff; }
.onk-reszlet .onk-modul:hover > i { color: #fff; transform: translateX(3px); }

.onk-reszlet .onk-oktatokartya-sor + .onk-oktatokartya-sor { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--db-keret); }
.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: var(--db-szoveg); 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(--db-zold); font-size: 14px; font-weight: 700; }
.onk-reszlet .onk-oktatokartya-link i { transition: transform .2s; }
.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: var(--db-hatter); color: var(--db-halvany); 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;
  border: 1px solid var(--db-keret-halvany); color: var(--db-cim); transition: border-color .2s, box-shadow .2s;
}
.onk-reszlet .onk-melleklet:hover { border-color: var(--db-zold); box-shadow: var(--db-arnyek-kicsi); color: var(--db-cim); }
.onk-reszlet .onk-melleklet-ikon { flex: 0 0 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; background: var(--db-hatter); color: var(--db-halvany); }
.onk-reszlet .onk-melleklet-ikon--pdf { background: var(--k-hatarido-bg); color: var(--k-hatarido); }
.onk-reszlet .onk-melleklet-ikon--word { background: var(--k-jogszabaly-bg); color: var(--k-jogszabaly); }
.onk-reszlet .onk-melleklet-ikon--excel { background: var(--k-palyazat-bg); color: var(--k-palyazat); }
.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: var(--db-halvany); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.onk-reszlet .onk-melleklet-le { color: var(--db-zold); }

/* ---------- hasonló kurzusok ---------- */
.onk-reszlet .onk-hasonlok { padding-top: 10px; padding-bottom: 110px; }
.onk-reszlet .onk-hasonlok-fej { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 30px; }
.onk-reszlet .onk-hasonlok-fej .sec-heading { flex: 0 1 auto; width: auto; margin: 0; text-align: start; }
.onk-reszlet .onk-hasonlok-mind { display: inline-flex; align-items: center; gap: 8px; color: var(--db-zold); font-size: 15px; font-weight: 700; }
.onk-reszlet .onk-hasonlok-mind i { transition: transform .2s; }
.onk-reszlet .onk-hasonlok-mind:hover i { transform: translateX(4px); }

/* ---------- reszponzív ---------- */
@media (max-width: 1199px) {
  .onk-oldal .onk-racs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .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-szoveg .desc { 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-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 .tj-primary-btn { width: 100%; justify-content: center; }
  /* a szűrőcsoportok és a megoldáscsomag-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; }
  .onk-reszlet .onk-hasonlok { padding-bottom: 80px; }
}
