/* =========================================================================
   DISCOVER GAY DALLAS — HOUSTON EDITION · HEADER / NAV / DRAWER / SEARCH
   White sticky nav over an ocean-deep utility bar, wired to ui.js
   (.dgd-site-header.is-scrolled, [data-dgd-drawer-toggle], [data-dgd-search-toggle]).
   ========================================================================= */

.dgd-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  transition: box-shadow 0.3s var(--dgd-ease), transform 0.3s var(--dgd-ease);
}
.dgd-site-header.is-scrolled { box-shadow: 0 4px 18px rgba(0, 23, 31, 0.12); }
/* Hide-on-scroll-down / reveal-on-scroll-up (Visit-Houston). ui.js toggles
   .is-hidden; the revealed header keeps the solid Dallas look (.is-scrolled). */
.dgd-site-header.is-hidden { transform: translateY(-100%); }
/* Drop the WordPress block-gap between the utility and main rows so the two bars
   stack flush and the header height tracks Visit-Houston's proportions. */
.dgd-site-header > * + * { margin-block-start: 0; }
/* Visit-Houston's header is full-bleed (max-width:none): the logo hugs the left
   edge and the search/menu block hugs the right, so it keeps filling the window as
   it widens instead of capping in a centered .dgd-wrap (1320px) box. Override the
   cap for the header rows ONLY (not the site-wide .dgd-wrap), keeping the gutters. */
.dgd-util__inner,
.dgd-main__inner { max-width: none; }

/* ---------- Overlay (floating) header — homepage hero only (body.dgd-overlay-header) ----------
   The header floats transparent over the .htx-hero with white text at the very
   top; once ui.js adds .is-scrolled the :not() overrides drop and the header
   reverts to the solid two-tone look (ocean-deep utility + white nav, dark text). */
body.dgd-overlay-header .dgd-site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: transparent;
}
/* Header is out of flow now, so drop the block-gap margin that would otherwise
   leave a sliver above the full-bleed hero. */
body.dgd-overlay-header .wp-site-blocks > main { margin-block-start: 0; }
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-util,
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-main {
  background: transparent;
}
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-nav__link,
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-nav__trigger,
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-nav__trigger:hover,
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-nav__trigger[aria-expanded="true"],
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-logo__tag,
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-logo__mark { color: #fff; }
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-logo__script { color: var(--dgd-lemon); }
/* Utility text → full white (not the .88 it uses on the solid bar) so the small
   13px links clear AA on the scrim; subtle shadow guards all overlay text over a
   bright hero slide. */
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-util__loc,
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-util__left a,
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-util__right a,
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-util__weather { color: #fff; }
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-util,
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-nav__link,
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-nav__trigger,
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-cta-pill { text-shadow: 0 1px 2px rgba(0, 23, 31, 0.55); }

/* ---------- Utility bar ---------- */
.dgd-util {
  background: var(--dgd-ocean-deep);
  color: #fff;
  font-size: 0.8rem;
}
.dgd-util__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 34px;
  padding-block: 0.15rem;
}
.dgd-util__loc {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--wp--preset--font-family--condensed, "Barlow Condensed", sans-serif);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.dgd-util__left,
.dgd-util__right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dgd-util__left { margin-inline-start: auto; }
.dgd-util__left a,
.dgd-util__right a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.dgd-util__left a:hover,
.dgd-util__right a:hover { color: var(--dgd-lemon); }
.dgd-util__trip { display: inline-flex; align-items: center; gap: 0.35rem; }
.dgd-util__trip-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--dgd-lemon);
  color: var(--dgd-ink);
  font-size: 0.68rem;
  font-weight: 800;
}
.dgd-util__weather { display: inline-flex; align-items: center; color: rgba(255,255,255,0.9); }

/* Visit-Houston-style colored underline on each utility quick link. */
.dgd-util__navlink { position: relative; padding-bottom: 3px; }
.dgd-util__navlink::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.dgd-util__navlink--magenta::after { background: var(--dgd-magenta); }
.dgd-util__navlink--lemon::after   { background: var(--dgd-lemon); }
.dgd-util__navlink--violet::after  { background: var(--dgd-violet); }
.dgd-util__navlink--cyan::after    { background: var(--dgd-cyan); }

/* ---------- Main nav bar ---------- */
.dgd-main { background: #fff; position: relative; }
/* Compact main row to match Visit-Houston's proportions: the 70px square action
   buttons define the bar height (~70px), so no extra vertical padding. */
.dgd-main__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 56px;
  padding-block: 0;
}

.dgd-logo { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1; }
.dgd-logo__tag {
  font-family: var(--wp--preset--font-family--condensed, "Barlow Condensed", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dgd-muted);
}
.dgd-logo__mark {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--dgd-ink);
  text-transform: uppercase;
}
.dgd-logo__script {
  font-family: "Kaushan Script", cursive;
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  color: var(--dgd-ocean);
  font-size: 1.35em;
}

.dgd-nav { margin-inline-start: auto; }
/* Visit-Houston uses a fixed 24px gap between primary items; all six (incl. Home)
   fit one row above the collapse breakpoint below, then fold into the hamburger. */
.dgd-nav__list { display: flex; align-items: center; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.dgd-nav__item { display: flex; }
/* The dropdown trigger is a <button> styled to read like a nav link. */
.dgd-nav__trigger {
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  gap: 0.4rem;
}
.dgd-nav__link,
.dgd-nav__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--wp--preset--font-family--display, "Barlow", sans-serif);
  font-weight: 700;
  font-size: clamp(1.15rem, 0.9rem + 0.6vw, 1.5rem);
  letter-spacing: normal;
  /* Title Case (not uppercase) to match Visit Houston's primary nav cadence,
     kept in the theme's Barlow display face. */
  color: var(--dgd-ink);
  text-decoration: none;
  padding: 0.5rem 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.dgd-nav__link::after,
.dgd-nav__trigger::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  background: var(--dgd-lemon);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--dgd-ease);
}
.dgd-nav__link:hover,
.dgd-nav__link[aria-current="page"],
.dgd-nav__trigger:hover,
.dgd-nav__trigger[aria-expanded="true"] { color: var(--dgd-ocean); }
.dgd-nav__link:hover::after,
.dgd-nav__link[aria-current="page"]::after,
.dgd-nav__trigger:hover::after,
.dgd-nav__trigger[aria-expanded="true"]::after { transform: scaleX(1); }

/* ---------- Mega-menu dropdown panels (ui.js toggles aria-hidden) ---------- */
/* Compact floating card (visithouston.com reference): right edge aligned
   with the end of the nav links — the 140px = two flush 70px action squares
   sitting to its right. NOT full-width; floats over page content. */
.dgd-mega {
  position: absolute;
  top: 100%;
  left: auto;
  right: calc(var(--dgd-gutter) + 140px);
  width: min(880px, calc(100vw - 180px));
  z-index: 90;
  background: #fff;
  box-shadow: 0 24px 48px rgba(0, 23, 31, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.22s var(--dgd-ease), transform 0.22s var(--dgd-ease), visibility 0.22s;
}
.dgd-mega[aria-hidden="false"] { opacity: 1; visibility: visible; transform: none; }
/* The inner carries .dgd-wrap in the markup — neutralize its cap/centering
   inside the compact card and use tight padding instead. */
.dgd-mega__inner {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 1.5rem 1.5rem 1.25rem;
}
.dgd-mega__eyebrow {
  font-family: var(--wp--preset--font-family--condensed, "Barlow Condensed", sans-serif);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dgd-ocean);
  margin: 0 0 1rem;
}

/* Visit-Houston-style 3-column editorial dropdown: big card + mini cards + text links. */
.dgd-mega__cols {
  display: grid;
  grid-template-columns: 1.25fr 1.25fr 1fr;
  gap: 1.25rem 1.75rem;
  align-items: start;
}
.dgd-mega__cols.is-2col { grid-template-columns: 1.6fr 1fr; }
.dgd-mega__cols.is-1col { grid-template-columns: 1fr; max-width: 420px; }

/* Big featured card — image on top, title below (dark text on white). */
.dgd-mega__lg { display: block; text-decoration: none; }
.dgd-mega__lg-media {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--dgd-radius-md);
  background-color: var(--dgd-ocean-light);
  background-size: cover;
  background-position: center;
  transition: opacity 0.2s ease;
}
.dgd-mega__lg-media--grad { background-image: linear-gradient(135deg, var(--dgd-ocean), var(--dgd-magenta)); }
.dgd-mega__lg-title {
  display: block;
  margin-top: 0.8rem;
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.15;
  color: var(--dgd-ink);
  transition: color 0.18s ease;
}
.dgd-mega__lg:hover .dgd-mega__lg-media { opacity: 0.92; }
.dgd-mega__lg:hover .dgd-mega__lg-title { color: var(--dgd-ocean); }

/* Mini cards — thumbnail left, title right. */
.dgd-mega__minis { display: flex; flex-direction: column; gap: 1rem; }
.dgd-mega__mini {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.85rem;
  align-items: center;
  text-decoration: none;
}
.dgd-mega__mini-media {
  aspect-ratio: 3 / 2;
  border-radius: var(--dgd-radius-sm);
  background-color: var(--dgd-ocean-light);
  background-size: cover;
  background-position: center;
}
.dgd-mega__mini-title {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.2;
  color: var(--dgd-ink);
  transition: color 0.18s ease;
}
.dgd-mega__mini:hover .dgd-mega__mini-title { color: var(--dgd-ocean); }

/* Text-link column (the VH right column) with thin divider lines. */
.dgd-mega__links { border-left: 1px solid var(--dgd-border); padding-left: 1.25rem; }
.dgd-mega__cols.is-1col .dgd-mega__links,
.dgd-mega__cols.is-2col .dgd-mega__links { border-left: 0; padding-left: 0; }
.dgd-mega__linklist { list-style: none; margin: 0; padding: 0; }
.dgd-mega__linklist li { border-bottom: 1px solid var(--dgd-border); }
.dgd-mega__linklist li:last-child { border-bottom: 0; }
.dgd-mega__linklist a {
  display: block;
  padding: 0.6rem 0;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dgd-ink);
  text-decoration: none;
  transition: color 0.18s ease, padding-left 0.18s ease;
}
.dgd-mega__linklist a:hover { color: var(--dgd-ocean); padding-left: 0.35rem; }

/* ---------- Events layout (things panel): poster card + event rows + CTA band.
   Flyers are portrait, so the big card runs 4:5 instead of 16:10 — artwork
   keeps its head. The bottom band converts what used to be dead whitespace
   into the panel's strongest action, with the same live count as the hero. */
.dgd-mega--events .dgd-mega__cols.is-2col { grid-template-columns: 1.7fr 1fr; }
.dgd-mega__feature { display: flex; flex-direction: column; gap: 1.1rem; height: 100%; }
.dgd-mega__feature-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.25rem;
  align-items: start;
  flex: 1 1 auto;
}
.dgd-mega__lg--poster .dgd-mega__lg-media { aspect-ratio: 4 / 5; position: relative; }
.dgd-mega__lg--poster .dgd-mega__lg-title { font-size: 1.05rem; margin-top: 0.65rem; }
.dgd-mega__kicker {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  max-width: calc(100% - 1.2rem);
  padding: 0.24rem 0.6rem;
  background: var(--dgd-lemon);
  color: #00171F;
  font-family: var(--wp--preset--font-family--condensed, "Barlow Condensed", sans-serif);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dgd-mega__minis--rows { gap: 0.9rem; }
.dgd-mega__minis--rows .dgd-mega__mini { grid-template-columns: 64px 1fr; align-items: center; }
.dgd-mega__minis--rows .dgd-mega__mini-media { aspect-ratio: 1 / 1; }
.dgd-mega__mini-body { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.dgd-mega__mini-kicker {
  font-family: var(--wp--preset--font-family--condensed, "Barlow Condensed", sans-serif);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dgd-ocean);
}
.dgd-mega__minis--rows .dgd-mega__mini-title {
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dgd-mega__allcta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: var(--dgd-lemon);
  color: #00171F;
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.dgd-mega__allcta:hover { background: var(--dgd-ink); color: #fff; }
.dgd-mega__allcta svg { flex: none; }

/* Live "Today" rail atop the link column (things panel). */
.dgd-mega__today { margin: 0 0 1.1rem; padding-bottom: 0.9rem; border-bottom: 2px solid var(--dgd-ink); }
.dgd-mega__today-label { margin: 0 0 0.4rem; }
.dgd-mega__today-badge {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  background: var(--dgd-lemon);
  color: #00171F;
  font-family: var(--wp--preset--font-family--condensed, "Barlow Condensed", sans-serif);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dgd-mega__today-list { list-style: none; margin: 0; padding: 0; }
.dgd-mega__today-list li + li { border-top: 1px dashed var(--dgd-border, #E3E8EB); }
.dgd-mega__today-list a {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.5rem 0;
  text-decoration: none;
  color: var(--dgd-ink);
  font-size: 0.92rem;
  line-height: 1.3;
}
.dgd-mega__today-list a:hover span { color: var(--dgd-ocean); }
.dgd-mega__today-list strong {
  flex: none;
  font-family: var(--wp--preset--font-family--condensed, "Barlow Condensed", sans-serif);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--dgd-ocean);
}
.dgd-mega__today-list em { flex: none; font-style: normal; font-size: 0.8rem; font-weight: 700; color: var(--dgd-magenta); }

.dgd-mega__close {
  position: absolute;
  top: 0.9rem;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--dgd-muted);
  font-family: var(--wp--preset--font-family--condensed, "Barlow Condensed", sans-serif);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dgd-mega__close:hover { color: var(--dgd-ink); }

/* ---------- Icon quick-bar (Visit-Houston style; shows when the desktop nav collapses) ---------- */
.dgd-quicklinks { display: none; }
.dgd-quicklinks__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 0.25rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--wp--preset--font-family--condensed, "Barlow Condensed", sans-serif);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.2s ease;
}
.dgd-quicklinks__tile:last-child { border-right: 0; }
.dgd-quicklinks__tile:hover,
.dgd-quicklinks__tile:focus-visible { background: rgba(255, 255, 255, 0.12); }
.dgd-quicklinks__tile svg { color: var(--dgd-lemon); }

/* Search + menu sit flush as one chunky blue block (Visit-Houston). */
.dgd-header-actions { display: flex; align-items: center; gap: 0; }

/* Solid brand-blue squares (Visit-Houston style) for search + hamburger. */
.dgd-icon-btn {
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 0;
  border-radius: 0;
  background: var(--dgd-ocean);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.dgd-icon-btn:hover { background: var(--dgd-ocean-dark); color: #fff; }
/* The "full menu" hamburger now shows at ALL widths (Visit-Houston): on desktop
   it opens the same #dgd-drawer as a full-width overlay (see the >=1025px block). */
.dgd-icon-btn--menu { display: inline-grid; }
/* Header search + menu squares match Visit-Houston's 70px chunky buttons (the
   drawer's own close button keeps the base 52px size). */
.dgd-header-actions .dgd-icon-btn { width: 70px; height: 70px; }
/* A hairline divider keeps the two flush same-blue squares legible as two. */
.dgd-header-actions .dgd-icon-btn + .dgd-icon-btn { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.18); }

/* Outlined square "deals" button (Visit-Houston style). */
.dgd-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--dgd-ink);
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 0.8rem 1.15rem;
  border: 2px solid var(--dgd-ocean);
  border-radius: 0;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.dgd-cta-pill:hover { background: var(--dgd-ocean); color: #fff; }
/* Over the hero (transparent header) the outlined button goes white. */
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-cta-pill { border-color: #fff; color: #fff; }
body.dgd-overlay-header .dgd-site-header:not(.is-scrolled) .dgd-cta-pill:hover { background: #fff; color: var(--dgd-ink); }
/* The mobile drawer-footer CTA stays a solid ocean button (more prominent). */
.dgd-cta-pill--block { display: flex; justify-content: center; width: 100%; background: var(--dgd-ocean); color: #fff; border-color: var(--dgd-ocean); }
.dgd-cta-pill--block:hover { background: var(--dgd-ocean-dark); color: #fff; }

/* ---------- Responsive ----------
   Collapse the desktop text nav early enough that six primary items (incl. Home)
   never overflow into the logo/actions; below this the hamburger + quicklinks bar
   take over (Visit-Houston-style adaptation). */
@media (max-width: 1240px) {
  .dgd-nav { display: none; }
  .dgd-mega { display: none; }
  /* With the nav (and its auto start-margin) gone, the action squares need
     their own push to stay flush right like Visit Houston's mobile header —
     and they bleed through the wrap gutter to sit on the screen edge, edge-
     to-edge with the quicklinks ribbon below. */
  .dgd-header-actions {
    margin-inline-start: auto;
    margin-inline-end: calc(var(--dgd-gutter) * -1);
  }
  .dgd-quicklinks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--dgd-ocean);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}
@media (prefers-reduced-motion: reduce) {
  .dgd-mega { transition: none; }
  .dgd-drawer__chev { transition: none; }
}
@media (max-width: 860px) {
  .dgd-util { display: none; }
}
@media (max-width: 520px) {
  .dgd-logo__mark { font-size: 1.25rem; }
}

/* =========================================================================
   MOBILE DRAWER  (#dgd-drawer, ui.js toggles aria-hidden)
   The drawer root is the dimmed backdrop; clicking it (outside the panel)
   closes via ui.js. The panel slides in from the right.
   ========================================================================= */
.dgd-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 23, 31, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--dgd-ease), visibility 0.3s;
}
.dgd-drawer[aria-hidden="false"] { opacity: 1; visibility: visible; }
.dgd-drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 86vw);
  background: #fff;
  box-shadow: -12px 0 40px rgba(0, 23, 31, 0.25);
  transform: translateX(100%);
  transition: transform 0.32s var(--dgd-ease);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem 2rem;
  overflow-y: auto;
}
.dgd-drawer[aria-hidden="false"] .dgd-drawer__panel { transform: none; }
.dgd-drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
/* The drawer close stays a subtle ghost (not an ocean square) inside the white panel. */
.dgd-drawer__top .dgd-icon-btn { background: transparent; color: var(--dgd-ink); }
.dgd-drawer__top .dgd-icon-btn:hover { background: var(--dgd-ocean-light); color: var(--dgd-ocean-dark); }
.dgd-drawer__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.dgd-drawer__nav li { border-bottom: 1px solid var(--dgd-border); }
.dgd-drawer__nav a {
  display: block;
  padding: 0.95rem 0.25rem;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--dgd-ink);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.dgd-drawer__nav a:hover { color: var(--dgd-ocean); padding-left: 0.6rem; }

/* Accordion groups (ui.js .dgd-drawer__expand toggles aria-expanded + [hidden]). */
.dgd-drawer__expand {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.95rem 0.25rem;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--dgd-ink);
  text-align: left;
  transition: color 0.2s ease;
}
.dgd-drawer__expand:hover { color: var(--dgd-ocean); }
.dgd-drawer__chev { flex: 0 0 auto; color: var(--dgd-muted); transition: transform 0.25s var(--dgd-ease); }
.dgd-drawer__expand[aria-expanded="true"] .dgd-drawer__chev { transform: rotate(180deg); }
.dgd-drawer__sub { list-style: none; margin: 0; padding: 0 0 0.6rem; }
.dgd-drawer__nav .dgd-drawer__sub li { border-bottom: 0; }
.dgd-drawer__sub a {
  display: block;
  padding: 0.5rem 0.25rem 0.5rem 1rem;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--dgd-muted);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.dgd-drawer__sub a:hover { color: var(--dgd-ocean); padding-left: 1.3rem; }
.dgd-drawer__foot { margin-top: 1.5rem; }

/* ---------- "Full menu" secondary zone (search · link columns · utility · promos) ----------
   Shared (mobile) styles: the secondary zone stacks under the nav. The two-column
   desktop overlay is in the >=1025px block further down. */
.dgd-drawer__cols { display: block; }
.dgd-drawer__secondary { margin-top: 1.5rem; }

/* In-menu search — a real GET form to "/", no JS (separate from the search icon overlay). */
.dgd-drawer__search { margin-bottom: 1.5rem; }
.dgd-drawer__search-label {
  display: block;
  font-family: var(--wp--preset--font-family--condensed, "Barlow Condensed", sans-serif);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--dgd-ocean);
  margin-bottom: 0.6rem;
}
.dgd-drawer__search-row { display: flex; gap: 0.5rem; }
.dgd-drawer__search-input {
  flex: 1 1 auto;
  min-width: 0;
  font-family: "Barlow", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--dgd-border);
  border-radius: var(--dgd-radius-sm);
  color: var(--dgd-ink);
  background: #fff;
}
.dgd-drawer__search-input:focus { outline: none; border-color: var(--dgd-ocean); }
.dgd-drawer__search-go {
  display: inline-grid;
  place-items: center;
  width: 52px;
  border: 0;
  border-radius: var(--dgd-radius-sm);
  background: var(--dgd-ocean);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}
.dgd-drawer__search-go:hover { background: var(--dgd-ocean-dark); }

/* Footer-style link columns. */
.dgd-drawer__linkcols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.dgd-drawer__linkcol h3 {
  font-family: var(--wp--preset--font-family--condensed, "Barlow Condensed", sans-serif);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dgd-ocean);
  margin: 0 0 0.6rem;
}
.dgd-drawer__linkcol ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.dgd-drawer__linkcol a {
  color: var(--dgd-muted);
  text-decoration: none;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.18s ease;
}
.dgd-drawer__linkcol a:hover { color: var(--dgd-ocean); }

/* Utility (Pride-accent) links — reuse the .dgd-util__navlink--* underline colors. */
.dgd-drawer__util { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; }
.dgd-drawer__util a { color: var(--dgd-ink); text-decoration: none; font-family: "Barlow", sans-serif; font-weight: 700; font-size: 0.9rem; }
.dgd-drawer__util a:hover { color: var(--dgd-ocean); }

/* Promo cards — gradient CTA tiles (no image dependency). */
.dgd-drawer__promos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.dgd-drawer__promo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.15rem;
  min-height: 116px;
  padding: 1rem;
  border-radius: var(--dgd-radius-md);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dgd-drawer__promo:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 23, 31, 0.25); }
.dgd-drawer__promo--pride { background: linear-gradient(135deg, var(--dgd-magenta), var(--dgd-ocean)); }
.dgd-drawer__promo--guide { background: linear-gradient(135deg, var(--dgd-ocean), var(--dgd-ocean-deep)); }
.dgd-drawer__promo-eyebrow {
  font-family: var(--wp--preset--font-family--condensed, "Barlow Condensed", sans-serif);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  opacity: 0.92;
}
.dgd-drawer__promo-title { font-family: "Barlow", sans-serif; font-weight: 800; font-size: 1.15rem; line-height: 1.1; }

/* ---------- Desktop: the drawer becomes a full-width "full menu" overlay (Visit-Houston) ----------
   The same #dgd-drawer + ui.js wiring; only the layout changes. Left = the
   accordion nav; right = search, link columns, utility links and promo tiles. */
@media (min-width: 1025px) {
  .dgd-drawer__panel {
    top: 0; right: 0; left: 0; bottom: auto;
    /* The theme ships no global border-box reset, so width:100% PLUS the
       clamp padding overflowed the viewport ~130px on mid-size screens —
       the search button and promo cards clipped off the right edge. */
    box-sizing: border-box;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    padding: clamp(1.5rem, 1rem + 2vw, 3rem) clamp(1.5rem, 1rem + 3vw, 5rem) clamp(2rem, 1.5rem + 2vw, 3.5rem);
    box-shadow: 0 24px 60px rgba(0, 23, 31, 0.3);
    transform: translateY(-16px);
  }
  .dgd-drawer[aria-hidden="false"] .dgd-drawer__panel { transform: none; }
  .dgd-drawer__top { max-width: 1280px; width: 100%; margin: 0 auto 1.5rem; }

  .dgd-drawer__cols {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 1rem + 3vw, 5rem);
    align-items: start;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
  }
  .dgd-drawer__secondary { margin-top: 0; display: grid; gap: 1.75rem; align-content: start; }
  .dgd-drawer__search { margin-bottom: 0; }
  .dgd-drawer__linkcols { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }
  .dgd-drawer__util { margin-bottom: 0; }
  /* The overlay already surfaces Plan in the nav, columns and promos. */
  .dgd-drawer__foot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .dgd-drawer, .dgd-drawer__panel { transition: none; }
}

/* =========================================================================
   SEARCH OVERLAY  (built by ui.js, toggles aria-hidden)
   ========================================================================= */
.dgd-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: start center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--dgd-ease), visibility 0.25s;
}
.dgd-search-overlay[aria-hidden="false"] { opacity: 1; visibility: visible; }
.dgd-search-overlay__backdrop { position: absolute; inset: 0; background: rgba(0, 23, 31, 0.55); backdrop-filter: blur(2px); }
.dgd-search-overlay__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 92vw);
  margin-top: clamp(4rem, 12vh, 9rem);
  background: #fff;
  border-radius: var(--dgd-radius-lg);
  box-shadow: 0 24px 60px rgba(0, 23, 31, 0.35);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  transform: translateY(-12px);
  transition: transform 0.25s var(--dgd-ease);
}
.dgd-search-overlay[aria-hidden="false"] .dgd-search-overlay__panel { transform: none; }
.dgd-search-overlay__label {
  display: block;
  font-family: var(--wp--preset--font-family--condensed, "Barlow Condensed", sans-serif);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dgd-ocean);
  margin-bottom: 0.75rem;
}
.dgd-search-overlay__row { display: flex; gap: 0.6rem; }
.dgd-search-overlay__input {
  flex: 1 1 auto;
  font-family: "Barlow", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--dgd-border);
  border-radius: var(--dgd-radius-sm);
  color: var(--dgd-ink);
  background: #fff;
}
.dgd-search-overlay__input:focus { outline: none; border-color: var(--dgd-ocean); }
.dgd-search-overlay__go {
  display: inline-grid;
  place-items: center;
  width: 56px;
  border: 0;
  border-radius: var(--dgd-radius-sm);
  background: var(--dgd-ocean);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}
.dgd-search-overlay__go:hover { background: var(--dgd-ocean-dark); }
.dgd-search-overlay__hints { margin-top: 0.9rem; color: var(--dgd-muted); font-size: 0.85rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.dgd-search-overlay__hints a { color: var(--dgd-ocean); text-decoration: none; }
.dgd-search-overlay__close {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border: 0; border-radius: var(--dgd-radius-sm);
  background: var(--dgd-ocean-light);
  color: var(--dgd-ocean-dark);
  cursor: pointer;
}
.dgd-search-overlay__close:hover { background: var(--dgd-ocean); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .dgd-search-overlay, .dgd-search-overlay__panel { transition: none; }
}

/* =========================================================================
   FOOTER  — ocean-deep, script "Dallas" brand, visitor-guide CTA band
   ========================================================================= */
.dgd-footer { background: var(--dgd-ocean-deep); color: #fff; }

.dgd-footer__guide { background: var(--dgd-ocean); }
.dgd-footer__guide-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-block: clamp(1.75rem, 1rem + 2.5vw, 2.75rem);
}
.dgd-footer__guide-eyebrow {
  font-family: var(--wp--preset--font-family--condensed, "Barlow Condensed", sans-serif);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 0.35rem;
}
.dgd-footer__guide-title {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem);
  line-height: 1;
  margin: 0;
  color: #fff;
}
.dgd-footer__guide-title .dgd-script { color: var(--dgd-lemon); text-transform: none; font-size: 1.15em; }
.dgd-footer__guide-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--dgd-lemon);
  color: var(--dgd-ink);
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.9rem 1.6rem;
  border-radius: var(--dgd-radius-sm);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 18px rgba(0, 23, 31, 0.25);
}
.dgd-footer__guide-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 23, 31, 0.32); }

.dgd-footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
}
.dgd-footer__brand .dgd-logo { margin-bottom: 1rem; }
.dgd-footer .dgd-logo__tag { color: rgba(255, 255, 255, 0.6); }
.dgd-footer .dgd-logo__mark { color: #fff; }
.dgd-footer .dgd-logo__script { color: var(--dgd-lemon); }
.dgd-footer__blurb { color: rgba(255, 255, 255, 0.78); max-width: 38ch; line-height: 1.55; margin: 0 0 1.25rem; }
.dgd-footer__socials { display: flex; gap: 0.6rem; }
.dgd-footer__socials a {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.dgd-footer__socials a:hover { background: var(--dgd-lemon); color: var(--dgd-ink); transform: translateY(-2px); }

.dgd-footer__col h3 {
  font-family: var(--wp--preset--font-family--condensed, "Barlow Condensed", sans-serif);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dgd-lemon);
  margin: 0 0 1rem;
}
.dgd-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.dgd-footer__col a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.dgd-footer__col a:hover { color: #fff; }

.dgd-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}
.dgd-footer__legal a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.dgd-footer__legal a:hover { color: var(--dgd-lemon); }

@media (max-width: 860px) {
  .dgd-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .dgd-footer__inner { grid-template-columns: 1fr; }
  .dgd-footer__guide-inner { flex-direction: column; align-items: flex-start; }
}


/* ---------- Dark/light mode toggle ---------- */
.dgd-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.4rem;
  background: transparent;
  border: 0;
  border-radius: var(--dgd-radius-sm);
  color: inherit;
  cursor: pointer;
  line-height: 1;
}
.dgd-util__right .dgd-mode-toggle { color: var(--dgd-on-dark-soft); }
.dgd-util__right .dgd-mode-toggle:hover { color: var(--dgd-on-dark); }
.dgd-mode-toggle:focus-visible { outline: 2px solid var(--dgd-lemon); outline-offset: 2px; }
.dgd-mode-toggle--drawer { color: var(--dgd-ink); font: inherit; }
.dgd-mode-toggle--drawer .dgd-mode-toggle__label {
  font-size: 0.85rem;
  font-weight: 600;
}
