/* Sea to Sky Expeditions — kluane-basecamp.html
 * Page-specific presentation. Keep structural layout in trip-page-layout.css.
 * This file is loaded only by kluane-basecamp.html.
 */

/* Trip hero image, gradient and focal point */
.page-header.trip-product-hero.sts-general-trip-hero {
  background-image: linear-gradient(90deg, rgba(15,35,50,.55), rgba(15,35,50,.10)),
                    url("../images/Kluane/IMG_9030.jpg");
  background-position: 50% 43%;
  background-size: cover;
  min-height: 420px;
}

.sts-general-trip-hero .page-header-box h1,
.sts-general-trip-hero .breadcrumb,
.sts-general-trip-hero .breadcrumb a {
  color: #fff;
}

.sts-general-trip-hero .trip-hero-summary {
  max-width: 830px;
  color: #f0f4f2;
}

/* Add future kluane-basecamp overrides here; avoid editing shared template CSS. */


/* Kluane: two independent itineraries. Do not use the shared single-timeline grid. */
.sts-kluane-itineraries .sts-kluane-intro {
  max-width: 850px;
  margin: 0 0 32px;
  line-height: 1.7;
}
.sts-kluane-itineraries .sts-kluane-program {
  border: 1px solid #dce5e7;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  margin: 0 0 32px;
}
.sts-kluane-itineraries .sts-kluane-program-heading {
  padding: 24px 28px;
  background: #f0f5f5;
  border-bottom: 1px solid #dce5e7;
}
.sts-kluane-itineraries .sts-kluane-program-heading h3 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  color: #14344b;
}
.sts-kluane-itineraries .sts-kluane-program-heading p { margin: 0; }
.sts-kluane-itineraries .sts-kluane-days {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0;
  padding: 10px 28px 22px;
}
.sts-kluane-itineraries .sts-kluane-day {
  padding: 22px 22px 22px 0;
  border-bottom: 1px solid #e3eaec;
  min-width: 0;
}
.sts-kluane-itineraries .sts-kluane-day:nth-child(even) { padding-left: 22px; padding-right: 0; }
.sts-kluane-itineraries .sts-kluane-day h4 {
  font-size: 1rem;
  font-weight: 750;
  color: #14344b;
  margin: 0 0 8px;
  line-height: 1.4;
}
.sts-kluane-itineraries .sts-kluane-day p { margin: 0; line-height: 1.65; }
@media (max-width: 767px) {
  .sts-kluane-itineraries .sts-kluane-days { grid-template-columns: 1fr; padding: 8px 20px 18px; }
  .sts-kluane-itineraries .sts-kluane-day,
  .sts-kluane-itineraries .sts-kluane-day:nth-child(even) { padding: 18px 0; }
  .sts-kluane-itineraries .sts-kluane-program-heading { padding: 20px; }
}

/* Practical joining instructions, kept in this page stylesheet only. */
.sts-kluane-joining .trip-value-grid { margin-top: 1.25rem; }
.sts-kluane-joining .trip-value-grid article { min-width: 0; }
.sts-kluane-joining-note { max-width: 860px; margin-top: 1rem; font-size: .95rem; line-height: 1.65; }
.sts-kluane-day strong { font-weight: 750; }


/* Kluane carousel: image viewport, not an image aspect ratio.
   One consistent, cropped image window regardless of original orientation. */
.sts-kluane-gallery { overflow: hidden; padding-top: 32px; padding-bottom: 32px; }
.sts-kluane-gallery-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:22px; }
.sts-kluane-gallery-heading h2 { margin-bottom:10px; }
.sts-kluane-gallery-heading p:last-child { margin-bottom:0; max-width:680px; }
.sts-kluane-gallery-controls { display:flex; flex:none; gap:10px; padding-bottom:5px; }
.sts-kluane-gallery-controls button { display:grid; place-items:center; width:46px; height:46px; border-radius:50%; border:1px solid #bdc9c9; background:#fff; color:#14344b; font-size:22px; cursor:pointer; transition:background-color .15s,color .15s; }
.sts-kluane-gallery-controls button:hover:not(:disabled),.sts-kluane-gallery-controls button:focus-visible { background:#14344b; color:white; }
.sts-kluane-gallery-controls button:focus-visible { outline:3px solid #cf8e56; outline-offset:3px; }
.sts-kluane-gallery-controls button:disabled { opacity:.35; cursor:default; }
.sts-kluane-gallery-swiper { width:100%; overflow:hidden; padding-bottom:12px; }
.sts-kluane-gallery-swiper .swiper-slide { min-width:0; height:auto; }
.sts-kluane-gallery-swiper .swiper-slide figure { margin:0; height:auto; overflow:hidden; border-radius:12px; background:#f4f6f5; }
/* Fixed height + object-fit cover = crop rather than stretch. */
.sts-kluane-gallery .sts-kluane-gallery-swiper .swiper-slide figure img {
  display:block !important;
  width:100% !important;
  height:320px !important;
  max-height:320px !important;
  min-height:0 !important;
  aspect-ratio:unset !important;
  object-fit:cover !important;
  object-position:center !important;
}
.sts-kluane-gallery-swiper figcaption { padding:14px 17px 17px; font-size:.98rem; font-weight:700; color:#14344b; }
.sts-kluane-gallery-pagination { display:flex; justify-content:center; margin-top:16px; gap:8px; min-height:14px; }
.sts-kluane-gallery-pagination .swiper-pagination-bullet { width:9px; height:9px; opacity:.35; background:#14344b; margin:0 !important; }
.sts-kluane-gallery-pagination .swiper-pagination-bullet-active { opacity:1; }
@media(max-width:767px) {
  .sts-kluane-gallery .sts-kluane-gallery-swiper .swiper-slide figure img {
    height:clamp(140px,21svh,190px) !important;
    max-height:190px !important;
  }
}
@media(max-width:575px) {
  .sts-kluane-gallery-heading { align-items:start; }
  .sts-kluane-gallery-controls { gap:7px; padding-top:12px; }
  .sts-kluane-gallery-controls button { width:38px; height:38px; font-size:19px; }
}
@media(prefers-reduced-motion:reduce) {
  .sts-kluane-gallery-controls button { transition:none; }
}

/* Kluane-specific placeholder and caption details. */
.sts-kluane-gallery-swiper figcaption span { display:block; margin-top:4px; font-size:.75rem; font-weight:500; color:#627079; }
.sts-kluane-gallery-note { margin:4px 0 0; font-size:.82rem; color:#5e6d72; }
