/* Archive overrides: loaded last. Theme CSS is never edited; all fixes live here. */
:root { --closure-h: 40px; }

/* Closure notice: sticky bar at the very top, fixed header sits right below it */
.archive-closure-bar {
  position: sticky; top: 0; z-index: 100001;
  background: #c1272d; color: #fff; text-align: center;
  padding: 10px 16px; font: 700 15px/1.35 Lato, Arial, sans-serif; letter-spacing: .01em;
  box-sizing: border-box; width: 100%;
}
@media (max-width: 600px) { :root { --closure-h: 56px; } .archive-closure-bar { font-size: 14px; } }
#navbar.wp-block-spothopper-sh-flex-navigation { top: var(--closure-h) !important; }

/* Replacement for the live map (no external tiles) */
.archive-map-card { padding: 40px 20px; text-align: center; font-family: Lato, sans-serif; }
.archive-map-card h3 { font-family: Montserrat, sans-serif; margin: 0 0 10px; }
.archive-map-card a { text-decoration: underline; }

/* 404 */
.archive-404-main { max-width: 640px; margin: 80px auto; padding: 0 16px; text-align: center; font-family: Lato, sans-serif; }
.archive-404-main h1 { font-family: Montserrat, sans-serif; }

/* Defensive: never scroll sideways (clip does not create a scroll container, so the sticky bar keeps working) */
html { overflow-x: clip; }
img, video, iframe, table { max-width: 100%; }
.wp-block-image img { height: auto; }
.entry-content { overflow-wrap: anywhere; }
