/* АвтоТема — шапка академии. Основа взята из плагина подбора StarLine (приветствие, полоса, канат). */
.ath-hero{ width: min(1280px, calc(100vw - 32px)) !important; max-width: none !important; margin: 16px calc(50% - min(640px, 50vw - 16px)) 14px !important; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #2a3038 0%, #1a1e23 55%, #121417 100%); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.18); font-family: inherit; position: relative; }
.ath-hero::before{ content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 9px); pointer-events: none; }
.ath-hero-in{ position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 22px 26px 20px 30px; border-left: 6px solid #e8590c; }
.ath-hero-text{ position: relative; z-index: 1; min-width: 0; flex: 1 1 360px; }
.ath-hero-date{ font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: #ff9d5c; font-weight: 600; margin-bottom: 6px; }
.ath-hero-hello{ font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: #fff; }
.ath-hero-sub{ margin-top: 8px; font-size: 15px; color: #c3c9d0; line-height: 1.4; }
.ath-hero-badge{ position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 40px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 16px; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.ath-hero-badge span span{ color: #c3c9d0; }
.ath-hero-stripe{ height: 8px; background: repeating-linear-gradient(-45deg, #e8590c 0 14px, #1a1e23 14px 28px); }
@media (max-width: 600px){
.ath-hero-in{ padding: 18px 16px 16px 18px; }
.ath-hero-badge{ white-space: normal; }
.ath-hero-sub{ font-size: 14px; }
}
.ath-hero-out{ position: absolute; top: 10px; right: 16px; z-index: 2; font-size: 13px; color: #c3c9d0 !important; text-decoration: none !important; border-bottom: 1px dashed rgba(195,201,208,.5); }
.ath-hero-out:hover{ color: #ff9d5c !important; border-color: #ff9d5c; }
.ath-hero-in{ padding-top: 26px; }
.ath-hero--photo{ background: radial-gradient(ellipse 60% 120% at 78% 45%, #0a3462 0%, #052446 35%, #02172f 70%, #010f20 100%); min-height: 250px; }
.ath-hero--photo::before{ background-image: linear-gradient(rgba(79,209,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(79,209,255,.06) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 75%); mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 75%); }
.ath-hero--photo .ath-hero-in{ min-height: 250px; border-left-color: #4fd1ff; padding-right: 46%; }
.ath-hero-art{ position: absolute; top: 0; right: 0; bottom: 0; width: 56%; background-repeat: no-repeat; background-position: 60% 50%; background-size: auto 112%; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 58% 62% at 58% 50%, #000 52%, rgba(0,0,0,.55) 72%, transparent 100%); mask-image: radial-gradient(ellipse 58% 62% at 58% 50%, #000 52%, rgba(0,0,0,.55) 72%, transparent 100%); }
.ath-hero--photo .ath-hero-text{ flex: 1 1 auto; }
.ath-hero--photo .ath-hero-date{ color: #7fdcff; }
.ath-hero--photo .ath-hero-hello{ text-shadow: 0 2px 18px rgba(79,209,255,.35); }
.ath-hero--photo .ath-hero-sub{ color: #b9cde0; max-width: 520px; }
.ath-hero--photo .ath-hero-badge{ margin-top: 16px; background: rgba(79,209,255,.08); border-color: rgba(79,209,255,.35); }
.ath-hero--photo .ath-hero-stripe{ height: 3px; background: linear-gradient(90deg, #4fd1ff, rgba(79,209,255,.15) 60%, transparent); box-shadow: 0 0 12px #4fd1ff; }
@media (max-width: 760px){
.ath-hero--photo{ min-height: 0; }
.ath-hero-art{ position: relative; width: 100%; height: 200px; background-size: cover; background-position: 50% 40%; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.ath-hero--photo .ath-hero-in{ min-height: 0; padding-right: 16px; padding-top: 4px; }
}
@media (min-width: 761px){
.ath-hero--photo, .ath-hero--photo .ath-hero-in{ min-height: 270px; }
.ath-hero-art{ left: auto; right: 2%; width: auto; aspect-ratio: 900 / 570; height: 100%; background-size: 100% 100%; background-position: center;
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, rgba(0,0,0,.6) 80%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, rgba(0,0,0,.6) 80%, transparent 100%); }
.ath-hero--photo .ath-hero-in{ padding-right: calc(270px * 900 / 570 + 4%); }
}
.ath-hero-date{ display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.ath-hero-clock{ font-size: 22px; font-weight: 800; letter-spacing: .02em; color: #fff; text-transform: none; padding: 2px 10px; border-radius: 8px; background: rgba(79,209,255,.12); border: 1px solid rgba(79,209,255,.35); font-variant-numeric: tabular-nums; line-height: 1.2; }
/* 1.8.9: реально движущийся электрический разряд, а не статичная иконка. */
.ath-hero-time{ display: inline-flex; align-items: center; gap: 12px; flex: 1 1 180px; max-width: 280px; min-width: 0; }
.ath-hero-time .ath-hero-clock{ flex: none; }
.ath-lightning{ position: relative; display: flex; align-items: center; justify-content: center; flex: 1 1 40px; min-width: 40px; max-width: 160px; height: 30px; overflow: hidden; pointer-events: none; }
.ath-lightning-bolt{ display: block; width: min(104px, 100%); height: auto; overflow: visible; transform-origin: 50% 50%; animation: ath-lightning-sweep 2.3s ease-in-out infinite; }
.ath-lightning-halo{ fill: #38caff; opacity: .35; filter: blur(3px); }
.ath-lightning-core{ fill: #bdefff; opacity: .64; stroke: #bcecff; stroke-width: .8; stroke-linejoin: round; }
.ath-lightning-highlight{ fill: none; stroke: #fff; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.ath-lightning-current-glow, .ath-lightning-current{ fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 27 170; animation: ath-lightning-travel 2.3s linear infinite; }
.ath-lightning-current-glow{ stroke: #4fd1ff; stroke-width: 7; filter: blur(2px); }
.ath-lightning-current{ stroke: #fff; stroke-width: 2.5; }
.ath-lightning-branch{ fill: none; stroke: #d2f8ff; stroke-width: 1.8; stroke-linecap: round; filter: drop-shadow(0 0 3px #4fd1ff); animation: ath-lightning-forks 2.3s steps(1, end) infinite; }
@keyframes ath-lightning-sweep{
  0%, 100%{ transform: translateX(-8px) scaleX(.92) rotate(-1deg); }
  22%{ transform: translateX(-3px) scaleX(.98) rotate(1deg); }
  50%{ transform: translateX(3px) scaleX(1.03) rotate(-1deg); }
  80%{ transform: translateX(8px) scaleX(.96) rotate(1deg); }
}
@keyframes ath-lightning-travel{
  0%{ stroke-dashoffset: 165; opacity: 0; }
  9%{ opacity: 1; }
  76%{ stroke-dashoffset: -57; opacity: 1; }
  84%, 100%{ stroke-dashoffset: -85; opacity: 0; }
}
@keyframes ath-lightning-forks{
  0%, 18%, 30%, 47%, 59%, 77%, 100%{ opacity: 0; }
  20%, 27%, 51%, 56%{ opacity: 1; }
}
@media (prefers-reduced-motion: reduce){
  .ath-lightning-bolt, .ath-lightning-current-glow, .ath-lightning-current, .ath-lightning-branch{ animation: none; }
  .ath-lightning-current-glow, .ath-lightning-current{ opacity: 0; }
  .ath-lightning-branch{ opacity: 0; }
}

@media (min-width: 1100px){
.ath-hero--photo .ath-hero-sub{ max-width: none; white-space: nowrap; }
}
.ath-mini{ position: fixed; left: 0; right: 0; top: 0; z-index: 99990; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px 0 18px; background: linear-gradient(90deg, #031c38, #052a52 60%, #031c38); border-bottom: 2px solid #4fd1ff; box-shadow: 0 4px 14px rgba(0,0,0,.25); color: #fff; font-size: 15px; line-height: 1; white-space: nowrap; overflow: hidden; transform: translateY(-120%); transition: transform .25s ease; font-family: inherit; }
.ath-mini.on{ transform: translateY(0); }
.ath-mini::before{ content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: #4fd1ff; }
.ath-mini-hello{ font-weight: 800; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ath-mini-sep{ color: #4fd1ff; }
.ath-mini .ath-hero-day{ color: #7fdcff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.ath-mini .ath-mini-clock{ font-size: 16px; padding: 3px 8px; margin-left: 2px; }
.ath-mini-up{ margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(79,209,255,.5); background: rgba(79,209,255,.12); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; padding: 0; }
.ath-mini-up:hover{ background: #4fd1ff; color: #031c38; }
@media (max-width: 600px){
.ath-mini{ font-size: 14px; gap: 8px; padding-left: 14px; }
.ath-mini .ath-hero-day, .ath-mini-sep{ display: none; }
}
.ath-mini-up{ width: auto; height: 30px; border-radius: 16px; padding: 0 12px; font-size: 14px; font-weight: 600; }
@media (max-width: 600px){
.ath-mini-up{ width: 32px; padding: 0; }
.ath-mini-up span{ display: none; }
}
.ath-mini{ overflow: visible; }
.ath-mini-upwrap{ position: relative; margin-left: auto; flex: none; display: inline-flex; }
.ath-mini-upwrap .ath-mini-up{ margin-left: 0; }
.ath-rope-wrap{ position: absolute; top: calc(100% + 6px); left: 50%; width: 24px; margin-left: -12px; transform-origin: 50% 0; animation: athSwing 3.2s ease-in-out infinite alternate; cursor: pointer; filter: drop-shadow(1px 3px 3px rgba(0,0,0,.35)); }
.ath-rope-wrap::before{ content: ""; position: absolute; left: 50%; top: -8px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; border: 3px solid #9aa3ad; box-sizing: border-box; background: transparent; }
.ath-rope{ display: block; }
.ath-rope-wrap:hover{ animation-duration: 1.2s; }
.ath-rope-wrap.tug{ animation: athTug .35s ease-out; }
@keyframes athSwing{ from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes athTug{ 0% { transform: translateY(0); } 40% { transform: translateY(14px); } 100% { transform: translateY(0); } }
.ath-mini:not(.on) .ath-rope-wrap{ visibility: hidden; }
@media (max-width: 600px){
.ath-rope{ height: 80px; width: 18px; }
.ath-rope-wrap{ width: 18px; margin-left: -9px; }
}
@media (prefers-reduced-motion: reduce){
.ath-rope-wrap{ animation: none; }
}
.ath-rope-wrap{ width: 26px; margin-left: -13px; animation: athSwing2 3.4s ease-in-out infinite; }
@keyframes athSwing2{ 0% { transform: rotate(-6deg) skewX(3deg); } 50% { transform: rotate(5deg) skewX(-4deg); } 100% { transform: rotate(-6deg) skewX(3deg); } }
@media (max-width: 600px){
.ath-rope{ height: 86px; width: 19px; }
.ath-rope-wrap{ width: 19px; margin-left: -9.5px; }
}
.ath-rope-wrap{ width: 44px; margin-left: -22px; animation: none; }
.ath-rope-wrap.tug{ animation: athTug .35s ease-out; }
.ath-rope-wrap::before{ top: -8px; }
@media (max-width: 600px){
.ath-rope{ width: 31px; height: 86px; }
.ath-rope-wrap{ width: 31px; margin-left: -15.5px; }
}
.ath-hero{ --ath-logo-w: clamp(290px, 31vw, 440px); }
.ath-hero .ath-hero-hello, .ath-hero .ath-hero-sub, .ath-hero .ath-hero-date{ text-shadow: 0 1px 3px rgba(1,12,26,.95), 0 0 16px rgba(1,15,32,.85); }
@media (min-width: 901px){
.ath-hero--photo .ath-hero-in .ath-hero-sub{ white-space: normal; max-width: calc(min(1280px, 100vw - 32px) / 2 - var(--ath-logo-w) / 2 + 20px); }
}
@media (min-width: 901px){
.ath-hero--photo .ath-hero-art{ z-index: 1; }
}
@media (min-width: 901px){
.ath-hero{ --ath-logo-x: 43%; }
.ath-hero--photo .ath-hero-in .ath-hero-sub{ max-width: calc(min(1280px, 100vw - 32px) * .43 - var(--ath-logo-w) / 2 + 20px); }
}
/* ---------- академия: надпись «АвтоТема Академия» посередине ---------- */
.ath-hero { --ath-logo-w: clamp(250px, 25vw, 350px); box-sizing: border-box; }
.ath-hero *, .ath-mini * { box-sizing: border-box; }
.ath-logo { position: absolute; left: var(--ath-logo-x, 43%); top: 50%; z-index: 0; width: var(--ath-logo-w); transform: translate(-50%, -50%) rotate(-4deg); text-align: center; pointer-events: none; user-select: none; opacity: .9; font-family: inherit; line-height: 1; }
.ath-logo-main { display: block; font-size: calc(var(--ath-logo-w) * .19); font-weight: 900; font-style: italic; letter-spacing: -.02em; white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 0%, #cfeeff 55%, #7fd3ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 10px rgba(79,209,255,.45)) drop-shadow(0 4px 10px rgba(0,0,0,.55)); }
.ath-logo-main b { font-weight: 900; background: linear-gradient(180deg, #ffd08a 0%, #ff8a2b 55%, #e8590c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ath-logo-sub { display: flex; align-items: center; justify-content: center; gap: .7em; margin-top: .45em; font-size: calc(var(--ath-logo-w) * .05); font-weight: 700; letter-spacing: .55em; text-transform: uppercase; color: #7fdcff; text-shadow: 0 0 10px rgba(79,209,255,.6); padding-left: .55em; }
.ath-logo-sub::before, .ath-logo-sub::after { content: ""; flex: 1; max-width: 22%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #4fd1ff); }
.ath-logo-sub::after { background: linear-gradient(90deg, #4fd1ff, transparent); }
@media (min-width: 901px) { .ath-hero--photo .ath-hero-art { z-index: 1; } }
@media (max-width: 900px) {
  .ath-logo { position: relative; left: auto; top: auto; transform: rotate(-3deg); width: min(80%, 320px); --ath-logo-w: min(80vw, 320px); margin: -18px auto 4px; z-index: 1; }
}

/* кнопка-значок — ссылка */
a.ath-hero-badge, a.ath-hero-badge:hover, a.ath-hero-badge:visited { color: #fff !important; text-decoration: none !important; }
a.ath-hero-badge { transition: background .2s, border-color .2s; }
a.ath-hero-badge:hover { background: rgba(79,209,255,.18) !important; border-color: #4fd1ff !important; }
.ath-badge-sub { display: block; font-size: 12px; font-weight: 400; opacity: .7; line-height: 1.2; letter-spacing: 0; text-transform: none; color: #c3c9d0; }
.ath-hero-out { text-decoration: none !important; }
/* темы любят ставить поля и рамки на всё подряд */
.ath-hero, .ath-hero div, .ath-hero span { border-image: none; }
.ath-hero-hello, .ath-hero-sub, .ath-hero-date { margin-left: 0; margin-right: 0; }
.ath-hero .ath-hero-hello, .ath-hero .ath-hero-sub, .ath-hero .ath-hero-date { text-shadow: 0 1px 3px rgba(1,12,26,.95), 0 0 16px rgba(1,15,32,.85); }

/* 1.1: логотип-картинка «АвтоТема — Академия диагностики», края растворяются в фоне шапки */
.ath-hero .ath-logo-img { --ath-logo-w: clamp(330px, 35vw, 480px); width: var(--ath-logo-w) !important; max-width: none !important; height: auto !important; transform: translate(-50%, -50%); opacity: .95; border: 0; box-shadow: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, rgba(0,0,0,.6) 78%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, rgba(0,0,0,.6) 78%, transparent 100%); filter: none; }
@media (min-width: 901px) {
  .ath-hero:has(.ath-logo-img) { --ath-logo-w: clamp(330px, 35vw, 480px); }
}
@media (max-width: 900px) {
  .ath-hero .ath-logo-img { position: relative; left: auto; top: auto; transform: none; display: block; width: min(96%, 460px) !important; margin: -30px auto -6px; z-index: 1; }
}

/* 1.2: справа — круг-платформа с логотипом вместо машины */
.ath-stage { position: absolute; top: 0; bottom: 0; right: 2%; width: min(540px, 44%); z-index: 0; pointer-events: none; }
.ath-ring { position: absolute; left: 0; bottom: 2%; width: 100%; height: auto; overflow: visible; }
.ath-ring-run { animation: athRun 6s linear infinite; }
@keyframes athRun { to { stroke-dashoffset: -180; } }
@media (prefers-reduced-motion: reduce) { .ath-ring-run { animation: none; } }
.ath-hero .ath-stage .ath-logo-img { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); width: 96% !important; max-width: 500px !important; margin: 0; z-index: 1; opacity: 1;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, rgba(0,0,0,.6) 80%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, rgba(0,0,0,.6) 80%, transparent 100%); }
.ath-hero .ath-stage .ath-logo:not(.ath-logo-img) { position: absolute; left: 50%; top: 44%; width: 80%; --ath-logo-w: 300px; transform: translate(-50%, -50%) rotate(-4deg); margin: 0; }
.ath-hero--photo .ath-hero-in .ath-hero-sub { max-width: 560px; }
@media (max-width: 760px) {
  .ath-stage { position: relative; right: auto; width: 100%; height: 220px; }
  .ath-ring { bottom: 0; width: 104%; left: -2%; }
}

/* 1.3: под платформой — полукруг из кружков-значков; круг с логотипом занимает всю высоту справа */
.ath-ring { top: 0; bottom: 0; left: 0; width: 100%; height: 100%; }
.ath-hero .ath-stage .ath-logo-img { top: 2%; transform: translateX(-50%); width: min(80%, 430px) !important; }
.ath-hero .ath-stage .ath-logo:not(.ath-logo-img) { top: 34%; }
@media (min-width: 761px) { .ath-hero--photo, .ath-hero--photo .ath-hero-in { min-height: 290px; } }
@media (max-width: 760px) { .ath-stage { height: 250px; } .ath-ring { width: 100%; left: 0; } }

/* 1.4: справа только логотип, без круга — крупнее и по центру по высоте */
.ath-hero .ath-stage--plain .ath-logo-img { top: 50%; transform: translate(-50%, -50%); width: min(100%, 540px) !important; max-width: 540px !important; }
.ath-hero .ath-stage--plain .ath-logo:not(.ath-logo-img) { top: 50%; }
@media (min-width: 761px) { .ath-hero--photo:has(.ath-stage--plain), .ath-hero--photo:has(.ath-stage--plain) .ath-hero-in { min-height: 270px; } }
@media (max-width: 760px) { .ath-stage--plain { height: 210px; } .ath-hero .ath-stage--plain .ath-logo-img { width: min(100%, 440px) !important; } }

/* 1.8: кнопки, «Мой доступ» и строка про Telegram из верхнего блока академии — внутри шапки (академия отдаёт их через фильтр atm_home_hero) */
.ath-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; max-width: 100%; }
.ath-hero .ath-actions .atm-btn { display: inline-block !important; max-width: 100%; min-height: 46px; padding: 10px 20px !important; border-radius: 10px !important; font: inherit; font-size: 16px !important; font-weight: 700 !important; line-height: 22px !important;
  color: #fff !important; text-decoration: none !important; background: #e8590c !important; border: 2px solid #e8590c !important; box-shadow: 0 6px 16px rgba(232,89,12,.3); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0 !important; }
.ath-hero .ath-actions .atm-btn:hover { background: #ff6b1a !important; border-color: #ff6b1a !important; }
.ath-hero .ath-actions .atm-btn:first-child { max-width: min(100%, 520px); }
.ath-hero .ath-actions .atm-btn--ghost { background: rgba(79,209,255,.08) !important; border-color: rgba(79,209,255,.45) !important; box-shadow: none; }
.ath-hero .ath-actions .atm-btn--ghost:hover { background: rgba(79,209,255,.2) !important; border-color: #4fd1ff !important; }
/* «Тренажёр на телефон — 3 тренировки бесплатно»: жёлтая, значок телефона слева, две строки */
.ath-hero .ath-actions .atm-btn.atm-btn--trainer { display: inline-flex !important; align-items: center; gap: 10px; padding: 8px 18px 8px 14px !important; white-space: normal; text-align: left;
  color: #1a1405 !important; background: #f4b324 !important; border-color: #f4b324 !important; box-shadow: 0 6px 16px rgba(244,179,36,.25); }
.ath-hero .ath-actions .atm-btn.atm-btn--trainer:hover { background: #ffc63d !important; border-color: #ffc63d !important; }
.ath-hero .atm-btn--trainer svg { display: block; flex: none; fill: currentColor; }
.ath-hero .atm-btn--trainer .atm-btn__two { display: flex; flex-direction: column; line-height: 1.15; }
.ath-hero .atm-btn--trainer .atm-btn__two small { font-size: 12px; font-weight: 600; opacity: .75; }
.ath-hero .atm-hero__note { position: relative; z-index: 2; margin: 12px 0 0; font-size: 14px; color: #b9cde0; }
.ath-hero .atm-hero__note a { color: #7fdcff !important; }
.ath-hero .atm-hero__side { position: relative; z-index: 2; margin-top: 14px; max-width: 460px; padding: 10px 14px; border-radius: 10px; background: rgba(79,209,255,.07); border: 1px solid rgba(79,209,255,.28); font-size: 14px; }
.ath-hero .atm-hero__side-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7fdcff; margin-bottom: 4px; }
.ath-hero .atm-hero__side ul { list-style: none; margin: 0; padding: 0; }
.ath-hero .atm-hero__side li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; color: #e7eef6; }
.ath-hero .atm-hero__side li.is-inactive { color: #8fa3b8; }
@media (max-width: 600px) { .ath-actions { flex-direction: column; } .ath-hero .ath-actions .atm-btn { width: 100%; text-align: center; white-space: normal; } .ath-hero .ath-actions .atm-btn.atm-btn--trainer { justify-content: center; } }

/* 1.6: фон шапки уходит вниз по краям, по нему бежит искра-кардиограмма */
.ath-hero.ath-hero--rails { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.ath-rail { position: absolute; z-index: 0; width: 18px; pointer-events: none; display: none;
  background: linear-gradient(180deg, #031d3a 0%, #031a33 55%, rgba(3,26,51,0) 100%); }
.ath-rail--l { box-shadow: inset 6px 0 0 rgba(79,209,255,.85); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.ath-rail--r { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.ath-rail--l { border-bottom-left-radius: 9px; }
.ath-rail--r { border-bottom-right-radius: 9px; }
.ath-rail-svg { position: absolute; left: 0; top: 0; overflow: visible; }
.ath-rail--l .ath-rail-svg { left: 3px; }
.ath-ecg-base { fill: none; stroke: #4fd1ff; stroke-opacity: .38; stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.ath-ecg-glow { fill: none; stroke: #4fd1ff; stroke-opacity: .9; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 4px #4fd1ff) drop-shadow(0 0 8px rgba(79,209,255,.8)); stroke-dasharray: 0 99999; }
.ath-ecg-core { fill: none; stroke: #e9fbff; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 0 99999; }
@media (prefers-reduced-motion: reduce) { .ath-ecg-glow, .ath-ecg-core { display: none; } }

/* логотип — ссылка в Академию: сама ссылка рамки не создаёт, логотип остаётся на своём месте */
.ath-hero .ath-logo-link { display: contents; }
.ath-hero .ath-logo-link .ath-logo { pointer-events: auto; cursor: pointer; transition: filter .15s; }
.ath-hero .ath-logo-link:hover .ath-logo, .ath-hero .ath-logo-link:focus-visible .ath-logo { filter: brightness(1.18) drop-shadow(0 0 12px rgba(79,209,255,.55)); }
/* рамка с текстом шапки лежит поверх логотипа и перехватывала бы нажатия: пропускает их сквозь себя, а текст и кнопки работают как раньше */
.ath-hero .ath-hero-in { pointer-events: none; }
.ath-hero .ath-hero-in > * { pointer-events: auto; }

/* подсказка у логотипа-ссылки (её ведёт hero.js): тёмная плашка с голубой рамкой, оранжевая стрелка */
.ath-tip { position: fixed; left: 0; top: 0; z-index: 100000; display: flex; align-items: center; gap: 9px; padding: 8px 14px 8px 8px; border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, #0f2a4a 0%, #071a33 100%); border: 1px solid rgba(79,209,255,.65); color: #fff; font-weight: 700; font-size: 14px; line-height: 1.2; font-family: inherit; white-space: nowrap;
  box-shadow: 0 0 0 3px rgba(79,209,255,.12), 0 8px 22px rgba(0,0,0,.45), 0 0 18px rgba(79,209,255,.35); opacity: 0; transition: opacity .15s; will-change: transform; }
.ath-tip.on { opacity: 1; }
.ath-tip-ic { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #e8590c; color: #fff; flex: none; box-shadow: 0 2px 8px rgba(232,89,12,.55); }
.ath-tip-ic svg { display: block; }
@media (hover: none) { .ath-tip { display: none; } }
