/* =====================================================================
   wlasne.css – własne style strony (akson-edu.pl)

   Zasady:
   - wszystkie klasy mają przedrostek "ak-" (np. .ak-karta),
   - brak reguł dla zwykłych elementów (body, h1, p, a…) i dla klas
     Elementora/motywu, więc istniejący wygląd strony nie jest ruszany,
   - kolory i czcionki strony:
       niebieski   #04BEE6
       nagłówki    #55555A
       tekst       #676767
       czcionki    "Barlow" (tekst), "Barlow Semi Condensed" (nagłówki)
   ===================================================================== */

.ak-wykladowcy {
  --ak-niebieski: #04BEE6;
  --ak-niebieski-ciemny: #0790AE;
  --ak-naglowek: #55555A;
  --ak-tekst: #676767;
  --ak-promien: 24px;
}


/* ---------------------------------------------------------------------
   1. SEKCJA – tło z delikatnymi, pływającymi plamami światła
   --------------------------------------------------------------------- */

.ak-wykladowcy {
  position: relative;
  overflow: hidden;
  padding: 80px 20px 96px;
  background:
    radial-gradient(rgba(4, 190, 230, .10) 1px, transparent 1.5px) 0 0 / 22px 22px,
    linear-gradient(180deg, #F3FBFE 0%, #FFFFFF 70%);
  font-family: "Barlow", sans-serif;
}

.ak-wykladowcy .ak-wykladowcy__tlo span {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  pointer-events: none;
  animation: ak-plywanie 16s ease-in-out infinite alternate;
}
.ak-wykladowcy .ak-wykladowcy__tlo span:nth-child(1) {
  width: 420px; height: 420px; top: -120px; left: -120px;
  background: radial-gradient(circle, rgba(4, 190, 230, .45), transparent 70%);
}
.ak-wykladowcy .ak-wykladowcy__tlo span:nth-child(2) {
  width: 480px; height: 480px; bottom: -180px; right: -140px;
  background: radial-gradient(circle, rgba(95, 214, 241, .40), transparent 70%);
  animation-delay: -8s;
}

.ak-wykladowcy .ak-wykladowcy__kontener {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}


/* ---------------------------------------------------------------------
   2. SIATKA KART – 3 kolumny / 2 na tablecie / 1 na telefonie
   --------------------------------------------------------------------- */

.ak-wykladowcy .ak-siatka {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}


/* ---------------------------------------------------------------------
   3. KARTA – szkło, wejście z opóźnieniem, uniesienie i błysk po najechaniu
   --------------------------------------------------------------------- */

.ak-wykladowcy .ak-karta {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 44px 28px 38px;
  text-align: center;
  border-radius: var(--ak-promien);
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(4, 190, 230, .14);
  box-shadow:
    0 1px 2px rgba(20, 60, 80, .04),
    0 12px 32px -12px rgba(20, 60, 80, .14);
  transition:
    transform .55s cubic-bezier(.2, .8, .2, 1),
    box-shadow .55s cubic-bezier(.2, .8, .2, 1),
    border-color .55s ease;
  opacity: 0;
  animation: ak-wejscie .9s cubic-bezier(.2, .8, .2, 1) forwards;
}
.ak-wykladowcy .ak-karta:nth-child(1) { animation-delay: .05s; }
.ak-wykladowcy .ak-karta:nth-child(2) { animation-delay: .15s; }
.ak-wykladowcy .ak-karta:nth-child(3) { animation-delay: .25s; }
.ak-wykladowcy .ak-karta:nth-child(4) { animation-delay: .35s; }
.ak-wykladowcy .ak-karta:nth-child(5) { animation-delay: .45s; }
.ak-wykladowcy .ak-karta:nth-child(6) { animation-delay: .55s; }

/* niebieska listwa u góry karty – wysuwa się po najechaniu */
.ak-wykladowcy .ak-karta::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ak-niebieski), #7FE3F7, var(--ak-niebieski));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

/* błysk przechodzący z lewej do prawej – sam co kilka sekund (kolejno po kartach)
   i od razu po najechaniu myszką */
.ak-wykladowcy .ak-karta::after {
  content: "";
  position: absolute;
  top: -10%; bottom: -10%;
  left: -60%;
  width: 50%;
  background: linear-gradient(105deg,
    transparent 0%,
    rgba(127, 227, 247, .22) 35%,
    rgba(255, 255, 255, .95) 50%,
    rgba(127, 227, 247, .22) 65%,
    transparent 100%);
  transform: skewX(-18deg) translateX(0);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  animation: ak-blysk-auto 9s ease-in-out infinite;
}
.ak-wykladowcy .ak-karta:nth-child(1)::after { animation-delay: 1.4s; }
.ak-wykladowcy .ak-karta:nth-child(2)::after { animation-delay: 1.7s; }
.ak-wykladowcy .ak-karta:nth-child(3)::after { animation-delay: 2.0s; }
.ak-wykladowcy .ak-karta:nth-child(4)::after { animation-delay: 2.3s; }
.ak-wykladowcy .ak-karta:nth-child(5)::after { animation-delay: 2.6s; }
.ak-wykladowcy .ak-karta:nth-child(6)::after { animation-delay: 2.9s; }

.ak-wykladowcy .ak-karta:hover {
  transform: translateY(-12px);
  border-color: rgba(4, 190, 230, .35);
  box-shadow:
    0 2px 4px rgba(20, 60, 80, .04),
    0 34px 60px -22px rgba(4, 150, 190, .45);
}
.ak-wykladowcy .ak-karta:hover::before { transform: scaleX(1); }
.ak-wykladowcy .ak-karta:hover::after { animation: ak-blysk 1s cubic-bezier(.3, .6, .3, 1); animation-delay: 0s; }


/* ---------------------------------------------------------------------
   4. AWATAR – obracający się, świecący pierścień
   --------------------------------------------------------------------- */

.ak-wykladowcy .ak-karta__awatar {
  position: relative;
  width: 156px;
  height: 156px;
  margin: 0 auto;
  padding: 5px;
  border-radius: 50%;
  isolation: isolate;
}
.ak-wykladowcy .ak-karta__awatar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    var(--ak-niebieski), rgba(4, 190, 230, 0) 35%,
    #7FE3F7 55%, var(--ak-niebieski) 75%, rgba(4, 190, 230, 0) 90%, var(--ak-niebieski));
  animation: ak-obrot 7s linear infinite;
  z-index: -1;
}
.ak-wykladowcy .ak-karta__awatar::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  box-shadow: 0 14px 34px -6px rgba(4, 190, 230, .55);
  opacity: .6;
  transition: opacity .55s ease;
  z-index: -2;
}
.ak-wykladowcy .ak-karta__awatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #fff;
  box-sizing: border-box;
  background: #fff;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.ak-wykladowcy .ak-karta:hover .ak-karta__awatar img { transform: scale(1.06); }
.ak-wykladowcy .ak-karta:hover .ak-karta__awatar::after { opacity: 1; }


/* ---------------------------------------------------------------------
   5. TEKSTY – specjalizacja (etykieta) i imię z nazwiskiem
   --------------------------------------------------------------------- */

.ak-wykladowcy .ak-karta__specjalizacja {
  display: inline-block;
  margin: 26px 0 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(4, 190, 230, .10);
  color: var(--ak-niebieski-ciemny);
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background-color .45s ease, color .45s ease;
}
.ak-wykladowcy .ak-karta:hover .ak-karta__specjalizacja {
  background: var(--ak-niebieski);
  color: #fff;
}

.ak-wykladowcy .ak-karta__nazwisko {
  display: inline;
  margin: 0;
  padding-bottom: 4px;
  color: var(--ak-naglowek);
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.6;
  background: linear-gradient(var(--ak-niebieski), var(--ak-niebieski)) no-repeat left bottom / 0% 2px;
  transition: background-size .55s cubic-bezier(.2, .8, .2, 1);
}
.ak-wykladowcy .ak-karta__specjalizacja + .ak-karta__nazwisko::before {
  content: "";
  display: block;
  height: 12px;
}
.ak-wykladowcy .ak-karta:hover .ak-karta__nazwisko { background-size: 100% 2px; }


/* ---------------------------------------------------------------------
   6. ANIMACJE
   --------------------------------------------------------------------- */

@keyframes ak-wejscie {
  from { opacity: 0; transform: translateY(36px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes ak-obrot {
  to { transform: rotate(360deg); }
}
@keyframes ak-blysk {
  0%   { opacity: 0; transform: skewX(-18deg) translateX(0); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: skewX(-18deg) translateX(420%); }
}
@keyframes ak-blysk-auto {
  0%, 100% { opacity: 0; transform: skewX(-18deg) translateX(0); }
  2%       { opacity: 1; }
  14%      { opacity: 0; transform: skewX(-18deg) translateX(420%); }
}
@keyframes ak-plywanie {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.12); }
}


/* ---------------------------------------------------------------------
   7. DOPASOWANIE DO EKRANU
   --------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .ak-wykladowcy .ak-siatka { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 640px) {
  .ak-wykladowcy { padding: 48px 16px 64px; }
  .ak-wykladowcy .ak-siatka { grid-template-columns: 1fr; gap: 20px; }
  .ak-wykladowcy .ak-karta { padding: 36px 22px 32px; }
  .ak-wykladowcy .ak-karta__awatar { width: 132px; height: 132px; }
  .ak-wykladowcy .ak-karta__nazwisko { font-size: 26px; }
}

/* osoby z wyłączonymi animacjami w systemie widzą wersję bez ruchu */
@media (prefers-reduced-motion: reduce) {
  .ak-wykladowcy .ak-karta { opacity: 1; animation: none; }
  .ak-wykladowcy .ak-karta__awatar::before,
  .ak-wykladowcy .ak-wykladowcy__tlo span { animation: none; }
  .ak-wykladowcy .ak-karta::after,
  .ak-wykladowcy .ak-karta:hover::after { animation: none; }
}


/* ---------------------------------------------------------------------
   8. TYTUŁ NAUKOWY / ZAWODOWY przed nazwiskiem (dr n. med., mgr…)
   --------------------------------------------------------------------- */

.ak-wykladowcy .ak-karta__tytul {
  font-size: .62em;
  font-weight: 400;
  letter-spacing: .02em;
  color: #8A8A90;
  vertical-align: .14em;
}

/* nazwiska dwuczłonowe nie łamią się na łączniku */
.ak-wykladowcy .ak-bez-podzialu { white-space: nowrap; }


/* ---------------------------------------------------------------------
   9. KARTA Z LINKIEM DO PROFILU (strona Wykładowcy)
   --------------------------------------------------------------------- */

.ak-wykladowcy .ak-karta--link { cursor: pointer; }
.ak-wykladowcy .ak-karta__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.ak-wykladowcy .ak-karta__link:focus-visible {
  outline: 3px solid var(--ak-niebieski);
  outline-offset: 8px;
  border-radius: 12px;
}
.ak-wykladowcy .ak-karta__wiecej {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--ak-niebieski-ciemny);
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ak-wykladowcy .ak-karta__strzalka {
  display: inline-block;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.ak-wykladowcy .ak-karta--link:hover .ak-karta__strzalka { transform: translateX(6px); }


/* =====================================================================
   10. PROFIL WYKŁADOWCY (podstrony np. lukasz-karpinski)
   ===================================================================== */

.ak-profil {
  --ak-niebieski: #04BEE6;
  --ak-niebieski-ciemny: #0790AE;
  --ak-naglowek: #55555A;
  --ak-tekst: #676767;
  --ak-tlo: #F4FAFD;
  position: relative;
  background: var(--ak-tlo);
  font-family: "Barlow", sans-serif;
  color: var(--ak-tekst);
}
.ak-profil .ak-profil__kontener {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- 10.1 Nagłówek (hero) ---------- */

.ak-profil .ak-profil__hero {
  position: relative;
  overflow: hidden;
  padding: 40px 20px 150px;
  color: #fff;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255, 255, 255, .28), transparent 60%),
    linear-gradient(135deg, #04BEE6 0%, #03AFD8 50%, #0790AE 100%);
}

/* pływające światła */
.ak-profil .ak-profil__swiatla span {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  animation: ak-plywanie 14s ease-in-out infinite alternate;
}
.ak-profil .ak-profil__swiatla span:nth-child(1) {
  width: 380px; height: 380px; left: -100px; top: 10px;
  background: radial-gradient(circle, rgba(255, 255, 255, .30), transparent 70%);
}
.ak-profil .ak-profil__swiatla span:nth-child(2) {
  width: 300px; height: 300px; right: 8%; bottom: 0;
  background: radial-gradient(circle, rgba(127, 227, 247, .55), transparent 70%);
  animation-delay: -7s;
}

/* zapis EEG przebiegający przez nagłówek */
.ak-profil .ak-profil__fala {
  position: absolute;
  left: 0; right: 0; bottom: 70px;
  width: 100%;
  height: 130px;
  pointer-events: none;
}
.ak-profil .ak-profil__fala path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.ak-profil .ak-profil__fala-linia {
  stroke: rgba(255, 255, 255, .28);
  stroke-width: 1.6;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: ak-rysowanie 3.2s cubic-bezier(.4, 0, .2, 1) .3s forwards;
}
.ak-profil .ak-profil__fala-puls {
  stroke: #fff;
  stroke-width: 2.4;
  stroke-dasharray: 70 930;
  stroke-dashoffset: 1000;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .9));
  animation: ak-puls-fali 4.5s linear 1.4s infinite;
  opacity: 0;
}

/* łagodne zakończenie nagłówka falą */
.ak-profil .ak-profil__brzeg {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%;
  height: 80px;
  fill: var(--ak-tlo);
}

/* ścieżka (okruszki) */
.ak-profil .ak-profil__okruszki {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 34px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  animation: ak-wejscie .8s cubic-bezier(.2, .8, .2, 1) both;
}
.ak-profil .ak-profil__okruszki a {
  color: #fff;
  text-decoration: none;
  background: linear-gradient(#fff, #fff) no-repeat left bottom / 0% 1px;
  transition: background-size .45s ease;
}
.ak-profil .ak-profil__okruszki a:hover { color: #fff; background-size: 100% 1px; }

.ak-profil .ak-profil__naglowek {
  display: flex;
  align-items: center;
  gap: 48px;
}

/* awatar z obracającym się pierścieniem i falą „sonaru” */
.ak-profil .ak-profil__awatar {
  position: relative;
  flex: 0 0 auto;
  width: 220px;
  height: 220px;
  padding: 6px;
  border-radius: 50%;
  isolation: isolate;
  animation: ak-wejscie .9s cubic-bezier(.2, .8, .2, 1) .1s both;
}
.ak-profil .ak-profil__awatar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #fff, rgba(255, 255, 255, 0) 30%, #BFF3FF 55%, #fff 75%, rgba(255, 255, 255, 0) 90%, #fff);
  animation: ak-obrot 6s linear infinite;
  z-index: -1;
}
.ak-profil .ak-profil__awatar::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .55);
  animation: ak-sonar 3s ease-out infinite;
  z-index: -2;
}
.ak-profil .ak-profil__awatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, .95);
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 20px 50px -10px rgba(0, 60, 90, .45);
}

.ak-profil .ak-profil__dane > * { animation: ak-wejscie .9s cubic-bezier(.2, .8, .2, 1) both; }
.ak-profil .ak-profil__dane > :nth-child(1) { animation-delay: .2s; }
.ak-profil .ak-profil__dane > :nth-child(2) { animation-delay: .3s; }
.ak-profil .ak-profil__dane > :nth-child(3) { animation-delay: .45s; }

.ak-profil .ak-profil__spec {
  display: inline-block;
  margin: 0;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
}
.ak-profil .ak-profil__imie {
  margin: 16px 0 22px;
  color: #fff;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.005em;
  text-shadow: 0 6px 30px rgba(0, 70, 100, .25);
}
.ak-profil .ak-profil__tytul {
  display: block;
  margin-bottom: 6px;
  font-size: .4em;
  font-weight: 400;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .85);
}
.ak-profil .ak-profil__znaczniki {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ak-profil .ak-profil__znaczniki li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
  transition: background-color .35s ease, transform .35s ease;
}
.ak-profil .ak-profil__znaczniki li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #fff;
}
.ak-profil .ak-profil__znaczniki li:hover { background: rgba(255, 255, 255, .24); transform: translateY(-2px); }

/* ---------- 10.2 Układ treści ---------- */

.ak-profil .ak-profil__uklad {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: -70px;
  padding: 0 20px 96px;
  z-index: 2;
}

/* panel „W skrócie” */
.ak-profil .ak-profil__bok {
  position: sticky;
  top: 24px;
  animation: ak-wejscie .9s cubic-bezier(.2, .8, .2, 1) .5s both;
}
.ak-profil .ak-profil__skrot {
  padding: 30px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(4, 190, 230, .16);
  box-shadow: 0 24px 60px -24px rgba(4, 120, 160, .35);
}
.ak-profil .ak-profil__skrot-tytul {
  margin: 0 0 18px;
  color: var(--ak-naglowek);
  font-family: "Barlow", sans-serif;   /* strona wymusza Barlow dla h2 */
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}
.ak-profil .ak-profil__lista { margin: 0; }
.ak-profil .ak-profil__lista > div {
  padding: 13px 0;
  border-top: 1px solid rgba(4, 190, 230, .14);
}
.ak-profil .ak-profil__lista dt {
  margin: 0 0 3px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ak-niebieski-ciemny);
}
.ak-profil .ak-profil__lista dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ak-naglowek);
}

/* karta szkolenia z gradientową ramką */
.ak-profil .ak-profil__szkolenie {
  position: relative;
  margin-top: 18px;
  padding: 22px 20px 20px;
  border-radius: 18px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--ak-niebieski), #7FE3F7, var(--ak-niebieski-ciemny)) border-box;
  border: 2px solid transparent;
}
.ak-profil .ak-profil__szkolenie-etykieta {
  margin: 0 0 6px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ak-niebieski-ciemny);
}
.ak-profil .ak-profil__szkolenie-nazwa {
  margin: 0 0 6px;
  color: var(--ak-naglowek);
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}
.ak-profil .ak-profil__szkolenie-forma {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--ak-tekst);
}

/* przycisk z błyskiem */
.ak-profil .ak-profil__przycisk {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ak-niebieski), var(--ak-niebieski-ciemny));
  color: #fff;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 12px 26px -10px rgba(4, 150, 190, .7);
  transition: transform .35s ease, box-shadow .35s ease;
}
.ak-profil .ak-profil__przycisk::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: ak-blysk-auto 6s ease-in-out 2s infinite;
}
.ak-profil .ak-profil__przycisk span { transition: transform .35s ease; }
.ak-profil .ak-profil__przycisk:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(4, 150, 190, .8);
}
.ak-profil .ak-profil__przycisk:hover span { transform: translateX(5px); }

/* ---------- 10.3 Bloki treści ---------- */

.ak-profil .ak-profil__sekcje {
  display: grid;
  gap: 24px;
}
.ak-profil .ak-blok {
  position: relative;
  overflow: hidden;
  padding: 32px 36px 30px 108px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(4, 190, 230, .12);
  box-shadow: 0 1px 2px rgba(20, 60, 80, .04), 0 14px 36px -18px rgba(20, 60, 80, .18);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease;
  animation: ak-wejscie .9s cubic-bezier(.2, .8, .2, 1) both;
}
.ak-profil .ak-blok:nth-child(1) { animation-delay: .55s; }
.ak-profil .ak-blok:nth-child(2) { animation-delay: .7s; }
.ak-profil .ak-blok:nth-child(3) { animation-delay: .85s; }
.ak-profil .ak-blok:nth-child(4) { animation-delay: 1s; }

/* pasek po lewej rosnący po najechaniu */
.ak-profil .ak-blok::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ak-niebieski), #7FE3F7);
  transform: scaleY(.25);
  transform-origin: top;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.ak-profil .ak-blok:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(20, 60, 80, .04), 0 26px 50px -22px rgba(4, 150, 190, .45);
}
.ak-profil .ak-blok:hover::before { transform: scaleY(1); }

.ak-profil .ak-blok__ikona {
  position: absolute;
  left: 32px; top: 30px;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--ak-niebieski), var(--ak-niebieski-ciemny));
  box-shadow: 0 10px 22px -8px rgba(4, 150, 190, .7);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.ak-profil .ak-blok__ikona svg { width: 26px; height: 26px; }
.ak-profil .ak-blok:hover .ak-blok__ikona { transform: rotate(-8deg) scale(1.08); }

.ak-profil .ak-blok__tytul {
  margin: 0 0 12px;
  color: var(--ak-naglowek);
  font-family: "Barlow", sans-serif;   /* strona wymusza Barlow dla h2 */
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
}
.ak-profil .ak-blok p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ak-tekst);
}

.ak-profil .ak-blok__cytat {
  position: relative;
  margin: 18px 0 0;
  padding: 22px 24px 22px 26px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(4, 190, 230, .08), rgba(127, 227, 247, .14));
  color: var(--ak-naglowek);
  font-family: "Barlow", sans-serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.65;
}
.ak-profil .ak-blok__rok {
  display: inline-block;
  margin: 0 10px 0 0;
  padding: 3px 10px;
  border-radius: 8px;
  background: var(--ak-niebieski);
  color: #fff;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .06em;
  vertical-align: .1em;
}

.ak-profil .ak-profil__powrot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  margin-top: 8px;
  color: var(--ak-niebieski-ciemny);
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}
.ak-profil .ak-profil__powrot span { transition: transform .4s ease; }
.ak-profil .ak-profil__powrot:hover { color: var(--ak-niebieski); }
.ak-profil .ak-profil__powrot:hover span { transform: translateX(-6px); }

/* Strona wymusza dla każdego h1 na podstronach 36px/700 (reguła
   "body:not(.home).page #content h1" z !important w post-8.css).
   Dla nazwiska w profilu przywracamy własny rozmiar. */
body #content .ak-profil h1.ak-profil__imie {
  font-size: 56px !important;
  line-height: 1.02 !important;
  font-weight: 600 !important;
}
@media (max-width: 1024px) { body #content .ak-profil h1.ak-profil__imie { font-size: 46px !important; } }
@media (max-width: 700px)  { body #content .ak-profil h1.ak-profil__imie { font-size: 38px !important; } }

/* ---------- 10.4 Animacje profilu ---------- */

@keyframes ak-rysowanie { to { stroke-dashoffset: 0; } }
@keyframes ak-puls-fali {
  0%   { stroke-dashoffset: 1000; opacity: 0; }
  5%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes ak-sonar {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.22); opacity: 0; }
}

/* ---------- 10.5 Dopasowanie do ekranu ---------- */

@media (max-width: 1024px) {
  .ak-profil .ak-profil__naglowek { gap: 32px; }
  .ak-profil .ak-profil__imie { font-size: 46px; }
  .ak-profil .ak-profil__uklad { grid-template-columns: 1fr; }
  .ak-profil .ak-profil__bok { position: static; order: 2; }
}
@media (max-width: 700px) {
  .ak-profil .ak-profil__hero { padding: 28px 16px 130px; }
  .ak-profil .ak-profil__naglowek { flex-direction: column; text-align: center; gap: 22px; }
  .ak-profil .ak-profil__okruszki { justify-content: center; margin-bottom: 26px; }
  .ak-profil .ak-profil__awatar { width: 170px; height: 170px; }
  .ak-profil .ak-profil__imie { font-size: 38px; }
  .ak-profil .ak-profil__znaczniki { justify-content: center; }
  .ak-profil .ak-profil__uklad { padding: 0 16px 64px; gap: 20px; }
  .ak-profil .ak-blok { padding: 92px 22px 24px; }
  .ak-profil .ak-blok__ikona { left: 22px; top: 24px; }
  .ak-profil .ak-blok__tytul { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .ak-profil *, .ak-profil *::before, .ak-profil *::after { animation: none !important; }
  .ak-profil .ak-profil__fala-linia { stroke-dashoffset: 0; }
}


/* ---------------------------------------------------------------------
   11. PROFIL – lista szkoleń, wyróżnienie, oś czasu
   --------------------------------------------------------------------- */

/* lista prowadzonych szkoleń w panelu „W skrócie” */
.ak-profil .ak-profil__kursy {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.ak-profil .ak-profil__kurs {
  position: relative;
  margin: 0;
  padding: 12px 0 12px 18px;
}
.ak-profil .ak-profil__kurs + .ak-profil__kurs { border-top: 1px dashed rgba(4, 190, 230, .3); }
.ak-profil .ak-profil__kurs::before {
  content: "";
  position: absolute;
  left: 0; top: 20px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ak-niebieski);
  box-shadow: 0 0 0 4px rgba(4, 190, 230, .15);
}
.ak-profil .ak-profil__kurs .ak-profil__szkolenie-nazwa { margin-bottom: 4px; font-size: 17px; }
.ak-profil .ak-profil__kurs .ak-profil__szkolenie-forma { margin: 0; }

/* wyróżnienie (np. nagroda) */
.ak-profil .ak-blok__wyroznienie {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 20px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(4, 190, 230, .10), rgba(127, 227, 247, .22));
  border: 1px solid rgba(4, 190, 230, .25);
}
.ak-profil .ak-blok__wyroznienie::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .8), transparent);
  transform: skewX(-20deg);
  animation: ak-blysk-auto 7s ease-in-out 1.5s infinite;
}
.ak-profil .ak-blok__wyroznienie-nazwa {
  color: var(--ak-naglowek);
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}

/* oś czasu */
.ak-profil .ak-os {
  position: relative;
  margin: 20px 0 18px;
  padding: 0 0 0 28px;
  list-style: none;
}
.ak-profil .ak-os::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--ak-niebieski), rgba(4, 190, 230, .15));
}
.ak-profil .ak-os li {
  position: relative;
  margin: 0;
  padding: 0 0 18px;
  animation: ak-wejscie .8s cubic-bezier(.2, .8, .2, 1) both;
}
.ak-profil .ak-os li:last-child { padding-bottom: 0; }
.ak-profil .ak-os li:nth-child(1) { animation-delay: .9s; }
.ak-profil .ak-os li:nth-child(2) { animation-delay: 1.05s; }
.ak-profil .ak-os li:nth-child(3) { animation-delay: 1.2s; }
.ak-profil .ak-os li::before {
  content: "";
  position: absolute;
  left: -27px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ak-niebieski);
  box-sizing: border-box;
  box-shadow: 0 0 0 5px rgba(4, 190, 230, .14);
}
.ak-profil .ak-os li:last-child::before { animation: ak-tetno 2.4s ease-in-out infinite; }
.ak-profil .ak-os__okres {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 10px;
  border-radius: 8px;
  background: rgba(4, 190, 230, .12);
  color: var(--ak-niebieski-ciemny);
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
}
.ak-profil .ak-os__opis {
  display: block;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ak-tekst);
}
.ak-profil .ak-blok > p + p,
.ak-profil .ak-os + p { margin-top: 12px; }

@keyframes ak-tetno {
  0%, 100% { box-shadow: 0 0 0 5px rgba(4, 190, 230, .14); }
  50%      { box-shadow: 0 0 0 10px rgba(4, 190, 230, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ak-profil .ak-os li::before { animation: none; }
}

/* „Zobacz profil” zawsze na dole karty, na tej samej wysokości w rzędzie */
.ak-wykladowcy .ak-karta--link { display: flex; }
.ak-wykladowcy .ak-karta__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.ak-wykladowcy .ak-karta--link .ak-karta__wiecej { margin-top: auto; padding-top: 22px; }
