/* Shared styling for /trips/* blog-style trip pages. Keep this the single source of visual
   structure so every generated trip page looks the same regardless of destination. */

:root { color-scheme: dark; }

body {
  margin: 0;
  background: #242424;
  color: rgba(255, 255, 255, 0.87);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  line-height: 1.6;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

a { color: #63e2b7; }

.eyebrow { opacity: 0.6; font-size: 0.85rem; margin: 0 0 1.5rem; }

h1 { font-size: 1.9rem; margin-bottom: 0.3rem; line-height: 1.25; }

.subtitle { opacity: 0.75; font-size: 1rem; margin: 0 0 1.75rem; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  font-size: 0.85rem;
  opacity: 0.65;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.prompt {
  display: block;
  background: rgba(255,255,255,0.06);
  border-left: 3px solid #63e2b7;
  padding: 0.8rem 1rem;
  margin: 1.2rem 0 2rem;
  border-radius: 3px;
  font-size: 0.92rem;
  font-style: italic;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0 3rem;
}

.actions a {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border-radius: 5px;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
}

.actions a.primary {
  background: #63e2b7;
  color: #14201b;
  border-color: #63e2b7;
  font-weight: 600;
}

h2 { font-size: 1.2rem; margin-top: 2.4rem; margin-bottom: 1rem; }

.route-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stop {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.9rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 1rem 1.1rem;
}

.stop-number {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(99, 226, 183, 0.15);
  color: #63e2b7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.stop-name { font-weight: 700; font-size: 1rem; }

.stop-meta { opacity: 0.6; font-size: 0.8rem; margin: 0.15rem 0 0.5rem; }

.stop-desc { font-size: 0.9rem; opacity: 0.9; margin: 0; }

.photo-carousel {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0.5rem 0;
  -webkit-overflow-scrolling: touch;
}

.photo-carousel img {
  flex: 0 0 auto;
  width: 200px;
  height: 130px;
  object-fit: cover;
  border-radius: 6px;
  scroll-snap-align: start;
  background: rgba(255,255,255,0.05);
}

.photo-credit {
  font-size: 0.7rem;
  opacity: 0.45;
  margin: 0.2rem 0 0.6rem;
}

.photo-credit a { color: inherit; text-decoration: underline; }

.cta {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.trip-index-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.trip-index-list a {
  display: block;
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  text-decoration: none;
}

.trip-index-list .trip-title { color: rgba(255,255,255,0.87); font-weight: 700; font-size: 1rem; }

.trip-index-list .trip-blurb { opacity: 0.65; font-size: 0.85rem; margin-top: 0.3rem; }
