/* KanApka — extras stylesheet.
 * Стилі для шаблонів додані в нічних сесіях:
 *   - 404 / search / archive / single
 *   - вспливаючі повідомлення форм (forms-ux.js)
 *   - blog empty/placeholder fallback
 *
 * Файл навмисно не входить у vite bundle — підключається окремо
 * через wp_enqueue, щоб не залежати від збірки і не ламати live dist.
 */

/* ── Skip link ──────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: #1a1a1a;
  color: #fcd34d;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

/* ── 404 page ───────────────────────────────────────────────── */
.error-404 .container {
  padding: 80px 16px;
  text-align: center;
  max-width: 720px;
}
.error-404__digits {
  font-size: clamp(96px, 18vw, 180px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -6px;
  color: #fcd34d;
  margin: 0 0 16px;
  text-shadow: 6px 6px 0 #1a1a1a;
}
.error-404__title {
  font-size: clamp(24px, 4vw, 36px);
  margin: 0 0 12px;
  font-weight: 800;
}
.error-404__lead {
  font-size: 18px;
  color: #555;
  margin: 0 auto 32px;
  max-width: 520px;
  line-height: 1.5;
}
.error-404__search {
  max-width: 480px;
  margin: 0 auto 32px;
  display: flex;
  gap: 8px;
}
.error-404__search input[type="search"] {
  flex: 1;
  padding: 14px 16px;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
}
.error-404__search input[type="search"]:focus {
  outline: 3px solid #fcd34d;
  outline-offset: 2px;
}
.error-404__nav-title {
  margin: 0 0 12px;
  font-weight: 600;
  font-size: 16px;
  color: #555;
}
.error-404__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.error-404__nav-list a {
  text-decoration: none;
}

/* ── Search results page ───────────────────────────────────── */
.search-results > .container { padding: 48px 16px; }
.search-results__head { margin-bottom: 32px; }
.search-results__title { margin: 0 0 8px; }
.search-results__lead {
  font-size: 18px;
  color: #666;
  margin: 0 0 24px;
}
.search-results__form {
  display: flex;
  gap: 8px;
  max-width: 560px;
}
.search-results__form input[type="search"] {
  flex: 1;
  padding: 14px 16px;
  border: 2px solid #1a1a1a;
  border-radius: 8px;
  font-size: 16px;
}
.search-results__empty {
  text-align: center;
  padding: 48px 16px;
  color: #666;
}
.search-results__empty p { margin-bottom: 16px; font-size: 18px; }

/* ── Archive page ──────────────────────────────────────────── */
.archive > .container { padding: 48px 16px; }
.archive__eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  color: #fcd34d;
  font-weight: 700;
}
.archive__eyebrow a { color: inherit; text-decoration: none; }
.archive__eyebrow a:hover { text-decoration: underline; }
.archive__title { margin: 0 0 12px; }
.archive__description {
  font-size: 18px;
  color: #666;
  max-width: 720px;
  margin: 0 0 24px;
}
.archive__empty { text-align: center; padding: 48px 0; color: #666; }
.archive__empty p { margin-bottom: 16px; font-size: 18px; }

/* ── Single article ────────────────────────────────────────── */
.single-post > .container {
  padding: 48px 16px;
  max-width: 820px;
}
.single-post__header { margin-bottom: 32px; }
.single-post__category { margin: 0 0 12px; }
.single-post__category .chip { text-decoration: none; }
.single-post__title { margin: 0 0 16px; }
.single-post__meta {
  font-size: 14px;
  color: #666;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.single-post__thumb { margin: 0 0 32px; }
.single-post__thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.single-post__content {
  font-size: 18px;
  line-height: 1.7;
}
.single-post__content p { margin: 0 0 1.2em; }
.single-post__content h2 { margin: 1.6em 0 0.6em; font-size: 28px; }
.single-post__content h3 { margin: 1.4em 0 0.5em; font-size: 22px; }
.single-post__content a { color: #1a1a1a; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.single-post__content a:hover { color: #fcd34d; }
.single-post__content blockquote {
  margin: 24px 0;
  padding: 16px 24px;
  background: #f9f9f6;
  border-left: 4px solid #fcd34d;
  font-style: italic;
}
.single-post__tags {
  margin-top: 32px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.single-post__tags .chip { text-decoration: none; }

/* ── Pagination (used in search/archive/single navigation) ─── */
.kanapka-pagination {
  list-style: none;
  display: flex;
  gap: 4px;
  justify-content: center;
  padding: 0;
  margin: 32px 0 0;
}
.kanapka-pagination li > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  background: #fff;
}
.kanapka-pagination .current,
.kanapka-pagination li > *.current {
  background: #fcd34d;
  border-color: #1a1a1a;
}
.kanapka-pagination li > a:hover { background: #f9f9f6; }

/* ── Form UX inline errors (forms-ux.js) ───────────────────── */
.has-error .field__input,
.has-error .newsletter__input,
label.has-error input,
label.has-error textarea {
  border-color: #dc2626 !important;
  outline: 2px solid #fee2e2;
  outline-offset: 0;
}
[data-field-error] {
  color: #dc2626;
  font-size: 13px;
  margin-top: 4px;
}
[data-form-feedback] {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
}

/* ── Mobile menu — статичний стан без переходів ─────────────── */
.mobile-menu[aria-hidden="true"]:not(.is-open) {
  pointer-events: none;
}

/* ── Telegram CTA (header + mobile menu) ───────────────────── */
.site-header__telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #229ED9;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  margin-right: 8px;
}
.site-header__telegram:hover { background: #1d8bbf; color: #fff; }
.site-header__telegram svg { flex-shrink: 0; }

/* На вузьких екранах залишаємо лише іконку */
@media (max-width: 1024px) {
  .site-header__telegram span { display: none; }
  .site-header__telegram { padding: 10px; }
}
@media (max-width: 768px) {
  .site-header__telegram { display: none; }
}

.mobile-menu__telegram {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #229ED9;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  margin-top: 16px;
}
.mobile-menu__telegram:hover { background: #1d8bbf; color: #fff; }

/* ── FAQ chevron: статичний поворот без переходу ─────────── */
.faq__item.is-open .faq__chevron { transform: rotate(180deg); }

/* Focus-visible — а11y */
:focus-visible {
  outline: 2px solid #fcd34d;
  outline-offset: 2px;
}

/* ── Teachers slider on desktop ────────────────────────────
   Перевизначаємо desktop grid-collapse → залишаємо slider як slider.
   Layout: intro card зліва (фіксована ширина), slider справа з
   горизонтальною прокруткою. nav/dots повертаємо у видимий стан. */
@media (min-width: 1024px) {
  .teachers__inner {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: stretch;  /* row висота = max(intro, slider) — обидва однакові */
  }
  .teachers__intro {
    aspect-ratio: auto;
  }
  /* cards-per-view: 3 — slider JS обмежує maxIndex = (5-3)=2,
     неможливо доскролити до порожніх слотів */
  .teachers__slider {
    display: block;
    position: relative;
    min-width: 0;
    height: 100%;          /* slider тягнеться на висоту intro */
    --cards-per-view: 3;
    --slide-gap: 16px;
    --peek: 0px;
  }
  .teachers__viewport {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    height: 100%;
  }
  .teachers__track {
    display: flex;
    gap: 16px;
    align-items: stretch;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
  /* Картки беруть висоту slider (= intro). aspect-ratio знято щоб stretch
     спрацював. Фото з main.css має object-fit: cover — гарно заповнить. */
  .teachers__track > .teacher-card {
    flex: 0 0 calc((100% - 32px) / 3);
    min-width: 0;
    aspect-ratio: auto !important;
    height: 100%;
  }
  /* nav/dots видимі на desktop (main.css їх ховав) */
  .teachers__nav,
  .teachers__dots {
    display: flex !important;
  }
  .teachers__nav { z-index: 3; }
  .teachers__dots {
    margin-top: 16px;
    justify-content: center;
  }
}

/* ── Teacher-card bio flip ──────────────────────────────────
   Click на іконку справа знизу → фото змінюється на короткий
   текст про викладача. Друге натискання — повертає фото. */
.teacher-card {
  position: relative;
  isolation: isolate;
}
.teacher-card__photo {
  transition: opacity 0.3s ease, transform 0.4s ease;
}
.teacher-card.is-bio .teacher-card__photo {
  opacity: 0;
  transform: scale(0.98);
  transition-duration: 0.25s;
}

.teacher-card__bio {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 22px 64px;
  background: #fcd34d;
  color: #1a1a1a;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
/* override [hidden] щоб opacity-transition мав на що ставати */
.teacher-card__bio[hidden] {
  display: flex;
}
.teacher-card.is-bio .teacher-card__bio {
  opacity: 1;
  pointer-events: auto;
}
.teacher-card__bio-name {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.2;
}
.teacher-card__bio-text {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Action button — два SVG-стани (інфо + хрестик) перемикаються.
   ВАЖЛИВО: main.css дає overlay { position: relative; z-index: 1 } —
   це створює свій stacking context. Кнопка всередині overlay не може мати
   z-index ВИЩЕ overlay'a (1). Bio з z-index: 2 перекриває overlay → кнопка
   ховається. Виправляємо: знімаємо stacking context з overlay (z-index: auto)
   → кнопка escapes у card-level stacking, де її z-index: 5 > bio z-index: 2. */
.teacher-card__overlay {
  z-index: auto !important;
}
.teacher-card__action {
  position: absolute !important;
  bottom: 16px;
  right: 16px;
  z-index: 5 !important;
  margin: 0 !important;
  transition: background-color 0.25s ease, color 0.25s ease;
}
/* У bio-режимі кнопка темна — контраст з жовтим bg бйо.
   Інакше жовта кнопка на жовтому → невидима. */
.teacher-card.is-bio .teacher-card__action {
  background: #1a1a1a !important;
  color: #fcd34d !important;
}
.teacher-card.is-bio .teacher-card__action:hover {
  background: #2a2a2a !important;
  transform: none;  /* блокуємо main.css hover scale */
}
.teacher-card__action-icon {
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.teacher-card__action-icon--close {
  position: absolute;
  inset: 0;
  margin: auto;
  opacity: 0;
  transform: rotate(-90deg) scale(0.7);
}
.teacher-card.is-bio .teacher-card__action-icon--info {
  opacity: 0;
  transform: rotate(90deg) scale(0.7);
}
.teacher-card.is-bio .teacher-card__action-icon--close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* На мобільному bio може бути scrollable якщо текст довгий */
@media (max-width: 767px) {
  .teacher-card__bio {
    padding: 20px 18px 56px;
  }
  .teacher-card__bio-text {
    font-size: 13px;
  }
}

/* ── Home hero (.hero) — світлий cream-фон, темний текст, фото-колаж знизу.
   У дизайні фігми: cream papercut bg (вже вшито в hero-home-mobile.webp),
   текст «Польська для подорожей» зверху чорний, колаж (van+sun+camera+
   hearts+denim) на нижній частині картинки. main.css натомість додає
   dark gradient overlay і робить текст cream — це для темних фото-плейсхолд.
   На головній — знімаємо overlay, повертаємо темний колір тексту. */
/* ── Hero border — як у course-card: 1px solid border, radius на tablet+.
   Border ставимо ТІЛЬКИ на viewport (зовнішній контейнер з border-radius)
   — інакше виходить подвійна лінія, бо slide теж має border-radius. */
@media (min-width: 768px) {
  .hero__viewport,
  .courses-hero__viewport {
    border: 1px solid var(--c-border) !important;
  }
}

/* ── Hero уніфікація: ВСІ hero-блоки (home + courses + individual + corporate
   + admission) мають cream-фон з вшитим колажем. Знімаємо dark gradient
   overlay і робимо текст темним всюди — на mobile і на desktop. */
.hero .hero__slide::before,
.courses-hero__slide::before {
  display: none !important;
}
.hero .hero__title,
.hero .hero__subtitle,
.courses-hero__title,
.courses-hero__title--mobile,
.courses-hero__title--desktop,
.courses-hero__lead {
  color: #1a1a1a !important;
}
.hero .hero__media img,
.courses-hero__media img {
  object-position: center bottom !important;
}

/* Dots всередині слайда (як в фігмі), на mobile — для всіх hero */
@media (max-width: 767px) {
  .courses-hero {
    position: relative;
  }
  .courses-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 2;
    padding-block: 0;
  }
}

@media (max-width: 767px) {
  /* Home hero — текст у верхній частині (як у фігмі), колаж знизу */
  .hero .hero__slide {
    justify-content: flex-start !important;
    padding-top: 56px;
  }
  /* Інші hero (courses/individual/corporate) — текст по центру */
  .courses-hero__slide {
    justify-content: center !important;
  }
  .hero__content,
  .courses-hero__content {
    text-align: left;
  }
  /* Home hero CTA — ліворуч (як інші hero-блоки) */
  .hero__cta {
    align-self: flex-start !important;
  }

  /* Dots — поверх картки (внизу всередині блоку), а не під ним.
     main.css на mobile рендерить .hero__dots як sibling viewport'а →
     вони лежать ПІД карткою на cream-bg. Robимо їх абсолютними
     відносно .hero, прижимаємо до низу viewport'а. */
  .hero {
    position: relative;
  }
  .hero__dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 2;
    padding-block: 0;
  }
}

/* ── Lesson cards — same width as courses cards на широких екранах ─
   main.css на ≥1280px дає 4 cards-per-view → cards вузькі → з 16:9
   фото стає дрібним. Уніфікуємо на 3 cards-per-view як у courses-grid. */
@media (min-width: 1280px) {
  .lessons__slider { --cards-per-view: 3 !important; }
}

/* ── About stats bubbles — нові PNG-іконки з центрованим bubble.
   main.css має позиціонування з top: -55%/-65% і height: 130-145% —
   воно було під старі offset-PNG. З новими centered PNG'ами bubble
   зноситься занадто далеко за межі картки. Перевизначаємо: задаємо
   ВИДИМУ ширину (%), щоб не покладатись на intrinsic-aspect computation
   яка інколи колапсує до 0 (особливо коли parent flex-column без height).
   Висота — auto від aspect-ratio картинки. */
/* Per-card bubble placement за фігмою:
   - Blue (Сертифікат) + Yellow (10) — у верхньому ПРАВОМУ куті
   - Orange (58 000) + Green (15 000+) — у верхньому ЛІВОМУ куті
   - Розміри: blue/green більші, orange менший, yellow найменший. */
.stat__bubble {
  height: auto !important;
  max-width: none !important;
}
.stat--blue   .stat__bubble {
  top: -25% !important;
  left: -20% !important;
  right: auto !important;
  width: 80% !important;
}
.stat--yellow .stat__bubble {
  top: -20% !important;
  /* Mobile: жовтий ліворуч (праворуч обрізало за край екрана).
     Desktop: праворуч (per правки клієнта) — у @media нижче. */
  left: -8% !important;
  right: auto !important;
  width: 58% !important;
}
.stat--orange .stat__bubble {
  top: -8% !important;
  left: -5% !important;
  right: auto !important;
  width: 50% !important;
}
.stat--green  .stat__bubble {
  top: -15% !important;
  left: -12% !important;
  right: auto !important;
  width: 58% !important;
}

/* Desktop ≥768px — картки в ряд (нижчі і ширші), тому top у відсотках
   дає менший абсолютний зсув. Синє ↑ (вище), помаранчеве трохи опускаємо
   (на mobile -8% мало, але на desktop -45% занадто), зелене переносимо
   на правий бік (на mobile воно ліворуч, на desktop у фігмі — праворуч). */
@media (min-width: 768px) {
  .stat--blue   .stat__bubble {
    top: -45% !important;
    right: -15% !important;
  }
  .stat--orange .stat__bubble {
    top: -10% !important;
    right: -5% !important;
    left: auto !important;
  }
  .stat--green  .stat__bubble {
    top: -15% !important;
    right: -10% !important;
    left: auto !important;
  }
  .stat--yellow .stat__bubble {
    top: -22% !important;       /* було -45% — фігурку майже не було видно; опускаємо в зону видимості */
    right: -8% !important;
    left: auto !important;
    width: 52% !important;
  }
}

/* ── Організація занять (/courses/) — bubble decorations.
   main.css: mobile 180×180/top -90, desktop ≥768 220×220/top -110.
   Зелена і синя картки потребують більший bubble і нижче на desktop.
   На mobile синя картка зараз ліворуч + більше (раніше була праворуч). */
@media (max-width: 767px) {
  /* Синя картка "Розмовне" на mobile → bubble ліворуч + більший */
  .org-card--blue .org-card__bubble,
  .org-card--pos-2 .org-card__bubble {
    left: 16px !important;
    right: auto !important;
    width: 240px !important;
    height: 240px !important;
    top: -100px !important;
  }
}
@media (min-width: 768px) {
  /* Усі 3 картки (Лекція 1 / Практика / Розмовне) — однаковий розмір
     bubble. Раніше тут було тільки green+blue → orange на /admission/
     візуально менша ("Два практичних заняття розмилось/обрізано" в ТЗ). */
  .org-card--green  .org-card__bubble,
  .org-card--orange .org-card__bubble,
  .org-card--blue   .org-card__bubble {
    width: 280px !important;
    height: 280px !important;
    top: -90px !important;
  }

  /* Тільки /courses/ "Організація занять" (клас .organization--courses):
     зелений і червоний bubble завеликі і наїжджали на заголовок. Зменшуємо
     і піднімаємо. ВАЖЛИВО: НЕ чіпаємо individual-process та admission — там
     інші зображення bubble (Switch-container*) з іншими пропорціями. */
  .organization--courses .org-card--green  .org-card__bubble,
  .organization--courses .org-card--orange .org-card__bubble {
    width: 210px !important;
    height: 210px !important;
    top: -80px !important;
  }
}

/* ── individual-process «Як розпочати навчання» — bubble Switch-container
   заповнюють увесь канвас (без прозорих полів, як у зеленої Container),
   тому при top:-90 різались навпіл (червона арка — клієнт: "занизько /
   обрізаний не так"). Показуємо майже всю бульбашку, що акуратно виступає
   згори картки, однаково на всіх 3 картках. Mobile. */
@media (max-width: 767px) {
  .organization--individual .org-card { padding-top: 116px !important; }
  .organization--individual .org-card__bubble {
    width: 104px !important; height: 104px !important; top: -2px !important;
  }
  .organization--individual .org-card--pos-0 .org-card__bubble { left: 20px !important; right: auto !important; transform: none !important; }
  .organization--individual .org-card--pos-1 .org-card__bubble { left: 50% !important; right: auto !important; transform: translateX(-50%) !important; }
  .organization--individual .org-card--pos-2 .org-card__bubble { right: 20px !important; left: auto !important; transform: none !important; }
}

/* ── Footer credit: ROYIK варіант лінку — той самий стиль як WebCraft,
   лише hover в іншому кольорі (orange-300 проти yellow при hover'і).
   "×" між іменами рендеримо інлайн у тексті — він уже з spaces навколо. */
.site-footer__credit-link--royik:hover {
  color: var(--c-yellow-500);
}

/* ── Test result modal — lead-gen форма перед показом результату ─────
   Стадія 1 (form): показуємо поля name/email/phone, ховаємо результат.
   Стадія 2 (result): після успішного submit показуємо avatars + рівень. */
.result-modal[data-result-stage="form"] .result-modal__result-stage { display: none; }
.result-modal[data-result-stage="result"] .result-modal__form-stage  { display: none; }

.result-modal__lead {
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  color: #4a4a4a;
  margin: 0 0 20px;
  padding: 0 8px;
}
.result-modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.result-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.result-modal__label {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
}
.result-modal__input {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  color: #1a1a1a;
  transition: border-color .15s;
}
.result-modal__input:focus {
  outline: none;
  border-color: #ea5823;
}
.result-modal__input.is-error {
  border-color: #dc2626;
}
.result-modal__feedback {
  font-size: 13px;
  min-height: 18px;
  color: #4a4a4a;
}
.result-modal__feedback.is-error {
  color: #dc2626;
  font-weight: 600;
}
.result-modal__submit {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
}
.result-modal__submit:disabled {
  opacity: .6;
  cursor: wait;
}

/* ── Blog placeholder hint ─────────────────────────────────── */
.blog__hint {
  text-align: center;
  padding: 24px 16px;
  color: #666;
  font-size: 14px;
  margin: 16px auto 0;
  max-width: 640px;
}

/* ── Hero «Польська для вступу»: дизайн ОРИГІНАЛЬНИЙ (спільний .courses-hero —
   фото фоном, текст ліворуч). Блок був зависокий через великий вертикальний
   padding (105px) + надто вузький лід, що розгортав текст на багато рядків.
   Зменшуємо padding і прибираємо мінімальну висоту → блок компактний (як фото 2,
   видно всіх собак). Лід трохи звужений, щоб не заходив на ілюстрацію. */
@media (min-width: 768px) {
  .courses-hero--admission .courses-hero__slide {
    min-height: 0;
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .courses-hero--admission .courses-hero__lead { max-width: 360px; }
}

/* ── Admission «Структура навчального тижня» (.structure): green/orange бабли
   тиснулись до заголовка — піднімаємо вище; синій виглядав дрібним — збільшуємо.
   Scoped до .structure, щоб не зачепити courses/individual. Desktop. */
@media (min-width: 768px) {
  /* зелений — трохи нижче (був задерто високо) */
  .structure .org-card--green .org-card__bubble {
    top: -148px !important;
  }
  /* помаранчевий — ще менший */
  .structure .org-card--orange .org-card__bubble {
    width: 200px !important;
    height: 200px !important;
    top: -100px !important;
  }
  /* синій — більший */
  .structure .org-card--blue .org-card__bubble {
    width: 330px !important;
    height: 330px !important;
    top: -140px !important;
  }
}

/* Тести: картки тепер посилання на сторінки тестів (а не модалка). */
.test-card__title-link { color: inherit; text-decoration: none; }
.test-card__title-link:hover { text-decoration: underline; }
a.test-card__cta { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
