/* Ramblin Trips — modeled on the All-In site: Inter, monochrome, near-black. */
body.trips-site {
  --bg: #080d0b;
  --text: #ffffff;
  --dim: #9ca3af;
  --graphite: #7d898c;
  --line: rgba(125, 137, 140, 0.30);
  --edge: max(24px, calc((100vw - 1200px) / 2));
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

.trips-site,
.trips-site h1,
.trips-site h2,
.trips-site h3,
.trips-site h4,
.trips-site p,
.trips-site a,
.trips-site span,
.trips-site time,
.trips-site button,
.trips-site figcaption {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.trips-site h1,
.trips-site h2,
.trips-site h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ---------- Header / nav ---------- */
.trips-site .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 72px;
  padding: 14px var(--edge);
  background: rgba(8, 13, 11, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.trips-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: var(--text);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.trips-brand span::before { content: "[ "; color: var(--dim); }
.trips-brand strong { color: var(--text); font-weight: 800; }
.trips-brand strong::after { content: " ]"; color: var(--dim); }

.trips-site .desktop-nav { gap: 30px; align-items: center; }

.trips-site .desktop-nav a {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}
.trips-site .desktop-nav a:hover { background: transparent; color: var(--text); }

.trips-site .desktop-nav a.nav-pill {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
}
.trips-site .desktop-nav a.nav-pill:hover { background: rgba(255, 255, 255, 0.86); color: var(--bg); }

.trips-site .menu-toggle span:not(.sr-only) { background: var(--text); }
.trips-site .site-menu,
.trips-site .menu-links { background: var(--bg); }
.trips-site .menu-links a { color: var(--text); font-weight: 600; }
.trips-site .menu-links .menu-pill { background: var(--text); color: var(--bg); }

.trips-menu-image {
  background:
    linear-gradient(rgba(8, 13, 11, 0.32), rgba(8, 13, 11, 0.32)),
    url("next/images/map_greece.png") center / cover;
}

/* ---------- Section primitives ---------- */
.trips-section {
  width: min(calc(100% - 48px), 1200px);
  margin: 0 auto;
}

.trips-site .section-kicker {
  margin: 0;
  color: var(--dim);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.trips-site .section-kicker::before { content: "[ "; }
.trips-site .section-kicker::after { content: " ]"; }

/* ---------- Buttons ---------- */
.btn-solid,
.trips-cta {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border: 1px solid var(--text);
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.trips-cta:hover { background: transparent; color: var(--text); }

.follow-pill,
.trips-all-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.follow-pill:hover,
.trips-all-link:hover { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ---------- Hero ---------- */
.trips-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: calc(100vh - 72px);
  padding: 90px var(--edge) 60px;
  overflow: hidden;
  background:
    linear-gradient(to top, var(--bg) 2%, rgba(8, 13, 11, 0.55) 52%, rgba(8, 13, 11, 0.2) 100%),
    linear-gradient(to right, rgba(8, 13, 11, 0.8), rgba(8, 13, 11, 0.3) 60%, transparent 100%),
    url("dubrovnik2025/images/IMG_2761.jpeg") center / cover;
}

.trips-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1200px);
}

.trips-hero h1 {
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(54px, 8.5vw, 116px);
  line-height: 0.92;
}

.trips-hero-lede {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  line-height: 1.5;
}

.trips-follow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}
.trips-follow-label {
  color: var(--dim);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- About ---------- */
.trips-about {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}
.trips-about h2 {
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.92;
}
.trips-about-body { max-width: 760px; margin-top: 28px; }
.trips-about-body p {
  margin: 0;
  color: var(--dim);
  font-size: clamp(18px, 1.4vw, 21px);
  font-weight: 400;
  line-height: 1.55;
}
.trips-about-body p + p { margin-top: 20px; }
.trips-about-body .trips-follow { margin-top: 34px; }

/* ---------- Featured next trip ---------- */
.trips-featured {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}
.trips-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  margin-top: 28px;
}
.trips-featured-media { margin: 0; }
.trips-featured-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}
.trips-featured-meta,
.trips-card-meta {
  margin: 0;
  color: var(--dim);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.trips-featured-meta::before,
.trips-card-meta::before { content: "[ "; }
.trips-featured-meta::after,
.trips-card-meta::after { content: " ]"; }
.trips-featured-copy h2 {
  margin: 16px 0 0;
  color: var(--text);
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 0.96;
}
.trips-featured-copy > p:not(.trips-featured-meta) {
  max-width: 520px;
  margin: 20px 0 0;
  color: var(--dim);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}
.trips-featured-copy .trips-cta { margin-top: 28px; }

/* ---------- Previous trips (responsive 1/2/3 grid) ---------- */
.trips-previous { padding: 96px 0 112px; }
.trips-previous-head { margin-bottom: 48px; }
.trips-previous-head h2 {
  margin: 14px 0 0;
  color: var(--text);
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 0.96;
}

.trips-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 56px;
}
.trips-card { display: flex; flex-direction: column; }
.trips-card-media {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--graphite);
  text-decoration: none;
}
.trips-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.trips-card-media:hover img { transform: scale(1.04); }
.trips-card-meta { margin-top: 18px; }
.trips-card h3 {
  margin: 10px 0 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.01em;
}
.trips-card h3 a { color: var(--text); text-decoration: none; }
.trips-card h3 a:hover { color: var(--dim); }
.trips-card-desc {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.trips-all-link { margin: 56px auto 0; }
.trips-previous { text-align: center; }
.trips-previous-head,
.trips-card-grid { text-align: left; }

/* ---------- FAQ page ---------- */
.faq-hero {
  width: min(calc(100% - 48px), 1200px);
  margin: 0 auto;
  padding: 104px 0 60px;
}
.faq-hero h1 {
  margin: 16px 0 0;
  color: var(--text);
  font-size: clamp(52px, 8vw, 116px);
  line-height: 0.92;
}
.faq-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--dim);
  font-size: clamp(18px, 1.4vw, 21px);
  font-weight: 400;
  line-height: 1.55;
}

.faq-group { padding: 56px 0 0; }
.faq-group:last-of-type { padding-bottom: 24px; }

.accordion {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item > button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 2px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--text);
}
.accordion-item > button span {
  font-weight: 700;
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.accordion-item > button i {
  position: relative;
  flex: none;
  width: 17px;
  height: 17px;
}
.accordion-item > button i::before,
.accordion-item > button i::after {
  content: "";
  position: absolute;
  background: var(--dim);
  transition: opacity 0.2s ease, background 0.2s ease;
}
.accordion-item > button i::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.accordion-item > button i::after { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); }
.accordion-item > button:hover i::before,
.accordion-item > button:hover i::after { background: var(--text); }
.accordion-item.open > button i::after { opacity: 0; }
.accordion-item.open > button i::before { background: var(--text); }

.accordion-body {
  display: none;
  max-width: 820px;
  padding: 2px 2px 30px;
}
.accordion-item.open .accordion-body { display: block; }
.accordion-body p {
  margin: 0 0 14px;
  color: var(--dim);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
}
.accordion-body p:last-child { margin-bottom: 0; }
.accordion-body .lead {
  color: var(--text);
  font-weight: 600;
  font-size: 18px;
}
.accordion-body ul {
  margin: 4px 0 14px;
  padding-left: 20px;
  color: var(--dim);
}
.accordion-body li { margin: 0 0 8px; font-size: 17px; line-height: 1.55; }
.accordion-body a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.accordion-body a:hover { color: var(--dim); }

@media (max-width: 760px) {
  .faq-hero { width: calc(100% - 10vw); padding: 80px 0 44px; }
  .faq-group { padding: 44px 0 0; }
}

/* ---------- Closing "come along" CTA band ---------- */
.trips-join {
  padding: 96px 0 112px;
  border-top: 1px solid var(--line);
}
.trips-join h2 {
  margin: 16px 0 0;
  max-width: 900px;
  color: var(--text);
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 1.0;
}
.trips-join > p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--dim);
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 400;
  line-height: 1.55;
}
.trips-join > p a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.trips-join > p a:hover { color: var(--dim); }
.trips-join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.trips-join-actions .trips-all-link { margin: 0; }

@media (max-width: 760px) {
  .trips-join { padding: 64px 0 80px; }
}

/* ---------- All trips page ---------- */
.alltrips-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(340px, 56vh, 520px);
  padding: 120px var(--edge) 52px;
  overflow: hidden;
  background:
    linear-gradient(to top, var(--bg) 4%, rgba(8, 13, 11, 0.62) 52%, rgba(8, 13, 11, 0.38) 100%),
    linear-gradient(to right, rgba(8, 13, 11, 0.78), rgba(8, 13, 11, 0.28) 62%, transparent 100%),
    url("greece2026/images/IMG_0231.png") center / cover;
}
.alltrips-hero-link { position: absolute; inset: 0; z-index: 1; }
.alltrips-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1200px);
  pointer-events: none;
}
.alltrips-hero-inner .trips-cta { pointer-events: auto; }
.alltrips-hero h1 {
  margin: 14px 0 0;
  color: var(--text);
  font-size: clamp(44px, 6.5vw, 96px);
  line-height: 0.96;
}
.alltrips-hero-lede {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 400;
  line-height: 1.5;
}
.alltrips-hero .trips-cta { margin-top: 26px; }
.alltrips-hero-link:hover ~ .alltrips-hero-inner .trips-cta { background: transparent; color: var(--text); }

.alltrips-archive { padding: 80px 0 112px; }

/* graphite placeholder tile (no photo) — mirrors All-In's bg-graphite thumbnails */
.trips-card-media.is-placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2b3133, #14191a);
}
.trips-card-media.is-placeholder span {
  color: var(--dim);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .alltrips-hero { padding: 92px 5vw 36px; }
  .alltrips-archive { padding: 56px 0 80px; }
}

/* ---------- Briefing page ---------- */
.briefing-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(360px, 62vh, 560px);
  padding: 120px var(--edge) 56px;
  overflow: hidden;
  background:
    linear-gradient(to top, var(--bg) 4%, rgba(8, 13, 11, 0.6) 55%, rgba(8, 13, 11, 0.35) 100%),
    url("next/images/map_greece.png") center / cover;
}
.briefing-hero-inner { position: relative; z-index: 1; width: min(100%, 1200px); }
.briefing-hero h1 {
  margin: 16px 0 0;
  max-width: 900px;
  color: var(--text);
  font-size: clamp(38px, 5.5vw, 80px);
  line-height: 0.98;
}
.briefing-hero-meta {
  margin: 18px 0 0;
  color: var(--dim);
  font-weight: 600;
  font-size: clamp(14px, 1.3vw, 18px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.briefing-intro { padding: 80px 0 0; }
.briefing-intro h2 {
  margin: 16px 0 0;
  max-width: 760px;
  color: var(--text);
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.02;
}
.briefing-intro p {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--dim);
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 400;
  line-height: 1.55;
}

.briefing-block { padding: 56px 0 0; }
.briefing-callout {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(125, 137, 140, 0.06);
}
.briefing-callout h3 {
  margin: 14px 0 0;
  color: var(--text);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.04;
}
.briefing-callout h4 {
  margin: 28px 0 0;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.briefing-callout p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--dim);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}
.briefing-callout .trips-cta { margin-top: 30px; }

.briefing-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 72px);
  padding: 80px 0 0;
}
.briefing-links-group .section-kicker { margin-bottom: 8px; }
.briefing-link-list { margin: 0; padding: 0; list-style: none; }
.briefing-link-list li { margin: 0; }
.briefing-link-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: padding-left 0.18s ease, color 0.18s ease;
}
.briefing-link-list a:hover { padding-left: 12px; color: var(--text); }
.briefing-link-list a span {
  font-weight: 600;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.3;
}
.briefing-link-list a em {
  flex: none;
  color: var(--dim);
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.briefing-link-list a:hover em { color: var(--text); }

.briefing-closing {
  margin-top: 96px;
  padding: 80px 0 112px;
  border-top: 1px solid var(--line);
}
.briefing-closing h2 {
  margin: 16px 0 0;
  color: var(--text);
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1.02;
}
.briefing-closing p {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--dim);
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 400;
  line-height: 1.55;
}
.briefing-closing .trips-all-link { margin: 32px 0 0; }

@media (max-width: 760px) {
  .briefing-hero { padding: 96px 5vw 40px; }
  .briefing-intro { padding: 56px 0 0; }
  .briefing-block { padding: 40px 0 0; }
  .briefing-links { grid-template-columns: 1fr; gap: 44px; padding: 56px 0 0; }
  .briefing-closing { margin-top: 64px; padding: 56px 0 80px; }
}

/* ---------- Individual trip page ---------- */
.trip-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(440px, 78vh, 760px);
  padding: 120px var(--edge) 56px;
  overflow: hidden;
  background:
    linear-gradient(to top, var(--bg) 3%, rgba(8, 13, 11, 0.55) 50%, rgba(8, 13, 11, 0.25) 100%),
    linear-gradient(to right, rgba(8, 13, 11, 0.7), rgba(8, 13, 11, 0.2) 60%, transparent 100%),
    var(--trip-hero-img, none) center / cover var(--graphite);
}
.trip-hero-inner { position: relative; z-index: 1; width: min(100%, 1200px); }
.trip-hero h1 {
  margin: 14px 0 0;
  color: var(--text);
  font-size: clamp(54px, 8.5vw, 128px);
  line-height: 0.9;
}
.trip-route {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.trip-sub {
  margin: 14px 0 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 400;
  line-height: 1.4;
}

.trip-log { padding: 28px 0 0; }
.log-day {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.log-day:last-child { border-bottom: 0; }
.trip-route a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
.trip-route a:hover { border-bottom-color: var(--text); }
.log-report {
  margin: 10px 0 0;
  color: var(--dim);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.log-map { margin: 26px 0 0; }
.log-map img {
  display: block;
  width: 100%;
  border-radius: 10px;
}
.log-tags {
  margin: 22px 0 0;
  color: var(--graphite);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  word-spacing: 3px;
}
.log-day h2 {
  margin: 14px 0 0;
  max-width: 900px;
  color: var(--text);
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.0;
}
.log-day-body { margin-top: 22px; }
.log-day-body p {
  margin: 0 0 14px;
  color: var(--dim);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
}
.log-day-body p:last-child { margin-bottom: 0; }
.log-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.log-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.trip-routemap { width: 100%; margin: 0; padding: 72px 0 0; }
.trip-routemap figure { margin: 0; }
.trip-routemap img {
  display: block;
  width: 100%;
  border-radius: 0;
  filter: grayscale(0.1) saturate(0.85);
}
.trip-routemap figcaption {
  margin-top: 14px;
  padding: 0 var(--edge);
  color: var(--dim);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trip-crew { padding: 84px 0 0; margin-top: 64px; }
.trip-crew h2 {
  margin: 14px 0 0;
  color: var(--text);
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.0;
}
.crew-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-top: 40px;
}
.crew-member { text-align: center; }
.crew-photo {
  width: 132px;
  height: 132px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--graphite);
}
.crew-photo img { width: 100%; height: 100%; object-fit: cover; }
.crew-member h3 { margin: 0; font-size: 22px; font-weight: 700; }
.crew-member p { margin: 6px 0 0; color: var(--dim); font-size: 15px; line-height: 1.45; }

.trip-tributes { padding: 0 0 12px; }
.trip-quote {
  padding: clamp(26px, 3.5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(125, 137, 140, 0.06);
}
.trip-quote + .trip-quote { margin-top: 18px; }
.trip-quote h3 {
  margin: 12px 0 0;
  color: var(--text);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.02;
}
.trip-quote p {
  margin: 16px 0 0;
  color: var(--dim);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
}

.trip-soundtrack { padding: 80px 0 0; }
.song-lyrics { margin: 0; }
.song-lyrics .song-note { margin: 0 0 18px; color: var(--text); font-weight: 600; font-size: 16px; }
.song-lyrics .stanza { margin: 0 0 16px; color: var(--dim); font-size: 16px; line-height: 1.7; }
.song-lyrics .stanza .label { display: block; color: var(--graphite); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }

@media (max-width: 760px) {
  .trip-hero { min-height: 64vh; padding: 96px 5vw 40px; }
  .trip-hero h1 { font-size: clamp(48px, 15vw, 84px); }
  .log-day { padding: 40px 0; }
  .log-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .crew-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .trip-crew { padding: 60px 0; margin-top: 44px; }
}

/* full-bleed closing band on the trip page */
.trip-outro {
  margin-top: 84px;
  padding: clamp(72px, 9vw, 120px) var(--edge);
  background: #18221f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.trip-outro-inner { width: min(100%, 1200px); margin: 0 auto; }
.trip-outro h2 {
  margin: 16px 0 0;
  color: var(--text);
  font-size: clamp(36px, 5vw, 76px);
  line-height: 1.0;
}
.trip-outro > .trip-outro-inner > p:not(.section-kicker) {
  max-width: 600px;
  margin: 20px 0 0;
  color: var(--dim);
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 400;
  line-height: 1.55;
}

/* ---------- Trip detail template ----------
   Use body.trips-site.trip-detail-page for archive/story trip pages.
   Per-page restyling should happen by overriding these variables on <body>. */
.trip-detail-page {
  --trip-detail-content-max: 1200px;
  --trip-detail-hero-min: clamp(430px, 72vh, 720px);
  --trip-detail-map-max-height: 560px;
  --trip-detail-title-size: clamp(42px, 5.6vw, 84px);
  --trip-detail-day-title-size: clamp(19px, 1.8vw, 27px);
  --trip-detail-day-padding: 54px 0;
  --trip-detail-image-gap: 12px;
  --trip-detail-song-max: 760px;
  --trip-detail-crew-band-bg: #16201d;
  --trip-detail-crew-size: 150px;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.trip-detail-page .trip_cover {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: var(--trip-detail-hero-min);
  padding: 120px var(--edge) 58px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.trip-detail-page .trip_cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 2%, rgba(8, 13, 11, 0.45) 48%, rgba(8, 13, 11, 0.12) 100%),
    linear-gradient(to right, rgba(8, 13, 11, 0.72), rgba(8, 13, 11, 0.18) 62%, transparent 100%);
}

.trip-detail-page .trip_cover .main-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--trip-detail-content-max));
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

.trip-detail-page .trip_cover h1 {
  max-width: 960px;
  margin: 0;
  color: var(--text);
  font-size: clamp(48px, 7.8vw, 112px);
  line-height: 0.9;
}

.trip-detail-page .trip_cover h1 i {
  font-style: normal;
}

.trip-detail-page .trip_cover p {
  max-width: 760px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 500;
  line-height: 1.45;
}

.trip-detail-page .trip_cover .proposed_path {
  margin: 22px 0 0;
  color: var(--dim);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trip-detail-page .trip_cover + img {
  display: block;
  width: 100% !important;
  max-height: var(--trip-detail-map-max-height);
  object-fit: cover;
  background: #14191a;
  filter: grayscale(0.05) saturate(0.9);
}

.trip-detail-page .content-wrapper,
.trip-detail-page .content-container,
.trip-detail-page .content-container1 {
  max-width: none;
  padding: 0;
  background: transparent;
}

.trip-detail-page .content-wrapper {
  width: 100%;
  margin: 0;
  padding: 0 var(--edge);
  box-sizing: border-box;
}

.trip-detail-page .content-container {
  width: 100%;
  margin: 0;
}

.trip-detail-page .full-seaweed {
  max-width: none;
  margin: 0;
  padding: 84px 0 12px !important;
}

.trip-detail-page .page-title {
  margin: 0;
  max-width: var(--trip-detail-content-max);
  color: var(--text);
  font-size: var(--trip-detail-title-size);
  line-height: 0.94;
}

.trip-detail-page .sub-title {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--dim);
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 500;
  line-height: 1.45;
}

.trip-detail-page .seaweed {
  margin: 0;
  padding: var(--trip-detail-day-padding);
  border-bottom: 0;
  background: transparent;
}

.trip-detail-page .seaweed:last-child {
  border-bottom: 0;
}

.trip-detail-page .seaweed h5,
.trip-detail-page .seaweed h3 {
  max-width: var(--trip-detail-content-max);
  margin: 0;
  color: var(--text);
  font-size: var(--trip-detail-day-title-size);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.trip-detail-page .seaweed p {
  max-width: var(--trip-detail-content-max);
  margin: 16px 0 0;
  color: var(--dim);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
}

.trip-detail-page .seaweed .tags {
  color: var(--graphite);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.trip-detail-page .image-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--trip-detail-image-gap);
  margin: 32px 0 0;
  max-width: var(--trip-detail-content-max);
}

.trip-detail-page .image-map {
  max-width: var(--trip-detail-content-max);
  margin: 28px 0 22px;
}

.trip-detail-page .image-map img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  filter: grayscale(0.05) saturate(0.9);
}

.trip-detail-page .image-row img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.trip-detail-page .song {
  display: block;
  max-width: var(--trip-detail-song-max);
  margin: 0 auto;
  columns: 2 280px;
  column-gap: clamp(34px, 6vw, 72px);
}

.trip-detail-page .song h2 {
  column-span: all;
  margin: 0 0 26px;
  color: var(--text);
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.0;
}

.trip-detail-page .song ul {
  break-inside: avoid;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  list-style: none;
  color: var(--dim);
}

.trip-detail-page .song li {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.45vw, 22px);
  font-style: italic;
  line-height: 1.55;
}

.trip-detail-page .content-container1 {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding: 72px var(--edge);
  background: var(--trip-detail-crew-band-bg);
}

.trip-detail-page .content-container1 > h3 {
  width: min(100%, var(--trip-detail-content-max));
  margin: 0 auto 28px !important;
  padding: 0 !important;
  color: var(--text);
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.0;
  text-align: left !important;
}

.trip-detail-page #crew-roster {
  display: flex !important;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-around;
  gap: 28px !important;
  align-items: start;
}

.trip-detail-page .crew-member {
  width: var(--trip-detail-crew-size) !important;
  text-align: center !important;
}

.trip-detail-page .crew-member > div {
  width: var(--trip-detail-crew-size) !important;
  height: var(--trip-detail-crew-size) !important;
  margin: 0 0 10px !important;
  overflow: hidden;
  border-radius: 50%;
}

.trip-detail-page .crew-member > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trip-detail-page .crew-member h4 {
  margin: 0 !important;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.trip-detail-page .crew-member p {
  margin: 8px 0 0 !important;
  color: var(--dim) !important;
  font-size: 13px !important;
  line-height: 1.45;
}

.trip-detail-page #contact {
  margin: 72px 0 0;
  padding: 88px var(--edge);
  border-top: 1px solid var(--line);
  background: #111816;
}

.trip-detail-page #contact .contact-container {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  text-align: left;
}

.trip-detail-page #contact h2 {
  max-width: 760px;
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 1.0;
}

.trip-detail-page #contact p {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--dim);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
}

.trip-detail-page #contact a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.trip-detail-page #contact a:hover {
  color: var(--dim);
}

@media (max-width: 960px) {
  .trip-detail-page .image-row,
  .trip-detail-page #crew-roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trip-detail-page #crew-roster {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  .trip-detail-page .crew-member {
    width: auto !important;
  }

  .trip-detail-page .crew-member > div {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .trip-detail-page .song {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .trip-detail-page .trip_cover {
    min-height: 64vh;
    padding: 96px 5vw 42px;
  }

  .trip-detail-page .content-wrapper,
  .trip-detail-page .content-container,
  .trip-detail-page .content-container1 {
    width: calc(100% - 10vw);
  }

  .trip-detail-page .full-seaweed {
    padding-top: 58px !important;
  }

  .trip-detail-page .seaweed {
    padding: 42px 0;
  }

  .trip-detail-page #contact {
    padding: 64px 5vw;
  }
}

/* ---------- Footer ---------- */
.trips-site .site-footer { background: #050806; border-top: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .trips-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; }
  .trips-featured-grid { grid-template-columns: 1fr; gap: 28px; }
  .trips-featured-media { order: -1; }
}

@media (max-width: 760px) {
  .trips-hero { min-height: calc(100vh - 72px); padding: 56px 5vw 44px; }
  .trips-hero h1 { font-size: clamp(48px, 15vw, 78px); }
  .trips-hero-lede { font-size: 17px; }

  .trips-section { width: calc(100% - 10vw); }
  .trips-about,
  .trips-featured { padding: 64px 0; }
  .trips-previous { padding: 64px 0 80px; }
  .trips-about h2 { font-size: clamp(48px, 15vw, 72px); }

  .trips-card-grid { grid-template-columns: 1fr; gap: 40px; }
}
