/*
 * tourist-guide.css — Card rendered by _includes/partials/tourist-guide-card.njk
 * on the hub page, every event page, and the Pass page. Three visual variants
 * tune chrome + colour to each surface; the structural layout (thumbnail on
 * the left, body on the right; stacked below 560px) is shared.
 */

.tourist-guide-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 12px;
  box-sizing: border-box;
  align-items: center;
}

@media (min-width: 560px) {
  .tourist-guide-card {
    grid-template-columns: 200px 1fr;
    gap: 28px;
    padding: 28px;
  }
}

.tourist-guide-card-thumb {
  display: block;
  width: 100%;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tourist-guide-card-thumb:hover,
.tourist-guide-card-thumb:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  outline: none;
}
.tourist-guide-card-thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tourist-guide-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tourist-guide-card-title {
  margin: 0;
  font-family: "Raleway", "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}
.tourist-guide-card-publisher {
  margin: 0;
  font-size: 13px;
}
.tourist-guide-card-publisher a {
  text-decoration: none;
}
.tourist-guide-card-publisher a:hover { text-decoration: underline; }

.tourist-guide-card-blurb {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.55;
}

.tourist-guide-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.tourist-guide-card-cta:hover,
.tourist-guide-card-cta:focus-visible {
  transform: translateY(-1px);
  outline: none;
}
.tourist-guide-card-cta i { font-size: 14px; }

/* Pass page wrapper: takes the same chrome as .pass-header-card
   (white bg + brand radius + soft shadow) so the guide card visually
   matches the header card above the businesses list. The aside inside
   loses its own chrome to avoid double-borders. */
.pass-tourist-guide {
  max-width: 720px;
  margin: 0 auto 32px;
  background: var(--register-card);
  border-radius: var(--register-radius);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

/* ---------- Variant: --pass (chrome lives on .pass-tourist-guide above) ---------- */
.tourist-guide-card--pass {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #1c2833;
}
.tourist-guide-card--pass .tourist-guide-card-title { color: #356083; }
.tourist-guide-card--pass .tourist-guide-card-publisher,
.tourist-guide-card--pass .tourist-guide-card-publisher a { color: #5a6c7e; }
.tourist-guide-card--pass .tourist-guide-card-blurb { color: #1c2833; }
.tourist-guide-card--pass .tourist-guide-card-cta {
  background: #356083;
  color: #fff;
}
.tourist-guide-card--pass .tourist-guide-card-cta:hover,
.tourist-guide-card--pass .tourist-guide-card-cta:focus-visible {
  background: #1f3e57;
}

/* Hub section: shares .hub-impact's pale-grey band so the page reads as a
   set of paired light/white sections. The white card with its shadow pops
   off this grey background. */
.hub-tourist-guide {
  background: #f2f2f3;
}

/* ---------- Variant: --hub (white card on the dark navy section bg) ---------- */
.tourist-guide-card--hub {
  background: #ffffff;
  border: 0;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  color: #1c2833;
}
.tourist-guide-card--hub .tourist-guide-card-title { color: #356083; }
.tourist-guide-card--hub .tourist-guide-card-publisher,
.tourist-guide-card--hub .tourist-guide-card-publisher a { color: #5a6c7e; }
.tourist-guide-card--hub .tourist-guide-card-blurb { color: #1c2833; }
.tourist-guide-card--hub .tourist-guide-card-cta {
  background: #356083;
  color: #ffffff;
}
.tourist-guide-card--hub .tourist-guide-card-cta:hover,
.tourist-guide-card--hub .tourist-guide-card-cta:focus-visible {
  background: #1f3e57;
}

/* ---------- Variant: --event (white card sitting directly on the page bg) ---------- */
.tourist-guide-card--event {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  color: #1c2833;
}
.tourist-guide-card--event .tourist-guide-card-title { color: #356083; }
.tourist-guide-card--event .tourist-guide-card-publisher,
.tourist-guide-card--event .tourist-guide-card-publisher a { color: #5a6c7e; }
.tourist-guide-card--event .tourist-guide-card-blurb { color: #1c2833; }
.tourist-guide-card--event .tourist-guide-card-cta {
  background: #356083;
  color: #fff;
}
.tourist-guide-card--event .tourist-guide-card-cta:hover,
.tourist-guide-card--event .tourist-guide-card-cta:focus-visible {
  background: #1f3e57;
}
