/* ============================================================================
   Inland Adventures — client-layer custom.css (Cassiopeia child "inland")
   Style direction v3: white-premium · photo-forward · green-forward ·
   land→water gradient signature · understated. Extends the locked brand tokens.
   Load AFTER Cassiopeia. Component rules are namespaced to .cc-* so they don't
   clobber the template. Base type + tokens are intentionally global.
   ============================================================================ */

/* ---- FONTS ---------------------------------------------------------------
   Per the standing finding, self-host (don't CDN). Drop the @font-face files in
   and delete the @import. Quick-start (non-production) alternative:
   @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');
   -------------------------------------------------------------------------- */
/* @font-face { font-family:"Space Grotesk"; src:url('../fonts/spacegrotesk-var.woff2') format('woff2'); font-weight:500 700; font-display:swap; } */
/* @font-face { font-family:"Inter"; src:url('../fonts/inter-var.woff2') format('woff2'); font-weight:400 600; font-display:swap; } */

/* LIVE font load — swap for the self-hosted @font-face above when ready */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  /* locked brand tokens (from the design-directions doc) */
  --cc-ink: #232020;             /* charcoal */
  --cc-panel: #ffffff;
  --cc-rule: #e4e6e6;
  --cc-accent: #077da7;          /* water blue — links / River (on light) */
  --cc-accent-hover: #056a8d;
  --cc-water: #0aa9e3;           /* bright blue — River (on dark) */

  /* --- JADE palette shift --- Land = jade, split by context (dark vs light) */
  --cc-green: #106d47;           /* jade — GRAPHIC / Land ON LIGHT (icons, chevrons, rules, borders) */
  --cc-green-ink: #0d5f3f;       /* deep jade — Land TEXT + primary button (on light, ~7:1) */
  --cc-green-bright: #3ec489;    /* bright jade — Land ON DARK (hero word, lightbox focus) */
  --cc-lime: #89ad47;            /* logo lime-green — NAV hover/active accent (on the dark header) */

  /* application tokens (option 03 River & Land) */
  --cc-canvas: #f7f6f3;          /* warm off-white paper — THE PAGE */
  --cc-band: #eeece7;            /* one step deeper than canvas — tonal section blocks */
  --cc-ink-soft: #4c4a48;        /* soft ink — muted body / cite / meta text */
  --cc-ink-deep: #172e2a;        /* deep ink — dark grounds for full-panel treatments */
  --cc-sig: linear-gradient(90deg, var(--cc-green), var(--cc-water)); /* legacy accent */
  --cc-radius: 14px;
  --cc-hero-h: clamp(300px, 44vh, 480px);   /* single knob for hero height */
  --cc-maxw: 1080px;
  --cc-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cc-font-display: "Space Grotesk", var(--cc-font-body);

  /* override the template's OWN font vars */
  --cc-font-heading: "Space Grotesk", system-ui, sans-serif;
  --cassiopeia-font-family-headings: "Space Grotesk", system-ui, sans-serif;
  --cassiopeia-font-family-body: "Inter", system-ui, sans-serif;
  --body-font-family: "Inter", system-ui, sans-serif;
}

/* ---- BASE ---------------------------------------------------------------- */
body { background: var(--cc-canvas); color: var(--cc-ink); font-family: var(--cc-font-body); line-height: 1.6; }
h1, h2, h3, h4 { font-family: var(--cc-font-display); font-weight: 600; line-height: 1.14; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.2rem; }
a { color: var(--cc-accent); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--cc-accent-hover); }

/* ---- SIGNATURE (option 03 = River & Land) -------------------------------- */
.cc-riverland { font-family: var(--cc-font-display); font-weight: 700; letter-spacing: -0.01em; }
.cc-riverland .cc-r { color: var(--cc-accent); }     /* River = water blue */
.cc-riverland .cc-l { color: var(--cc-green-ink); }  /* Land  = deep jade (on light) */
.cc-rule { height: 2px; width: 64px; border: 0; border-radius: 2px; background: var(--cc-sig); margin: 0.9rem 0 1.4rem; }
.cc-eyebrow { font-family: var(--cc-font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cc-green-ink); margin: 0 0 0.5rem; }

/* ---- BUTTONS (option 03: 6px, jade primary, no gradient) ----------------- */
.cc-btn {
  display: inline-block; font-family: var(--cc-font-body); font-weight: 600; font-size: 0.95rem;
  padding: 0.65rem 1.3rem; border-radius: 6px; border: 1.5px solid transparent;
  cursor: pointer; transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  color: #fff !important; text-decoration: none !important; background: var(--cc-green-ink);
}
.cc-btn:hover { background: #0a4c32; color: #fff !important; }
.cc-btn--ghost { color: var(--cc-ink) !important; background: transparent; border-color: var(--cc-ink); }
.cc-btn--ghost:hover { background: var(--cc-ink); color: #fff !important; }
.cc-btn--on-dark { color: #fff !important; background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.55); }
.cc-btn--on-dark:hover { background: rgba(255,255,255,0.28); color: #fff !important; }

/* ---- HERO (photo band) — full-width breakout + overlay rules ---- */
.cc-hero {
  position: relative;
  overflow: hidden;
  
  /* Full-width breakout technique */
  width: 100vw !important;
  max-width: 100vw !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  margin-top: 0;
  margin-bottom: 1.6rem;
  border-radius: 0;

  padding: 0 !important;
  min-height: clamp(340px, 70vh, 700px) !important;
  display: flex !important;
  align-items: flex-end;
}

.cc-hero__img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 62%;
  z-index: 1;
}

.cc-hero::after {
  background: transparent !important;
}

.cc-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 3;
  background: var(--cc-sig);
}

.cc-hero__inner {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 28rem;
  width: fit-content;
  margin: clamp(1rem, 3vw, 2rem);
  padding: clamp(0.85rem, 1.8vw, 1.25rem);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
}

.cc-hero__inner .cc-eyebrow { color: #fff; }
.cc-hero__inner h1 { color: #fff; margin: 0.1rem 0 0; }
.cc-hero__inner .cc-r { color: var(--cc-water); }
.cc-hero__inner .cc-l { color: var(--cc-green-bright); }
.cc-hero__promise { color: #fff; margin: 0.4rem 0 0; }

.cc-hero--right .cc-hero__inner { margin-inline-start: auto; }
.cc-hero--center .cc-hero__inner { margin-inline: auto; text-align: center; }

/* ---- QUICK FACTS (cc-item--spec) ----------------------------------------- */
.cc-item--spec {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem 1.6rem; margin: 1.4rem 0; padding: 1.4rem 1.5rem;
  background: var(--cc-band); border: 1px solid var(--cc-rule); border-radius: var(--cc-radius);
}
.cc-item--spec li { display: grid; grid-template-columns: 20px 1fr; column-gap: 0.6rem; align-items: start; }
.cc-item--spec li[class*="cc-spec--"]::before {
  content: ""; grid-row: 1/3; width: 20px; height: 20px; margin-top: 1px;
  background: var(--cc-green);
  -webkit-mask-image: var(--cc-ico); mask-image: var(--cc-ico);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.cc-spec__k { grid-column: 2; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--cc-green-ink); }
.cc-spec__v { grid-column: 2; font-family: var(--cc-font-display); font-weight: 600; }

.cc-spec--duration, .cc-spec--finish { --cc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l4 2'/%3E%3C/svg%3E"); }
.cc-spec--grade { --cc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8q3-3 6 0t6 0 6 0'/%3E%3Cpath d='M3 14q3-3 6 0t6 0 6 0'/%3E%3C/svg%3E"); }
.cc-spec--age { --cc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E"); }
.cc-spec--price { --cc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12l9-9 8 8-9 9z'/%3E%3Ccircle cx='8' cy='8' r='1.4'/%3E%3C/svg%3E"); }
.cc-spec--group { --cc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 20c0-3 3-5 6-5s6 2 6 5'/%3E%3Cpath d='M16 5a3.2 3.2 0 010 6'/%3E%3C/svg%3E"); }
.cc-spec--meals { --cc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3v6a2 2 0 002 2m0 0V3m0 8v10'/%3E%3Cpath d='M17 3c-2 1-2 4-2 6s2 2 2 2v10'/%3E%3C/svg%3E"); }
.cc-spec--gear { --cc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='7' width='12' height='14' rx='3'/%3E%3Cpath d='M9.5 7V5a2.5 2.5 0 015 0v2M9 12h6'/%3E%3C/svg%3E"); }
.cc-spec--experience { --cc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E"); }
.cc-spec--location { --cc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21c5-6 7-9 7-12a7 7 0 10-14 0c0 3 2 6 7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.4'/%3E%3C/svg%3E"); }
.cc-spec--pickup { --cc-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='11' rx='2'/%3E%3Cpath d='M3 11h18M7 16v2M17 16v2'/%3E%3C/svg%3E"); }

/* ---- DROPDOWNS (native <details>) ---------------------------------------- */
.cc-details, .cc-itinerary__day {
  border: 1px solid var(--cc-rule); border-radius: 12px;
  background: var(--cc-panel); margin: 0.7rem 0; overflow: hidden;
}
.cc-details > summary, .cc-itinerary__day > summary {
  cursor: pointer; list-style: none; padding: 0.85rem 1.1rem;
  font-family: var(--cc-font-display); font-weight: 600;
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--cc-band);
  transition: background 0.18s ease, color 0.18s ease;
}
.cc-details > summary:hover, .cc-itinerary__day > summary:hover { background: #e5e2db; }
.cc-details[open] > summary, .cc-itinerary__day[open] > summary {
  background: rgba(16,109,71,0.10); color: var(--cc-green-ink);
  border-bottom: 1px solid var(--cc-rule);
}
.cc-details > summary::-webkit-details-marker,
.cc-itinerary__day > summary::-webkit-details-marker { display: none; }
.cc-details > summary::before, .cc-itinerary__day > summary::before {
  content: ""; flex: 0 0 auto; width: 9px; height: 9px;
  border-right: 2px solid var(--cc-green); border-bottom: 2px solid var(--cc-green);
  transform: rotate(-45deg); transition: transform 0.18s ease;
}
.cc-details[open] > summary::before, .cc-itinerary__day[open] > summary::before { transform: rotate(45deg); }
.cc-details > *:not(summary), .cc-itinerary__day > *:not(summary) { margin: 0 1.1rem; }
.cc-details > summary + *, .cc-itinerary__day > summary + * { margin-top: 1.1rem; }
.cc-details > *:last-child, .cc-itinerary__day > *:last-child { margin-bottom: 1.1rem; }
.cc-itinerary__river {
  background: rgba(16,109,71,0.10); border-left: 3px solid var(--cc-green);
  padding: 0.6rem 0.8rem; margin: 0.6rem 1.1rem 1.1rem; border-radius: 0 8px 8px 0; font-size: 0.92rem;
}

/* ---- FEATURE / INFOBOX / QUOTE ------------------------------------------- */
.cc-feature {
  background: var(--cc-panel); border: 1px solid var(--cc-rule); border-radius: var(--cc-radius);
  padding: 1.2rem 1.4rem; margin: 1.4rem 0;
}
.cc-feature ul {
  list-style: none; margin: 0.7rem 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.7rem;
}
.cc-feature li a {
  display: block; padding: 0.8rem 1rem; border: 1px solid var(--cc-rule); border-radius: 10px;
  text-decoration: none; color: var(--cc-ink); font-family: var(--cc-font-display); font-weight: 600;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.cc-feature li a:hover { border-color: var(--cc-green); transform: translateY(-2px); color: var(--cc-ink); }
.cc-infobox {
  background: var(--cc-panel); border: 1px solid var(--cc-rule); border-left: 3px solid var(--cc-green);
  border-radius: 0 var(--cc-radius) var(--cc-radius) 0; padding: 1.1rem 1.3rem; margin: 1.4rem 0;
}

.cc-quote:has(+ .cc-collection),
.cc-quote + .cc-collection {
  background: var(--cc-ink);
  padding-left: clamp(1rem, 3vw, 1.8rem); padding-right: clamp(1rem, 3vw, 1.8rem);
}

.cc-quote {
  color: var(--cc-ink); margin: 2.4rem 0 1.6rem; padding: 0.2rem 0 0.2rem 1.2rem;
  border-left: 3px solid transparent; border-image: var(--cc-sig) 1;
  font-family: var(--cc-font-display); font-size: 1.2rem; line-height: 1.4;
}
.cc-quote cite {
  display: block; margin-top: 0.5rem; font-family: var(--cc-font-body); font-size: 0.85rem;
  font-style: normal; color: var(--cc-ink-soft); letter-spacing: 0.02em;
}

.cc-quote:has(+ .cc-collection) {
  color: #fff; margin: 2.4rem 0 0; padding-top: 1.8rem; padding-bottom: 1.4rem;
  border-left: 0; border-image: none; border-radius: var(--cc-radius) var(--cc-radius) 0 0;
}
.cc-quote:has(+ .cc-collection)::before {
  content: ""; display: block; width: 64px; height: 2px;
  background: var(--cc-sig); margin: 0 0 1rem;
}
.cc-quote:has(+ .cc-collection) cite { color: rgba(255,255,255,0.62); }

/* ---- GALLERY / CARD GRID (cc-collection) --------------------------------- */
.cc-collection {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.8rem;
  margin: 1.4rem 0;
  --cc-ico-zoom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-3.8-3.8M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E");
}
.cc-quote + .cc-collection {
  margin: 0 0 2.4rem; padding-top: 0.4rem; padding-bottom: 1.8rem;
  border-radius: 0 0 var(--cc-radius) var(--cc-radius);
}
.cc-collection img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; cursor: zoom-in; }

.cc-collection__item {
  position: relative; display: block; border-radius: 10px; overflow: hidden;
  aspect-ratio: 4/3; cursor: zoom-in;
}
.cc-collection__item img { border-radius: 0; transition: transform 0.3s ease, filter 0.3s ease; }
.cc-collection__item:hover img, .cc-collection__item:focus-within img { transform: scale(1.04); filter: brightness(0.9); }
.cc-collection__zoom {
  position: absolute; right: 0.5rem; bottom: 0.5rem; width: 30px; height: 30px; pointer-events: none;
  display: grid; place-items: center; border-radius: 50%; background: rgba(24,21,21,0.55);
  box-shadow: 0 2px 8px rgba(0,0,0,0.35); transition: transform 0.2s ease, background 0.2s ease;
}
.cc-collection__item:hover .cc-collection__zoom { transform: scale(1.1); background: var(--cc-green-ink); }
.cc-collection__zoom::before { content: ""; width: 16px; height: 16px; background: var(--cc-ico-zoom) center/contain no-repeat; }

/* ---- LIGHTBOX (built by custom.js off .cc-collection) --------------------- */
.cc-lightbox {
  position: fixed; inset: 0; z-index: 9999; display: none; place-items: center;
  background: rgba(24,21,21,0.92); padding: 2rem;
}
.cc-lightbox.is-open { display: grid; }
.cc-lightbox img { max-width: 96vw; max-height: 90vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.cc-lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; line-height: 1; }
.cc-lightbox__close { top: 1rem; right: 1.3rem; font-size: 2.2rem; }
.cc-lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 2.6rem; padding: 0.4rem 1rem; }
.cc-lightbox__nav--prev { left: 0.3rem; }
.cc-lightbox__nav--next { right: 0.3rem; }
.cc-lightbox button:focus-visible { outline: 2px solid var(--cc-green-bright); outline-offset: 3px; }

/* ---- SUPPLY / BRING LISTS ------------------------------------------------ */
.cc-supply { margin: 0.4rem 0 1rem; padding-left: 1.1rem; }
.cc-supply li { margin: 0.25rem 0; }

/* ---- RESPONSIVE — HERO refinement for phones ----------------------------- */
@media (max-width: 800px) {
  .cc-hero { flex-direction: column; justify-content: flex-end; min-height: clamp(430px, 62vh, 540px) !important; }
  .cc-hero__inner { max-width: none; width: auto; margin: clamp(1rem, 4vw, 1.5rem); }
}

/* ---- NAV hover / active accent (TEMPLATE chrome) ------------------------- */
.header .navbar a { transition: color 0.16s ease; }
.header .navbar a:hover,
.header .navbar a:focus-visible,
.header .navbar .current > a,
.header .navbar .active > a { color: var(--cc-lime) !important; }

/* ---- Mobile menu toggle (TEMPLATE chrome) -------------------------------- */
@media (max-width: 991.98px) {
  .header { position: relative; }
  .header .container-nav, .header .navbar { position: static !important; }
  .header .navbar-toggler {
    position: absolute !important; z-index: 30;
    top: 0.9rem; right: clamp(0.75rem, 4vw, 1.5rem);
    margin: 0 !important; padding: 0.4rem 0.55rem;
    display: inline-flex !important; align-items: center; justify-content: center;
    color: #fff !important;
    background: rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(255,255,255,0.55) !important; border-radius: 8px;
  }
  .header .navbar-toggler .icon-menu { color: #fff !important; font-size: 1.2rem; line-height: 1; }
}

/* ---- QUALITY FLOOR ------------------------------------------------------- */
:focus-visible { outline: 2px solid var(--cc-accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ============================================================================
   LOCATIONS / ABOUT / CONTACT / WHERE / FEATUREHERO
   ============================================================================ */

/* ---- Area dropdowns (mirror the cc-itinerary pattern) ---------- */
.cc-locations { display: grid; gap: 14px; margin: 1.25rem 0; }
.cc-location {
  background: var(--cc-panel, #fff); border: 1px solid var(--cc-rule, #e4e1da);
  border-radius: var(--cc-radius, 10px); overflow: hidden;
}
.cc-location > summary {
  cursor: pointer; list-style: none; padding: 16px 44px 16px 18px; position: relative;
  font-family: "Space Grotesk", system-ui, sans-serif; font-size: 1.15rem; font-weight: 600;
  color: var(--cc-ink, #22201c); background: var(--cc-band, #eeece7);
}
.cc-location > summary::-webkit-details-marker { display: none; }
.cc-location > summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--cc-green, #106d47); border-bottom: 2px solid var(--cc-green, #106d47);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.18s ease;
}
.cc-location[open] > summary::after { transform: translateY(-30%) rotate(225deg); }
.cc-location > summary:focus-visible { outline: 3px solid var(--cc-green-bright, #3ec489); outline-offset: -3px; }
.cc-location > summary ~ * { margin-left: 18px; margin-right: 18px; }
.cc-location > summary + p { margin-top: 18px; }
.cc-location > *:last-child { margin-bottom: 18px; }
.cc-location img { max-width: 100%; height: auto; border-radius: 8px; }
.cc-location h3 { font-size: 1.05rem; margin: 1.1rem 0 0.35rem; color: var(--cc-green, #106d47); }
.cc-location:target { box-shadow: 0 0 0 2px var(--cc-green, #106d47); }

@media (max-width: 560px) {
  .cc-location > summary { font-size: 1.05rem; }
}

/* ---- About Row & Rollover -------------------------------------- */
.cc-about__row { display: flex; align-items: stretch; gap: 24px; }
.cc-about__media {
  flex: 0 0 42%; position: relative; background: var(--cc-band);
  border-radius: var(--cc-radius); overflow: hidden;
}
.cc-about__media .cc-collection,
.cc-about__media .cc-collection__items,
.cc-about__media .cc-collection__item { height: 100%; }
.cc-about__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cc-collection--rollover .cc-collection__item { position: relative; display: block; aspect-ratio: auto; }
.cc-collection--rollover .cc-collection__item img + img { position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s ease; }
.cc-collection--rollover .cc-collection__item:hover img + img { opacity: 1; }
.cc-about__copy { flex: 1; min-width: 0; }

@media (max-width: 767px) {
  .cc-about__row { flex-direction: column; }
  .cc-about__media { flex-basis: auto; }
}

/* ---- Why-choose icon grid -------------------------------------- */
.cc-collection--grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.cc-collection--grid .cc-item--icon { text-align: center; }
.cc-collection--grid .cc-item__icon { width: 32px; height: 32px; object-fit: contain; cursor: default; border-radius: 0; margin: 0 auto 0.6rem; display: block; }

.cc-section-title { text-align: center; }

/* ---- Social Icons ---------------------------------------------- */
.cc-social { display: flex; justify-content: center; gap: 16px; }
.cc-social__link { display: inline-flex; color: #fff; }
.cc-social__link:hover, .cc-social__link:focus-visible { color: var(--cc-green-bright); }
.cc-social__icon { width: 50px; height: auto; }

/* ---- Contact Card ---------------------------------------------- */
.cc-contact { max-width: 340px; margin: 0 auto; }
.cc-contact__brand { background: #ffffff; text-align: center; padding: 22px 20px; border-bottom: 3px solid #3d8fd1; }
.cc-contact__logo { display: block; margin: 0 auto; }
.cc-contact__details { background: #171717; color: #3d8fd1; text-align: right; padding: 24px 24px 28px; line-height: 1.45; }
.cc-contact__name { font-family: "Space Grotesk", sans-serif; font-weight: 400; font-size: 1.75rem; line-height: 1.2; color: var(--cc-green-bright); margin: 0 0 2px; }
.cc-contact__role { font-weight: 700; font-size: 1rem; margin: 0 0 14px; }
.cc-contact__email { font-size: 0.85rem; font-weight: 400; margin: 0 0 14px; }
.cc-contact__phone { font-size: 1rem; margin: 0; }
.cc-contact__phone a { font-weight: 700; }
.cc-contact__label { font-size: 0.72rem; font-weight: 400; }
.cc-contact__address { font-weight: 700; font-size: 1rem; margin: 0 0 16px; }
.cc-contact__url { font-size: 1rem; margin: 0; }
.cc-contact__url a { color: var(--cc-green-bright); }
.cc-contact__url-sm { font-size: 0.62em; }
.cc-contact__email a, .cc-contact__phone a, .cc-contact__url a { color: inherit; text-decoration: none; }
.cc-contact__url a { color: var(--cc-green-bright); }
.cc-contact__email a:hover, .cc-contact__phone a:hover, .cc-contact__url a:hover { text-decoration: underline; }

/* ============================================================================
   FOOTER — append to custom.css (after the .cc-contact block, line 422)
   v2 — supersedes v1 in full. Delete the v1 block before pasting this.

   Context: custom.css contained NO footer layout rules; everything was
   Cassiopeia default (centred flex row, align-items:center) — the cause of
   the vertical stagger and the centred, wrapping menu columns.

   v1 bug, fixed here: the six columns need ~1465px but the container is
   ~1210px. v1 let the menus shrink (flex:0 1 auto; min-width:0) while also
   forbidding the text to wrap (white-space:nowrap) — so the text overflowed
   sideways into the neighbouring column. Fix: the credit block moves to its
   own full-width row, which frees ~270px and brings row 1 to ~1195px; the
   menus then hold their content width instead of shrinking.
   ============================================================================ */

/* ---- 1. The footer row ---------------------------------------------------- */
.container-footer .grid-child {
  display: flex;
  flex-wrap: wrap;
  align-items: start;        /* was Cassiopeia's centre — kills the stagger */
  justify-content: flex-start;
  gap: 2rem 2.5rem;
  text-align: left;          /* was Cassiopeia's centre */
}

/* ---- 2. Contact card — fixed width, never shrinks -------------------------- */
.container-footer .mod-custom:has(.cc-contact) {
  flex: 0 0 auto;
}

/* ---- 3. Menu columns ------------------------------------------------------- */
.container-footer .mod-menu {
  flex: 1 1 auto;            /* small screens: shrink and wrap normally */
  margin: 0;
  padding: 0;
  list-style: none;
}

.container-footer .mod-menu .nav-item {
  margin: 0 0 0.35rem;
}

.container-footer .mod-menu a {
  color: var(--cc-on-dark-ink);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.35;
}

.container-footer .mod-menu a:hover,
.container-footer .mod-menu a:focus-visible {
  color: var(--cc-lime);
  text-decoration: underline;
}

/* Desktop: columns hold full content width and drop to a second row if the
   space runs out — rather than shrinking and overflowing. These two
   declarations MUST stay paired; nowrap without flex:0 0 auto is the v1 bug. */
@media (min-width: 992px) {
  .container-footer .mod-menu   { flex: 0 0 auto; }
  .container-footer .mod-menu a { white-space: nowrap; }
}

/* ---- 4. First item of the two trip menus = the column heading --------------
   ID-scoped so the Privacy and Login menus are untouched. Durable alternative:
   set Link CSS Style on those two menu items in Joomla admin and swap these
   selectors for that class. */
#mod-menu120 .nav-item:first-child a,
#mod-menu121 .nav-item:first-child a {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--cc-font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cc-green-bright);
}

#mod-menu120 .nav-item:first-child a:hover,
#mod-menu121 .nav-item:first-child a:hover {
  color: var(--cc-lime);
}

/* Desktop-only: the two heading items are the longest strings in their
   columns, so let them wrap even while the links below them don't. */
@media (min-width: 992px) {
  #mod-menu120 .nav-item:first-child a,
  #mod-menu121 .nav-item:first-child a { white-space: normal; }
}

/* ---- 5. Credit block — its own full-width row ------------------------------
   :has() keeps this off module IDs; fallback selector is #mod-custom118. */
.container-footer .mod-custom:has(.footer-credit) {
  flex: 0 0 100%;
  text-align: right;
  padding-top: 1.5rem;
}

.container-footer .footer-credit p {
  margin: 0 0 0.4rem;
}

/* ---- OPTIONAL: uncomment to left-align the contact card with its neighbours.
   Line 409 sets text-align:right — a deliberate "business card" treatment,
   so this is a design call, not a defect.
.cc-contact__details { text-align: left; }
   -------------------------------------------------------------------------- */

/* ---- OPTIONAL: tokenise the contact card's two off-palette hardcoded hexes.
   #3d8fd1 is not in the token set (palette blues are --cc-accent #077da7 and
   --cc-water #0aa9e3). #171717 is darker than the footer ground --cc-ink
   #232020, which is why the card reads as a separate rectangle on the footer.
.cc-contact__brand   { border-bottom-color: var(--cc-green); }
.cc-contact__details { background: var(--cc-ink); color: var(--cc-water); }
   -------------------------------------------------------------------------- */
/* Contact card: shrink rather than overflow on narrow screens */
.container-footer .mod-custom:has(.cc-contact) {
  flex: 0 1 auto;
  min-width: 0;
}

/* Tablet: menus get a real basis so they wrap into 2–3 tidy columns */
@media (max-width: 991.98px) {
  .container-footer .mod-menu { flex: 1 1 12rem; }
}

/* Phone: full stack */
@media (max-width: 767.98px) {
  .container-footer .grid-child { gap: 1.75rem; }
  .container-footer .mod-menu   { flex: 1 1 100%; }
  .container-footer .mod-custom:has(.footer-credit) {
    text-align: center;
    padding-top: 1rem;
  }
  .cc-contact { margin-inline: auto; }
}

.youtube-responsive-container { text-align: center; background: var(--cc-ink-deep); padding: 50px 0; }

/* ---- cc-where Panel -------------------------------------------- */
.cc-where {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2rem);
  align-items: center; margin: 2rem 0; padding: clamp(1rem, 3vw, 1.75rem);
  background: var(--cc-canvas, #f7f6f3); border-left: 4px solid var(--cc-green, #106d47); border-radius: 6px;
}
.cc-where__media { margin: 0; }
.cc-where__media p { margin: 0; }
.cc-where__media img { display: block; width: 100%; height: auto; border-radius: 4px; }
.cc-where__body > :first-child { margin-top: 0; }
.cc-where__body > :last-child  { margin-bottom: 0; }
h2 + .cc-where { margin-top: 1rem; }

@media (max-width: 767.98px) {
  .cc-where { grid-template-columns: 1fr; }
}

/* ---- cc-featurehero Split Hero --------------------------------- */
.cc-featurehero {
  --cc-on-dark-ink: #f7f6f3;
  --cc-on-dark-rule: rgba(247, 246, 243, 0.22);
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  margin: 2.5rem 0; overflow: hidden; border-radius: 8px;
  color: var(--cc-on-dark-ink); background: var(--cc-ink-deep, #172e2a);
}
.cc-featurehero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cc-featurehero__panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 4vw, 3rem); }
.cc-featurehero__panel > :first-child { margin-top: 0; }
.cc-featurehero__panel > :last-child  { margin-bottom: 0; }
.cc-featurehero .cc-eyebrow { color: var(--cc-on-dark-ink); opacity: 0.7; }
.cc-featurehero h2 { margin: 0.25rem 0 0.75rem; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.15; color: var(--cc-on-dark-ink); }
.cc-featurehero__promise { margin: 0 0 1.25rem; color: var(--cc-on-dark-ink); opacity: 0.9; }
.cc-featurehero .cc-price__amount { color: #ffffff; }
.cc-featurehero .cc-price__qual   { color: var(--cc-on-dark-ink); opacity: 0.75; }
.cc-featurehero .cc-price__sep    { color: var(--cc-on-dark-ink); opacity: 0.4; }
.cc-featurehero .cc-specstrip { border-top-color: var(--cc-on-dark-rule); }
.cc-featurehero .cc-specstrip .cc-spec__k { color: var(--cc-on-dark-ink); opacity: 0.7; }
.cc-featurehero .cc-specstrip .cc-spec__v { color: var(--cc-on-dark-ink); }
.cc-featurehero--reverse .cc-featurehero__media { order: 2; }

@media (max-width: 767.98px) {
  .cc-featurehero { grid-template-columns: 1fr; }
  .cc-featurehero__media img { aspect-ratio: 16 / 9; }
  .cc-featurehero--reverse .cc-featurehero__media { order: 0; }
}

.cc-item__media .cc-collection__zoom { display: none; }
.cc-item__media img { cursor: pointer; }

/* ---- TRIP CARDS (listing) -------------------------------------- */
.cc-card {
  background: var(--cc-panel); border: 1px solid var(--cc-rule); border-radius: var(--cc-radius);
  overflow: hidden; transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex; flex-direction: column;
}
.cc-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(35,32,32,0.08); }
.cc-card > a:first-child { display: block; }
.cc-card img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; display: block; }
.cc-card > h3, .cc-card > p, .cc-card > .cc-btn { margin-inline: 1.1rem; }
.cc-card > h3 { margin-block: 1rem 0.4rem; font-size: 1.05rem; line-height: 1.3; }
.cc-card > h3 a { color: inherit; text-decoration: none; }
.cc-card > h3 a:hover { color: var(--cc-green-ink); }
.cc-card > p { margin-block: 0 0.6rem; }
.cc-card > p:last-of-type { font-size: 0.82rem; color: var(--cc-ink-soft); margin-block-end: 1rem; }
.cc-card > .cc-btn { margin-block: auto 1.2rem; align-self: start; }

/* ============================================================================
   LEAFLET MAP & LEGEND (Consolidated)
   ============================================================================ */

/* Leaflet Core Sizing & Layout */
.leaflet-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow,
.leaflet-tile-container, .leaflet-pane > svg, .leaflet-pane > canvas,
.leaflet-zoom-box, .leaflet-image-layer, .leaflet-layer { position: absolute; left: 0; top: 0; }
.leaflet-container { overflow: hidden; -webkit-tap-highlight-color: transparent; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12px; font-size: 0.75rem; line-height: 1.5; background: #ddd; }
.leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow { -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-user-drag: none; }
.leaflet-tile::selection { background: transparent; }
.leaflet-safari .leaflet-tile { image-rendering: -webkit-optimize-contrast; }
.leaflet-safari .leaflet-tile-container { width: 1600px; height: 1600px; -webkit-transform-origin: 0 0; }
.leaflet-marker-icon, .leaflet-marker-shadow { display: block; }
.leaflet-container svg { max-width: none !important; max-height: none !important; }
.leaflet-container img { max-width: none !important; max-height: none !important; width: auto; padding: 0; }
.leaflet-container img.leaflet-tile { mix-blend-mode: plus-lighter; }
.leaflet-container.leaflet-touch-zoom { -ms-touch-action: pan-x pan-y; touch-action: pan-x pan-y; }
.leaflet-container.leaflet-touch-drag { -ms-touch-action: pinch-zoom; touch-action: none; touch-action: pinch-zoom; }
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom { -ms-touch-action: none; touch-action: none; }
.leaflet-tile { filter: inherit; visibility: hidden; }
.leaflet-tile-loaded { visibility: inherit; }
.leaflet-zoom-box { width: 0; height: 0; box-sizing: border-box; z-index: 800; border: 2px dotted #38f; background: rgba(255,255,255,0.5); }
.leaflet-overlay-pane svg { -moz-user-select: none; }

.leaflet-pane { z-index: 400; }
.leaflet-tile-pane { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane { z-index: 500; }
.leaflet-marker-pane { z-index: 600; }
.leaflet-tooltip-pane { z-index: 650; }
.leaflet-popup-pane { z-index: 700; }
.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg { z-index: 200; }

.leaflet-control { position: relative; z-index: 800; pointer-events: auto; float: left; clear: both; }
.leaflet-top, .leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; }
.leaflet-top { top: 0; } .leaflet-right { right: 0; } .leaflet-bottom { bottom: 0; } .leaflet-left { left: 0; }
.leaflet-right .leaflet-control { float: right; }
.leaflet-top .leaflet-control { margin-top: 10px; }
.leaflet-bottom .leaflet-control { margin-bottom: 10px; }
.leaflet-left .leaflet-control { margin-left: 10px; }
.leaflet-right .leaflet-control { margin-right: 10px; }

.leaflet-fade-anim .leaflet-popup { opacity: 0; transition: opacity 0.2s linear; }
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup { opacity: 1; }
.leaflet-zoom-animated { transform-origin: 0 0; }
svg.leaflet-zoom-animated { will-change: transform; }
.leaflet-zoom-anim .leaflet-zoom-animated { transition: transform 0.25s cubic-bezier(0,0,0.25,1); }
.leaflet-zoom-anim .leaflet-tile, .leaflet-pan-anim .leaflet-tile { transition: none; }
.leaflet-zoom-anim .leaflet-zoom-hide { visibility: hidden; }

.leaflet-interactive { cursor: pointer; }
.leaflet-grab { cursor: -webkit-grab; cursor: -moz-grab; cursor: grab; }
.leaflet-crosshair, .leaflet-crosshair .leaflet-interactive { cursor: crosshair; }
.leaflet-popup-pane, .leaflet-control { cursor: auto; }
.leaflet-dragging .leaflet-grab, .leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable { cursor: move; cursor: -webkit-grabbing; cursor: -moz-grabbing; cursor: grabbing; }

.leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-image-layer,
.leaflet-pane > svg path, .leaflet-tile-container { pointer-events: none; }
.leaflet-marker-icon.leaflet-interactive, .leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive, svg.leaflet-image-layer.leaflet-interactive path { pointer-events: auto; }

/* Leaflet Bars & Controls */
.leaflet-bar { box-shadow: 0 1px 5px rgba(0,0,0,0.65); border-radius: 4px; }
.leaflet-bar a { background-color: #fff; border-bottom: 1px solid #ccc; width: 26px; height: 26px; line-height: 26px; display: block; text-align: center; text-decoration: none; color: black; }
.leaflet-bar a:hover, .leaflet-bar a:focus { background-color: #f4f4f4; }
.leaflet-bar a:first-child { border-top-left-radius: 4px; border-top-right-radius: 4px; }
.leaflet-bar a:last-child { border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom: none; }
.leaflet-touch .leaflet-bar a { width: 30px; height: 30px; line-height: 30px; }

.leaflet-control-zoom-in, .leaflet-control-zoom-out { font: bold 18px 'Lucida Console', Monaco, monospace; text-indent: 1px; }
.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out { font-size: 22px; }

.leaflet-control-layers { box-shadow: 0 1px 5px rgba(0,0,0,0.4); background: #fff; border-radius: 5px; }
.leaflet-control-layers-toggle { background-image: url(images/layers.png); width: 36px; height: 36px; background-position: 50% 50%; background-repeat: no-repeat; display: block; }
.leaflet-control-layers-expanded { padding: 6px 10px 6px 6px; color: #333; background: #fff; }
.leaflet-control-layers-scrollbar { overflow-y: scroll; overflow-x: hidden; padding-right: 5px; }
.leaflet-control-layers-selector { margin-top: 2px; position: relative; top: 1px; }
.leaflet-control-layers label { display: block; font-size: 13px; font-size: 1.08333em; }
.leaflet-control-layers-separator { height: 0; border-top: 1px solid #ddd; margin: 5px -10px 5px -6px; }

.leaflet-container .leaflet-control-attribution { background: #fff; background: rgba(255, 255, 255, 0.8); margin: 0; }
.leaflet-control-attribution, .leaflet-control-scale-line { padding: 0 5px; color: #333; line-height: 1.4; }
.leaflet-control-attribution a { text-decoration: none; }
.leaflet-control-attribution a:hover, .leaflet-control-attribution a:focus { text-decoration: underline; }
.leaflet-attribution-flag { display: inline !important; vertical-align: baseline !important; width: 1em; height: 0.6669em; }

/* Popups & Tooltips */
.leaflet-popup { position: absolute; text-align: center; margin-bottom: 20px; }
.leaflet-popup-content-wrapper { padding: 1px; text-align: left; border-radius: 12px; background: white; color: #333; box-shadow: 0 3px 14px rgba(0,0,0,0.4); }
.leaflet-popup-content { margin: 13px 24px 13px 20px; line-height: 1.3; font-size: 13px; font-size: 1.08333em; min-height: 1px; }
.leaflet-popup-content p { margin: 1.3em 0; }
.leaflet-popup-tip-container { width: 40px; height: 20px; position: absolute; left: 50%; margin-top: -1px; margin-left: -20px; overflow: hidden; pointer-events: none; }
.leaflet-popup-tip { width: 17px; height: 17px; padding: 1px; margin: -10px auto 0; transform: rotate(45deg); background: white; }
.leaflet-container a.leaflet-popup-close-button {
  position: absolute; top: 0; right: 0; border: none; text-align: center; width: 24px; height: 24px;
  font: 16px/24px Tahoma, Verdana, sans-serif; color: #757575; text-decoration: none; background: transparent;
}
.leaflet-container a.leaflet-popup-close-button:hover, .leaflet-container a.leaflet-popup-close-button:focus { color: #585858; }

.leaflet-tooltip {
  position: absolute; padding: 6px; background-color: #fff; border: 1px solid #fff; border-radius: 3px;
  color: #222; white-space: nowrap; -webkit-user-select: none; -moz-user-select: none; user-select: none;
  pointer-events: none; box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.leaflet-tooltip.leaflet-interactive { cursor: pointer; pointer-events: auto; }

/* Custom Map Canvas & Custom Popup Styles */
.cc-leafletmap__canvas {
  height: 460px;
  border: 1px solid var(--cc-rule);
  border-radius: var(--cc-radius);
  background: var(--cc-band);
}

.cc-pop { font-size: 13px; }
.cc-pop-tag {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--cc-green);
}
.cc-pop--trip .cc-pop-tag { color: #c46a1b; }
.cc-pop--pickup .cc-pop-tag { color: #2f7fb0; }
.cc-pop-sub { font-size: 12px; color: var(--cc-ink-soft); }
.cc-pop-div { border: 0; border-top: 1px solid var(--cc-rule); margin: 8px 0; }
.cc-leaflet-open { color: var(--cc-green); font-weight: 600; }
.cc-maplabel { transition: opacity 0.18s ease; }

/* ---- Legend Component ---- */
.cc-legend {
  margin-top: 0.75rem; border: 1px solid var(--cc-rule); border-radius: var(--cc-radius);
  background: var(--cc-panel); padding: 0.7rem 0.8rem 0.75rem;
}
.cc-legend__layers {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding-bottom: 0.6rem; border-bottom: 1px solid var(--cc-rule);
}
.cc-legend__layer, .cc-legend__clear {
  font: inherit; font-size: 0.8rem; padding: 4px 11px;
  border: 1px solid var(--cc-rule); border-radius: 999px; background: var(--cc-panel);
  color: var(--cc-ink); cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cc-legend__layer::before {
  content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  margin-right: 6px; vertical-align: -1px; box-sizing: border-box; border: 2px solid transparent;
}
.cc-legend__layer[data-layer="trips"]::before   { background: #c46a1b; }
.cc-legend__layer[data-layer="pickups"]::before { background: #fff; border-color: #2f7fb0; }
.cc-legend__layer.is-on { background: var(--cc-green); border-color: var(--cc-green); color: #fff; }
.cc-legend__layer.is-on[data-layer="pickups"]::before { border-color: #fff; }
.cc-legend__clear { margin-left: auto; color: var(--cc-green-ink); font-weight: 600; }
.cc-legend__clear:hover { background: var(--cc-band); }

.cc-legend__areas { display: flex; flex-direction: column; gap: 5px; padding-top: 0.55rem; }
.cc-legend__row { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: baseline; gap: 8px; }
.cc-legend__areatag { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--cc-ink-soft); text-align: right; line-height: 1.5; }
.cc-legend__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.cc-legend__trip {
  font: inherit; font-family: var(--cc-font-display); font-weight: 600; font-size: 0.82rem;
  padding: 5px 11px; border: 1px solid var(--cc-rule); border-radius: 6px; background: var(--cc-panel);
  color: var(--cc-ink); cursor: pointer; white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.cc-legend__trip:hover { border-color: var(--cc-green); }
.cc-legend__trip.is-selected { background: var(--cc-green); border-color: var(--cc-green); color: #fff; }

.cc-legend__detail { min-height: 2.6rem; padding: 0.55rem 0; border-bottom: 1px solid var(--cc-rule); font-size: 0.82rem; line-height: 1.4; }
.cc-legend__hint { color: var(--cc-ink-soft); }
.cc-legend__detailname { font-family: var(--cc-font-display); font-size: 0.88rem; display: block; }
.cc-legend__detailpick { color: var(--cc-ink-soft); margin-right: 0.4rem; }
.cc-legend__time { color: var(--cc-green-ink); font-weight: 600; }
.cc-legend__detaillink { font-weight: 600; white-space: nowrap; }

.cc-legend__layer:focus-visible, .cc-legend__clear:focus-visible, .cc-legend__trip:focus-visible {
  outline: 2px solid var(--cc-green-bright); outline-offset: 2px;
}

@media (min-width: 920px) {
  .cc-leafletmap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: start; }
  .cc-legend { margin-top: 0; }
  .cc-legend__row { grid-template-columns: 1fr; gap: 2px; }
  .cc-legend__areatag { text-align: left; }
  .cc-legend__areas { gap: 8px; }
}

@media (max-width: 560px) {
  .cc-leafletmap__canvas { height: 300px; }
  .cc-legend { padding: 0.6rem 0.65rem; }
  .cc-legend__trip { font-size: 0.8rem; padding: 5px 10px; }
  .cc-legend__row { grid-template-columns: 74px minmax(0, 1fr); gap: 6px; }
  .cc-legend__detail { min-height: 3.2rem; }
}
/* Hero full-bleed: .blog-item's overflow:hidden clips the breakout */
.blog-item:has(> .item-content > .cc-hero) {
  overflow: visible;
}

/* Hero full-bleed: .blog-item's overflow:hidden clips the breakout */
.blog-item:has(> .item-content > .cc-hero) {
  overflow: visible;
}
/* Let grid/flex descendants shrink below their min-content width */
.blog-item,
.item-content {
  min-width: 0;
}

.cc-collection__items {
  min-width: 0;
}
/* Video embeds ship with fixed width/height attributes (YouTube's default
   is 560x315), which forces ancestors open and overflows the viewport. */
/*.item-content iframe[src*="youtube"],
.item-content iframe[src*="vimeo"] {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}*/

/* Stop any future wide child transmitting its width up the chain */
.blog-item,
.item-content {
  min-width: 0;
}

/* Video embeds: responsive box, full-bleed on small screens */
/*.item-content iframe[src*="youtube"],
.item-content iframe[src*="vimeo"] {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
}*/

@media (max-width: 767.98px) {
  .item-content iframe[src*="youtube"],
  .item-content iframe[src*="vimeo"] {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
  }
  .youtube-responsive-container {
    padding: 0;
}
}
.container-component>:first-child, .container-sidebar-left>:first-child, .container-sidebar-right>:first-child, .container-component>*+*, .container-sidebar-left>*+*, .container-sidebar-right>*+* {
    margin-top: 0em;
}