@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/modern-font-0.woff2) format('woff2');
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/modern-font-1.woff2) format('woff2');
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/modern-font-2.woff2) format('woff2');
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/modern-font-3.woff2) format('woff2');
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/modern-font-4.woff2) format('woff2');
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/modern-font-5.woff2) format('woff2');
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/modern-font-6.woff2) format('woff2');
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/modern-font-7.woff2) format('woff2');
}

/* Shared appearance for the main page, certificate and blog. */
:root{--section-gap:72px;--font-display:'Unbounded','Onest',Arial,sans-serif;--font-body:'Onest',Arial,sans-serif;--display-weight:700;--display-tracking:-.01em}
h1,h2,h3{line-height:1.2;overflow-wrap:break-word}
.section-head>div:first-child{min-width:0;max-width:100%}
.header-inner{gap:16px}
.header-nav{gap:0;min-width:0}
.header-nav a{font-size:14px;padding-inline:10px;white-space:nowrap}
.header-actions{gap:10px}
.header-phone{flex-shrink:0;white-space:nowrap}
.header-phone .phone-text{white-space:nowrap}
.header-cabinet{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:11px 16px;background:var(--red);color:#fff;font:700 14px/1.2 var(--font-body);white-space:nowrap;box-shadow:0 6px 16px rgba(221,0,36,.18)}
.header-cabinet:disabled{opacity:1;cursor:default}
.menu-columns{max-width:1120px}
a.header-cabinet{transition:transform .4s var(--spring),box-shadow .3s,background .3s}
a.header-cabinet:hover{background:#c40020;transform:translateY(-2px);box-shadow:0 10px 22px rgba(221,0,36,.28)}
.header-cabinet svg{width:20px;height:20px;flex-shrink:0}
.section{padding:0;margin-top:var(--section-gap)}
.hero{padding-bottom:0}
.track{padding-bottom:24px;margin-bottom:-24px}
.site-footer{margin-top:var(--section-gap);background:var(--grad-135);color:#fff}
.footer-grid{border-color:rgba(255,255,255,.3)}
.footer-brand p,.footer-col a,.footer-col address,.footer-bottom,.footer-bottom a{color:#fff}
.footer-col a{min-height:44px}
.footer-col svg{color:#fff}
.soc-btn{background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.3)}
.soc-btn:hover{background:rgba(255,255,255,.25)}
.site-footer :focus-visible{outline-color:#fff}
.footer-col a:hover,.footer-bottom a:hover{text-decoration:underline;text-underline-offset:4px}
.hero-card-manager{justify-content:flex-start}
.hero-card-manager .msgr-row{margin-top:0;gap:8px}
.hero-card-manager .msgr{padding:10px 15px;font-size:14px;min-height:44px}
.hero-card-manager .manager-phone{font-size:20px;margin-top:0}
.manager-call-note{opacity:.9;font-size:13px!important;margin-top:4px!important}
.connect-path .msgr-row{margin-top:0}
.team-name{overflow-wrap:normal}
.blog-feature{display:grid;grid-template-columns:1.1fr 1fr;gap:0}
.blog-feature-image{overflow:hidden;aspect-ratio:16/10}
.blog-feature-image img{width:100%;height:100%;object-fit:cover;object-position:center 18%;transition:transform .4s var(--ease)}
.blog-feature:hover .blog-feature-image img{transform:scale(1.03)}
.blog-feature-copy{padding:clamp(24px,3vw,40px);display:flex;flex-direction:column;align-items:flex-start;gap:18px;justify-content:center}
.blog-meta{font-size:14px;font-weight:600;color:var(--ink-soft)}
.blog-feature h3{font-size:clamp(22px,2.3vw,30px);text-wrap:balance}
.blog-feature-copy>p:not(.blog-meta){color:var(--ink-soft);font-size:16px}
.article-main{padding-top:112px}
.article-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:15px;font-weight:600;color:var(--red);margin-bottom:28px}
.article-head{max-width:950px;margin-bottom:32px}
.article-head h1{font-size:clamp(28px,4.2vw,50px);line-height:1.2;margin-top:16px;text-wrap:balance}
.article-head .article-lead{font-size:clamp(17px,1.7vw,20px);color:var(--ink-soft);max-width:750px;margin-top:22px}
.article-cover{border-radius:var(--r-lg);overflow:hidden;aspect-ratio:16/9;max-width:960px}
.article-cover img{width:100%;height:100%;object-fit:cover;object-position:center 18%}
.article-body{max-width:740px;margin-top:36px}
.article-body h2{font-size:clamp(23px,2.4vw,30px);margin:36px 0 16px}
.article-body p{font-size:18px;line-height:1.75;color:var(--ink-soft);margin-bottom:18px}
.article-body ul{list-style:disc;padding-left:24px;color:var(--ink-soft);font-size:18px;line-height:1.75;display:grid;gap:8px;margin-bottom:24px}
.article-body a:not(.btn){color:var(--red);text-decoration:underline;text-underline-offset:4px}
.article-source{padding:22px 24px;background:var(--soft);border-radius:var(--r-sm);margin-top:32px}
.article-source p{font-size:15px;margin:0}
.article-contact{border-top:1px solid var(--line);padding-top:28px;margin-top:32px}
.article-contact .btn{margin-top:8px}
@media(min-width:1025px){html .hero-content h1{font-size:clamp(34px,3vw,42px);text-wrap:balance}}
@media(min-width:1501px){.header-nav a{font-size:13px;padding-inline:7px}.header-inner{gap:10px}}
@media(max-width:1500px){.header-nav{display:none}.header-actions{margin-left:auto!important}}
@media(max-width:900px){.blog-feature{grid-template-columns:1fr}.blog-feature-image{aspect-ratio:16/9}}
@media(max-width:640px){
  :root{--section-gap:48px}
  .header-inner{gap:8px}
  .header-actions{gap:8px}
  .logo-img{width:82px}
  .header-cabinet{font-size:12px;padding:10px 12px;gap:6px;min-height:44px}
  .header-cabinet svg{width:17px;height:17px}
  .header-phone{width:44px;min-height:44px;padding:0;justify-content:center}
  .burger{width:44px;height:44px;flex-shrink:0}
  .header-actions .header-cabinet{order:3}
  .hero-card-self h2,.hero-card-manager h2{font-size:19px;line-height:1.3}
  .hero-content h1{font-size:clamp(25px,6.7vw,34px)}
  .hero-content p{font-size:15px;line-height:1.6}
  .hero-card-manager .manager-phone{font-size:19px}
  .blog-feature-copy{gap:14px}
  .article-main{padding-top:96px}
  .article-back{margin-bottom:18px}
  .article-body p,.article-body ul{font-size:16px}
  .cert-occasion{font-size:clamp(16px,4.5vw,23px)!important}
  .cert-amount{font-size:clamp(24px,7vw,34px)!important}
}
@media(max-width:359px){
  .logo-img{width:72px}
  .header-actions{gap:6px}
  .header-cabinet{width:44px;padding:0;border-radius:14px}
  .header-cabinet span{display:none}
  .header-cabinet svg{width:22px;height:22px}
  .section-head h2{font-size:22px}
}
@media(min-width:360px) and (max-width:374px){
  .logo-img{width:72px}
  .header-cabinet{font-size:11px;padding-inline:10px}
}

/* The three opening cards fit below the header within the first viewport. */
.hero{padding-top:calc(var(--header-h) + 20px)}
.hero-bento{height:min(620px,calc(100svh - var(--header-h) - 40px));grid-template-columns:1.65fr 1fr;grid-template-rows:minmax(0,.43fr) minmax(0,.57fr)}
.hero-main{min-height:0;grid-column:1;grid-row:1/3}
.hero-card{min-height:0;padding:22px 24px;gap:12px}
.hero-card-self{justify-content:center}
.hero-card-self .hc-tg-row{display:none}
.hero-card-manager{justify-content:center;gap:10px}
.hero-card-manager .msgr{padding:9px 13px;font-size:13px;min-height:44px;gap:7px}
html .hero-card-self h2,html .hero-card-manager h2{font-size:clamp(17px,1.45vw,20px)}
.messenger-brand{display:block;width:20px;height:20px;flex:0 0 20px;object-fit:contain}
.hero-content{padding:32px;max-width:690px}
html .hero-content h1{font-size:clamp(29px,3.3vw,42px)}
.hero-content p{font-size:16px;max-width:490px}
.hero-card:hover,.hero-main:hover{transform:none}

/* Wider manager card; the self-service action follows its text naturally. */
.connect-inner{max-width:none}
.connect-sub{max-width:780px!important}
.connect-paths{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:20px}
.connect-path{padding:28px;justify-content:center;gap:14px;min-width:0}
.connect-path-self .btn{margin-top:8px}
.connect-path-manager .msgr{padding-inline:14px;font-size:14px;gap:7px}
.connect-path-manager .msgr-phone{min-height:44px}
.connect-card{padding:40px;padding-bottom:130px}
.connect-card .skyline{opacity:.6}
.blog-entry{padding:32px;display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:24px;align-items:center;border:1.5px solid var(--line)}
.blog-entry-icon{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;background:#fff2ed;color:var(--red)}
.blog-entry-icon svg{width:30px;height:30px}
.blog-entry h2{font-size:clamp(24px,2.7vw,32px);margin-bottom:8px}
.blog-entry p{font-size:16px;color:var(--ink-soft)}
.more-tile-ico svg{width:24px;height:24px}
.fab-hidden{opacity:0;visibility:hidden;pointer-events:none}

@media(min-width:641px) and (max-width:1024px){
  .hero-bento{grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr) auto}
  .hero-main{grid-column:1/3;grid-row:1}
  .hero-card{grid-row:2;padding:20px}
  .hero-card-manager{gap:8px}
  .hero-card-manager .manager-call-note{display:none}
  .hero-card-manager .msgr{padding-inline:10px}
  .hero-content{padding:28px}
}
@media(max-width:820px){
  .connect-paths{grid-template-columns:1fr;gap:16px}
  .connect-card{padding:28px;padding-bottom:105px}
  .connect-path{padding:24px;justify-content:flex-start}
  .blog-entry{grid-template-columns:54px 1fr;gap:18px;padding:24px}
  .blog-entry-icon{width:54px;height:54px;border-radius:16px}
  .blog-entry .btn{grid-column:1/-1;justify-self:start}
}
@media(max-width:640px){
  .hero{padding-top:calc(var(--header-h) + 12px)}
  .hero-bento{height:calc(100svh - var(--header-h) - 24px);max-height:720px;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto auto;gap:10px}
  .hero-main{grid-column:1;grid-row:1;border-radius:24px}
  .hero-content{padding:20px}
  html .hero-content h1{font-size:clamp(24px,6.4vw,29px)}
  .hero-content p{font-size:13px;line-height:1.5;margin-top:10px}
  .hero-card{padding:14px 18px;border-radius:24px}
  .hero-card-self{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
  .hero-card-self .path-eyebrow,.hero-card-manager .path-eyebrow{display:none}
  html .hero-card-self h2,html .hero-card-manager h2{font-size:16px;line-height:1.25}
  .hero-card-self p{font-size:12px;line-height:1.45;margin-top:5px}
  .hero-card-self .self-link{font-size:0;gap:0}
  .hero-card-self .sl-arr{width:44px;height:44px;border-radius:14px}
  .hero-card-manager{gap:8px}
  .hero-card-manager .manager-note{font-size:12px;line-height:1.4}
  .hero-card-manager .msgr-row{gap:8px}
  .hero-card-manager .msgr{width:44px;height:44px;min-height:44px;padding:0;justify-content:center}
  .hero-card-manager .msgr span{display:none}
  .hero-card-manager .manager-call-note{display:none}
  .hero-card-manager .manager-phone{font-size:17px;min-height:32px;line-height:1.3}
  .hero-card-manager .manager-phone::before{content:'Или';font-size:12px;font-weight:500}
  .hero-card-manager .manager-phone svg{display:none}
  .blog-entry h2{font-size:24px}
  .blog-entry p{font-size:14px}
  .blog-entry .btn{width:100%;justify-content:center}
}
@media(max-width:640px) and (max-height:640px){
  .hero-content{padding:16px}
  html .hero-content h1{font-size:22px}
  .hero-content p{font-size:12px;margin-top:7px}
  .hero-summary-extra{display:none}
  .hero-card{padding:12px 16px}
  .hero-card-manager .manager-note{display:none}
  .hero-card-manager .manager-phone{min-height:28px}
}
@media(min-width:1025px) and (max-height:730px){
  .hero-card{padding:16px 20px;gap:8px}
  .hero-card .path-eyebrow{font-size:10px}
  .hero-card-self p{font-size:13px}
  .hero-card-manager .manager-note{font-size:12px}
  .hero-card-manager .manager-call-note{display:none}
}
@media(min-width:641px) and (max-width:1024px) and (max-height:700px){
  .hero-content{padding:20px}
  html .hero-content h1{font-size:30px}
  .hero-content p{font-size:14px;margin-top:10px}
  .hero-card-manager .msgr{width:44px;height:44px;padding:0;justify-content:center}
  .hero-card-manager .msgr span{display:none}
}

/* Кнопки мессенджеров: настоящие цветные логотипы, по три в строке.
   Если строка узкая, подписи прячутся и остаются логотипы. */
.msgr .brand-logo{width:22px;height:22px;flex:0 0 22px;display:block}
.msgr-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;container-type:inline-size;width:100%;align-self:stretch}
.msgr-row .msgr{justify-content:center;min-width:0;padding:10px 12px;gap:8px}
.msgr-row .msgr span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@container (max-width:330px){.msgr-row .msgr span{display:none}.msgr-row .msgr .brand-logo{width:24px;height:24px;flex-basis:24px}}
@media(max-width:640px){
  .hero-card-manager .msgr-row{display:flex;flex-wrap:wrap}
  .hero-card-manager .msgr .brand-logo{width:24px;height:24px;flex-basis:24px}
}


/* ---------- подвал: бренд, разделы, контакты, реквизиты и документы (19.10) ---------- */
.site-footer .footer-grid{grid-template-columns:1.2fr 1.25fr 1fr 1.1fr;gap:40px}
.site-footer .footer-brand img{width:168px;height:auto;margin-bottom:20px}
.site-footer .footer-brand p{font-size:15px;max-width:330px}
.site-footer .footer-socials{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.site-footer .soc-btn{
  width:46px;height:46px;border-radius:15px;border:1px solid rgba(255,255,255,.3);
  display:grid;place-items:center;color:#fff;transition:transform .4s var(--spring),background .3s;
}
.site-footer .soc-btn svg{width:20px;height:20px}
.site-footer .soc-btn:hover{transform:translateY(-3px)}
.site-footer .footer-col ul{display:grid;gap:2px}
.site-footer .footer-nav ul{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}
.site-footer .footer-docs-col a{align-items:flex-start;line-height:1.35;padding:11px 0;min-height:0}
.site-footer .footer-docs-col a svg{margin-top:1px}
.site-footer .footer-docs-col address{min-height:30px}
.site-footer .footer-phone-big{font-weight:800;font-size:21px;letter-spacing:-.01em}
.site-footer .footer-bottom{justify-content:flex-start}
@media(max-width:1100px){.site-footer .footer-grid{grid-template-columns:1fr 1fr;gap:36px 40px}}
@media(max-width:640px){
  .site-footer .footer-grid{grid-template-columns:1fr;gap:30px}
  .site-footer .footer-col h3{margin-bottom:10px}
}

/* ---------- блок «Готовы в путь?»: белые карточки на градиенте (19.10) ---------- */
.connect-card .connect-path{
  background:#fff;border-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;
  box-shadow:0 16px 36px rgba(120,10,0,.2);
}
.connect-card .connect-path h3{color:var(--ink)}
.connect-card .connect-path p{color:var(--ink-soft)}
.connect-card .connect-path .manager-call-note{color:var(--ink-mute);opacity:1}
.connect-card .connect-path-self .btn{background:var(--grad-135);color:#fff;box-shadow:0 10px 24px rgba(221,0,36,.28)}
.connect-card .connect-path-self .btn:hover{box-shadow:0 14px 30px rgba(221,0,36,.36)}
.connect-card .connect-path .msgr{background:var(--soft);box-shadow:none}
.connect-card .connect-path .msgr:hover{background:#ecebf0;box-shadow:none}
.connect-card .msgr-phone{color:var(--ink)}
.connect-card .msgr-phone svg{color:var(--red)}

/* «Наши направления»: плашка «Все обзоры» занимает две клетки, без пустого места в конце сетки */
@media(min-width:1025px){.dir-grid .dir-more{grid-column:span 2;aspect-ratio:auto}}

/* пока грузятся обложки видео — светлая подложка вместо чёрной */
.dir-card,.clip-card{background:#ecebf0}

/* ---------- видео-карточки: Play видна всегда, чтобы было понятно, что это видео ---------- */
.clip-play{opacity:1;transform:translate(-50%,-50%) scale(1)}
.clip-card:hover .clip-play{background:var(--grad-135);border-color:transparent;transform:translate(-50%,-50%) scale(1.06)}

/* ---------- сенсорные экраны: после касания карточки не остаются приподнятыми ----------
   (на телефоне :hover «залипает» на последней тронутой карточке, и она выше соседних) */
@media (hover:none){
  :is(.adv-card,.case,.clip-card,.dir-card,.dir-more,.expert,.fr-card,.gallery figure,.hero-card,.hero-main,
      .hotel-card,.mod,.more-card,.more-tile,.p-card,.path,.link-tile,.float-card,.flow-step,.design,
      .review-card,.team-card,.soc-card,.tm,.why-card,.who,.step,.tariff,.quiz-opt,.sv-doc,.tap-call,
      a.ph-card,.big-btn,.msgr,.f-chip,.dir-chip,.chip,.opt):hover{transform:none}
  :is(.case,.clip-card,.dir-card,.expert,.fr-card,.gallery figure,.hotel-card,.mod,.p-card,.path,.quiz-opt,
      .review-card,.soc-card,.job-photo,.journal-feature,.blog-feature,.photo-button):hover img{transform:none}
}
@media (hover:none){.hotel-play{opacity:1;transform:translate(-50%,-50%) scale(1)}}

/* ============================================================
   ТИПОГРАФИКА: единая шкала (19.10)
   Заголовки — Unbounded, тексты — Onest. На телефоне:
   H1 страницы 30 · H2 раздела 26 · H2 карточки-баннера 23 · подзаголовок блока 21 ·
   заголовок карточки 19 · плитка 18 · лид 16 · текст карточки 15 · подписи 13.5 · надзаголовок 12.5.
   Префикс html body перебивает стили, встроенные в страницы.
   ============================================================ */
@media (max-width:640px){
  /* H1 */
  html body main h1{font-size:30px;line-height:1.08;letter-spacing:-.02em}
  html body main .stage-content h1{font-size:26px}
  html body main .tap-name h1{font-size:25px}
  /* H2 раздела и баннеров */
  html body main h2{font-size:26px;line-height:1.12;letter-spacing:-.015em}
  html body main :is(.bento-card,.gift-text,.blog-entry-copy,.journal-feature-copy,.story-body,.story-sources,
                    .article-body,.article-contact,.cta-band) h2{font-size:23px;line-height:1.15}
  html body main :is(.ph-card,.fstep-head,.sv-card,.search-card-head) h2{font-size:20px;line-height:1.2}
  html body main .hero-card h2{font-size:18px;line-height:1.2}
  /* H3–H4 */
  html body main :is(h3,h4){font-size:19px;line-height:1.22;letter-spacing:-.01em}
  html body main :is(.money-head,.calc-body,.practice,.experts-head,.modules-head,.office-info) h3{font-size:21px}
  html body main .more-tile h3{font-size:18px}
  html body main :is(.p-body,.fr-body) h3{font-size:15.5px}
  html body main .step h3{font-size:17px}
  html body main .soc-card h3{font-size:15px;-webkit-hyphens:auto;hyphens:auto}
  html body main .p-body h3{-webkit-hyphens:auto;hyphens:auto}
  html body main .soc-card.wide h3{font-size:19px}
  html body main .expert-body h4{font-size:15px}
  /* лид: подзаголовки разделов и первых экранов */
  html body main :is(.section-sub,.section-head p,.ph-content p,.stage-content p,.cert-head p,.sv-head p,
                    .journal-heading p,.story-deck,.article-lead,.connect-sub,.quiz-intro p,.money-head p,
                    .founders-text p,.gift-text p,.bento-card > p,.cta-band p,.practice-body p){font-size:16px;line-height:1.5}
  html body main .hero-content p{font-size:15px}
  /* текст карточек */
  html body main :is(.why-card p,.step p,.case-body p,.path-body p,.mod-body p,.hotel-text,.connect-path p,
                    .soc-body p,.who p,.tariff p,.pay-card p,.ph-card p,.review-text,.fr-own p,.calc-lead,
                    .final-text p,.adv-card p,.blog-entry-copy p,.experts-foot p){font-size:15px;line-height:1.5}
  html body main .more-tile p{font-size:14px}
  html body main .tariff .tariff-name{font-size:28px;line-height:1.1}
  html body main .tariff .tariff-price{font-size:32px;line-height:1}
  html body main .tariff .tariff-old{font-size:16px}
  html body main .tariff .tariff-sub{font-size:14.5px}
  /* подписи и пояснения */
  html body main :is(.note,.hot-note,.result-note,.manager-call-note,.final-or,.preview-hint,.hint-small,
                    .soc-note,.story-reference,.blog-meta,.curator-facts,.steps-label,.tap-label){font-size:13.5px}
  /* надзаголовки */
  html body :is(.section-tag,.path-eyebrow){font-size:12.5px}
  html body .hero-kicker{font-size:13px}
  /* «Для наших путешественников»: номер не перетягивает внимание с заголовка */
  html body .adv-card{padding:22px 22px 26px}
  html body .adv-num{width:56px;height:56px;border-radius:18px;font-size:21px}
}
/* компьютер: заголовки разделов одного размера */
@media (min-width:1025px){
  html body main :is(.connect-card,.final) h2{font-size:40px}
}

/* ---------- меню: пункты ровно в колонку, телефон внизу — кнопка с номером ---------- */
.menu-list .menu-num{width:26px}
html body .menu-foot .header-phone{width:auto;min-height:48px;padding:12px 20px;gap:10px;justify-content:flex-start}
body.menu-open .burger{background:var(--grad-135);border-color:transparent}

/* блок курса внизу главной на телефоне: фото и заголовок в строку, текст и кнопка — на всю ширину */
@media (max-width:640px){
  html body .blog-entry.course-entry{grid-template-columns:64px minmax(0,1fr);gap:14px 16px;align-items:center}
  html body .course-entry .course-entry-photo{width:64px;height:64px}
  html body .course-entry .blog-entry-copy{display:contents}
  html body .course-entry h2{grid-column:2;font-size:21px}
  html body .course-entry p,html body .course-entry .btn{grid-column:1/-1}
  html body .course-entry .btn{justify-content:center}
  html body main .hero-card p{font-size:13.5px;line-height:1.4}
}

/* светлая кнопка с рамкой (франшиза, блог) */
.btn-ghost-dark{background:#fff;color:var(--ink);border:1.5px solid #ffd2c2;box-shadow:none}
.btn-ghost-dark:hover{border-color:var(--red);color:var(--red)}
/* сертификат: плашки преимуществ по две в строке на телефоне */
@media (max-width:640px){html body .cert-usp span{font-size:13px;padding:8px 12px}}

/* «Наши направления» на телефоне: страны — одна строка с прокруткой, а не четыре ряда кнопок */
@media (max-width:640px){
  html body .dir-filter{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:-16px;padding:4px 16px 12px;scroll-padding-inline:16px}
  html body .dir-filter::-webkit-scrollbar{display:none}
  html body .dir-filter .dir-chip{flex:0 0 auto}
}
