/* Fishing Trips (pillar page). Figma 216:4 (desktop 1440), 218:6 (phone 390).
   The hero is the shared photo hero (phero.css, loaded first); only the breadcrumb row is styled here.
   One tree: desktop >= 1024, tablet 768-1023, phone < 768. Loads after styles.css. */

.page-trips main { --line: #d9dbe8; --muted: #5a5f78; --light: #ebecf5; --link: #c2331f; }

/* shared bits */
.trips-h2 { font-size: clamp(36px, 3.89vw, 56px); line-height: .92; color: var(--deep); }
.page-trips main .btn { padding-block: 17px; }
.trips-btn-ink { border-color: var(--deep); color: var(--deep); }
.trips-btn-ink:hover { background: var(--deep); color: #fff; }
.trips-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 500 15px/1.45 var(--body); color: var(--link); }
.trips-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.trips-link img { width: 22px; height: 14px; transition: transform .2s; }
.trips-link:hover img { transform: translateX(4px); }
.trips-link--light { color: var(--accent); }

/* ---------- breadcrumb row (above the shared photo hero) ---------- */
.trips-crumb { position: relative; z-index: 1; background: var(--dark); font-size: 14px; line-height: 1.45; letter-spacing: .02em; }
.trips-crumb ol { display: flex; align-items: center; min-height: 48px; }
.trips-crumb li + li::before { content: "/"; margin-inline: 12px; }
.trips-crumb a { display: inline-flex; align-items: center; min-height: 44px; }
.trips-crumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* This H1 is two lines in the Figma (248:152, 628px wide); the shared hero caps headlines at 600px. */
@media (min-width: 1024px) { .page-trips .phero__h1 { max-width: 680px; } }

/* ---------- body: three trips, "which trip", booking card ---------- */
.trips-body { background: #fff; color: var(--text); }
.trips-body__in { display: grid; grid-template-columns: minmax(0, 820px) 400px; justify-content: space-between; column-gap: 48px; padding-block: 120px; }
.trips-list { display: grid; row-gap: 120px; }
.trips-trip { scroll-margin-top: 24px; }
.trips-trip__photo { height: 500px; overflow: hidden; }
.trips-trip__photo img { width: 100%; height: 100%; object-fit: cover; }
.trips-trip--nearshore .trips-trip__photo img { object-position: 50% 0; }
.trips-trip--deepsea .trips-trip__photo img { object-position: 50% 15%; }
.trips-trip__name { margin-top: 36px; font-size: clamp(40px, 3.89vw, 56px); line-height: .92; color: var(--deep); }
.trips-trip__text { max-width: 780px; margin-top: 17px; font-size: 18px; line-height: 1.65; }
.trips-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 270px)); margin-top: 29px; }
.trips-facts dt { font: 500 12px/1.45 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trips-facts dd { margin-top: 4px; font-size: 18px; line-height: 1.45; color: var(--deep); }
.trips-trip__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trips-trip__btns .btn { width: 280px; padding-inline: 20px; }

.trips-which { margin-top: 48px; padding-top: 47px; border-top: 1px solid var(--deep); }
.trips-which__list { margin-top: 28px; border-top: 1px solid var(--deep); }
.trips-which__list li { display: grid; grid-template-columns: minmax(0, 560px) auto; justify-content: start; align-items: start; column-gap: 60px; padding-block: 22px 21px; border-bottom: 1px solid var(--deep); }
.trips-which__list p { font-size: 18px; line-height: 1.5; }
.trips-which__list a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-block: -9px; font-size: 28px; line-height: 1; color: var(--action); white-space: nowrap; }
.trips-which__list a img { width: 22px; height: 14px; transition: transform .2s; }
.trips-which__list a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.trips-which__list a:hover img { transform: translateX(4px); }

.trips-card { position: sticky; top: calc(24px + var(--hdr-vis, 0px)); transition: top .25s ease; align-self: start; padding: 32px; background: var(--deep); color: #fff; }
.trips-card__title { font-size: 40px; line-height: 1; }
.trips-pick { margin: 10px 0 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
.trips-pick legend { padding: 0; margin-bottom: 12px; font: 600 15px/1.45 var(--body); }
.trips-opt { position: relative; display: grid; align-content: center; min-height: 72px; padding: 8px 14px 8px 50px; border: 1px solid #fff; cursor: pointer; }
.trips-opt input { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin: -10px 0 0; appearance: none; -webkit-appearance: none; border: 2px solid #fff; border-radius: 50%; cursor: pointer; }
.trips-opt input:checked { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 5px, transparent 5.5px); }
.trips-opt:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.trips-opt__name { font: 600 17px/1.45 var(--body); }
.trips-opt__meta { font-size: 14px; line-height: 1.45; }
.trips-card > .btn { width: 100%; margin-top: 12px; padding-inline: 12px; }
.trips-card > .btn--fill { margin-top: 20px; }
.trips-card__note { margin-top: 14px; font-size: 14px; line-height: 1.55; }

/* ---------- every trip includes ---------- */
.trips-inc { background: var(--light); color: var(--text); padding-block: 110px 99px; }
.trips-inc__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; margin-top: 36px; font-size: 18px; line-height: 1.45; }
.trips-inc__list li { display: flex; align-items: flex-start; gap: 12px; }
.trips-inc__list img { flex: none; width: 18px; height: 18px; margin-top: 4px; }
.trips-inc .trips-link { margin-top: 23px; }

/* ---------- where we fish (305:6 / 306:6) ---------- */
.trips-where, .trips-priv { background: #fff; color: var(--text); padding-block: 120px; }
.trips-where .trips-h2, .trips-seasons .trips-h2, .trips-priv .trips-h2 { color: var(--dark); }
.trips-where__in { display: grid; grid-template-columns: minmax(0, 540fr) minmax(0, 660fr); column-gap: 80px; align-items: start; }
.trips-where__text p { margin-top: 25px; font-size: 18px; line-height: 1.65; }
.trips-where__text p + p { margin-top: 22px; }
.trips-where__list { border-top: 1px solid var(--line); }
.trips-where__list li { padding: 27px 0; border-bottom: 1px solid var(--line); }
.trips-where__list h3, .trips-priv__capts h3 { font: 600 20px/1.45 var(--body); color: var(--dark); }
.trips-where__list p { max-width: 640px; margin-top: 10px; font-size: 17px; line-height: 1.6; }

/* ---------- what's biting through the year (305:23 / 306:23) ---------- */
.trips-seasons { background: #f6f6f6; color: var(--text); padding-block: 120px; }
.trips-seasons__lead { max-width: 780px; margin-top: 20px; font-size: 18px; line-height: 1.65; }
.trips-seasons__lead a { text-decoration: underline; text-underline-offset: 3px; }
.trips-seasons__lead a:hover { color: var(--link); }
.trips-seasons__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; margin-top: 57px; }
.trips-seasons__list h3 { font-size: 40px; line-height: .92; color: var(--dark); }
.trips-seasons__months { margin-top: 8px; font: 500 13px/1.45 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.trips-seasons__months::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 16px; background: var(--action); }
.trips-seasons__months + p { margin-top: 16px; font-size: 17px; line-height: 1.6; }

/* ---------- private trips, spin or fly; your captains (305:42 / 306:42) ---------- */
.trips-priv__in { display: grid; grid-template-columns: minmax(0, 580fr) minmax(0, 600fr); column-gap: 100px; align-items: start; }
.trips-priv__main p { margin-top: 25px; font-size: 18px; line-height: 1.65; }
.trips-priv__capts { padding-top: 8px; }
.trips-priv__capts h3 { font-size: 22px; }
.trips-priv__capts p { margin-top: 16px; font-size: 18px; line-height: 1.65; }
.trips-priv__capts .trips-link { margin-top: 10px; }

/* ---------- reviews ---------- */
.trips-rev { background: var(--dark); padding-block: 110px; }
.trips-rev__in { display: grid; grid-template-columns: 330px minmax(0, 1fr); column-gap: 30px; align-items: start; }
.trips-rev__num { font: 800 clamp(100px, 10.42vw, 150px)/.86 var(--display); letter-spacing: .01em; }
.trips-rev__from { margin: 6px 0 0 4px; font-size: clamp(15px, 1.18vw, 17px); line-height: 1.45; }
.trips-rev__score .trips-link { margin: 8px 0 0 4px; }
.trips-rev__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 8px; }
.trips-rev__list li { border-top: 1px solid #fff; padding-top: 24px; }
.trips-rev__list blockquote { font-weight: 300; font-size: clamp(18px, 1.32vw, 19px); line-height: 1.5; }
.trips-rev__list figcaption { margin-top: 20px; font: 500 14px/1.45 var(--body); }

/* ---------- faq (light: heading left, questions right, all open) ---------- */
.trips-faq { background: #fff; color: var(--text); padding-block: 140px; }
.trips-faq__in { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 800px); justify-content: space-between; column-gap: 60px; align-items: start; }
.trips-faq__title { font-size: clamp(40px, 5vw, 72px); line-height: .92; color: var(--deep); }
.trips-faq__ask p { max-width: 380px; margin-top: 24px; font-size: 17px; line-height: 1.6; }
.trips-faq__ask .btn { width: 262px; margin-top: 32px; padding-inline: 20px; }
.trips-faq__list { border-top: 1px solid var(--deep); }
.trips-faq__list li { padding: 27px 0 28px; border-bottom: 1px solid var(--deep); }
.trips-faq__list h3 { font: 600 clamp(17px, 1.39vw, 20px)/1.45 var(--body); color: var(--deep); }
.trips-faq__list p { max-width: 760px; margin-top: 10px; font-size: clamp(15px, 1.18vw, 17px); line-height: 1.6; }
.trips-faq__list a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- closing ---------- */
.trips-close { position: relative; background: var(--deep); overflow: hidden; }
.trips-close__media { position: absolute; inset: 0 0 0 calc(max(var(--pad), (100vw - 1280px) / 2) + 460px); }
.trips-close__media img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.trips-close__in { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 640px; padding-block: 80px; pointer-events: none; }
.trips-close__in > * { pointer-events: auto; }
.trips-close__title { max-width: 420px; font-size: clamp(44px, 5vw, 72px); line-height: .9; }
.trips-close__lead { max-width: 400px; margin-top: 21px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; }
.trips-close__btns { display: grid; gap: 12px; width: 400px; max-width: 100%; margin-top: 32px; }

/* ---------- dock (phones and tablets) ---------- */
.trips-dock { display: none; }
.page-trips .bar { display: none; }
@keyframes trips-up { from { transform: translateY(100%); } }
@keyframes trips-dim { from { opacity: 0; } }

/* =============== small desktop =============== */
@media (max-width: 1279px) {
  .trips-body__in { grid-template-columns: minmax(0, 1fr) 340px; column-gap: 40px; }
  .trips-card { padding: 24px; }
  .trips-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; }
  .trips-trip__btns .btn { flex: 1 1 0; width: auto; max-width: 280px; }
  .trips-trip__photo { height: 420px; }
  .trips-which__list li { grid-template-columns: minmax(0, 1fr) 150px; column-gap: 32px; }
  .trips-rev__in { grid-template-columns: 250px minmax(0, 1fr); }
  .trips-rev__list { gap: 24px; }
  .trips-where__in { column-gap: 48px; }
  .trips-priv__in { column-gap: 56px; }
}
@media (max-width: 1179px) {
  .trips-seasons__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
}

/* =============== tablet and phone: one column, dock instead of the booking card =============== */
@media (max-width: 1023px) {
  .page-trips { --bar: calc(77px + env(safe-area-inset-bottom)); }
  .trips-crumb a { padding-right: 14px; margin-right: -14px; }
  .trips-body__in { display: block; padding-block: 72px; }
  .trips-card { display: none; }
  .trips-list { row-gap: 80px; }
  .trips-rev { padding-block: 72px; }
  .trips-rev__in { grid-template-columns: 1fr; row-gap: 28px; }
  .trips-inc { padding-block: 72px 61px; }
  .trips-inc__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trips-faq { padding-block: 72px; }
  .trips-faq__in { grid-template-columns: 1fr; row-gap: 40px; }
  /* one column; the pickup paragraph moves under the places (the phone frame's order) */
  .trips-where, .trips-seasons { padding-block: 72px; }
  .trips-where__in { display: flex; flex-direction: column; align-items: stretch; }
  .trips-where__text { display: contents; }
  .trips-where__text p { max-width: 780px; }
  .trips-where__list { order: 2; margin-top: 32px; }
  .trips-where__text .trips-where__pick { order: 3; margin-top: 24px; }
  .trips-priv { padding-block: 72px 61px; }
  .trips-priv__in { display: block; }
  .trips-priv__main p, .trips-priv__capts p { max-width: 780px; }
  .trips-priv__capts { margin-top: 36px; padding-top: 0; }
  .trips-close__media { left: 46%; }
  .trips-close__in { min-height: 520px; }
  .trips-close__title, .trips-close__lead, .trips-close__btns { max-width: 38vw; }

  .trips-dock { position: fixed; inset: auto 0 0 0; z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr) 52px 102px; align-items: center; gap: 8px; min-height: 77px; padding: 11px 16px calc(11px + env(safe-area-inset-bottom)); background: var(--dark); border-top: 1px solid #fff; color: #fff; }
  .trips-dock__trip { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; min-height: 52px; padding-right: 12px; text-align: left; }
  .trips-dock__text { display: grid; gap: 2px; min-width: 0; font-size: 13px; line-height: 1.45; white-space: nowrap; }
  .trips-dock__text b { font-size: 22px; line-height: 1; }
  .trips-dock__trip img { flex: none; width: 16px; height: 10px; }
  .trips-dock__call { display: grid; place-items: center; width: 52px; height: 52px; border: 1.5px solid #fff; }
  .trips-dock__call img { width: 20px; height: 20px; }
  .page-trips .trips-dock__book { width: 102px; min-height: 52px; padding: 13px 8px; font-size: 14px; }
}

/* =============== phone: photo over copy, compact trip cards =============== */
@media (max-width: 767px) {
  .page-trips main { --pad: 24px; }

  /* breadcrumb sits under the photo, above the rating (phero.css orders it); Figma 248:165 */
  .trips-crumb { background: none; padding-top: 10px; font-size: 12px; letter-spacing: 0; }
  .trips-crumb ol { min-height: 44px; }
  .trips-crumb li + li::before { margin-inline: 9px; }
  .page-trips .phero-top .phero__in { padding-top: 0; }
  .page-trips .phero__rating { margin-top: -1px; }

  .trips-body { background: var(--deep); color: #fff; }
  .trips-body__in { padding-block: 0; }
  .trips-list { row-gap: 16px; padding-bottom: 56px; }
  .trips-trip { background: var(--dark); }
  .trips-trip__photo { height: 210px; }
  .trips-trip--deepsea .trips-trip__photo img { object-position: 50% 50%; }
  .trips-trip__body { padding: 16px 20px 20px; }
  .trips-trip__name { margin-top: 0; font-size: 32px; line-height: 1; color: #fff; }
  .trips-trip__text { display: none; }
  .trips-facts { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; margin-top: 6px; }
  .trips-facts__boat { order: -1; flex: 0 0 100%; margin-bottom: 12px; }
  .trips-facts__boat dt, .trips-facts__anglers dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .trips-facts dd { margin-top: 0; font-size: 14px; color: #fff; }
  .trips-facts__price { display: flex; align-items: baseline; gap: .22em; }
  .trips-facts__price dt, .trips-facts__price dd { font: 800 28px/1 var(--display); letter-spacing: .01em; text-transform: uppercase; color: #fff; }
  .trips-facts__anglers dd { text-transform: lowercase; }
  .trips-trip__btns { flex-wrap: nowrap; margin-top: 16px; }
  .page-trips .trips-trip__btns .btn { flex: 1 1 0; width: auto; max-width: none; min-height: 52px; padding: 13px 8px; font-size: 14px; }
  .trips-trip__btns .btn--fill { order: 2; }
  .trips-trip__btns .trips-btn-ink { border-color: #fff; color: #fff; }
  .trips-trip__btns .trips-btn-ink:hover { background: #fff; color: var(--dark); }

  .trips-which { margin: 0 calc(-1 * var(--pad)); padding: 56px var(--pad); border-top: 0; background: #fff; color: var(--text); }
  .trips-which__list { margin-top: 20px; }
  .trips-which__list li { display: block; padding-block: 18px 7px; }
  .trips-which__list p { font-size: 16px; line-height: 1.55; }
  .trips-which__list a { margin-block: -2px 0; font-size: 24px; }

  .trips-inc { padding-block: 56px 45px; }
  .trips-inc__list { grid-template-columns: 1fr; gap: 10.5px; margin-top: 20px; font-size: 15px; line-height: 1.5; }
  .trips-inc__list li { gap: 10px; }
  .trips-inc__list img { margin-top: 2px; }
  .trips-inc .trips-link { margin-top: 9px; }

  .trips-where, .trips-seasons { padding-block: 56px; }
  .trips-where__text p { margin-top: 16px; font-size: 15px; line-height: 1.6; }
  .trips-where__list { margin-top: 28px; }
  .trips-where__list li { padding: 19px 0 20px; }
  .trips-where__list h3 { font-size: 17px; }
  .trips-where__list p { margin-top: 8px; font-size: 15px; }
  .trips-where__text .trips-where__pick { margin-top: 23px; }

  .trips-seasons__lead { margin-top: 16px; font-size: 15px; line-height: 1.6; }
  .trips-seasons__list { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .trips-seasons__list h3 { font-size: 30px; }
  .trips-seasons__months { margin-top: 6px; font-size: 12px; }
  .trips-seasons__months::after { width: 32px; margin-top: 12px; }
  .trips-seasons__months + p { margin-top: 12px; font-size: 15px; }

  .trips-priv { padding-block: 56px 45px; }
  .trips-priv__main p { margin-top: 16px; font-size: 15px; line-height: 1.6; }
  .trips-priv__capts { margin-top: 28px; }
  .trips-priv__capts h3 { font-size: 18px; }
  .trips-priv__capts p { margin-top: 10px; font-size: 15px; line-height: 1.6; }
  .trips-priv__capts .trips-link { margin-top: 5px; }

  .trips-rev { padding-block: 56px; }
  .trips-rev__in { display: flex; flex-direction: column; row-gap: 0; }
  .trips-rev__score { display: contents; }
  .trips-rev__from { margin: 4px 0 0 2px; }
  .trips-rev__list { order: 2; grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .trips-rev__list li { padding: 20px 0 24px; }
  .trips-rev__list li:last-child { padding-bottom: 0; }
  .trips-rev__list figcaption { margin-top: 12px; }
  .trips-rev__score .trips-link { order: 3; align-self: flex-start; margin: 13px 0 -11px; }

  .trips-faq { padding-block: 56px; }
  .trips-faq__in { row-gap: 24px; }
  .trips-faq__ask { display: none; }
  .trips-faq__list li { padding: 20px 0 19px; }
  .trips-faq__list p { margin-top: 8px; }

  .trips-close__media { position: relative; inset: auto; height: 260px; }
  .trips-close__media img { object-position: 50% 50%; }
  .trips-close__in { display: block; min-height: 0; padding-block: 36px 56px; }
  .trips-close__title, .trips-close__lead, .trips-close__btns { max-width: none; }
  .trips-close__title { line-height: .92; }
  .trips-close__lead { margin-top: 13px; }
  .trips-close__btns { width: auto; margin-top: 23px; }
}
