

/* Start:/bitrix/templates/spartakiada/components/bitrix/news.list/slider_main_page/style.css?17515407882673*/
.swiper {
  width: 100%;
  height: 500px;
}
.slider-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 2;
}

.swiper-wrapper {
  display: flex;
  height: 100%;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;

    display: flex;
    align-items: center;     /* по вертикали */
    justify-content: center; /* по горизонтали */
}

.slider-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.slider-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 20px;
}

.slider-button {
    display: inline-block;
    padding: 12px 24px;
    background: #fff;
    color: #000;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}
.swiper-button-prev,
.swiper-button-next {
    color: #fff;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}
.slider-content h2 {
    font-size: 70px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}
.slider-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Адаптация слайдера для мобильных (до 768px) */
@media only screen and (max-width: 768px) {
  .swiper {
    height: 300px; /* чуть поменьше, чтобы не занимал весь экран */
  }

  .slider-inner {
    padding: 0 10px; /* внутренние отступы, чтобы контент не «прилипал» к краям */
  }

  .slider-content {
    max-width: 100%; /* чтобы занимать всю ширину слайда */
    padding: 10px;   /* поменьше отступов внутри */
  }

  .slider-content h2 {
    font-size: 2rem;  /* уменьшили заголовок */
    margin-bottom: 10px;
  }

  .slider-content p {
    font-size: 1rem;  /* уменьшили текст */
    margin-bottom: 15px;
  }

  .slider-button {
    padding: 8px 16px;  /* уменьшили кнопку */
    font-size: 0.875rem;
  }

  /* Навигационные стрелки */
  .swiper-button-prev,
  .swiper-button-next {
    transform: scale(0.75); /* уменьшаем размер стрелок */
  }

  /* Пагинация */
  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 0.5;
  }
  .swiper-pagination-bullet-active {
    opacity: 1;
  }
}


/* End */


/* Start:/bitrix/templates/spartakiada/components/bitrix/news.list/events/style.css?17515406653760*/
.header-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.header-title {
    position: relative;
    z-index: 2;
    font-size: 2.7rem; /* Slightly larger font size for the title */
    font-weight: bold;
    margin-bottom: 6px;
    margin-top: 30px;
}

.description-section {
    padding: 30px 0;
    text-align: center;
    background-color: #fff;
}

.header-description {
    font-size: 1.5rem;
    max-width: 2000px;
    margin: 0 auto;
    line-height: 1.3;
    color: #333;
}

.news-slider_video iframe {
    width: 100%;
    height: 315px; /* You can adjust the height to make the video larger */
}
.text-left {
    text-align: left;
}
/* Стили для <hr> */
.description-divider {
    border-top: 2px solid #000;
    margin: 20px 0;
}


/* Стили для увеличенного текста */
.description-strong {
    font-size: 1.5em; /* Увеличение размера шрифта */
    font-weight: bold; /* Жирное начертание */
    margin: 10px 0; /* Отступы сверху и снизу */
}
.indent {
    display: block;
    margin-bottom: 0.2px; /* Отступ снизу */
}

































.t-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.t688__row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 0;
}

.t-col {
    box-sizing: border-box;
    padding: 20px;
}

.t-col_6 {
    width: 50%;
}

.t688__img-wrapper {
    position: relative;
    display: block;
    text-decoration: none;
}

.t688__img {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 76.78%; /* 560x430 пропорция */
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: block;
}

.t688__img-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.8));
}

.t688__overlay-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    z-index: 2;
}

.t-card__uptitle {
    font-size: 14px;
    margin-bottom: 5px;
    opacity: 0.8;
}

.t-card__title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.t-descr {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.9;
}

/* Мобильная версия до 768px */
@media only screen and (max-width: 768px) {
  /* Затенение шапки остаётся, но уменьшаем отступы и размеры текста */
  .header-title {
    font-size: 1.8rem; /* меньше на мобильных */
    margin-top: 20px;
    margin-bottom: 4px;
  }
  .header-description {
    font-size: 1.2rem;
    padding: 0 15px;
    line-height: 1.4;
  }

  /* Видео в слайдере */
  .news-slider_video iframe {
    height: 200px; /* уменьшаем высоту */
  }

  /* Одноколоночный вывод карточек мероприятий */
  .t688__row {
    flex-direction: column;
    gap: 20px;
  }
  .t-col_6 {
    width: 100%; /* карточки в одну колонку */
    padding: 10px;
  }

  /* Уменьшаем отступы для описаний и разделителей */
  .description-section {
    padding: 20px 0;
  }
  .description-divider {
    margin: 15px 0;
  }
  .description-strong {
    font-size: 1.2em;
  }

  /* Контейнер сузим, чтобы не было горизонтальной прокрутки */
  .t-container {
    padding: 0 10px;
  }

  /* Исправляем небольшие отступы для .indent */
  .indent {
    margin-bottom: 4px;
  }
}

/* End */
/* /bitrix/templates/spartakiada/components/bitrix/news.list/slider_main_page/style.css?17515407882673 */
/* /bitrix/templates/spartakiada/components/bitrix/news.list/events/style.css?17515406653760 */
