

/* Start:/bitrix/templates/.default/components/bitrix/news/news/bitrix/news.list/.default/style.css?17507827262071*/
.news-list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	padding-left: 0;
	margin: 0 -15px -50px -15px;
	list-style: none;
}
.news-list__item {
	-webkit-box-flex: 0;
	    -ms-flex: 0 0 33.33%;
	        flex: 0 0 33.33%;
	width: 33.33%;
	min-width: 33.33%;
	max-width: 33.33%;
	padding: 0 15px;
	margin-bottom: 50px;
}
.news-list__pict-wrap {
	display: block;
	padding-top: 75%;
	margin-bottom: 24px;
	position: relative;
	overflow: hidden;
}
.news-list__pict-wrap img {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	-o-object-fit: cover;
	   object-fit: cover;
	-o-object-position: center;
	   object-position: center;
	-webkit-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}
a.news-list__pict-wrap:hover img {
	-webkit-transform: scale(1.1);
	    -ms-transform: scale(1.1);
	        transform: scale(1.1);
}
.news-list__date {
	margin-bottom: 20px;
	color: #757575;
}
.news-list h2 {
	font-size: 24px;
	line-height: 28px;
}

@media (max-width: 991px) {
	.news-list__item {
		-webkit-box-flex: 0;
		    -ms-flex: 0 0 50%;
		        flex: 0 0 50%;
		width: 50%;
		min-width: 50%;
		max-width: 50%;
		padding: 0 15px;
	}
}

@media (max-width: 575px) {
	.news-list {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}
	.news-list__item {
		-webkit-box-flex: 1;
		    -ms-flex: 1 1 auto;
		        flex: 1 1 auto;
		width: auto;
		min-width: auto;
		max-width: none;
		padding: 0 15px;
	}
}

.user_counter{
	display: flex;
	align-items: center;
	gap: 10px;
	color: #757575;
}
.user_counter:before{
	content: '';
	width: 20px;
	height: 15px;
	background: url("/bitrix/templates/.default/components/bitrix/news/news/bitrix/news.list/.default/./eye.svg")center/cover no-repeat;
}
.news-list__date{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
/* End */


/* Start:/local/assets/gerat-news/gnews.css?179467911418111*/
/* ============================================================
   Gerat — раздел «Новости» (/news/), версия 2
   Подключается в конце news.php и detail.php (после стилей карточек),
   поэтому перекрывает их без !important. Файл: /local/assets/gerat-news/gnews.css
   ============================================================ */

:root{
  --gn-red:#B90000; --gn-red-dark:#A30100; --gn-text:#000; --gn-muted:#404040;
  --gn-date:#757575; --gn-line:#E2E2E2; --gn-panel:#F5F5F5;
}

/* ---------- 1. Заголовок раздела + кнопка «Подписаться» ---------- */
.gn-head{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px 24px; margin-bottom:20px; }
.gn-head h1.title{ margin:0; }
.gn-subscribe-btn{
  display:inline-flex; align-items:center; gap:10px; min-height:44px; padding:0 22px;
  border:0; border-radius:22px; background:var(--gn-red); color:#fff;
  font:inherit; font-size:15px; font-weight:600; cursor:pointer; white-space:nowrap;
}
.gn-subscribe-btn:hover{ background:var(--gn-red-dark); color:#fff; }
.gn-subscribe-btn svg{ width:18px; height:18px; flex:none; }

/* ---------- 2. Рубрики ---------- */
.gn-rubrics{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 32px; padding:0; list-style:none; }
.gn-rubrics a{
  display:inline-block; padding:9px 18px; border:1px solid var(--gn-line); border-radius:20px;
  font-size:14px; line-height:1.4; font-weight:500; color:var(--gn-text); text-decoration:none; background:#fff;
}
.gn-rubrics a:hover{ border-color:var(--gn-red); color:var(--gn-red); }
.gn-rubrics a.is-active{ background:var(--gn-red); border-color:var(--gn-red); color:#fff; }
.gn-rubric{ font-weight:600; color:var(--gn-red); margin-right:12px; }

/* ---------- 3. Список новостей ---------- */
.news-list{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:44px 30px;
  margin:0 0 48px; padding:0; list-style:none;
}
.news-list__item{
  width:auto; min-width:0; max-width:none; flex:none; padding:0; margin:0; display:block;
  color:var(--gn-muted); font-size:15px; line-height:1.55;
}
.news-list__pict-wrap{
  padding-top:0; aspect-ratio:3 / 2; margin-bottom:16px; border-radius:14px; background:var(--gn-panel);
}
.news-list__pict-wrap img{ transition:transform .4s ease; }
a.news-list__pict-wrap:hover img{ transform:scale(1.04); }
.news-list__date{ margin-bottom:8px; font-size:14px; color:var(--gn-date); justify-content:flex-start; align-items:center; gap:16px; }
.news-list .user_counter{ font-size:14px; gap:6px; }
.news-list .user_counter:before{ width:16px; height:12px; opacity:.7; }
.news-list h2{ margin:0 0 8px; font-size:19px; line-height:1.35; font-weight:700; }
.news-list__title-wrap{ color:var(--gn-text); text-decoration:none; }
.news-list__title-wrap:hover{ color:var(--gn-red); }

/* Первая новость — на всю ширину; окно фото уменьшено до 40 %, чтобы не «мылились» исходники */
.news-list__item:first-child{
  grid-column:1 / -1; display:flow-root; font-size:16px;
  padding-bottom:44px; border-bottom:1px solid var(--gn-line);
}
.news-list__item:first-child .news-list__pict-wrap{ float:left; width:40%; max-width:480px; margin:0 40px 0 0; }
.news-list__item:first-child .news-list__date{ padding-top:16px; }
.news-list__item:first-child h2{ display:flow-root; font-size:28px; line-height:1.25; margin-bottom:14px; }
.news-list__item:first-child h2::after{ content:""; display:block; width:64px; height:3px; margin-top:14px; background:var(--gn-red); }

/* Постраничная навигация */
.news-list ~ font.text{ display:flex; flex-wrap:wrap; gap:8px; font-size:0; line-height:0; margin:0 0 24px; }
.news-list ~ font.text:first-of-type{ display:none; }
.news-list ~ font.text a,
.news-list ~ font.text b{
  display:inline-block; min-width:40px; padding:9px 14px; border:1px solid var(--gn-line); border-radius:20px;
  font-size:14px; line-height:1.4; font-weight:500; text-align:center; color:var(--gn-text); text-decoration:none; background:#fff;
}
.news-list ~ font.text a:hover{ border-color:var(--gn-red); color:var(--gn-red); }
.news-list ~ font.text b{ background:var(--gn-red); border-color:var(--gn-red); color:#fff; }

/* ---------- 4. Окно подписки ---------- */
.gn-modal{ border:0; padding:0; border-radius:14px; width:min(440px, calc(100% - 32px)); box-shadow:0 20px 60px rgba(0,0,0,.25); }
.gn-modal::backdrop{ background:rgba(0,0,0,.45); }
.gn-modal__body{ position:relative; padding:32px; font-size:15px; line-height:1.5; color:var(--gn-muted); }
.gn-modal h3{ margin:0 0 8px; font-size:22px; line-height:1.3; color:var(--gn-text); }
.gn-modal p{ margin:0 0 20px; }
.gn-modal label{ display:block; }
.gn-modal input[type=email]{
  display:block; width:100%; box-sizing:border-box; min-height:48px; padding:0 16px; margin:6px 0 14px;
  border:1px solid #C9C9C9; border-radius:10px; font:inherit; font-size:16px; color:var(--gn-text); background:#fff;
}
.gn-modal input[type=email]:focus{ outline:2px solid var(--gn-red); outline-offset:1px; border-color:var(--gn-red); }
.gn-modal .gn-consent{ display:flex; gap:10px; align-items:flex-start; font-size:13px; margin-bottom:20px; }
.gn-modal .gn-consent input{ margin-top:3px; accent-color:var(--gn-red); }
.gn-modal .gn-consent a{ color:var(--gn-red); }
.gn-modal .gn-subscribe-btn{ width:100%; justify-content:center; }
.gn-modal__close{
  position:absolute; top:8px; right:8px; width:44px; height:44px; border:0; background:none;
  font-size:26px; line-height:1; color:var(--gn-date); cursor:pointer;
}
.gn-modal__close:hover{ color:var(--gn-text); }
.gn-modal .gn-msg{ margin:14px 0 0; font-size:14px; }
.gn-modal .gn-msg.is-error{ color:var(--gn-red); }

/* ---------- 5. Страница новости ---------- */
/* Заголовок — сверху; лента справа начинается на уровне даты и фото статьи */
.row:has(> [class*="col-"] > .news-detail){
  display:grid; grid-template-columns:minmax(0,1fr) clamp(220px, 24%, 280px); column-gap:64px;
  margin-left:0; margin-right:0;
}
.row:has(> [class*="col-"] > .news-detail) > [class*="col-"]:has(> .news-detail){ display:contents; }
.row:has(> [class*="col-"] > .news-detail) h1.title{ grid-column:1; grid-row:1; margin-bottom:12px; }
.row:has(> [class*="col-"] > .news-detail) .news-detail{ grid-column:1; grid-row:2; min-width:0; }
.row:has(> [class*="col-"] > .news-detail) > [class*="col-"]:has(> .news){
  grid-column:2; grid-row:2; width:auto; max-width:none; flex:none; padding:0; min-width:0;
}
.news-detail__date{ margin-bottom:16px; font-size:14px; }
.news-detail img[itemprop="contentUrl"]{ width:auto; max-width:100%; border-radius:14px; margin:0 0 30px; }

/* Лента «Другие новости»: подпись на уровне даты, первое фото — на уровне фото статьи */
.news::before{
  content:"Другие новости"; display:block; margin-bottom:16px;
  font-size:14px; line-height:1.5; font-weight:600; color:var(--gn-text);
}
.news .news__list{ margin:0; }
.news .news__item{ margin-bottom:28px; font-size:14px; line-height:1.5; color:var(--gn-muted); }
.news .news__item:nth-child(n+5){ display:none; }
.news .news__pict-wrap{ padding-top:66.66%; margin-bottom:12px; border-radius:14px; background:var(--gn-panel); }
.news .news__date{ margin-bottom:6px; font-size:13px; }
.news h2{ margin:0 0 6px; font-size:16px; line-height:1.35; font-weight:700; }
.news .news__title-wrap{ color:var(--gn-text); text-decoration:none; }
.news .news__title-wrap:hover{ color:var(--gn-red); }

/* ---------- Адаптив ---------- */
@media (max-width:991px){
  .news-list{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .news-list__item{ width:auto; min-width:0; max-width:none; padding:0; }
  .row:has(> [class*="col-"] > .news-detail){ column-gap:32px; }
}
@media (max-width:767px){
  .news-list__item:first-child .news-list__pict-wrap{ float:none; width:auto; max-width:none; margin:0 0 16px; }
  .news-list__item:first-child .news-list__date{ padding-top:0; }
  .news-list__item:first-child h2{ font-size:22px; }
  .row:has(> [class*="col-"] > .news-detail){ display:block; }
  .row:has(> [class*="col-"] > .news-detail) > [class*="col-"]:has(> .news){ margin-top:24px; }
  .news .news__list{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 16px; }
}
@media (max-width:575px){
  .news-list{ grid-template-columns:1fr; gap:36px; }
  .news-list__item{ padding:0; }
  .gn-head{ align-items:flex-start; }
}

/* ---------- Дополнения при установке (телефон) ---------- */
/* Рубрики на телефоне — одной строкой с прокруткой, без переноса в три ряда */
@media (max-width:575px){
  .gn-rubrics{ flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; margin-bottom:24px; padding-bottom:2px; }
  .gn-rubrics::-webkit-scrollbar{ display:none; }
  .gn-rubrics a{ white-space:nowrap; flex:none; }
}

/* ============================================================
   Шаг 2: страница новости (чтение) + подписка
   ============================================================ */
/* Заголовок статьи — современный, без капса */
h1.title:has(+ .news-detail){
  text-transform:none; letter-spacing:0; font-weight:700;
  font-size:clamp(24px, 2.6vw, 34px); line-height:1.22; margin:8px 0 12px; color:var(--gn-text);
}
/* Текст статьи: крупнее, воздух между строками, комфортная ширина строки */
.news-detail{ font-size:17px; line-height:1.7; color:#222; }
.news-detail p{ margin:0 0 1.1em; font-size:inherit; line-height:inherit; }
.news-detail p:empty{ display:none; }
.news-detail h2, .news-detail h3, .news-detail h4{ color:var(--gn-text); font-weight:700; line-height:1.3; margin:1.6em 0 .6em; text-transform:none; }
.news-detail h2{ font-size:24px; } .news-detail h3{ font-size:20px; } .news-detail h4{ font-size:18px; }
.news-detail ul, .news-detail ol{ margin:0 0 1.1em; padding-left:1.3em; }
.news-detail li{ margin-bottom:.4em; }
.news-detail a{ color:var(--gn-red); text-decoration:underline; text-underline-offset:3px; }
.news-detail a:hover{ color:var(--gn-red-dark); }
.news-detail b, .news-detail strong{ color:var(--gn-text); }
.news-detail table{ width:100%; border-collapse:collapse; margin:0 0 1.2em; font-size:15px; }
.news-detail td, .news-detail th{ border:1px solid var(--gn-line); padding:8px 12px; }
.news-detail iframe, .news-detail video{ display:block; max-width:100%; border:0; border-radius:14px; margin:28px 0; }

/* Главное фото: на всю колонку, ровные углы, без «вылезания» по высоте */
.news-detail img[itemprop="contentUrl"]{
  display:block; width:100%; height:auto; max-height:560px; object-fit:cover; border-radius:14px; margin:0 0 32px;
}
/* Фото внутри текста: размеры из визуального редактора больше не мельчат картинку */
.news-detail img:not([itemprop="contentUrl"]){
  display:block; width:auto !important; height:auto !important; max-width:100% !important; max-height:620px;
  margin:28px auto; border-radius:14px; background:var(--gn-panel); float:none !important;
}
.news-detail p:has(> img:only-child){ margin:0; }
/* Метка рубрики и дата */
.news-detail__date{ display:flex; align-items:center; flex-wrap:wrap; color:var(--gn-date); }

/* Блок «Подписаться» в конце статьи */
.gn-cta{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px 24px;
  margin:40px 0 8px; padding:24px 28px; border-radius:14px; background:var(--gn-panel); font-size:16px; line-height:1.5;
}
.gn-cta__text b{ display:block; font-size:19px; margin-bottom:4px; color:var(--gn-text); }
.gn-cta__text span{ color:var(--gn-muted); }
.news-detail .gn-cta a{ text-decoration:none; }

/* Кнопка подписки на телефоне — над рубриками */
.gn-head--m{ margin:0 0 14px; }
.gn-head--m .gn-subscribe-btn{ min-height:40px; padding:0 18px; font-size:14px; }

/* Окно подписки: подсказка и скрытое поле-ловушка */
.gn-modal .gn-hp{ position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden; }
.gn-modal .gn-subscribe-btn[disabled]{ opacity:.6; cursor:default; }
.gn-modal .gn-msg.is-ok{ color:#1f7a3a; font-weight:600; }

/* Мобильная версия статьи */
@media (max-width:767px){
  .news-detail{ font-size:16px; line-height:1.65; }
  .news-detail h2{ font-size:21px; } .news-detail h3{ font-size:18px; }
  .news-detail img[itemprop="contentUrl"]{ max-height:420px; margin-bottom:24px; }
  .news-detail img:not([itemprop="contentUrl"]){ max-height:480px; margin:20px auto; }
  .gn-cta{ padding:20px; margin-top:32px; }
  .gn-cta .gn-subscribe-btn{ width:100%; justify-content:center; }
  /* Шаблон сайта на телефоне дублирует заголовок раздела и «крошки» над статьёй */
  body:has(.news-detail) h1:not(.title){ display:none; }
  body:has(.news-detail) .bx-breadcrumb:not(:has(+ .row .news-detail)){ display:none; }
  .news h2{ font-size:15px; }
  .news::before{ font-size:18px; font-weight:700; margin-bottom:14px; }
}

/* ============================================================
   Шаг 3: ровные отступы под статьёй, «Все новости», телефон
   ============================================================ */
/* Последний элемент текста не добавляет лишний отступ перед блоком подписки */
.news-detail > :last-child, .news-detail p:last-of-type{ margin-bottom:0; }
.news-detail img:not([itemprop="contentUrl"]):last-child{ margin-bottom:0; }
.gn-cta{ margin:32px 0 0; }
/* «Возврат к списку» — кнопка с тем же отступом, что и между текстом и подпиской */
.row:has(.news-detail) [class*="col-"] > p:has(> a[href="/news/"]),
.row:has(.news-detail) [class*="col-"] > a[href="/news/"]{ grid-column:1; margin:32px 0 0; }
.row:has(.news-detail) [class*="col-"] > p > a[href="/news/"],
.row:has(.news-detail) [class*="col-"] > a[href="/news/"]{
  display:inline-flex; align-items:center; gap:8px; min-height:40px; padding:0 18px;
  border:1px solid var(--gn-line); border-radius:20px; background:#fff;
  font-size:14px; font-weight:500; color:var(--gn-text); text-decoration:none;
}
.row:has(.news-detail) [class*="col-"] > p > a[href="/news/"]::before,
.row:has(.news-detail) [class*="col-"] > a[href="/news/"]::before{ content:"←"; color:var(--gn-red); }
.row:has(.news-detail) [class*="col-"] > p > a[href="/news/"]:hover,
.row:has(.news-detail) [class*="col-"] > a[href="/news/"]:hover{ border-color:var(--gn-red); color:var(--gn-red); }

@media (max-width:767px){
  /* Название статьи не повторяем в «крошках» прямо над заголовком */
  body:has(.news-detail) .bx-breadcrumb-item:has(.last-item){ display:none; }
  body:has(.news-detail) .bx-breadcrumb{ margin-bottom:8px; }
  .gn-cta, .row:has(.news-detail) [class*="col-"] > p:has(> a[href="/news/"]){ margin-top:28px; }
  /* Список: ровный шаг между новостями, тонкий разделитель */
  .news-list{ gap:0; }
  .news-list__item{ padding:28px 0 !important; border-bottom:1px solid var(--gn-line); }
  .news-list__item:first-child{ padding-top:0 !important; }
  .news-list__item:last-child{ border-bottom:0; }
  .news-list h2{ margin-bottom:12px; }
  .news-list__pict-wrap{ margin-bottom:12px; }
}

/* ---------- Страница подписки /subscribe/ ---------- */
.gn-sub{ max-width:560px; margin:8px 0 56px; padding:40px; border-radius:16px; background:var(--gn-panel); font-size:16px; line-height:1.6; color:var(--gn-muted); }
.gn-sub h2{ margin:0 0 10px; font-size:26px; line-height:1.25; font-weight:700; color:var(--gn-text); text-transform:none; }
.gn-sub p{ margin:0 0 20px; }
.gn-sub b{ color:var(--gn-text); }
.gn-sub__icon{ display:flex; align-items:center; justify-content:center; width:56px; height:56px; margin-bottom:20px; border-radius:50%; background:#fff; color:var(--gn-red); }
.gn-sub__icon svg{ width:28px; height:28px; }
.gn-sub__icon--ok{ background:var(--gn-red); color:#fff; }
.gn-sub__actions{ display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; margin:0 0 8px; }
.gn-sub .gn-subscribe-btn{ text-decoration:none; }
.gn-sub__link{ padding:0; border:0; background:none; font:inherit; font-size:15px; color:var(--gn-text); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.gn-sub__link:hover{ color:var(--gn-red); }
.gn-sub__note{ margin:20px 0 0 !important; padding-top:20px; border-top:1px solid var(--gn-line); font-size:14px; }
.gn-sub__note a{ color:var(--gn-date); }
@media (max-width:575px){
  .gn-sub{ padding:28px 20px; margin-bottom:40px; }
  .gn-sub h2{ font-size:22px; }
  .gn-sub .gn-subscribe-btn{ width:100%; justify-content:center; }
}

/* Телефон: шаблон сайта перекрашивает ссылки и заголовки — возвращаем цвета кнопкам и заголовкам карточек */
.gn-sub a.gn-subscribe-btn, .gn-sub a.gn-subscribe-btn:link, .gn-sub a.gn-subscribe-btn:visited,
.gn-sub a.gn-subscribe-btn:hover, .gn-sub a.gn-subscribe-btn:active,
a.gn-subscribe-btn, a.gn-subscribe-btn:visited{ color:#fff !important; text-decoration:none !important; }
.gn-sub h2{ color:#000 !important; }
.gn-sub p, .gn-sub .gn-sub__note{ color:var(--gn-muted) !important; }
.gn-sub .gn-sub__link{ color:#000 !important; }

/* End */
/* /bitrix/templates/.default/components/bitrix/news/news/bitrix/news.list/.default/style.css?17507827262071 */
/* /local/assets/gerat-news/gnews.css?179467911418111 */
