/* Approved public shell: loaded only for home, course and modeling RU/EN.
   Native navigation, account buttons, social SVGs, legal links and modals remain.
   The original mobile-menu breakpoint (990px) is intentionally retained. */
html.ca-public-refinement-v3 .header,
html.ca-public-refinement-v3 .footer{font-family:"PTSans","PT Sans",Arial,sans-serif;color:#20292c}
html.ca-public-refinement-v3 .header>.header__top{padding:24px 0}
html.ca-public-refinement-v3 .header>.header__top>.container,
html.ca-public-refinement-v3 .header>.header__bottom>.container,
html.ca-public-refinement-v3 .footer>.container{max-width:1380px;padding-left:36px;padding-right:36px}
html.ca-public-refinement-v3 .header>.header__top>.container{min-height:60px;align-items:center;gap:24px}
html.ca-public-refinement-v3 .header>.header__top .logo{font-size:31px;line-height:1.1;flex-shrink:0;margin-right:auto}
html.ca-public-refinement-v3 .header>.header__top .header__lang[aria-hidden="true"]{display:none}
html.ca-public-refinement-v3 .header>.header__top .header__button{font-size:18px;line-height:1.3;padding:13px 20px;border-radius:10px;white-space:nowrap}
html.ca-public-refinement-v3 .header>.header__top .header__login{font-size:18px;line-height:1.3;margin-left:0;gap:12px}
html.ca-public-refinement-v3 .header>.header__bottom{padding:12px 0;border-top:1px solid #eef0f1;border-bottom:1px solid #eef0f1}
html.ca-public-refinement-v3 .header>.header__bottom .nav{min-height:46px;align-items:center;gap:24px}
html.ca-public-refinement-v3 .header>.header__bottom .nav__link{font-size:21px;line-height:1.3}
html.ca-public-refinement-v3 .header>.header__bottom .nav__link:hover{transform:none;color:#667174}

html.ca-public-refinement-v3 .footer{background:#f7f8f8;border-top:1px solid #e9eded;padding:60px 0 28px}
html.ca-public-refinement-v3 .footer .footer__row{display:grid;grid-template-columns:1.1fr 1fr 1fr;grid-template-areas:"brand navigation-one navigation-two" "payments legal legal";align-items:start;gap:28px 36px;text-align:left}
html.ca-public-refinement-v3 .footer .footer__col{min-width:0;align-items:flex-start;gap:16px;order:initial}
html.ca-public-refinement-v3 .footer .footer__col:nth-child(1){grid-area:brand}
html.ca-public-refinement-v3 .footer .footer__col:nth-child(2){grid-area:navigation-one}
html.ca-public-refinement-v3 .footer .footer__col:nth-child(3){grid-area:navigation-two}
html.ca-public-refinement-v3 .footer .footer__col:nth-child(4){grid-area:legal;flex-direction:row;flex-wrap:wrap;gap:12px 20px}
html.ca-public-refinement-v3 .footer .footer__col:nth-child(5){grid-area:payments;gap:8px}
html.ca-public-refinement-v3 .footer .footer__logo{display:block;font-size:31px;line-height:1.2;margin:0}
html.ca-public-refinement-v3 .footer .footer__logo--mobile{display:none}
html.ca-public-refinement-v3 .footer .footer__link{font-size:18px;line-height:1.5;margin:0;text-decoration:none;overflow-wrap:anywhere}
html.ca-public-refinement-v3 .footer .footer__link:hover{text-decoration:underline;text-underline-offset:4px}
html.ca-public-refinement-v3 .footer .footer__col:nth-child(4) .footer__link{font-size:14px;color:#697376}
html.ca-public-refinement-v3 .footer .footer__socials{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin:0}
html.ca-public-refinement-v3 .footer .footer__social{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px}
html.ca-public-refinement-v3 .footer .footer__social svg{display:block;width:34px;height:34px;flex-shrink:0}
html.ca-public-refinement-v3 .footer .footer__text{font-size:14px;line-height:1.5;color:#697376;margin:0}
html.ca-public-refinement-v3 .footer .footer__title{font-size:14px;line-height:1.5;color:#697376}
html.ca-public-refinement-v3 .footer .footer__payments{gap:12px;margin:0;align-items:center;flex-wrap:wrap}
html.ca-public-refinement-v3 .footer .footer__payments img{display:block;max-width:68px;height:28px;object-fit:contain}

@media(max-width:1100px) and (min-width:991px){
  html.ca-public-refinement-v3 .header>.header__top>.container{gap:16px;flex-wrap:wrap}
  html.ca-public-refinement-v3 .header>.header__top .header__login{font-size:16px;gap:8px}
  html.ca-public-refinement-v3 .header>.header__bottom .nav{gap:16px}
  html.ca-public-refinement-v3 .header>.header__bottom .nav__link{font-size:18px}
}
@media(max-width:990px){
  html.ca-public-refinement-v3 .header>.header__top{padding:20px 0}
  html.ca-public-refinement-v3 .header>.header__top>.container{min-height:45px;gap:8px;padding-left:20px;padding-right:20px}
  html.ca-public-refinement-v3 .header>.header__top .logo{font-size:25px}
  html.ca-public-refinement-v3 .header>.header__bottom .nav{gap:24px}
  html.ca-public-refinement-v3 .header>.header__bottom .nav__link{font-size:18px}
  html.ca-public-refinement-v3 .footer{padding:40px 0 24px}
  html.ca-public-refinement-v3 .footer>.container{padding-left:20px;padding-right:20px}
  html.ca-public-refinement-v3 .footer .footer__row{grid-template-columns:1fr 1fr;grid-template-areas:"brand brand" "navigation-one navigation-two" "legal legal" "payments payments";gap:28px 20px}
  html.ca-public-refinement-v3 .footer .footer__col{gap:12px}
  html.ca-public-refinement-v3 .footer .footer__logo{font-size:25px}
  html.ca-public-refinement-v3 .footer .footer__col:nth-child(4) .footer__link{font-size:13px}
}
@media(max-width:540px){
  html.ca-public-refinement-v3 .footer .footer__row{grid-template-columns:1fr;grid-template-areas:"brand" "navigation-one" "navigation-two" "legal" "payments"}
}
