

/* Start:/local/templates/main_v3/components/bitrix/news/news/style.css?17884142477699*/
/* ==========================================================================
   ХозЗаказ — Стили компонента «Новости/Статьи» (bitrix:news)
   ========================================================================== */

.badge--soft {
  position: static !important;
  top: auto !important;
  right: auto !important;
  background: #EAF8EF !important;
  color: #178235 !important;
  text-transform: none !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  height: 24px !important;
  padding: 0 10px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  line-height: 24px !important;
  letter-spacing: .02em !important;
}

.section {
  margin: 32px 0;
}
.section__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.section__head h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: #12181F;
}
.section__more {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #178235;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.section__more:hover {
  color: #1E9F42;
}

/* Изолированные классы для сетки статей */
.grid-articles {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.article-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid transparent;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
  min-height: 168px;
  text-decoration: none !important;
  color: #12181F;
  box-shadow: 0 1px 2px rgba(18,24,31,.06), 0 1px 3px rgba(18,24,31,.04);
}
.article-tile:hover .article-tile__title {
  color: var(--green-main);
}

.article-tile__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #F4F6F9;
  margin-bottom: 4px;
}
.article-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.article-tile:hover .article-tile__media img {
  transform: scale(1.04);
}

.article-tile__ph {
  width: 100%;
  height: 140px;
  border-radius: 10px;
  background: #EAF8EF;
  display: grid;
  place-items: center;
  color: #22B24B;
  margin-bottom: 4px;
}

.article-tile__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #12181F;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Ограничение текста до 4 строк с троеточием */
.article-tile__text {
  font-size: 12px;
  color: #7A8694;
  line-height: 1.4;
  margin-top: auto;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- СТИЛИЗАЦИЯ БОКОВОГО БЛОКА (SIDEBAR) ---------- */
.page-content.row {
  display: flex;
  align-items: flex-start;
}

aside.sidebar.left-sidebar {
  flex: 0 0 260px;
  max-width: 260px;
  margin-right: 36px !important;
  position: sticky !important;
  top: 100px !important;
  align-self: flex-start !important;
  z-index: 20;
}

.sticky-sidebar-wrapper,
.sticky-sidebar {
  position: sticky !important;
  top: 100px !important;
}

.main-content {
  flex: 1;
  min-width: 0;
}

aside.sidebar .widget,
.sticky-sidebar .widget {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 10px !important;
  border: 1px solid #E6EAF0 !important;
  box-shadow: 0 1px 3px rgba(18,24,31,.04) !important;
  margin-bottom: 24px !important;
}

aside.sidebar ul.widget-body,
aside.sidebar ul.filter-items,
aside.sidebar ul.search-ul,
.sticky-sidebar ul.widget-body,
.sticky-sidebar ul.filter-items,
.sticky-sidebar ul.search-ul {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

aside.sidebar ul.widget-body li,
aside.sidebar ul.filter-items li,
aside.sidebar ul.search-ul li,
.sticky-sidebar ul.widget-body li,
.sticky-sidebar ul.filter-items li,
.sticky-sidebar ul.search-ul li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

aside.sidebar ul.widget-body li::before,
aside.sidebar ul.widget-body li::after,
aside.sidebar ul.filter-items li::before,
aside.sidebar ul.filter-items li::after,
.sticky-sidebar ul.widget-body li::before,
.sticky-sidebar ul.filter-items li::before {
  display: none !important;
  content: none !important;
}

aside.sidebar ul.widget-body li a,
aside.sidebar ul.filter-items li a,
aside.sidebar ul.search-ul li a,
.sticky-sidebar ul.widget-body li a,
.sticky-sidebar ul.filter-items li a,
.sticky-sidebar ul.search-ul li a {
  display: block !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #3D4753 !important;
  text-decoration: none !important;
  line-height: 1.35 !important;
  border: none !important;
  outline: none !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
}

aside.sidebar ul.widget-body li a:hover,
aside.sidebar ul.filter-items li a:hover,
aside.sidebar ul.search-ul li a:hover,
.sticky-sidebar ul.widget-body li a:hover,
.sticky-sidebar ul.filter-items li a:hover,
.sticky-sidebar ul.search-ul li a:hover {
  background-color: #F4F6F9 !important;
  color: #178235 !important;
}

aside.sidebar ul.widget-body li.active a,
aside.sidebar ul.widget-body li a.selected,
aside.sidebar ul.filter-items li.active a,
aside.sidebar ul.filter-items li a.selected,
.sticky-sidebar ul.widget-body li.active a,
.sticky-sidebar ul.widget-body li a.selected,
.sticky-sidebar ul.filter-items li.active a,
.sticky-sidebar ul.filter-items li a.selected {
  background-color: #EAF8EF !important;
  color: #178235 !important;
  font-weight: 700 !important;
}

/* ---------- ОФОРМЛЕНИЕ ПУСТОГО СОСТОЯНИЯ (EMPTY STATE) ---------- */
.empty-state {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  border: 1px solid #E6EAF0;
  box-shadow: 0 1px 3px rgba(18,24,31,.04);
  max-width: 480px;
  margin: 20px auto 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.empty-state__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #EAF8EF;
  color: #22B24B;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.empty-state__title {
  font-size: 20px;
  font-weight: 700;
  color: #12181F;
  margin: 0 0 8px 0;
}

.empty-state__desc {
  font-size: 14px;
  color: #7A8694;
  line-height: 1.5;
  margin: 0 0 20px 0;
  max-width: 380px;
}

.btn--primary {
  background: #22B24B;
  color: #ffffff !important;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: background-color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.btn--primary:hover {
  background: #178235;
  color: #ffffff !important;
}

@media (max-width: 720px) {
  .grid-articles {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
  }
  .section__head h2 {
    font-size: 20px;
  }
}

/* End */


/* Start:/local/templates/main_v3/components/bitrix/news.detail/news/style.css?17889449876452*/
/* ==========================================================================
   ХозЗаказ — Оформление детальной страницы статьи и бокового меню
   ========================================================================== */

/* ---------- 1. КОНТЕЙНЕР СТАТЬИ ---------- */


.article-meta {
  margin-bottom: 12px !important;
}

.article-title {
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #12181F !important;
  margin: 0 0 16px 0 !important;
  letter-spacing: -0.01em !important;
}

.article-hero-img {
  margin: 0 0 24px 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  max-height: 570px !important;
  background: #F4F6F9 !important;
}
.article-hero-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* ---------- 2. ОФОРМЛЕНИЕ ТЕКСТА СТАТЬИ И ПЕРЕБИВАНИЕ INLINE-СТИЛЕЙ (GOOGLE DOCS / WYSIWYG) ---------- */
.article-body {
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: #2D3748 !important;
}

/* Сбрасываем форматирование inline-тегов span из Google Docs */
.article-body span {
  font-size: inherit !important;
  font-family: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
  background-color: transparent !important;
}

.article-body p {
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: #2D3748 !important;
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
}

.article-body h1 {
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #12181F !important;
  margin: 28px 0 14px 0 !important;
}

.article-body h2 {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #12181F !important;
  margin: 24px 0 12px 0 !important;
  padding-bottom: 6px !important;
  border-bottom: 1px solid #E6EAF0 !important;
}

.article-body h3 {
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #12181F !important;
  margin: 20px 0 10px 0 !important;
}

.article-body h4 {
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  color: #12181F !important;
  margin: 16px 0 8px 0 !important;
}

/* Оформление ссылок внутри статьи */
.article-body a,
.article-body a span {
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #178235 !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  transition: color 0.15s ease, text-decoration-color 0.15s ease !important;
}

.article-body a:hover,
.article-body a:hover span {
  color: #1E9F42 !important;
  text-decoration-color: #1E9F42 !important;
}

/* Списки */
.article-body ul {
  margin: 12px 0 16px 0 !important;
  padding-left: 24px !important;
  list-style: disc !important;
}

.article-body ol {
  margin: 12px 0 16px 0 !important;
  padding-left: 24px !important;
  list-style: decimal !important;
}

.article-body li,
.article-body li span {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #2D3748 !important;
  margin-bottom: 6px !important;
}

.article-body ul li::marker {
  color: #22B24B !important;
}

.article-body ol li::marker {
  color: #178235 !important;
  font-weight: 700 !important;
}

/* Изображения внутри статьи */
.article-body img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 10px !important;
  margin: 16px auto 8px auto !important;
  display: block !important;
  box-shadow: 0 2px 8px rgba(18,24,31,.08) !important;
}

/* ---------- 3. ТАБЛИЦА ХАРАКТЕРИСТИК ---------- */
/* Обёртка обязательна. Таблица сравнения на четыре колонки шире телефона,
   и прокручиваться должна ОНА, а не страница: горизонтальная прокрутка body
   ломает вёрстку целиком. Отсюда же min-width у самой таблицы — ниже него
   колонки схлопываются в нечитаемую кашу, и лучше честная прокрутка. */
.article-body .article-table {
  overflow-x: auto !important;
  margin: 20px 0 !important;
  border: 1px solid #E6EAF0 !important;
  border-radius: 12px !important;
  -webkit-overflow-scrolling: touch !important;
}

.article-body table {
  width: 100% !important;
  min-width: 560px !important;
  border-collapse: collapse !important;
  font-size: 14px !important;
}

.article-body thead th {
  background: #EAF8EF !important;
  color: #12181F !important;
  font-weight: 700 !important;
  text-align: center !important;
  border-bottom: 1px solid #D6E7DC !important;
}

.article-body th,
.article-body td {
  padding: 11px 14px !important;
  border-bottom: 1px solid #EEF1F5 !important;
  vertical-align: middle !important;
}

/* Первая колонка — название параметра: заголовок строки, а не данные,
   поэтому в разметке это th, и выравнивание у него своё. */
.article-body tbody th {
  text-align: left !important;
  font-weight: 600 !important;
  color: #12181F !important;
  background: #FAFBFC !important;
}

.article-body thead th:first-child {
  text-align: left !important;
}

.article-body tbody td {
  text-align: center !important;
  color: #2D3748 !important;
}

.article-body tbody tr:last-child th,
.article-body tbody tr:last-child td {
  border-bottom: 0 !important;
}

/* Подпись под таблицей. Два класса против одного у `.article-body p` —
   иначе выиграет размер шрифта абзаца, он там с !important. */
.article-body .article-table__note {
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #7A8694 !important;
  margin: -8px 0 20px 0 !important;
}

@media (max-width: 720px) {

  .article-title {
    font-size: 20px !important;
  }

  .article-body table {
    font-size: 13px !important;
  }

  .article-body th,
  .article-body td {
    padding: 9px 11px !important;
  }
}

/* End */
/* /local/templates/main_v3/components/bitrix/news/news/style.css?17884142477699 */
/* /local/templates/main_v3/components/bitrix/news.detail/news/style.css?17889449876452 */
