/* ================================
   Huntsville Happy Hour - Full Fix
================================ */

:root {
  --hhh-navy: #10233f;
  --hhh-blue: #3f6fa8;
  --hhh-orange: #d95d1f;
  --hhh-orange-dark: #bd4815;
  --hhh-cream: #f7efe4;
  --hhh-card: #fffaf3;
  --hhh-border: #d8c8a8;
  --hhh-muted: #83745e;
  --hhh-text: #10233f;
  --hhh-brown: #2d1605;
  --hhh-green: #06270f;
}

/* Site background */
body,
.wp-site-blocks {
  background: var(--hhh-cream) !important;
  color: var(--hhh-text) !important;
}

/* Hide the default WordPress page title / Home banner */
.wp-block-post-title,
.entry-title,
.page-title,
.entry-header,
main > header {
  display: none !important;
}

/* Remove default page spacing */
.wp-site-blocks,
.wp-block-post-content,
.entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Make the Custom HTML block truly full width */
.wp-block-html:has(.hhh-page),
.wp-block-post-content > .wp-block-html,
.entry-content > .wp-block-html {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Full bleed homepage wrapper */
.hhh-page {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  background: var(--hhh-cream);
  color: var(--hhh-text);
  font-family: Georgia, "Times New Roman", serif;
  overflow-x: hidden;
}

/* Header polish */
header.wp-block-template-part {
  background: var(--hhh-blue) !important;
  color: #ffffff !important;
  padding: 18px 7vw !important;
  border: none !important;
}

header.wp-block-template-part a {
  color: #ffffff !important;
  text-decoration: none !important;
}

header.wp-block-template-part .wp-block-site-title,
header.wp-block-template-part .wp-block-site-title a {
  color: #ffffff !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

.wp-block-navigation a {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.wp-block-navigation a:hover {
  opacity: 0.75;
}

/* Layout */
.hhh-container {
  width: min(94vw, 1680px);
  margin: 0 auto;
}

.hhh-narrow {
  width: min(92vw, 900px);
  margin: 0 auto;
}

/* Hero */
.hhh-hero {
  padding: 92px 20px 78px;
  text-align: center;
  background: var(--hhh-cream);
  border-bottom: 1px solid rgba(216, 200, 168, 0.8);
}

.hhh-eyebrow {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hhh-orange);
  font-weight: 800;
}

.hhh-title {
  margin: 0 auto 22px;
  max-width: 1000px;
  color: var(--hhh-navy);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(54px, 6vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.hhh-subtitle {
  margin: 0 auto 22px;
  max-width: 850px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.35;
  color: var(--hhh-navy);
  font-weight: 700;
}

.hhh-description {
  margin: 0 auto 32px;
  max-width: 820px;
  font-size: 18px;
  line-height: 1.75;
  color: #4f5560;
}

.hhh-actions {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hhh-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 230px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.hhh-btn-primary {
  background: var(--hhh-orange);
  color: #ffffff !important;
  border: 2px solid var(--hhh-orange);
}

.hhh-btn-primary:hover {
  background: var(--hhh-orange-dark);
  border-color: var(--hhh-orange-dark);
  transform: translateY(-1px);
}

.hhh-btn-outline {
  background: transparent;
  color: var(--hhh-navy) !important;
  border: 2px solid var(--hhh-navy);
}

.hhh-btn-outline:hover {
  background: var(--hhh-navy);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.hhh-trust {
  margin-top: 22px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  color: var(--hhh-muted);
  font-weight: 800;
}

/* Sections */
.hhh-section {
  padding: 70px 0;
  background: var(--hhh-cream);
}

.hhh-section-title-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
}

.hhh-section-title {
  margin: 0;
  color: var(--hhh-muted);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 900;
  white-space: nowrap;
}

.hhh-rule {
  height: 1px;
  background: var(--hhh-border);
  flex: 1;
}

/* Browse by day - force original horizontal desktop layout */
.hhh-day-grid {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 10px;
}

.hhh-day-card {
  min-height: 96px;
  border: 1px solid var(--hhh-border);
  border-radius: 9px;
  background: rgba(255, 250, 243, 0.72);
  color: var(--hhh-text) !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.hhh-day-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(16, 35, 63, 0.09);
  background: var(--hhh-card);
}

.hhh-day-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--hhh-muted);
}

.hhh-day-count {
  color: var(--hhh-navy);
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.hhh-placeholder-strip {
  min-height: 28px;
  border: 1px solid var(--hhh-border);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.52);
}

.hhh-day-placeholder-grid {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 10px;
  margin-top: 10px;
}

/* Featured spots */
.hhh-featured-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr 1fr !important;
  gap: 28px;
  align-items: start;
}

.hhh-card-stack {
  display: grid;
  gap: 18px;
}

.hhh-spot-card {
  border: 1px solid var(--hhh-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--hhh-card);
  text-decoration: none !important;
  color: var(--hhh-text) !important;
  box-shadow: 0 1px 0 rgba(16, 35, 63, 0.03);
  transition: all 0.2s ease;
}

.hhh-spot-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(16, 35, 63, 0.12);
}

.hhh-spot-top {
  position: relative;
  min-height: 94px;
  background: var(--hhh-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.hhh-spot-top.brown {
  background: var(--hhh-brown);
}

.hhh-spot-top.green {
  background: var(--hhh-green);
}

.hhh-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--hhh-orange);
  color: #ffffff;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
}

.hhh-spot-body {
  padding: 18px 18px 20px;
}

.hhh-spot-name {
  margin: 0 0 6px;
  font-size: 21px;
  line-height: 1.15;
  color: var(--hhh-navy);
  font-weight: 900;
}

.hhh-spot-area {
  margin: 0 0 14px;
  color: var(--hhh-muted);
  font-size: 15px;
}

.hhh-spot-deal {
  margin: 0 0 8px;
  color: var(--hhh-orange);
  font-size: 15px;
  font-weight: 900;
}

.hhh-spot-time {
  margin: 0;
  color: var(--hhh-muted);
  font-size: 14px;
}

.hhh-line-stack {
  display: grid;
  gap: 28px;
}

.hhh-line-card {
  height: 92px;
  border-top: 2px solid var(--hhh-border);
  border-bottom: 2px solid var(--hhh-border);
  opacity: 0.85;
}

/* Neighborhoods */
.hhh-neighborhood-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px;
}

.hhh-neighborhood-card {
  min-height: 88px;
  border: 1px solid var(--hhh-border);
  border-radius: 9px;
  background: rgba(255, 250, 243, 0.75);
  color: var(--hhh-text) !important;
  text-decoration: none !important;
  padding: 22px 42px 22px 24px;
  position: relative;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  transition: all 0.2s ease;
}

.hhh-neighborhood-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(16, 35, 63, 0.09);
  background: var(--hhh-card);
}

.hhh-neighborhood-title {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.1;
  color: var(--hhh-navy);
  font-weight: 900;
}

.hhh-neighborhood-count {
  margin: 0;
  font-size: 14px;
  color: var(--hhh-muted);
}

.hhh-arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hhh-orange);
  font-size: 27px;
  line-height: 1;
  font-weight: 900;
}

.hhh-neighborhood-placeholder {
  min-height: 34px;
  border: 1px solid var(--hhh-border);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.5);
}

/* CTA */
.hhh-cta {
  margin-top: 44px;
  padding: 58px 20px;
  border-radius: 10px;
  background: var(--hhh-navy);
  color: #ffffff;
  text-align: center;
  border-top: 5px solid var(--hhh-orange);
}

.hhh-cta h2 {
  margin: 0 0 16px;
  color: #ffffff !important;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
}

.hhh-cta p {
  margin: 0 auto 28px;
  max-width: 560px;
  color: #9fb0c4;
  font-size: 17px;
  line-height: 1.65;
}

/* Footer note */
.hhh-note {
  padding: 42px 0;
  border-top: 1px solid var(--hhh-border);
  color: var(--hhh-muted);
  text-align: center;
  font-size: 14px;
  line-height: 1.65;
  background: var(--hhh-cream);
}

/* Tablet */
@media (max-width: 1100px) {
  .hhh-day-grid,
  .hhh-day-placeholder-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .hhh-featured-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .hhh-neighborhood-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .hhh-line-stack {
    display: none !important;
  }
}

/* Mobile */
@media (max-width: 640px) {
  header.wp-block-template-part {
    padding: 16px 22px !important;
  }

  .hhh-hero {
    padding: 68px 20px 58px;
  }

  .hhh-title {
    font-size: 48px;
  }

  .hhh-subtitle {
    font-size: 21px;
  }

  .hhh-description {
    font-size: 16px;
  }

  .hhh-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hhh-btn {
    width: 100% !important;
    min-width: 0;
  }

  .hhh-day-grid,
  .hhh-day-placeholder-grid,
  .hhh-featured-grid,
  .hhh-neighborhood-grid {
    grid-template-columns: 1fr !important;
  }

  .hhh-section {
    padding: 54px 0;
  }
}
/* =========================================================
   HHH MOBILE MENU FIX
   Fixes blank white menu overlay on mobile
========================================================= */

@media (max-width: 768px) {

  /* Mobile menu overlay background */
  .wp-block-navigation__responsive-container.is-menu-open {
    background: var(--hhh-cream) !important;
    color: var(--hhh-navy) !important;
    padding: 32px 28px !important;
    z-index: 999999 !important;
  }

  /* Make sure the modal content is visible */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    padding-top: 90px !important;
  }

  /* Menu list layout */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
  }

  /* Individual menu items */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width: 100% !important;
    display: block !important;
  }

  /* Menu links */
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation a {
    display: block !important;
    width: 100% !important;
    color: var(--hhh-navy) !important;
    background: transparent !important;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 28px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
    text-decoration: none !important;
    padding: 14px 0 !important;
    border-radius: 0 !important;
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation a:hover {
    color: var(--hhh-orange) !important;
    background: transparent !important;
  }

  /* Close button */
  .wp-block-navigation__responsive-container-close {
    top: 28px !important;
    right: 28px !important;
    color: var(--hhh-navy) !important;
  }

  .wp-block-navigation__responsive-container-close svg {
    fill: var(--hhh-navy) !important;
    stroke: var(--hhh-navy) !important;
    width: 32px !important;
    height: 32px !important;
  }

  /* Hamburger button */
  .wp-block-navigation__responsive-container-open {
    color: #ffffff !important;
  }

  .wp-block-navigation__responsive-container-open svg {
    fill: #ffffff !important;
    stroke: #ffffff !important;
    width: 34px !important;
    height: 34px !important;
  }

  /* Prevent the desktop nav styling from making mobile links white */
  header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open a,
  header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    color: var(--hhh-navy) !important;
  }
}
/* =========================================================
   HHH RESTAURANT NAME LINKS
========================================================= */

.hhh-restaurant-link {
  color: var(--hhh-navy) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.hhh-restaurant-link::after {
  content: "↗";
  color: var(--hhh-orange);
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  opacity: 0.85;
  transform: translateY(-1px);
}

.hhh-restaurant-link:hover {
  color: var(--hhh-orange) !important;
}

.hhh-listing-card {
  cursor: default !important;
}