/* Homepage navigation shared by every server-rendered page. */
body.site-inner-page { padding-block-start: 0; padding-block-end: 0; background: var(--bg); color: var(--ink); }
.site-page-shell { min-width: 0; min-height: 100dvh; margin-inline-start: var(--sidebar-width, 276px); }
.site-page-shell > main { margin-inline: auto; }
.site-inner-page .topbar { width: 100%; box-sizing: border-box; }
.site-page-title { margin: 2px 0 0; overflow: hidden; color: var(--ink); font-size: 16px; font-weight: 750; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.site-inner-page .top-title { min-width: 0; }
.site-inner-page .top-actions a { text-decoration: none; }
.site-inner-page .sidebar { font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif; line-height: 1.5; text-align: start; }
.site-inner-page .sidebar a { text-decoration: none; }
.site-inner-page .sidebar .brand { background: transparent; }
.site-inner-page .sidebar .nav-item { font-size: 13px; }
.site-inner-page .sidebar a.nav-item { color: #aeb6c2; }
.site-inner-page .sidebar a.nav-item.active, .site-inner-page .sidebar a.nav-item:hover { color: #fff; }
.site-inner-page .sidebar .nav-item b { font-weight: 650; }
.site-inner-page .topbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-inner-page .lang-btn { padding-inline: 12px; gap: 7px; }
.site-inner-page .blog-progress { inset-block-start: var(--topbar-height); }
.site-footer { margin-block-start: clamp(32px, 5vw, 72px); padding: clamp(28px, 4vw, 52px); color: #bac3d0; background: #101318; font-size: 13px; line-height: 1.75; text-align: start; }
.site-footer a { color: inherit; text-decoration: none; transition: color .18s ease; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer a:focus-visible { outline: 2px solid #ff6578; outline-offset: 5px; }
.site-footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) .8fr .8fr minmax(0, 1.2fr); gap: 28px; max-width: 1400px; margin-inline: auto; }
.site-footer-brand { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 9px; margin-block-end: 14px; }
.site-footer-brand span { color: #ff536b; font-size: 21px; font-weight: 900; font-style: italic; letter-spacing: .06em; }
.site-footer-brand strong { color: #fff; font-size: 20px; }
.site-footer-intro p { max-width: 35ch; margin: 0 0 12px; }
.site-footer-intro > small { color: #9da8b7; }
.site-footer h2 { margin: 0 0 14px; color: #fff; font-size: 14px; font-weight: 750; line-height: 1.6; }
.site-footer nav:not(.site-footer-cities) > a { display: block; width: fit-content; margin-block: 8px; }
.site-footer-contact > a { display: block; width: fit-content; margin-block: 10px; }
.site-footer-contact > a small { display: block; color: #a5afbe; }
.site-footer-contact strong { display: inline-block; color: #fff; font-size: 16px; }
.site-footer-socials { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 16px; font-size: 12px; }
.site-footer-cities { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 1400px; margin: 32px auto 0; padding-block: 24px; border-block: 1px solid #2b313b; }
.site-footer-cities h2 { flex: 0 0 100%; margin-block-end: 4px; }
.site-footer-cities a { padding: 5px 12px; border: 1px solid #343b47; border-radius: 8px; color: #d1d8e2; }
.site-footer-cities a[aria-current="page"] { color: #fff; border-color: #e21f36; }
.site-footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 20px; max-width: 1400px; margin: 20px auto 0; color: #9da8b7; font-size: 11px; }
.site-footer-bottom > span { margin-inline-end: auto; }
.site-inner-page .local-main { width: 100%; min-width: 0; }
.site-inner-page .seo-static-main { width: min(1280px, calc(100% - 48px)); min-width: 0; }
.site-inner-page .local-wrap { width: min(1180px, calc(100% - 48px)); }
.site-inner-page .error-404-main { min-height: 65vh; padding: 50px 24px; }
.site-inner-page .credit-archive-toolbar { position: static; }
.site-inner-page .whatsapp-float { z-index: 65; }
.site-inner-page .archive-notice { position: static; margin: 16px; }
body.dark.local-site :is(.local-card, .local-note, .local-process li, .local-city-grid a, .local-faq details, .local-jump-links a) { color: var(--ink); background: var(--surface); border-color: var(--line); }
body.dark.local-site :is(.local-box p, .local-card p, .local-process p, .local-contact-panel p, .local-city-grid small) { color: var(--ink-soft); }
body.dark.local-site .local-contact-panel { background: var(--surface-2); border-color: var(--line); }
body.dark.local-site .local-city-grid a[aria-current="page"] { background: #421e2a; border-color: #f36a7c; }
@media (max-width: 1280px) and (min-width: 861px) {
  .site-footer-grid { grid-template-columns: 1.4fr 1fr; }
  .site-page-shell .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-page-shell .article-layout { grid-template-columns: minmax(0, 1fr); }
  .site-page-shell .article-toc { position: static; }
}
@media (max-width: 860px) {
  .site-page-shell { margin-inline-start: 0; }
  .site-page-title { display: none; }
  .site-inner-page .topbar { height: var(--topbar-height, 66px); }
  .site-inner-page .local-wrap { width: calc(100% - 32px); }
  .site-inner-page .seo-static-main { width: calc(100% - 28px); }
  .site-inner-page .sidebar { z-index: 90; }
  .site-inner-page .sidebar-backdrop { z-index: 85; }
  .site-inner-page .whatsapp-float { inset-block-end: max(20px, env(safe-area-inset-bottom)); }
  .site-footer { padding: 30px 22px; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .site-footer-intro { grid-column: 1 / -1; }
  .site-footer-contact { grid-column: 1 / -1; }
  .site-footer-contact > a { display: inline-block; margin-inline-end: 24px; }
}
@media (prefers-reduced-motion: reduce) { .site-inner-page *, .site-inner-page *::before, .site-inner-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media print { .site-inner-page .sidebar, .site-inner-page .topbar, .site-footer, .site-inner-page .whatsapp-float, .sidebar-backdrop { display: none !important; } .site-page-shell { margin: 0; } }
