/* ============================================================
   CUSTOM — Per-store overrides for Template TL (Lantern)
   Add store-specific tweaks here. Loaded last so it wins
   over theme.css and style.css.
   ============================================================ */

/* Layout for the location / delivery boxes now lives in style.css
   (Lantern template). Keep only store-specific tweaks below. */

/* ---------- home FAQ: questions are semantic h3 headings ----------
   Purely a normaliser: keeps the existing <summary> look untouched. */
.qa summary h3 {
  margin: 0;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: none;
  text-wrap: pretty;
}

/* ---------- home FAQ: internal links to tag pages ---------- */
.qa .qa-body a {
  color: var(--chili);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--chili) 35%, transparent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.qa .qa-body a:hover,
.qa .qa-body a:focus-visible {
  color: var(--chili-dark);
  text-decoration-color: currentColor;
}

/* long neighbourhood / dish lists (8+ items) read better in two columns */
.qa .qa-body ul:has(li:nth-child(8)) {
  columns: 2;
  column-gap: 1.5rem;
}

.qa .qa-body ul:has(li:nth-child(8)) li {
  break-inside: avoid;
}

@media (max-width: 560px) {
  .qa .qa-body ul:has(li:nth-child(8)) {
    columns: 1;
  }
}

/* ---------- home "find us" box: map on the left, details on the right ---------- */
.find-us .location-box__details {
  order: 0;
}

/* ---------- city + cuisine landing page "find us" box:
   map on the left, address / contact details on the right ---------- */
#location .location-box__details {
  order: 0;
}

/* ---------- our food: gallery captions are semantic h3 headings ----------
   Purely a normaliser: keeps the existing caption look untouched. */
.gallery-wall figcaption h3 {
  margin: 0;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

/* keyboard users get the same reveal as hover */
.gallery-wall figure:focus-within figcaption {
  opacity: 1;
  transform: none;
}

/* ---------- about: founder story ("Dos Güeros") ----------
   Copy and photos carried over from the original Habaneros
   site, set in the site's own type scale (Plus Jakarta Sans,
   inherited) rather than the old typewriter face. */
.founder-story {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}

.founder-story__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
}

.founder-story__copy p {
  color: var(--muted);
  max-width: 46rem;
  text-wrap: pretty;
}

.founder-story__copy p + p {
  margin-top: 1.05rem;
}

.founder-story__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.founder-story__photos figure {
  margin: 0;
}

.founder-story__photos img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.founder-story__photos figcaption {
  margin-top: 0.8rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--chili);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
  text-wrap: pretty;
}

@media (max-width: 700px) {
  .founder-story__photos {
    grid-template-columns: 1fr;
  }
}
