 :root {
    --max-width: 1440px;
    --desktop-padding: 60px;
    --mobile-padding: 24px;
    --primary-color: #24A59E;
    --text-light: #6F7789;
    --text-dark: #242424;
    --text-lighter: #6F778980;
    --border-light: #6F77894D;
    --accent-red: #F36D72;
    --overlay: #00000091;
    --border-radius-desktop: 42px;
    --border-radius-mobile: 35px;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: 'HelveticaNeueCyr', sans-serif;
    background: #fff;
    color: var(--text-light);
    overflow-x: hidden;
  }

  /* Hero-секция: фиксирована, на весь экран */
  .hero-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('https://tour2turkey.com/wp-content/uploads/2025/12/startingpicture.jpg') center/cover no-repeat;
    z-index: -1;
  }

  /* Секция контента: накладывается на hero */
  .content-overlay {
    position: relative;
    width: 100%;
    margin-top: 30%;
    padding-bottom: 80px;
    background-color: #fff;
    z-index: 1;
    border-radius: var(--border-radius-desktop) var(--border-radius-desktop) 0 0;
    overflow: hidden;
  }

  /* Ограничение ширины контента */
  .content-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--desktop-padding);
    padding-right: var(--desktop-padding);
    overflow: hidden;
  }

  @media (max-width: 991.98px) {
    .content-wrapper {
      padding-left: var(--mobile-padding);
      padding-right: var(--mobile-padding);
    }
  }

  /* Навигация */
  .nav-section {
    margin-top: 66px;
    margin-bottom: 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
  }

  .nav-link {
    font-family: 'HelveticaNeueCyr', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: var(--text-light);
    padding: 0 20px 0 0;
    text-decoration: none;
    position: relative;
  }

  .nav-link:first-child::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-red);
    border-radius: 2px;
  }

  /* Название и цена */
  .title-main {
    font-family: 'HelveticaNeueCyr', sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 114%;
    letter-spacing: -0.02rem;
    max-width: 370px;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-align: start;
  }

  .price-value {
    font-family: 'HelveticaNeueCyr', sans-serif;
    font-weight: 700;
    font-size: 62.54px;
    line-height: 120%;
    color: var(--primary-color);
    display: inline-block;
    vertical-align: middle;
  }

  .price-suffix {
    font-family: 'HelveticaNeueCyr', sans-serif;
    font-weight: 550;
    font-size: 25.66px;
    line-height: 100%;
    color: var(--text-lighter);
    margin-left: 8px;
    vertical-align: middle;
  }

  /* Кнопка */
  .action-button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-family: 'HelveticaNeueCyr', sans-serif;
    font-weight: 550;
    font-size: 18px;
    text-decoration: none;
    display: inline-block;
    margin: 24px 0;
  }

  /* Описание */
  .description-title {
    font-family: 'HelveticaNeueCyr', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    color: #121212;
    margin-top: 40px;
    margin-bottom: 18px;
  }

  .description-text {
    font-family: 'HelveticaNeueCyr', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-align: justify;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
  }

  .read-more-link {
    font-family: 'HelveticaNeueCyr', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--accent-red);
    text-decoration: none;
    cursor: pointer;
  }

  /* Карта и Видео */
  .map-container,
  .video-section {
    margin-top: 60px;
    margin-bottom: 80px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 408px;
    position: relative;
  }

  .video-section {
    height: 585px;
    background: url('https://tour2turkey.com/wp-content/uploads/2025/12/rectangle-66.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .video-section a,
  .video-section img {
    width: 60px;
    height: 60px;
  }

/* === Мобилка: карта и видео — min-width: 316px === */
@media (max-width: 767.98px) {
  .map-container,
  .video-section {
    width: 100% !important;
    min-width: 316px;
    height: 182px !important;
    border-radius: 23px;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden;
  }

  /* Центрируем iframe */
  .map-container iframe {
    border-radius: 23px;
  }
}
  /* Галерея */
  .gallery-heading {
    font-family: 'HelveticaNeueCyr', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    color: #121212;
    margin-top: 60px;
    margin-bottom: 24px;
  }

.gallery-preview {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  margin-bottom: 16px;
  width: 100%;
}

.gallery-item {
  position: relative;
  width: 174px;
  height: 135px;
  flex: 0 0 auto;
  overflow: hidden;
  cursor: pointer;
  border-radius: 20px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00000091;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'HelveticaNeueCyr', sans-serif;
  font-weight: 550;
  font-size: 66.37px;
  line-height: 100%;
  color: #FFFFFF;
}

@media (max-width: 991.98px) {
  .gallery-preview {
    gap: 12px;
  }
  .gallery-item {
    width: 100px;
    height: 80px;
  }
}

/* На мобилке: 3 превью */
@media (max-width: 767.98px) {
  .gallery-preview {
    gap: 12px;
  }
  .gallery-item {
    width: 100px;
    height: 80px;
  }
}

/* === Программа тура — вертикально везде === */
.tour-program-section {
  margin-top: 80px;
  margin-bottom: 60px;
}

.program-list-vertical {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.program-item-vertical {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.program-marker {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background-color: #24A59E;
  color: #FFFFFF;
  font-family: 'HelveticaNeueCyr', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.program-text {
  font-family: 'HelveticaNeueCyr', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 112%;
  letter-spacing: 0;
  color: #121212CC;
  margin-top: 8px;
}

/* Защита от переполнения на узких экранах */
.program-text {
  flex: 1;
  min-width: 0;
}

/* Опционально: немного отступов на мобилке */
@media (max-width: 767.98px) {
  .program-item-vertical {
    gap: 12px;
  }
  .program-marker {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
  .program-text {
    font-size: 20px;
    line-height: 112%;
  }
}
.titleSimelarEx {
    white-space: normal;     /* Разрешаем перенос строк */
    word-wrap: break-word;   /* Переносим длинные слова */
    overflow: hidden;        /* Скрываем переполнение */
    text-overflow: ellipsis; /* Опционально: добавить многоточие, если текст слишком длинный */
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* Ограничиваем до 2 строк */
    -webkit-box-orient: vertical;
    font-size: 12px!important;         /* Настройте под ваш дизайн */
    line-height: 1.4;
    
}



