/* Preview refinement: preserve the first screen blue and all existing content. */
html body.yas-theme-unified {
  --yas-page:#14365b; --yas-surface:#14365b;
}
html body.yas-theme-unified :is(nav[data-header-preview],.home-tool-sprav,#contacts,#blog[data-editorial-unity],#yas-social-section,#requisites) {
  background:#14365b!important;
}
html body.yas-theme-unified #requisites .footer-col { background:#14365b!important; }
html body.yas-theme-unified :is(.hero-card-inner,.sber-partner-proof,.home-cases-preview__feature,.home-tz__dossier-head,#stickyCta,#backToTop),
html body.yas-theme-unified .home-tz__table thead th:not(:first-child),
html body.yas-theme-unified .home-tz__certificate-points li::before,
html body.yas-theme-unified #contacts :is(.contact-card,.contact-item,.yas-file-box),
html body.yas-theme-unified .service-finder input {
  background:#14365b!important;
}
html body.yas-theme-unified #services::before,
html body.yas-theme-unified #requisites::before { background:none!important; }

/* One typographic rhythm throughout the desktop header. */
html body.yas-theme-unified nav[data-header-preview] .nav-links { gap:20px!important; }
html body.yas-theme-unified nav[data-header-preview] .nav-links>a {
  font-size:16px!important; font-weight:550!important; line-height:1.25!important;
  letter-spacing:0!important; color:#edf5ff!important; min-height:44px;
}
html body.yas-theme-unified nav[data-header-preview] .nav-links>a[data-header-check] {
  font-weight:650!important; color:#091b30!important; padding-inline:16px;
}
@media(min-width:900px) and (max-width:1099px) {
  html body.yas-theme-unified nav[data-header-preview] .nav-links { gap:10px!important; }
  html body.yas-theme-unified nav[data-header-preview] .nav-links>a { font-size:15px!important; }
  html body.yas-theme-unified nav[data-header-preview] .nav-links>a[data-header-check] { padding-inline:10px!important; }
}

/* A lead article and a compact topic directory. */
html body.yas-theme-unified #blog[data-editorial-unity] {
  padding:72px 0 60px; position:relative; isolation:isolate; color:#edf5ff;
}
#blog[data-editorial-unity] *,#blog[data-editorial-unity] *::before { box-sizing:border-box; }
#blog[data-editorial-unity] .reading-inner { width:min(1220px,calc(100% - 64px)); margin:auto; }
#blog[data-editorial-unity] .reading-heading {
  display:flex; align-items:center; justify-content:space-between; gap:32px;
  padding-bottom:28px; margin-bottom:38px; border-bottom:1px solid #486a8a;
}
html body.yas-theme-unified #blog[data-editorial-unity] h2 {
  font-size:clamp(32px,3.3vw,44px)!important; line-height:1.15!important;
  font-weight:700!important; letter-spacing:-.03em!important; color:#edf5ff!important;
  margin:0!important; text-align:left!important;
}
html body.yas-theme-unified #blog[data-editorial-unity] .reading-heading p {
  font-size:16px; line-height:1.6; color:#cddfef!important; margin:12px 0 0;
}
#blog[data-editorial-unity] .reading-all {
  display:inline-flex; flex-shrink:0; align-items:center; justify-content:center; min-height:46px;
  padding:11px 19px; border:1px solid #86a8c5; border-radius:7px;
  color:#edf5ff; font-size:14px; font-weight:650; line-height:1.4; text-decoration:none;
  transition:border-color .18s ease, color .18s ease;
}
#blog[data-editorial-unity] .reading-layout { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); gap:56px; }
#blog[data-editorial-unity] .reading-featured { min-width:0; }
#blog[data-editorial-unity] .reading-story { color:#edf5ff; text-decoration:none; min-width:0; background:transparent; }
#blog[data-editorial-unity] .reading-story--lead { display:flex; height:100%; flex-direction:column; }
#blog[data-editorial-unity] .reading-photo { overflow:hidden; border-radius:5px; background:#14365b; }
#blog[data-editorial-unity] .reading-photo img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
html body.yas-theme-unified #blog[data-editorial-unity] .reading-category {
  display:block; font-size:12px; font-weight:600; line-height:1.5; letter-spacing:.02em;
  color:#9bd8fc!important; margin-bottom:8px;
}
html body.yas-theme-unified #blog[data-editorial-unity] h3 {
  color:#edf5ff!important; font-weight:650; letter-spacing:-.025em; margin:0; text-shadow:none;
}
html body.yas-theme-unified #blog[data-editorial-unity] .reading-story--lead h3 {
  font-size:clamp(30px,2.9vw,38px); line-height:1.2; max-width:23ch; text-wrap:pretty;
}
#blog[data-editorial-unity] .reading-title-tail { white-space:nowrap; }
html body.yas-theme-unified #blog[data-editorial-unity] .reading-copy p {
  color:#cddfef!important; font-size:16px; line-height:1.65; margin:16px 0 0; max-width:49ch;
}
#blog[data-editorial-unity] .reading-open {
  display:inline-block; color:#9bd8fc; font-weight:650; font-size:14px; line-height:1.5;
  margin:20px 0 26px; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:5px;
}
#blog[data-editorial-unity] .reading-story--lead .reading-photo { aspect-ratio:1.85; margin-top:auto; }
#blog[data-editorial-unity] .reading-index { display:grid; grid-template-columns:1fr; align-content:space-between; }
#blog[data-editorial-unity] .reading-story--small {
  display:grid; grid-template-columns:minmax(0,1fr) 80px; gap:22px; align-items:center;
  min-height:102px; padding:16px 0; border-bottom:1px solid #486a8a;
}
#blog[data-editorial-unity] .reading-story--small:first-child { padding-top:0; }
#blog[data-editorial-unity] .reading-story--small:last-child { border-bottom:0; padding-bottom:0; }
#blog[data-editorial-unity] .reading-story--small .reading-photo { aspect-ratio:1; }
html body.yas-theme-unified #blog[data-editorial-unity] .reading-story--small h3 { font-size:21px; line-height:1.35; text-wrap:pretty; }
#blog[data-editorial-unity] a:focus-visible { outline:2px solid #9bd8fc; outline-offset:6px; }
@media(hover:hover) and (pointer:fine) {
  #blog[data-editorial-unity] .reading-story:hover h3 { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:5px; }
  #blog[data-editorial-unity] .reading-story:hover img { transform:scale(1.025); }
  #blog[data-editorial-unity] .reading-all:hover { color:#9bd8fc; border-color:#9bd8fc; }
}
@media(max-width:1000px) {
  #blog[data-editorial-unity] .reading-layout { gap:32px; }
  #blog[data-editorial-unity] .reading-story--small { grid-template-columns:minmax(0,1fr) 64px; gap:16px; }
  html body.yas-theme-unified #blog[data-editorial-unity] .reading-story--small h3 { font-size:19px; }
}
@media(max-width:760px) {
  html body.yas-theme-unified #blog[data-editorial-unity] { padding:48px 0 36px; }
  #blog[data-editorial-unity] .reading-inner { width:calc(100% - 40px); }
  #blog[data-editorial-unity] .reading-heading { display:block; padding-bottom:26px; margin-bottom:28px; }
  html body.yas-theme-unified #blog[data-editorial-unity] h2 { font-size:32px!important; }
  #blog[data-editorial-unity] .reading-all { margin-top:20px; }
  #blog[data-editorial-unity] .reading-layout { grid-template-columns:1fr; gap:28px; }
  html body.yas-theme-unified #blog[data-editorial-unity] .reading-story--lead h3 { font-size:29px; }
  #blog[data-editorial-unity] .reading-open { margin:16px 0 24px; }
  #blog[data-editorial-unity] .reading-story--lead .reading-photo { aspect-ratio:1.8; }
  #blog[data-editorial-unity] .reading-index { border-top:1px solid #486a8a; }
  #blog[data-editorial-unity] .reading-story--small { grid-template-columns:minmax(0,1fr) 68px; min-height:112px; padding:20px 0; gap:16px; }
  #blog[data-editorial-unity] .reading-story--small:first-child { padding-top:20px; }
  #blog[data-editorial-unity] .reading-story--small:last-child { padding-bottom:16px; }
  html body.yas-theme-unified #blog[data-editorial-unity] .reading-story--small h3 { font-size:19px; line-height:1.4; }
}
@media(prefers-reduced-motion:reduce) {
  #blog[data-editorial-unity] .reading-photo img,#blog[data-editorial-unity] .reading-all { transition:none; transform:none!important; }
}
