/* IRONScale v171 — global layout repair. Intentionally small: no page-specific component styling. */
*{box-sizing:border-box}
.topbar{width:100%;box-sizing:border-box}
@media(min-width:1180px){
  .topbar{grid-template-columns:minmax(540px,1.25fr) 280px minmax(230px,.75fr)!important;padding-left:18px!important;padding-right:18px!important;column-gap:12px!important}
  .topbar .main-nav{justify-self:start!important;max-width:100%!important;min-width:0!important;gap:3px!important;padding-left:0!important;padding-right:0!important;overflow:visible!important}
  .topbar .main-nav a{font-size:11.5px!important;padding:9px 8px!important;flex:0 0 auto}
  .topbar .brand{width:280px!important;justify-self:center!important}
  .topbar .brand img{width:100%!important;height:134px!important;object-fit:contain!important}
  .topbar .top-actions{justify-self:end!important;min-width:0!important;gap:7px!important}
  .topbar .mini-search{width:215px!important;max-width:215px!important}
}
@media(min-width:760px) and (max-width:1179px){
  .topbar .main-nav{max-width:100%!important;gap:4px!important;padding-left:0!important;overflow-x:auto!important;scrollbar-width:none}
  .topbar .main-nav::-webkit-scrollbar{display:none}
  .topbar .main-nav a{font-size:11.5px!important;padding:8px 9px!important}
}

/* One footer structure everywhere. The visitor counter gets its own slot and can no longer land inside article cards. */
.footer-top-rail{width:100%!important;margin-left:0!important;margin-right:0!important}
footer.site-footer-v171{width:100%!important;margin:0!important;padding:18px 28px!important;display:grid!important;grid-template-columns:160px minmax(0,1fr) auto!important;align-items:center!important;gap:24px!important;background:#080a08!important;color:#e7dfca!important;min-height:78px!important;position:relative!important;inset:auto!important;overflow:visible!important}
.site-footer-v171 .footer-brand{min-width:140px;color:#f0e8d1!important}
.site-footer-v171 nav{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;flex-wrap:wrap!important;min-width:0!important}
.site-footer-v171 nav a{color:#d8cfb9!important;text-decoration:none!important;font-size:12px!important;line-height:1.3!important;padding:7px 16px!important;white-space:nowrap!important;position:relative!important}
.site-footer-v171 nav a:not(:last-child)::after{content:""!important;position:absolute!important;right:0!important;top:50%!important;width:1px!important;height:20px!important;transform:translateY(-50%)!important;background:rgba(207,176,93,.42)!important;opacity:1!important}
.site-footer-v171 nav a:hover{color:#f0cc68!important}
.footer-counter-slot-v171{justify-self:end;display:flex;align-items:center;min-width:0}
.site-footer-v171 .visitor-counter-v165{margin:0!important;white-space:nowrap!important;color:#a9a08b!important}
body.light .site-footer-v171,body.light footer.site-footer-v171{background:#080a08!important;color:#e7dfca!important}
body.light .site-footer-v171 nav a,body.light .site-footer-v171 .footer-brand{color:#e7dfca!important}
@media(max-width:980px){footer.site-footer-v171{grid-template-columns:auto 1fr!important}.footer-counter-slot-v171{grid-column:1/-1;justify-self:start}.site-footer-v171 nav a{padding:6px 11px!important}}
@media(max-width:680px){footer.site-footer-v171{grid-template-columns:1fr!important;gap:10px!important;padding:18px 18px 20px!important}.footer-counter-slot-v171{grid-column:auto}.site-footer-v171 nav{gap:2px 0!important}.site-footer-v171 nav a{padding:6px 10px!important}.site-footer-v171 nav a:not(:last-child)::after{display:none!important}}
