/* ==========================================================================
   AgrárPraxis – Szakértő adatlapja (/szakerto/{seourl})
   Fő oszlop: bemutatkozás (az önéletrajz bekezdései) + fülek (cikkek / megválaszolt
   kérdések, a közös _CikkKartya / _KivonatKartya kártyákkal: cikkek.css, kerdes-valaszok.css);
   oldalsáv: profilkártya és a közös szakértői doboz (_SzakertoWidget). SZÍNEK: a téma --tj-color-*
   változói. Előtag: szk-*
   2026-11-12 (user-kérés): a bemutatkozás sötét, mintás blokk; a profilkártya sötét, mintás fejet kapott
   (fotó + név), alatta világos rész a számokkal és a témakörökkel.
   ========================================================================== */

/* --- Bemutatkozás: sötét blokk bexon-mintákkal, fényfolttal, idézőjel-vízjellel --- */
.szk-bemutatkozas {
  position: relative; z-index: 1; overflow: hidden; padding: 40px 44px 42px; border-radius: 20px;
  background: linear-gradient(145deg, var(--tj-color-theme-dark) 0%, #123a2c 100%);
  box-shadow: 0 24px 60px -24px rgba(12, 29, 30, 0.55); color: rgba(255, 255, 255, 0.80);
}
.szk-bemutatkozas::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, #7fd493, transparent 70%);
}
.szk-bemutatkozas > .bg-shape-1 { max-width: 300px; opacity: 0.5; inset-inline-start: auto; inset-inline-end: 0; }
.szk-bemutatkozas > .bg-shape-2 { max-width: 260px; opacity: 0.4; inset-inline-end: auto; inset-inline-start: 0; }
.szk-bemutatkozas > .bg-shape-3 { inset-inline-start: 30%; opacity: 0.6; pointer-events: none; }
.szk-bemutatkozas > .bg-shape-1 img, .szk-bemutatkozas > .bg-shape-2 img { width: 100%; height: auto; }
.szk-bem-vizjel {
  position: absolute; z-index: -1; top: 26px; right: 34px; font-size: 120px; line-height: 1;
  color: #7fd493; opacity: 0.09; pointer-events: none;
}
.szk-fejlec { margin-bottom: 22px; }
.szk-fejlec .sub-title { color: #bfe3c4; border-color: rgba(255, 255, 255, 0.18); }
.szk-fejlec .sub-title i { color: #7fd493; }
.szk-fejlec .sec-title { font-size: 34px; margin-bottom: 0; color: #fff; }
.szk-bemutatkozas p { font-size: 16px; line-height: 1.7; margin-bottom: 14px; color: rgba(255, 255, 255, 0.78); }
.szk-bemutatkozas p:last-child { margin-bottom: 0; }
.szk-bemutatkozas .szk-cv-lead {
  padding-left: 18px; border-left: 3px solid #7fd493;
  font-size: 17.5px; font-weight: var(--tj-fw-sbold); line-height: 1.6; color: #fff;
}

/* --- Fülek: a közös .lp-fulek (lexpraxis.css) --- */
.szk-bemutatkozas + .szk-tartalmak { margin-top: 50px; }
.szk-tartalmak { scroll-margin-top: 120px; } /* a profil számairól ide görgetünk (a ragadós fejléc alá) */

/* „További …” gomb a lista végén */
.szk-tovabb { text-align: center; margin-top: 10px; }
.szk-tovabb button.tj-primary-btn { -webkit-appearance: none; appearance: none; border: 0; font-family: inherit; cursor: pointer; }
.szk-tovabb button.tj-primary-btn:disabled { opacity: 0.6; cursor: progress; }

/* Üres állapot: se cikk, se megválaszolt kérdés */
.szk-ures {
  display: flex; align-items: center; gap: 18px; padding: 30px 32px;
  background-color: var(--tj-color-common-white); border-radius: 12px;
}
.szk-bemutatkozas + .szk-ures { margin-top: 30px; }
.szk-ures-ikon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 52px; height: 52px; border-radius: 50%;
  background-color: var(--tj-color-theme-bg-2); color: var(--tj-color-theme-primary); font-size: 22px;
}
.szk-ures p { margin: 0; font-size: 16px; }

/* --- Oldalsáv: profilkártya – sötét, mintás fej + világos alsó rész --- */
.szk-profil {
  margin-bottom: 30px; overflow: hidden; text-align: center; border-radius: 20px;
  background-color: var(--tj-color-common-white); border: 1px solid var(--tj-color-border-1);
  box-shadow: 0 22px 50px -26px rgba(12, 29, 30, 0.40);
}
.szk-profil-fej {
  position: relative; z-index: 1; overflow: hidden; padding: 34px 26px 28px;
  background: linear-gradient(165deg, #123a2c 0%, var(--tj-color-theme-dark) 75%); color: rgba(255, 255, 255, 0.78);
}
.szk-profil-fej::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, transparent, #7fd493, transparent);
}
.szk-profil-fej > .bg-shape-1 { max-width: 190px; opacity: 0.55; inset-inline-start: auto; inset-inline-end: 0; }
.szk-profil-fej > .bg-shape-2 { max-width: 170px; opacity: 0.4; inset-inline-end: auto; inset-inline-start: 0; }
.szk-profil-fej > .bg-shape-3 { inset-inline-start: 0; opacity: 0.7; pointer-events: none; }
.szk-profil-fej > .bg-shape-1 img, .szk-profil-fej > .bg-shape-2 img { width: 100%; height: auto; }
/* a fotó: zöld átmenetes gyűrű, halvány glória, pipa-jelvény */
.szk-foto {
  position: relative; width: 176px; height: 176px; margin: 0 auto 20px; padding: 5px; border-radius: 50%;
  background: linear-gradient(140deg, #7fd493 0%, rgba(127, 212, 147, 0.15) 55%, #4b814d 100%);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.04), 0 22px 44px rgba(0, 0, 0, 0.38);
}
.szk-foto img {
  display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  border: 4px solid var(--tj-color-theme-dark); background: var(--tj-color-theme-dark);
}
.szk-foto-jel {
  position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--tj-color-theme-primary); color: #fff; font-size: 14px; box-shadow: 0 0 0 4px var(--tj-color-theme-dark);
}
.szk-nev {
  margin-bottom: 6px; font-family: var(--tj-ff-heading); font-size: 24px;
  font-weight: var(--tj-fw-sbold); line-height: 1.25; color: #fff;
}
.szk-terulet { margin-bottom: 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.74); }

.szk-profil-test {
  padding: 22px 22px 24px;
  background: radial-gradient(120% 80% at 50% 0%, rgba(75, 129, 77, 0.09) 0%, rgba(75, 129, 77, 0) 60%), var(--tj-color-common-white);
}
.szk-statok { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.szk-statok + .szk-temak-cim { margin-top: 20px; }
.szk-stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 13px 8px 12px; border-radius: 14px;
  border: 1px solid #e3e9e3; background: #f4f8f4; font-family: inherit; cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
}
.szk-stat:hover, .szk-stat:focus-visible { border-color: var(--tj-color-theme-primary); background: #e8f5e9; transform: translateY(-2px); }
.szk-stat:focus-visible { outline: 2px solid var(--tj-color-theme-primary); outline-offset: 2px; }
.szk-stat b { font-family: var(--tj-ff-heading); font-size: 28px; font-weight: var(--tj-fw-bold); line-height: 1; color: var(--tj-color-heading-primary); }
.szk-stat small { font-size: 12.5px; line-height: 1.3; color: var(--tj-color-text-body-3); }
.szk-stat small i { color: var(--tj-color-theme-primary); margin-right: 2px; }
.szk-temak-cim {
  display: block; margin-bottom: 10px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tj-color-text-body-3);
}
.szk-temak { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.szk-temak span {
  padding: 6px 13px; border-radius: 50px; background-color: #e8f5e9; border: 1px solid #bfe3c4;
  color: #1b5e20; font-size: 13.5px; font-weight: 600; line-height: 1.2;
}

/* --- Reszponzív --- */
@media (min-width: 992px) and (max-width: 1199px) {
  .szk-foto { width: 150px; height: 150px; }
  .szk-stat small { font-size: 11.5px; }
}
@media (max-width: 991px) {
  .szk-fejlec .sec-title { font-size: 30px; }
  .szk-bemutatkozas { padding: 32px 30px 34px; }
  /* a profil a fő oszlop elé kerül: a fej vízszintes (fotó balra) */
  .szk-profil { text-align: left; }
  .szk-profil-fej { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 22px; align-items: center; padding: 24px; }
  .szk-foto { width: 120px; height: 120px; margin: 0; padding: 4px; }
  .szk-foto-jel { right: 2px; bottom: 2px; width: 28px; height: 28px; font-size: 12px; }
  .szk-profil-test { padding: 18px 20px 20px; }
  .szk-statok { max-width: 420px; }
  .szk-temak { justify-content: flex-start; }
}
@media (max-width: 575px) {
  .szk-bemutatkozas { padding: 26px 20px 28px; border-radius: 16px; }
  .szk-bem-vizjel { font-size: 84px; top: 18px; right: 18px; }
  .szk-fejlec .sec-title { font-size: 26px; }
  .szk-bemutatkozas p { font-size: 15px; }
  .szk-bemutatkozas .szk-cv-lead { font-size: 16px; padding-left: 14px; }
  .szk-profil { border-radius: 16px; }
  .szk-profil-fej { grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; padding: 20px 18px; }
  .szk-foto { width: 88px; height: 88px; padding: 3px; }
  .szk-foto img { border-width: 3px; }
  .szk-foto-jel { width: 24px; height: 24px; font-size: 10px; box-shadow: 0 0 0 3px var(--tj-color-theme-dark); }
  .szk-nev { font-size: 20px; }
  .szk-terulet { font-size: 14px; }
  .szk-ures { padding: 22px 20px; }
}
