html,
body {
  min-height: 100%;
  overflow-x: clip;
  font:
    16px/1.5 "Inter",
    sans-serif;
  color: rgba(0, 0, 0, 0.8);
  background: rgb(252, 252, 252);
  font-weight: 300;
  /* letter-spacing: .9px; */
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  /* font-family: "Inter", sans-serif; */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 8.5rem;
}

img,
svg,
video {
  max-width: 100%;
  image-orientation: from-image;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

main,
section,
article,
aside,
form,
label,
input,
select,
textarea,
button,
a {
  min-width: 0;
}

main p,
main li,
main dd,
main dt,
main a,
main button,
main label,
main input,
main select,
main textarea {
  overflow-wrap: anywhere;
}

table {
  max-width: 100%;
}

.trek-hero-wrapper {
  width: 100%;
  max-width: 1584px;
  margin-left: auto;
  margin-right: auto;
}

.trek-mosaic-item {
  position: relative;
  overflow: hidden;
  background-color: #f1f5f9;
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
}

.trek-mosaic-item img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}

.trek-hero-thumb-mobile {
  position: relative;
  overflow: hidden;
  background: #0f172a;
  padding: 0;
  transition: all 0.2s ease;
}

.trek-hero-thumb-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  display: block;
}

.trek-hero-thumb-mobile.is-active {
  border-color: #f58220 !important;
}

.trek-hero-bottom-bar {
  width: 100%;
  margin-top: 1rem;
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.25rem 1.75rem;
  box-shadow: 0 14px 40px -16px rgba(8, 33, 61, 0.12);
  border: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .trek-hero-bottom-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    border-radius: 1.25rem;
  }
}

@media (max-width: 768px) {
  .trek-hero-bottom-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    border-radius: 1.25rem;
  }
}

.trek-photo-lightbox {
  color: #ffffff;
}

.trek-photo-lightbox-header {
  position: absolute;
  top: 2rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.trek-photo-lightbox-close {
  display: inline-flex;
  height: 3.2rem;
  width: 3.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.35rem;
  background: #000000;
  color: #ffffff;
}

.trek-photo-lightbox-zoom {
  display: inline-flex;
  overflow: hidden;
  border-radius: 0.35rem;
  background: #000000;
}

.trek-photo-lightbox-zoom button {
  display: inline-flex;
  height: 3.2rem;
  width: 3.2rem;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.trek-photo-lightbox-zoom button:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #f59e0b;
}

.trek-photo-lightbox-copy h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.trek-photo-lightbox-copy p {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.trek-photo-lightbox-body {
  display: grid;
  height: 100%;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) 6.5rem;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
  padding: 5rem 1rem 2rem 4rem;
}

.trek-photo-lightbox-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-height: 75vh;
  overflow: auto;
  scrollbar-width: none;
}

.trek-photo-lightbox-stage::-webkit-scrollbar {
  display: none;
}

.trek-photo-lightbox-stage img {
  display: block;
  width: auto;
  max-width: calc(100% * var(--lightbox-zoom, 1));
  height: auto;
  max-height: calc(72vh * var(--lightbox-zoom, 1));
  object-fit: contain;
  margin: 0 auto;
  border-radius: 0.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.18s ease,
    max-height 0.18s ease;
}

.trek-photo-lightbox-stage figcaption {
  margin-top: 0.75rem;
  color: #f59e0b;
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}

.trek-photo-lightbox-thumbs {
  display: grid;
  max-height: 76vh;
  gap: 0.55rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.35rem;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
  scrollbar-width: thin;
}

.trek-photo-lightbox-thumbs::-webkit-scrollbar {
  width: 0.35rem;
}

.trek-photo-lightbox-thumbs::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.trek-photo-lightbox-thumbs button {
  aspect-ratio: 1 / 1;
  width: 5.75rem;
  overflow: hidden;
  border: 0.16rem solid transparent;
  border-radius: 0.35rem;
  background: #111827;
  padding: 0;
}

.trek-photo-lightbox-thumbs button.active {
  border-color: #f58220;
}

.trek-photo-lightbox-thumbs img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 1023px) {
  .trek-hero {
    padding-top: 1rem;
  }

  .trek-photo-lightbox-header {
    top: 1rem;
    left: 1rem;
    right: 1rem;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "close copy"
      "close zoom";
    align-items: start;
    column-gap: 1rem;
    row-gap: 0.75rem;
  }

  .trek-photo-lightbox-close {
    grid-area: close;
  }

  .trek-photo-lightbox-copy {
    grid-area: copy;
  }

  .trek-photo-lightbox-copy h2 {
    font-size: clamp(2rem, 6vw, 3.2rem);
    line-height: 1.05;
    text-align: left;
  }

  .trek-photo-lightbox-copy p {
    font-size: clamp(1.15rem, 3.5vw, 1.6rem);
    text-align: left;
  }

  .trek-photo-lightbox-zoom {
    grid-area: zoom;
    width: max-content;
  }

  .trek-photo-lightbox-body {
    grid-template-columns: 1fr;
    padding: 13.5rem 0 1rem;
  }

  .trek-photo-lightbox-stage img {
    max-height: 58vh;
  }

  .trek-photo-lightbox-stage figcaption {
    text-align: left;
  }

  .trek-photo-lightbox-thumbs {
    display: flex;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 0.25rem;
  }

  .trek-photo-lightbox-thumbs button {
    width: 5.25rem;
    min-width: 5.25rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .trek-photo-lightbox-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "close copy zoom";
    align-items: center;
  }

  .trek-photo-lightbox-copy h2,
  .trek-photo-lightbox-copy p {
    text-align: center;
  }

  .trek-photo-lightbox-body {
    padding-top: 8rem;
  }

  .trek-photo-lightbox-stage {
    max-height: 62vh;
  }

  .trek-photo-lightbox-stage img {
    max-height: 62vh;
  }
}

@media (max-width: 420px) {
  .trek-photo-lightbox-header {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.75rem;
  }

  .trek-photo-lightbox-close,
  .trek-photo-lightbox-zoom button {
    height: 2.75rem;
    width: 2.75rem;
  }

  .trek-photo-lightbox-copy h2 {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .trek-photo-lightbox-body {
    padding-top: 13rem;
  }
}

#secondaryTripNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin-left: 0;
  z-index: 100;
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.trip-detail-page.is-swapped #secondaryTripNav {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#secondaryTripNav>div {
  width: 100%;
  max-width: 1584px;
  margin-inline: auto;
  /* padding-inline: clamp(1rem, 2.5vw, 2rem); */
}

@media (min-width: 1648px) {
  #secondaryTripNav>div {
    width: 1584px;
  }
}

#secondaryTripNav nav {
  flex: 1 1 auto;
  min-width: 0;
  scrollbar-width: none;
}

#secondaryTripNav nav::-webkit-scrollbar {
  display: none;
}

#secondaryTripNav .secondary-nav-link {
  position: relative;
  border-radius: 8px;
  color: #334155;
  padding: 0.625rem 0.875rem;
}

#secondaryTripNav .secondary-nav-link i {
  color: #64748b;
  transition: color 0.2s ease;
}

#secondaryTripNav .secondary-nav-link:hover,
#secondaryTripNav .secondary-nav-link:hover i {
  color: #f58220;
}

#secondaryTripNav .secondary-nav-link.active {
  background: #f58220;
  color: #ffffff;
  box-shadow: 0 12px 24px -18px rgba(245, 130, 32, 0.85);
}

#secondaryTripNav .secondary-nav-link.active i {
  color: #ffffff;
}

#secondaryTripNav .secondary-nav-book-now {
  flex-shrink: 0;
}

.trip-detail-page #mainNavigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transform: translateY(0);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.trip-detail-page {
  --sticky-nav-height: 5rem;
}

.trip-detail-page main {
  padding-top: var(--sticky-nav-height, 0px);
}

.trip-overview-trigger-sentinel {
  display: block;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.trip-detail-page.is-swapped #mainNavigation {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.section-target,
#booking {
  scroll-margin-top: 8.5rem;
}

.section-target {
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    outline-color 0.25s ease;
}

.section-target:focus {
  outline: none;
}

.section-target.is-secondary-nav-target {
  border-radius: 1rem;
  background: rgba(245, 130, 32, 0.06);
  box-shadow: 0 0 0 1px rgba(245, 130, 32, 0.2);
}

#routes article:nth-of-type(2) h4,
#routes article:nth-of-type(2) p {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.elevation-profile-card {
  background: #eff6ff;
}

.elevation-profile-body {
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.elevation-chart-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 rgba(241, 245, 249, 0.8);
}

.elevation-chart-frame::-webkit-scrollbar {
  height: 6px;
}

.elevation-chart-frame::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.8);
  border-radius: 9999px;
}

.elevation-chart-frame::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

.elevation-chart-frame::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.elevation-chart {
  display: block;
  width: 100%;
  min-width: 52rem;
  max-width: none;
  height: auto;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .elevation-chart {
    min-width: 0;
    max-width: 100%;
  }
}

#includes details>div>div {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: transparent;
}

#includes details>div>div>i,
#includes details>div>div>svg {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

#includes details>div>div>p {
  margin: 0;
  min-width: 0;
}

main div:has(> table),
main section:has(> table),
main article:has(> table) {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

main table {
  width: 100%;
}

main a.inline-flex,
main button.inline-flex {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.mobile-dropdown {
  overflow-wrap: anywhere;
}

#mobileAboutDropdown {
  padding-inline: 0.25rem;
}

#mobileAboutDropdown>div {
  display: grid;
  gap: 0.625rem;
  border-radius: 0.875rem;
  background: #f8fafc;
}

#mobileAboutDropdown a {
  position: relative;
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 0.625rem;
  background: white;
  padding: 0.75rem 0.875rem 0.75rem 2.9rem;
  color: #122b55;
  font-size: 0.8125rem;
  line-height: 1.25rem;
  font-weight: 700;
  box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.35);
}

#mobileAboutDropdown a::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  display: grid;
  height: 1.55rem;
  width: 1.55rem;
  transform: translateY(-50%);
  place-items: center;
  border-radius: 999px;
  background: rgba(245, 130, 32, 0.12);
  color: #f58220;
  box-shadow: inset 0 0 0 1px rgba(245, 130, 32, 0.22);
}

#mobileAboutDropdown a::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 50%;
  height: 0.45rem;
  width: 0.45rem;
  transform: translateY(-50%);
  border-radius: 999px;
  background: currentColor;
}

#mobileAboutDropdown a[href*="about-panorama"]::after {
  height: 0.78rem;
  width: 0.18rem;
  border-radius: 999px;
  box-shadow: 0 -0.42rem 0 -0.03rem currentColor;
}

#mobileAboutDropdown a[href*="our-team"]::after {
  height: 0.52rem;
  width: 0.52rem;
  border-radius: 999px;
  box-shadow:
    -0.34rem 0.35rem 0 -0.08rem currentColor,
    0.34rem 0.35rem 0 -0.08rem currentColor,
    0 0.56rem 0 -0.12rem currentColor;
}

#mobileAboutDropdown a[href*="legal-documents"]::after {
  height: 0.82rem;
  width: 0.62rem;
  border-radius: 0.12rem;
  background: transparent;
  border: 0.13rem solid currentColor;
  border-top-right-radius: 0;
}

#mobileAboutDropdown a[href*="testimonials"]::after {
  height: 0.58rem;
  width: 0.82rem;
  border-radius: 0.42rem;
  background: transparent;
  border: 0.13rem solid currentColor;
  box-shadow: 0.18rem 0.34rem 0 -0.18rem currentColor;
}

#mobileAboutDropdown a:hover,
#mobileAboutDropdown a:focus-visible {
  border-color: rgba(245, 130, 32, 0.35);
  background: #fff7ed;
  color: #f58220;
}

.team-card,
.review-card,
main article {
  min-width: 0;
}

.team-card {
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.team-filter-bar {
  align-items: center;
  scrollbar-width: none;
}

.team-filter-bar::-webkit-scrollbar {
  display: none;
}

.team-filter-bar button {
  flex: 0 0 auto;
  min-height: 2.75rem;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.team-card img {
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.team-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.review-card img {
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.review-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.review-card-meta {
  flex-direction: row;
}

.review-card-meta>div {
  flex: 0 0 auto;
  line-height: 1;
}

.review-card-meta span {
  flex: 0 1 auto;
  min-width: 0;
  text-align: right;
  white-space: nowrap;
}

.review-card-footer {
  flex-direction: row;
}

.review-card-action {
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.review-card:hover .review-card-action {
  background-color: #f58220;
  color: #ffffff;
  transform: translateX(2px);
}

.team-card h3,
.review-card h3,
main h1,
main h2,
main h3,
footer h2,
footer h3 {
  overflow-wrap: anywhere;
}

@media (max-width: 1279px) {
  #secondaryTripNav .secondary-nav-book-now {
    display: none !important;
  }
}

@media (max-width: 767px) {
  #secondaryTripNav {
    padding-inline: 0.75rem;
  }

  #secondaryTripNav>div {
    gap: 0;
  }

  #secondaryTripNav nav {
    gap: 0.5rem;
    padding-right: 0;
    scroll-padding-inline: 1rem;
  }

  #secondaryTripNav .secondary-nav-link {
    padding: 0.55rem 0.75rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 1023px) {
  body>nav>div {
    padding-inline: 1.25rem;
  }

  #mobileMenu {
    overscroll-behavior: contain;
  }

  #mobileAboutDropdown>div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #reviews [aria-label="Review categories"] button,
  .team-filter-bar button {
    padding-inline: 0.75rem;
    white-space: nowrap;
  }

  #reviews [aria-label="Review categories"] button {
    width: 100%;
  }

  main [class*="md:grid-cols-["],
  main [class*="lg:grid-cols-["],
  main [class*="xl:grid-cols-["] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  main [class*="lg:max-w-["],
  main [class*="xl:max-w-["] {
    max-width: 100% !important;
  }

  main [class*="lg:w-["],
  main [class*="xl:w-["] {
    width: 100% !important;
  }

  main .sticky {
    position: static;
  }
}

@media (max-width: 767px) {

  input,
  select,
  textarea {
    font-size: 16px;
  }

  main h1 {
    font-size: clamp(2.25rem, 11vw, 3.75rem) !important;
    line-height: 1.08 !important;
  }

  main h2 {
    font-size: clamp(1.75rem, 8.5vw, 2.75rem) !important;
    line-height: 1.12 !important;
  }

  main h3 {
    line-height: 1.18 !important;
  }

  main>section:not(#secondaryTripNav) {
    /* padding-block: clamp(2rem, 10vw, 4.5rem); */
  }

  main .section-target {
    scroll-margin-top: 5rem;
  }

  main [class*="max-w-[1584px]"] {
    width: 100%;
  }

  main [class*="grid-cols-["],
  main [class*="lg:grid-cols-["],
  main [class*="xl:grid-cols-["] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  main [class*="min-h-[360px]"],
  main [class*="min-h-[420px]"],
  main [class*="min-h-[440px]"],
  main [class*="min-h-[470px]"] {
    min-height: auto;
  }

  .destination-hero-collage,
  .trekking-about-collage {
    display: grid;
    gap: 1rem;
  }

  .destination-hero-collage>img,
  .destination-hero-collage>div,
  .trekking-about-collage>img {
    position: relative !important;
    inset: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    transform: none !important;
  }

  .destination-hero-collage>img,
  .trekking-about-collage>img {
    aspect-ratio: 16 / 11;
    min-height: 12rem;
    object-fit: cover;
  }

  .destination-hero-collage>div,
  .trekking-about-collage>img+img {
    border-width: 0.375rem;
  }

  .trekking-hero-grid {
    min-height: 0;
  }

  .trekking-hero-grid>article {
    min-height: 16rem;
  }

  main article[class*="min-h-[320px]"],
  main article[class*="min-h-[360px]"],
  main div[class*="min-h-[260px]"],
  main div[class*="min-h-[310px]"],
  main div[class*="min-h-[360px]"],
  main div[class*="min-h-[420px]"] {
    min-height: clamp(16rem, 70vw, 24rem);
  }

  main .flex.justify-between,
  main .flex.items-center.justify-between {
    /* align-items: flex-start; */
    gap: 0.75rem;
  }

  main dl .flex.justify-between {
    flex-direction: column;
  }

  main table {
    min-width: 560px;
  }

  footer {
    text-align: left;
  }

  .team-card,
  .review-card,
  main article {
    border-radius: 1rem;
  }

  .team-card {
    box-shadow: 0 18px 44px -34px rgba(15, 23, 42, 0.42);
  }

  .team-card>div:first-child {
    height: clamp(16rem, 74vw, 24rem);
  }

  .team-card>div:first-child span {
    left: 1rem;
    top: 1rem;
    max-width: calc(100% - 2rem);
    white-space: normal;
  }

  .team-card>div:last-child,
  .review-card .p-6,
  main article>div:last-child {
    /* padding: 1.25rem; */
  }

  .team-card h3,
  .review-card h3 {
    font-size: 1.125rem;
    line-height: 1.45;
  }

  .team-card .pt-5,
  .review-card .mt-6 {
    margin-top: 1rem;
    padding-top: 0;
  }

  .team-card .flex.items-start.justify-between,
  .review-card .flex.items-center.justify-between {
    align-items: flex-start;
    gap: 1rem;
  }

  .review-card .review-card-meta.flex.items-center.justify-between,
  .review-card .review-card-footer.flex.items-center.justify-between {
    align-items: center;
  }

  .team-card span.truncate {
    max-width: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .team-profile-button {
    min-height: 2.75rem;
    border-radius: 0.375rem;
    background: #fff7ed;
    padding: 0.65rem 0.9rem;
    color: #122b55;
  }

  .team-profile-button:active {
    transform: translateY(1px);
  }

  #teamProfileModal {
    padding: 0.75rem;
  }

  #teamProfileModal>div {
    align-items: flex-start;
  }

  #teamProfileModal section {
    border-radius: 1rem;
  }

  #teamProfileModal section>div:first-of-type {
    min-height: clamp(18rem, 78vw, 25rem);
  }

  #teamProfileModal section>div:first-of-type>div:last-child {
    padding: 1.25rem;
  }

  #teamModalClose {
    right: 1rem;
    top: 1rem;
    height: 2.75rem;
    width: 2.75rem;
  }

  #teamProfileModal section>div:last-child {
    padding: 1.5rem;
  }

  #modalMemberBio {
    font-size: 0.95rem;
    line-height: 1.85;
  }

  #teamProfileModal .mt-8.grid.gap-4 {
    grid-template-columns: 1fr;
  }

  #teamProfileModal .mt-8.grid.gap-4>div {
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.9rem;
  }

  #teamProfileModal .mt-8.grid.gap-4>div>span {
    height: 2.75rem;
    width: 2.75rem;
  }

  #teamProfileModal .mt-8.grid.gap-4 p {
    overflow-wrap: anywhere;
  }

  #reviewModal,
  #teamModal,
  #legalDocumentModal {
    padding: 1rem;
  }

  #reviewModal section,
  #teamModal section,
  #legalDocumentModal section {
    border-radius: 1.25rem;
  }

  #teamModal [id^="modalMember"] {
    overflow-wrap: anywhere;
  }

  #teamModal .grid.gap-4>.flex {
    align-items: flex-start;
  }

  #modalReviewTitle,
  #modalMemberName,
  #modalDocumentTitle {
    /* font-size: clamp(, 7vw, 30px); */
    line-height: 1.1;
  }
}

@media (max-width: 479px) {
  #mobileAboutDropdown>div {
    grid-template-columns: 1fr;
  }

  .team-card .flex.items-start.justify-between,
  .review-card .flex.items-center.justify-between {
    flex-direction: column;
  }

  .review-card .review-card-meta.flex.items-center.justify-between,
  .review-card .review-card-footer.flex.items-center.justify-between {
    flex-direction: row;
    align-items: center;
  }

  .review-card .review-card-meta {
    gap: 0.5rem;
  }

  .team-card>div:last-child {
    padding: 1rem;
  }

  .team-card h3 {
    font-size: 1.05rem;
  }

  .team-card>div:last-child .flex.min-w-0 {
    width: 100%;
  }

  .team-profile-button,
  .legal-document-button {
    width: 100%;
    justify-content: center;
  }

  #teamProfileModal {
    padding: 0;
  }

  #teamProfileModal section {
    min-height: 100dvh;
    border-radius: 0;
  }

  #teamProfileModal section>div:first-of-type {
    min-height: 19rem;
  }

  #teamProfileModal section>div:last-child {
    padding: 1.25rem 1rem 1.5rem;
  }

  #modalMemberName {
    margin-top: 1rem;
  }

  #teamProfileModal .mt-8 {
    margin-top: 1.25rem;
  }

  #teamProfileModal .mt-8.flex.flex-col {
    gap: 0.75rem;
  }

  #teamModal a,
  #legalDocumentModal a,
  #legalDocumentModal button {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .itinerary-day .accordion-button h3+div {
    display: none;
  }

  .itinerary-day.is-open .accordion-button h3+div {
    display: flex;
  }

  #includes summary {
    min-height: 4rem;
  }

  #includes summary>span {
    font-size: 1.125rem;
    line-height: 1.25;
  }

  #includes details>div {
    gap: 1rem;
    padding: 1.25rem;
  }

  #includes details>div>div {
    gap: 0.85rem;
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  #includes details>div>div>i,
  #includes details>div>div>svg {
    width: 1.3rem;
    height: 1.3rem;
    margin-top: 0.15rem;
  }
  #routes article:nth-of-type(2)>div:last-child {
    /* padding: 1rem; */
  }

  #routes article:nth-of-type(2)>div:last-child>div {
    border-radius: 1.25rem;
  }

  #routes article:nth-of-type(2)>div:last-child>div>div:first-child {
    gap: 0.75rem;
    padding: 1rem 1rem 1.1rem;
  }

  #routes article:nth-of-type(2) h4 {
    font-size: 1.35rem;
    line-height: 1.25;
  }

  #routes article:nth-of-type(2)>div:last-child p:not(:first-child) {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  #routes article:nth-of-type(2)>div:last-child>div>div:last-child {
    margin-top: 0;
  }
}

@media (max-width: 1279px) {
  .trip-detail-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  .trip-booking-sidebar {
    width: 100%;
  }

  #departures>div {
    padding: 0;
    background: transparent;
  }

  #departures article {
    display: block !important;
    width: 100%;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1.375rem;
    padding: 2rem 1.5rem 1.5rem;
    background: #ffffff;
    box-shadow: 0 18px 42px -34px rgba(18, 43, 85, 0.45);
  }

  #departures article>div:first-child {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    padding: 0 0 1.45rem;
    text-align: left;
  }

  #departures article>div:first-child span {
    margin: 0 !important;
  }

  #departures article>div:first-child span:first-child,
  #departures article>div:first-child span:last-child {
    color: #122b55;
    line-height: 1;
    letter-spacing: 0.04em;
  }

  #departures article>div:first-child span:nth-child(2) {
    color: #f58220;
    line-height: 0.9;
  }

  #departures article>h3 {
    margin-top: 1.7rem;
    color: #08213d;
    line-height: 1.15;
  }

  #departures article>div:not(:first-child) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    margin-top: 1.8rem;
  }

  #departures article>div:not(:first-child)>p:first-child {
    margin: 0;
    color: #3f4742;
    font-weight: 900;
    letter-spacing: 0.06em;
  }

  #departures article>div:not(:first-child)>p:last-child {
    margin: 0;
    justify-self: end;
  }

  #departures article>div:not(:first-child)>p:last-child span.h-2 {
    width: 0.75rem;
    height: 0.75rem;
  }

  #departures article>div:not(:first-child)>p:last-child span:not(.h-2) {
    color: #3f4742;
  }

  #departures article>div:not(:first-child):last-of-type>p:last-child {
    color: #08213d;
    line-height: 1;
  }

  #departures article>a,
  #departures article>button {
    width: 100%;
    height: 4rem;
    margin-top: 2rem;
    border-radius: 0.75rem;
    letter-spacing: 0.08em;
    box-shadow: 0 16px 32px -24px rgba(245, 130, 32, 0.75);
  }

  #departures article>button:disabled {
    box-shadow: none;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  main h1 {
    font-size: clamp(3rem, 7vw, 4.5rem) !important;
    line-height: 1.08 !important;
  }

  main h2 {
    font-size: clamp(2.25rem, 5.5vw, 3.5rem) !important;
    line-height: 1.12 !important;
  }

  main [class*="max-w-[1584px]"] {
    width: 100%;
  }

  main [class*="lg:grid-cols-["],
  main [class*="xl:grid-cols-["] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .destination-hero-collage,
  .trekking-about-collage {
    max-width: 44rem;
    justify-self: center;
    width: 100%;
  }

  .trekking-hero-grid {
    min-height: 32rem;
  }

  #mobileAboutDropdown {
    padding-inline: 0.75rem;
  }

  #mobileAboutDropdown a {
    min-height: 3.75rem;
    font-size: 0.875rem;
  }

  .team-card {
    border-radius: 1.25rem;
  }

  .team-card>div:first-child {
    height: 18rem;
  }

  .team-card .flex.items-start.justify-between {
    flex-direction: column;
  }

  .team-card>div:last-child .flex.min-w-0 {
    width: 100%;
  }

  .team-profile-button {
    width: 100%;
    justify-content: center;
  }

  #teamProfileModal {
    padding: 1.25rem;
  }

  #teamProfileModal section {
    max-width: 44rem;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .trek-hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.8rem 1.6rem;
  }

  .trek-hero-price {
    /* justify-content: flex-start;
    width: 100%; */
  }

  .trek-hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    width: 100%;
  }

  .trek-hero-actions button {
    width: 100%;
    min-height: 4.5rem;
    font-size: 1.25rem;
  }
}

@media (max-width: 639px) {
  .trek-hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.55rem;
    padding: 1.6rem 1.25rem;
    text-align: start;
  }

  .trek-hero-price {
    /* justify-content: center;
    width: 100%; */
  }

  .trek-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
    width: 100%;
  }

  .trek-hero-actions button {
    width: 100%;
    min-height: 4.25rem;
    font-size: 1.05rem;
  }
}

@keyframes seal-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.animate-seal-spin {
  animation: seal-spin 25s linear infinite;
  transform-origin: center;
}

/* Dynamic Navigation Menu Styling */
.main-menu-container {
  list-style: none;
  display: flex;
}

.main-menu-container>li {
  position: relative;
}

.main-menu-container>li>a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 0.5rem;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-menu-container>li>a:hover {
  color: #F58220;
}

.main-menu-container li.menu-item-has-children>a,
.mobile-menu-container li.menu-item-has-children>a {
  cursor: pointer;
  user-select: none;
}

/* Dropdown Arrow rotation on hover / active */
.main-menu-container li.menu-item-has-children>a .dropdown-arrow,
.main-menu-container li.menu-item-has-children>a svg {
  transition: transform 0.2s ease;
}

.main-menu-container li.menu-item-has-children:hover>a .dropdown-arrow,
.main-menu-container li.menu-item-has-children:hover>a svg,
.main-menu-container li.menu-item-has-children.open>a .dropdown-arrow,
.main-menu-container li.menu-item-has-children.open>a svg {
  transform: rotate(180deg);
}

/* CSS fallback chevron arrow for desktop menu items with children */
.main-menu-container li.menu-item-has-children>a::after {
  content: '';
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.35rem;
  margin-bottom: 0.125rem;
  transition: transform 0.2s ease;
}

.main-menu-container li.menu-item-has-children:hover>a::after,
.main-menu-container li.menu-item-has-children.open>a::after {
  transform: rotate(-135deg);
  margin-bottom: -0.125rem;
}

/* Hide fallback CSS arrow if a Lucide or SVG arrow element exists */
.main-menu-container li.menu-item-has-children>a:has(.dropdown-arrow)::after,
.main-menu-container li.menu-item-has-children>a:has(svg)::after {
  display: none !important;
}

/* Dropdowns in desktop */
.main-menu-container li.menu-item-has-children>.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 15rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  padding: 0.5rem;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 100;
}

.main-menu-container li.menu-item-has-children:hover>.sub-menu,
.main-menu-container li.menu-item-has-children.open>.sub-menu,
.main-menu-container li.menu-item-has-children:focus-within>.sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.main-menu-container .sub-menu li a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: #334155;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.main-menu-container .sub-menu li a:hover {
  background: #fff7ed;
  color: #F58220;
}

/* Mobile Menu Dynamic Styling */
.mobile-menu-container {
  list-style: none;
}

.mobile-menu-container>li {
  border-bottom: 1px solid #f1f5f9;
}

.mobile-menu-container>li>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  color: #122B55;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-menu-container>li>a:hover {
  background: #fff7ed;
  color: #F58220;
}

.mobile-menu-container li.menu-item-has-children>a .dropdown-arrow,
.mobile-menu-container li.menu-item-has-children>a svg {
  transition: transform 0.2s ease;
}

.mobile-menu-container li.menu-item-has-children.open>a .dropdown-arrow,
.mobile-menu-container li.menu-item-has-children.open>a svg {
  transform: rotate(180deg);
}

/* CSS fallback chevron arrow for mobile menu items with children */
.mobile-menu-container li.menu-item-has-children>a::after {
  content: '';
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.mobile-menu-container li.menu-item-has-children.open>a::after {
  transform: rotate(-135deg);
}

.mobile-menu-container li.menu-item-has-children>a:has(.dropdown-arrow)::after,
.mobile-menu-container li.menu-item-has-children>a:has(svg)::after {
  display: none !important;
}

.mobile-menu-container li.menu-item-has-children>.sub-menu {
  display: none;
  list-style: none;
  padding-left: 1rem;
  margin: 0;
  background: #f8fafc;
  border-left: 2px solid #e2e8f0;
}

.mobile-menu-container li.menu-item-has-children.open>.sub-menu {
  display: block;
}

.mobile-menu-container .sub-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-menu-container .sub-menu li a:hover {
  color: #F58220;
}

/* Footer Navigation Menu Styling */
.footer-links-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-menu li a {
  transition: color 0.2s ease;
}

.footer-links-menu li a:hover {
  color: #F58220 !important;
}

/* Hero Swiper Custom Controls (Pill & Circular Buttons) */
.hero-swiper-pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  position: static !important;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  opacity: 0.8 !important;
  border-radius: 9999px !important;
  margin: 0 4px !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  width: 32px !important;
  height: 10px !important;
  background-color: #F58220 !important;
  opacity: 1 !important;
  border-radius: 9999px !important;
}

/* WordPress Rich Text & Region About Content Typography */
.region-about-content,
.prose {
  color: #334155;
  line-height: 1.8;
}

.region-about-content p,
.prose p {
  margin-top: 0;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.region-about-content p:last-child,
.prose p:last-child {
  margin-bottom: 0;
}

.region-about-content h2,
.prose h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #122B55;
  margin-top: 2rem;
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.region-about-content h3,
.prose h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #122B55;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.region-about-content h4,
.prose h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #122B55;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.region-about-content ul,
.prose ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.region-about-content ol,
.prose ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.region-about-content li,
.prose li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.region-about-content blockquote,
.prose blockquote {
  border-left: 4px solid #F58220;
  padding-left: 1.25rem;
  font-style: italic;
  margin: 1.5rem 0;
  color: #475569;
}

.region-about-content strong,
.prose strong {
  font-weight: 700;
  color: #0f172a;
}

.region-about-content a,
.prose a {
  color: #F58220;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.region-about-content a:hover,
.prose a:hover {
  color: #d96b11;
}

.region-about-content img,
.prose img {
  border-radius: 0.75rem;
  margin: 1.5rem 0;
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
}