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

/* ---------- city + cuisine SEO page (hamilton-indian-restaurant.html) ---------- */

/* keep the local-info photo in proportion on narrow screens */
#local-info .explore__image img {
  height: auto;
}

/* breathing room between the neighbourhood cards and the delivery note */
#delivery-areas .delivery-note {
  margin-top: 1.25rem;
}

/* ============================================================
   LOCATION MAP BOX (tags/indian-food-delivery-hamilton.html)
   Map on the left, address + contact details on the right,
   action buttons pinned to the bottom-right corner.
   ============================================================ */

.location-box-container {
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.location-box {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  margin-top: 2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.location-box__map {
  position: relative;
  min-height: 440px;
  background: var(--sand);
}

.location-box__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

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

.location-box__details h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.location-box__intro {
  color: var(--muted);
  font-size: 0.96rem;
}

.location-box__list {
  display: grid;
  gap: 1rem;
  font-style: normal;
}

.location-box__item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

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

.location-box__item h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.location-box__item p,
.location-box__hours li {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
}

.location-box__item a:hover {
  color: var(--chili-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location-box__hours li {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.75rem;
  padding: 0.1rem 0;
}

.location-box__hours li span:first-child {
  min-width: 5.25rem;
  color: var(--muted);
}

.location-box__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

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

  .location-box__map {
    min-height: 320px;
  }
}

@media (max-width: 480px) {
  .location-box__actions .btn {
    flex: 1 1 100%;
  }
}

/* Tag-page split images: keep the natural aspect ratio when the
   column is narrower than the image's width/height attributes */
.explore__container .explore__image img {
  height: auto;
}

/* ============================================================
   HOME LOCATION MAP BOX (index.html)
   Reuses the .location-box styles above; spacing for the
   home-page section header (kicker + h2 + lede).
   ============================================================ */
#location .sec-head {
  margin-bottom: 0;
}

#location .sec-head .lede {
  margin-top: 1rem;
}

/* ============================================================
   HOME FAQ INTERNAL LINKS (index.html #faq)
   Links into tags/ (service, dish and delivery-area pages).
   Base `a` inherits colour with no underline, so links inside
   FAQ answers need explicit styling to read as links.
   ============================================================ */

.qa .qa-body a {
  color: var(--chili-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease;
}

.qa .qa-body a:hover {
  color: var(--chili);
}

.qa .qa-body p + p,
.qa .qa-body ul + p {
  margin-top: 0.75rem;
}

/* delivery areas: compact tappable link grid */
.qa .qa-body ul.qa-links {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 0.5rem;
  margin: 0.6rem 0 0.25rem;
}

.qa .qa-body ul.qa-links li {
  margin: 0;
}

.qa .qa-body ul.qa-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 100%;
  min-height: 2.75rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--sand);
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.25;
  text-decoration: none;
}

.qa .qa-body ul.qa-links a::before {
  content: "";
  flex: none;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--chili);
}

.qa .qa-body ul.qa-links a:hover,
.qa .qa-body ul.qa-links a:focus-visible {
  border-color: var(--chili);
  background: var(--chili-soft);
  color: var(--chili-dark);
}

/* popular dishes: linked dish name + short description */
.qa .qa-body ul.qa-dishes li {
  margin-bottom: 0.45rem;
}
