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

/* ------------------------------------------------------------
   FAQ INTERNAL LINKS (index.html #faq)
   The home-page FAQ is the hub that links every page in /tags
   (delivery neighbourhoods, dish pages, delivery & takeout).
   The global reset sets `a { color: inherit; text-decoration:
   none }`, which made those links read as plain muted text.
   These rules give them real link affordance without turning
   the answer copy into a wall of red.
   ------------------------------------------------------------ */

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

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

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

/* Neighbourhood + dish lists are long — lay them out as a tidy
   multi-column grid of link chips instead of one tall column. */
.qa .qa-body ul.qa-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.35rem 1rem;
  margin-top: 0.6rem;
  padding-left: 1.1rem;
}

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

/* ------------------------------------------------------------
   VISIT BOX — map + address card used on local landing pages
   (calgary-pizza-restaurant.html, tags/pizza-takeout-calgary.html,
   tags/pizza-delivery-calgary.html). Map sits on the left, the
   address / phone / hours block on the right, and the action
   buttons tuck into the bottom-right corner of the box.
   ------------------------------------------------------------ */

/* Home page section that hosts the visit box (index.html #visit-us) */
.visit-sec {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--sand);
}

.visit-sec .visit-box {
  margin-top: 1.5rem;
}

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

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

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

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

.visit-box__info h3 {
  font-size: 1.35rem;
}

.visit-box__detail h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.visit-box__detail p {
  font-size: 0.98rem;
  font-weight: 600;
}

.visit-box__detail a {
  color: var(--chili-dark);
}

.visit-box__detail a:hover {
  text-decoration: underline;
}

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

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

.visit-box__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 0.9rem;
}

.visit-box__actions .btn {
  padding: 0.85rem 1.4rem;
  font-size: 0.95rem;
}

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

  .visit-box__map {
    min-height: 300px;
  }

  .visit-box__actions {
    justify-content: stretch;
  }

  .visit-box__actions .btn {
    flex: 1 1 12rem;
  }
}

/* ============================================================
   PIZZA DELIVERY PAGE (tags/pizza-delivery-calgary.html)
   Namespaced with the .pd- prefix so these rules stay scoped
   to this page and never collide with the shared components.
   ============================================================ */

/* --- delivery menu cards: h3 category, h4 dish --- */

.pd-menu-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.pd-menu-card li {
  padding: 0.7rem 0;
}

.pd-menu-card li p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
