/* ── PAGE HERO ── */
    .page-hero {
      padding: 6rem 8vw 4rem;
      background: var(--foam);
      border-bottom: 1px solid var(--mist);
    }
    .page-kicker {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 1.1rem;
      font-weight: 500;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--river);
      margin-bottom: 1rem;
    }
    .page-kicker::before {
      content: '';
      display: block;
      width: 2rem;
      height: 1px;
      background: var(--river);
    }
    .page-hero h1 {
      font-family: var(--serif);
      font-size: clamp(3rem, 5vw, 5rem);
      line-height: 1.06;
      letter-spacing: -0.02em;
      margin-bottom: 1rem;
    }
    .page-hero h1 em { font-style: italic; color: var(--river); }
    .page-hero p {
      font-size: 1rem;
      font-weight: 300;
      color: var(--mid);
      max-width: 52ch;
      line-height: 1.75;
    }

    .media-slider-placeholder {
      margin: 0;
      padding: 4rem 8vw 0;
      background: var(--white);
    }
    .media-slider-box {
      aspect-ratio: 16/6;
      background: var(--mist);
      border-radius: 1rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      border: 2px dashed rgba(28,107,74,0.25);
    }
    .media-slider-box svg { opacity: 0.3; }
    .media-slider-box span {
      font-size: 0.75rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--mid);
      opacity: 0.7;
    }
    .media-slider-hint {
      font-size: 0.7rem;
      color: var(--mid);
      opacity: 0.5;
      margin-top: 0.25rem;
    }
    @media (max-width: 700px) {
      .media-slider-box { aspect-ratio: 4/3; }
    }

    .trip-detail-section {
      padding: 6rem 8vw;
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 5rem;
      align-items: start;
    }
    .trip-detail-info {
      padding-top: 2.5rem;
    }
    .trip-detail-info h2 {
      font-family: var(--serif);
      font-size: 1.75rem;
      letter-spacing: -0.02em;
      margin-bottom: 1rem;
      line-height: 1.2;
    }
    .trip-detail-info > p {
      font-size: 0.95rem;
      font-weight: 300;
      color: var(--mid);
      line-height: 1.75;
      margin-bottom: 1.75rem;
    }
    .trip-fact-list {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      margin-bottom: 2rem;
    }
    .trip-fact {
      display: flex;
      align-items: flex-start;
      gap: 0.9rem;
    }
    .trip-fact-icon {
      width: 2.25rem;
      height: 2.25rem;
      background: rgba(28,107,74,0.08);
      border-radius: 0.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      flex-shrink: 0;
      margin-top: 0.1rem;
    }
    .trip-fact-label {
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--mid);
      margin-bottom: 0.2rem !important;
      margin-top: 0 !important;
    }
    .trip-fact-value {
      font-size: 0.95rem;
      color: var(--ink);
      margin-top: 0 !important;
      margin-bottom: 0 !important;
    }
    .trip-fact-value a { color: var(--river); text-decoration: none; }
    .trip-fact-value a:hover { text-decoration: underline; }
    .why-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--river);
      color: var(--white);
      text-decoration: none;
      padding: 0.9rem 2rem;
      border-radius: 2rem;
      font-weight: 500;
      font-size: 0.9rem;
      transition: background 0.2s, transform 0.2s;
    }
    .why-cta:hover { background: var(--ink); transform: translateY(-1px); }
    .trip-body-block {
      background: var(--foam);
      border: 1px solid var(--mist);
      border-radius: 1rem;
      padding: 2.5rem;
    }
    .trip-body-block h3, .rivers-column h3 {
      font-family: var(--serif);
      font-size: 1.4rem;
      line-height: 1.2;
      margin-bottom: 0.75rem;
      color: var(--ink);
    }
    .trip-body-block > p, .rivers-column > p {
      font-size: 0.95rem;
      font-weight: 300;
      color: var(--mid);
      line-height: 1.8;
      margin-bottom: 1.25rem;
    }
    .trip-body-block p a, .rivers-column p a {
      color: var(--river);
      text-decoration: none;
      border-bottom: 1px solid rgba(28,107,74,0.3);
    }
    .trip-body-block p a:hover { border-bottom-color: var(--river); }
    .trip-body-block ul, .rivers-column ul {
      list-style: none;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
      margin: 0 0 1.25rem;
    }
    .trip-body-block li, .rivers-column li {
      display: flex;
      gap: 0.6rem;
      font-size: 0.9rem;
      color: var(--mid);
      font-weight: 300;
      line-height: 1.6;
    }
    .trip-body-block li::before, .rivers-column li::before {
      content: '✓';
      color: var(--river);
      font-weight: 500;
      flex-shrink: 0;
    }

    /* River difficulty ripple glyphs */
    .river-list { gap: 0.7rem; }
    .river-list li {
      align-items: baseline;
    }
    .river-list li::before { content: none; }
    .river-list li .ripple {
      flex-shrink: 0;
      margin-top: 0.15rem;
    }
    .ripple-ii   path:nth-child(1) { stroke: #5DCAA5; }
    .ripple-ii   path:nth-child(2) { stroke: #5DCAA5; }
    .ripple-ii   path:nth-child(3) { stroke: #5DCAA5; }
    .ripple-iii  path:nth-child(1) { stroke: #378ADD; }
    .ripple-iii  path:nth-child(2) { stroke: #378ADD; }
    .ripple-iii  path:nth-child(3) { stroke: #378ADD; }
    .ripple-iv   path:nth-child(1) { stroke: #EF9F27; }
    .ripple-iv   path:nth-child(2) { stroke: #EF9F27; }
    .ripple-iv   path:nth-child(3) { stroke: #EF9F27; }
    .ripple-ivplus path:nth-child(1) { stroke: #E24B4A; }
    .ripple-ivplus path:nth-child(2) { stroke: #E24B4A; }
    .ripple-ivplus path:nth-child(3) { stroke: #E24B4A; }

    /* Colored dot bullets for unrated/explore rivers */
    .class-dot {
      display: inline-block;
      width: 0.55rem;
      height: 0.55rem;
      border-radius: 50%;
      flex-shrink: 0;
      margin-top: 0.4rem;
    }
    .dot-ii      { background: #5DCAA5; }
    .dot-iii     { background: #378ADD; }
    .dot-iv      { background: #EF9F27; }
    .dot-ivplus  { background: #E24B4A; }
    .dot-unknown { background: var(--mist); border: 1px solid var(--mid); }

    .rivers-column ul.explore-list {
      margin-bottom: 1.5rem;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.4rem 1.5rem;
    }
    .explore-list li { align-items: baseline; }
    .explore-list li::before { content: none; }

    @media (max-width: 600px) {
      .rivers-column ul.explore-list { grid-template-columns: 1fr; }
    }

    /* Rivers Run vs Explore — two column section */
    .rivers-columns-section {
      padding: 5rem 8vw;
      background: var(--foam);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: start;
    }
    .rivers-column {
      background: var(--white);
      border: 1px solid var(--mist);
      border-radius: 1rem;
      padding: 2.5rem;
    }
    .rivers-column h3:first-child { margin-top: 0 !important; }

    @media (max-width: 900px) {
      .trip-detail-section { grid-template-columns: 1fr; gap: 3rem; }
      .rivers-columns-section { grid-template-columns: 1fr; gap: 2rem; }
    }

/* Defensive: since blockGap JSON attributes were removed from these
   patterns (they caused Gutenberg block validation failures when
   combined with nested content), guard against WordPress's default
   block-gap margin sneaking in on top of the CSS's own spacing values. */
.trip-detail-info > * + *,
.trip-fact-list > * + *,
.trip-fact > * + *,
.trip-body-block > * + *,
.rivers-column > * + * {
  margin-block-start: 0 !important;
}

/* Fix excess space between trip-fact label and value (WordPress default
   block spacing was sneaking in between these two nested paragraphs) */
.trip-fact-label + .trip-fact-value {
  margin-block-start: 0 !important;
}

/* Center the Get in Touch button on the trip details card */
.trip-detail-info .wp-block-buttons {
  justify-content: center;
}

/* Area labels (Tena Area, Baeza Area, etc.) — the real source used
   inline styles for these with no reusable class; adding one here since
   the pattern generator assigns className="area-label" */
.area-label {
  font-weight: 500 !important;
  color: var(--ink) !important;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.area-label:first-of-type {
  margin-top: 0;
}

/* Match the height of the two river-list cards so they align vertically
   instead of one trailing off shorter than the other — consolidated
   into the main .rivers-columns-section/.rivers-column rules above */

/* WordPress's default block spacing applies margin-top only to the
   SECOND (and later) direct child of a group — meaning the "Rivers We
   Hope to Explore" card, being the second .rivers-column, was getting
   invisible margin pushing its whole box down before the visible border
   even starts, independent of align-items:start on the grid itself. */
.rivers-columns-section > * + * {
  margin-top: 0 !important;
}

/* ── DIFFICULTY LEGEND ── */
.difficulty-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  background: var(--foam);
  border: 1px solid var(--mist);
  border-radius: 0.75rem;
}
.difficulty-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--mid);
}
.difficulty-legend-item svg {
  flex-shrink: 0;
}

.difficulty-legend .class-dot {
  flex-shrink: 0;
  margin-top: 0;
}
