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

/* ------------------------------------------------------------
   Location box — map (left) + address / contact (right)
   Used on calgary-chinese-restaurant.html
   ------------------------------------------------------------ */

.location-box {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  margin-top: 2rem;
  background: var(--card);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.location-box .map-frame {
  border-radius: 0;
  box-shadow: none;
  min-height: 440px;
  height: 100%;
}

.location-box__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.location-box__details h3 {
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
  color: var(--basil);
}

.location-box__hours-title {
  margin-top: 1.6rem;
}

.location-box__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

.location-box__list li:last-child {
  border-bottom: none;
}

.location-box__list .ic {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--chili-soft);
  color: var(--chili-dark);
  font-size: 0.95rem;
}

.location-box__list strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.location-box__list li > span:last-child {
  font-weight: 600;
  font-size: 0.96rem;
}

.location-box__hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.location-box__hours li:last-child {
  border-bottom: none;
}

.location-box__actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .location-box {
    grid-template-columns: 1fr;
  }

  .location-box .map-frame {
    min-height: 320px;
  }

  .location-box__actions {
    justify-content: center;
  }
}

/* ------------------------------------------------------------
   FAQ answer links — the internal links out to the dish,
   neighbourhood and service pages in tags/. The global rule
   (a { color: inherit; text-decoration: none }) makes them
   invisible, so give them a real link treatment here.
   ------------------------------------------------------------ */

.qa .qa-body a {
  color: var(--chili-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--chili) 45%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  border-radius: 2px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease,
    background-color 0.18s ease;
}

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

.qa .qa-body a:focus-visible {
  outline: 2px solid var(--chili);
  outline-offset: 2px;
}

/* Neighbourhood + dish lists read better as a compact multi-column
   set than as one long single-file list. */
.qa .qa-body ul {
  columns: 2;
  column-gap: 1.75rem;
}

.qa .qa-body li {
  break-inside: avoid;
}

/* Dish list items carry a trailing description, so keep them full width. */
.qa .qa-body ul:has(li a[href*="/dishes/"]) {
  columns: 1;
}

@media (max-width: 600px) {
  .qa .qa-body ul {
    columns: 1;
  }
}
