/* Kyrgyzstan Tour Page Styles */

.wallpaper {
  height: 500px;
  background-size: cover;
  background-position: center;
  margin-bottom: 60px;
}

.about h2,
.highlights h2,
.program h2,
.pricing h2 {
  font-family: "Bebas Neue", sans-serif;
}

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 30px;
}

.highlights__item {
  padding: 20px;
  border: 1px solid var(--bs-primary);
  border-radius: 10px;
}

.program__timeline {
  position: relative;
  padding-left: 0;
  border: 0;
}

.program__item {
  margin-bottom: 30px;
  position: relative;
}

.program__item:before {
  display: none;
  content: none;
}


.pricing__content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 991.98px) {
    .pricing__content {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575.98px) {
    .pricing__content {
        grid-template-columns: 1fr;
    }
}
.pricing__item {
  padding: 30px;
  border: 1px solid var(--bs-primary);
  border-radius: 10px;
  text-align: center;
}

.pricing__item .price {
  font-size: 2em;
  font-weight: bold;
  color: var(--bs-primary);
}

.content-gallery__grid {
  column-count: 3;
  column-gap: 20px;
}
.content-gallery__item {
  margin-bottom: 20px;
  break-inside: avoid;
}
.content-gallery__item a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
}
.content-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease-in-out;
}
.content-gallery__item img:hover {
  transform: scale(1.05);
}
@media (max-width: 991.98px) {
  .content-gallery__grid {
    column-count: 2;
  }
}
@media (max-width: 575.98px) {
  .content-gallery__grid {
    column-count: 1;
  }
}

/* --- Mobile fixes: prevent overflow of price/adjacent blocks and hero --- */
.container,
.about__content,
.highlights__grid,
.highlights__item,
.program__timeline,
.program__item,
.pricing__content,
.pricing__item {
  min-width: 0;
}

.pricing__item,
.highlights__item,
.program__item {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pricing__item .price {
  overflow-wrap: anywhere;
}

/* Hero: inline font-size:80px overflows on small screens, so scale it down.
   Desktop keeps the original 80px from the inline style. */
@media (max-width: 991.98px) {
  .wallpaper {
    height: 360px;
    margin-bottom: 40px;
  }
  .wallpaper h1 {
    font-size: 48px !important;
    line-height: 1.1;
  }
}

@media (max-width: 575.98px) {
  .wallpaper {
    height: 260px;
    margin-bottom: 32px;
  }
  .wallpaper h1 {
    font-size: 32px !important;
    line-height: 1.1;
    word-break: break-word;
  }
  .pricing__item {
    padding: 20px;
  }
  .highlights__item {
    padding: 16px;
  }
}
