

/* Start:/local/templates/etm_44/components/bitrix/system.pagenavigation/centered/style.css?17633361046144*/
/* ========== Универсальные селекторы: новый centered И старый news-pages ========== */
.bx-pagination-centered,
nav[aria-label="news-pages"] { overflow: visible !important; }

.bx-pagination-centered .pagination,
nav[aria-label="news-pages"] .pagination{
  justify-content: center;
  gap: 12px;
}

/* Базовая «таблетка» */
.bx-pagination-centered .page-link,
nav[aria-label="news-pages"] .page-link{
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 14px;
  border-radius: 18px;
  border: 1px solid #e7ecef;
  background: var(--color-white, #fff);
  color: var(--color-green, #38aa34);
  font-weight: 600; text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .12s ease, box-shadow .12s ease,
              background-color .15s ease, color .15s ease, border-color .15s ease;
}

/* Hover */
.bx-pagination-centered .page-item:not(.disabled) .page-link:hover,
nav[aria-label="news-pages"] .page-item:not(.disabled) .page-link:hover{
  background: var(--color-light-gray, #f6f8f9);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  color: var(--color-green, #38aa34);
}

/* Активная */
.bx-pagination-centered .page-item.active .page-link,
nav[aria-label="news-pages"] .page-item.active .page-link{
  background: var(--color-green, #38aa34);
  border-color: var(--color-green, #38aa34);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(56,170,52,.25);
}

/* Disabled */
.bx-pagination-centered .page-item.disabled .page-link,
nav[aria-label="news-pages"] .page-item.disabled .page-link{
  color: #aab1b4; background: #fff; border-color: #eff0f1;
  box-shadow: none; transform: none; pointer-events: none;
}

/* Фокус/active без синей рамки */
.bx-pagination-centered .page-link:focus,
.bx-pagination-centered .page-link:active,
nav[aria-label="news-pages"] .page-link:focus,
nav[aria-label="news-pages"] .page-link:active{
  outline: 0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
  background: var(--color-white, #fff) !important;
  color: var(--color-green, #38aa34) !important;
}
.bx-pagination-centered .page-item.active .page-link:focus,
.bx-pagination-centered .page-item.active .page-link:active,
nav[aria-label="news-pages"] .page-item.active .page-link:focus,
nav[aria-label="news-pages"] .page-item.active .page-link:active{
  background: var(--color-green, #38aa34) !important;
  color: #fff !important;
}

/* Стрелки — те же «таблетки», но можно чуть уже */
.bx-pagination-centered .page-item:first-child .page-link,
.bx-pagination-centered .page-item:last-child  .page-link,
nav[aria-label="news-pages"] .page-item:first-child .page-link,
nav[aria-label="news-pages"] .page-item:last-child  .page-link{
  min-width: 44px; padding: 0 12px;
}

/* Скрываем «« и »» (оставим для доступности) и рисуем chevron’ы */
.bx-pagination-centered .page-item:first-child .page-link span,
.bx-pagination-centered .page-item:last-child  .page-link span,
nav[aria-label="news-pages"] .page-item:first-child .page-link span,
nav[aria-label="news-pages"] .page-item:last-child  .page-link span{
  font-size: 0; line-height: 0;
}
/* Левая стрелка */
.bx-pagination-centered .page-item:first-child .page-link::after,
nav[aria-label="news-pages"] .page-item:first-child .page-link::after{
  content: ""; width: 10px; height: 10px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); display: inline-block;
}
/* Правая стрелка */
.bx-pagination-centered .page-item:last-child .page-link::after,
nav[aria-label="news-pages"] .page-item:last-child .page-link::after{
  content: ""; width: 10px; height: 10px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); display: inline-block;
}

/* Мобильная компактность */
@media (max-width: 576px){
  .bx-pagination-centered .pagination,
  nav[aria-label="news-pages"] .pagination{
    flex-wrap: wrap; gap: 8px;
  }
  .bx-pagination-centered .page-link,
  nav[aria-label="news-pages"] .page-link{
    min-width: 40px; height: 40px; padding: 0 10px; border-radius: 14px;
  }
  .bx-pagination-centered .page-item:first-child,
  .bx-pagination-centered .page-item:last-child,
  nav[aria-label="news-pages"] .page-item:first-child,
  nav[aria-label="news-pages"] .page-item:last-child{
    flex: 0 0 auto; display: flex;
  }
}
/* Базово — как раньше */
.bx-pagination-centered .pagination{ justify-content:center; gap:12px; }
.bx-pagination-centered .page-link{
  display:flex; align-items:center; justify-content:center;
  min-width:44px; height:44px; padding:0 14px;
  border-radius:18px; border:1px solid #e7ecef;
  background:#fff; color:var(--color-green, #38aa34);
  font-weight:600; text-decoration:none;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
  transition:transform .12s ease, box-shadow .12s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.bx-pagination-centered .page-item.active .page-link{
  background:var(--color-green, #38aa34); border-color:var(--color-green, #38aa34); color:#fff;
  box-shadow:0 6px 16px rgba(56,170,52,.25);
}
.bx-pagination-centered .page-item.disabled .page-link{
  color:#aab1b4; background:#fff; border-color:#eff0f1;
  box-shadow:none; transform:none; pointer-events:none;
}
.bx-pagination-centered .page-item:not(.disabled) .page-link:hover{
  background:#f6f8f9; transform:translateY(-1px); box-shadow:0 6px 16px rgba(0,0,0,.12);
}

/* компакт на мобилке */
@media (max-width:576px){
  .bx-pagination-centered .pagination{ flex-wrap:wrap; gap:8px; }
  .bx-pagination-centered .page-link{ min-width:40px; height:40px; padding:0 10px; border-radius:14px; }
}

.js-news-pager-wrap {
	padding-top: 80px;
}
/* End */


/* Start:/local/templates/etm_44/components/bitrix/news.list/flat/style.css?17633325118562*/
.bx-newslist-flat {
}
.bx-newslist-flat > .row {
	--bs-gutter-x: 1.5rem;
	--bs-gutter-y: 1.5rem;
}
.bx-newslist-flat .bx-newslist-container {
	display: block;
	max-height: 600px;
	text-decoration-color: var(--color-gray);
	
	transform: scale(1);
	transition: transform 0.2s;
}
.bx-newslist-flat .bx-newslist-container:hover {
	transform: scale(1.01);
	text-decoration: underline;
	text-decoration-color: var(--color-gray);
}

.bx-newslist-flat .bx-newslist-block {
	height: 100%;
	background-color: var(--color-white);
	border-radius: 10px;
	padding: 16px;
	padding-bottom: 50px;
	font-size: var(--font-size-5);
	filter: drop-shadow(var(--drop-shadow));
}
.bx-newslist-flat .bx-newslist-block-inner {
	overflow: hidden;
	height: 100%;
}

.bx-newslist-flat .aspect-ratio-keeper.bx-newslist-aspect-ratio-keeper {
	/* 440:300 aspect ratio */
	margin-top: 70% !important;
}

/* POST FORMATS */
.bx-newslist-flat .bx-newslist-img,
.bx-newslist-flat .bx-newslist-audio,
.bx-newslist-flat .bx-newslist-youtube,
.bx-newslist-flat .bx-newslist-slider {
	/* +aspect ratio styles */
	border-radius: 10px;
}
.bx-newslist-flat .bx-newslist-slider img,
.bx-newslist-flat .bx-newslist-img img {
	width: auto;
	min-width: 100%;
	height: auto;
	min-height: 100%;
}
.bx-newslist-flat .bx-newslist-img.nophoto {
	display:flex;
	justify-content: center;
	align-items: center;
}
.bx-newslist-flat .bx-newslist-img.nophoto img {
	width: auto;
	min-width: unset;
	height: 80%;
	min-height: 80%;
}
.bx-newslist-flat .bx-newslist-video {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	opacity: 0.7;
	z-index: 1;
	-webkit-transition: opacity 0.3s ease;
	-moz-transition: opacity 0.3s ease;
	-ms-transition: opacity 0.3s ease;
	-o-transition: opacity 0.3s ease;
	transition: opacity 0.3s ease;
	background: url("/local/templates/etm_44/components/bitrix/news.list/flat/images/bx-video.png") no-repeat center;
}
.bx-newslist-flat .bx-newslist-video:hover {
	opacity: 1;
}
/* POST FORMATS /// SLIDER */
.bx-newslist-flat .bx-newslist-slider {
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
	overflow: hidden;
}
.bx-newslist-flat .bx-newslist-slider-container {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
}
.bx-newslist-flat .bx-newslist-slider-slide {
	float: left;
	z-index: 100;
}
.bx-newslist-flat .bx-newslist-slider-arrow-container-left,
.bx-newslist-flat .bx-newslist-slider-arrow-container-right {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 15%;
	cursor: pointer;
}
.bx-newslist-flat .bx-newslist-slider-arrow-container-left {
	left: 0;
}
.bx-newslist-flat .bx-newslist-slider-arrow-container-right {
	right: 0;
}
.bx-newslist-flat .bx-newslist-slider-arrow {
	position: absolute;
	line-height: 34px;
	vertical-align: middle;
	color: #fff;
	cursor: pointer;
	font-size: 48px;
	height: 48px;
	width: 20px;
	top: 50%;
	margin-top: -24px;
	z-index: 110;
	opacity: 0.5;
	text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}
.bx-newslist-flat .bx-newslist-slider-arrow-container-left:hover .bx-newslist-slider-arrow,
.bx-newslist-flat .bx-newslist-slider-arrow-container-right:hover .bx-newslist-slider-arrow {
	color: #fff;
	display: block;
	opacity: 1;
}
.bx-newslist-flat .bx-newslist-slider-arrow-container-left .bx-newslist-slider-arrow {
	left: 20px;
}
.bx-newslist-flat .bx-newslist-slider-arrow-container-right .bx-newslist-slider-arrow {
	right: 20px;
}
.bx-newslist-flat .bx-newslist-slider-control {
	margin: 0;
	padding: 0;
	position: absolute;
	width: 100%;
	bottom: 10px;
	z-index: 110;
	text-align: center;
	word-spacing: -4px;
}
.bx-newslist-flat .bx-newslist-slider-control li {
	display: inline-block;
	border-radius: 50%;
	background: #fff;
	width: 10px;
	height: 10px;
	word-spacing: -4px;
	margin: 0 3px;
	opacity: 0.5;
}
.bx-newslist-flat .bx-newslist-slider-control li:hover,
.bx-newslist-flat .bx-newslist-slider-control li.current {
	background: #fff;
	opacity: 1;
}
.bx-newslist-flat bx-newslist-slider-arrow,
.bx-newslist-flat .bx-newslist-slider-control li {
	-webkit-transition: opacity 0.3s ease;
	-moz-transition: opacity 0.3s ease;
	-ms-transition: opacity 0.3s ease;
	-o-transition: opacity 0.3s ease;
	transition: opacity 0.3s ease;
}
.bx-newslist-flat .bx-newslist-title,
.bx-newslist-flat .bx-newslist-title a {
	margin-top: 20px;
	color: var(--color-green);
	font-weight: 700;
	text-transform: uppercase;
}

.bx-newslist-flat .bx-newslist-view,
.bx-newslist-flat .bx-newslist-date,
.bx-newslist-flat .bx-newslist-comments,
.bx-newslist-flat .bx-newslist-author,
.bx-newslist-flat .bx-newslist-other {
	color: var(--color-dark-gray);
	font-weight: bold;
	margin-top: 30px;
	white-space: nowrap;
}
.bx-newslist-flat .bx-newslist-view i.fa,
.bx-newslist-flat .bx-newslist-date i.fa,
.bx-newslist-flat .bx-newslist-comments i.fa,
.bx-newslist-flat .bx-newslist-author i.fa,
.bx-newslist-flat .bx-newslist-tags i.fa,
.bx-newslist-flat .bx-newslist-other i.fa {
	/* width: 13px; */
	color: #b4b4b4;
}
.bx-newslist-flat .bx-newslist-tags {
	color: #a4a4a4;
	/* font-size: 13px; */
	padding-bottom: 5px;
}
.bx-newslist-flat .bx-newslist-content,
.bx-newslist-flat .bx-newslist-content a {
	color: var(--color-black);
	line-height: 1;
}
.bx-newslist-flat .bx-newslist-content {
	/* height: 100%; */
	padding-top: 20px;
}
.bx-newslist-flat .bx-newslist-more {
	margin-top: 5px;
	margin-bottom: 5px;
}


/* only 2 items on MAINPAGE when on MD- screen - so hide third one */
/* md- (incl) */
@media (max-width: 991px) {
	.bx-newslist-flat .bx-newslist-item-2 {
		display: none;
	}
}

/* Заголовок: максимум 2 строки */
.bx-newslist-flat .bx-newslist-title,
.bx-newslist-flat .bx-newslist-title a{
  display: -webkit-box;
  -webkit-line-clamp: 2;       /* 2 строки */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;           /* подстрой при необходимости */
  max-height: calc(1.25em * 2);
}

/* Анонс: максимум 3 строки */
.bx-newslist-flat .bx-newslist-content{
  display: -webkit-box;
  -webkit-line-clamp: 3;       /* 3 строки */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  max-height: calc(1.4em * 3);
}

/* На всякий случай убираем подчеркивание у заголовка по hover,
   чтобы line-clamp не «дергался», а подчёркивалась карта целиком (как у тебя) */
.bx-newslist-flat .bx-newslist-block:hover .bx-newslist-title a{
  text-decoration: none;
}
/* Заголовок – 2 строки */
.bx-newslist-flat .bx-newslist-title,
.bx-newslist-flat .bx-newslist-title a{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
  line-height:1.25;
  max-height:calc(1.25em * 2);
}

/* Анонс – 3 строки */
.bx-newslist-flat .bx-newslist-content{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-overflow:ellipsis;
  line-height:1.45;
  max-height:calc(1.45em * 3);
}

.bx-newslist-container .bx-newslist-content{
  display: -webkit-box;
  -webkit-line-clamp: 3;             /* 3 строки */
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
  max-height: calc(1.45em * 3);
  word-break: break-word;
}
/* наш фирменный стиль */
.btn-site{
  --btn-blue:#0a86cf;
  background-color:var(--btn-blue);
  color:#fff;
  border:0;
  border-radius:16px;
  padding:12px 28px;
  font-weight:600;
  line-height:1.2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.12), 0 6px 16px rgba(10,134,207,.25);
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease;
  /* важно: обнуляем то, что приносит bootstrap/тема */
  background-image:none;            /* убираем градиенты */
}

/* если вы всё-таки оставили класс .btn — этот селектор сильнее bootstrap */
.btn.btn-site{
  background-color:var(--btn-blue) !important;
  color:#fff !important;
  border:0 !important;
  background-image:none !important;
}

.btn-site.btn-lg{ padding:14px 36px; color: white !important; font-size:20px; border-radius:18px; }
.btn-site:hover{ background-color:#097dc2; color:#fff; transform:translateY(-1px); }
.btn-site:active{ transform:translateY(0); }
.btn-site:focus-visible{ outline:2px solid rgba(10,134,207,.5); outline-offset:2px; }

/* End */
/* /local/templates/etm_44/components/bitrix/system.pagenavigation/centered/style.css?17633361046144 */
/* /local/templates/etm_44/components/bitrix/news.list/flat/style.css?17633325118562 */
