/* Our trips overview (Trips board). */
.trips-hero { position: relative; height: 440px; overflow: hidden; background: var(--green-deep); color: #fff; }
.trips-hero__img, .trips-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.trips-hero__img img { object-fit: cover; }
.trips-hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,22,16,.9) 0%, rgba(8,22,16,.4) 60%, rgba(8,22,16,.3) 100%); }
.trips-hero__text { position: absolute; left: 0; right: 0; bottom: 64px; }
.trips-hero__text .kicker { margin-bottom: 12px; }
.trips-hero h1 { max-width: 860px; font-size: clamp(36px, 5vw, 70px); line-height: 1.04; }
.trips-hero__intro { margin-top: 16px; max-width: 660px; font-size: 18px; line-height: 1.55; }
@media (prefers-reduced-motion: no-preference) {
  .trips-hero__img img { animation: kenburns 14s ease-out forwards; }
  .trips-hero__text > * { animation: rise .9s .2s both; }
  .trips-hero__text > .trips-hero__intro { animation-delay: .5s; }
}

.trips { padding-bottom: 90px; }
.filters { position: relative; z-index: 2; margin-top: -34px; display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; background: #fff; border-radius: 22px; box-shadow: 0 10px 30px rgba(18,38,30,.08); }
.filters[hidden] { display: none; }
.filters__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-bottom: 6px; }
.filters__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5f6e66; }
.filters__link { font-size: 13px; font-weight: 700; }
/* Tablet and phone: one row per filter, swiped sideways; the right edge fades to show there is more. */
.filters__opts { display: flex; gap: 8px; margin: -6px -20px; padding: 6px 20px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); }
.filters__opts::-webkit-scrollbar { display: none; }
.fp { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #cfc7b8; background: #fff; color: var(--green); font: 700 14px/1.2 var(--sans); white-space: nowrap; cursor: pointer; }
.fp:hover { border-color: var(--green); }
.fp[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
/* Desktop: every filter on one row. */
@media (min-width: 1100px) {
  .filters { padding: 20px 22px; }
  .filters__opts { flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .fp { padding: 8px 12px; }
}

.trips__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 26px 0 18px; }
.trips__bar[hidden] { display: none; }
.trips__count { font-size: 15px; font-weight: 600; color: var(--muted); }
.trips__clear { background: none; border: 0; padding: 4px 0; font: 700 14.5px var(--sans); color: var(--red); text-decoration: underline; cursor: pointer; }
.trips__clear[hidden] { display: none; }
.filters[hidden] + .trips__bar[hidden] + .trip-grid { margin-top: 40px; }

.trip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.trip-grid__item[hidden] { display: none; }
.rt { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 20px; overflow: hidden; color: var(--green); text-decoration: none; transition: transform .35s ease, box-shadow .35s ease; }
.rt:hover { color: var(--green); transform: translateY(-4px); box-shadow: 0 16px 34px rgba(18,38,30,.12); }
.rt__img { position: relative; display: block; height: 250px; overflow: hidden; background: #2a4237; }
.rt__img picture, .rt__img img { width: 100%; height: 100%; }
.rt__img img { object-fit: cover; transition: transform .9s ease; }
.rt:hover .rt__img img, .rt:focus-visible .rt__img img { transform: scale(1.07); }
.rt__days { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; }
.rt__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 22px; }
.rt__region { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5f6e66; }
.rt__title { font: 600 23px/1.22 var(--serif); }
.rt__places { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.rt__foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.rt__go { font-size: 14.5px; font-weight: 700; color: var(--red); }
.lvl { display: inline-block; white-space: nowrap; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.lvl--classic { background: var(--green-light); color: var(--green); }
.lvl--premium { background: var(--green); color: var(--sand); }
.lvl--luxury { background: var(--red); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .rt, .rt__img img { transition: none; }
  .rt:hover { transform: none; }
}

.trips__empty { padding: 40px; background: #fff; border-radius: 20px; text-align: center; }
.trips__empty[hidden] { display: none; }
.trips__empty .h-md { margin: 0 0 10px; font-size: clamp(24px, 2.4vw, 30px); }
.trips__empty p { max-width: 620px; margin: 0 auto 22px; color: var(--muted); }
.trips__empty--luxury { margin-top: 22px; background: var(--green-light); }

.start-band { margin-top: 50px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: clamp(26px, 4vw, 42px); background: var(--green); color: var(--cream); border-radius: 22px; }
.start-band > div { flex: 1 1 460px; }
.start-band__title { margin-bottom: 8px; font-size: 28px; }
.start-band p { font-size: 16.5px; line-height: 1.65; color: var(--on-dark-muted); }
