/* ==========================================================
   Food Truck — menu, hours, food photos
   ========================================================== */

.food-truck { position: relative; overflow: clip; background: var(--ink-2); } /* clip, not hidden: keeps the sticky hours panel working */
.food-truck::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 45% at 85% 10%, rgba(242,138,30,.1), transparent 70%);
}
.food-truck .wrap { position: relative; }

.food-grid {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: stretch;
}
.food-menu, .food-side {
  background: var(--ink); border: 1px solid rgba(242,138,30,.18); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.food-menu { display: flex; flex-direction: column; gap: 1.4rem; }
.food-menu .placeholder-panel { flex: 1; min-height: 220px; }
.food-menu-head { display: flex; align-items: center; gap: .8rem; }
.food-menu-head .icon { width: 28px; height: 28px; color: var(--orange); }
.food-menu-head h3 { color: #fff; font-size: 1.5rem; }
.food-side { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }

/* Menu image: shown whole at its natural proportions, links to full size */
.menu-board { margin: 0; display: grid; gap: 1rem; justify-items: center; }
.menu-board-link {
  display: block; width: 100%; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(242,138,30,.25), 0 30px 60px -30px rgba(0,0,0,.9);
  transition: box-shadow .25s;
}
.menu-board-link:hover, .menu-board-link:focus-visible { box-shadow: 0 0 0 2px var(--orange), 0 30px 60px -30px rgba(0,0,0,.9); }
.menu-board img { display: block; width: 100%; height: auto; }
.menu-board figcaption .card-link .icon { width: 16px; height: 16px; }

/* Desktop: the menu makes this row tall, so keep the hours panel its natural
   height and pinned in view while scrolling the menu. */
@media (min-width: 901px) {
  .food-grid { align-items: start; }
  .food-side { position: sticky; top: 90px; justify-content: flex-start; }
}

.food-photos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.food-photo {
  margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: var(--ink-3);
}
.food-photo img { width: 100%; height: 100%; object-fit: cover; }
.food-photo.is-placeholder {
  display: grid; place-content: center; justify-items: center; gap: .6rem;
  border: 1px dashed rgba(242,138,30,.35);
  background: linear-gradient(135deg, rgba(20,17,16,.9), rgba(90,58,36,.45));
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(246,239,228,.75);
}
.food-photo.is-placeholder .icon { width: 30px; height: 30px; color: var(--amber); }

@media (max-width: 900px) {
  /* minmax(0, 1fr) + min-width: 0 let the single column (and the menu / hours
     panels in it) shrink to the screen instead of growing to fit their widest
     unbreakable content, which pushed both panels past the right edge. */
  .food-grid { grid-template-columns: minmax(0, 1fr); }
  .food-grid > * { min-width: 0; }
}
@media (max-width: 600px) {
  .food-menu { padding: 1.2rem .7rem; }        /* give the menu image as much width as possible */
  .food-menu-head { padding: 0 .5rem; }
  .food-side { padding: 1.4rem 1.1rem; }
  /* Long rows ("Sunday – Wednesday · No food truck service") wrap instead of
     forcing the card wider than the screen */
  .food-hours .hours-list > div { flex-wrap: wrap; row-gap: .2rem; }
  .food-hours .hours-list dd { white-space: normal; text-align: left; }
  .food-hours .hours-list dt { flex: 1 1 auto; }
  .food-photos { grid-template-columns: 1fr 1fr; }
  .food-photos > :last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

/* ---------- Food Truck Hours (food truck page + homepage preview) ---------- */
.food-hours { scroll-margin-top: 90px; }
.food-hours h3 { display: flex; align-items: center; gap: .6rem; color: #fff; font-size: 1.3rem; margin-bottom: .35rem; }
.food-hours h3 .icon { width: 26px; height: 26px; color: var(--orange); }
.food-hours-note { margin: 0 0 1rem; font-size: .85rem; }
.food-hours .hours-list { gap: 0; }
.food-hours .hours-list > div { padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.food-hours .hours-list > div:last-child { border-bottom: 0; }
.food-hours .hours-list dt { color: #fff; }
.food-hours .hours-list .is-today dt { color: var(--orange); }
.food-hours .hours-list > .is-today { border-bottom-color: rgba(242,138,30,.35); }
.food-side .info-list { padding-top: 1.4rem; border-top: 1px solid rgba(242,138,30,.18); }

/* Homepage preview: one-line summary */
.food-preview-hours {
  display: inline-grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; align-items: center;
  margin: .4rem 0 0; padding: .8rem 1.1rem;
  border: 1px solid rgba(242,138,30,.35); border-radius: var(--radius); background: rgba(20,17,16,.5);
}
.food-preview-hours .icon { grid-row: span 2; width: 26px; height: 26px; color: var(--orange); }
.food-preview-hours .label {
  font-family: var(--display); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange);
}
.food-preview-hours p { margin: 0; color: #fff; font-weight: 500; }
