

/* Start:/local/templates/remikron/components/altermax/slider.altermax/slider_remikron/style.css?17557764453646*/
/* Слайдер на главной */

.slides, .slide {
    width: 100%; /* Растягиваем на всю ширину родителя */
    padding-left: 0px;
    margin: 0 auto;
  }
  
  .flexslider .slides img {
    width: 100%;   /* Картинки растягиваются на всю ширину слайда */
    height: auto;  /* Пропорции сохраняются */
    display: block;
  }


  .flexslider,
  .flexslider .slide {
    /* width: 100%; */
    height: 380px; /* ✅ квадрат: можно задать как 1:1 со стороной или фиксированно */
    overflow: hidden;
    position: relative;
  }

.hero-slider {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 0 50px 0 0;
    margin: 0px auto;
    max-width: 100%;
  }
  
  
  .slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
  }
  

  
  .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 36px;
    z-index: 2;
    cursor: pointer;
    padding-bottom: 40px;
  }
  
  .slider-arrow.left {
    left: 10px;
  }
  
  .slider-arrow.right {
    right: 10px;
  } 

  .partner-left {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* расстояние между блоками */
  }
  
  
  .partner-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #117165;
    color: white;
    padding: 20px 50px 20px 50px;
    border-radius: 0 0 0 50px;
    margin-top: -10px;
    flex-wrap: wrap;
  }
  .partner-left {
    font-size: large;
  }

  .partner-left .second {
    font-weight: 300;
  }
  
  .partner-left {
    font-weight: bold;
    flex: 1;
  }
  
  .partner-center {
    flex: 2;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
  }
  
  .partner-right {
    flex: 1;
    text-align: right;
  }
  
  .partner-right button {
    padding: 15px 20px;
    border: 2px solid white;
    background: transparent;
    color: white;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
  }
  

  @media (max-width: 768px) {

    .hero-slider {
      height: 200px;
    }
  
    .partner-banner {
      flex-direction: column;
      gap: 10px;
      text-align: center;
    }
  
    .partner-right {
      text-align: center;
    }

    .partner-banner {
      flex-direction: column;
      gap: 14px;
      text-align: center;
      padding: 15px 20px;  /* было 20px 50px */
      border-radius: 0 0 0 30px;
    }
  
    .partner-left {
      font-size: 16px;
      font-weight: bold;
      line-height: 1.3;
    }
  
    .partner-left .second {
      font-size: 14px;
      font-weight: 400;
    }
  
    .partner-right {
      text-align: center;
    }
  
    .partner-right button {
      padding: 10px 16px;
      font-size: 14px;
      border-radius: 20px;
    }
  }
  
  /* ещё компактнее для очень маленьких экранов */
  @media (max-width: 480px) {
    .partner-banner {
      padding: 20px 15px 10px 15px;
      gap: 10px;
      border-radius: 0 0 0 20px;
    }
  
    .partner-left {
      font-size: 14px;
      line-height: 1.2;
    }
  
    .partner-left .second {
      font-size: 12px;
    }
  
    .partner-right button {
      padding: 8px 14px;
      font-size: 13px;
      border-radius: 16px;
    }
  }
  

  /* Слайдер на главной */
/* End */


/* Start:/local/templates/remikron/components/bitrix/news.list/remikron/style.css?17558712904825*/

/* Новости на главной */
.news-section_top {
display: flex;
justify-content: center;
margin-bottom: 20px;
align-items: center;
}

.news-section {
    /* padding: 10px 20px; */
    text-align: center;
    display: flex;
}

.news_section_cust {
    max-width: 100%;
    overflow: hidden;
    width:80%;
}

.about_section_cust {
    width:20%;
}

#newsSlider .read_more {
    text-align: right;
    padding-right: 10px;
    display: block;
    width: 100%;
    color: black;
}

.news-section_top {
    display: flex;
    align-items: center;
    text-align: center;
    font-weight: bold; 
    /* font-size: 20px; */
    color:grey;
    gap: 10px; 
    font-size: 14px;
    font-weight: bold;
}

.news-section_top::before,
.news-section_top::after {
    content: "";
    flex: 1;
    border-bottom: 3px solid grey; 
}
.news-slider-container {
    overflow: hidden;
    position: relative;
    max-width: 100%;
}
.news-slider {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.news-card {
    
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    margin: 0 22px 0 0;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-top-right-radius: 50px;
    height: 377px;
}

.news-card img {
    width: 100%;
    height: 180px !important;
    object-fit: cover;
}
.news-date {
    position: absolute;
    top: 150px;
    right: 10px;
    background-color: #FB0100;
    color: #fff;
    font-weight: bold;
    padding: 4px 10px;
    /*
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    */
    border-radius: 12px;
}
.news-card p {
    padding: 10px;
    height: 90px;
    overflow: hidden;
}
.news-card .title {
    display: block;
    text-align: center;
    padding: 10px 10px 10px;
    color: #117165;
    text-decoration: none;
    margin:0px;
    height: 84px;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: red;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    padding-bottom: 29px;
    width: 39px;
    height: 36px;
}
.slider-btn.prev {
    left: 0;
}
.slider-btn.next {
    right: 0;
}
.news-archive {
    /* margin-top: 20px; */
    font-size: 14px;
    text-align: end;
}
.news-archive a {
    color: #444;
    text-decoration: none;
}
@media (max-width: 768px) {
    .news-slider-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    }
    .news-slider {
    width: max-content;
    }
    .slider-btn {
    display: none;
    }
}
/* Новости на главной */


.news-card {
    position: relative; /* Чтобы стрелки позиционировались внутри карточки */
}

.news-card img {
    display: block;
}

.slider-btn {
    position: absolute;
    top: 90px; /* половина высоты картинки (180px / 2) */
    transform: translateY(-50%);
    background: red;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    width: 39px;
    height: 36px;
}

/* Если кнопки остаются снаружи карточек, подправить позицию */
.slider-btn.prev {
    left: 0;
}
.slider-btn.next {
    right: 0;
}

.slider-btn {
    top: calc(180px / 2); /* для фиксированной высоты картинки */
}


@media (max-width: 992px) {
    .news-section {
        flex-direction: column;
    }
    .about_section_cust,
    .news_section_cust {
        width: 100%;
    }
    .about_section_cust {
        margin-bottom: 20px;
    }
    .about_section_cust {
        width: 100%;
    }
    .about-section {
        padding: 20px 15px;
        text-align: center;
        padding: 20px 15px !important;
        text-align: center;
        min-width: 100%!important;
        height: max-content !important;
    }
    .about-section p {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 1300px) {

    .about-section p {
        font-size: 9px;
    }

}

@media (max-width: 768px) {

    .about-section p {
        font-size: 13px;
    }

    .news-card {
        /*width: 90% !important; /* чтобы карточка занимала почти весь экран */
        height: auto; /* пусть сама растягивается под контент */
        margin: 0 auto 15px;
    }
    .news-card img {
        height: auto !important;
        max-height: 200px;
    }
    .news-card p {
        height: auto;
        max-height: none;
    }
}

@media (max-width: 480px) {
    .news-card {
        /*width: 95% !important;*/
    }
}
/* End */
/* /local/templates/remikron/components/altermax/slider.altermax/slider_remikron/style.css?17557764453646 */
/* /local/templates/remikron/components/bitrix/news.list/remikron/style.css?17558712904825 */
