.trip-detail { background: var(--color-white); }

.trip-hero {
  position: relative;
  display: flex;
  min-height: clamp(25rem, 31vw, 30rem);
  overflow: hidden;
  background: var(--color-paper);
}

.trip-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.trip-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg,
    var(--color-paper) 0%,
    rgb(238 233 222 / 98%) 23%,
    rgb(238 233 222 / 86%) 45%,
    rgb(238 233 222 / 26%) 76%,
    transparent 100%);
  content: "";
}

.trip-hero::after {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.55rem;
  background: var(--area-color, var(--color-brand));
  content: "";
}

.trip-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(calc(100% - 2rem), 82.5rem);
  flex-direction: column;
  justify-content: flex-start;
  padding-block: 1.7rem 3rem;
}

.trip-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
  margin: 0;
  color: var(--color-ink);
  font-size: 0.82rem;
}

.trip-hero__breadcrumb a { text-decoration: none; }
.trip-hero__breadcrumb a:hover { text-decoration: underline; }
.trip-hero__breadcrumb span { color: var(--color-ink); }
.trip-hero__body { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: clamp(2rem, 4vw, 4rem); }
.trip-hero__copy { width: min(46rem, 70%); padding-block: 1.8rem; }
.trip-hero--with-feature .trip-hero__copy { width: min(46rem, 60%); }
.trip-hero__feature { width: min(34%, 27rem); flex: none; margin: 1.6rem 0 0; border: 0.55rem solid var(--color-white); background: var(--color-white); box-shadow: 0 1rem 2.4rem rgb(75 76 75 / 18%); transform: rotate(2deg); }
.trip-hero__feature img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.trip-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.trip-hero__meta span {
  padding: 0.26rem 0.7rem;
  border: 1px solid rgb(75 76 75 / 23%);
  background: rgb(250 248 243 / 70%);
  color: var(--color-ink);
  font-size: 0.72rem;
  font-weight: 700;
}

.trip-hero__meta .trip-hero__region {
  border-left: 0.3rem solid var(--area-color, var(--color-brand));
}

.trip-hero h1 {
  max-width: 14em;
  margin: 0;
  color: var(--color-brand-strong);
  font-size: clamp(2.65rem, 4.1vw, 4rem);
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1.28;
  text-wrap: balance;
}

.trip-hero__lead {
  max-width: 37rem;
  margin: 1.45rem 0 0;
  color: var(--color-ink);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  line-height: 1.8;
}

.trip-content-layout {
  display: grid;
  padding-block: 4.5rem 6.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 19.5rem);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.trip-content-layout--reading-only { grid-template-columns: minmax(0, 1fr); }
.trip-content-layout--reading-only .trip-content { max-width: 60rem; }

.trip-content { min-width: 0; }
.trip-content > * + * { margin-top: clamp(2.5rem, 4.5vw, 4rem); }
.trip-content h2 { color: var(--color-brand-strong); font-size: var(--step-2); }

.trip-facts {
  padding-block: 1.65rem 2rem;
  border-top: 0.22rem solid var(--area-color, var(--color-brand));
  border-bottom: 1px solid var(--color-line);
}

.trip-facts h2 { margin: 0 0 1.35rem; font-size: var(--step-1); }
.trip-facts dl { display: grid; margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 2rem; }
.trip-facts dt { margin-bottom: 0.25rem; color: var(--color-ink-muted); font-size: 0.78rem; }
.trip-facts dd { margin: 0; color: var(--color-ink); font-weight: 700; line-height: 1.5; }

.trip-fee { padding: 1.45rem 1.7rem; border-left: 0.3rem solid var(--area-color, var(--color-brand)); background: var(--color-brand-strong); }
.trip-fee h2 { margin: 0 0 0.45rem; color: var(--color-paper); font-size: var(--step-1); }
.trip-fee p { margin: 0; color: var(--color-paper); font-size: 1.05rem; font-weight: 700; line-height: 1.7; }

.trip-story { max-width: 48rem; }
.trip-story > *:first-child { margin-top: 0; }
.trip-story > p:first-of-type { font-size: 1.2rem; line-height: 1.9; }
.trip-story p { line-height: 1.85; }
.trip-story h2 {
  padding-left: 1rem;
  margin-bottom: 1.55rem;
  border-left: 0.3rem solid var(--area-color, var(--color-brand));
}
.trip-story > section + section { padding-top: 3rem; margin-top: 3rem; border-top: 1px solid var(--color-line); }

.highlight-list,
.schedule-list,
.notes-list { padding: 0; margin: 0; list-style: none; }

.highlight-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.highlight-list li {
  padding: 1.2rem;
  border-top: 0.2rem solid var(--area-color, var(--color-brand));
  background: var(--color-paper);
}
.highlight-list strong,
.highlight-list span { display: block; }
.highlight-list strong { margin-bottom: 0.55rem; color: var(--color-brand-strong); }
.highlight-list span { color: var(--color-ink-muted); font-size: 0.88rem; line-height: 1.65; }

.schedule-list { border-top: 1px solid var(--color-line); }
.schedule-list li { display: grid; padding-block: 1.4rem; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1.2rem; border-bottom: 1px solid var(--color-line); }
.schedule-list > li > span { color: var(--color-ink); font-weight: 800; }
.schedule-list h3 { margin: 0 0 0.35rem; font-size: var(--step-1); }
.schedule-list p { margin: 0; color: var(--color-ink-muted); }

.trip-content-gallery { display: grid; margin-top: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.trip-content-gallery figure { margin: 0; overflow: hidden; background: var(--color-white); }
.trip-content-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.trip-content-gallery figcaption { padding: 0.75rem 0.9rem; color: var(--color-ink); font-size: 0.78rem; font-weight: 700; }
.notes-list { padding-left: 1.3rem; list-style: disc; }
.notes-list li + li { margin-top: 0.6rem; }

.trip-place {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 0.35rem solid var(--area-color, var(--color-brand));
  background: var(--color-brand-soft);
}
.trip-place__label { margin: 0 0 0.6rem; color: var(--color-ink); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; }
.trip-place h2 { margin: 0 0 1rem; font-size: var(--step-1); }
.trip-place p:not(.trip-place__label) { margin-bottom: 1.1rem; color: var(--color-ink-muted); line-height: 1.75; }
.trip-place a { display: inline-flex; gap: 0.75rem; align-items: center; color: var(--color-ink); font-size: 0.88rem; font-weight: 700; }

.trip-notes { padding: 1.5rem 1.8rem; border-left: 0.3rem solid var(--area-color, var(--color-brand)); background: var(--color-partner); }
.trip-notes h2 { margin: 0 0 0.65rem; font-size: var(--step-1); }
.trip-notes p:last-child { margin-bottom: 0; }
.trip-back-link { display: inline-flex; color: var(--color-ink); font-size: 0.9rem; font-weight: 700; text-underline-offset: 0.25rem; }

.booking-panel {
  padding: 1.6rem;
  border: 1px solid var(--color-line);
  border-top: 0.3rem solid var(--area-color, var(--color-brand));
  background: var(--color-paper);
}
.booking-panel__label { margin: 0 0 0.6rem; color: var(--color-ink); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; }
.booking-panel h2 { margin: 0 0 1.4rem; font-size: var(--step-1); }
.booking-panel__intro { margin-bottom: 1.3rem; color: var(--color-ink-muted); font-size: 0.85rem; }

.booking-panel .ma-booking-form > p { margin: 0 0 var(--space-2); }
.booking-panel .ma-booking-form label { display: block; color: var(--color-brand-strong); font-size: var(--step--1); font-weight: 700; }
.booking-panel .ma-booking-form input:not([type="checkbox"]),
.booking-panel .ma-booking-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.9rem;
  margin-top: 0.35rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-ink);
  font: inherit;
}
.booking-panel .ma-booking-form input[type="checkbox"] { accent-color: var(--color-ink); }
.booking-panel .ma-booking-form .button { width: 100%; cursor: pointer; }
.booking-panel .ma-honeypot { position: absolute; left: -9999px; }

@media (max-width: 1023px) {
  .trip-hero__feature { width: 32%; }
  .trip-content-layout { grid-template-columns: minmax(0, 1fr) 17rem; gap: 2rem; }
}

@media (max-width: 850px) {
  .trip-hero__copy { width: 100%; }
  .trip-hero--with-feature .trip-hero__copy { width: 63%; }
  .trip-content-layout { grid-template-columns: 1fr; }
}

@media (max-width: 639px) {
  .trip-hero { min-height: 0; }
  .trip-hero__image { object-position: 62% center; }
  .trip-hero::before {
    background: linear-gradient(180deg,
      var(--color-paper) 0%,
      rgb(238 233 222 / 99%) 52%,
      rgb(238 233 222 / 94%) 78%,
      rgb(238 233 222 / 12%) 100%);
  }
  .trip-hero__inner { padding-block: 1.3rem 2.7rem; }
  .trip-hero__body { display: block; }
  .trip-hero__copy,
  .trip-hero--with-feature .trip-hero__copy { width: 100%; padding-block: 2rem 0; }
  .trip-hero__feature { width: min(83%, 23rem); margin: 2rem auto 0; transform: rotate(1deg); }
  .trip-hero h1 { font-size: clamp(2.2rem, 8.5vw, 2.75rem); line-height: 1.33; }
  .trip-hero__lead { margin-top: 1.1rem; font-size: 0.97rem; line-height: 1.7; }
  .trip-hero__meta { margin-bottom: 1rem; }
  .trip-content-layout { padding-block: 2.8rem 4.5rem; gap: 3rem; }
  .trip-facts dl { grid-template-columns: 1fr; gap: 1rem; }
  .highlight-list,
  .trip-content-gallery { grid-template-columns: 1fr; }
  .schedule-list li { grid-template-columns: 3.7rem minmax(0, 1fr); gap: 0.75rem; }
  .trip-story > p:first-of-type { font-size: 1.1rem; }
  .booking-panel { padding: 1.4rem; }
}
.trip-schedule .schedule-list > li > span { color: var(--color-ink); font-variant-numeric: tabular-nums; }
.trip-schedule .schedule-list > li { position: relative; }
.trip-schedule .schedule-list > li > div { padding-left: 1.3rem; border-left: 2px solid var(--color-line); min-width: 0; }
.trip-schedule .trip-content-gallery { margin-top: 1rem; }
.trip-schedule .trip-content-gallery:has(> figure:only-child) { grid-template-columns: minmax(0, 1fr); max-width: 38rem; }
.trip-schedule .trip-content-gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; contain: none; contain-intrinsic-size: none; }
.trip-highlights, .trip-schedule { min-width: 0; }
@media (max-width: 599px) {
  .trip-schedule .schedule-list > li { grid-template-columns: 3.4rem minmax(0, 1fr); gap: .5rem; }
  .trip-schedule .schedule-list > li > div { padding-left: .7rem; }
  .trip-schedule .trip-content-gallery { grid-template-columns: minmax(0, 1fr); }
}
.trip-fee__body { min-width: 0; max-width: 100%; overflow-x: auto; color: var(--color-paper); }
.trip-fee__body > * + * { margin-top: 1rem; }
.trip-fee__body table { width: 100%; min-width: 24rem; border-collapse: collapse; color: inherit; font-size: .95rem; }
.trip-fee__body th, .trip-fee__body td { padding: .7rem .85rem; border: 1px solid rgb(238 233 222 / 40%); text-align: left; vertical-align: top; }
.trip-fee__body th { background: rgb(238 233 222 / 12%); }
.trip-fee__body ul, .trip-fee__body ol { padding-left: 1.5rem; line-height: 1.8; }
.trip-fee__body a { color: inherit; text-decoration: underline; }
