/* guide.css — styles for generated content pages (destinations / itineraries / hub)
   Reuses tokens + nav/footer/store/CTA classes from styles.css (.lp-*). */

body.g-page main {
  max-width: 880px;
  padding: 0 24px 0;
}

/* Breadcrumb */
.g-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 24px 0 8px;
  font-size: 13px;
  color: var(--text-light);
}
.g-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
}
.g-breadcrumb a:hover { color: var(--primary); }
.g-bc-sep { color: var(--text-light); }

/* Hero */
.g-hero { padding: 16px 0 8px; }
.g-hero-dest, .g-hero-hub { padding: 18px 0 28px; }
.g-hero-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 14px;
  border-radius: 22px;
  font-size: 38px;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.14), rgba(99, 199, 255, 0.14));
}
.g-hero h1 {
  margin: 0 0 10px;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.g-hero-meta { margin: 0; font-size: 16px; color: var(--text-secondary); }

.g-hero-itin { padding: 8px 0 4px; }
.g-hero-img {
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  border-radius: 22px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 60px -38px rgba(17, 20, 42, 0.5);
}
.g-hero-cap { padding: 28px; color: #fff; }
.g-hero-cap h1 {
  margin: 6px 0 6px;
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.g-hero-sub { margin: 0; font-size: 15px; color: rgba(255, 255, 255, 0.92); }
.g-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.g-tag {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* Lead / meta */
.g-lead {
  margin: 24px 0 18px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--lp-ink);
  font-weight: 600;
}
.g-meta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 20px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.g-meta-row div { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 700; color: var(--lp-ink); }
.g-meta-row small { font-size: 12px; font-weight: 500; color: var(--text-light); }
.g-fit { margin: 0 0 8px; font-size: 16px; line-height: 1.65; color: var(--text-secondary); }

/* Blocks / headings */
.g-block { margin: 36px 0; }
.g-block > h2,
.g-catsec > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.g-count, .g-cat-dot { font-size: 14px; }
.g-count {
  color: var(--text-light);
  font-weight: 700;
}
.g-cat-dot { width: 12px; height: 12px; border-radius: 50%; }

/* Spot list (destination) */
.g-catsec { margin: 30px 0; }
.g-spot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.g-spot {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.g-spot:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(17, 20, 42, 0.4); }
.g-spot-emoji {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  font-size: 22px;
}
.g-spot-body { flex: 1; min-width: 0; }
.g-spot-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.g-spot-top h3 { margin: 0; font-size: 16px; font-weight: 700; }
.g-rating { flex: none; font-size: 13px; font-weight: 700; color: #f59f00; }
.g-spot-desc { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
.g-spot-tip {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  background: rgba(108, 99, 255, 0.07);
  border-radius: 10px;
  padding: 8px 11px;
}
.g-spot-tip strong { color: var(--primary); margin-right: 4px; }
.g-maplink {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.g-maplink:hover { text-decoration: underline; }

/* Itinerary day / tips / cautions */
.g-days, .g-tips, .g-cautions { list-style: none; margin: 0; padding: 0; }
.g-day { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--border); }
.g-day:first-child { border-top: none; }
.g-day-num {
  flex: none;
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--lp-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.g-day-body h3 { margin: 0 0 5px; font-size: 17px; font-weight: 700; }
.g-day-body p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
.g-day-spots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.g-day-spots span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
}
.g-tips li {
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
}
.g-tips strong { display: block; font-size: 15px; margin-bottom: 4px; }
.g-tips span { font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
.g-cautions li {
  position: relative;
  padding: 9px 0 9px 26px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.g-cautions li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 135, 135, 0.18);
  color: #e8590c;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  line-height: 18px;
}

/* Chips */
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.g-chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(108, 99, 255, 0.1);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

/* Related cross-link card */
.g-related {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 24px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--lp-ink);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.g-related:hover { transform: translateY(-3px); border-color: rgba(108, 99, 255, 0.4); }
.g-related .lp-feature-kicker { margin-bottom: 6px; }
.g-related strong { font-size: 17px; font-weight: 700; }
.g-related small { font-size: 13px; color: var(--text-light); }

/* Hub grids */
.g-itin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.g-itincard {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--lp-ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.g-itincard:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(17, 20, 42, 0.45); }
.g-itincard-img { height: 130px; background-size: cover; background-position: center; }
.g-itincard-body { display: flex; flex-direction: column; gap: 5px; padding: 14px 16px; }
.g-itincard-body strong { font-size: 15px; font-weight: 700; line-height: 1.35; }
.g-itincard-body small { font-size: 12px; color: var(--text-light); }

.g-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.g-citycard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--lp-ink);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.g-citycard:hover { transform: translateY(-3px); border-color: rgba(108, 99, 255, 0.4); }
.g-citycard-emoji { font-size: 26px; }
.g-citycard-name { font-size: 16px; font-weight: 700; }
.g-citycard-country { font-size: 12px; color: var(--text-light); }

/* CTA + back */
.g-cta { margin: 44px 0 8px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); }
.g-back { text-align: center; padding: 24px 0 56px; }
.g-back a { color: var(--text-secondary); font-weight: 600; text-decoration: none; }
.g-back a:hover { color: var(--primary); }

/* Responsive */
@media (max-width: 640px) {
  .g-hero h1 { font-size: 30px; }
  .g-hero-cap h1 { font-size: 26px; }
  .g-meta-row { grid-template-columns: 1fr; gap: 8px; }
  .g-block > h2, .g-catsec > h2 { font-size: 19px; }
}
