/* Trips & Special Offers: continuous photographic background area */
.trips-continuous-flow {
  position: relative;
  max-width: none;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}
.trips-continuous-flow::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: url("../../assets/images/trips/trips-continuous-bg.webp") center / cover no-repeat;
  filter: blur(10px);
  opacity: 0.32;
  pointer-events: none;
  z-index: -1;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 70px,
    black calc(100% - 70px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 70px,
    black calc(100% - 70px),
    transparent 100%
  );
}
#trips {
  position: relative;
  max-width: none;
  width: 100%;
  z-index: 2;
}
#trips > h2,
#trips > p,
#trips > .tabs,
#trips > .tr {
  position: relative;
  z-index: 2;
  max-width: calc(1300px - 14vw);
  margin-left: auto;
  margin-right: auto;
}
#trips h2,
#trips p,
#rl button {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
@media (max-width: 860px) {
  #trips > h2,
  #trips > p,
  #trips > .tabs,
  #trips > .tr {
    max-width: none;
  }
}

/* Trips by length: tabs, route list, route pass */
.tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  margin: 30px 0;
}
.tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--mut);
  padding: 10px 0;
  font: 400 1rem Manrope;
  cursor: pointer;
  margin-bottom: -1px;
  transition: 0.3s;
}
.tabs button[aria-pressed="true"] {
  color: var(--ink);
  border-color: var(--brass);
}
.tr {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
}
#rl button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  color: var(--ink);
  font: 400 1rem Manrope;
  cursor: pointer;
  transition:
    padding 0.4s,
    color 0.3s;
}
#rl button:hover,
#rl button[aria-pressed="true"] {
  padding-left: 14px;
  color: var(--brass);
}
.pass {
  background: var(--card);
  padding: 44px;
  position: sticky;
  top: 90px;
  align-self: start;
}
.pass h3 {
  font-size: 2.3rem;
  margin: 6px 0 30px;
}
.st {
  position: relative;
  padding: 0 0 26px 34px;
  opacity: 0;
  transform: translateX(-10px);
  animation: sl 0.8s forwards;
  animation-delay: var(--d);
}
.st::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brass);
}
.st::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 22px;
  bottom: -4px;
  width: 1px;
  background: var(--line);
}
.st:last-child::after {
  display: none;
}
@keyframes sl {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 860px) {
  .tr {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .pass {
    position: static;
    padding: 28px;
  }
}
.st {
  padding-bottom: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.st::after {
  top: 20px;
}
.pass h3 {
  margin: 6px 0 18px;
}
