

/* Start:/local/templates/etm_44/components/bitrix/system.pagenavigation/centered/style.css?17626417455855*/
/* ===== Пагинация на странице новостей (Bootstrap-верстка) ===== */
nav[aria-label="news-pages"] .pagination{
  justify-content:center;            /* на всякий случай */
  gap:12px;                          /* расстояние между кнопками */
}

nav[aria-label="news-pages"] .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:var(--color-white);
  color:var(--color-green);
  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 */
nav[aria-label="news-pages"] .page-link:hover{
  background:var(--color-light-gray);
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(0,0,0,.12);
  color:var(--color-green);
}

/* активная страница */
nav[aria-label="news-pages"] .page-item.active .page-link{
  background:var(--color-green);
  border-color:var(--color-green);
  color:white !important;
  box-shadow:0 6px 16px rgba(56,170,52,.25);
}

/* отключенные стрелки */
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;
}

/* убрать «синюю» подсветку Bootstrap/браузера */
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) !important;
  color:var(--color-green) !important;
}
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) !important;
  color:#fff !important;
}

/* стрелки — такие же «таблетки», но уже */
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;
}

/* ==== mobile-fix для пагинации (≤576px) ==== */
@media (max-width: 576px){
  /* перенос и меньшие отступы */
  nav[aria-label="news-pages"] .pagination{
    flex-wrap: wrap;       /* разрешаем перенос */
    gap: 8px;
  }

  /* компактные «таблетки» */
  nav[aria-label="news-pages"] .page-link{
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 14px;
  }

  /* стрелки – фиксируем как отдельные кнопки и не даём им сжиматься/пропадать */
  nav[aria-label="news-pages"] .page-item:first-child,
  nav[aria-label="news-pages"] .page-item:last-child{
    flex: 0 0 auto;        /* не сжимать */
    display: flex;         /* на всякий случай */
  }
}

/* если где-то родитель обрезает содержимое — отключим */
nav[aria-label="news-pages"],
nav[aria-label="news-pages"] .pagination{
  overflow: visible !important;
}
/* ===== Нормальные стрелки в пагинации ===== */
nav[aria-label="news-pages"] .pagination{
  gap: 10px;                 /* промежутки между «таблетками» */
}

/* базовая "таблетка" */
nav[aria-label="news-pages"] .page-link{
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: var(--color-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,.08), inset 0 -3px 0 rgba(0,0,0,.06);
}
nav[aria-label="news-pages"] .page-item.active .page-link{
  background: var(--color-green);
  color: #fff;
}
nav[aria-label="news-pages"] .page-item.disabled .page-link{
  opacity: .45;
  pointer-events: none;
}

/* скрываем текстовые ««/»» и рисуем chevron’ы псевдоэлементами */
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;
}

/* левая стрелка */
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;
}

/* правая стрелка */
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;
}

/* hover/active эффекты для стрелок такие же, как у цифр */
nav[aria-label="news-pages"] .page-item:not(.disabled) .page-link:hover{
  filter: brightness(0.98);
  transform: translateY(-1px);
}
nav[aria-label="news-pages"] .page-item.active .page-link:hover{
  filter: none; transform:none;
}

/* мобильная компактность, чтобы стрелки не "съедались" */
@media (max-width: 576px){
  nav[aria-label="news-pages"] .pagination{ flex-wrap: wrap; }
  nav[aria-label="news-pages"] .page-link{ min-width: 40px; height: 40px; border-radius: 14px; }
}

/* End */


/* Start:/local/templates/etm_44/components/bitrix/news.list/flat/style.css?17625467438562*/
.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?17626417455855 */
/* /local/templates/etm_44/components/bitrix/news.list/flat/style.css?17625467438562 */
