/* ============================================================
   TRAVEL GUIDE — Francis & Will
   Editorial layout for the Travel Guide landing + Eat / Play /
   Sleep subpages. Uses the shared brand tokens from styles.css.

   EDIT ZONE — page look
   ============================================================ */
.travel {
  --tg-bg: #C89839;          /* gold page background */
  --tg-panel: #002D04;       /* forest green cards */
  --tg-card-text: #ffffff;   /* white text on cards */
  --tg-text: #002d04;        /* forest green body text */
  --tg-accent: #7d2318;      /* rust accents */
  --tg-gold: #c8985d;        /* gold dividers */
  --tg-navy: #062d63;

  --tg-font-script: "Snell Roundhand", "Apple Chancery", cursive;
  --tg-font-serif: "Oranienbaum", "Playfair Display", Georgia, serif;
}
/* ============================================================ */

.travel {
  margin: 0;
  min-height: 100vh;
  background: var(--tg-bg);
  color: var(--tg-card-text);
  font-family: var(--tg-font-serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.travel-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 88px 24px 104px;
}

.travel-eyebrow {
  margin: 0 0 10px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--tg-card-text);
}

.travel-title {
  margin: 0 0 8px;
  text-align: center;
  font-family: var(--tg-font-serif);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 84px);
  line-height: 1.05;
}

.travel-meta {
  margin: 0 auto 40px;
  max-width: 620px;
  text-align: center;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
}

.travel-rule {
  width: 72px;
  height: 1px;
  margin: 0 auto 48px;
  background: var(--tg-gold);
  border: 0;
}

/* Landing cards */
.travel-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.travel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  background: var(--tg-panel);
  border: 1px solid var(--tg-gold);
  border-radius: 4px;
  text-decoration: none;
  color: var(--tg-card-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.travel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(0, 45, 4, 0.5);
}

.travel-card h2 {
  margin: 0 0 8px;
  font-family: var(--tg-font-serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
}

.travel-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--tg-card-text);
  opacity: 0.82;
  letter-spacing: 0.04em;
}

/* Subpage sections + entries */
.travel-section {
  margin: 56px 0 0;
}

.travel-section-heading {
  margin: 0 0 6px;
  font-family: var(--tg-font-serif);
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tg-card-text);
  text-align: center;
}

.travel-section-sub {
  margin: 0 auto 28px;
  max-width: 620px;
  text-align: center;
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.85;
}

.travel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.travel-entry {
  padding: 22px 24px;
  background: var(--tg-panel);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--tg-gold);
  border-radius: 3px;
  color: var(--tg-card-text);
}

.travel-entry h3 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.travel-entry .travel-tag {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tg-gold);
}

.travel-entry p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.55;
}

.travel-entry .travel-addr {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0.02em;
  opacity: 0.75;
}

.travel-sublist {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.travel-sublist li {
  padding-left: 14px;
  border-left: 2px solid var(--tg-gold);
  font-size: 15px;
  line-height: 1.5;
}

.travel-sublist strong {
  font-weight: 400;
  color: var(--tg-gold);
}

.travel-entry a.travel-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tg-gold);
  text-decoration: none;
  border-bottom: 1px solid var(--tg-gold);
  padding-bottom: 1px;
}

.travel-entry a.travel-link:hover {
  color: var(--tg-card-text);
}

.travel-note {
  margin: 28px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  font-style: italic;
  opacity: 0.7;
}

/* Bottom nav */
.travel-backnav {
  margin: 64px auto 0;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.travel-backnav a {
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tg-card-text);
  text-decoration: none;
  border-bottom: 1px solid var(--tg-gold);
  padding-bottom: 2px;
}

.travel-backnav a:hover {
  color: var(--tg-gold);
}

/* Neighborhood heatmap */
.travel-heatmap {
  margin: 64px auto 0;
  max-width: 820px;
}

.travel-map {
  position: relative;
  height: 460px;
  margin: 8px 0 20px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--tg-gold);
  background: var(--tg-panel);
}

.travel-map-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tg-card-text);
  opacity: 0.75;
}

/* Keep Leaflet tiles/controls below the map's rounded frame */
.travel-map .leaflet-container {
  height: 100%;
  width: 100%;
  background: var(--tg-panel);
  font-family: var(--tg-font-serif);
}

.travel-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--tg-card-text);
}

.travel-legend li {
  display: inline-flex;
  align-items: center;
}

.travel-legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

@media (max-width: 720px) {
  .travel-cards {
    grid-template-columns: 1fr;
  }
  .travel-wrap {
    padding: 64px 18px 84px;
  }
  .travel-map {
    height: 360px;
  }
}
