/* assets/css/course.css — полный обновлённый файл
   Главное:
   — Современный редизайн карточки цены: чистый фон, объёмная тень, сглаженные элементы, плавные ховеры.
   — Список «Этот онлайн-курс включает:» с тонкими разделителями между строками.
   — Сохранены: стеклянные элементы в hero, тулбар с контрастом .on-light (теперь цвет #0f172a), sticky-переключение прайса,
     блок «Не пропустите старт», табы, карточки курсов, FAQ и доступность.
   — Улучшена мобильная адаптация: блока «Кто автор онлайн-курса?» и вкладки «Особенности» (features table).
*/

/* Токены */
:root{
  --brand: #ffcc32;
  --primary: #4f46e5;
  --primary-600: #4338ca;

  --text: #212a34;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --border: #eaeef3;

  --success: #22c55e;
  --danger: #f43f5e;

  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-soft-2: #fcfdff;

  --glass-bg: rgba(255,255,255,.10);
  --glass-bg-strong: rgba(255,255,255,.14);
  --glass-border: rgba(255,255,255,.22);
  --glass-shadow: 0 12px 30px rgba(2,8,23,.20);

  --surface-shadow: 0 8px 24px rgba(2,8,23,.08);
}

/* =========================
   HERO
   ========================= */
.course-hero{
  position: relative;
  height: clamp(560px, 75vh, 720px);
  background-size: cover; background-position: center;
  color: #fff; padding-top: 40px; z-index: 10; overflow: visible;
}
.course-hero::after{
  content:""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; z-index: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(245,245,245,1) 100%);
}
.course-hero-gradient{ position: absolute; inset: 0; opacity: .85; pointer-events: none; }
.course-hero .container{ position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; }
.course-hero-inner{ display: grid; grid-template-columns: 1fr 440px; gap: 30px; align-items: start; width: 100%; height: 100%; }
.course-hero-content{ max-width: 100%; display: flex; flex-direction: column; height: 100%; margin-top: 8px; }
.course-hero-sidebar{ position: relative; }

.course-hero h1{
  font-size: 36px; margin-bottom: 12px; font-weight: 800; color: #fff;
  line-height: 1.22; letter-spacing: .1px; text-shadow: 0 1px 2px rgba(0,0,0,.28);
}
@supports (text-wrap: balance){ .course-hero h1{ text-wrap: balance; } }
@media (min-width: 1200px){
  .course-hero h1{ max-width: calc(100% + 470px); margin-right: calc(-440px - 30px); white-space: normal; }
}

/* Фоновое изображение hero — теперь через <picture>/<img> */
.course-hero .course-hero-bg{
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.course-hero .course-hero-bg img{
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Градиент — поверх картинки */
.course-hero-gradient{ position: absolute; inset: 0; opacity: .85; pointer-events: none; z-index: 1; }

/* Контент — над градиентом */
.course-hero .container{ position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; }


.course-subtitle{ font-size: 18px; margin-bottom: 20px; opacity: .92; color: #fff; }

/* Фичи — «glass» */
.course-features{ display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.feature{
  display: inline-flex; align-items: center; gap: 8px; color: #e2e8f0;
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 999px; padding: 8px 12px;
  transition: background .18s, border-color .18s, transform .12s;
}
.feature i{ font-size: 18px; }
@supports (backdrop-filter: blur(6px)){ .feature{ backdrop-filter: blur(6px); } }
.feature:hover{ background: var(--glass-bg-strong); border-color: rgba(255,255,255,.30); transform: translateY(-1px); }

/* Описание в hero — белым и полностью, без обрезаний */
.course-hero .course-description{
  font-size: 18px; line-height: 1.6; margin-bottom: 16px; opacity: .92; color: #fff;
  height: auto !important; max-height: none !important; overflow: visible !important;
  overflow-wrap: anywhere; word-break: normal; display: block;
}

/* Автор */
.course-author{ margin-top: 10px; }
.author-label{ font-size: 14px; opacity: .85; margin-bottom: 8px; color: #fff; }
.author-info{
  display: inline-flex; align-items: center; gap: 12px; background: var(--glass-bg);
  border: 1px solid var(--glass-border); border-radius: 14px; padding: 10px 12px; color: #fff;
  transition: background .18s, border-color .18s, transform .12s, box-shadow .2s;
}
@supports (backdrop-filter: blur(8px)){ .author-info{ backdrop-filter: blur(8px); } }
.author-info:hover{ background: var(--glass-bg-strong); border-color: rgba(255,255,255,.30); box-shadow: var(--glass-shadow); transform: translateY(-1px); }
.author-info img{
  width: 50px; height: 50px; border-radius: 12px; object-fit: cover; background: #fff;
  border: 1px solid rgba(255,255,255,.6); box-shadow: 0 1px 2px rgba(17,24,39,.16);
}
.author-name{ font-weight: 600; margin-bottom: 2px; color: #fff; }
.author-rating{ display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.author-rating i{ color: var(--brand); }

/* Просмотры */
.course-views{ display: inline-flex; align-items: center; gap: 8px; margin-top: 90px; color: rgba(255,255,255,.95); font-size: 14px; }
.course-views i{ color: rgba(255,255,255,.9); }

/* =========================
   ОСНОВНОЙ КОНТЕНТ
   ========================= */
.course-content{ background: #f5f5f5; padding: 60px 0; position: relative; z-index: 2; }
.course-content-wrapper{ display: flex; margin-top: 30px; position: relative; }
.course-info-column{ flex: 1; padding-right: 30px; }
.course-price-column{ width: 440px; position: relative; }

/* =========================
   ПАНЕЛЬ ИКОНОК НАД ПРАЙСОМ
   ========================= */
.price-card-toolbar {
  display: flex; justify-content: center; gap: 10px; margin: 0 0 12px 0;
}
.circle-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: 1px solid rgba(255,255,255,0.85);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s ease; outline: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2) inset;
}
.circle-icon i { font-size: 16px; line-height: 1; pointer-events: none; }
.circle-icon:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }
.circle-icon.fav-active { background: rgba(255, 255, 255, 0.2); }

/* В зоне светлого фона меняем контраст на тёмно-грифельный (#0f172a) */
.price-card-toolbar.on-light .circle-icon {
  color: #0f172a;
  border-color: #0f172a;
  box-shadow: 0 0 0 1px rgba(15,23,42,.25) inset;
}
.price-card-toolbar.on-light .circle-icon:hover { background: rgba(15,23,42,.12); }

/* =========================
   КАРТОЧКА ЦЕНЫ — СОВРЕМЕННЫЙ ВИД
   ========================= */
.course-price-card{
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(2,8,23,.06);             /* тонкая нейтральная рамка */
  box-shadow: 0 14px 34px rgba(2,8,23,.12);       /* объёмная тень */
  padding: 22px 20px;
  margin-bottom: 28px;
  transition: box-shadow .25s ease, transform .14s ease, border-color .2s ease, background-color .2s ease;
}
.course-price-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(2,8,23,.16);
  border-color: rgba(2,8,23,.10);
}

/* В hero делаем чуть сильнее «стеклянный» эффект */
@media (min-width: 1200px){
  .course-hero .course-price-card{
    background: rgba(255,255,255,.92);
    border-color: rgba(234,238,243,.9);
    box-shadow: 0 18px 40px rgba(2,8,23,.18);
  }
  @supports (backdrop-filter: blur(10px)){
    .course-hero .course-price-card{ background: rgba(255,255,255,.88); backdrop-filter: blur(10px); }
  }
}

/* Внутренняя сетка (не ломаем разметку: план-режим остаётся колонкой) */
.course-price-card.plan-layout{
  display: flex; flex-direction: column; align-items: stretch;
}

/* Заголовок секции цены */
.price-header{
  font-size: 13px; font-weight: 800; color: var(--muted);
  letter-spacing: .12em; text-transform: uppercase; margin: 0 0 6px 0;
}

/* Текущая цена */
.price-current{
  font-size: clamp(26px, 3.1vw, 36px);
  font-weight: 900; color: var(--text);
  display: inline-flex; align-items: baseline; gap: 10px; line-height: 1.1;
}
.price-current.free{ color: #27ae60; }

/* Старая цена */
.price-original{
  font-size: 15px; color: var(--muted-2); text-decoration: line-through;
  margin: 6px 0 10px 0;
}

/* Бейдж скидки */
.discount-badge{
  display: inline-block; background: var(--danger); color: #fff;
  padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; margin-left: 6px;
}

/* Описание цены */
.price-description{
  color: #4b5563; margin: 8px 0 12px; line-height: 1.55;
}

/* Разделитель */
.price-sep{ height: 1px; background: #f0f2f6; margin: 12px 0; }

/* CTA — современный */
.access-btn{
  display: block; width: 100%; padding: 13px 14px; text-align: center;
  background: var(--brand); color: #212a34; border-radius: 12px; font-weight: 900; letter-spacing: .02em;
  margin: 10px 0 14px; text-decoration: none; transition: transform .12s, box-shadow .22s, filter .18s;
  box-shadow: 0 10px 22px rgba(255,204,50,.25);
}
.access-btn:hover{
  transform: translateY(-2px); filter: brightness(1.03);
  text-decoration: none; box-shadow: 0 14px 28px rgba(255,204,50,.33);
}
.access-btn:active{ transform: translateY(1px); }

/* Список «Этот онлайн-курс включает:» с линиями-разделителями */
.features-title{ font-size: 15px; margin: 8px 0 10px; color: var(--text); font-weight: 700; }
.course-features-list{ list-style: none; padding: 0; margin: 0; }
.course-features-list li{
  display: flex; align-items: center; gap: 10px; color: #555; padding: 10px 0; margin: 0;
}
.course-features-list li + li{ border-top: 1px solid #eaeef3; }
.course-features-list li::before{ content: none; }
.course-features-list li i{
  width: 20px; margin-right: 10px; color: #99a3b3; display: inline-block; flex: 0 0 20px;
}
.course-features-list li span{ flex: 1 1 auto; }

/* Нижняя зона карточки (кнопка плана и т.п.) */
.price-footer{
  margin-top: 8px; padding-top: 12px; border-top: 1px solid #eef2f7;
}
.plan-btn{
  width: 100%; background: #f6f8fb; color: #1f2937; border: 1px solid #e8ecf2;
  border-radius: 10px; font-weight: 700; padding: 10px 12px; transition: all .18s;
}
.plan-btn:hover{ background: #eef2f8; transform: translateY(-1px); border-color: #e1e7ef; }
.plan-btn:active{ transform: translateY(0); }

/* =========================
   Sticky-поведение прайса
   ========================= */
.price-wrapper{ position: static; width: 100%; max-width: 440px; margin-left: auto; }
@media (min-width: 1200px){
  .course-hero-sidebar .price-wrapper.abs-hero{ position: absolute; right: 0; width: 440px; z-index: 100; }
  .course-price-column .price-wrapper.sticky-in-col{
    position: sticky; top: var(--sticky-top, 90px); width: 100% !important; right: auto; left: auto; z-index: 10;
  }
}
@media (max-width: 1199px){
  .course-hero{ height: auto; padding: 52px 0 40px; z-index: 1; overflow: hidden; }
  .course-hero-inner{ grid-template-columns: 1fr; }
  .course-content{ position: relative; z-index: 2; }
  .course-content-wrapper{ flex-direction: column; margin-top: 24px; }
  .course-info-column{ padding-right: 0; margin-bottom: 20px; }
  .course-price-column{ width: 100%; }
  .course-content-wrapper > #price-wrapper{
    position: static !important; width: 100% !important; max-width: 100% !important; margin: 0 0 20px 0; z-index: auto !important;
  }
}

/* =========================
   «Не пропустите старт»
   ========================= */
.webinar-info{
  display: block; width: 100%;
  background: #ffda44; color: #111 !important; border: 1px solid #e6c700;
  border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; position: relative; z-index: 1;
  box-shadow: 0 4px 12px rgba(230,199,0,.15);
}
.webinar-title{ font-size: 14px; font-weight: 600; color: #111 !important; margin-bottom: 6px; }
.webinar-when{ font-size: 16px; font-weight: 800; color: #111 !important; }
.webinar-time{ font-weight: 800; margin-left: 6px; color: #111 !important; }
.course-hero .webinar-info{ background: #ffda44; }

/* =========================
   Контентные блоки
   ========================= */
.course-info-block,
.course-author-block{
  background: var(--surface); border-radius: 14px; box-shadow: var(--surface-shadow);
  border: 1px solid var(--border); padding: 24px; margin-bottom: 28px;
  transition: box-shadow .2s, transform .12s, border-color .18s, background-color .18s;
}
.course-info-block:hover, .course-author-block:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px rgba(2,8,23,.10); }

.course-info-block h2{ font-size: 24px; margin: 0 0 18px 0; color: var(--text); }
.course-info-block h2 + .what-you-learn-content{ margin-top: 18px; }
.what-you-learn-content{ color: #555; }
.what-you-learn-content p{ margin-bottom: 15px; }
.what-you-learn-content ul{ list-style: none; padding-left: 0; margin: 0 0 10px 0; columns: 2; column-gap: 28px; }
.what-you-learn-content li{
  position: relative; padding-left: 32px; margin: 8px 0 12px 0; break-inside: avoid; color: #444;
}
.what-you-learn-content li::before{
  content: "✓"; position: absolute; left: 0; top: 0.15em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--success); color: #fff; font-weight: 700; font-size: 14px; line-height: 22px; text-align: center;
}
@media (max-width: 1199px){ .what-you-learn-content ul{ columns: 1; } }

/* =========================
   Tabs
   ========================= */
.course-tabs{
  background: var(--surface);
  border-radius: 14px; box-shadow: var(--surface-shadow); border: 1px solid var(--border);
  padding: 16px 24px; margin-bottom: 28px;
}
.tab-buttons{
  display: flex; gap: 16px; flex-wrap: nowrap; /* nowrap + скролл на моб */
  margin: 0 0 10px 0; padding-bottom: 6px; border-bottom: 1px solid var(--border); background: transparent;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.tab-buttons::-webkit-scrollbar{ display: none; }
.tab-btn{
  background: none; border: none; padding: 8px 4px; cursor: pointer; font-weight: 800; color: #4b5563; position: relative;
  transition: color .18s, transform .12s; white-space: nowrap;
}
.tab-btn:hover{ color: #1f2937; transform: translateY(-1px); }
.tab-btn.active{ color: #1f2937; }
.tab-btn.active::after{
  content:""; position: absolute; left: 0; right: 0; bottom: -7px; height: 3px;
  background: var(--brand); border-radius: 999px;
}
.tab-content{ padding: 8px 0; }
.tab-pane{ display: none; line-height: 1.65; color: #555; }
.tab-pane.active{ display: block; }

#description p, #program p{ margin-bottom: 15px; }
#description ul, #program ul{ padding-left: 20px; margin-bottom: 15px; }
#description li, #program li{ margin-bottom: 8px; }
#description strong, #program strong{ font-weight: 700; color: var(--text); }

/* Нумерованные списки */
.tab-pane ol, #description ol, #program ol{ list-style: none; counter-reset: item; padding-left: 0; margin: 0 0 14px 0; }
.tab-pane ol li, #description ol li, #program ol li{
  counter-increment: item; position: relative; padding-left: 44px; margin: 8px 0;
}
.tab-pane ol li::before, #description ol li::before, #program ol li::before{
  content: counter(item);
  position: absolute; left: 0; top: 0.1em; width: 28px; height: 28px; border-radius: 50%;
  background: var(--success); color: #fff; font-weight: 700; font-size: 14px; line-height: 28px; text-align: center;
}

/* =========================
   Таблица особенностей (Особенности)
   ========================= */
.features-table{
  width: 100%; margin-top: 20px;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--surface-shadow);
}
.feature-row{ display: flex; border-bottom: 1px solid #eef2f7; padding: 12px 14px; transition: background-color .18s; }
.feature-row:nth-child(odd){ background: var(--surface-soft-2); }
.feature-row:last-child{ border-bottom: none; }
.feature-row:hover{ background: #f7fbff; }
.feature-name{ width: 40%; font-weight: 700; color: var(--text); }
.feature-value{ width: 60%; color: #555; }

/* — Мобильная адаптация вкладки «Особенности» */
@media (max-width: 767px){
  .features-table{ border-radius: 12px; overflow: hidden; }
  .feature-row{
    display: grid; grid-template-columns: 1fr; row-gap: 6px;
    padding: 12px 14px;
  }
  .feature-name, .feature-value{ width: 100%; }
  .feature-name{
    font-size: 14px; color: #0f172a;   /* акцентированный заголовок строки */
  }
  .feature-value{
    font-size: 14px; color: #475569;   /* читаемое описание */
  }
}

/* =========================
   Блок автора (Кто автор онлайн-курса?)
   ========================= */
.course-author-block .author-details{
  display: flex; align-items: flex-start; gap: 16px; background: #fafafa; border: 1px solid #eee; border-radius: 12px;
  padding: 16px; margin-bottom: 16px; transition: transform .12s, box-shadow .2s, border-color .18s;
}
.course-author-block .author-details:hover{ transform: translateY(-1px); box-shadow: 0 8px 18px rgba(2,8,23,.08); border-color: #e9edf2; }
.course-author-block .author-details:last-child{ margin-bottom: 0; }
.course-author-block .author-details img{
  width: 160px; height: 160px; border-radius: 12px; object-fit: cover; background: #fff; border: 1px solid #eef2f7; box-shadow: 0 1px 2px rgba(17,24,39,.12);
}
.course-author-block h2{ font-size: 24px; margin: 0 0 12px 0; color: var(--text); }
.course-author-block .author-details h3{ font-size: 18px; margin: 0 0 6px 0; color: var(--text); }
.course-author-block .author-details p{ margin: 0 0 12px 0; line-height: 1.6; color: #555; }

.author-courses-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border: 2px solid #aacc18; border-radius: 9999px; background: transparent; color: #aacc18;
  font-weight: 800; font-size: 14px; letter-spacing: .2px; text-decoration: none !important; line-height: 1;
  transition: all .2s;
}
.author-courses-btn:hover, .author-courses-btn:focus-visible{
  background: #aacc18; color: #fff; transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(170,204,24,.18); outline: none;
}

/* — Мобильная адаптация блока автора */
@media (max-width: 767px){
  .course-author-block .author-details{
    flex-direction: column; align-items: center; text-align: center; gap: 12px;
  }
  .course-author-block .author-details img{
    width: 120px; height: 120px;
  }
  .course-author-block .author-details h3{ font-size: 16px; }
  .course-author-block .author-details p{ font-size: 14px; }
  .author-courses-btn{ width: 100%; }
}

/* =========================
   Карточки / Слайдеры
   ========================= */
.course-card{
  width: 320px; min-width: 320px; background: #fff; border-radius: 12px; border: 1px solid rgba(234,238,243,.9);
  box-shadow: var(--surface-shadow); margin: 0 10px; overflow: hidden;
  transition: transform .3s, opacity .3s, box-shadow .3s, border-color .2s;
  cursor: pointer; text-decoration: none; color: inherit; display: flex; flex-direction: column; flex-shrink: 0; height: auto;
}
.course-card:hover{ transform: translateY(-5px); box-shadow: 0 12px 26px rgba(2,8,23,.12); border-color: #e6ebf3; }

.course-image{ height: 150px; position: relative; overflow: hidden; }
.course-image img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s; position: relative; z-index: 1; }
.course-card:hover .course-image img{ transform: scale(1.08); }
.course-image-gradient{ position: absolute; inset: 0; opacity: .85; z-index: 2; mix-blend-mode: multiply; }
.course-category{
  position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.65);
  color: #fff; padding: 6px 10px; border-radius: 8px; font-size: 12px; z-index: 3;
}
.course-format{ position: absolute; bottom: 10px; left: 10px; color: #fff; font-size: 14px; font-weight: 600; z-index: 3; text-shadow: 0 1px 2px rgba(0,0,0,.25); }

.course-info{ padding: 15px; display: flex; flex-direction: column; }
.course-title{ font-size: 18px; margin-bottom: 10px; color: var(--text); line-height: 1.3; }
.course-provider{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 14px; color: #666; }
.course-rating{ display: flex; align-items: center; }
.course-rating i{ color: var(--brand); margin-right: 5px; }

.course-card .course-description{ font-size: 14px; color: #666; margin-bottom: 15px; line-height: 1.45; }

.course-details{ display: flex; margin-bottom: 15px; }
.course-duration, .course-lessons{ display: flex; align-items: center; font-size: 14px; color: #666; margin-right: 20px; }
.course-duration i, .course-lessons i{ margin-right: 5px; color: #999; }
.course-price{ font-weight: 700; font-size: 16px; margin-top: auto; }
.course-price.free{ color: #27ae60; }
.course-price.paid{ color: var(--text); }
.course-price.subscription{ color: #2196f3; }

.courses-slider{ position: relative; margin-bottom: 20px; overflow: hidden; width: 100%; }
.courses-slider-container{ display: flex; transition: transform .5s; padding: 20px 0; }
.courses-slider-navigation{ display: flex; justify-content: center; margin-top: 10px; gap: 12px; }
.courses-slider-prev, .courses-slider-next{
  width: 40px; height: 40px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,.1); border: none; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .3s ease;
}
.courses-slider-prev:hover, .courses-slider-next:hover{ background: var(--brand); }

/* =========================
   Секции каруселей
   ========================= */
.author-courses{
  background-color: #f5f5f5;
  padding: 40px 0 60px;  /* увеличенный верхний отступ */
  margin-top: 24px;      /* дистанция от предыдущего блока */
  border-top: 1px solid #eaeef3; /* тонкий верхний разделитель */
}
.category-courses{ background-color: #f5f5f5; padding: 10px 0 60px; }
.section-header-simple{ margin-bottom: 20px; }
.section-header-simple h2{
  font-size: 28px; color: var(--text); margin: 0 0 12px 0; letter-spacing: .2px;
}

/* =========================
   FAQ
   ========================= */
.course-faq-block{ background: #fff; border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--surface-shadow); padding: 16px; }
.faq-list{ border-top: 1px dashed #e5e7eb; }
.faq-item{ border-bottom: 1px dashed #e5e7eb; }
.faq-q{
  width: 100%; background: none; border: none; text-align: left;
  padding: 14px 36px 14px 0; font-size: 16px; font-weight: 800; color: var(--text); cursor: pointer; position: relative;
}
.faq-q .faq-caret{
  position: absolute; right: 0; top: 50%; transform: translateY(-50%) rotate(0deg);
  width: 22px; height: 22px; border-radius: 50%;
  background: #f3f4f6; color: #475569; display: inline-flex; align-items: center; justify-content: center;
}
.faq-q .faq-caret::before{ content: "▾"; font-size: 14px; line-height: 1; }
.faq-item.open .faq-q .faq-caret{ transform: translateY(-50%) rotate(180deg); }

.faq-a{ overflow: hidden; max-height: 0; transition: max-height .3s ease; color: #555; }
.faq-item.open .faq-a{ padding: 0 0 14px 0; max-height: 1000px; }
.faq-a p{ margin: 8px 0; line-height: 1.65; }

/* =========================
   Доступность
   ========================= */
.author-info:focus-visible,
.access-btn:focus-visible,
.tab-btn:focus-visible,
.course-info-block:focus-visible,
.course-author-block:focus-visible,
.course-price-card:focus-visible,
.course-faq-block:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(79,70,229,.28);
  border-color: var(--primary);
}