/* ==========================================================
   Upcoming mission page
   Page-specific styling built on the shared panel system
   ========================================================== */

/* ==========================================================
   Hero
   ========================================================== */

.trip-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--kh-green-950);
}

.trip-hero-image,
.trip-hero-overlay {
  position: absolute;
  inset: 0;
}

.trip-hero-image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(1.08) contrast(1.04);
}

.trip-hero-overlay {
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(5, 20, 12, 0.96) 0%,
      rgba(5, 20, 12, 0.84) 40%,
      rgba(5, 20, 12, 0.42) 68%,
      rgba(5, 20, 12, 0.10) 100%
    );
}

.trip-hero-content {
  position: relative;
  z-index: 2;
  width: min(
    var(--kh-content-width),
    calc(100% - 56px)
  );
  margin: 0 auto;
  padding: 58px 0;
  color: var(--kh-white);
}

.trip-hero-content .kh-page-title {
  max-width: 700px;
  font-size: clamp(3.15rem, 5.4vw, 5.8rem);
}

.trip-hero-intro {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.03rem;
  line-height: 1.65;
}

.trip-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ==========================================================
   Mission overview
   ========================================================== */

.trip-overview {
  background: var(--kh-cream-light);
}

.trip-overview-grid {
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(340px, 0.95fr);
  gap: clamp(46px, 6vw, 70px);
  align-items: center;
}

.trip-overview-copy p {
  margin: 0 0 20px;
  color: var(--kh-muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.trip-needs {
  border-top: 1px solid var(--kh-line);
}

.trip-need {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: clamp(16px, 2.1vh, 22px) 0;
  border-bottom: 1px solid var(--kh-line);
}

.trip-need span {
  padding-top: 4px;
  color: var(--kh-gold-dark);
  font-size: 0.7rem;
  font-weight: 850;
}

.trip-need h3 {
  margin: 0 0 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 1.8vw, 1.6rem);
  font-weight: 500;
}

.trip-need p {
  margin: 0;
  color: var(--kh-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* ==========================================================
   Mission support
   ========================================================== */

.trip-support {
  background: var(--kh-green-900);
  color: var(--kh-white);
}

.trip-support-image img {
  object-position: center;
}

.trip-support-content {
  padding-top: clamp(22px, 3vh, 34px);
  padding-bottom: clamp(22px, 3vh, 34px);
}

.trip-support-content .kh-section-title {
  max-width: 610px;
  color: var(--kh-white);
  font-size: clamp(2.35rem, 3.35vw, 3.65rem);
  line-height: 0.98;
}

.trip-support-content
  > p:not(.kh-eyebrow):not(.trip-support-note) {
  max-width: 570px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.5;
}

.trip-support-list {
  display: grid;
  gap: 6px;
  margin: 14px 0 16px;
  padding: 0;
  list-style: none;
}

.trip-support-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.35;
}

.trip-support-list li::before {
  content: "◆";
  color: var(--kh-gold);
  font-size: 0.64rem;
  line-height: 1.8;
}

.trip-support-note {
  max-width: 570px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  line-height: 1.4;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 900px) {
  .trip-overview-grid {
    grid-template-columns: 1fr;
  }

  .trip-support-image {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .trip-hero {
    align-items: flex-end;
  }

  .trip-hero-image {
    object-position: 62% center;
  }

  .trip-hero-overlay {
    background:
      linear-gradient(
        0deg,
        rgba(5, 20, 12, 0.97) 0%,
        rgba(5, 20, 12, 0.82) 58%,
        rgba(5, 20, 12, 0.24) 100%
      );
  }

  .trip-hero-content {
    width: calc(100% - 34px);
    padding: 72px 0 42px;
  }

  .trip-hero-actions {
    display: grid;
  }

  .trip-hero-actions .kh-button {
    width: 100%;
  }
}


/* Keep the closing-panel action compact enough for measured viewports. */
.trip-support-content .kh-button {
  min-height: 48px;
}
