

/* Start:/local/templates/robu/components/bitrix/news/catalog/style.css?17814503152208*/
/* ==========================
   SEO табы в каталоге
========================== */

.catalog-products .catalog-tabs-block {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  margin: 0 0 22px;
  box-sizing: border-box;
  justify-self: stretch;
}

.catalog-products .application-tabs,
.catalog-products .diameter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  margin: 0;
  box-sizing: border-box;
}

.catalog-products .application-tabs {
  margin-bottom: 15px;
}

.catalog-products .application-tab,
.catalog-products .diameter-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 32px;
  padding: 0 14px;

  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 6px;

  color: #222;
  text-decoration: none;

  font-size: 13px;
  line-height: 1;
  white-space: nowrap;

  transition: .2s;
}

.catalog-products .application-tab {
  font-weight: 600;
}

.catalog-products .diameter-tab {
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-products .application-tab:hover,
.catalog-products .diameter-tab:hover {
  color: #ff3333;
}

/* 1200 и ниже — табы не должны расширять сетку */
@media (max-width: 1200px) {
  .catalog-products .application-tabs,
  .catalog-products .diameter-tabs {
    
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .catalog-products .application-tabs::-webkit-scrollbar,
  .catalog-products .diameter-tabs::-webkit-scrollbar {
    display: none;
  }

  .catalog-products .application-tab,
  .catalog-products .diameter-tab {
    flex: 0 0 auto;
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }
}

/* мобильная версия */
@media (max-width: 768px) {
  .catalog-products .catalog-tabs-block {
    margin-bottom: 16px;
  }

  .catalog-products .application-tab,
  .catalog-products .diameter-tab {
    height: 28px;
    font-size: 12px;
    padding: 0 9px;
  }
}


/* End */


/* Start:/local/templates/robu/components/bitrix/news/catalog/bitrix/catalog.section.list/.default/style.css?17636635812102*/
.catalog {
  padding: 60px 0;
  background: #f9f9f9;
}

/* Сетка */
.catalog-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  box-sizing: border-box;
}

/* Карточка */
.catalog-item {
  background: #fff;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 280px;
  cursor: pointer;
  transition: 0.2s ease;
}

.catalog-item:hover {
  color: #e30613;
}

.catalog-item-title {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  margin-bottom: 15px;
}

/* Контейнер со списком — освобождаем место под картинку */
.catalog-content {
  max-width: calc(100% - 160px);
}

/* Список */
.catalog-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  max-width: 270px; /* можно менять */
}

.catalog-list li {
  margin-bottom: 2px;
}

/* Ссылки списка */
.catalog-list a {
  font-size: clamp(16px, 1.5vw, 18px);
  color: #333;
  text-decoration: none;
  line-height: 1.25;
  transition: color 0.2s;
  line-height: 1.2;      /* плотный перенос */
  display: inline-block;
}

.catalog-list a:hover {
  color: #e30613;
}

/* Картинка справа снизу */
.catalog-item img {
  max-width: 130px;
  height: auto;
  position: absolute;
  right: 20px;
  bottom: 20px;
  pointer-events: none;
}

/* =========================================
   Адаптивность
   ========================================= */

/* Планшеты */
@media (max-width: 1199px) {
  .catalog-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-content {
    max-width: calc(100% - 120px);
  }

  .catalog-item img {
    max-width: 100px;
  }
}

/* Мобилки */
@media (max-width: 767px) {
  .catalog-container {
    grid-template-columns: 1fr;
  }

  .catalog-content {
    max-width: calc(100% - 100px);
  }

  .catalog-item img {
    max-width: 110px;
    right: 10px;
    bottom: 10px;
  }
}
/* End */


/* Start:/local/templates/robu/components/bitrix/news.list/main_news/style.css?17642279222894*/


/* Общий заголовок */
.section-title {
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 500;
    color: #000;
    text-decoration: none; /* убираем подчеркивание */
}

.section-title:hover {
    color: #e53325; /* подсветка заголовка при наведении */
}

.news {
    padding: 0 0 50px;
}

.news__header {
    display: flex;
    align-items: center;
    gap: 10px; 
    padding: 30px 15px;
}

.news__icon {
    width: 20px; 
    height: auto;
}

.news-row {
    display: flex;
    /*height: 260px;*/
    gap: 30px;
}

.news__colum {
    flex: 1;
}

.news__item {
    display: block;
    height: 100%;
    text-decoration: none;
    padding: 15px;
    color: inherit;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.news__item:hover {
   /* box-shadow: 0 6px 20px rgba(0,0,0,0.1);*/
    /*transform: translateY(-4px);*/
    color: #e53325;
}

.news__item-title {
    font-size: 23px;
    font-weight: 500;
    line-height: 1.1;
    padding: 0 0 20px;
      
}

.news__item-body {
    font-size: 21px;
    color: #979797;
    font-weight: 400;
    line-height: 1.2;
      text-align: justify;
}
.news__link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #000; /* базовый цвет текста */
  
}

.news__link:hover {
    color: #e53325; /* краснеет весь текст внутри ссылки */
}

.news__link .section-title {
    color: inherit; /* наследует цвет ссылки */
    
}


/* иконка тоже реагирует на hover */
.news__link:hover .news__icon {
    filter: brightness(0) saturate(100%) invert(28%) sepia(94%) saturate(4843%) hue-rotate(356deg) brightness(97%) contrast(110%);
}

/* 📏 1200px → новости чуть компактнее */
@media (max-width: 1200px) {
    .news-row {
        gap: 20px;
        height: auto; /* 🔥 позволяем карточкам растягиваться */
    }

    .news__item-title {
        font-size: 20px;
    }

    .news__item-body {
        font-size: 18px;
    }
}

/* 📏 992px → перестраиваем в 2 колонки */
@media (max-width: 992px) {
    .news-row {
        flex-wrap: wrap; /* перенос карточек */
        height: auto;
    }

    .news__colum {
        flex: 0 0 48%; /* по 2 в ряд */
    }

    .news__item {
        height: auto; /* 🔥 убираем жёсткую высоту */
    }
}

/* 📱 768px → всё в одну колонку */
@media (max-width: 768px) {
    .news-row {
        flex-direction: column;
        gap: 20px;
    }

    .news__colum {
        flex: 1 1 100%; /* одна колонка */
        width: 100%;
    }

    .news__item-title {
        font-size: 18px;
    }

    .news__item-body {
        font-size: 16px;
    }
}


/* End */
/* /local/templates/robu/components/bitrix/news/catalog/style.css?17814503152208 */
/* /local/templates/robu/components/bitrix/news/catalog/bitrix/catalog.section.list/.default/style.css?17636635812102 */
/* /local/templates/robu/components/bitrix/news.list/main_news/style.css?17642279222894 */
