/* Route-scoped polish for the Institute landing page. Keep other education routes unchanged. */
@font-face{font-family:'MB Lora';src:url('/fonts/Lora-Cyrillic-Latin.woff2') format('woff2');font-display:swap}
@font-face{font-family:'MB Avenir';src:url('/fonts/Avenir-Roman.ttf') format('truetype');font-display:swap}
@font-face{font-family:'MB Celine';src:url('/fonts/BV%20Celine/BV%20Celine%20Regular/BV%20Celine%20Regular.woff2') format('woff2');font-display:swap}
:root{--edu-rose:#a06a2b;--edu-rose-dark:#714514;--edu-blush:#fff8ee;--edu-line:#e8dfd1;--edu-plum:#302b29;--edu-warm:#f3e8d7}
body.edu-hub{font-family:'MB Avenir',Arial,sans-serif;background:#fffdf9}
.edu-hub #formats,.edu-hub #program,.edu-hub #instructors{scroll-margin-top:88px}
.edu-hub h1,.edu-hub h2,.edu-hub h3{font-family:'MB Lora',Georgia,serif;letter-spacing:-.025em}
.edu-hub .edu-hero h1{font-size:clamp(2.85rem,4.7vw,4.65rem);line-height:1.08}
.edu-hub .edu-title{font-size:clamp(2.45rem,4.1vw,4.45rem);line-height:1.12}
.edu-hub .edu-hero__photo{position:relative;aspect-ratio:479/393;height:auto;min-height:0}
.edu-hub .edu-hero__photo img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top}
.edu-hub .edu-metric b{font-family:'MB Lora',Georgia,serif}
.edu-hub .edu-kicker{color:#885614}
.edu-hub .edu-button{background:#e2a755;border-color:#e2a755;color:#302b29!important}
.edu-hub .edu-button:hover,.edu-hub .edu-button:focus-visible{background:#c68b35;border-color:#c68b35;color:#302b29!important}
.edu-hub .edu-button--quiet,.edu-hub .edu-toggle.edu-button{background:transparent;border-color:#9b6321;color:#714514!important}
.edu-hub .edu-button--quiet:hover,.edu-hub .edu-button--quiet:focus-visible,.edu-hub .edu-toggle.edu-button:hover,.edu-hub .edu-toggle.edu-button:focus-visible{background:#714514;border-color:#714514;color:#fff!important}
.edu-hub :is(a,button):focus-visible{outline:3px solid #e2a755;outline-offset:3px}
.edu-hub .mb-shell{position:sticky;top:0;z-index:80;background:rgba(255,253,249,.97);border-bottom:1px solid var(--edu-line);backdrop-filter:blur(14px)}
.edu-hub .mb-shell__inner{width:min(1200px,calc(100% - 40px));height:76px;padding:0;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:28px}
.edu-hub .mb-wordmark,.edu-hub .mb-wordmark:hover,.edu-hub .mb-wordmark:visited{display:inline-flex;align-items:center;flex:none;color:#302b29;text-decoration:none!important;border:0}
.edu-hub .mb-wordmark strong{display:flex;align-items:center;gap:.16em;font-family:'MB Celine',Georgia,serif;font-size:1.57rem;font-weight:400;letter-spacing:.055em;line-height:1;white-space:nowrap}
.edu-hub .mb-wordmark strong img{display:block;height:1.1em;width:auto;flex:none}
.edu-hub .mb-nav{position:static;display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:clamp(14px,2vw,28px);padding:0;box-shadow:none;background:transparent;opacity:1;pointer-events:auto;transform:none}
.edu-hub .mb-nav a{padding:0;color:#4b4540;font-size:.88rem;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap}
.edu-hub .mb-nav a:hover{text-decoration:underline;text-underline-offset:5px}
.edu-hub .mb-nav .mb-nav__cta{margin:0;padding:11px 18px;border-radius:999px;background:#e2a755;color:#302b29!important;text-decoration:none}
.edu-hub .mb-nav .mb-nav__cta:hover{background:#c68b35}
.edu-hub .mb-menu{display:none}
.edu-hub .edu-section--tint{background:#fff8ee}
.edu-hub .edu-benefit,.edu-hub .edu-path,.edu-hub .edu-course-card,.edu-hub .edu-instructor{background:#fff;border-color:#eadfcf}
.edu-hub .edu-path{color:var(--edu-ink)}
.edu-hub .edu-path p{color:var(--edu-muted)}
.edu-hub .edu-founder{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)}
.edu-hub .edu-founder > *{min-width:0}
.edu-hub .edu-founder img{display:block;max-width:100%;height:clamp(420px,42vw,560px);min-height:0;object-fit:cover;object-position:center 21%}
.edu-hub .edu-review{display:block;width:100%;padding:0;margin:0;border:0;border-radius:18px;line-height:0;aspect-ratio:9/16;background:#3a302b;overflow:hidden;appearance:none}
.edu-hub .edu-review video{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;vertical-align:top}
.edu-hub .edu-review::after{content:'';position:absolute;inset:0;background:rgba(0,0,0,.12);pointer-events:none}
.edu-hub .edu-review__play{position:absolute;z-index:1;top:50%;left:50%;display:grid;place-items:center;width:64px;height:64px;padding-left:4px;border:2px solid #fff;border-radius:50%;background:rgba(48,43,41,.65);color:#fff;font:30px/1 Arial,sans-serif;transform:translate(-50%,-50%);box-shadow:0 4px 20px rgba(0,0,0,.25)}
.edu-hub .edu-review:hover .edu-review__play,.edu-hub .edu-review:focus-visible .edu-review__play{background:#e2a755;color:#302b29}
.edu-hub .edu-contact{background:#4b392b}
.edu-hub .edu-contact p{color:#f4e8d8}
.edu-hub .edu-contact__details .edu-button{display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:100%;min-height:46px;padding:11px 20px;margin-top:10px;text-align:center}
.edu-hub .edu-footer{padding:58px 0 26px;background:#f8f4ed;color:#4b4540;border-top:1px solid var(--edu-line)}
.edu-hub .edu-footer__main{display:grid;grid-template-columns:1.35fr .7fr 1fr;gap:clamp(28px,5vw,90px);padding-bottom:54px}
.edu-hub .edu-footer__main > :is(nav,div){display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.edu-hub .footer-wordmark,.edu-hub .footer-wordmark:hover{display:inline-flex;align-items:center;gap:.16em;color:#302b29;font-family:'MB Celine',Georgia,serif;font-size:1.45rem;letter-spacing:.055em;text-decoration:none!important;line-height:1}
.edu-hub .footer-wordmark img{height:1.1em;width:auto}
.edu-hub .edu-footer p{margin:12px 0 0;line-height:1.55}
.edu-hub .edu-footer__main strong{margin-bottom:8px;color:#302b29;font-size:.86rem;text-transform:uppercase;letter-spacing:.12em}
.edu-hub .edu-footer a{color:inherit;text-decoration:none}
.edu-hub .edu-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.edu-hub .edu-footer__row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:22px;border-top:1px solid #ddd2c3}
.edu-hub .edu-footer__row > div{display:flex;align-items:center;flex-wrap:wrap;gap:18px}
.edu-hub .edu-footer .mb-privacy-choice{position:static;min-height:44px;margin:0;padding:8px 12px;background:transparent;box-shadow:none;backdrop-filter:none}
@media(max-width:900px){
  .edu-hub .mb-shell__inner{height:68px}
  .edu-hub .mb-wordmark strong{font-size:1.35rem}
  .edu-hub .mb-menu{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:42px;height:42px;padding:0;border:1px solid var(--edu-line);border-radius:9px;background:#fff;cursor:pointer}
  .edu-hub .mb-menu span{display:block;width:20px;height:2px;border-radius:2px;background:#302b29}
  .edu-hub .mb-nav{display:none;position:absolute;inset:68px 0 auto;z-index:81;padding:12px 20px 22px;background:#fffdf9;border-bottom:1px solid var(--edu-line);box-shadow:0 18px 30px rgba(48,43,41,.12)}
  .edu-hub .mb-nav.is-open{display:flex;flex-direction:column;align-items:stretch;gap:0;opacity:1;pointer-events:auto;transform:none}
  .edu-hub .mb-nav a{padding:13px 8px;text-align:left;font-size:1rem}
  .edu-hub .mb-nav .mb-nav__cta{margin-top:8px;padding:13px 18px;text-align:center}
  .edu-hub .edu-founder{grid-template-columns:minmax(0,1fr)}
  .edu-hub .edu-founder img{height:clamp(360px,58vw,520px)}
}
@media(max-width:700px){
  .edu-hub .edu-footer__main{grid-template-columns:1fr 1fr;gap:30px;padding-bottom:36px}
  .edu-hub .edu-footer__main > div:first-child{grid-column:1/-1}
  .edu-hub .edu-footer__row{align-items:flex-start;flex-direction:column}
}
@media(max-width:560px){
  .edu-hub .mb-shell__inner{width:calc(100% - 32px);height:64px}
  .edu-hub .mb-wordmark strong{font-size:1.13rem}
  .edu-hub .mb-nav{inset:64px 0 auto}
  .edu-hub .edu-footer__main{grid-template-columns:1fr;gap:28px}
  .edu-hub .edu-footer__main > div:first-child{grid-column:auto}
  .edu-hub .edu-review{aspect-ratio:9/16}
  .edu-hub .edu-hero h1{font-size:clamp(2.35rem,9vw,3.1rem)}
  .edu-hub .edu-title{font-size:clamp(2.2rem,8vw,3rem)}
  .edu-hub .edu-founder img{height:clamp(320px,105vw,420px)}
  .edu-hub .edu-founder__facts{grid-template-columns:minmax(0,1fr)}
  .edu-hub .edu-compare{display:block;overflow:visible;background:transparent;border-radius:0;box-shadow:none}
  .edu-hub .edu-compare thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .edu-hub .edu-compare tbody{display:grid;gap:12px}
  .edu-hub .edu-compare tr{display:block;overflow:hidden;border:1px solid var(--edu-line);border-radius:16px;background:#fff}
  .edu-hub .edu-compare td{display:block;width:100%;min-width:0;padding:12px 16px;overflow-wrap:anywhere}
  .edu-hub .edu-compare td:last-child{border-bottom:0}
  .edu-hub .edu-compare td::before{display:block;margin-bottom:3px;color:#714514;font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
  .edu-hub .edu-compare td:nth-child(1)::before{content:'Формат'}
  .edu-hub .edu-compare td:nth-child(2)::before{content:'Что входит'}
  .edu-hub .edu-compare td:nth-child(3)::before{content:'Кому подходит'}
}
