/* Photo chapters; the original introduction and direction menu retain their styles. */
.cx-photo-section{padding:88px 0 100px;scroll-margin-top:0;--muted:#596672}
.cx-photo-section.tint{background:#E6F0FC}
.cx-photo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7%;align-items:start}
.cx-photo-section:nth-of-type(odd) .cx-photo figure{order:2}
.cx-photo figure{margin:0;position:static}
.cx-photo img{display:block;width:100%;height:470px;object-fit:cover}
.cx-photo figcaption{font-size:12px;color:var(--muted);margin-top:15px}
.cx-photo .eyebrow{margin-bottom:28px}
.cx-photo h2{font-size:36px}
.cx-photo .cx-lead{font-size:18px;line-height:1.65;color:#46515a}
.cx-photo .cx-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:35px;gap:28px}
.cx-photo .cx-groups h3{font-size:17px}
.cx-photo .cx-groups ul{list-style:none;margin:0;padding:0}
.cx-photo .cx-groups li{font-size:14px;line-height:1.65;color:var(--muted);padding:4px 0}
@media(min-width:1400px){.cx-photo h2{font-size:40px}.cx-photo img{height:540px}}
@media(max-width:900px){.cx-photo{gap:5%;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}.cx-photo h2{font-size:30px}.cx-photo img{height:360px}.cx-photo .cx-groups{grid-template-columns:1fr}}
@media(max-width:600px){.cx-photo{grid-template-columns:1fr}.cx-photo-section{padding:56px 0 64px}.cx-photo figure{position:static;margin-bottom:30px}.cx-photo-section:nth-of-type(odd) .cx-photo figure{order:0}.cx-photo img{height:260px}.cx-photo h2{font-size:28px}.cx-photo .cx-lead{font-size:17px}.cx-photo .cx-groups{gap:25px}}

/* v159: direction boards; uppercase lettering and colour inversion. */
.inner-page .service-signs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding-bottom:70px;position:static;background:transparent;border:0}
.service-signs .service-sign{display:block;min-width:0;line-height:0;border:0;padding:0;background:transparent;color:#151515;box-shadow:none;border-radius:7px;transition:color .18s ease}
.service-signs svg{display:block;width:100%;height:auto;overflow:visible}
.service-signs .sign-field{fill:white;stroke:#151515;stroke-width:3;transition:fill .18s ease,stroke .18s ease}
.service-signs .service-sign:hover,.service-signs .service-sign:focus-visible{color:#fff;box-shadow:none;outline:none}
.service-signs .service-sign:hover .sign-field,.service-signs .service-sign:focus-visible .sign-field{fill:#307FE2;stroke:#307FE2}
@media(max-width:1000px){.inner-page .service-signs{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:600px){.inner-page .service-signs{grid-template-columns:1fr;gap:16px;padding-bottom:42px}.service-signs .service-sign{width:100%;max-width:420px;margin-inline:auto}}
@media(prefers-reduced-motion:reduce){.service-signs .service-sign,.service-signs .sign-field{transition:none}}

@font-face{font-family:RoadSign;src:url("assets/fonts/russianroadsign-medium.otf") format("opentype");font-style:normal;font-weight:400;font-display:block}
.service-signs .sign-lettering{font-family:RoadSign;font-weight:400;font-kerning:none;font-synthesis:none}

/* v167: equal whitespace before and after the navigation signs. */
.inner-page .inner-intro{padding-bottom:150px}
@media(max-width:600px){.inner-page .inner-intro{padding-bottom:82px}}

/* v168: account for the 5px below the final text line inside its line box. */
.inner-page .service-signs{padding-bottom:75px}
@media(max-width:600px){.inner-page .service-signs{padding-bottom:47px}}

/* Direction anchors start at the viewport edge, without the global header offset. */
html.directions-document{scroll-padding-top:0}


@media(min-width:601px) and (max-width:720px){.cx-photo-section{padding:56px 0 64px}}

/* Equal top and bottom spacing, preserving the approved gap after signs. */
.cx-photo-section:not(#roads){padding-top:100px}
@media(max-width:720px){.cx-photo-section:not(#roads){padding-top:64px}}

.next-step-sign{display:block;width:112px;height:112px;margin-top:28px}
@media(max-width:720px){.next-step-label{display:flex;align-items:center;gap:24px}.next-step-sign{width:80px;height:80px;margin-top:0}}

@media(min-width:721px){
 .inner-cta .section-columns{container-type:inline-size}
 .next-step-label{display:grid;grid-template-columns:max-content 1fr;align-items:start}
 .next-step-sign{align-self:start;justify-self:center;margin:10px 0 0;transform:translateX(3cqw)}
 .inner-cta .section-columns>div:last-child{display:flex;flex-direction:column;align-items:flex-start}
}
@media(min-width:721px) and (max-width:1200px){.next-step-sign{transform:translateX(2.5cqw)}}

@media(max-width:720px){
 .inner-page .inner-intro{padding-bottom:102px}
 .cx-photo-section{padding-bottom:57px}
}
@media(max-width:600px){
 .inner-page .inner-intro{padding-bottom:74px}
 .cx-photo{row-gap:48px}
}
