: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-linwood.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.9rem;
  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;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

/* ✅ Header icon sizing only */
.theme-button {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}

/* 🎨 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;
}

.header-side-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 48px;
}

.header-icon-btn,
.header-icon-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  line-height: 0;
}

.header-icon-btn img,
.header-icon-link img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.header-flex-row.header-container {
  align-items: flex-start;
}

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;
}

.snap-event-details ul {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
}

.snap-event-details li {
  list-style: disc;
  margin-bottom: 0.75rem;
}

.snap-event-details li:last-child {
  margin-bottom: 0;
}

.snap-event-facts {
  margin-top: 1rem;
}

.snap-event-facts > p {
  margin-bottom: 0.75rem;
}

.snap-event-facts > p:last-of-type {
  margin-bottom: 1rem;
}

.snap-event-facts .snap-event-details {
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

.snap-event-facts .snap-event-details > strong {
  display: block;
  margin-bottom: 0.5rem;
}

.snap-event-facts .snap-event-details ul {
  margin-top: 0;
  padding-left: 1.25rem;
}

.snap-event-facts .snap-event-details li {
  margin-bottom: 0.75rem;
}

.snap-event-facts .snap-event-details li:last-child {
  margin-bottom: 0;
}

.surfer-block {
  background:
    linear-gradient(
      145deg,
      rgb(252 239 221 / 94%) 0%,
      rgb(246 235 244 / 94%) 100%
    );
  color: #363636;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.2rem;
  padding: 0.5rem;
  border: 1px solid rgb(108 59 170 / 24%);
  border-radius: 10px;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  box-shadow:
    3px 4px 0 rgb(108 59 170 / 10%),
    0 3px 9px rgb(0 0 0 / 9%);
  position: relative;
  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: rgb(180 217 239 / 85%); /* ✅ Transparent blue 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: #036;           /* ✅ 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: #036;           /* ✅ 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: #036;           /* ✅ 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;
  line-height: 1.3;
}

.event-card-meta {
  clear: none;
  margin: 0.2rem 0 0.45rem;
  color: var(--primary-color);
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.3;
}

.event-card-location {
  color: #6C3BAA;
}

.event-card-schedule {
  color: var(--primary-color);
}

.event-card-location + .event-card-schedule {
  margin-top: 0.12rem;
}

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;
}

/* ===== Sugarpop linked business / event / deal module ===== */

.sugarpop-relationship-module {
  overflow: hidden;
}

.brand-relationship-module {
  margin-bottom: 2rem;
}

.sugarpop-relationship-heading {
  margin-bottom: 0.9rem;
}

.sugarpop-relationship-heading p {
  margin-bottom: 0.25rem;
}

.sugarpop-relationship-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.sugarpop-relationship-card {
  display: block;
  width: 100%;
  overflow: hidden;
  background: rgb(255 255 255 / 72%);
  border: 1px solid rgb(108 59 170 / 28%);
  border-radius: 11px;
  box-shadow: 0 3px 10px rgb(0 0 0 / 9%);
  color: #363636 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.sugarpop-relationship-card:link,
.sugarpop-relationship-card:visited,
.sugarpop-relationship-card:active {
  color: #363636 !important;
  text-decoration: none !important;
}

.sugarpop-relationship-card:hover {
  color: #363636 !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  border-color: rgb(108 59 170 / 48%);
  box-shadow: 0 6px 16px rgb(0 0 0 / 13%);
}

.sugarpop-relationship-card:focus-visible {
  outline: 3px solid #6C3BAA;
  outline-offset: 3px;
}

.sugarpop-relationship-image-link {
  display: block;
  width: 100%;
}

.sugarpop-relationship-image {
  display: block;
  width: 100%;
  max-height: 230px;
  object-fit: cover;
}

.sugarpop-relationship-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  padding: 1.4rem 1rem;
  border-bottom: 2px solid #6c3baa;
  text-align: center;
}

.sugarpop-relationship-placeholder-business {
  background: #3273dc;
}

.sugarpop-relationship-placeholder-event {
  background: #ec732e;
}

.sugarpop-relationship-placeholder-deal {
  background: #25A032;
}

.sugarpop-relationship-placeholder-icon {
  display: block;
  margin-bottom: 0.45rem;
  color: #fff !important;
  font-size: clamp(3.2rem, 12vw, 5.4rem);
  line-height: 1;
}

.sugarpop-relationship-placeholder-label {
  display: block;
  padding: 0.28rem 0.65rem;
  border: 2px solid #111;
  border-radius: 999px;
  background: #6c3baa;
  color: #fff !important;
  font-family: "Original Surfer", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.sugarpop-relationship-body {
  display: block;
  padding: 0.8rem;
}

.sugarpop-relationship-label,
.sugarpop-relationship-title,
.sugarpop-relationship-meta,
.sugarpop-relationship-summary {
  display: block;
}

.sugarpop-relationship-label {
  margin: 0 0 0.2rem;
  font-size: 0.82rem !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sugarpop-relationship-title {
  margin: 0 0 0.45rem;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.15;
}

.sugarpop-relationship-meta {
  margin: 0 0 0.35rem;
  font-size: 0.95rem !important;
  line-height: 1.3;
}

.sugarpop-relationship-summary {
  margin: 0.5rem 0 0.7rem;
  font-size: 1rem !important;
  line-height: 1.35;
}

.sugarpop-relationship-cta {
  display: flex;
  margin-top: 0.55rem;
  margin-bottom: 0;
  color: #fff !important;
  pointer-events: none;
}

@media screen and (width >= 768px) {
  .sugarpop-relationship-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sugarpop-relationship-image {
    height: 220px;
  }
}

/* ✅ 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;
}

/* Shared compact pagination for Sugarpop section-front and index pages. */
.section-pagination {
  width: 100%;
  margin: 0.5rem 0 1rem;
  padding: 0.5rem;
  border: 1px solid rgb(204 204 204 / 60%);
  border-radius: 6px;
  background-color: rgb(252 239 221 / 87%);
  box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
}

.section-pagination::before {
  display: block;
  width: fit-content;
  margin: 0 auto 0.5rem;
  padding: 0.28rem 0.75rem;
  border: 1px solid #4b3a66;
  border-radius: 999px;
  background: #e8d166;
  color: #4b3a66;
  content: "PICK A PAGE, DOLL";
  font-family: "Original Surfer", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.section-pagination-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 100%;
}

.section-pagination .section-pagination-button {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0.55rem 0.75rem;
  white-space: nowrap;
}

.section-pagination .section-pagination-number {
  width: 44px;
  min-width: 44px;
  padding-right: 0;
  padding-left: 0;
}

.section-pagination .section-pagination-button.is-current,
.section-pagination .section-pagination-button[aria-current="page"] {
  background: #6C3BAA;
  color: #fff;
}

.section-pagination .section-pagination-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.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 {
    position: relative;
    top: auto;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }

  .sticky-header.header-hidden {
    transform: none;
  }

  .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-slot {
  width: 100%;
  margin: 0 auto;
}

#survey-cover {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
  box-sizing: border-box;
  cursor: pointer;
  text-align: center;
}

#survey-iframe {
  width: 100%;
  max-width: 100%;
  height: 170px;
  min-height: 170px;
  margin: 0 auto;
  overflow: hidden;
  box-sizing: border-box;
}

.survey-cover-img {
  width: 100%;
  height: auto;
  max-height: none;
  display: block;
  object-fit: contain;
  object-position: center;
  cursor: pointer;
}

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

@media (width <= 600px) {
  #survey-iframe {
    height: 150px;
    min-height: 150px;
  }
}

.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 {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  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: .5rem .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;
  min-width: 0;
  max-width: 100%;
  overflow: auto hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: .25rem;
  scrollbar-width: none;
}
.qn-viewport::-webkit-scrollbar { display: none; }

.qn-viewport.is-dragging,
.qn-viewport.is-gliding {
  scroll-behavior: auto;
}

.qn-viewport.is-dragging {
  cursor: grabbing;
}

.qn-item {
  flex: 0 0 auto; font-size: .90rem; line-height: 1; padding: .35rem .5rem;
  border-radius: 999px; text-decoration: none; 
  color: #000;
  border: 1px solid rgb(0 0 0 / 75%);
  background: #E8D166;
  font-weight: bold;
  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: #6C3BAA;
  font-weight: 700;
  color: #fff;
  border: 2px solid #FFF;
  border-radius: 20px
}

.qn-arrow {
  height: 2.1rem;
  width: 2.1rem;
  border-radius: 999px;
  border: 2px solid #FFF;
  background: #6C3BAA;
  color: #FFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 1px 4px rgb(0 0 0 / 18%);
  transition:
    opacity .15s ease,
    background .15s ease,
    border-color .15s ease,
    color .15s ease,
    transform .15s ease;
}

.qn-arrow:hover {
  background: #7E57C2;
  border-color: #FFF;
  color: #FFF;
  transform: translateY(-1px);
}

.qn-arrow[disabled] {
  background: #B9A6D6;
  border-color: rgb(255 255 255 / 85%);
  color: rgb(255 255 255 / 85%);
  opacity: 0.55;
  cursor: default;
  transform: none;
}

/* 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;
  }
}

/* ===== Homepage Shore Scramble Classic ===== */

.homepage-space-port[hidden] {
  display: none;
}

.homepage-space-port {
  width: 100%;
  margin: 0 0 1.25rem;
}

.homepage-space-port-tile {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 3px solid #4b3a66;
  border-radius: 1rem;
  background: #2f2440;
  box-shadow:
    5px 6px 0 rgb(75 58 102 / 22%),
    0 10px 22px rgb(47 36 64 / 14%);
  line-height: 0;
  text-decoration: none;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.homepage-space-port-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.homepage-space-port-tile:hover {
  box-shadow:
    6px 7px 0 rgb(75 58 102 / 24%),
    0 12px 26px rgb(47 36 64 / 18%);
  transform: translateY(-2px);
}

.homepage-space-port-tile:focus-visible {
  outline: 4px solid #6c3baa;
  outline-offset: 3px;
}

.homepage-space-port-tile:active {
  transform: translateY(1px);
}

@media (prefers-reduced-motion: reduce) {
  .homepage-space-port-tile {
    transition: none;
  }
}

/* ===== Reusable Sugarpop Pinboard Promo ===== */

.pinboard-promo-widget {
  position: relative;
  margin: 0 0 1.25rem;
  padding: 0.75rem;
  border: 4px solid #a97543;
  border-radius: 1rem;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgb(255 255 255 / 15%) 0 2px,
      transparent 3px
    ) 0 0 / 23px 23px,
    #d8ae79;
  box-shadow:
    inset 0 0 0 2px rgb(255 255 255 / 24%),
    0 8px 18px rgb(47 36 64 / 18%);
}

.pinboard-promo-paper {
  position: relative;
  padding: 1rem 0.9rem 0.9rem;
  border: 2px solid #2f2440;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 27px,
      rgb(180 217 239 / 42%) 28px
    ),
    #fff7e8;
  box-shadow: 4px 5px 0 rgb(47 36 64 / 18%);
  transform: rotate(-0.2deg);
}

.pinboard-promo-paper::before,
.pinboard-promo-paper::after {
  position: absolute;
  width: 54px;
  height: 16px;
  border: 1px solid rgb(47 36 64 / 18%);
  content: "";
}

.pinboard-promo-paper::before {
  top: -8px;
  left: 12%;
  background: rgb(255 211 182 / 86%);
  transform: rotate(-4deg);
}

.pinboard-promo-paper::after {
  right: 10%;
  bottom: -8px;
  background: rgb(180 217 239 / 86%);
  transform: rotate(3deg);
}

.pinboard-promo-pin {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  width: 15px;
  height: 15px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #6c3baa;
  box-shadow: 0 2px 5px rgb(0 0 0 / 35%);
}

.pinboard-promo-kicker {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.22rem 0.48rem;
  border: 1px solid #2f2440;
  border-radius: 999px;
  background: #b4d9ef;
  color: #111;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.pinboard-promo-widget h2 {
  margin: 0;
  color: #2f2440;
  font-family: "Original Surfer", system-ui, sans-serif;
  font-size: clamp(1.7rem, 7vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
}

.pinboard-promo-widget p:not(.pinboard-promo-kicker) {
  margin: 0.5rem 0 0;
  color: #2f2440;
  font-weight: 750;
  line-height: 1.35;
}

.pinboard-promo-actions {
  display: grid;
  margin-top: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.pinboard-promo-actions a {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  min-height: 2.6rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.65rem;
  border: 2px solid #2f2440;
  border-radius: 999px;
  background: #ffd3b6;
  color: #2f2440;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
}

.pinboard-promo-actions a strong {
  font: inherit;
  line-height: 1.05;
}

.pinboard-promo-actions a:first-child {
  grid-column: 1 / -1;
}

.pinboard-promo-actions a + a {
  background: #b4d9ef;
}

.pinboard-promo-actions a span {
  margin-top: 0.16rem;
  font-size: 0.6rem;
  font-weight: 750;
  line-height: 1;
}

.homepage-headline-module {
  width: 100%;
}

.block-headline-content {
  width: 100%;
}

.places-lite-introduction {
  width: 100%;
  max-width: none;
  margin: 0 auto 1.25rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 2px solid #4b3a66;
  border-radius: 0.75rem;
  background:
    linear-gradient(
      180deg,
      rgb(255 255 255 / 88%),
      rgb(255 247 232 / 96%)
    );
  box-shadow:
    4px 5px 0 rgb(75 58 102 / 14%),
    0 10px 24px rgb(47 36 64 / 10%);
  color: #2f2440;
}

.places-lite-record-stamp {
  display: inline-grid;
  max-width: 100%;
  margin: 0 0 0.8rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid #4b3a66;
  border-left: 6px solid #6c3baa;
  border-radius: 0.2rem;
  background:
    linear-gradient(
      90deg,
      #d9effa,
      #f3eaf6
    );
  box-shadow: 2px 3px 0 rgb(75 58 102 / 14%);
  color: #2f2440;
  gap: 0.12rem;
  transform: rotate(-0.15deg);
}

.places-lite-record-stamp span {
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.places-lite-record-stamp strong {
  overflow-wrap: anywhere;
  font-size: clamp(0.72rem, 2.5vw, 0.9rem);
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.places-lite-introduction h2 {
  margin: 0;
  color: #4b3a66;
  font-family: "Original Surfer", system-ui, sans-serif;
  font-size: clamp(1.45rem, 6vw, 2.2rem);
  line-height: 1.05;
}

.places-lite-lede,
.places-lite-summary,
.places-lite-source-note {
  max-width: 42rem;
  margin: 0.7rem 0 0;
  line-height: 1.5;
}

.places-lite-summary-intro {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 0.85rem;
  padding: 0.65rem 0.9rem;
  border: 2px solid #6c3baa;
  border-radius: 0.8rem;
  background: #fff3c4;
  box-shadow: 3px 3px 0 #6c3baa;
  color: #4d286f;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.places-lite-summary-intro span {
  color: #6c3baa;
  font-size: 0.9em;
}

.places-lite-summary-copy {
  margin: 0;
}

.places-lite-question {
  margin-top: 1rem;
  padding: 0.85rem;
  border-left: 5px solid #6c3baa;
  background: #f3eaf6;
}

.places-lite-question p {
  margin: 0 0 0.65rem;
}

.places-lite-pinboard-action {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  border: 2px solid #2f2440;
  border-radius: 999px;
  background: #ffd3b6;
  color: #2f2440;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.places-lite-source-note {
  color: #5c5264;
  font-size: 0.78rem;
}

.brand-community-feedback-placement {
  margin-top: 1.5rem;
}

.community-feedback-brand-inline {
  margin-top: 1.5rem;
}

/* ===== Places Lite Community Invitation ===== */
.places-lite-summary-feedback-gap {
  margin-top: 1.5rem;
}

.places-lite-feedback-experience {
  position: relative;
  width: 100%;
  margin: 1.5rem 0 1.25rem;
}

.places-lite-feedback-experience .places-lite-introduction {
  position: relative;
  margin-bottom: 0;
  overflow: hidden;
  border-width: 3px;
  border-color: #6c3baa;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  background:
    radial-gradient(
      circle at 92% 12%,
      rgb(255 213 128 / 52%) 0 0.35rem,
      transparent 0.4rem
    ),
    linear-gradient(
      145deg,
      #fffaf0 0%,
      #fff1c9 58%,
      #ffe2a8 100%
    );
  box-shadow:
    5px 6px 0 rgb(75 58 102 / 18%),
    0 14px 30px rgb(47 36 64 / 14%);
}

.places-lite-feedback-experience .places-lite-introduction::before,
.places-lite-feedback-experience .places-lite-introduction::after {
  position: absolute;
  bottom: -0.75rem;
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid #6c3baa;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.places-lite-feedback-experience .places-lite-introduction::before {
  left: -0.85rem;
}

.places-lite-feedback-experience .places-lite-introduction::after {
  right: -0.85rem;
}

.places-lite-ticket-kicker {
  margin: 0 0 0.45rem;
  color: #6c3baa;
  font-size: clamp(0.72rem, 2vw, 0.88rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.places-lite-feedback-experience .places-lite-lede {
  font-size: clamp(1rem, 2.6vw, 1.16rem);
}

.places-lite-feedback-experience .places-lite-question {
  border: 2px dashed #6c3baa;
  border-left-width: 6px;
  border-radius: 0.45rem;
  background: rgb(255 255 255 / 58%);
}

.places-lite-feedback-experience .places-lite-question p:last-child {
  margin-bottom: 0;
}

.places-lite-feedback-experience .places-lite-source-note {
  margin: 1rem 0 0;
  padding: 0.75rem 0 0;
  border-top: 1px dashed rgb(108 59 170 / 45%);
  color: #5c5264;
  font-size: 0.76rem;
  line-height: 1.35;
  text-align: center;
}

.places-lite-feedback-cue {
  display: flex;
  margin: 1rem -1.4rem -1.4rem;
  padding: 0.85rem 1rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #6c3baa;
  color: #fff !important;
  font-size: clamp(0.78rem, 2.4vw, 0.95rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.places-lite-feedback-cue span {
  color: #fff;
  font-size: 1.2em;
  line-height: 1;
}

.places-lite-feedback-experience .places-lite-feedback-card {
  margin-top: 1.75rem !important;
  border-top: inherit;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  box-shadow: inherit;
}

.brand-read-text > .sugarpop-specials-block + .community-feedback-brand-inline {
  margin-top: 1.5rem !important;
}

/* ===== Places Lite Storefront ===== */

.places-lite-storefront {
  position: relative;
  display: grid;
  width: 100%;
  margin: 0;
  padding:
    clamp(1rem, 3vw, 1.4rem)
    clamp(1.8rem, 6vw, 2.35rem)
    clamp(1rem, 3vw, 1.4rem)
    clamp(1rem, 3vw, 1.4rem);
  overflow: hidden;
  border: 4px solid #70777f;
  border-radius: 0.85rem;
  background:
    linear-gradient(
      112deg,
      rgb(255 255 255 / 58%) 0%,
      rgb(255 255 255 / 16%) 17%,
      transparent 34% 66%,
      rgb(255 255 255 / 20%) 82%,
      rgb(255 255 255 / 44%) 100%
    ),
    linear-gradient(
      180deg,
      #dce2e7 0%,
      #b9c1c8 42%,
      #d3d9de 100%
    );
  box-shadow:
    6px 7px 0 rgb(55 62 69 / 20%),
    0 16px 34px rgb(47 36 64 / 16%),
    inset 0 0 0 2px rgb(255 255 255 / 52%),
    inset 0 0 28px rgb(68 76 84 / 18%);
  gap: 1rem;
  isolation: isolate;
}

.places-lite-storefront::before {
  position: absolute;
  z-index: 0;
  top: -18%;
  left: -22%;
  width: 72%;
  height: 150%;
  background:
    linear-gradient(
      100deg,
      transparent 0 28%,
      rgb(255 255 255 / 32%) 38%,
      rgb(255 255 255 / 10%) 48%,
      transparent 62%
    );
  content: "";
  pointer-events: none;
  transform: rotate(7deg);
}

.places-lite-storefront::after {
  position: absolute;
  z-index: 2;
  top: 27%;
  right: 0.48rem;
  width: 0.62rem;
  height: 28%;
  min-height: 5.5rem;
  border: 1px solid #72787e;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      #7c8389 0%,
      #f8fafb 28%,
      #b3bac0 52%,
      #f7f9fa 72%,
      #777e84 100%
    );
  box-shadow:
    2px 3px 4px rgb(34 39 43 / 32%),
    inset 1px 0 1px rgb(255 255 255 / 70%);
  content: "";
  pointer-events: none;
}

.places-lite-storefront > * {
  position: relative;
  z-index: 1;
}

.places-lite-business-plaque,
.places-lite-open-sign,
.places-lite-hours-sign,
.places-lite-specials-card {
  width: min(100%, 38rem);
  margin-inline: auto;
}

.places-lite-business-plaque {
  display: grid;
  padding: 1rem 1.1rem;
  border: 3px solid #6c3baa;
  border-radius: 0.5rem;
  background:
    linear-gradient(
      135deg,
      #fff 0%,
      #f8f0fb 58%,
      #e9d8f1 100%
    );
  box-shadow:
    4px 5px 0 rgb(108 59 170 / 20%),
    inset 0 0 0 2px rgb(255 255 255 / 64%);
  color: #39234d;
  gap: 0.2rem;
  text-align: center;
}

.places-lite-business-plaque-kicker {
  color: #f4007e;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.places-lite-business-plaque strong {
  overflow-wrap: anywhere;
  color: #6c3baa;
  font-family: "Original Surfer", system-ui, sans-serif;
  font-size: clamp(1.55rem, 5.7vw, 2.45rem);
  line-height: 1.05;
}

.places-lite-business-plaque-meta {
  color: #49365b;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.places-lite-open-sign {
  display: grid;  
  padding: 0.9rem 1rem;
  border: 3px solid #28211d;
  border-radius: 0.45rem;
  background: #f7f1e5;
  box-shadow:
    0 4px 0 rgb(40 33 29 / 20%),
    inset 0 0 0 3px rgb(255 255 255 / 45%);
  gap: 0.25rem;
  text-align: center;
  transform: rotate(-0.35deg);
}

.places-lite-open-sign strong {
  color: inherit;
  font-family: "Original Surfer", system-ui, sans-serif;
  font-size: clamp(1.8rem, 7vw, 3rem);
  letter-spacing: 0.015em;
  line-height: 1;
  text-shadow: 1px 2px 0 rgb(0 0 0 / 16%);
  text-transform: uppercase;
}

.places-lite-open-sign > span:last-child {
  color: #fff;
  font-weight: 750;
}

.places-lite-open-sign-kicker,
.places-lite-sign-label {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.places-lite-open-sign .places-lite-open-sign-kicker {
  color: #fff;
}

.places-lite-open-sign-open {
  border-color: #fff;
  background:
    linear-gradient(
      180deg,
      #2bab3a 0%,
      #25a032 100%
    );
  box-shadow:
    0 5px 0 rgb(18 95 29 / 32%),
    inset 0 0 0 3px rgb(255 255 255 / 38%);
  color: #fff;
}

.places-lite-open-sign-closed,
.places-lite-open-sign-closed-temporarily,
.places-lite-open-sign-closed-permanently {
  border-color: #fff;
  background:
    linear-gradient(
      180deg,
      #e0515d 0%,
      #d64550 100%
    );
  box-shadow:
    0 5px 0 rgb(137 42 50 / 32%),
    inset 0 0 0 3px rgb(255 255 255 / 34%);
  color: #fff;
}

.places-lite-open-sign-unknown {
  border-color: #555b60;
  background:
    linear-gradient(
      180deg,
      #dedede 0%,
      #bfc3c6 100%
    );
  box-shadow:
    0 5px 0 rgb(66 70 73 / 28%),
    inset 0 0 0 3px rgb(255 255 255 / 42%);
  color: #111;
}

.places-lite-open-sign-unknown .places-lite-open-sign-kicker,
.places-lite-open-sign-unknown > span:last-child {
  color: #111;
}

.places-lite-hours-sign {
  padding: 1rem;
  border: 3px solid #c9a0dc;
  border-radius: 0.5rem;
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #fdfaff 100%
    );
  box-shadow:
    4px 5px 0 rgb(108 59 170 / 16%),
    inset 0 0 0 1px rgb(201 160 220 / 28%);
  color: #2f2440;
}

.places-lite-hours-sign .places-lite-sign-label {
  margin: 0 0 0.75rem;
  color: #6c3baa;
  font-size: 0.8rem;
  text-align: center;
}

.places-lite-hours-sign ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.places-lite-hours-sign li {
  padding: 0.42rem 0;
  border-bottom: 1px dashed rgb(108 59 170 / 24%);
  color: #34283f;
  font-weight: 750;
  line-height: 1.3;
}

.places-lite-hours-sign li:last-child {
  border-bottom: 0;
}

.places-lite-specials-card {
  position: relative;
  padding: 1.15rem;
  border: 3px solid #c9a0dc;
  border-radius: 0.55rem;
  background:
    radial-gradient(
      circle at 20% 15%,
      rgb(255 255 255 / 8%) 0 1px,
      transparent 2px
    ),
    linear-gradient(
      145deg,
      #7548b2 0%,
      #6c3baa 58%,
      #5e319b 100%
    );
  background-size:
    18px 18px,
    auto;
  box-shadow:
    4px 5px 0 rgb(108 59 170 / 22%),
    inset 0 0 0 2px rgb(255 255 255 / 12%);
  color: #fff;
  text-align: center;
  transform: rotate(0.15deg);
}

.places-lite-specials-card::before {
  display: block;
  width: 3.6rem;
  height: 3px;
  margin: 0 auto 0.7rem;
  border-radius: 999px;
  background: #ffaed7;
  content: "";
}

.places-lite-specials-card .places-lite-sign-label {
  margin: 0 0 0.45rem;
  color: #ffaed7;
  font-weight: 950;
}

.places-lite-specials-card h2 {
  margin: 0 0 0.7rem;
  color: #fff;
  font-family: "Original Surfer", system-ui, sans-serif;
  font-size: clamp(1.55rem, 5.3vw, 2.3rem);
  line-height: 1.05;
  text-shadow: 1px 2px 0 rgb(50 21 84 / 28%);
}

.places-lite-specials-card p {
  margin: 0.6rem 0 0;
  color: #fff !important;
  line-height: 1.5;
}

.places-lite-specials-card p strong {
  color: #fff;
}

.places-lite-review-language {
  margin-top: 0.95rem !important;
  padding: 0.85rem;
  border: 2px solid #ffaed7;
  border-radius: 0.45rem;
  background: #ffaed7;
  color: #4b2467 !important;
  box-shadow: 2px 3px 0 rgb(63 25 93 / 18%);
}

.places-lite-review-language strong {
  color: #6c3baa !important;
}

.places-lite-storefront-cue {
  margin-top: 0.95rem !important;
  color: #fff !important;
  font-size: 0.84rem;
  font-weight: 950;
}

.places-lite-atlas-center-stage {
  width: 100%;
  margin: 1rem 0;
  text-align: center;
}

.places-lite-atlas-center-stage img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ===== Homepage Sugarpop Pinboard ===== */

.pinboard-home-card {
  position: relative;
  display: grid;
  width: 100%;
  margin: 0 0 1.5rem;
  padding: 1.15rem;
  overflow: hidden;
  border: 2px solid #4b3a66;
  border-radius: 14px;
  background:
    radial-gradient(
      circle at 18% 22%,
      rgb(255 255 255 / 18%) 0 2px,
      transparent 3px
    ),
    radial-gradient(
      circle at 82% 76%,
      rgb(75 58 102 / 13%) 0 2px,
      transparent 3px
    ),
    #d8ae79;
  background-size:
    29px 29px,
    37px 37px;
  box-shadow:
    0 7px 16px rgb(0 0 0 / 16%),
    7px 8px 0 rgb(180 217 239 / 42%);
  color: #24211e;
  font-family: "Hanken Grotesk", sans-serif;
  gap: 0.9rem;
  isolation: isolate;
}

.pinboard-home-card::before {
  position: absolute;
  inset: 8px;
  border: 1px solid rgb(75 58 102 / 28%);
  border-radius: 9px;
  content: "";
  pointer-events: none;
}

.pinboard-home-pin {
  position: absolute;
  top: 0.65rem;
  left: 50%;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #6c3baa;
  box-shadow: 0 2px 5px rgb(0 0 0 / 35%);
  transform: translateX(-50%);
  z-index: 2;
}

.pinboard-home-copy {
  position: relative;
  z-index: 1;
  padding: 0.55rem 0.35rem 0;
}

.pinboard-home-kicker {
  display: inline-block;
  margin: 0 0 0.4rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid #4b3a66;
  border-radius: 999px;
  background: #b4d9ef;
  color: #111;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.pinboard-home-card h2 {
  margin: 0;
  color: #4b3a66;
  font-family: "Original Surfer", system-ui, sans-serif;
  font-size: clamp(1.65rem, 7vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  text-shadow: 2px 2px 0 rgb(255 255 255 / 48%);
}

.pinboard-home-copy > p:last-child {
  max-width: 660px;
  margin: 0.55rem 0 0;
  color: #2f2833;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.35;
}

.pinboard-home-preview {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 100px;
  padding: 0.2rem 0.35rem;
  gap: 0.55rem;
  z-index: 1;
}

.pinboard-home-note {
  display: block;
  min-height: 88px;
  border: 1px solid #4b3a66;
  border-radius: 4px;
  box-shadow: 2px 3px 0 rgb(75 58 102 / 18%);
}

.pinboard-home-note-one {
  background:
    linear-gradient(
      145deg,
      transparent 0 45%,
      rgb(108 59 170 / 16%) 46% 54%,
      transparent 55%
    ),
    #ffd3b6;
  transform: rotate(-2deg);
}

.pinboard-home-note-two {
  background:
    linear-gradient(
      45deg,
      transparent 0 42%,
      rgb(75 58 102 / 14%) 43% 57%,
      transparent 58%
    ),
    #b4d9ef;
  transform: rotate(1.5deg);
}

.pinboard-home-note-three {
  background:
    radial-gradient(
      circle at 50% 42%,
      #6c3baa 0 8px,
      transparent 9px
    ),
    #c9a0dc;
  transform: rotate(-0.7deg);
}

.pinboard-home-button {
  position: relative;
  justify-self: center;
  margin: 0.1rem 0 0.25rem;
  z-index: 1;
}

@media (width >= 700px) {
  .pinboard-home-card {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    align-items: center;
    padding: 1.35rem;
  }

  .pinboard-home-preview {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .pinboard-home-button {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pinboard-home-note {
    transform: none;
  }
}

/* ===== Homepage Sugarpop Shore Week Board ===== */

.event-calendar-memo {
  position: relative;
  width: 100%;
  margin: 0 0 1.5rem;
  padding: 1.2rem 0.8rem 0.45rem;
  overflow: hidden;
  border: 3px solid #4b247d;
  border-radius: 16px;
  background: #fff4d8;
  box-shadow:
    0 7px 16px rgb(0 0 0 / 16%),
    7px 8px 0 #f7a8c4;
  color: #24211e;
  font-family: "Hanken Grotesk", sans-serif;
  isolation: isolate;
}

.event-calendar-memo::before {
  position: absolute;
  top: 32px;
  right: -28px;
  width: 118px;
  height: 26px;
  border: 2px solid #4b247d;
  background: #b0d8f0;
  content: "";
  transform: rotate(7deg);
  z-index: -1;
}

.event-calendar-memo::after {
  position: absolute;
  right: 18px;
  bottom: 72px;
  width: 52px;
  height: 52px;
  border: 4px solid #ffb347;
  border-radius: 50%;
  content: "";
  opacity: 0.7;
  z-index: -1;
}

.event-calendar-binding {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 14px;
  border-bottom: 2px solid #4b247d;
  background: #6c3baa;
}

.event-calendar-header {
  position: relative;
  display: block;
  padding: 0.8rem 0.35rem 1rem;
  border-bottom: 4px solid #4b247d;
}

.event-calendar-header::after {
  position: absolute;
  right: 0.25rem;
  bottom: -9px;
  width: 88px;
  height: 15px;
  border: 2px solid #4b247d;
  background: #00bfff;
  content: "";
  transform: rotate(-2deg);
}

.event-calendar-heading-copy {
  position: relative;
  z-index: 1;
}

.event-calendar-kicker {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.27rem 0.58rem;
  border: 2px solid #111;
  border-radius: 999px;
  background: #b0d8f0;
  color: #111;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.event-calendar-title {
  max-width: 720px;
  margin: 0.18rem 0 0;
  color: #6c3baa;
  font-family: "Original Surfer", system-ui, sans-serif;
  font-size: clamp(1.45rem, 5.5vw, 2.25rem);
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 1.02;
  text-shadow: 3px 3px 0 #f7a8c4;
}

.event-calendar-subtitle {
  max-width: 660px;
  margin: 0.42rem 0 0;
  color: #24211e;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.3;
}

.event-calendar-days {
  position: relative;
  width: 100%;
  padding-top: 0.4rem;
}

.event-calendar-day {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 0.75rem;
  min-width: 0;
  margin: 0.55rem 0;
  padding: 0.5rem 0.5rem 0.5rem 0;
  border: 2px solid #4b247d;
  border-left: 0;
  border-radius: 0 11px 11px 0;
  background: #fffdf7;
  box-shadow: 3px 3px 0 rgb(75 36 125 / 14%);
}

.event-calendar-day:nth-child(even) {
  background: #fff8eb;
}

.event-calendar-day.is-today {
  border-color: #4b247d;
  background: #fff2a8;
  box-shadow:
    4px 4px 0 #f7a8c4,
    inset 5px 0 0 #6c3baa;
}

.event-calendar-date {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  min-height: 82px;
  margin: -0.5rem 0;
  padding: 0.55rem 0.35rem;
  border-right: 2px solid #4b247d;
  background: #b0d8f0;
  text-align: center;
}

.event-calendar-day:nth-child(2) .event-calendar-date {
  background: #ffd580;
}

.event-calendar-day:nth-child(3) .event-calendar-date {
  background: #ffaed7;
}

.event-calendar-day:nth-child(4) .event-calendar-date {
  background: #b0d8f0;
}

.event-calendar-day:nth-child(5) .event-calendar-date {
  background: #ffb077;
}

.event-calendar-day:nth-child(6) .event-calendar-date {
  background: #d8c3f2;
}

.event-calendar-day:nth-child(7) .event-calendar-date {
  background: #9ee7d4;
}

.event-calendar-day.is-today .event-calendar-date {
  background: #6c3baa;
  color: #fff;
}

.event-calendar-day.is-today .event-calendar-date
  .event-calendar-today-label,
.event-calendar-day.is-today .event-calendar-date
  .event-calendar-weekday,
.event-calendar-day.is-today .event-calendar-date
  .event-calendar-day-number,
.event-calendar-day.is-today .event-calendar-date
  .event-calendar-month {
  color: #fff;
}

.event-calendar-today-label {
  position: absolute;
  top: -9px;
  left: 50%;
  padding: 0.18rem 0.38rem;
  border: 1px solid #6c3baa;
  border-radius: 999px;
  background: #6c3baa;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(-50%) rotate(-2deg);
}

.event-calendar-weekday,
.event-calendar-month {
  color: #332a44;
  font-size: 0.67rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.event-calendar-day.is-today .event-calendar-weekday,
.event-calendar-day.is-today .event-calendar-month {
  color: #111;
}

.event-calendar-day.is-today .event-calendar-day-number {
  color: #fff;
}

.event-calendar-day-number {
  color: #111;
  font-family: "Original Surfer", system-ui, sans-serif;
  font-size: 1.8rem;
  font-weight: 950;
  line-height: 0.95;
}

.event-calendar-entries {
  min-width: 0;
  padding: 0.18rem 0.15rem 0.1rem 0;
}

.event-calendar-entry {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0 0 0.55rem;
  padding: 0.6rem 0.62rem 0.6rem 0.74rem;
  border: 2px solid #4b247d;
  border-left: 6px solid #6c3baa;
  border-radius: 6px 10px 10px 6px;
  background: #fff;
  box-shadow: 2px 2px 0 rgb(75 36 125 / 14%);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.event-calendar-entry.is-local {
  border-left-color: #d99a00;
  background: #fff2a8;
}

.event-calendar-entry.is-associated {
  border-left-color: #9b35b5;
  background: #b0d8f0;
}

.event-calendar-entry:hover {
  border-color: #6c3baa;
  box-shadow: 3px 3px 0 #b0d8f0;
}

.event-calendar-entry:focus-visible {
  outline: 3px solid #6c3baa;
  outline-offset: 2px;
}

.event-calendar-entry:active {
  border-color: #4b3a66;
  box-shadow: inset 0 0 0 1px rgb(75 58 102 / 22%);
}

.event-calendar-entry:last-child {
  margin-bottom: 0;
}

.event-calendar-entry::before {
  position: absolute;
  top: -4px;
  right: 14px;
  width: 34px;
  height: 8px;
  border: 1px solid #4b247d;
  background: #b0d8f0;
  content: "";
  transform: rotate(2deg);
}

.event-calendar-entry-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-bottom: 0.32rem;
}

.event-calendar-association-badge,
.event-calendar-recurrence-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.event-calendar-association-badge.is-local {
  border: 2px solid #111;
  background: #25A032;
  color: #fff;
}

.event-calendar-association-badge.is-associated {
  border: 2px solid #6c3baa;
  background: #fff;
  color: #6c3baa;
}

.event-calendar-recurrence-badge {
  border: 2px solid #6c3baa;
  background: #d8c3f2;
  color: #34204f;
}

.event-calendar-entry-title {
  display: block;
  color: #111;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.event-calendar-entry:hover .event-calendar-entry-title,
.event-calendar-entry:focus-visible .event-calendar-entry-title {
  color: #6c3baa;
  text-decoration: underline;
}

.event-calendar-entry-meta {
  display: block;
  margin-top: 0.22rem;
  color: #4b3a66;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.event-calendar-entry-body {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  min-width: 0;
}

.event-calendar-entry-copy {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.event-calendar-entry-thumbnail {
  display: block;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 0.45rem;
  object-fit: cover;
  object-position: center;
}

.event-calendar-entry-time,
.event-calendar-entry-location {
  display: inline;
}

.event-calendar-entry-location::before {
  content: " · ";
}

.event-calendar-empty {
  display: block;
  margin: 0;
  padding: 0.7rem 0.55rem;
  border: 0;
  background: transparent;
  color: #6c3baa;
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 750;
  line-height: 1.2;
  opacity: 0.82;
}

.event-calendar-footer {
  position: relative;
  margin-top: 0.75rem;
  padding-top: 0.85rem;
  border-top: 4px solid #4b247d;
}

.event-calendar-footer::before {
  position: absolute;
  top: -8px;
  left: 14%;
  width: 72px;
  height: 13px;
  border: 2px solid #4b247d;
  background: #ffaed7;
  content: "";
  transform: rotate(1deg);
}

.event-calendar-footer .marketing-button {
  margin: 0;
  border: 2px solid #111;
  border-radius: 999px;
  background: #6c3baa;
  box-shadow: 4px 4px 0 #ffb347;
  color: #fff;
  font-weight: 950;
  letter-spacing: 0.045em;
}

.event-calendar-footer .marketing-button:hover,
.event-calendar-footer .marketing-button:focus {
  background: #800080;
  color: #fff;
  opacity: 1;
  transform: translateY(-1px);
}

@media (width <= 420px) {
  .event-calendar-memo {
    padding-right: 0.55rem;
    padding-left: 0.55rem;
    border-radius: 10px;
    box-shadow:
      0 5px 12px rgb(0 0 0 / 14%),
      4px 5px 0 rgb(201 160 220 / 38%);
  }

  .event-calendar-header {
    padding-right: 0.15rem;
    padding-left: 0.15rem;
  }

  .event-calendar-kicker {
    font-size: 0.58rem;
  }

  .event-calendar-subtitle {
    font-size: 0.84rem;
  }

  .event-calendar-location {
    margin: 0.28rem 0 0;
    color: #6c3baa;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
  }

  .event-calendar-day {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 0.55rem;
    padding-right: 0.35rem;
  }

  .event-calendar-date {
    min-height: 72px;
  }

  .event-calendar-day-number {
    font-size: 1.55rem;
  }

  .event-calendar-entry {
    padding: 0.62rem 0.55rem 0.62rem 0.65rem;
  }

  .event-calendar-association-badge,
  .event-calendar-recurrence-badge {
    padding: 0.22rem 0.46rem;
    font-size: 0.7rem;
    line-height: 1.15;
  }

  .event-calendar-entry-title {
    font-size: 1.04rem;
    line-height: 1.2;
  }

  .event-calendar-entry-meta {
    margin-top: 0.3rem;
    font-size: 0.82rem;
    line-height: 1.32;
  }

  .event-calendar-empty {
    font-size: 0.82rem;
  }

  .event-calendar-entry-time,
  .event-calendar-entry-location {
    display: block;
  }

  .event-calendar-entry-location::before {
    content: "";
  }
}

@media (width >= 768px) {
  .event-calendar-memo {
    padding: 1.45rem 1.35rem 1.2rem;
  }

  .event-calendar-header {
    padding-top: 0.9rem;
    padding-bottom: 1.15rem;
  }

  .event-calendar-day {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 1rem;
    padding-right: 0.75rem;
  }

  .event-calendar-date {
    min-height: 88px;
  }

  .event-calendar-day-number {
    font-size: 2rem;
  }

  .event-calendar-entry-title {
    font-size: 1.08rem;
  }

  .event-calendar-location {
    font-size: 0.73rem;
  }

  .event-calendar-entry-meta {
    font-size: 0.84rem;
  }

  .event-calendar-entry-body {
    gap: 0.7rem;
  }

  .event-calendar-entry-thumbnail {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }
}

.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.03em;
}

.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;
}

.print-only-page {
  min-height: 100vh;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.print-only-image {
  display: block;
  object-fit: contain;
}

.print-only-image.print-only-image {
  max-width: 95vw;
  max-height: 95vh;
}

.print-only-image.print-only-qr {
  width: min(3.5in, 80vw);
  height: auto;
}

@media print {
  @page {
    size: letter portrait;
    margin: 0.5in;
  }

  body {
    background: #fff !important;
  }

  body * {
    visibility: hidden !important;
  }

  .print-only-page,
  .print-only-page *,
  #print-only-image {
    visibility: visible !important;
  }

  .print-only-page {
    position: fixed;
    inset: 0;
    min-height: auto;
  }

  #print-only-image.print-only-image {
    max-width: 7.5in;
    max-height: 10in;
  }

  #print-only-image.print-only-qr {
    width: 3.5in;
    max-width: 3.5in;
    height: auto;
  }
}

.print-helper-frame {
  position: fixed;
  width: 1px;
  height: 1px;
  right: 0;
  bottom: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

/* 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;
}

/* Wrap long raw URLs inside content blocks without affecting nav/buttons. */
.surfer-block a,
.boating-block a,
.sky-block a,
.direction-block a,
.promo-block a,
.ad-block a,
.sports-block a,
.closures-block a,
.brand-read-text a,
.content-content a,
.content-text a {
  overflow-wrap: anywhere;
  word-break: normal;
}

/* ==========================================================================
   SUGARPOP COMMUNITY FEEDBACK RANKERS
   Shared chassis + differentiated creative shells
   ========================================================================== */

[data-community-feedback-leaderboard] {
  width: 100%;
  margin:
    0.85rem
    0
    1.15rem;
}

.community-feedback-ranker {
  --ranker-accent: #6c3baa;
  --ranker-accent-dark: #442067;
  --ranker-soft: #efe3fa;
  --ranker-soft-2: #fff4dc;
  --ranker-border: rgb(68 32 103 / 54%);
  --ranker-frame: #442067;
  --ranker-body-bg: #cdb7dc;
  --ranker-row-bg: #fffaf3;
  --ranker-summary-bg:
    linear-gradient(
      135deg,
      #d9bcea,
      #f4d3a7
    );

  width: 100%;
  overflow: hidden;
  padding: 5px;
  border: 0;
  border-radius: 16px;
  background:
    var(--ranker-frame);
  box-shadow:
    6px 7px 0
      rgb(47 36 64 / 24%),
    0 12px 24px
      rgb(0 0 0 / 18%);
  font-family:
    "Hanken Grotesk",
    sans-serif;
}

/* --------------------------------------------------------------------------
   Business
   Storefront awning / directory board
   -------------------------------------------------------------------------- */

.community-feedback-ranker-brand,
.community-feedback-ranker-business {
  --ranker-accent: #6c3baa;
  --ranker-accent-dark: #442067;
  --ranker-soft: #ead9f4;
  --ranker-soft-2: #f8dfb6;
  --ranker-border: rgb(68 32 103 / 54%);
  --ranker-frame: #3f245f;
  --ranker-body-bg: #c5acd5;
  --ranker-row-bg: #fffaf3;
  --ranker-summary-bg:
    repeating-linear-gradient(
      90deg,
      #c99fdd 0 24px,
      #f1d5a7 24px 48px
    );
}

/* --------------------------------------------------------------------------
   Food & Dining
   Diner check / tablecloth
   -------------------------------------------------------------------------- */

.community-feedback-ranker-food {
  --ranker-accent: #b94936;
  --ranker-accent-dark: #71291f;
  --ranker-soft: #ffd9ba;
  --ranker-soft-2: #fff0d1;
  --ranker-border: rgb(111 48 39 / 58%);
  --ranker-frame: #6f3027;
  --ranker-body-bg: #d99b79;
  --ranker-row-bg: #fff8e8;
  --ranker-summary-bg:
    linear-gradient(
      90deg,
      rgb(255 255 255 / 18%) 50%,
      transparent 50%
    ) 0 0 / 28px 28px,
    linear-gradient(
      0deg,
      rgb(255 255 255 / 18%) 50%,
      transparent 50%
    ) 0 0 / 28px 28px,
    #c95d49;
}

/* --------------------------------------------------------------------------
   Attractions
   Boardwalk midway / marquee bulbs
   -------------------------------------------------------------------------- */

.community-feedback-ranker-attractions {
  --ranker-accent: #087f91;
  --ranker-accent-dark: #07505c;
  --ranker-soft: #c7ebed;
  --ranker-soft-2: #f9d98f;
  --ranker-border: rgb(18 62 89 / 56%);
  --ranker-frame: #123e59;
  --ranker-body-bg: #8fc4c8;
  --ranker-row-bg: #fff9e7;
  --ranker-summary-bg:
    radial-gradient(
      circle,
      #fff3a0 0 3px,
      transparent 4px
    ) 0 0 / 22px 22px,
    linear-gradient(
      135deg,
      #368f9b,
      #dc8556
    );
}

/* --------------------------------------------------------------------------
   Event
   Ticket booth / showbill
   -------------------------------------------------------------------------- */

.community-feedback-ranker-event {
  --ranker-accent: #d83b75;
  --ranker-accent-dark: #7d2049;
  --ranker-soft: #ffd4e2;
  --ranker-soft-2: #f7c27f;
  --ranker-border: rgb(125 32 73 / 56%);
  --ranker-frame: #7d2049;
  --ranker-body-bg: #d98ca8;
  --ranker-row-bg: #fff6f3;
  --ranker-summary-bg:
    radial-gradient(
      circle at 15% 24%,
      #ffd86b 0 3px,
      transparent 4px
    ) 0 0 / 31px 31px,
    radial-gradient(
      circle at 78% 68%,
      #fff 0 2px,
      transparent 3px
    ) 0 0 / 37px 37px,
    linear-gradient(
      135deg,
      #dc477d,
      #e9894c
    );
}

/* --------------------------------------------------------------------------
   Deal
   Coupon / price tag
   -------------------------------------------------------------------------- */

.community-feedback-ranker-deal {
  --ranker-accent: #15806d;
  --ranker-accent-dark: #0b594b;
  --ranker-soft: #cdebdc;
  --ranker-soft-2: #f7d76d;
  --ranker-border: rgb(11 89 75 / 58%);
  --ranker-frame: #0b594b;
  --ranker-body-bg: #79b9a6;
  --ranker-row-bg: #fff9df;
  --ranker-summary-bg:
    repeating-linear-gradient(
      -45deg,
      #54a58f 0 16px,
      #e8c84f 16px 32px
    );
}

/* --------------------------------------------------------------------------
   Update
   Bulletin / ruled memo
   -------------------------------------------------------------------------- */

.community-feedback-ranker-update {
  --ranker-accent: #176da2;
  --ranker-accent-dark: #123f61;
  --ranker-soft: #c8e1f0;
  --ranker-soft-2: #e7f0f5;
  --ranker-border: rgb(18 63 97 / 58%);
  --ranker-frame: #123f61;
  --ranker-body-bg: #8eb8cf;
  --ranker-row-bg:
    linear-gradient(
      to bottom,
      transparent 0 25px,
      rgb(23 109 162 / 12%) 26px
    ),
    #fffdf3;
  --ranker-summary-bg:
    repeating-linear-gradient(
      0deg,
      #bad6e6 0 20px,
      #9fc5db 20px 21px
    );
}

/* --------------------------------------------------------------------------
   General Snap
   Corkboard / pinned postcard
   -------------------------------------------------------------------------- */

.community-feedback-ranker-general {
  --ranker-accent: #c04d27;
  --ranker-accent-dark: #70311c;
  --ranker-soft: #f3c7af;
  --ranker-soft-2: #f4d98f;
  --ranker-border: rgb(112 49 28 / 58%);
  --ranker-frame: #70311c;
  --ranker-body-bg: #b97a4d;
  --ranker-row-bg: #fff4dc;
  --ranker-summary-bg:
    radial-gradient(
      circle at 18% 22%,
      rgb(255 255 255 / 24%) 0 2px,
      transparent 3px
    ) 0 0 / 23px 23px,
    #c78d5d;
}

/* --------------------------------------------------------------------------
   Feature
   Magazine / clipped editorial
   -------------------------------------------------------------------------- */

.community-feedback-ranker-feature {
  --ranker-accent: #334d93;
  --ranker-accent-dark: #1c2d58;
  --ranker-soft: #d5dcef;
  --ranker-soft-2: #e5d1b4;
  --ranker-border: rgb(28 45 88 / 58%);
  --ranker-frame: #1c2d58;
  --ranker-body-bg: #919fc6;
  --ranker-row-bg: #faf5e9;
  --ranker-summary-bg:
    repeating-linear-gradient(
      90deg,
      #42588d 0 3px,
      transparent 3px 19px
    ),
    linear-gradient(
      135deg,
      #b5c0df,
      #dfc49e
    );
}

/* --------------------------------------------------------------------------
   Product
   Merch label / retail tag
   -------------------------------------------------------------------------- */

.community-feedback-ranker-product {
  --ranker-accent: #9a3a88;
  --ranker-accent-dark: #612556;
  --ranker-soft: #efd4e9;
  --ranker-soft-2: #f5c395;
  --ranker-border: rgb(97 37 86 / 58%);
  --ranker-frame: #612556;
  --ranker-body-bg: #c389b8;
  --ranker-row-bg: #fff6e9;
  --ranker-summary-bg:
    repeating-linear-gradient(
      135deg,
      #c86caf 0 18px,
      #e9b079 18px 36px
    );
}

/* --------------------------------------------------------------------------
   Space Port feedback, if surfaced later
   Arcade stripe
   -------------------------------------------------------------------------- */

.community-feedback-ranker-space-port {
  --ranker-accent: #174f84;
  --ranker-accent-dark: #112b4f;
  --ranker-soft: #c8dfef;
  --ranker-soft-2: #f1ce74;
  --ranker-border: rgb(17 43 79 / 58%);
  --ranker-frame: #112b4f;
  --ranker-body-bg: #548eb6;
  --ranker-row-bg: #fff3da;
  --ranker-summary-bg:
    repeating-linear-gradient(
      90deg,
      #163e70 0 16px,
      #04a7cf 16px 32px
    );
}

/* --------------------------------------------------------------------------
   Shell header
   -------------------------------------------------------------------------- */

.community-feedback-ranker-summary {
  display: grid;
  overflow: hidden;
  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;
  gap: 0.75rem;
  align-items: center;
  padding:
    0.85rem
    0.9rem;
  cursor: pointer;
  list-style: none;
  border:
    2px solid
    rgb(255 255 255 / 22%);
  border-radius:
    11px
    11px
    6px
    6px;
  background:
    linear-gradient(
      135deg,
      var(--ranker-soft),
      var(--ranker-soft-2)
    );
}

.community-feedback-ranker[open]
  > .community-feedback-ranker-summary {
  border-bottom-color:
    var(--ranker-frame);
}

.community-feedback-ranker-summary::-webkit-details-marker {
  display: none;
}

.community-feedback-ranker-business
  .community-feedback-ranker-summary,
.community-feedback-ranker-brand
  .community-feedback-ranker-summary {
  border-bottom:
    3px solid
    #3f245f;
}

.community-feedback-ranker-food
  .community-feedback-ranker-summary {
  border-bottom:
    3px dashed
    #6f3027;
}

.community-feedback-ranker-attractions
  .community-feedback-ranker-summary {
  border:
    2px solid
    #f2cf54;
}

.community-feedback-ranker-event
  .community-feedback-ranker-summary {
  border-bottom:
    3px dashed
    #7d2049;
}

.community-feedback-ranker-deal
  .community-feedback-ranker-summary {
  border:
    2px dashed
    #0b594b;
}

.community-feedback-ranker-feature
  .community-feedback-ranker-summary {
  border-left:
    8px solid
    #1c2d58;
}

.community-feedback-ranker-icon {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  flex: none;
  border:
    2px solid
    var(--ranker-frame);
  border-radius: 50%;
  background:
    #fff9ee;
  font-size: 1.4rem;
  line-height: 1;
  box-shadow:
    3px 3px 0
    var(--ranker-frame);
}

.community-feedback-ranker-business
  .community-feedback-ranker-icon,
.community-feedback-ranker-brand
  .community-feedback-ranker-icon {
  border-radius:
    8px
    8px
    14px
    14px;
}

.community-feedback-ranker-food
  .community-feedback-ranker-icon {
  border-radius: 10px;
  transform:
    rotate(-2deg);
}

.community-feedback-ranker-attractions
  .community-feedback-ranker-icon {
  outline:
    2px dotted
    #f2cf54;
  outline-offset: 3px;
}

.community-feedback-ranker-update
  .community-feedback-ranker-icon {
  border-radius: 7px;
  transform:
    rotate(2deg);
}

.community-feedback-ranker-feature
  .community-feedback-ranker-icon {
  border-radius: 3px;
  transform:
    rotate(-2deg);
}

.community-feedback-ranker-product
  .community-feedback-ranker-icon {
  border-radius:
    4px
    15px
    15px
    4px;
}

.community-feedback-ranker-summary-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.08rem;
}

.community-feedback-ranker-eyebrow {
  color:
    var(--ranker-accent-dark)
    !important;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.08em;
}

.community-feedback-ranker-heading {
  color:
    var(--ranker-accent-dark)
    !important;
  font-size:
    clamp(
      1.08rem,
      4vw,
      1.38rem
    );
  font-weight: 900;
  line-height: 1.08;
}

.community-feedback-ranker-description {
  margin-top: 0.1rem;
  color: #343434 !important;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.22;
}

.community-feedback-ranker-toggle {
  width: 0.72rem;
  height: 0.72rem;
  margin-right: 0.2rem;
  border-right:
    3px solid
    var(--ranker-frame);
  border-bottom:
    3px solid
    var(--ranker-frame);
  transform:
    rotate(45deg)
    translateY(-2px);
  transition:
    transform
    160ms ease;
}

.community-feedback-ranker[open]
  .community-feedback-ranker-toggle {
  transform:
    rotate(225deg)
    translate(-2px, -2px);
}

/* --------------------------------------------------------------------------
   Board body
   -------------------------------------------------------------------------- */

.community-feedback-ranker-body {
  margin-top: 4px;
  padding:
    0.7rem
    0.65rem
    0.6rem;
  border-radius:
    6px
    6px
    11px
    11px;
  background:
    var(--ranker-body-bg);
}

.community-feedback-ranker-list {
  display: grid;
  gap: 0.48rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.community-feedback-ranker-empty {
  padding:
    0.7rem
    0.55rem;
  color:
    var(--ranker-accent-dark)
    !important;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
}

.community-feedback-ranker-row {
  overflow: hidden;
  margin: 0;
  padding:
    0.62rem
    0.62rem
    0.58rem;
  border:
    2px solid
    rgb(47 36 64 / 18%);
  border-radius: 10px;
  background:
    var(--ranker-row-bg);
  box-shadow:
    2px 3px 0
    rgb(47 36 64 / 13%);
}

.community-feedback-ranker-main {
  display: grid;
  grid-template-columns:
    2.35rem
    minmax(0, 1fr)
    auto;
  gap: 0.7rem;
  align-items: center;
}

.community-feedback-ranker-position {
  display: grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  border:
    2px solid
    var(--ranker-accent);
  border-radius: 50%;
  color:
    var(--ranker-accent-dark)
    !important;
  background:
    var(--ranker-soft);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
}

.community-feedback-ranker-copy {
  min-width: 0;
}

.community-feedback-ranker-title {
  color: #252525;
  font-size:
    clamp(
      0.98rem,
      3.7vw,
      1.12rem
    );
  font-weight: 800;
  line-height: 1.16;
}

.community-feedback-ranker-title-link,
.community-feedback-ranker-title-link:visited {
  display: -webkit-box;
  overflow: hidden;
  color:
    var(--ranker-accent-dark)
    !important;
  text-decoration: none !important;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  -webkit-line-clamp: 2;
}

.community-feedback-ranker-title-link:hover {
  color:
    var(--ranker-accent)
    !important;
  text-decoration: underline !important;
}

.community-feedback-ranker-title-text {
  display: -webkit-box;
  overflow: hidden;
  color:
    var(--ranker-accent-dark)
    !important;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  -webkit-line-clamp: 2;
}

.community-feedback-ranker-city {
  margin-top: 0.18rem;
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1.2;
}

.community-feedback-ranker-city a,
.community-feedback-ranker-city a:visited {
  color:
    var(--ranker-accent-dark)
    !important;
  text-decoration: none !important;
}

.community-feedback-ranker-city a:hover {
  text-decoration: underline !important;
}

.community-feedback-ranker-city-domain {
  font-weight: 600;
  opacity: 0.78;
}

.community-feedback-ranker-city-text {
  color:
    var(--ranker-accent-dark)
    !important;
}

.community-feedback-ranker-response-count {
  margin-top: 0.14rem;
  color: #5e5e5e !important;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.15;
}

.community-feedback-ranker-score {
  min-width: 3.8rem;
  padding:
    0.38rem
    0.45rem;
  border:
    2px solid
    var(--ranker-frame);
  border-radius: 9px;
  background:
    var(--ranker-accent);
  color: #fff !important;
  text-align: center;
  white-space: nowrap;
  box-shadow:
    3px 3px 0
    var(--ranker-frame);
}

.community-feedback-ranker-deal
  .community-feedback-ranker-score {
  border-radius:
    2px
    10px
    10px
    2px;
}

.community-feedback-ranker-score-value {
  color: #fff !important;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
}

.community-feedback-ranker-score-scale {
  color:
    rgb(255 255 255 / 84%)
    !important;
  font-size: 0.67rem;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   Top-three hierarchy
   -------------------------------------------------------------------------- */

.community-feedback-ranker-row-top-1 {
  border:
    3px solid
    var(--ranker-accent);
  background:
    linear-gradient(
      110deg,
      var(--ranker-soft),
      var(--ranker-row-bg)
    );
  box-shadow:
    3px 4px 0
    var(--ranker-frame);
}

.community-feedback-ranker-row-top-1
  .community-feedback-ranker-position {
  width: 2.35rem;
  height: 2.35rem;
  background:
    var(--ranker-accent);
  color: #fff !important;
  font-size: 1.05rem;
  box-shadow:
    2px 2px 0
    var(--ranker-frame);
}

.community-feedback-ranker-row-top-1
  .community-feedback-ranker-title {
  font-size:
    clamp(
      1.05rem,
      4vw,
      1.2rem
    );
}

.community-feedback-ranker-row-top-2,
.community-feedback-ranker-row-top-3 {
  border:
    2px solid
    var(--ranker-border);
  background:
    linear-gradient(
      110deg,
      var(--ranker-row-bg),
      var(--ranker-soft)
    );
}

.community-feedback-ranker-row-is-home {
  position: relative;
  border-color:
    var(--ranker-accent);
  background:
    linear-gradient(
      105deg,
      var(--ranker-soft) 0%,
      var(--ranker-soft) 58%,
      #fff 100%
    );
  box-shadow:
    inset 9px 0 0
      var(--ranker-accent),
    3px 3px 0
      rgb(47 36 64 / 17%);
}

.community-feedback-ranker-row-is-home
  .community-feedback-ranker-main {
  padding-left: 0.34rem;
}

.community-feedback-ranker-row-is-home
  .community-feedback-ranker-city {
  color:
    var(--ranker-accent-dark)
    !important;
  font-weight: 850;
}

.community-feedback-ranker-row-is-home
  .community-feedback-ranker-position {
  border-color:
    var(--ranker-accent-dark);
  background:
    var(--ranker-accent);
  color: #fff !important;
}

.community-feedback-ranker-row-is-away {
  background:
    var(--ranker-row-bg);
}

.community-feedback-ranker-home-label {
  display: inline-block;
  margin-left: 0.38rem;
  padding:
    0.12rem
    0.42rem;
  border:
    1px solid
    var(--ranker-accent-dark);
  border-radius: 999px;
  background:
    var(--ranker-accent);
  color: #fff !important;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  line-height: 1.2;
  vertical-align: 0.08em;
}

.community-feedback-ranker-row[data-ranker-href] {
  cursor: pointer;
}

.community-feedback-ranker-row[data-ranker-href]:focus-visible {
  outline:
    3px solid
    var(--ranker-accent);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Published Community Feedback quote
   -------------------------------------------------------------------------- */

.community-feedback-ranker-quote {
  display: grid;
  grid-template-columns:
    auto
    minmax(0, 1fr);
  gap: 0.32rem;
  margin:
    0.52rem
    0
    0
    2.6rem;
  padding:
    0.45rem
    0.55rem;
  border:
    1px solid
    rgb(47 36 64 / 18%);
  border-left:
    4px solid
    var(--ranker-accent);
  border-radius:
    0
    7px
    7px
    0;
  background:
    rgb(255 253 246 / 88%);
  color: #454545 !important;
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
  box-shadow:
    2px 2px 0
    rgb(47 36 64 / 9%);
}

.community-feedback-ranker-quote-mark {
  margin-top: -0.12rem;
  color:
    var(--ranker-accent)
    !important;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.community-feedback-ranker-quote-community {
  padding:
    0.58rem
    0.68rem;
  background: #fff;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.42;
}

.community-feedback-ranker-quote-body {
  min-width: 0;
}

.community-feedback-ranker-quote-eyebrow {
  display: block;
  margin-bottom: 0.14rem;
  color:
    var(--ranker-accent-dark)
    !important;
  font-size: 0.61rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.055em;
  line-height: 1.2;
}

.community-feedback-ranker-quote-text {
  display: block;
}

.community-feedback-ranker-footnote {
  margin-top: 0.58rem;
  padding:
    0
    0.18rem;
  color: #3f3f3f !important;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: right;
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */

@media (width <= 480px) {
  [data-community-feedback-leaderboard] {
    margin-top: 0.7rem;
    margin-bottom: 0.9rem;
  }

  .community-feedback-ranker {
    padding: 4px;
    border-radius: 14px;
  }

  .community-feedback-ranker-summary {
    grid-template-columns:
      2.35rem
      minmax(0, 1fr)
      auto;
    gap: 0.58rem;
    padding:
      0.72rem
      0.68rem;
    border-radius:
      9px
      9px
      5px
      5px;
  }

  .community-feedback-ranker-icon {
    width: 2.3rem;
    height: 2.3rem;
    font-size: 1.16rem;
  }

  .community-feedback-ranker-description {
    font-size: 0.75rem;
  }

  .community-feedback-ranker-body {
    padding:
      0.55rem
      0.48rem
      0.5rem;
    border-radius:
      5px
      5px
      9px
      9px;
  }

  .community-feedback-ranker-row {
    padding:
      0.55rem
      0.5rem;
  }

  .community-feedback-ranker-main {
    grid-template-columns:
      2.05rem
      minmax(0, 1fr)
      auto;
    gap: 0.56rem;
  }

  .community-feedback-ranker-position {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 0.79rem;
  }

  .community-feedback-ranker-row-top-1
    .community-feedback-ranker-position {
    width: 2.05rem;
    height: 2.05rem;
    font-size: 0.9rem;
  }

  .community-feedback-ranker-score {
    min-width: 3.35rem;
    padding:
      0.34rem;
  }

  .community-feedback-ranker-score-value {
    font-size: 0.9rem;
  }

  .community-feedback-ranker-quote {
    margin-left: 2.25rem;
    font-size: 0.77rem;
  }

  .community-feedback-ranker-quote-community {
    font-size: 0.84rem;
    line-height: 1.4;
  }

}

