/* Edge of Liberty — Clean Modern Base Styles */

:root {
  --bg: #fafafa;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #2563eb;
  --card: #ffffff;

  --radius: 10px;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

header {
  border-bottom: 1px solid var(--border);
  background: white;
  padding: 0.5rem var(--space-lg);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 104px;
}

/* Logo constraints and brand layout */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-direction: row;
}

.site-header .brand {
  gap: 0.5rem;
}

.site-header {
  align-items: center;
}


/* Header logo constraints */

.site-header .brand-logo,
header .brand-logo {
  height: 96px; /* make it visually dominant */
  width: auto;
  object-fit: contain;
  display: block;
}

/* Slightly smaller on mobile */
@media (max-width: 640px) {
  .site-header .brand-logo,
  header .brand-logo {
    height: 72px;
  }
}

/* Header site title (brand text) */

.brand-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
}

.brand-link:hover {
  color: var(--accent);
  text-decoration: none;
}

/* If the site title is wrapped in an h1, neutralize its default size */
header h1,
.site-header h1 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  display: inline;
  white-space: nowrap;
}

nav {
  display: flex;
  gap: var(--space-md);
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: var(--accent);
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}

h2 {
  font-size: 1.5rem;
  margin-top: 0;
}

h3 {
  margin-top: var(--space-lg);
}

ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: var(--space-xs);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  border-top: 1px solid var(--border);
  padding: var(--space-lg);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: var(--space-xl);
}

/* Cards (we'll use this for vendors, dates, etc.) */
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: var(--space-md);
}

/* Responsive */
@media (max-width: 640px) {
  header {
    padding: var(--space-md);
  }

  main {
    padding: var(--space-lg) var(--space-md);
  }
}

.hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  background-image: url('/images/hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-logo {
  display: none;
  position: absolute;
  top: 24px;
  left: 24px;
  width: 120px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.15));
}

.hero-content {
  text-align: center;
  color: white;
  padding: 2rem;
}

.hero-tagline {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
}

.weekend-hero {
  background-image: url('/images/four-corners-satellite-hero-clean.jpg');
  background-position: center;
}

.weekend-hero .hero-overlay {
  background: transparent;
}

.weekend-hero .hero-tagline,
.weekend-hero .hero-subtitle {
  text-shadow: 0 2px 12px rgba(0,0,0,0.75);
}

/* Date page hero — A1 layout (text left, image right) */

.date-hero-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-lg);
  align-items: start;
  margin-bottom: var(--space-xl);
}

.date-hero-text {
  max-width: 620px;
}

.date-hero-text h2 {
  margin-top: 0;
}

.date-hero-media {
  width: 100%;
}

.event-hero-image {
  width: 100%;
  max-height: 320px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.date-booking-actions {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.date-booking-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.date-booking-card h3 {
  margin: 0 0 0.25rem 0;
}

.date-booking-card p {
  margin: 0;
  color: var(--muted);
}

/* FOMO tier: filling up (spots_needed 20-24) */
.date-booking-card-filling {
  border-color: #e0a000;
  background: #fff8e6;
}

.date-booking-card-filling h3 {
  color: #9a6b00;
}

.date-booking-card-filling p {
  color: #7a5500;
}

/* FOMO tier: almost sold out (spots_needed 25-29) */
.date-booking-card-urgent {
  border-color: #d23b2e;
  background: #fdecea;
}

.date-booking-card-urgent h3 {
  color: #b3271b;
}

.date-booking-card-urgent p {
  color: #8f2017;
}

.date-booking-button {
  flex: 0 0 auto;
  min-height: 3rem;
  padding-inline: 1.25rem;
  font-size: 1.05rem;
}

/* Stack on mobile */
@media (max-width: 768px) {
  .date-hero-row {
    grid-template-columns: 1fr;
  }

  .date-hero-text {
    max-width: 100%;
  }

  .event-hero-image {
    max-height: 240px;
  }

  .date-booking-card {
    align-items: stretch;
    flex-direction: column;
  }
}

/* SEO lead line: present for crawlers/screen readers, visually de-emphasized */
.vendor-lead {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--muted);
  margin: 0 0 0.75rem 0;
}

.vendor-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ~1/3 width each on desktop */
  gap: 16px;
  margin: 1.5rem 0;
}

/* Tablet: 2 columns */
@media (max-width: 900px) {
  .vendor-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 column */
@media (max-width: 540px) {
  .vendor-masonry {
    grid-template-columns: 1fr;
  }
}

.vendor-dates {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.vendor-dates h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.vendor-dates ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vendor-dates li {
  padding: 0.25rem 0;
  font-weight: 500;
}

.vendor-dates a {
  text-decoration: none;
}

.vendor-absent,
.vendor-absent a {
  color: #9ca3af;
}

.vendor-photo {
  width: 100%;
  height: auto;              /* let height be natural */
  max-height: none;          /* remove vertical constraint */
  object-fit: contain;       /* show full image without cropping */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
}

.vendor-masonry img {
  max-width: 100%;
  height: auto;
}

.vendor-photo:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.vendor-contact-empty {
  font-style: italic;
  color: var(--muted);
  margin: 1rem 0;
}

.vendor-section {
  margin: 2.5rem 0;
}


/* Footer social links */

.site-footer {
  text-align: center;
}

.site-footer .social-links,
.site-footer .social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.site-footer .social-links a,
.site-footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
  text-decoration: none;
  color: var(--accent);
  transition: transform 0.15s ease, background 0.15s ease;
}

.site-footer .social-links a:hover,
.site-footer .social-icons a:hover {
  transform: scale(1.12);
  background: rgba(37, 99, 235, 0.10);
}

/* If you used small <img> icons instead of emoji/text */
.site-footer .social-links img,
.site-footer .social-icons img {
  width: 24px;
  height: 24px;
  display: block;
}


/* Base desktop site nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: 0;
}

/* Dropdown navigation */

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* invisible hover buffer to prevent flicker */
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-dropdown .dropdown-toggle {
  font-family: inherit;
  font-size: 1rem;
  color: var(--muted);
  background: none;
  border: none;
  padding: 0.5rem 0.4rem; /* larger hover target */
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown .dropdown-toggle:hover,
.nav-dropdown .dropdown-toggle:focus {
  color: var(--accent);
  outline: none;
}

.dropdown-menu,
.nav-dropdown-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  max-width: min(90vw, 320px);
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  padding: 0.5rem 0;
  min-width: 240px;
  max-height: 60vh;
  overflow-y: auto;
  z-index: 9999;
  margin-top: 0; /* remove hover gap */
  padding-top: 0.5rem; /* keep visual spacing without breaking hover */
}

/* Keep menu open when hovering anywhere in the dropdown zone */
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown:hover .nav-dropdown-list,
.nav-dropdown:focus-within .nav-dropdown-list {
  display: block;
}

/* Prevent right-edge overflow on last menu */
.nav-dropdown:last-child .dropdown-menu,
.nav-dropdown:last-child .nav-dropdown-list {
  right: 0;
  left: auto;
}

/* Dropdown links */

.dropdown-menu a,
.nav-dropdown-list a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu a:hover,
.nav-dropdown-list a:hover,
.dropdown-menu a:focus,
.nav-dropdown-list a:focus {
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  outline: none;
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0.25rem 0;
}

/* Mobile behavior */

@media (max-width: 768px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .dropdown-menu,
  .nav-dropdown-list {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    max-height: none;
  }
}


/* Sponsors table styling — 4-column grid layout */

.sponsors-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.sponsors-table tr {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 44px;
  gap: 0.5rem;
  align-items: center;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}

.sponsors-table td {
  padding: 0;
  font-size: 0.95rem;
  vertical-align: middle;
}

.sponsors-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

.sponsors-table td:nth-child(2),
.sponsors-table td:nth-child(3) {
  word-break: break-word;
}

.sponsors-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

/* Proof link → icon button */

.sponsors-table td:last-child a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  font-size: 0; /* hide text, icon only */
  text-decoration: none;
  background: rgba(37, 99, 235, 0.08);
}

.sponsors-table td:last-child a::before {
  content: "🪧";
  font-size: 1.1rem;
  line-height: 1;
}

.sponsors-table td:last-child a:hover {
  background: rgba(37, 99, 235, 0.15);
}

/* Mobile stacking */

@media (max-width: 768px) {
  .sponsors-table tr {
    grid-template-columns: 1fr auto;
    gap: 0.25rem 0.5rem;
  }

  .sponsors-table td:last-child {
    justify-self: start;
  }
}

/* Sponsors page H1 and intro spacing */
.sponsors-page h1 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 2.25rem;
  text-align: center;
}

.sponsors-intro {
  max-width: 760px;
  margin: 0 auto 2rem auto;
  text-align: left;
  color: var(--muted);
  font-size: 1.05rem;
}
/* Header horizontal row layout: logo, title, nav inline and vertically centered */
.site-header .brand,
.site-header .brand-link,
.site-header h1 {
  display: inline-flex;
  align-items: center;
}

.site-header nav {
  margin-left: auto;
  align-items: center;
}
.date-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.date-list li a.date-link {
  flex: 0 1 auto;
}

/* Home page date list — social icon sizing + alignment */

.home-date-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  gap: 2rem;
  align-items: start;
}

.home-date-column h2 {
  margin-bottom: 0.75rem;
}

.home-booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.home-booking-button,
.date-booking-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.home-booking-button-secondary {
  background: var(--accent);
}

.home-booking-button:hover,
.date-booking-button:hover {
  color: #ffffff;
  text-decoration: none;
  filter: brightness(0.95);
}

.date-booking-card .date-booking-button {
  min-height: 3rem;
  padding: 0.8rem 1.25rem;
  font-size: 1.05rem;
}

.home-date-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.home-date-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 32px;
  margin-bottom: 0.35rem;
}

.home-date-list-past .home-date-row {
  opacity: 0.72;
}

.home-date-list-past .home-date-link {
  color: var(--muted);
}

/* Common icon wrapper */
.home-date-row a.home-date-fb,
.home-date-row a.home-date-nd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  margin-left: 0.25rem;
  border-radius: 6px;
  background: #ffffff; /* force white so dark mode users don't get ugly results */
  flex-shrink: 0;
}

/* Hover affordance */
.home-date-row a.home-date-fb:hover,
.home-date-row a.home-date-nd:hover {
  background: rgba(37, 99, 235, 0.06);
}

/* SVG icons */
.home-date-row svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

/* Image-based icons (favicons, etc.) */
.home-date-row img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

@media (max-width: 760px) {
  .home-date-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

@media (max-width: 640px) {
  .site-header .header-inner {
    min-height: auto;
  }
}

/* =========================
   Mobile Menu Overlay Fix
   ========================= */

/* Base mobile menu (hidden by default) */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #2e2e38;
  color: #ffffff;
  display: none;
  z-index: 9999;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

/* Show menu when JS toggles body.menu-open */
body.menu-open .mobile-menu {
  display: block;
}

/* Prevent background scroll when menu open */
body.menu-open {
  overflow: hidden;
}

/* Create Happiness House */
.chh-hero {
  margin: 1.5rem 0 2rem 0;
}

.chh-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.chh-page .vendor-photos,
.chh-landing .vendor-photos {
  margin-top: 1rem;
}

.chh-page .vendor-masonry,
.chh-landing .vendor-masonry {
  margin: 1rem 0 2rem 0;
}

.chh-rental-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 1.5rem;
  align-items: start;
  margin: 0 0 1.5rem 0;
}

.chh-page-kicker {
  margin: 0 0 0.5rem 0;
  color: var(--accent);
  font-weight: 700;
}

.chh-lede {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 720px;
}

.chh-hero-panel,
.chh-cta-block,
.chh-room-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.chh-hero-panel {
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.chh-hero-panel span {
  color: var(--muted);
}

.chh-availability-badge {
  display: inline-grid;
  gap: 0.15rem;
  margin: 0.5rem 0 1rem 0;
  padding: 0.75rem 1rem;
  border: 2px solid #16a34a;
  border-radius: 8px;
  background: #f0fdf4;
  color: #14532d;
}

.chh-availability-badge strong {
  font-size: 1.05rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.chh-availability-badge span {
  font-size: 0.95rem;
}

.chh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
}

.chh-button:hover {
  color: #ffffff;
  text-decoration: none;
  filter: brightness(0.95);
}

.chh-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.chh-secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

.chh-cta-block {
  margin: 1rem 0 1.5rem 0;
  padding: 1rem;
}

.chh-cta-block p {
  margin-top: 0;
}

.chh-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.chh-facts div {
  padding: 0.75rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.chh-facts span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.2;
}

.chh-facts strong {
  display: block;
  margin-top: 0.25rem;
  line-height: 1.25;
}

.chh-room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem 0;
}

.chh-room-card {
  padding: 1rem;
}

.chh-room-card h3 {
  margin-top: 0;
}

.chh-room-price {
  font-weight: 700;
  color: var(--accent);
}

.chh-kitchen-stock {
  margin: 2rem 0;
}

.chh-kitchen-stock ul {
  columns: 2;
  column-gap: 2rem;
}

.chh-kitchen-stock li {
  break-inside: avoid;
  margin-bottom: 0.35rem;
}

.chh-map-section,
.weekend-map-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.4fr);
  gap: 1rem;
  align-items: stretch;
  margin: 2rem 0;
}

.chh-map-copy,
.weekend-map-copy {
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.chh-map-copy h2,
.weekend-map-copy h2 {
  margin-top: 0;
}

.chh-map-links,
.weekend-map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.chh-map-links a,
.weekend-map-links a {
  font-weight: 700;
}

.chh-map-frame,
.weekend-map-frame {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
}

.chh-map-frame iframe,
.weekend-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.food-truck-page h1 {
  margin-top: 0;
  font-size: 2rem;
}

.food-truck-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  align-items: center;
  gap: 1.25rem;
}

.food-truck-hero-copy {
  min-width: 0;
}

.food-truck-hero-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.food-truck-hero-action {
  margin-bottom: 0;
}

.food-truck-logistics-note {
  padding: 0.75rem 0.9rem;
  border-left: 4px solid var(--accent);
  background: #ffffff;
  border-radius: 0 8px 8px 0;
}

.food-truck-cta,
.food-truck-book-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.food-truck-cta:hover,
.food-truck-book-link:hover {
  color: #ffffff;
  text-decoration: none;
  filter: brightness(0.95);
}

.food-truck-date-list {
  display: grid;
  gap: 0.75rem;
}

.food-truck-date-card {
  display: grid;
  grid-template-columns: minmax(130px, 0.75fr) minmax(240px, 1.5fr) minmax(110px, 0.55fr);
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.food-truck-date-cell {
  margin: 0;
  font-size: 1.05rem;
}

.food-truck-booking-status p {
  margin: 0.25rem 0 0 0;
}

.food-truck-booking-status span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.food-truck-action-cell {
  display: flex;
  justify-content: flex-end;
}

.food-truck-book-link {
  width: 100%;
  max-width: 8rem;
}

.food-truck-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.food-truck-feature-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.food-truck-feature-card img {
  width: 140px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
}

.food-truck-feature-card h3 {
  margin: 0 0 0.25rem 0;
}

.food-truck-feature-card p {
  margin: 0.25rem 0;
}

@media (max-width: 760px) {
  .food-truck-hero {
    grid-template-columns: 1fr;
  }

  .food-truck-date-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .food-truck-feature-list {
    grid-template-columns: 1fr;
  }

  .food-truck-action-cell {
    justify-content: flex-start;
  }

  .food-truck-book-link {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .food-truck-feature-card {
    grid-template-columns: 1fr;
  }

  .food-truck-feature-card img {
    width: 100%;
    max-height: 220px;
  }
}

/* CHH subnav */
.chh-subnav {
  margin: 0 0 1.5rem 0;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.chh-subnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.chh-subnav li {
  margin: 0;
}

.chh-subnav .chh-subnav-back {
  margin-left: auto;
}

.chh-subnav a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
}

.chh-subnav a:hover {
  text-decoration: none;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
}

.chh-subnav a.current {
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent);
}

.chh-subnav .chh-subnav-back a {
  border: 1px solid var(--border);
}

@media (max-width: 640px) {
  .chh-rental-hero {
    grid-template-columns: 1fr;
  }

  .chh-kitchen-stock ul {
    columns: 1;
  }

  .chh-map-section,
  .weekend-map-section {
    grid-template-columns: 1fr;
  }

  .chh-subnav {
    padding: 0.75rem;
  }

  .chh-subnav ul {
    gap: 0.5rem;
  }

  .chh-subnav .chh-subnav-back {
    margin-left: 0;
  }

  .chh-subnav a {
    padding: 0.3rem 0.6rem;
  }
}
