/* TSA commercial pages: mobile width guard, 2026-10-16 */
.tsa-commercial-page{width:100%;max-width:100vw;overflow-x:hidden}
@media (max-width:600px){
  .tsa-commercial-page,.tsa-commercial-page main,.tsa-commercial-page section{width:100%!important;max-width:100vw!important}
  .tsa-commercial-page .container{width:calc(100vw - 32px)!important;max-width:calc(100vw - 32px)!important;margin-left:16px!important;margin-right:16px!important}
  .tsa-commercial-page h1,.tsa-commercial-page .hero-lead{max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere}
}

/* TSA UI/UX 2026-10-24: commercial pages follow rules/design/brand.md (fonts, accent, min 12px), CTA on the first screen */
.tsa-commercial-page{--red:#C41D1D;--red-dark:#C41D1D;font-family:var(--t-text-font,Arial)}
#allrecords .tsa-commercial-page h1,#allrecords .tsa-commercial-page h2,#allrecords .tsa-commercial-page h3{font-family:var(--t-headline-font,Arial);letter-spacing:0}
#allrecords .tsa-commercial-page h1{font-size:clamp(36px,4.2vw,58px);line-height:1.1;text-wrap:balance}
#allrecords .tsa-commercial-page h2{font-size:42px;font-weight:500;line-height:1.15}
#allrecords .tsa-commercial-page .article-shell h2{font-size:32px;font-weight:700}
#allrecords .tsa-commercial-page .article-shell h3{font-size:24px}
#allrecords .tsa-commercial-page .hero{min-height:600px}
#allrecords .tsa-commercial-page .article-hero{min-height:480px}
#allrecords .tsa-commercial-page .hero-content{padding:80px 0 64px}
@media (min-width:601px){#allrecords .tsa-commercial-page .hero::before{background:linear-gradient(90deg,rgba(0,0,0,.85) 0%,rgba(0,0,0,.72) 50%,rgba(0,0,0,.3) 78%,rgba(0,0,0,.2) 100%)}}
#allrecords .tsa-commercial-page .button:hover{box-shadow:inset 0 0 0 100vmax rgba(0,0,0,.2)}
#allrecords .tsa-commercial-page .button.ghost:hover{box-shadow:none}
#allrecords .tsa-commercial-page .timeline-item small,#allrecords .tsa-commercial-page .route-card .tag,#allrecords .tsa-commercial-page .form-note{font-size:12px}
#allrecords .tsa-commercial-page .dark .form-note{color:rgba(255,255,255,.6)!important}
#allrecords .tsa-commercial-page .hero-note,#allrecords .tsa-commercial-page .faq details p,#allrecords .tsa-commercial-page .article-shell p,#allrecords .tsa-commercial-page .article-shell li{max-width:70ch}
#allrecords .tsa-commercial-page .article-shell a{color:var(--red)}
#allrecords .tsa-commercial-page .tsa-header-icon,#allrecords .tsa-commercial-page .tsa-header-phone,#allrecords .tsa-commercial-page .tsa-header-cta,#allrecords .tsa-commercial-page .tsa-header-lang{border-color:rgba(196,29,29,.3)}
#allrecords .tsa-commercial-page .tsa-header-icon:hover,#allrecords .tsa-commercial-page .tsa-header-phone:hover,#allrecords .tsa-commercial-page .tsa-header-cta:hover,#allrecords .tsa-commercial-page .tsa-header-lang:hover{border-color:var(--red);background:rgba(196,29,29,.08)}
@media (max-width:600px){
  #allrecords .tsa-commercial-page h1{font-size:30px;line-height:1.15}
  #allrecords .tsa-commercial-page h2{font-size:30px}
  #allrecords .tsa-commercial-page .article-shell h2{font-size:26px}
  #allrecords .tsa-commercial-page .hero{min-height:0}
  #allrecords .tsa-commercial-page .hero-content{padding:40px 0}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.tsa-commercial-page *{transition:none!important}}

/* TSA UI/UX 2026-10-24: Дневник TSA (Поток) - ссылки и подзаголовки статей в цвете и шрифте бренда, место под ленту без сдвига */
#allrecords .t-cms__page .t-redactor__tte-view a:not([class*="btn"]){color:#C41D1D;text-decoration:underline;text-underline-offset:3px}
#allrecords .t-cms__page figcaption,#allrecords .tsa-links__count{color:#6c6c6c;opacity:1}
#allrecords .t-cms__page .t-redactor__h2,#allrecords .t-cms__page .t-redactor__h3{font-family:var(--t-headline-font,Arial)}
#rec4673088001 .t2823__items{min-height:1900px}
#rec4673088001 .t2823 .t2823__container_parts{display:block}
#rec4673088001 .t-col:has(>.t2823__parts){min-height:76px}
@media (max-width:1199px){#rec4673088001 .t2823__items{min-height:1100px}}
@media (max-width:480px){#rec4673088001 .t-col:has(>.t2823__parts){min-height:111px}}
