/* ============================================================
   HappyTimes AZ – Main Stylesheet
   Arizona Lifestyle Magazine · Pure CSS, No Frameworks
   ============================================================ */

/* === GOOGLE FONTS === */
/* Stevie Sans is not offered on Google Fonts; DM Sans + Fraunces remain the web stack. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700;9..144,900&display=swap');

/* === CSS VARIABLES === */
:root {
  /* ── HappyTimesAZ brand (CSS-only; matches brand guidelines) ── */
  --brand-orange:       #fe8526;   /* primary CTAs / emphasis */
  --brand-orange-dark:  #e97218;
  --brand-orange-soft:  rgba(254, 133, 38, 0.12);
  --brand-yellow:       #f3b237;   /* golden yellow — nav, badges, accents */
  --brand-yellow-dark:  #d9a028;
  --brand-yellow-light: #fce4a8;
  --brand-black:        #1b1d1d;
  --brand-gray:         #efefef;   /* light page background */
  --brand-gray-dark:    #dedede;
  --brand-gray-mid:     #9a9c9c;

  /* ── Mapped aliases (used throughout components) ── */
  --cream:          #efefef;
  --cream-dark:     #e4e4e4;
  --ink:            #1b1d1d;
  --ink-muted:      #3d3f3f;
  --ink-light:      #6b6d6d;
  --terracotta:     #f3b237;   /* gold — nav hover / secondary accents */
  --terracotta-deep:#d9a028;
  --gold:           #f3b237;
  --gold-light:     #fce4a8;
  --ember:          #c44a1f;   /* kept for cannabis/danger contexts */
  --sand:           #dedede;
  --sand-dark:      #c8c8c8;
  --green:          #2d7a3a;
  --green-light:    #e8f5eb;
  --purple:         #6b2fa0;
  --purple-light:   #f0e8f8;
  --blue:           #1a6fa0;
  --white:          #ffffff;

  /* Typography */
  --font-sans:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Layout */
  --max-width:   1280px;
  --content-pad: 1.5rem;
  /* Brand masthead + dark nav only (no headline ticker) */
  --brand-header-stack-h: 168px;
  --header-h:    var(--brand-header-stack-h);
  --brand-mobile-cat-tabs-h: 0px;
  --radio-h:     72px;

  /* Radius */
  --radius-sm:   0.375rem;
  --radius-md:   0.625rem;
  --radius-lg:   1rem;
  --radius-xl:   1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:   0 1px 2px rgba(26,20,18,0.06);
  --shadow-sm:   0 1px 0 rgba(26,20,18,0.05), 0 4px 12px rgba(26,20,18,0.07);
  --shadow-md:   0 1px 0 rgba(26,20,18,0.06), 0 8px 24px rgba(26,20,18,0.08);
  --shadow-lg:   0 4px 6px rgba(26,20,18,0.04), 0 12px 40px rgba(26,20,18,0.12);
  --shadow-xl:   0 20px 60px rgba(26,20,18,0.16);

  /* Transitions */
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* Safe areas (notched phones, home indicator) — use with viewport-fit=cover */
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-right:  env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left, 0px);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--safe-top) + var(--space-2));
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--cream);
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(var(--header-h) + var(--safe-top));
  padding-bottom: calc(var(--radio-h) + var(--safe-bottom));
  overflow-x: hidden;
}

/* Homepage: same masthead + nav as category pages; ticker sits inside header (see index.html) */
body.page-home {
  --header-h: calc(var(--brand-header-stack-h) + 2.25rem + var(--brand-mobile-cat-tabs-h));
}

/* GTA Radio page — old single-row header height */
body.header-layout-legacy {
  --header-h: 68px;
}

/* Fixed headline ticker bar (inner pages — sits below main nav) */
body.has-headline-ticker {
  padding-top: calc(var(--header-h) + var(--brand-mobile-cat-tabs-h) + 2.25rem + var(--safe-top));
}

/* Brand category hubs: masthead + nav + mobile tab strip (no in-body ticker row) */
body:has(#site-header.site-header--brand):not(.page-home):not(.has-headline-ticker):not(.header-layout-legacy) {
  padding-top: calc(var(--header-h) + var(--brand-mobile-cat-tabs-h) + var(--safe-top));
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-orange-dark); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* === LAYOUT === */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--content-pad);
}

.section { padding-block: var(--space-16); }
.section--sm { padding-block: var(--space-10); }
.section--lg { padding-block: var(--space-20); }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--brand-yellow);
  margin-bottom: var(--space-8);
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
  gap: var(--space-4);
}

.section-title-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.section-title-bar::before {
  content: '';
  display: block;
  width: 5px;
  height: 2em;
  background: var(--brand-yellow);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.view-all-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  white-space: nowrap;
}

.view-all-link svg { transition: transform var(--transition); }
.view-all-link:hover svg { transform: translateX(3px); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.625rem var(--space-5);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--brand-orange);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(254, 133, 38, 0.45);
  font-weight: 700;
}
.btn--primary:hover {
  background: var(--brand-orange-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(254, 133, 38, 0.5);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--brand-black);
  border: 2px solid var(--brand-orange);
}
.btn--outline:hover { background: var(--brand-orange); color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--ink-muted);
  border: 1.5px solid var(--sand-dark);
}
.btn--ghost:hover { border-color: var(--brand-yellow); color: var(--brand-black); }

.btn--cannabis {
  background: var(--green);
  color: var(--white);
}
.btn--cannabis:hover { background: #236030; color: var(--white); }

.btn--gold {
  background: var(--brand-black);
  color: var(--brand-yellow);
  font-weight: 700;
}
.btn--gold:hover { background: #2d2f2f; color: var(--brand-yellow); }

.btn--sm { padding: 0.4375rem var(--space-4); font-size: 0.8125rem; }
.btn--lg { padding: 0.875rem var(--space-8); font-size: 1.0625rem; }

/* === BADGE === */
.badge {
  display: inline-block;
  padding: 0.25em 0.7em;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: var(--brand-yellow) !important;
  color: var(--brand-black) !important;
  line-height: 1;
}

/* === CARD SHARED === */
.card-image { overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; aspect-ratio: 16/10; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.card-image:hover img { transform: scale(1.04); }

/* === SITE HEADER — legacy single row (body.header-layout-legacy; optional older shells) === */
#site-header:not(.site-header--brand) {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: var(--safe-top);
  height: calc(var(--header-h) + var(--safe-top));
  box-sizing: border-box;
  background: rgba(239, 239, 239, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--brand-yellow);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition-slow);
}

/* === SITE HEADER — unified masthead + dark nav (site-header--brand) === */
#site-header.site-header--brand {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: var(--safe-top);
  box-sizing: border-box;
  width: 100%;
  background: transparent;
  border: none;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  transition: box-shadow var(--transition), transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.site-masthead {
  width: 100%;
  background: #efefef;
  border-top: 4px solid #f3b237;
  border-bottom: 4px solid #fe8526;
  flex-shrink: 0;
}

.site-masthead__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem calc(var(--content-pad) + var(--safe-left)) 1.25rem calc(var(--content-pad) + var(--safe-right));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-3);
  min-height: 4.5rem;
}

.site-masthead__meta {
  grid-column: 1;
  justify-self: start;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1b1d1d;
}

.site-masthead__date {
  display: block;
  letter-spacing: 0.02em;
  color: #1b1d1d;
}

.site-masthead__weather {
  display: block;
  margin-top: 0.125rem;
  color: #1b1d1d;
}

.site-masthead__weather.is-loading {
  opacity: 0.5;
}

.site-wordmark {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-width: 0;
  max-width: 100%;
}

.site-wordmark__img {
  height: 70px;
  width: auto;
  max-width: min(420px, 88vw);
  object-fit: contain;
  display: block;
}

.site-masthead__radio {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-masthead__radio .radio-header-mini {
  max-width: min(100%, 18rem);
}

/* Header mini radio (all pages; masthead orange treatment on brand header) */
.radio-header-mini {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(243, 178, 55, 0.45);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.radio-header-mini__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: #fe8526;
  color: #fff;
  flex-shrink: 0;
}

.radio-header-mini__play.playing {
  background: #1b1d1d;
}

.radio-header-mini__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 140px;
}

.radio-header-mini__station {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f3b237;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.radio-header-mini__link {
  font-size: 0.625rem;
  font-weight: 700;
  color: #fe8526;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.radio-header-mini__link:hover {
  color: #fff;
}

#site-header.site-header--brand .site-masthead .radio-header-mini {
  background: #fe8526;
  border: 2px solid #fe8526;
  color: #ffffff;
}

#site-header.site-header--brand .site-masthead .radio-header-mini__station {
  color: #ffffff;
}

#site-header.site-header--brand .site-masthead .radio-header-mini__link {
  color: rgba(255, 255, 255, 0.95);
}

#site-header.site-header--brand .site-masthead .radio-header-mini__link:hover {
  color: #ffffff;
}

#site-header.site-header--brand .site-masthead .radio-header-mini__play {
  background: #ffffff;
  color: #fe8526;
}

#site-header.site-header--brand .site-masthead .radio-header-mini__play.playing {
  background: #1b1d1d;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.site-nav-bar {
  width: 100%;
  background: #1b1d1d;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(243, 178, 55, 0.25);
}

.site-nav-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 calc(var(--content-pad) + var(--safe-left)) 0 calc(var(--content-pad) + var(--safe-right));
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}

.site-nav-bar__dateline {
  display: none;
  min-width: 0;
}

#site-header.site-header--brand .site-header__mobile-cat-tabs {
  display: none;
}

#site-header.site-header--brand .site-nav {
  margin-left: 0;
  margin-right: auto;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-1);
}

#site-header.site-header--brand .nav-link {
  color: #f3b237;
  background: transparent;
  font-weight: 600;
}

#site-header.site-header--brand .nav-link:hover {
  color: #fe8526;
  background: rgba(254, 133, 38, 0.12);
}

#site-header.site-header--brand .nav-link.active {
  color: #f3b237;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  box-shadow: none;
}

#site-header.site-header--brand .nav-link svg {
  opacity: 0.9;
}

#site-header.site-header--brand .nav-link:hover svg,
#site-header.site-header--brand .nav-link.active svg {
  opacity: 1;
}

#site-header.site-header--brand .header-actions {
  margin-left: auto;
  flex-shrink: 0;
}

#site-header.site-header--brand #search-toggle,
#site-header.site-header--brand #mobile-nav-toggle {
  color: #f3b237;
}

#site-header.site-header--brand #search-toggle:hover,
#site-header.site-header--brand #mobile-nav-toggle:hover {
  background: rgba(254, 133, 38, 0.15);
  color: #fe8526;
}

#site-header.site-header--brand #search-input {
  background: #fff;
  border-color: rgba(243, 178, 55, 0.45);
  color: #1b1d1d;
}

/* Homepage: ticker row uses page cream — no dark band between nav and content */
body.page-home #site-header.site-header--brand > .headline-ticker {
  background: var(--cream);
  border-bottom: none;
}

#site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.header-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: calc(var(--content-pad) + var(--safe-left)) calc(var(--content-pad) + var(--safe-right));
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-width: 0;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--ink);
}

.site-logo__text {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
}

.site-logo__text span { color: var(--brand-orange); }

.site-logo img { height: 40px; width: auto; }

/* Desktop Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: auto;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover { color: var(--brand-yellow); background: rgba(243, 178, 55, 0.15); }
.nav-link.active:not(.nav-link--radio) {
  color: var(--brand-yellow);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--brand-yellow);
}

.nav-link--radio {
  background: var(--brand-yellow);
  color: var(--brand-black) !important;
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-weight: 700;
}
.nav-link--radio:hover { background: var(--brand-yellow-dark); color: var(--brand-black) !important; }

.nav-link svg { opacity: 0.7; flex-shrink: 0; }
.nav-link:hover svg, .nav-link.active svg { opacity: 1; }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: var(--space-2);
  flex-shrink: 0;
  min-width: 0;
}

/* Search */
#search-bar {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 0;
  overflow: hidden;
  transition: max-width 0.3s ease;
}

#search-bar.open { max-width: 220px; }

#search-input {
  width: 200px;
  padding: 0.4375rem var(--space-4);
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}

#search-input:focus { border-color: var(--brand-orange); }

#search-toggle {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--ink-muted);
  transition: all var(--transition);
}

#search-toggle:hover { background: var(--sand); color: var(--brand-yellow); }

/* Mobile toggle */
#mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--ink);
  transition: background var(--transition);
}

#mobile-nav-toggle:hover { background: var(--sand); }

/* Mobile Drawer */
#mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,20,18,0.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none; /* critical: invisible overlay must not steal taps */
  transition: opacity var(--transition);
}
#mobile-nav-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

#mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(300px, calc(100vw - var(--space-6)));
  max-width: calc(100vw - var(--safe-left) - var(--space-4));
  height: 100%;
  height: 100dvh;
  background: var(--cream);
  z-index: 210;
  padding: calc(var(--space-6) + var(--safe-top)) calc(var(--space-6) + var(--safe-right)) var(--space-6) calc(var(--space-6) + var(--safe-left));
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: right var(--transition-slow);
  box-shadow: var(--shadow-xl);
  pointer-events: none;
}
#mobile-nav-drawer.open {
  right: 0;
  pointer-events: auto;
}

#mobile-nav-close {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--ink-muted);
  margin-bottom: var(--space-4);
}
#mobile-nav-close:hover { background: var(--sand); color: var(--ink); }

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink-muted);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition);
}

.mobile-nav-link:hover { color: var(--brand-yellow); background: rgba(243, 178, 55, 0.12); }
.mobile-nav-link.active {
  color: var(--brand-yellow);
  font-weight: 700;
  background: rgba(243, 178, 55, 0.18);
  border-left: 3px solid var(--brand-yellow);
}
.mobile-nav-link--radio { color: var(--brand-black); background: var(--brand-yellow); border-radius: var(--radius-md); font-weight: 700; }
.mobile-nav-link--radio:hover { background: var(--brand-yellow-dark); color: var(--brand-black); }
.mobile-nav-link svg { flex-shrink: 0; }

.mobile-nav-divider { height: 1px; background: var(--sand); margin-block: var(--space-2); }

/* === HEADLINE TICKER (homepage + inner pages) === */
.headline-ticker {
  background: var(--cream);
  overflow: hidden;
  border-bottom: 2px solid #f3b237;
}

.headline-ticker--fixed {
  position: fixed;
  top: calc(var(--header-h) + var(--brand-mobile-cat-tabs-h) + var(--safe-top));
  left: 0;
  right: 0;
  z-index: 99;
}

.headline-ticker__label {
  flex-shrink: 0;
  padding: 0 var(--space-4);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f3b237;
  background: rgba(243, 178, 55, 0.12);
  display: flex;
  align-items: center;
}

.headline-ticker__viewport {
  display: flex;
  align-items: stretch;
  min-height: 2.25rem;
  overflow: hidden;
}

.headline-ticker__scroll-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--ink);
}

.headline-ticker__track {
  display: inline-flex;
  align-items: center;
  gap: var(--space-10);
  white-space: nowrap;
  animation: ht-ticker 120s linear infinite;
  padding: var(--space-2) 0;
  will-change: transform;
}

.headline-ticker__track:hover { animation-play-state: paused; }

.headline-ticker__track a {
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.headline-ticker__track a:hover {
  color: var(--brand-orange);
  text-decoration: underline;
}

.headline-ticker__sep {
  color: rgba(27, 29, 29, 0.42);
  font-weight: 400;
}

@keyframes ht-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === HERO MOSAIC === */
.hero-mosaic { background: var(--ink); }

.hero-mosaic__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  height: 560px;
  gap: 3px;
}

.hero-tile {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: var(--white);
}

.hero-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,20,18,0.85) 0%, rgba(26,20,18,0.3) 50%, rgba(26,20,18,0.05) 100%);
  transition: background var(--transition);
}

.hero-tile:hover .hero-tile__overlay { background: linear-gradient(to top, rgba(26,20,18,0.9) 0%, rgba(26,20,18,0.35) 50%, rgba(26,20,18,0.1) 100%); }

.hero-tile__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8);
  padding-inline: calc(var(--space-8) + var(--safe-left)) calc(var(--space-8) + var(--safe-right));
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hero-tile--main .hero-tile__content {
  padding: var(--space-10);
  padding-inline: calc(var(--space-10) + var(--safe-left)) calc(var(--space-10) + var(--safe-right));
}

.hero-theme-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
}

.hero-cat-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero-tile__title {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.15;
  margin: 0;
}

.hero-tile--main .hero-tile__title { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 900; }
.hero-tile--sm .hero-tile__title { font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 700; }

.hero-tile__sub {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: var(--space-2);
  transition: gap var(--transition);
}

.hero-tile:hover .hero-tile__cta { gap: var(--space-3); }

.hero-tiles__side {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-tile--sm { height: 100%; }

/* === EDITORIAL GRID === */
.editorial-grid-section { background: var(--cream); }

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

/* Article Card */
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm), inset 0 3px 0 0 rgba(243, 178, 55, 0.45);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

@media (hover: hover) and (pointer: fine) {
  .article-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
  }

  body[data-page="category"] .article-card:hover,
  body[data-page="news"] .article-card:hover,
  body[data-page="cannabis"] .article-card:hover {
    border-left-color: var(--brand-orange);
  }

  body[data-page="events"] .event-page-card:hover {
    border-left-color: var(--brand-orange);
  }
}

body[data-page="category"] .article-card,
body[data-page="news"] .article-card,
body[data-page="cannabis"] .article-card {
  border-left: 3px solid transparent;
}

body[data-page="events"] .event-page-card {
  border-left: 3px solid transparent;
}

.article-card__image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.article-card__image img,
.article-card__image .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

@media (hover: hover) and (pointer: fine) {
  .article-card:hover .article-card__image img { transform: scale(1.04); }
}

.article-card__image-link {
  position: relative;
  display: block;
  text-decoration: none;
}

.article-card__image-link .badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 1;
}

.article-card__body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.article-card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__title a { color: var(--ink); text-decoration: none; }
.article-card__title a:hover { color: var(--brand-orange); }

.article-card__excerpt {
  font-size: 0.875rem;
  color: var(--ink-light);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(243, 178, 55, 0.35);
  font-size: 0.75rem;
  color: var(--ink-light);
}

.article-card__meta span { display: flex; align-items: center; gap: var(--space-1); }

/* Large article card variant */
.article-card--large .article-card__image { aspect-ratio: 16/9; }
.article-card--large .article-card__title { font-size: 1.25rem; -webkit-line-clamp: 4; }

/* === CANNABIS SPOTLIGHT === */
.cannabis-spotlight {
  background: linear-gradient(135deg, #1a3d20 0%, #2d7a3a 60%, #1a3d20 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cannabis-spotlight::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(243,178,52,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cannabis-spotlight .section-title { color: var(--white); }
.cannabis-spotlight .section-title-bar::before { background: var(--gold); }

.cannabis-spotlight .view-all-link { color: var(--gold); }
.cannabis-spotlight .view-all-link:hover { color: var(--gold-light); }

/* Deals grid */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-10);
}

.deal-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
}

.deal-card:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.deal-card--featured { border-color: rgba(243,178,52,0.5); }

.deal-card__image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.deal-card__image img,
.deal-card__image .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.deal-card:hover .deal-card__image img { transform: scale(1.04); }

.deal-featured-badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  padding: 0.25em 0.75em;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.deal-card__body {
  padding: var(--space-4);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.deal-brand {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.deal-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.3;
}

.deal-dispensary {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
}

.deal-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-3);
  gap: var(--space-2);
}

.deal-expiry {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
}

/* === EVENTS SECTION === */
.events-section { background: var(--cream); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 0;
  flex-direction: column;
  transition: all var(--transition);
}

.event-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.event-card__date-badge {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-4);
  background: var(--brand-yellow);
  color: var(--brand-black);
}

.event-card__day {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
}

.event-card__mon {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.event-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.event-card__image img,
.event-card__image .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__body {
  padding: var(--space-4);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.event-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.event-card__title a { color: var(--ink); }
.event-card__title a:hover { color: var(--brand-orange); }

.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 0.8125rem;
  color: var(--ink-light);
}

.event-venue { color: var(--ink-muted); font-weight: 500; }
.event-city  { color: var(--ink-light); }
.event-time  { color: var(--brand-orange); font-weight: 600; }

/* === DISPENSARY HIGHLIGHTS === */
.dispensary-section { background: var(--cream); }

.dispensary-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.dispensary-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.dispensary-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.dispensary-card--featured { box-shadow: var(--shadow-md); }

.dispensary-card__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.dispensary-card__image img,
.dispensary-card__image .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.dispensary-card:hover .dispensary-card__image img { transform: scale(1.04); }

.dispensary-card__image-link { display: block; position: relative; text-decoration: none; }

.featured-ribbon {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  padding: 0.25em 0.75em;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.dispensary-card__body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.dispensary-card__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}

.dispensary-card__name a { color: var(--ink); }
.dispensary-card__name a:hover { color: var(--brand-orange); }

.dispensary-card__city {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.8125rem;
  color: var(--ink-light);
}

.dispensary-card__address { font-size: 0.8125rem; color: var(--ink-light); }

.dispensary-card__status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.25em 0.6em;
  border-radius: var(--radius-full);
  width: fit-content;
}

.dispensary-card__status.open { background: var(--green-light); color: var(--green); }
.dispensary-card__status.closed { background: #fde8e8; color: var(--ember); }

.dispensary-card__status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.dispensary-card__actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--space-4);
}

/* === DISPENSARIES PAGE === */
.dispensary-page { background: var(--cream); }
.dispensary-page .section-title { margin-bottom: var(--space-6); }

.disp-filterbar {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr auto;
  gap: var(--space-4);
  align-items: end;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--sand);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-8);
}

.disp-filterbar__field { min-width: 0; }
.disp-filterbar__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.disp-filterbar__input,
.disp-filterbar__select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--sand-dark);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.disp-filterbar__input:focus,
.disp-filterbar__select:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(254, 133, 38, 0.2);
}

.disp-filterbar__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
  white-space: nowrap;
  color: var(--ink-light);
  font-size: 0.875rem;
  font-weight: 600;
}

.disp-filterbar__clear {
  padding: 0.65rem 1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--sand-dark);
  background: var(--white);
  color: var(--ink-muted);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.disp-filterbar__clear:hover { border-color: var(--brand-orange); color: var(--brand-orange); }

.dispensary-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-top: var(--space-2);
}

.dispensary-card__hours {
  margin-top: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--sand);
  font-size: 0.8125rem;
  color: var(--ink-light);
  display: grid;
  gap: 0.25rem;
}

.dispensary-card__hours strong {
  color: var(--ink-muted);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.6875rem;
}

.city-filters {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.filter-btn {
  padding: var(--space-2) var(--space-4);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--sand-dark);
  color: var(--ink-muted);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover { border-color: var(--brand-orange); color: var(--brand-orange); }
.filter-btn.active { background: var(--brand-orange); border-color: var(--brand-orange); color: var(--white); }

#dispensary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* Cannabis hub — horizontal dispensary preview row */
.cannabis-dispensary-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  margin-inline: calc(-1 * var(--content-pad));
  padding-inline: var(--content-pad);
  padding-bottom: var(--space-2);
}

.cannabis-dispensary-scroll #cannabis-dispensary-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--space-4);
  width: max-content;
  min-height: 0;
  padding-block: var(--space-1);
}

.cannabis-dispensary-scroll #cannabis-dispensary-grid:has(> .empty-msg:only-child) {
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
}

.cannabis-dispensary-scroll #cannabis-dispensary-grid > .dispensary-card--cannabis-row {
  flex: 0 0 auto;
  width: min(340px, calc(100vw - 2.5rem));
  height: auto;
  min-height: 0;
  flex-direction: row;
  align-items: flex-start;
  scroll-snap-align: start;
  overflow: hidden;
  padding: var(--space-4);
  gap: var(--space-3);
  box-sizing: border-box;
}

.cannabis-dispensary-scroll .dispensary-card--cannabis-row:hover {
  transform: translateY(-2px);
}

.cannabis-dispensary-scroll .dispensary-card__monogram {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1b1d1d;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
  margin-top: 2px;
  transition: background var(--transition), color var(--transition);
}

.cannabis-dispensary-scroll .dispensary-card__monogram:hover {
  background: #2d2f2f;
  color: var(--gold-light);
}

.cannabis-dispensary-scroll .dispensary-card--cannabis-row .dispensary-card__body {
  flex: 1;
  min-width: 0;
  padding: 0;
  gap: var(--space-2);
  overflow: visible;
  justify-content: flex-start;
}

.cannabis-dispensary-scroll .dispensary-card--cannabis-row .dispensary-card__name {
  font-size: 1rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.cannabis-dispensary-scroll .dispensary-card--cannabis-row .dispensary-card__address {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--ink-light);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  white-space: normal;
  word-break: break-word;
}

.cannabis-dispensary-scroll .dispensary-card--cannabis-row .dispensary-card__city {
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cannabis-dispensary-scroll .dispensary-card--cannabis-row .dispensary-card__tags {
  padding-top: 0;
  gap: var(--space-1);
  flex-wrap: wrap;
}

.cannabis-dispensary-scroll .dispensary-card--cannabis-row .dispensary-card__hours {
  display: none;
}

.cannabis-dispensary-scroll .dispensary-card--cannabis-row .dispensary-card__actions {
  margin-top: auto;
  padding-top: var(--space-2);
  flex-wrap: wrap;
  gap: var(--space-2);
}

.cannabis-dispensary-scroll .dispensary-card--cannabis-row .dispensary-card__actions .btn {
  font-size: 0.75rem;
  padding: 0.4rem 0.65rem;
}

.cannabis-dispensary-scroll .empty-msg {
  flex: 1 1 100%;
  width: 100%;
  min-width: 100%;
  text-align: center;
  padding: var(--space-6) var(--content-pad);
  margin: 0;
}

.cannabis-dispensary-skeleton {
  flex: 0 0 auto;
  width: min(340px, calc(100vw - 2.5rem));
  min-height: 148px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  box-sizing: border-box;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  scroll-snap-align: start;
}

.cannabis-dispensary-skeleton__monogram {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #1b1d1d;
}

.cannabis-dispensary-skeleton__body {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 0;
}

.cannabis-dispensary-skeleton__body .skeleton-line {
  margin: 0;
}

.cannabis-dispensary-section.section {
  padding-block: var(--space-8);
}

.cannabis-dispensary-section .section-header {
  margin-bottom: var(--space-4);
}

.cannabis-dispensary-section .section-title {
  margin-bottom: 0;
}

@media (max-width: 1000px) {
  .disp-filterbar { grid-template-columns: 1fr 1fr; }
  .disp-filterbar__meta { grid-column: 1 / -1; justify-content: space-between; }
}

@media (max-width: 560px) {
  .disp-filterbar { grid-template-columns: 1fr; }
  .disp-filterbar__meta { justify-content: space-between; }
}

/* === ARTICLE PAGE === */
.article-page { background: var(--cream); }

/* Article pages: stacked hero card (matches category featured card layout) */
.article-page-hero {
  padding-top: var(--space-6);
}

.article-page-hero-card {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

.article-page-hero__image {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
  max-height: 260px;
}

@media (min-width: 641px) {
  .article-page-hero__image {
    max-height: 420px;
  }
}

.article-page-hero__body #article-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 var(--space-4);
}

.article-page-hero__body #article-excerpt {
  margin-top: 0;
}

/* Featured video (Sanity file) — embedded in article body ~60% through text */
.article-body .article-featured-video--in-body {
  width: 100%;
  margin-block: var(--space-10);
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.article-body .article-featured-video--in-body .article-featured-video__el {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(70vh, 720px);
  margin: 0 auto;
  background: #000;
  border-radius: 0;
}

/* Legacy .article-header retained for old markup; hero card now contains meta/title. */
.article-header {
  max-width: 820px;
  margin-inline: auto;
  padding: var(--space-12) calc(var(--content-pad) + var(--safe-left)) var(--space-12) calc(var(--content-pad) + var(--safe-right));
}

#article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  font-size: 0.875rem;
  color: var(--ink-light);
}

#article-meta .badge { font-size: 0.75rem; }

#article-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: var(--space-5);
}

#article-excerpt {
  font-size: 1.125rem;
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 700px;
  border-left: 3px solid var(--brand-orange);
  padding-left: var(--space-5);
  display: none;
}

.article-layout {
  max-width: 820px;
  margin-inline: auto;
  padding: var(--space-10) calc(var(--content-pad) + var(--safe-left)) var(--space-10) calc(var(--content-pad) + var(--safe-right));
}

/* Article body typography */
.article-body {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--ink-muted);
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.article-body .body-normal { margin-bottom: var(--space-5); }
.article-body h2 { color: var(--ink); margin-top: var(--space-10); margin-bottom: var(--space-4); font-size: 1.75rem; }
.article-body h3 { color: var(--ink); margin-top: var(--space-8); margin-bottom: var(--space-3); font-size: 1.375rem; }
.article-body h4 { color: var(--ink); margin-top: var(--space-6); margin-bottom: var(--space-3); }
.article-body blockquote { border-left: 4px solid var(--brand-orange); margin-block: var(--space-8); padding: var(--space-5) var(--space-6); background: var(--cream-dark); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-style: italic; font-size: 1.125rem; color: var(--ink-muted); }
.article-body a { color: var(--brand-orange); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--brand-orange-dark); }
.article-body .article-list { margin-block: var(--space-5); padding-left: var(--space-6); }
.article-body ul.article-list { list-style: disc; }
.article-body ol.article-list { list-style: decimal; }
.article-body .article-list li { margin-bottom: var(--space-2); }
.article-body .article-image { margin-block: var(--space-8); border-radius: var(--radius-lg); overflow: hidden; }
.article-body .article-image img { width: 100%; }
.article-body .article-image figcaption { font-size: 0.875rem; color: var(--ink-light); text-align: center; padding: var(--space-2) var(--space-4); font-style: italic; }
.article-body code { font-family: 'Fira Code', monospace; background: var(--cream-dark); padding: 0.1em 0.4em; border-radius: var(--radius-sm); font-size: 0.9em; color: var(--ember); }
.article-body strong { color: var(--ink); }

/* Additional images (Sanity additionalImages) — after lead paragraphs */
.article-body .article-additional-images {
  margin-block: var(--space-10);
}

.article-body .article-additional-images--single .article-additional-images__item {
  margin: 0;
}

.article-body .article-additional-images--single .article-additional-images__item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.article-body .article-additional-images--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.article-body .article-additional-images__item {
  margin: 0;
}

.article-body .article-additional-images__item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.article-body .article-additional-images__caption {
  margin-top: var(--space-2);
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--ink-light);
  text-align: center;
}

.article-page .article-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--sand);
}

.article-page .article-share span {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.article-page .share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  border: 1.5px solid var(--sand-dark);
  color: var(--ink-muted);
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.article-page .share-btn:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

/* Related articles */
.related-section { background: var(--cream); padding-block: var(--space-12); }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }

/* === AFFILIATE ADS (article page) === */
.affiliate-ads {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--sand);
}

.affiliate-ads__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.affiliate-ads__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.affiliate-ads__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.affiliate-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--sand);
}

.affiliate-card__link { display: block; color: inherit; text-decoration: none; }
.affiliate-card__image { aspect-ratio: 16/10; overflow: hidden; }
.affiliate-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.affiliate-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.affiliate-card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}

.affiliate-card__desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.affiliate-card__cta {
  margin-top: auto;
  font-weight: 800;
  color: var(--brand-orange);
}

@media (max-width: 900px) {
  .affiliate-ads__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .affiliate-ads__grid { grid-template-columns: 1fr; }
}

/* === EVENTS PAGE === */
.events-page { background: var(--cream); }

/* === FOOD PAGE — featured + Top 25 row === */
.food-page-main #food-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.food-page-featured {
  padding-top: var(--space-2);
}

.food-page-featured__inner .article-card--large {
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Shorter hero so the featured story does not fill the viewport */
.food-page-featured__inner .article-card--large .article-card__image {
  max-height: 220px;
  width: 100%;
}

@media (min-width: 641px) {
  .food-page-featured__inner .article-card--large .article-card__image {
    max-height: 350px;
  }
}

.food-page-featured__inner .article-card--large .article-card__image-link {
  display: block;
  width: 100%;
}

.food-top25 {
  padding-bottom: var(--space-2);
}

.food-top25__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  color: var(--brand-yellow);
  margin: 0 0 var(--space-4);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.food-top25__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.food-top25__tab {
  padding: 0.4rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--sand-dark);
  background: var(--white);
  color: var(--ink-muted);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.food-top25__tab:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.food-top25__tab.is-active {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: var(--white);
}

.food-top25__scroll-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  margin-inline: calc(-1 * var(--content-pad));
  padding-inline: var(--content-pad);
  padding-bottom: var(--space-2);
}

.food-top25__row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: var(--space-4);
  width: max-content;
  min-height: 8rem;
  align-items: stretch;
}

.food-top25__loading,
.food-top25__empty {
  font-size: 0.875rem;
  color: var(--ink-light);
  font-style: italic;
  padding: var(--space-4) 0;
  width: 100%;
  min-width: min(100%, 20rem);
}

.food-spot-card {
  flex: 0 0 auto;
  width: min(260px, calc(100vw - 3rem));
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sand);
  transition: box-shadow var(--transition), transform var(--transition);
}

.food-spot-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.food-spot-card--featured {
  border-color: rgba(243, 178, 55, 0.45);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(243, 178, 55, 0.2);
}

.food-spot-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand);
}

.food-spot-card__media img,
.food-spot-card__media .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.food-spot-card__media .food-spot-card__monogram {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.food-spot-card__monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #2a2520 0%, #141210 100%);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 11vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  user-select: none;
}

.food-spot-card__badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  padding: 0.2em 0.55em;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--ink);
}

.food-spot-card__body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
  min-height: 0;
}

.food-spot-card__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  color: var(--ink);
}

.food-spot-card__cuisine {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ink-light);
  line-height: 1.35;
}

.food-spot-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
}

.food-spot-card__stars {
  display: inline-flex;
  gap: 1px;
  color: var(--sand-dark);
}

.food-spot-card__star.is-on {
  color: var(--gold);
}

.food-spot-card__stars--none {
  color: var(--ink-light);
  font-size: 0.75rem;
  font-style: italic;
}

.food-spot-card__price {
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.food-spot-card__cta {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 640px) {
  .food-top25__tabs {
    gap: var(--space-1);
  }

  .food-top25__tab {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
  }
}

/* Category / section pages — minimal cream title strip (aligns with .container) */
.category-page-hero {
  background: var(--cream);
  text-align: left;
  padding-block: var(--space-2) 0;
}

.category-page-hero .container {
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(243, 178, 55, 0.42);
}

.category-page-hero__title,
.category-page-hero h1,
.category-page-hero h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-yellow);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Tight main below strip + leaderboard (replaces .section top padding on hub pages) */
main.category-page-main {
  padding-top: var(--space-4);
  padding-bottom: var(--space-16);
}

main.category-page-main > .cannabis-section--dark:first-child {
  padding-top: var(--space-6);
}

/* Classes hub — coming soon (stamp / banner treatment) */
.classes-page-main {
  min-height: min(62vh, 36rem);
}

.classes-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-12) var(--space-4) var(--space-16);
  box-sizing: border-box;
}

.classes-coming-soon__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--gold);
  margin: 0 0 var(--space-10);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.classes-coming-soon__stamp {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 6.5vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a3208;
  background: linear-gradient(
    165deg,
    var(--gold-light) 0%,
    var(--gold) 42%,
    var(--brand-yellow-dark) 100%
  );
  border: 4px double rgba(74, 50, 8, 0.55);
  padding: 0.5em 1.1em 0.45em;
  transform: rotate(-2.75deg);
  border-radius: 3px;
  box-shadow:
    0 0 0 3px rgba(243, 178, 55, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 14px 32px rgba(27, 29, 29, 0.16);
  line-height: 1.05;
}

.events-date-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.events-date-tabs .filter-btn {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}

.events-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-5);
  align-items: stretch;
}

.event-page-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm), inset 0 3px 0 0 rgba(243, 178, 55, 0.45);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

@media (hover: hover) and (pointer: fine) {
  .event-page-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
  }
}

.event-page-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.event-page-card__image img,
.event-page-card__image .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-page-card__body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}

.event-page-card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}

.event-page-card__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  font-size: 0.8125rem;
  color: var(--ink-light);
  width: 100%;
}

.event-page-card__venue { color: var(--ink-muted); }

.event-page-card__cta { margin-top: auto; }

.event-page-card--expandable { cursor: pointer; }

.event-page-card__expand {
  width: 100%;
  border-top: 1px solid var(--sand);
  background: var(--sand);
}

.event-page-card__expand-inner {
  padding: var(--space-5);
}

.event-page-card__details {
  margin: 0 0 var(--space-4);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2) var(--space-4);
  font-size: 0.875rem;
  align-items: start;
}

.event-page-card__details dt {
  margin: 0;
  font-weight: 700;
  color: var(--ink-muted);
}

.event-page-card__details dd {
  margin: 0;
  color: var(--ink);
}

.event-page-card__description {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

.event-page-card__description p {
  margin: 0 0 var(--space-3);
}

.event-page-card__description p:last-child {
  margin-bottom: 0;
}

.event-page-card__nodesc {
  font-size: 0.875rem;
  color: var(--ink-light);
  margin: 0;
}

button.event-page-card__toggle {
  cursor: pointer;
  text-align: center;
}

.events-list { display: flex; flex-direction: column; gap: var(--space-5); }

.event-full-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 0;
  overflow: hidden;
  transition: all var(--transition);
}

.event-full-card:hover { box-shadow: var(--shadow-lg); transform: translateX(4px); }

.event-full-date {
  flex-shrink: 0;
  width: 80px;
  background: var(--brand-yellow);
  color: var(--brand-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: var(--space-4);
}

.event-full-day { font-family: var(--font-display); font-size: 2rem; font-weight: 900; line-height: 1; }
.event-full-mon { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.05em; }
.event-full-dow { font-size: 0.6875rem; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.04em; }

.event-full-image {
  flex-shrink: 0;
  width: 180px;
  overflow: hidden;
}

.event-full-image img { width: 100%; height: 100%; object-fit: cover; }

.event-full-body {
  padding: var(--space-5) var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  justify-content: center;
}

.event-full-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.event-full-title a { color: var(--ink); }
.event-full-title a:hover { color: var(--brand-orange); }

.event-full-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: 0.875rem;
  color: var(--ink-light);
}

.event-full-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.event-full-desc { font-size: 0.9375rem; color: var(--ink-muted); line-height: 1.6; margin: 0; }

/* === CANNABIS PAGE === */
.cannabis-page { background: var(--cream); }

.cannabis-section--dark { background: linear-gradient(135deg, #1a3d20 0%, #2d7a3a 100%); padding-block: var(--space-16); }
.cannabis-section--dark .section-title { color: var(--white); }
.cannabis-section--dark .section-title-bar::before { background: var(--gold); }
.cannabis-section--dark .view-all-link { color: var(--gold); }

/* === LISTING PAGE === */
.listing-page { background: var(--cream); }

.listing-hero {
  height: clamp(220px, 38vw, 400px);
  min-height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
  position: relative;
}

.listing-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,20,18,0.4) 0%, rgba(26,20,18,0.7) 100%);
}

.listing-header {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: var(--space-10) calc(var(--content-pad) + var(--safe-left)) var(--space-10) calc(var(--content-pad) + var(--safe-right));
}

#listing-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: var(--space-4);
}

#listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

#listing-meta a { color: var(--brand-orange); }

.listing-layout {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: var(--space-10) var(--content-pad);
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-10);
  align-items: start;
}

.listing-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--space-6));
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--ink);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--sand);
  font-size: 0.875rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-day { font-weight: 600; color: var(--ink); }
.hours-time { color: var(--ink-muted); }

.amenity-tag {
  display: inline-flex;
  padding: 0.3em 0.75em;
  background: var(--brand-yellow);
  border: 1px solid rgba(27, 29, 29, 0.08);
  color: var(--brand-black);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin: 0.25rem;
}

#listing-socials {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--cream-dark);
  border-radius: var(--radius-full);
  color: var(--ink-muted);
  transition: all var(--transition);
}

.social-link:hover { background: var(--brand-yellow); color: var(--brand-black); }

/* === SITE FOOTER === */
.site-footer {
  background: var(--brand-black);
  color: rgba(255, 255, 255, 0.82);
  padding-block: var(--space-12) var(--space-8);
  margin-bottom: calc(var(--radio-h) + var(--safe-bottom));
}

.footer-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: calc(var(--content-pad) + var(--safe-left)) calc(var(--content-pad) + var(--safe-right));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-brand .site-logo { color: var(--white); margin-bottom: var(--space-4); }
.footer-brand .site-logo__text { color: var(--white); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: var(--space-5); }

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: transparent;
  color: #f3b237;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.footer-social:hover {
  color: #fff;
  background: rgba(243, 178, 55, 0.22);
  transform: translateY(-1px);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin-bottom: var(--space-4);
}

.footer-links { display: flex; flex-direction: column; gap: var(--space-2); }

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--brand-yellow); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

.footer-legal { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.footer-legal a { color: rgba(255, 255, 255, 0.45); }
.footer-legal a:hover { color: var(--brand-yellow); }

.footer-affiliate {
  max-width: 70ch;
  line-height: 1.5;
  color: rgba(255,255,255,0.4);
}

.footer-affiliate a {
  color: var(--brand-yellow);
  text-decoration: none;
}

.footer-affiliate a:hover { color: #fff; }

/* === RADIO PLAYER === */
#radio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--radio-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  box-sizing: border-box;
  background: rgba(22,16,13,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 1000;
  transition: transform var(--transition-slow);
}

#radio-player.radio-mini { transform: translateY(calc(100% - 28px)); }

.radio-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: calc(var(--content-pad) + var(--safe-left)) calc(var(--content-pad) + var(--safe-right));
  height: var(--radio-h);
  min-height: var(--radio-h);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-width: 0;
}

.radio-toggle-btn {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(22,16,13,0.97);
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom: none;
  color: var(--brand-yellow);
  width: 64px;
  height: 28px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--transition);
  z-index: 1;
}

.radio-toggle-btn:hover { color: var(--brand-yellow-light); }

#radio-player.radio-mini .radio-toggle-btn svg { transform: rotate(180deg); }

.radio-cover {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}

.radio-cover img { width: 100%; height: 100%; object-fit: cover; }

.radio-info { flex: 1; min-width: 0; }

.radio-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin-bottom: 1px;
}

.radio-station-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.radio-genre {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.radio-controls {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.radio-loading {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.radio-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.radio-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}

.radio-play-btn:hover { background: var(--brand-orange-dark); transform: scale(1.05); }
.radio-play-btn.playing { background: var(--brand-yellow); color: var(--brand-black); }

.radio-volume-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.4);
}

.radio-volume {
  width: 80px;
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
}

.radio-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-yellow);
  cursor: pointer;
  transition: transform var(--transition);
}

.radio-volume::-webkit-slider-thumb:hover { transform: scale(1.3); }

.radio-station-picker { position: relative; }

.radio-pick-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.radio-pick-btn:hover { background: rgba(255,255,255,0.14); color: var(--white); }

.radio-station-list {
  position: absolute;
  bottom: calc(100% + var(--space-2));
  right: 0;
  width: 240px;
  background: rgba(22,16,13,0.98);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.radio-station-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-3) var(--space-4);
  transition: background var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
}

.radio-station-item:last-child { border-bottom: none; }
.radio-station-item:hover { background: rgba(255,255,255,0.08); }
.radio-station-item.active { background: rgba(243,178,52,0.15); }

.station-item-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.station-item-genre {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 1px;
}

.radio-close-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  margin-left: auto;
}

.radio-close-btn:hover { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.06); }

/* === SKELETON LOADING === */
@keyframes shimmer {
  from { background-position: -400px 0; }
  to   { background-position: 400px 0; }
}

.skeleton-card,
.skeleton-list-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.skeleton-img {
  width: 100%;
  aspect-ratio: 16/10;
}

.skeleton-img.tall { aspect-ratio: 4/3; }

.skeleton-sq {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
}

.skeleton-img, .skeleton-sq, .skeleton-line {
  background: linear-gradient(90deg, #f0ebe5 25%, #e8e0d8 50%, #f0ebe5 75%);
  background-size: 400px 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

.skeleton-line {
  height: 14px;
  border-radius: var(--radius-full);
  margin: var(--space-2) var(--space-4);
}

.skeleton-line.w-20 { width: 20%; }
.skeleton-line.w-30 { width: 30%; }
.skeleton-line.w-50 { width: 50%; }
.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-80 { width: 80%; }
.skeleton-line.w-100 { width: calc(100% - 2rem); }

.skeleton-list-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
}

.skeleton-text { flex: 1; display: flex; flex-direction: column; gap: var(--space-2); }
.skeleton-text .skeleton-line { margin: 0; }

/* === UTILITIES === */
.empty-msg {
  text-align: center;
  color: var(--ink-light);
  font-style: italic;
  padding: var(--space-10);
  grid-column: 1 / -1;
}

.error-state {
  text-align: center;
  padding: var(--space-16) var(--content-pad);
  max-width: 500px;
  margin-inline: auto;
}

.error-state h1 { margin-bottom: var(--space-4); }
.error-state p { color: var(--ink-muted); margin-bottom: var(--space-6); }

.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === ABOUT — discreet partner line === */
.about-awin-note {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-light);
  opacity: 0.72;
  margin: var(--space-10) 0 0;
  text-align: center;
  letter-spacing: 0.04em;
}

/* === PAGE HERO SECTIONS === */
.page-hero {
  /* legacy — match minimal category strip if used */
  background: var(--cream);
  text-align: left;
  padding-block: var(--space-2) 0;
}

.page-hero .container {
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(243, 178, 55, 0.42);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-yellow);
  margin: 0;
}
.page-hero p {
  color: var(--ink-light);
  font-size: 1rem;
  max-width: 560px;
  margin-top: var(--space-2);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--ink-light);
  margin-bottom: var(--space-6);
  max-width: 100%;
}
.breadcrumb a { color: var(--brand-orange); }
.breadcrumb svg { color: var(--ink-light); opacity: 0.5; }

/* === RESPONSIVE ============================================================ */

@media (max-width: 1100px) {
  .deals-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

@media (max-width: 900px) {
  :root { --radio-h: 64px; }

  .site-nav { display: none; }
  #mobile-nav-toggle { display: flex; }
  #mobile-nav-overlay { display: block; }

  .header-inner {
    justify-content: space-between;
    gap: var(--space-2);
  }

  .site-nav-bar__inner {
    justify-content: flex-end;
    gap: var(--space-2);
  }

  .header-actions {
    margin-left: 0;
    flex-shrink: 0;
  }

  .hero-mosaic__grid {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .hero-tiles__side { flex-direction: row; height: 240px; }
  .hero-tile--main { height: 440px; }
  .hero-tile--main .hero-tile__content {
    padding: var(--space-6);
    padding-inline: calc(var(--space-6) + var(--safe-left)) calc(var(--space-6) + var(--safe-right));
  }

  .editorial-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
  .deals-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .dispensary-highlights { grid-template-columns: repeat(2, 1fr); }
  #dispensary-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-layout { grid-template-columns: 1fr; }
  .listing-sidebar { position: static; }

  .radio-volume-wrap { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root {
    --content-pad: 1rem;
    --brand-header-stack-h: 152px;
    --header-h: var(--brand-header-stack-h);
  }

  body.page-home {
    --header-h: calc(var(--brand-header-stack-h) + 2.25rem + var(--brand-mobile-cat-tabs-h));
  }

  body.header-layout-legacy {
    --header-h: 60px;
  }

  .site-wordmark__img {
    height: 50px;
    max-width: min(72vw, 300px);
  }

  .site-masthead__inner {
    padding-block: 1rem;
    min-height: 3.75rem;
  }

  .headline-ticker__label {
    display: none;
  }

  .events-date-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: var(--space-2);
    padding-bottom: var(--space-2);
    margin-inline: calc(-1 * var(--content-pad));
    padding-inline: var(--content-pad);
    scrollbar-width: thin;
  }

  .events-date-tabs .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    min-width: max-content;
  }

  .event-page-card__body {
    flex: 0 1 auto;
    gap: var(--space-2);
  }

  .event-page-card__cta {
    margin-top: var(--space-3);
  }

  #search-bar.open {
    max-width: min(240px, calc(100vw - 7.5rem));
  }

  #search-input {
    width: 100%;
    min-width: 0;
    font-size: 16px; /* avoids iOS zoom on focus */
  }

  .filter-btn {
    min-height: 44px;
    padding-inline: var(--space-5);
  }

  /* Single featured hero + card chrome aligned with editorial cards */
  .hero-mosaic {
    background: var(--cream);
    padding-block: var(--space-4);
    padding-inline: calc(var(--content-pad) + var(--safe-left)) calc(var(--content-pad) + var(--safe-right));
  }

  .hero-mosaic__grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    height: auto;
  }

  .hero-tiles__side {
    display: none;
  }

  .hero-tile--main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 300px;
    height: clamp(300px, 48dvh, 440px);
  }

  .hero-tile--main .hero-tile__content {
    padding: var(--space-6);
    padding-inline: var(--space-6);
  }

  .events-page-grid--scroll {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: var(--space-4);
    padding-bottom: var(--space-3);
    margin-inline: calc(-1 * var(--content-pad));
    padding-inline: var(--content-pad);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .events-page-grid--scroll .event-page-card {
    flex: 0 0 min(300px, calc(100vw - 2.5rem));
    scroll-snap-align: start;
  }

  .events-page-grid--scroll .skeleton-card {
    flex: 0 0 min(300px, calc(100vw - 2.5rem));
    scroll-snap-align: start;
  }

  .editorial-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .deals-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .dispensary-highlights { grid-template-columns: 1fr; }
  #dispensary-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }

  .event-full-card { flex-direction: column; }
  .event-full-date { width: 100%; flex-direction: row; justify-content: flex-start; gap: var(--space-3); padding: var(--space-3) var(--space-4); }
  .event-full-image { width: 100%; height: 180px; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .radio-inner { gap: var(--space-3); }
  .radio-station-list { width: min(200px, calc(100vw - 2rem)); right: max(-40px, calc(-1 * var(--safe-right))); }

  .article-body h2 { font-size: 1.375rem; }
  .article-body h3 { font-size: 1.125rem; }
  .article-body blockquote {
    padding: var(--space-4);
    margin-inline: 0;
    font-size: 1rem;
  }

  .article-header { padding-block: var(--space-8); }
  .article-layout { padding-block: var(--space-6); }

  .article-body .article-additional-images--grid {
    grid-template-columns: 1fr;
  }

  .category-page-hero__title,
  .category-page-hero h1,
  .category-page-hero h2,
  .page-hero h1 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  :root {
    --brand-mobile-cat-tabs-h: 2.75rem;
  }

  #site-header.site-header--brand .site-masthead__meta,
  #site-header.site-header--brand .site-masthead__radio {
    display: none !important;
  }

  #site-header.site-header--brand .site-masthead__inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  #site-header.site-header--brand .site-wordmark {
    grid-column: 1;
    justify-self: center;
  }

  #site-header.site-header--brand .site-nav-bar__dateline {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.35;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #site-header.site-header--brand .site-nav-bar__inner {
    justify-content: space-between;
    gap: var(--space-2);
  }

  #site-header.site-header--brand .site-header__mobile-cat-tabs {
    display: block;
    width: 100%;
    flex-shrink: 0;
    background: #141616;
    border-bottom: 1px solid rgba(243, 178, 55, 0.22);
  }

  #site-header.site-header--brand .site-header__mobile-cat-tabs-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.125rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem calc(var(--content-pad) + var(--safe-left)) 0.55rem calc(var(--content-pad) + var(--safe-right));
  }

  #site-header.site-header--brand .site-header__mobile-cat-tabs-track::-webkit-scrollbar {
    display: none;
  }

  #site-header.site-header--brand .site-header__mobile-cat-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #e8a317;
    text-decoration: none;
  }

  #site-header.site-header--brand .site-header__mobile-cat-tab:hover {
    color: #f3b237;
  }
}

@media (max-width: 480px) {
  .hero-tiles__side {
    flex-direction: column;
    height: auto;
    gap: 3px;
  }

  .hero-tile--sm {
    min-height: 180px;
    height: 200px;
    flex: none;
  }
}

@media (max-width: 420px) {
  .hero-tile--sm .hero-tile__title { font-size: 0.9375rem; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .article-card,
  .article-card__image img,
  .hero-tile__overlay,
  .deal-card,
  .event-full-card {
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   AD SLOTS
   Empty slots take zero space. Loaded slots reveal themselves.
   ============================================================ */

/* Base slot — invisible until an ad loads */
.ad-slot {
  display: none;
  width: 100%;
}

.ad-slot.loaded {
  display: block;
}

/* Shared ad chrome */
.ad-label {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: var(--space-2);
}

.ad-inner {
  position: relative;
}

.ad-inner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.ad-inner a {
  display: block;
  text-decoration: none;
}

/* Text fallback (when no image) */
.ad-text-fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--cream-dark);
  border: 1px solid var(--sand);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

.ad-text-fallback .ad-headline {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  flex: 1;
}

/* ── Leaderboard (full-width banner) ── */
.ad-slot--leaderboard {
  padding-block: var(--space-5);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  text-align: center;
  background: var(--cream-dark);
}

.ad-slot--leaderboard .ad-inner {
  max-width: 728px;
  margin-inline: auto;
}

.ad-slot--leaderboard .ad-inner img {
  border-radius: var(--radius-sm);
  max-height: 90px;
  width: auto;
  margin-inline: auto;
}

/* ── Footer leaderboard (dark bg) ── */
.ad-slot--footer-leaderboard {
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-block: var(--space-5);
  text-align: center;
  margin-bottom: var(--space-8);
}

.ad-slot--footer-leaderboard .ad-label { color: rgba(255,255,255,0.35); }

.ad-slot--footer-leaderboard .ad-inner {
  max-width: 728px;
  margin-inline: auto;
}

.ad-slot--footer-leaderboard .ad-inner img {
  border-radius: var(--radius-sm);
  max-height: 90px;
  width: auto;
  margin-inline: auto;
}

.ad-slot--footer-leaderboard .ad-text-fallback {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  max-width: 728px;
  margin-inline: auto;
}

.ad-slot--footer-leaderboard .ad-text-fallback .ad-headline { color: rgba(255,255,255,0.8); }

/* ── Native card (matches article card — sits in editorial grid) ── */
.ad-slot--native {
  display: none; /* overridden when loaded */
}

.ad-slot--native.loaded {
  display: block;
}

.ad-native-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  border: 2px solid var(--sand);
  position: relative;
}

.ad-native-card .ad-label {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 2;
  background: rgba(250,246,241,0.92);
  padding: 0.2em 0.5em;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.ad-native-card .ad-native-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.ad-native-card .ad-native-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform var(--transition-slow);
}

.ad-native-card:hover .ad-native-image img { transform: scale(1.04); }

.ad-native-card .ad-native-body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ad-native-card .ad-native-advertiser {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.ad-native-card .ad-native-headline {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.ad-native-card .ad-native-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-orange);
  margin-top: auto;
  padding-top: var(--space-3);
}

/* ── Inline banner (inside article body) ── */
.ad-slot--inline {
  margin-block: var(--space-8);
  padding-block: var(--space-5);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  background: var(--cream-dark);
  border-radius: var(--radius-md);
}

.ad-slot--inline .ad-inner img {
  max-height: 100px;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius-sm);
}

/* ── Partner mid (article — styled as a callout) ── */
.ad-slot--partner-mid {
  margin-block: var(--space-8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--sand);
}

.ad-slot--partner-mid .ad-inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5);
  background: var(--cream-dark);
}

.ad-slot--partner-mid .ad-inner img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.ad-slot--partner-mid .ad-partner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.ad-slot--partner-mid .ad-partner-text h4 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--ink);
  font-weight: 700;
  margin: 0;
}

/* ── MPU / Rectangle (sidebar or standalone block) ── */
.ad-slot--mpu {
  max-width: 320px;
}

.ad-slot--mpu .ad-inner img {
  max-width: 300px;
  border-radius: var(--radius-md);
  margin-inline: auto;
}

/* Responsive: leaderboard max-height on mobile */
@media (max-width: 640px) {
  .ad-slot--leaderboard .ad-inner img,
  .ad-slot--footer-leaderboard .ad-inner img { max-height: 60px; }
  .ad-slot--partner-mid .ad-inner { flex-direction: column; }
  .ad-slot--partner-mid .ad-inner img { width: 100%; height: 160px; }
}
