/* Trip guide template layout. Studio Depth.
   Generous whitespace, clear hierarchy, soft raised/recessed cards, photo slots. */

html { scroll-behavior: smooth; }

.trip-main {
  padding-bottom: 64px;
}

/* ---- Hero ---- */
.trip-hero {
  padding: 36px 0 0;
}

.trip-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.trip-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 4px 16px 0;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trip-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--ink);
  max-width: 14ch;
}

.trip-hero .deck {
  margin: 0 0 24px;
  max-width: 38em;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .link-quiet {
  font-size: 14px;
}

/* Photo slots: figure + img + figcaption credits */
.photo-slot {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--raise), var(--edge);
  background: var(--ground);
}

.photo-slot img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.photo-slot.hero-photo {
  min-height: 280px;
}

.photo-slot.hero-photo img {
  aspect-ratio: 16 / 10;
}

.photo-slot.section-photo {
  margin: 8px 0 28px;
  border-radius: var(--r);
}

.photo-slot.section-photo img {
  aspect-ratio: 21 / 9;
}

.photo-slot figcaption {
  margin: 0;
  padding: 10px 14px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted-soft);
  background: var(--raised);
  border-top: 1px solid var(--hairline);
}

.photo-band {
  margin: 8px 0 28px;
}

.photo-band.duo {
  display: grid;
  gap: 14px;
}

.photo-band.duo .photo-slot.section-photo {
  margin: 0;
}

@media (min-width: 640px) {
  .photo-band.duo {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- In-page nav ---- */
.trip-toc {
  position: sticky;
  top: 64px;
  z-index: 15;
  margin: 28px 0 0;
  padding: 10px 0;
  background: rgba(232, 230, 225, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.trip-toc .inner {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
  scrollbar-width: none;
}

.trip-toc .inner::-webkit-scrollbar { display: none; }

.trip-toc a {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.trip-toc a:hover {
  color: var(--ink);
  background: rgba(243, 241, 236, 0.85);
}

/* ---- Article body ---- */
.trip-article {
  max-width: var(--article);
  margin: 0 auto;
  padding: 40px 32px 0;
}

.trip-article > p {
  margin: 0 0 1.15rem;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
}

.trip-article a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.trip-article a:hover {
  color: var(--accent-hi);
}

.section-block {
  margin-top: 48px;
  padding-top: 8px;
}

.section-block > h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--ink);
}

.section-deck {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 42em;
}

.note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.note-recess {
  margin: 0 0 1.25rem;
  padding: 14px 16px;
  background: var(--ground);
  border-radius: var(--r-sm);
  box-shadow: var(--recess);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ---- Day shape cards ---- */
.day-shapes {
  display: grid;
  gap: 18px;
  margin: 8px 0 8px;
}

.day-card {
  background: var(--raised);
  border-radius: var(--r);
  padding: 22px 24px 20px;
  box-shadow: var(--raise), var(--edge);
}

.day-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}

.day-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.day-card li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--hairline);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.day-card li:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.day-card .day-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 2px;
}

.day-card .day-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---- Course tradeoff cards ---- */
.course-grid {
  display: grid;
  gap: 16px;
}

.course-card {
  background: var(--raised);
  border-radius: var(--r);
  padding: 22px 24px;
  box-shadow: var(--raise-sm), var(--edge);
}

.course-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.course-meta {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}

.course-meta dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin: 0;
}

.course-meta dd {
  margin: 2px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}

.course-fee {
  margin: 0 0 12px;
  padding: 12px 14px;
  background: var(--ground);
  border-radius: 12px;
  box-shadow: var(--recess);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.course-fee strong {
  color: var(--ink);
  font-weight: 600;
}

.course-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.course-links a {
  font-size: 14px;
  font-weight: 600;
}

/* ---- Stay / booking blocks ---- */
.stay-grid,
.booking-grid {
  display: grid;
  gap: 14px;
}

.stay-card,
.booking-card {
  background: var(--raised);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  box-shadow: var(--raise-sm), var(--edge);
}

.stay-card h3,
.booking-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.stay-card p,
.booking-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}

.booking-priority {
  margin: 18px 0 0;
  padding: 16px 18px;
  background: var(--raised);
  border-radius: var(--r-sm);
  box-shadow: var(--raise-sm), var(--edge);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
}

/* ---- Weather ---- */
.weather-list {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
}

.weather-item {
  background: var(--raised);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  box-shadow: var(--raise-sm), var(--edge);
}

.weather-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.weather-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---- Checklist ---- */
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--raised);
  border-radius: var(--r);
  box-shadow: var(--raise), var(--edge);
  overflow: hidden;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.5;
  border-top: 1px solid var(--hairline);
}

.check-list li:first-child {
  border-top: 0;
}

.check-mark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 6px;
  background: var(--ground);
  box-shadow: var(--recess);
}

/* ---- Related + soft CTA ---- */
.trip-article .related {
  margin-top: 48px;
  background: var(--raised);
  border-radius: var(--r);
  padding: 22px 24px;
  box-shadow: var(--raise-sm), var(--edge);
}

.trip-article .related h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.trip-article .related ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trip-article .related li {
  margin: 0 0 8px;
  font-size: 15px;
}

.trip-article .related li:last-child {
  margin-bottom: 0;
}

.trip-soft-cta {
  margin: 36px 0 0;
  padding: 28px 24px;
  text-align: center;
  background: var(--raised);
  border-radius: var(--r);
  box-shadow: var(--raise-sm), var(--edge);
}

.trip-soft-cta p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.trip-soft-cta .soft-line {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted-soft);
}

.trip-soft-cta .soft-line a {
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(18, 20, 18, 0.14);
}

.trip-soft-cta .soft-line a:hover {
  color: var(--ink);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .trip-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .photo-slot.hero-photo {
    min-height: 260px;
    order: -1;
  }

  .trip-toc {
    top: 0;
  }

  .trip-toc .inner {
    padding: 0 20px;
  }

  .trip-article {
    padding: 32px 20px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary {
    width: 100%;
  }

  .hero-actions .link-quiet {
    text-align: center;
  }

  .trip-soft-cta .btn-primary {
    width: 100%;
  }
}

@media (min-width: 720px) {
  .stay-grid {
    grid-template-columns: 1fr 1fr;
  }
}
