:root {
  --primary-color: #1a2b5c;
  --accent-color: #ffc857;
  --bg-light: #f9f9f9;
  --bg-dark: #f4f8fc;
  --background-color: #f9f9f9;
  --text-light: #6c757d;
  --radius: 8px;
}

/* -------------------------------------------------------------
   🧱 Layout Stability + Lazy-Load Skeleton & Fade-In
   → Only applies to homepage or blocks explicitly marked .lazy-block
------------------------------------------------------------- */

.app-top-safearea {
    height: 2px;
    background: #7e57c2;
}

/* Reserve layout space + initial hidden state */
body.homepage .surfer-block,
body.homepage .boating-block,
body.homepage .sky-block,
body.homepage .info-block,
body.homepage .sports-block,
body.homepage .closures-block,
body.homepage .direction-block,
body.homepage .promo-block,
body.homepage .explore-block,
body.homepage .cause-ad-block,
body.homepage .ad-block,
body.homepage .content-block,
.lazy-block {
  display: block;
  min-height: 320px;
  overflow: visible;
  position: relative;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

/* When block itself is loaded */
.surfer-block.loaded,
.boating-block.loaded,
.sky-block.loaded,
.info-block.loaded,
.sports-block.loaded,
.closures-block.loaded,
.direction-block.loaded,
.promo-block.loaded,
.explore-block.loaded,
.cause-ad-block.loaded,
.ad-block.loaded,
.content-block.loaded,
.lazy-block.loaded {
  opacity: 1;
  transform: translateY(0);
  min-height: auto !important;
}

body.modal-active .lazy-block.loaded {
  transform: none !important;
  opacity: 1 !important; /* ⬆ neutralize stacking context during modal */
}

/* Fallback: when .loaded is applied to a parent container */
.loaded .surfer-block,
.loaded .boating-block,
.loaded .sky-block,
.loaded .info-block,
.loaded .sports-block,
.loaded .closures-block,
.loaded .direction-block,
.loaded .promo-block,
.loaded .explore-block,
.loaded .cause-ad-block,
.loaded .ad-block,
.loaded .content-block {
  opacity: 1;
  transform: translateY(0);
  min-height: auto !important;
}

/* Skeleton shimmer for loading placeholders */
.loading-skeleton {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: pulse 1.2s ease-in-out infinite;
  border-radius: 4px;
}

@keyframes pulse {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* -------------------------------------------------------------
   🖼️ Image Stability
------------------------------------------------------------- */

@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/static/fonts/hanken_grotesk/hanken-grotesk-v12-latin-regular.woff2') format('woff2');
  font-display: swap;
}

img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Maintain consistent aspect ratios for common block types */
.hero img,
.card img,
.content-block img {
  aspect-ratio: 16 / 9; /* Adjust to your real ratio */
}

@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/hanken_grotesk/hanken-grotesk-v12-latin-regular.woff2') format('truetype');
  font-display: swap;
}

.get-scoop,
.get-scoop:link,
.get-scoop:visited,
.get-scoop:hover,
.get-scoop:active {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: bold;
  font-size: 1.2rem;
  color: purple;
  font-style: normal;
  text-decoration: none;
  margin-left: 4px;
  text-transform: uppercase;
}

body {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.8rem;
  margin: 0;
  padding-top: 0.25rem;
  background: url('/static/assets/sugarpop-bg.webp') no-repeat center center;
  background-attachment: fixed;
  background-color: var(--background-color);
  background-size: cover;
  color: #111;
}

#paint-underlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;

  /* visible effect: none */
  background: transparent;

  /* ensures smooth paint */
  z-index: 0;

  /* prevents compositing thrash */
  will-change: auto;
  transform: none;
  box-shadow: none;
}

header {
  /* background-color: var(--bg-dark); */
  border-bottom: 0 solid #ddd;
  padding: 1rem;
  background: transparent;
  border: none;
}

.fixed-header {
  position: fixed;
  will-change: transform;  
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(to bottom, rgb(255 255 255 / 95%), transparent);
  filter: none;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}

.text-uppercase {
  text-transform: uppercase;
}

.honeypot {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- Layout wrapper for all main sections --- */
.narrow-container {
  width: 100%;
  max-width: 960px;          /* standard reading width */
  margin: 0 auto;            /* center on page */
  padding: 0 1rem;           /* breathing room left/right */
  box-sizing: border-box;    /* consistent sizing with padding */
}

.section {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
  min-height: 300px;
}

.section .container {
  padding-top: 0 !important;
}

@media (width <= 768px) {
  .section {
    padding-left: 0;
    padding-right: 0;
  }

  .narrow-container {
    padding-left: 0;
    padding-right: 0;
  }
}

.top-header {
  top: 0;
  z-index: 999;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* 🔁 Unified block wrapper for dropdowns */
.top-ui-block {
  width: 100%;
  max-width: 300px;
  margin: 1rem auto;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

/* Optional: match dropdown styles for consistency */
.top-ui-block select {
  width: 100%;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
  border: 1px solid #ccc;
  background-color: #fff;
  color: #000;
}

h1 {
  color: var(--primary-color);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

h2 {
  color: var(--primary-color);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

h3 {
  color: var(--primary-color);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.0rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

h4 {
  color: var(--primary-color);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

h5 {
  color: var(--primary-color);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.2rem;
  line-height: 1.3;  
  margin-bottom: 0.25rem;
}

h6 {
  color: var(--primary-color);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.0rem;
  font-style: italic;
  margin-bottom: 0.25rem;
}

.h1-nomargin {
  color: var(--primary-color);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: bold;
}

.h1-nomargin.purple {
  color: #6C3BAA;
}

.h1-notbold {
  color: var(--primary-color);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.feature-big {
  color: purple;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
}

.feature-read-text {
  font-size: 1.2rem;   /* or 1rem, 1.1rem, etc. */
  line-height: 1.3;  /* keep readability */
}

footer {
  font-family: "Hanken Grotesk", sans-serif;
  text-align: center;
  padding: 1rem 0;
  background-color: #f4f4f4;
  color: var(--text-light);
  font-size: 0.9rem;
  min-height: 125px;
}

footer.footer {
  font-family: "Hanken Grotesk", sans-serif;
  text-align: center;
  background-color: #f4f4f4;
  color: var(--text-light);
  font-size: 0.9rem;

  /* ✅ Stable footprint */
  min-height: 125px;
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-sizing: border-box;

  /* ✅ Prevent participation in lazy-block transitions */
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;

  /* Optional visual polish */
  position: relative;
  z-index: 0;
}

.navbar-menu {
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.5rem 1rem;
}

.navbar-start {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.navbar-item {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  color: var(--primary-color);
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.2s ease-in-out;
}

.navbar-item:hover {
  background-color: var(--accent-color);
  color: #000;
  border-radius: var(--radius);
}

@media (width <= 768px) {
  .navbar-start {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }

  .navbar-item {
    width: 100%;
    padding: 0.75rem 1rem;
  }
}

.live-info-section {
  background: #fff;
  border-top: 1px solid #eee;
}

.live-info-section article {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.category-tiles .tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  justify-content: center;
  padding: 0.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.tile-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  box-shadow: 0 2px 4px rgb(0 0 0 / 5%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  line-height: 1.4;
}

.tile-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgb(0 0 0 / 10%);
  background: #fefefe;
  color: #000;
}

.cta-section {
  border-top: 1px solid #eee;
  background: var(--bg-dark);
}

#cta-submit {
  font-size: 0.85rem;
  max-width: 600px;
  margin: 2rem auto;
  text-align: center;
}

#cta-submit h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

#cta-submit p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.select.is-small {
  background-color: #6C3BAA;
  color: #fff;
  flex: 1;
}

.select select {
  appearance: none;
  background-image: none !important;
  background-color: #6C3BAA !important;
  color: white;
  padding: 0.25rem 0.5rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.0rem;
}

.select::after {
  display: none !important;
}

.sub-logo {
  margin-bottom: 0;
}

.time-temp {
  color: #000;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.8rem;
  padding: 0.5rem;
  text-align: center;
  position: relative;
}

/* Desktop / Tablet Override */
@media screen and (width >= 769px) {
  .time-temp {
    font-size: 0.8rem;
    padding: 0.75rem;
  }
}

section.section:first-of-type {
  margin-top: 0;
  padding-top: 0.25rem; /* adjust as needed */
}

.has-text-centered.mt-4 {
  margin-bottom: 0; /* ✅ Reduce vertical stacking space */
}

/* Consistent Content Width */
.hero-carousel,
.snap-suggest,
#gpt-header-slot {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

 .dropdown-menu {
  background-color: #ec732e;
  padding: 0.5rem 0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 30%);
}

.dropdown-item {
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
}

.dropdown-item:hover {
  background-color: #222;
}

.header-flex-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  height: 100%;
}

/* Style the hamburger button */
#burger {
  background: transparent;
  color: black !important;
  border: none;
  outline: none;
  box-shadow: none;
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  margin: 0;
  width: auto;
  height: auto;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Style the dropdown menu container */
#burger-menu.menu {
  padding: 1rem;
  background-color: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 10%);
}

/* 🎬 Animation */
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.input-centered {
  max-width: 90%;
  margin: auto;
}

.list-condensed {
  margin: 0.5rem 0 0 1rem;
  padding: 0;
  list-style-type: disc; /* ✅ adds bullet points */
}

.list-condensed li {
  margin-bottom: 0.5rem; /* ✅ increase for more space between bullets */
}

/* Hide iframe and other invisible elements */
.hidden-iframe {
  display: none;
  visibility: hidden;
}

.hidden {
  display: none !important;
}

.link-unstyled {
  display: block;
  text-decoration: none;
  color: inherit;
}

.align-start {
  align-items: flex-start;
}

/* Container row for forecast icons and temps */
.forecast-row {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  font-weight: bold;
  color: #000;
  font-size: 1.2em;
}

/* Each cell takes equal width */
.forecast-cell {
  flex: 1;
  text-align: center;
}

/* Forecast icons scale relative to main image */
.forecast-icon {
  width: 100%;
  height: auto;
  max-width: 100%;   /* prevents overflow */
}

/* Optional: tweak temps row spacing */
.forecast-row.temps {
  margin-top: 4px;
}

.styled-separator {
  border: 0;
  height: 2px;
  background: #000;
  margin: 12px 0;
  opacity: 0.2;
}

.traffic-list {
  list-style: none;
  padding: 0;
  margin: 0.75em 0;
}

.traffic-list li {
  margin: 0.6em 0;
  font-size: 1.1em;
  line-height: 1.2;
}

.traffic-list .line-top,
.traffic-list .line-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4em;
}

.traffic-list .line-bottom {
  margin-left: 1.8em; /* indent under road/speed */
}

.traffic-list .road {
  font-size: 1.2em;
  font-weight: 600;
}

.traffic-list .speed {
  color: #333;
  font-weight: 600;
  font-size: 1.2em;
}

.traffic-list .slower {
  font-weight: bold;
  font-size: 1.2em;
}

.text-red {
  color: #c00 !important;
  font-weight: bold;
}

.text-orange {
  color: #FFA500 !important;
  font-weight: bold;
}

.text-purple {
  color: #6C3BAA !important;
  font-weight: bold;
}

.text-green {
  color: #25A032 !important;
  font-weight: bold;
}

/* 📱 Mobile tweaks */
@media (width <= 768px) {
  .traffic-list li {
    font-size: 1.0em;
  }

  .traffic-list .road,
  .traffic-list .speed,
  .traffic-list .slower {
    font-size: 1.2em;
  }

  .traffic-list .line-bottom {
    margin-left: 1.5em;
  }
}

.mb-1 {
  margin-bottom: 1rem;
}

.icon-md {
  width: 60px;
  height: auto;
}

/* Disable background scroll */
.no-scroll {
  overflow: hidden;
}

/* Header layout containers */
.header-container {
  max-width: 800px;
  margin: auto;
}

.header-caption {
  max-width: 800px;
  margin: auto;
}

.centered-flex {
  flex: 0 0 auto;
  text-align: center;
}

.flex-right {
  flex: 0 0 auto;
  text-align: right;
}

.top-header-row {
  display: flex;
  justify-content: center;
}

.top-header-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  max-width: 800px;
  width: 100%;
  justify-content: center;
  color: #000;
  font-size: 0.7rem;
}

.header-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.icon-sm {
  height: 20px;
}

/* Forecast flex container */
.forecast-block {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 🍔 Mobile Burger Menu */
#mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: auto;
  min-width: 240px;
  max-width: 95vw;
  background-color: #ffd580;
  padding: 0.75rem;
  margin-top: 8px;
  border-radius: 6px;
  pointer-events: none;
  z-index: 1;
  display: none;
}

/* Grid layout */
#mobile-menu .menu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

#mobile-menu .menu-list li {
  margin: 0;
  border-bottom: none;
}

#mobile-menu .menu-list a {
  display: block;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0.4rem 0;
  text-transform: uppercase;
  width: 100%;
  background-color: transparent;
  color: #000;
  text-decoration: none;
  border-radius: 4px;
}

#mobile-menu .menu-list a:hover {
  background-color: #ffaed7;
  color: #000;
}

#mobile-menu.open {
  display: block;
  pointer-events: auto;
  z-index: 2000;
}

/* Container for the hamburger menu list */
.menu-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* List items inside menu */
.menu-list li {
  margin-bottom: 0.5rem;
}

.menu-list a:hover {
  background-color: #ffaed7;
  color: #000;
}

/* City Title (spans full width above grid items) */
#mobile-menu .menu-city-wrapper {
  grid-column: 1 / -1;     /* span both columns */
  text-align: center;
  margin-bottom: 0.75rem;
}

#mobile-menu .menu-city-title {
  font-weight: 700;
  text-decoration: underline;
  display: inline-block;
}

.theme-profile-btn {
  background: transparent;
  border: none;
  padding: 0.3rem;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

/* ✅ Base (mobile-first) */
.theme-button {
  height: 28px;
}

/* 🎨 Theme Dropdown Menu */
#theme-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: auto;
  min-width: 240px;
  max-width: 95vw;
  background-color: #b4d9ef;
  z-index: 2000;
  box-shadow: 0 4px 12px rgb(0 0 0 / 20%);
  border-radius: 8px;
  padding: 0.75rem;
  margin-top: 8px;
}

/* Grid layout for theme options */
#theme-dropdown .menu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Theme items */
#theme-dropdown .menu-list li {
  margin: 0;
}

/* Theme links */
#theme-dropdown .menu-list a {
  display: block;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0.4rem 0;
  text-transform: uppercase;
  background-color: transparent;
  color: #000;
  text-decoration: none;
  border-radius: 4px;
}

#theme-dropdown .menu-list a:hover {
  background-color: #ffaed7;
  color: #000;
}

/* Full-width title */
#theme-dropdown .theme-title-wrapper {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 0.75rem;
}

#theme-dropdown .theme-title {
  font-weight: 700;
  text-decoration: underline;
  display: inline-block;
}

ul.snap-list {
  list-style-type: disc;   /* or circle, square, none */
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;   /* or 1rem, 1.1rem, etc. */
  line-height: 1.5;  /* keep readability */

}

ul.snap-list li {
  margin-bottom: 1rem;   /* spacing between items */
  font-size: 1.3em;
}

.surfer-block {
  background-color: rgb(252 239 221 / 85%);
  color: #363636;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.2rem;
  padding: 0.5rem;
  border-radius: 6px;
  margin-top: 0.5rem;
  margin-bottom: 1.0rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
  position: relative;
  border: 1px solid rgb(204 204 204 / 60%);
  line-height: 1.3;
}

/* Optional: remove overlay now that image is gone */
.surfer-block::before {
  content: none; /* ✅ Remove background overlay since it's unnecessary */
}

/* ✅ Ensure child elements stay layered correctly (in case of future effects) */
.surfer-block > * {
  position: relative;
  z-index: 1;
}

/* ✅ Set all child text elements to inherit proper color */
.surfer-block,
.surfer-block li,
.surfer-block p,
.surfer-block h1,
.surfer-block h2,
.surfer-block h3,
.surfer-block small,
.surfer-block strong,
.surfer-block span {
  color: #363636; /* ✅ Bulma's neutral readable dark text */
}

/* ✅ Link styling: blue to match default theme */
.surfer-block a {
  color: #3273dc;            /* ✅ Bulma primary blue */
  text-decoration: underline;
}

/* ✅ On hover: deeper blue and no underline */
.surfer-block a:hover {
  color: #276cda;            /* ✅ Slightly darker hover */
  text-decoration: none;
}

.surfer-block p {
  font-size: 1.2rem;
}

/* ✅ Responsive adjustments if needed (optional breakpoint example) */
@media screen and (width >= 768px) {
  .surfer-block {
    padding: 1.5rem;         /* ✅ Slightly larger padding on tablets and up */
    font-size: 1.2rem;         /* ✅ Improve legibility on larger devices */
  .surfer-block p {
    font-size: 1.2rem;
  }
}
}

.boating-block {
  background-color: #C9A0DC; /* ✅ Clean white background */
  color: #363636;            /* ✅ Bulma default dark gray for text */
  font-family: "Hanken Grotesk", sans-serif; /* ✅ Custom font retained */
  font-size: 0.8rem;       /* ✅ Slightly larger for mobile readability (14px) */
  padding: 0.5rem;             /* ✅ Increased for touch-friendly spacing */
  border-radius: 6px;        /* ✅ Rounded corners for modern UI */
  margin-bottom: 1.5rem;     /* ✅ Responsive vertical spacing */
  box-shadow: 0 1px 3px rgb(0 0 0 / 10%); /* ✅ Softer, clean shadow */
  position: relative;        /* ✅ Required for future absolute children */
  border: 1px solid #ccc;         /* ✅ Light gray border added */
}

/* Optional: remove overlay now that image is gone */
.boating-block::before {
  content: none; /* ✅ Remove background overlay since it's unnecessary */
}

/* ✅ Ensure child elements stay layered correctly (in case of future effects) */
.boating-block > * {
  position: relative;
  z-index: 1;
}

/* ✅ Set all child text elements to inherit proper color */
.boating-block,
.boating-block li,
.boating-block p,
.boating-block h1,
.boating-block h2,
.boating-block h3,
.boating-block small,
.boating-block strong,
.boating-block span {
  color: #363636; /* ✅ Bulma's neutral readable dark text */
}

/* ✅ Link styling: blue to match default theme */
.boating-block a {
  color: #3273dc;            /* ✅ Bulma primary blue */
  text-decoration: underline;
}

/* ✅ On hover: deeper blue and no underline */
.boating-block a:hover {
  color: #276cda;            /* ✅ Slightly darker hover */
  text-decoration: none;
}

/* ✅ Responsive adjustments if needed (optional breakpoint example) */
@media screen and (width >= 768px) {
  .boating-block {
    padding: 1.5rem;         /* ✅ Slightly larger padding on tablets and up */
    font-size: 1rem;         /* ✅ Improve legibility on larger devices */
  }
}

.sky-block {
  background-color: #b4d9ef; /* ✅ Clean white background */
  color: #363636;            /* ✅ Bulma default dark gray for text */
  font-family: "Hanken Grotesk", sans-serif; /* ✅ Custom font retained */
  font-size: 0.8rem;       /* ✅ Slightly larger for mobile readability (14px) */
  padding: 0.5rem;             /* ✅ Increased for touch-friendly spacing */
  border-radius: 6px;        /* ✅ Rounded corners for modern UI */
  margin-top: 0.25rem;     /* ✅ Responsive vertical spacing */
  margin-bottom: 0.25rem;     /* ✅ Responsive vertical spacing */
  box-shadow: 0 1px 3px rgb(0 0 0 / 10%); /* ✅ Softer, clean shadow */
  position: relative;        /* ✅ Required for future absolute children */
  border: 1px solid #ccc;         /* ✅ Light gray border added */
  line-height: 1.2;
}

/* Optional: remove overlay now that image is gone */
.sky-block::before {
  content: none; /* ✅ Remove background overlay since it's unnecessary */
}

/* ✅ Ensure child elements stay layered correctly (in case of future effects) */
.sky-block > * {
  position: relative;
  z-index: 1;
}

/* ✅ Set all child text elements to inherit proper color */
.sky-block,
.sky-block li,
.sky-block p,
.sky-block h1,
.sky-block h2,
.sky-block h3,
.sky-block small,
.sky-block strong,
.sky-block span {
  color: #363636; /* ✅ Bulma's neutral readable dark text */
}

/* ✅ Link styling: blue to match default theme */
.sky-block a {
  color: #3273dc;            /* ✅ Bulma primary blue */
  text-decoration: underline;
}

/* ✅ On hover: deeper blue and no underline */
.sky-block a:hover {
  color: #276cda;            /* ✅ Slightly darker hover */
  text-decoration: none;
}

/* ✅ Responsive adjustments if needed (optional breakpoint example) */
@media screen and (width >= 768px) {
  .sky-block {
    padding: 1.5rem;         /* ✅ Slightly larger padding on tablets and up */
    font-size: 1rem;         /* ✅ Improve legibility on larger devices */
  }
}

.sports-block {
  background-color: #b4d9ef;       /* ✅ light blue background */
  color: #363636;                  /* ✅ Bulma default dark gray for text */
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.8rem;
  padding: 0.5rem;
  border-radius: 6px;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
  position: relative;
  border: 1px solid #ccc;
  line-height: 1.2;
  display: block;                  /* ⛔ remove side-by-side — stack rows */
}

.sports-block-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.sports-block-middle {
  display: flex;                   /* ✅ 2-column: matchup left, logo right */
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0;
}

.sports-block-details {
  flex: 1;                         /* ✅ left side grows */
}

.sports-block-thumb img {
  width: 120px;                    /* ✅ thumbnail sizing */
  height: 120px;
  object-fit: contain;
  border-radius: 6px;
}

/* Footer row */
.sports-block-footer {
  text-align: center;
  margin-top: 0.5rem;
}

/* Remove unused overlay */
.sports-block::before {
  content: none;
}

/* Keep children layered correctly */
.sports-block > * {
  position: relative;
  z-index: 1;
}

/* Text inheritance */
.sports-block,
.sports-block li,
.sports-block p,
.sports-block h1,
.sports-block h2,
.sports-block h3,
.sports-block small,
.sports-block strong,
.sports-block span {
  color: #363636;
}

/* Links */
.sports-block a {
  color: #3273dc;
  text-decoration: underline;
}

.sports-block a:hover {
  color: #276cda;
  text-decoration: none;
}

/* Responsive tweak: on smaller screens, stack middle row vertically */
@media screen and (width <= 600px) {
  .sports-block-middle {
    flex-direction: column;
    text-align: center;
  }

  .sports-block-thumb img {
    margin-top: 0.5rem;
  }
}

/* On tablets and up: improve spacing */
@media screen and (width >= 768px) {
  .sports-block {
    padding: 1.5rem;
    font-size: 1rem;
  }
}

.closures-block {
  background-color: #FFF4AA;       /* ✅ light blue background */
  color: #363636;                  /* ✅ Bulma default dark gray for text */
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.8rem;
  padding: 0.5rem;
  border-radius: 6px;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
  position: relative;
  border: 1px solid #ccc;
  line-height: 1.2;
  display: block;                  /* ⛔ remove side-by-side — stack rows */
}

.closures-block-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.closures-block-middle {
  display: flex;                   /* ✅ 2-column: matchup left, logo right */
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0;
}

.closures-block-details {
  flex: 1;                         /* ✅ left side grows */
}

.closures-block-thumb img {
  width: 200px;                    /* ✅ thumbnail sizing */
  height: 200px;
  object-fit: contain;
  border-radius: 6px;
}

/* Footer row */
.closures-block-footer {
  text-align: center;
  margin-top: 0.5rem;
}

/* Remove unused overlay */
.closures-block::before {
  content: none;
}

/* Keep children layered correctly */
.closures-block > * {
  position: relative;
  z-index: 1;
}

/* Text inheritance */
.closures-block,
.closures-block li,
.closures-block p,
.closures-block h1,
.closures-block h2,
.closures-block h3,
.closures-block small,
.closures-block strong,
.closures-block span {
  color: #363636;
}

/* Links */
.closures-block a {
  color: #3273dc;
  text-decoration: underline;
}

.closures-block a:hover {
  color: #276cda;
  text-decoration: none;
}

/* Responsive tweak: on smaller screens, stack middle row vertically */
@media screen and (width <= 600px) {
  .closures-block-middle {
    flex-direction: column;
    text-align: center;
  }

  .closures-block-thumb img {
    margin-top: 0.5rem;
  }
}

/* On tablets and up: improve spacing */
@media screen and (width >= 768px) {
  .closures-block {
    padding: 1.5rem;
    font-size: 1rem;
  }
}

.direction-block {
  background-color: #fcefdd; /* ✅ Clean white background */
  color: #363636;            /* ✅ Bulma default dark gray for text */
  font-family: "Hanken Grotesk", sans-serif; /* ✅ Custom font retained */
  font-size: 0.8rem;       /* ✅ Slightly larger for mobile readability (14px) */
  border-radius: 3px;        /* ✅ Rounded corners for modern UI */
  box-shadow: 0 1px 3px rgb(0 0 0 / 10%); /* ✅ Softer, clean shadow */
  position: relative;        /* ✅ Required for future absolute children */
  border: 1px solid #ccc;         /* ✅ Light gray border added */
  line-height: .5;
}

/* Optional: remove overlay now that image is gone */
.direction-block::before {
  content: none; /* ✅ Remove background overlay since it's unnecessary */
}

/* ✅ Ensure child elements stay layered correctly (in case of future effects) */
.direction-block > * {
  position: relative;
  z-index: 1;
}

/* ✅ Set all child text elements to inherit proper color */
.direction-block,
.direction-block li,
.direction-block p,
.direction-block h1,
.direction-block h2,
.direction-block h3,
.direction-block small,
.direction-block strong,
.direction-block span {
  color: #363636; /* ✅ Bulma's neutral readable dark text */
}

/* ✅ Link styling: blue to match default theme */
.direction-block a {
  color: #3273dc;            /* ✅ Bulma primary blue */
  text-decoration: underline;
}

/* ✅ On hover: deeper blue and no underline */
.direction-block a:hover {
  color: #276cda;            /* ✅ Slightly darker hover */
  text-decoration: none;
}

/* ✅ Responsive adjustments if needed (optional breakpoint example) */
@media screen and (width >= 768px) {
  .direction-block {
    font-size: 1rem;         /* ✅ Improve legibility on larger devices */
  }
}

.promo-block {
  background-color: #b4d9ef; /* ✅ Clean white background */
  color: #363636;            /* ✅ Bulma default dark gray for text */
  font-family: "Hanken Grotesk", sans-serif; /* ✅ Custom font retained */
  font-size: 1.0rem;       /* ✅ Slightly larger for mobile readability (14px) */
  padding: 0.25rem;             /* ✅ Increased for touch-friendly spacing */
  border-radius: 6px;        /* ✅ Rounded corners for modern UI */
  margin-bottom: 0.5rem;     /* ✅ Responsive vertical spacing */
  position: relative;        /* ✅ Required for future absolute children */
}

/* Optional: remove overlay now that image is gone */
.promo-block::before {
  content: none; /* ✅ Remove background overlay since it's unnecessary */
}

/* ✅ Ensure child elements stay layered correctly (in case of future effects) */
.promo-block > * {
  position: relative;
  z-index: 1;
}

/* ✅ Set all child text elements to inherit proper color */
.promo-block,
.promo-block li,
.promo-block p,
.promo-block h1,
.promo-block h2,
.promo-block h3,
.promo-block small,
.promo-block strong,
.promo-block span {
  color: #363636; /* ✅ Bulma's neutral readable dark text */
}

/* ✅ Link styling: blue to match default theme */
.promo-block a {
  color: #3273dc;            /* ✅ Bulma primary blue */
  text-decoration: underline;
}

/* ✅ On hover: deeper blue and no underline */
.promo-block a:hover {
  color: #276cda;            /* ✅ Slightly darker hover */
  text-decoration: none;
}

/* ✅ Responsive adjustments if needed (optional breakpoint example) */
@media screen and (width >= 768px) {
  .promo-block {
    font-size: 1rem;         /* ✅ Improve legibility on larger devices */
  }
}

/* 🧭 Explore CTA block uses same full-width styling as location selector */
.explore-block {
  min-height: 320px;
  display: block;
  overflow: hidden;
  background-color: #b4d9ef;
  color: #000;
  font-weight: bold;
  font-size: 1.3rem;
  padding: 1rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  width: 100%;
}

.explore-block .select select {
  background-color: #000 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 600;
  text-align: center;
  text-align-last: center;
  width: 100%;
  padding: 0.5rem 1rem;
  appearance: none !important;
  min-height: 44px;
  line-height: 1.2;
}

.explore-block .select select:hover {
  background-color: #000 !important;
  border-radius: 50px !important;
}

/* 📱 Mobile adjustments */
@media (width <= 600px) {
  .explore-block {
    padding: 0.75rem;
    border-radius: 6px;
  }

  .explore-block .select select {
    font-size: 1rem;
    padding: 0.5rem;
  }
}

.explore-block.lazy-block {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease-out, transform .5s ease-out;
}

.explore-block.lazy-block.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Ad block container */
.ad-block {
  background-color: #ffaed7; /* light pink bg */
  color: #363636;            /* dark gray text */
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1rem;
  padding: 0.5rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
  border: 1px solid #ccc;
  position: relative;
}

/* Reset overlay */
.ad-block::before {
  content: none;
}

/* Keep children layered */
.ad-block > * {
  position: relative;
  z-index: 1;
}

/* Text color consistency */
.ad-block,
.ad-block li,
.ad-block p,
.ad-block h1,
.ad-block h2,
.ad-block h3,
.ad-block small,
.ad-block strong,
.ad-block span {
  color: #363636;
}

/* Links */
.ad-block a {
  color: #3273dc;
  text-decoration: underline;
}

.ad-block a:hover {
  color: #276cda;
  text-decoration: none;
}

/* Font scaling on larger screens */
@media screen and (width >= 768px) {
  .ad-block {
    font-size: 1rem;
  }
}

.hashtag-def {
  font-size: 0.9em;         /* ✅ smaller size */
  font-weight: bold;        /* ✅ bold text */
  text-transform: uppercase;/* ✅ all caps */
  color: #4682B4;           /* ✅ steel grey (SteelBlue hex code) */
}

.boating-block .hashtag-def {
  font-size: 0.9em;         /* ✅ smaller size */
  font-weight: bold;        /* ✅ bold text */
  text-transform: uppercase;/* ✅ all caps */
  color: #6C3BAA;           /* ✅ steel grey (SteelBlue hex code) */
}

.promo-block .hashtag-def {
  font-size: 0.9em;         /* ✅ smaller size */
  font-weight: bold;        /* ✅ bold text */
  text-transform: uppercase;/* ✅ all caps */
  color: #4682B4;           /* ✅ steel grey (SteelBlue hex code) */
}

/* === Brand Image Styling === */
.brand-image {
  max-height: 220px;      /* limit instead of forcing */
  width: 100%;            /* expand to container width */
  height: auto;           /* preserve natural ratio */
  object-fit: cover;      /* crop overflow if taller */
  object-position: top;   /* show top in preview */
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 13006;  
}

/* Brand ad block wrapper */
.marketing-block {
  width: 100%;
  margin: 0 auto 1.5rem;
  text-align: center;
}

/* Image */
.marketing-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

/* Text elements */
.marketing-title {
  margin-top: 0.5em;
  font-size: 1.1em;
  color: #ec732e;
}

.marketing-address {
  font-size: 0.85em;
  margin: 0.5em 0;
  color: #444;
}

.marketing-meta {
  font-size: 0.75em;
  color: #555;
}

.marketing-preview {
  margin: 0.5em 0;
  font-size: 0.85em;
}

.brand-read-text {
  font-size: 1.2rem;   /* or 1rem, 1.1rem, etc. */
  line-height: 1.3;  /* keep readability */
}

ul.brand-read-text {
  list-style-type: disc;   /* or circle, square, none */
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;   /* or 1rem, 1.1rem, etc. */
  line-height: 1.3;  /* keep readability */
}

.brand-note-text {
  font-size: 1.0rem;   /* or 1rem, 1.1rem, etc. */
  line-height: 1.4;  /* keep readability */
  font-style: italic;
}

 /* CTA button */
.marketing-button {
  display: inline-block;
  margin-top: 0.5em;
  padding: 0.4em 0.8em;
  background: #ffaed7;
  border: 1px solid #000;
  border-radius: 6px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

/* Cause Ad Styles */
.cause-ad-block {
  width: 100%;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.cause-ad-image {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.cause-ad-button {
  display: inline-block;
  margin-top: 0.75em;
  padding: 0.5em 1.2em;
  background-color: #008C45;
  color: #fff;
  font-size: 0.9em;
  text-decoration: none;
  border-radius: 4px;
}

.cause-ad-button.top {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
}

.cause-ad-button.bottom {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
}

.utility-button {
  display: inline-block;
  margin-top: 0.5em;
  padding: 0.4em 0.8em;
  background: #ffaed7;
  border: 1px solid #000;
  border-radius: 6px;
  font-weight: bold;
  color: #fff; /* Text color */
  text-decoration: none;
}

.utility-button-purple {
  display: inline-block;
  margin-top: 0.5em;
  padding: 0.4em 0.8em;
  background: #6C3BAA;
  border: 1px solid #000;
  border-radius: 6px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Normalize anchor states */
.utility-button-purple:link,
.utility-button-purple:visited,
.utility-button-purple:active {
  color: #fff;
  text-decoration: none;
}

/* Hover state */
.utility-button-purple:hover {
  background: #B57EDC; /* light violet */
  color: #fff;
}

/* ✅ Shared block layout for all major homepage modules */
.content-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background-color: #fff; /* Same as has-background-warning-light */
  border-radius: 6px;
  box-shadow: 0 2px 3px rgb(10 10 10 / 10%);
  padding: 1.25rem;
}

.content-header-logo {
  width: 100%;
  text-align: center;
}

/* ✅ Shared header image/logo wrapper */
.content-header {
  width: 100%;
  text-align: center;
}

/* ✅ Shared content wrapper */
.content-body {
  width: 100%;
}

/* ✅ Optional: used in blocks with structured list/info */
.content-info {
  flex: 1;
  font-size: 0.8rem;
  padding-right: 8px;
}

/* Content Wrapper */
.content-content {
  width: 100%;
}

.content-text {
  flex: 1;
  font-size: 1rem;
  padding-right: 2px;
}

.content-block-hr {
  border: none;
  border-top: 2px solid #ec732e;
  margin: 1.5rem 0;
}

.content-block-separator {
  border: none;
  border-top: 1px #000;
  margin: 0;
}

/* Container Block (matches business-block style) */
.inner-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background-color: #fff; /* Bulma: has-background-warning-light */
  border-radius: 6px;
  box-shadow: 0 2px 3px rgb(10 10 10 / 10%);
  padding: 1.25rem;
}

/* Header Logo (same as business-header-logo) */
.snaps-header-logo,
.logo-block {
  width: 100%;
  text-align: center;
}

/* Image Sizing — consistent visual size */
.snap-image {
  width: 128px;
  height: auto;
  max-height: 128px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.upload-choice {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.upload-option {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 45%;
  padding: 1rem;
  border: 2px solid #ccc;
  border-radius: 12px;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  font-weight: bold;
  text-align: center;
}

.upload-option input {
  display: none; /* hide native radio */
}

.upload-option .icon {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.upload-option:hover {
  background-color: #f0f0f0;
}

.upload-option.is-active {
  border-color: #7e57c2;
  background-color: #f3e9ff;
  color: #4a148c;
}

/* Hide gallery input by default */
#gallery-input {
  display: none;
}

#date-time {
  font-family: 'Original Surfer', system-ui, sans-serif;
  font-size: 1.2rem;
  color: #000;
  text-align: center;
  margin-top: 1.0rem;
}

/* Variants */
.button.is-home {
  background: #fff;
  color: #000;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75em 1em;
  font-size: 1.0em;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  box-shadow: none;
  text-decoration: none;
  margin-bottom: 0.5rem;
  white-space: normal;
  overflow-wrap: break-word;
  display: inline-block;
  min-height: 44px;
  line-height: 1.2;
}

/* Variants with hover changes */
.button.is-home:hover {
  background: #FFFDD0;
  color: #000;
  opacity: 0.85;
}

.button.is-primary,
.button.is-secondary,
.button.is-snap,
.button.is-snapsubmission,
.button.is-share,
.marketing-button,
.utility-button,
.utility-button-purple {
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75em 1em;
  font-size: 1.0em;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  box-shadow: none;
  text-decoration: none;
  margin-bottom: 0.5rem;
  white-space: normal;
  overflow-wrap: break-word;
  display: inline-block;
  min-height: 44px;
  line-height: 1.2;
  transition: opacity .3s ease;
  opacity: 1;
}

/* Variants */
.button.is-primary {
  background: #fff;
  color: #000;
}

a.button.is-primary.loading,
a.button.is-primary:not(.loaded) {
  opacity: 0;
  pointer-events: none;
}

.button.is-secondary {
  background: #ffaed7;
  color: #000;
}

.button.is-snap {
  background: #C9A0DC;
  color: #000;
}

.button.is-snapsubmission,
.button.is-share {
  background: #6C3BAA;
  color: #fff;
}

.button.is-accept,
.button.is-reject,
.button.is-manage-toggle {
  display: block;
  width: 50%;
  text-align: center;
  padding: 0.75em 1em;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  box-shadow: none;
  text-decoration: none;
  margin-bottom: 1rem;
}

.button.is-accept {
  background: #6C3BAA;
  color: #fff;
}

.button.is-reject {
  background: #C9A0DC;
  color: #fff;
}

.button.is-manage-toggle {
  background: #999;
  color: #fff;
}

/* Hover = subtle opacity */
.button.is-primary:hover,
.button.is-secondary:hover,
.button.is-snap:hover,
.button.is-snapsubmission:hover,
.button.is-share:hover,
.marketing-button:hover,
.utility-button:hover,
.utility-button-purple:hover {
  opacity: 0.85;
}

/* Variants with hover changes */
.button.is-primary:hover {
  background: #FFFDD0;
  color: #000;
}

/* Copy URL button */
.button.is-copyurl {
  background-color: #ccc;
  border-color: #000;
  color: #000;
  font-weight: bold;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 15%);
  display: inline-flex;         /* prevents copy button from stretching full-width */
  align-items: center;
  justify-content: center;
  padding: 0.5em 1em;
  min-height: auto;             /* more compact than big purple buttons */
}

.button.is-copyurl:hover {
  background-color: #bbb;
  border-color: #000;
}

/* === Custom image modal (single source of truth) === */
#image-modal {
  position: fixed;
  inset: 0;                 
  display: none;            
  z-index: 20000;           /* ⬆ raised to topmost */
  justify-content: center;
  align-items: flex-start;  
}

#image-modal.is-active {     
  display: flex;
}

/* Modal image: never overflow viewport */
.modal-img {
  max-width: min(90vw, 1000px);
  max-height: calc(100vh - 6rem);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 0 15px rgb(0 0 0 / 30%);
  position: relative;
  z-index: 13006;
}

/* ⬇ hide base image when modal is active */
body.modal-active .brand-image {
  visibility: hidden !important;
}

/* Bulma modal: ensure it sits above header site-wide */
.modal {
  position: relative;
  z-index: 20000 !important; /* ⬆ raised to topmost tier */
}

.modal .modal-background {
  z-index: 13004 !important; /* slightly under modal content */
}

.modal .modal-content {
  z-index: 13006 !important; /* content above background */
  max-width: 95vw;
}

.modal .modal-close {
  z-index: 13007 !important; /* close button always above */
}

.modal-image img {
  display: block;
  max-width: 100%;
  max-height: 100vh;
  object-fit: contain;
  object-position: top;
  position: relative;
  z-index: 13006;            /* ⬆ reinforce top visibility */
}

/* Force square thumbs inside Bulma's image wrapper */
.image.is-128x128 img.thumb-soft {
  width: 128px;
  height: 128px;
  object-fit: cover;  /* crops to square without distortion */
  display: block;
}

.main-image-cover {
  width: 100%;
  height: 160px; /* or whatever height you want */
  object-fit: cover;
  border-radius: 6px;
}

.vert-top-image-cover {
  width: 100%;
  height: 160px;          /* ensures it fills its wrapper height */
  object-fit: cover;     /* maintain aspect ratio and crop overflow */
  object-position: top;  /* 👈 focus on top of the image */
  border-radius: 12px;   /* optional, keep your existing rounding */
  display: block;
}

.vert-top-image-full {
  width: 100%;
  height: auto;
  max-height: 500px; /* adjust to taste */
  object-fit: contain;
  display: block;
}

/* When the block has loaded, let the image rise above overlays */
.lazy-block.loaded .brand-image,
.surfer-block.loaded .brand-image {
  position: relative;
  z-index: 999;
}

/* 🍭 Logo wrapper - Centered layout with consistent padding */
.logo-wrapper {
  position: relative;        /* ← changed from absolute */
  left: auto;                /* ← remove centering hack */
  transform: none;           /* ← remove centering hack */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;            /* ← natural horizontal centering */
  width: 300px !important;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  height: 160px !important;
  z-index: 1;
}

/* 4️⃣ Mobile-friendly fallback */
@media (width <= 600px) {
  .logo-wrapper {
    width: 320px !important;
    height: 85px !important;
  }
}

/* Header should sit above page content but BELOW cookie banner/backdrop */
.sticky-header {
  position: sticky;
  min-height: 180px;
  top: 0;
  z-index: 900;
  background-color: rgb(255 255 255 / 50%);
  backdrop-filter: blur(6px);
  border-bottom: none;
  box-shadow: none;
  transition: transform 0.5s ease;
  align-items: center;
}

.sticky-header.header-hidden {
  transform: translateY(-100%);
}

/* 📱 Mobile adjustments */
@media (width <= 600px) {
  .sticky-header {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }

  .logo-wrapper {
    width: 275px !important;
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }

  /* Stylelint prefers kebab-case IDs */
  #location-dropdown {
    font-size: 1rem;
    padding: 0.5rem;
    min-height: 42px;
    line-height: 1.2;
    font-display: swap;    
  }
}

/* 🍬 Logo image styles */
.sugarpop-logo {
  width: 100%;
  height: auto;
  display: block;
  max-height: 96px;
  object-fit: contain;
}

/* 💻 Desktop override */
@media (width >= 768px) {
  .sugarpop-logo {
    max-height: 96px;
    width: 300px;
  }
}

/* 🧁 Container for image alignment */
.logo-img {
  display: inline-block;
  margin-bottom: 0.25rem;
  position: relative;
}

/* Legacy styles — can keep or remove if unused */
.logo-area {
  text-align: center;
  margin-bottom: 0.5rem;
}

.logo-area img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Redundant – unify to .sugarpop-logo */
.logo-img img {
  width: 100%;
  height: auto;
  max-width: 600px;
  max-height: none;
  display: block;
}

@media (width >= 800px) {
  .logo-img img {
    width: 600px;
  }
}

@media (width < 800px) {
  .logo-wrapper {
    height: 85px !important;
    width: 260px !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  .sugarpop-logo,
  .logo-img img {
    max-height: 70px !important;
    width: auto;
  }
}

.survey-cover-img {
  cursor: pointer;
}

#survey-final {
  text-align: center;
  margin: 1em 0;
}

.survey-processing {
  background: #fcefdd;   /* light warm background */
  padding: 2em;
  text-align: center;
  border-radius: 8px;    /* optional: soften corners */
  font-size: 1.2em;      /* optional: slightly larger text */
}

#survey-final img.survey-final-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Survey iframe styling */
.survey-frame {
  border-radius: 2px;
  overflow: hidden;
}

.brand-flagged-note {
  color: var(--primary-color);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.8rem;
  font-style: italic;
  margin-bottom: 0.5rem;
  text-align: center;
}

.sugarpop-specials-block {
  background: #C9A0DC;
  color: #fff !important;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 6px rgb(0 0 0 / 10%);
  font-family: 'Hanken Grotesk', sans-serif;
}

/* headline */
.sugarpop-specials-block h3 {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

/* specials list container */
.specials-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* individual items */
.special-item {
  position: relative;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.45;
  margin-bottom: 0.5rem;
  padding-left: 1.8rem;
}

/* star bullet */
.special-item::before {
  content: "⭐";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: #FFD86B;
  font-size: 1.1rem;
  width: 1.3rem;
  text-align: center;
}

/* bold titles inside list */
.special-item b {
  color: #fff;
  font-weight: 700;
}

/* responsive tweak for smaller screens */
@media (width <= 600px) {
  .sugarpop-specials-block {
    padding: 0.9rem 1rem;
  }

  .special-item {
    font-size: 1.1rem;
  }
}

.surfer-block .label {
  color: #000;
}

/* Wrapper for two-column product layout */
.product-split {
  display: block;
}

/* Mobile-first: stacked */
.product-left,
.product-right {
  width: 100%;
}

/* Hero product image sizing */
.product-hero-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-width: 300px; /* mobile cap */
}

/* Desktop split */
@media (width >= 768px) {
  .product-split {
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* top alignment */
    gap: 2rem;
  }

  .product-left,
  .product-right {
    width: 50%;
  }

  .product-right {
    text-align: right; /* image appears neatly aligned */
  }

  .product-hero-img {
    max-width: 100%; /* full width on desktop */
  }
}

/* 🔧 Header grid layout */
.header-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: center;
  gap: 1rem;
  background-color: var(--bg-dark);
  padding: 1rem;
}

@media (width <= 768px) {
  .header-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .logo-area {
    text-align: center;
  }
}

/* 🧁 Cookie Modal Overlay */
.cookie-backdrop {
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 40%);
  z-index: 900;
  transition: opacity 0.3s ease;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  width: min(820px, 92vw);
  max-height: calc(100vh - 2rem - env(safe-area-inset-bottom));
  overflow: auto;
  background: rgb(20 20 24 / 95%);
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgb(0 0 0 / 40%);
  color: #eaeaea;
  z-index: 999;
  padding: .75rem 1rem;
  box-sizing: border-box;
  transition: opacity 0.3s ease, transform 0.3s ease;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Hide only when JS sets [hidden] */
.cookie-banner[hidden],
.cookie-backdrop[hidden] {
  display: none !important;
}

/* Banner content */
.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-copy {
  white-space: normal;
  overflow-wrap: anywhere;
}

.cookie-copy h2 {
  margin: .25rem 0 .35rem;
  font-size: 1rem;
  color: #fff;
}

.cookie-copy p {
  margin: 0 0 .75rem;
  font-size: .9rem;
  line-height: 1.45;
}

.cookie-copy a {
  color: #9bd1ff;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

.cookie-actions .button {
  padding: .55rem .9rem;
  line-height: 1.1;
  min-width: 120px;
  text-align: center;
}

.cookie-manage {
  margin-top: 0.5rem;
}

.cookie-list {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.cookie-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.cookie-row input[type="checkbox"] {
  transform: scale(1.05);
}

/* Mobile tweaks */
@media (width <= 720px) {
  .cookie-inner {
    grid-template-columns: 1fr;
  }

  .cookie-copy h2 {
    font-size: 0.95rem;
  }

  .cookie-copy p {
    font-size: 0.875rem;
  }

  .cookie-actions {
    justify-content: stretch;
    gap: 0.5rem;
  }

  .cookie-actions .button {
    width: 100%;
    padding: .6rem .9rem;
    min-height: 40px;
  }
}

.scroll-arrow {
  background: transparent;
  color: #ccc;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  padding: 0 0.5rem;
}

/* ===== Quick Nav (Horizontal Page Selector) ===== */
.quick-nav {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem 1fr 2.25rem;
  align-items: center;
  gap: .25rem;
  padding: .75rem .5rem .4rem;
  border-top: 1px solid rgb(255 255 255 / 6%);
  border-bottom: 1px solid rgb(255 255 255 / 6%);
  background: transparent;
}

.qn-viewport {
  display: flex; gap: .75rem; overflow-x: auto; scroll-behavior: smooth;
  padding: .25rem; scrollbar-width: none;
}
.qn-viewport::-webkit-scrollbar { display: none; }

.qn-item {
  flex: 0 0 auto; font-size: .95rem; line-height: 1; padding: .55rem .8rem;
  border-radius: 999px; text-decoration: none; 
  color: #444;
  border: 1px solid rgb(0 0 0 / 25%);
  background: rgb(0 0 0 / 6%); /* lighter background */
  white-space: nowrap; 
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}

.qn-item:hover, .qn-item:focus {
  outline: none; transform: translateY(-1px);
  background: rgb(255 253 208 / 80%); border-color: rgb(0 0 0 / 45%); color: #000;
}

.qn-item.is-active {
  background: #ffd580;
  font-weight: 600;
  color: #000;
  border-radius: 20px;
}

.qn-arrow {
  height: 2.1rem; width: 2.1rem; border-radius: 999px;
  border: 1px solid rgb(0 0 0 / 25%);   /* bold dark grey border */
  background: #FFFDD0;
  color: #111;                            /* deep near-black icon */
  display: grid; place-items: center; cursor: pointer;
  transition: opacity .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

.qn-arrow:hover {
  background: #F6E8B1;         /* darker hover background */
  border-color: rgb(0 0 0 / 25%);      /* stronger black border */
  color: #fff;                            /* white icon for contrast */
}

.qn-arrow[disabled] {
  opacity: 0.4;
  cursor: default;
}

/* Don’t dim inactive quick-nav chips */
.qn-viewport [role="tab"][aria-selected="false"] {
  opacity: 1 !important;
  filter: none !important;
}

.badge {
  font-size: 0.72rem;
  background: #2a2f39;
  border: 1px solid #3a4150;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
}

.play-badge-link {
  display: inline-flex;
}

.play-badge-link img {
  display: block;           /* removes baseline gap */
  margin: 0 auto;           /* centers image */
  height: 56px;
  width: auto;
  max-width: 100%;
  transition: transform 0.2s ease-in-out;
}

.play-badge-link img:hover {
  transform: scale(1.04);
}

@media (width <= 600px) {
  .play-badge-link img {
    height: 48px;
  }
}

.badge-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;   /* prevent stacking */
}

.badge-row img {
  display: block;
  height: 58px;
  width: auto;
  max-width: 100%;  
  transition: transform 0.15s ease;
}

/* Subtle hover polish */
.badge-row a:hover img {
  transform: scale(1.04);
}

.image-wrapper { text-align: center; }

/* Mobile refinement */
@media (width <= 420px) {
  .badge-row img {
    height: 54px;
  }
}

.event-item {
  display: block !important;
  overflow: visible !important;
  clear: both;
  margin-bottom: 1.5rem;
}

.event-image-right {
  float: right;
  height: auto;
  margin-left: 12px;
  max-width: 128px;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.event-image-left {
  float: left;
  height: auto;
  margin-right: 12px;
  max-width: 128px;
  margin-bottom: 1rem;
  border-radius: 8px;
}

/* clearfix so the parent contains the float */
.event-item::after {
  content: "";
  display: block;
  clear: both;
}

.header-caption,
.quick-nav,
.centered-flex {
  min-height: 20px;
}

/* Optional: smooth appearance if you use fade-in */
.quick-nav.loaded,
.header-caption.loaded {
  transition: opacity .3s ease-out;
}

/* force white text inside the purple specials block */
.sugarpop-specials-block,
.sugarpop-specials-block * {
  color: #4B3A66 !important;
}

.menu-title {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  font-weight: bold;
  text-decoration: underline;
  color: #000;
  margin-bottom: 6px;
}

.menu-columns {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.menu-columns > .menu-list {
  flex: 0 0 48%;
}

.utility-bar {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.utility-link {
  background: none;
  border: none;
  cursor: pointer;
  color: #6a1b9a;
  font-weight: 600;
}

.utility-link:hover {
  text-decoration: underline;
}

.utility-divider {
  margin: 0 6px;
  opacity: 0.5;
}

.product-thumb {
  display: block;
  width: 128px !important;
  max-width: 128px !important;
  min-width: 128px !important;
  height: auto !important;
  max-height: 180px;
  object-fit: contain;
}

.product-thumb-wrapper {
  width: 128px;
  min-width: 128px;
  max-width: 128px;
  flex: 0 0 128px; /* prevents flex expansion */
  display: block;
  overflow: hidden;
}

@media print {
  @page {
    size: portrait;
    margin: 0;
  }

  body.print-brand-image {
    margin: 0 !important;
    padding: 0 !important;
  }

  body.print-brand-image * {
    visibility: hidden !important;
  }

  body.print-brand-image .brand-image-wrapper,
  body.print-brand-image .brand-image-wrapper * {
    visibility: visible !important;
  }

  body.print-brand-image .brand-image-wrapper {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
  }

  body.print-brand-image .brand-image {
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
  }
}

@media print {
  @page {
    size: portrait;
    margin: 0;
  }

  body.print-snap-image {
    margin: 0 !important;
    padding: 0 !important;
  }

  body.print-snap-image * {
    visibility: hidden !important;
  }

  body.print-snap-image .image,
  body.print-snap-image .image * {
    visibility: visible !important;
  }

  body.print-snap-image .image {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
  }

  body.print-snap-image .brand-image {
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
  }
}

/* Global font enforcement */
body,
.section,
.container,
.narrow-container,
.top-ui-block,
.surfer-block,
.boating-block,
.sky-block,
.direction-block,
.promo-block,
.cause-ad-block,
.ad-block,
.content-block,
.card,
.modal,
select,
button,
input,
textarea {
  font-family: "Hanken Grotesk", sans-serif !important;
  font-size: 1rem;
  font-weight: 400;
}
