@charset "UTF-8";

/* Общие стили */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
	
body {
	font-family: 'Montserrat', sans-serif;
	background-color: #FAFAFA;
	color: #333333;
	font-size: 15px;
	line-height: 150%;
}
	
a {
	text-decoration: underline;
	transition: all 0.2s ease-in-out;
	color: #0F4C81;  
}

a:hover, a:focus, a:active {
	color: #222222;
	transition: all 0.2s ease-in-out;	
}

h1 {
	font-size: 23px;
	font-weight: 800;
	color: #101e2c;
	line-height: 1.25;
	margin-bottom: 16px;
	line-height: 135%;
}

h2 {
	font-size: 21px;
	font-weight: 800;
	color: #101e2c;
	margin: 15px 0;
	line-height: 135%;
}

h3 {
	font-size: 20px;
	font-weight: 800;
	color: #0F4C81;
	margin: 15px 0;
	line-height: 135%;
}

h4 {
	font-size: 18px;
	font-weight: 800;
	color: #101e2c;
	margin: 15px 0;
	line-height: 135%;
}

h5 {
	font-size: 17px;
	font-weight: 800;
	color: #101e2c;
	margin: 15px 0;
	line-height: 135%;
}

h6 {
	font-size: 16px;
	font-weight: 800;
	color: #101e2c;
	margin: 15px 0;
	line-height: 135%;
}

strong, b {
	font-weight: 800;
}

p {
	margin-bottom: 20px;
}
	

/* Базовые контейнеры */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ==========================================================================
   Панель в шапке: Адрес + телефон + mail
   ========================================================================== */

/* Стили Header */
.site-header {
	width: 100%;
	background: #ffffff;
	position: relative;
	z-index: 100;
	border-top: 4px solid #B5C9D6;	
}
	
.site-header p {
	margin-bottom: 0;
}

/*
.header-top {
	background-color: #EBF1F5;
	color: #222222;
	font-size: 14px;
	font-weight: 400;
	padding: 4px 0;
	border-bottom: 1px solid #DBE0E3;
}

.header-top .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.top-contacts {
	display: flex;
	gap: 25px;
}
.contact-item {
	display: inline-flex;
	gap: 6px;
	color: #222222;
}

.contact-item-svg {
	padding-top: 3px;
}

.position-top-phone a {
	color: #222222;
}

.position-top-phone:hover #mod-custom118 a {
	text-decoration:underline;
	color:#333333;
}

.position-top-phone:hover #mod-custom118 .contact-item-svg svg {
	color: #333333;
}

.position-top-mail a {
	text-decoration:underline;
	color:#333333;
}

.position-top-mail a:hover, .position-top-phone a:hover {
	text-decoration:none;
	color:#333333;
}
*/

/* ==========================================================================
   Панель в шапке: Логотип + меню + кнопка ЛК
   ========================================================================== */

/* Главная панель навигации */
.header-main {
	padding: 18px 0;
	background-color: #ffffff;
}

.header-main a {
	text-decoration: none;
}
	
.header-main .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Логотип */
.logo {
	display: flex;
	flex-direction: column;
	z-index: 102;
}
.logo-title {
	font-size: 26px;
	font-weight: 800;
	color: #101e2c;
}

.logo-subtitle {
	font-size: 14px;
	color: #919191;
	margin-top: 2px;
}

.logo-body {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Стили для логотипа */
.logo-icon-wrapper {
	color: #0F4C81;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.25s ease-in-out;
}

.logo:hover .logo-icon-wrapper {
	transform: translateY(-2px); 
}

.logo-text {
	display: flex;
	flex-direction: column;
}


@media (max-width: 992px) {
.position-top-address, .position-top-mail {
	display: none;
}

.header-top .container {
	justify-content: left;
}

}

@media (max-width: 767px) {
.header-top {
	display: none;
}

.header-main {
	padding: 38px 0 10px 0;
}

.header-main .container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px; /* Зазор между логотипом и кнопкой */
	padding: 12px 10px;
}

.logo {
	text-decoration: none; /* Убираем подчеркивание со всей ссылки */
	display: block;
	width: 100%;
	max-width: 360px; /* Чтобы контент не разъезжался на фаблетах */
}

/* Тело логотипа: выстраивает иконку и текст горизонтально */
.logo-body {
	display: flex;
	flex-direction: row; /* Строго в одну строку */
	align-items: center; /* Центрирование иконки относительно текста по вертикали */
	justify-content: center; /* Центрирование всей конструкции по центру экрана */
	gap: 12px; /* Отступ между SVG и текстом */
}

/* Фиксируем размеры иконки, чтобы она не сжималась текстом */
.logo-icon-wrapper {
	display: flex;
	align-items: center;
	flex-shrink: 0; 
}

/* Текстовый блок внутри логотипа выравнивается по левому краю относительно иконки */
.logo-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start; 
	text-align: left;
	gap: 2px;
}

.logo-title {
	font-size: 24px; 
}

.logo-subtitle {
	font-size: 14px;
	max-width: 280px;
	line-height: 140%;
}

.header-actions {
    width: 100%;
    display: flex;
    justify-content: center;
}

.lk-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
}


}

@media (max-width: 359px) {
.logo-title {
	font-size: 19px;
}	
  .logo-subtitle {
    font-size: 12px;
  }
  
  
}



/* ==========================================================================
   1. ОБЩИЕ НАСТРОЙКИ МЕНЮ
   ========================================================================== */
.nav-container.top-menu {
    background-color: #0F4C81; 
    position: relative;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(28, 142, 150, 0.15);
}

/* Сброс стандартных списков Joomla */
.nav-menu, .nav-menu ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
}

/* Главный горизонтальный ряд (Level 1) */
.menu-burger {
	display: none;
}

/* ==========================================================================
   2. ДЕКСКОПНАЯ ВЕРСИЯ (ПК и ноутбуки от 992px)
   ========================================================================== */
@media (min-width: 992px) {
.nav-menu {
    align-items: center;
}


.nav-menu > .nav-item {
    position: relative;
    height: 100%;
}

/* Ссылки первого уровня (Главная, О СНТ...) */
.nav-menu > .nav-item > a {
	display: block;
	padding: 20px 22px;
	font-size: 16px;
	font-weight: 600;
	color: #FFFFFF !important;
	text-decoration: none !important;
	position: relative;
	transition: color 0.25s ease;
	letter-spacing: 0.01em;
}

/* Изящный скрытый малиновый маркер под текстом */
.nav-menu > .nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 0; /* Ложится точно на нижний край меню */
    left: 22px;
    right: 22px;
    height: 4px; /* Плотная акцентная линия */
    background-color: #2ECC71;
    transform: skewX(0deg) scaleX(0); /* Изначально сжата до нуля */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* АКТИВНЫЙ ПУНКТ: У текущей страницы линия горит всегда */
.nav-menu > .nav-item.current.active > a::after {
    transform: skewX(0deg) scaleX(1);
}

/* ХОВЕР: При наведении линия плавно разъезжается из центра вширь */
.nav-menu > .nav-item:hover > a::after {
    transform: skewX(0deg) scaleX(1);
}

/* Легкий оттенок текста при наведении */
.nav-menu > .nav-item:hover > a {
    color: #E2F3F5 !important;
}

/* --- ЖЕСТКОЕ И БЕЗОПАСНОЕ ПОЗИЦИОНИРОВАНИЕ SVG-СТРЕЛОЧЕК --- */
.nav-menu > .nav-item.parent > a {
    padding-right: 36px; /* Зазор справа увеличен, чтобы стрелка не нализала на длинный текст */
}

.nav-menu > .nav-item.parent > a::before {
    content: '';
    position: absolute;
    right: 16px; /* Фиксированный отступ от правого края ссылки */
    top: 50%;
    transform: translateY(-50%) rotate(0deg); /* Идеальное центрирование иконки по вертикали */
    width: 12px;  /* Четкие размеры для SVG */
    height: 12px;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

/* Переворот стрелочки вверх ногами при ховере карточки */
.nav-menu > .nav-item.parent:hover > a::before {
    transform: translateY(-50%) rotate(180deg);
    opacity: 1;
}
/* --- ЦВЕТНОЕ ВЫПАДАЮЩЕЕ ОКНО (Level 2) --- */
.nav-menu .mm-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background-color: #0F4C81; /* Насыщенный цветной фон подменю */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 8px 8px;
    padding: 6px 0 !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                visibility 0.3s;
    z-index: 1000;
}

/* Показ подменю при ховере */
.nav-menu > .nav-item.parent:hover .mm-collapse {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .mm-collapse .nav-item {
    width: 100%;
}

/* Ссылки второго уровня внутри цветного блока */
.nav-menu .mm-collapse .nav-item a {
    display: block;
    /* padding-left увеличен до 36px, чтобы освободить место под стрелочку слева */
    padding: 11px 20px 11px 36px; 
    font-size: 15px;
    font-weight: 500;
    color: #D2EFF2 !important; /* Нежно-пастельный мятный цвет текста */
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background-color: transparent;
    position: relative;
    transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
                color 0.25s ease;
}

.nav-menu .mm-collapse .nav-item:last-child a {
    border-bottom: none;
}

/* --- ВСТРАИВАНИЕ МАЛЕНЬКОЙ СТРЕЛОЧЕК-МАРКЕРОВ ПЕРЕД ТЕКСТОМ СЛЕВА --- */
.nav-menu .mm-collapse .nav-item a::before {
    content: '';
    position: absolute;
    left: 18px; /* Фиксированный отступ стрелочки от левого края карточки */
    top: 50%;
    transform: translateY(-50%);
    width: 8px; /* Аккуратный компактный размер маркера */
    height: 8px;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D2EFF2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5; /* Слегка приглушена в обычном состоянии */
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

/* --- ЭФФЕКТ ХОВЕРА: Строка заливается малиновым, стрелочка шагает вперед --- */
.nav-menu .mm-collapse .nav-item a:hover {
    background-color: #0F4C81; /* Малиновая заливка фона строки */
    color: #FFFFFF !important; /* Текст становится чисто белым */
}

/* Изменение поведения стрелочки при наведении на строку */
.nav-menu .mm-collapse .nav-item a:hover::before {
    opacity: 1; /* Становится яркой и контрастной */
    /* Стрелочка делает мягкий интерактивный шаг вперед (вправо) на 3px */
    transform: translateY(-50%) translateX(3px); 
    /* Перекрашиваем стрелочку в белый цвет на лету */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Скрываем устаревшие переключатели Joomla */
.nav-menu .mm-toggler { 
    display: none !important; 
}
}

/* ==========================================================================
   3. МОБИЛЬНАЯ ВЕРСИЯ (До 991px — ВЫЕЗЖАЕТ СПРАВА, БЕЛЫЙ ФОН)
   ========================================================================== */
@media (max-width: 991px) {
  
  /* Отключаем десктопный эффект приглушения при таче */
  .nav-menu:hover > .nav-item:not(:hover) > a {
    opacity: 1 !important;
  }

    /* Перестраиваем сетку меню в один вертикальный ряд */
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        display: block; /* Скрыто по умолчанию для кнопки-гамбургера */
    }


  /* Элементы списка в мобильной шторке */
  .nav-menu .nav-item {
    position: relative;
    border-bottom: 1px solid #f1f5f9;
    width: 100% !important;
  }

  /* Ссылки главного уровня */
  .nav-menu .nav-item a {
    display: block;
    padding: 16px 50px 16px 15px;
    color: #101E2C !important; /* Чёрный текст */
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
  }

  /* Подсветка активной мобильной страницы */
  .nav-menu .nav-item.active > a,
  .nav-menu .nav-item.current > a {
    color: #0F4C81 !important; 
    font-weight: 800;
  }

  /* Отключаем десктопные стрелочки-точки на смартфонах */
  .nav-menu > .nav-item.deeper.parent > a::after {
    display: none !important;
  }

  /* КНОПОЧНЫЙ ТУГГЛЕР JOOMLA ДЛЯ РАСКРЫТИЯ ПОДМЕНЮ */
  .nav-menu .nav-item .mm-toggler {
    position: absolute;
    right: 5px;
    top: 0;
    width: 44px;
    height: 54px; 
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }

  /* Рисуем аккуратную стрелочку-уголок */
  .nav-menu .nav-item .mm-toggler::before {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 2px solid #64748b; 
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  /* Разворот стрелочки вверх, когда подменю раскрыто */
  .nav-menu .nav-item .mm-toggler[aria-expanded="true"]::before {
    transform: rotate(-135deg);
    border-color: #0F4C81;
  }

  /* МОБИЛЬНОЕ ПОДМЕНЮ (Изначально скрыто через display: none) */
  .nav-menu .mm-collapse {
    display: none; /* Скрываем по умолчанию, чтобы Joomla управляла показом */
    background-color: #f8fafc !important; /* Светло-серая подложка */
    padding: 0;
    margin: 0;
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transform: none !important;
  }

  /* Поддержка двух вариантов логики Joomla/Bootstrap*/
  .nav-menu .nav-item:has(.mm-toggler[aria-expanded="true"]) .mm-collapse,
  .nav-menu .mm-collapse.show {
    display: block !important;
  }

.nav-menu .mm-collapse .nav-item {
	border-bottom: none !important;
	padding-left: 14px;
}

  .nav-menu .mm-collapse .nav-item a:hover {
    color: #0F4C81 !important;
  }
}

/* ==========================================================================
   ЭФФЕКТ ПЛАВНОГО ЗАТЕМНЕНИЯ ФОНА (NAV-OVERLAY) И КЛАССИЧЕСКИЙ БУРГЕР
   ========================================================================== */

/* 1. Элемент плавного затемнения фона */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.4); /* Мягкий темный оттенок */
  backdrop-filter: blur(4px);               /* Эстетичное размытие заднего плана (iOS-стиль) */
  z-index: 990;                           /* Слой строго под выезжающей шторкой меню */
  opacity: 0;
  pointer-events: none;                     /* Клики проходят насквозь, пока закрыто */
  transition: opacity 0.3s ease-in-out;     /* Плавное появление и исчезновение */
}

/* Состояние, когда оверлей активирован через JS */
.nav-overlay.is-active {
  opacity: 1;
  pointer-events: auto;                     /* Включаем кликабельность для закрытия */
}

/* 2. Базовые стили классической прямоугольной кнопки */
.button_menu {
  display: none; /* Скрыто на ПК по умолчанию */
  align-items: center;
  justify-content: center;
}

.burger-trigger {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  padding: 0;
  box-sizing: border-box;
 padding:0; 
}

.burger-line {
	display: block;
	width: 100%;
	height: 3px;
	background-color: #0F4C81;
	border-radius: 2px;
	transition: all 0.3s ease-in-out;
}

#burgerBtn:hover {
	background-color: transparent;
	border-color: transparent;
	box-shadow: none;
	transform: none;
}

/* Анимация превращения линий в крестик при клике */
.burger-trigger.is-active .burger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: #e53e3e; /* Цвет крестика */
}
.burger-trigger.is-active .burger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}
.burger-trigger.is-active .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: #e53e3e;
}

/* ==========================================================================
   Мобильная адаптивность (Ширина 767px и меньше)
   ========================================================================== */
@media (max-width: 991px) {
  /* Включаем отображение вынесенной кнопки */
.button_menu {
	display: flex;
	position: absolute;
	z-index: 1001;
	right: 20px;
	top: 8px;
}

/* Фиксируем кнопку-крестик, чтобы она оставалась поверх белой шторки меню */
.burger-trigger.is-active {
	position: fixed !important;
	top: 8px; /* Отступ сверху экрана смартфона */
	right: 20px; /* Отступ справа, чтобы ровно войти в панель */
	z-index: 1005 !important; /* Самый верхний слой над меню и оверлеем */
}

/* Выезжающая панель мобильного меню */
#navContainer {
	position: fixed;
	top: 0;
	right: -100% !important;
	width: 300px;
	
	/* 1. Заменяем 100vh на современный dvh (Dynamic Viewport Height) */
	/* Это защитит меню от перекрытия панелями мобильного браузера */
	height: 100dvh !important; 
	
	background: #ffffff !important;
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08) !important;
	transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	z-index: 999 !important;
	display: flex !important;
	flex-direction: column !important;
	
	/* 2. Разрешаем вертикальную прокрутку */
	overflow-y: auto !important;
	/* Включаем плавный инерционный скролл на iOS (Safari) */
	-webkit-overflow-scrolling: touch !important; 
	
	padding: 70px 24px 24px 24px !important;
	box-sizing: border-box !important;
}

#navContainer ul, 
#navContainer .menu {
	flex-grow: 1 !important;
	overflow-y: auto !important;
	height: 100% !important;
}

/* Активация выезда меню по вашему классу .is-open */
#navContainer.is-open {
right: 0 !important;
}
}

@media (max-width: 767px) {
.button_menu {
	top: 14px;
}

}


/* ==========================================================================
   АККОРДЕОН ДЛЯ МОБИЛЬНОГО ПОДМЕНЮ JOOMLA 6
   ========================================================================== */

@media (max-width: 991px) {
  
  /* Делаем li-родитель флекс-контейнером для выравнивания ссылки и кнопки-стрелки */
  .nav-menu .nav-item.parent {
    position: relative;
    display: block;
    width: 100%;
  }

  /* Ссылка верхнего уровня */
  .nav-menu .nav-item.parent > a {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
  }

  /* Стандартизируем кнопку-стрелку от Joomla 6 */
  .nav-menu .mm-toggler {
    position: absolute;
    right: 0;
    top: 0;
    width: 44px; /* Удобный размер для нажатия пальцем */
    height: 46px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    outline: none;
  }

  /* Рисуем аккуратную минималистичную стрелочку с помощью border */
  .nav-menu .mm-toggler::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #132f53;
    border-bottom: 2px solid #132f53;
    transform: rotate(45deg); /* По умолчанию стрелка смотрит вниз */
    transition: transform 0.25s ease-in-out, border-color 0.25s;
  }

  /* Анимация: когда подменю открыто, стрелка плавно переворачивается вверх */
  .nav-menu .mm-toggler[aria-expanded="true"]::before {
    transform: rotate(-135deg);
    border-color: #00BFA5; /* Перекрашиваем стрелку в ваш фирменный цвет */
  }

  /* Контейнер выпадающих подпунктов */
  .nav-menu .mm-collapse {
    display: none; /* По умолчанию скрыто */
    list-style: none;
    margin: 0;
    padding: 0 0 8px 16px; /* Внутренний сдвиг вправо для иерархии */
    border-left: 1px solid #e5e7eb; /* Тонкая вертикальная линия-направляющая */
  }

  /* Класс активности, добавляемый через JS (плавное раскрытие) */
  .nav-menu .mm-collapse.mm-show {
    display: block !important;
    animation: mmFadeDown 1s ease-out;
  }

  /* Стили для ссылок второго уровня (уровень-2) */
  .nav-menu .level-2 a {
    display: block;
    padding: 10px 0;
    color: #4b5563 !important; /* Делаем подпункты визуально чуть бледнее главных */
    text-decoration: none;
  }

  /* Эффект анимации появления */
  @keyframes mmFadeDown {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
  }
}



/* ==========================================================================
   СЛАЙДЕР НА ГЛАВНОЙ СТРАНИЦЕ
   ========================================================================== */  

/* Родителю слайдера (где картинка) задайте position: relative; */
.slider-text-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    padding: 60px 40px; 
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем все элементы внутри столбика */
    text-align: center;   /* Центрируем сам текст */
}

.slider-text-container h2 {
	color: #FFF;
	font-size: 52px;
	font-weight: 800;
	margin: 0 0 15px 0;
	line-height: 1.2;
	letter-spacing: -.5px;
}

.slider-text-container h3 {
	color: #BBC5D6;
	font-size: 20px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0 0 25px 0;
}

.slider-text-container p {
	color: #E0E6ED;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.6;
	margin: 0;
	border-top: 3px solid #2ECC71;
	padding-top: 20px;
	width: 60%;
}


/* Адаптивность для экранов мобильных телефонов */
@media (max-width: 768px) {
    .slider-text-container {
        padding: 40px 20px;
        bottom: 20px;
    }
    
    .slider-text-container h2 {
        font-size: 28px;
    }
    
    .slider-text-container h3 {
        font-size: 11px;
        margin-bottom: 20px;
    }
    
    .slider-text-container p {
        font-size: 14px;
        width: 100%; /* На мобильных линия разделителя займет всю ширину */
    }
}




/* ==========================================================================
   БЛОК главная подложка блока с бирюзово-синим цветом  НА ГЛАВНОЙ СТРАНИЦЕ
   ========================================================================== */  

/* Главная подложка блока */
.welcome {
    background-color: #EBF1F5;
    padding: 35px 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(153, 153, 153, 0.2);
}

/* Стилизация КРУПНОЙ фоновой SVG иконки со сдвигом к центру */
.welcome-bg-icon {
    position: absolute;
    width: 250px; /* Увеличено со 170px для создания масштабного водяного знака */
    height: auto;
    bottom: -35px; /* Немного опустили, чтобы при увеличении иконка не вылезала за верхний край */
    right: 32%; /* Сдвинуто ближе к центру (было 18%), теперь она аккуратно за текстом */
    opacity: 0.15; /* Слегка уменьшена непрозрачность, так как крупная иконка не должна мешать чтению */
    pointer-events: none;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease;
}

/* Эффект плавного движения при наведении на блок welcome */
.welcome:hover .welcome-bg-icon {
    transform: translateY(-8px) scale(1.03);
    opacity: 0.09;
}

/* Контейнер по центру страницы */
.welcome-container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Левая текстовая часть */
.welcome-content {
    flex: 1;
    z-index: 2; /* Контент всегда выше фоновой иконки */
}

/* Заголовок */
.welcome-content h1 {
    font-size: 26px;
    font-weight: 800;
    color: #111111;
    margin: 0 0 8px 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

/* Текст описания */
.welcome-content p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #333333;
    margin: 0;
}

/* Блок кнопки */
.welcome-action {
    flex-shrink: 0;
    z-index: 2;
}

/* Малиновая кнопка-акцент */
.welcome-btn {
	display: inline-block;
	background-color: #2ECC71;
	color: #FFFFFF;
	padding: 12px 45px;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(200, 44, 109, 0.15);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ховер для самой кнопки */
.welcome-btn:hover {
	background-color: #737272;
	box-shadow: 0 6px 16px rgba(50, 48, 48, 0.25);
	color: #FFFFFF;
	transform: translateY(-3px) !important;
}


/* Адаптивность для мобильных устройств */
@media (max-width: 991px) {
    .welcome {
        padding: 30px 15px;
    }
    .welcome-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .welcome-content h1 {
        font-size: 22px;
    }
    .welcome-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .welcome-bg-icon {
        width: 160px;
        right: 10%;
        bottom: -15px;
    }
}

@media (max-width: 479px) {
    .welcome {
        padding: 30px 0;
    }

    .welcome-content h1 {
        font-size: 19px;
    }
}

/* страница 404 */
/* Главный контейнер страницы ошибки */
.error-container {
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 20px;
    box-sizing: border-box;
}

/* Центральная карточка с контентом */
.error-card {
    max-width: 600px; 
    margin: 60px auto; 
    padding: 50px 40px; 
    background: #ffffff; 
    text-align: center; 
    border-radius: 8px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    box-sizing: border-box;
}

/* Трендовый градиентный текст 404 */
.error-title-404 {
    font-size: 96px; 
    font-weight: 800; 
    line-height: 1; 
    margin-bottom: 10px; 
    letter-spacing: -2px;
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Главный заголовок ошибки */
.error-heading {
    font-size: 24px; 
    font-weight: 700; 
    color: #132f53; 
    margin: 0 0 15px 0;
}

/* Описание ошибки */
.error-text {
    font-size: 15px; 
    color: #6c757d; 
    line-height: 1.6; 
    margin-top: 0;
    margin-bottom: 35px; 
    font-weight: 400;
}

/* Базовый стиль трендовой кнопки */
.btn-home {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    cursor: pointer;
    box-sizing: border-box;
}

/* Эффект при наведении на кнопку */
.btn-home:hover {
    background: linear-gradient(135deg, #4338ca 0%, #2563eb 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
}

/* Эффект при клике на кнопку */
.btn-home:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.4);
}

/* Безопасный фоновый градиент без изменения сетки верстки */
body.error-page-body {
    background-color: #f8fafc; /* Базовый современный пастельный цвет */
    background-image: radial-gradient(circle at 50% 40%, #eef2ff 0%, #f8fafc 70%);
    background-attachment: fixed; /* Фон не будет рваться при прокрутке */
    min-height: 100vh;
}


/* Анимация проявления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-card {
    /* Добавляем эту строчку к вашему существующему классу карточки */
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Контейнер для SVG-иконки */
.error-icon-box {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Стили самой SVG-иконки */
.snt-error-svg {
    width: 80px;
    height: 80px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Задняя полупрозрачная заливка домика (в тон градиента) */
.snt-error-svg .svg-bg-path {
    fill: #f0f3ff;
    transition: fill 0.3s ease;
}

/* Главные линии контура (индиго-синий цвет, как начало градиента 404) */
.snt-error-svg .svg-stroke-path {
    fill: none;
    stroke: #4f46e5;
    stroke-width: 1.5;
    stroke-linejoin: round;
    transition: stroke 0.3s ease;
}

/* Интерактивный эффект: при наведении на ВСЮ карточку ошибки, иконка оживает */
.error-card:hover .snt-error-svg {
    transform: scale(1.1) rotate(4deg); /* Домик слегка увеличивается и игриво поворачивается */
}

.error-card:hover .snt-error-svg .svg-bg-path {
    fill: #e0e7ff; /* Фон внутри дома становится чуть насыщеннее */
}

.error-card:hover .snt-error-svg .svg-stroke-path {
    stroke: #3b82f6; /* Линии переливаются в ярко-синий цвет кнопки */
}

/* =========================================================================
   МЕДИА-ЗАПРОСЫ ДЛЯ АДАПТИВНОСТИ (Мобильные устройства)
   ========================================================================= */

@media (max-width: 576px) {
    /* Уменьшаем отступы карточки на смартфонах */
    .error-card {
        margin: 30px auto;
        padding: 40px 20px;
    }
  
  .snt-error-svg {
        width: 65px;
        height: 65px;
    }
    
    /* Уменьшаем гигантский текст 404, чтобы он не вылезал за границы */
    .error-title-404 {
        font-size: 72px;
        margin-bottom: 5px;
    }
    
    /* Делаем заголовок чуть компактнее */
    .error-heading {
        font-size: 20px;
    }
    
    /* Оптимизируем размер текста описания */
    .error-text {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    /* Растягиваем кнопку на всю ширину экрана для удобного нажатия пальцем */
    .btn-home {
        display: block;
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* /страница 404 */

/* ==========================================================================
   СЛАЙДЕР НА ГЛАВНОЙ СТРАНИЦЕ
   ========================================================================== */ 
/* Адаптивность для мобильных устройств */
@media (max-width: 991px) {
.hero-slider .splide {
	height: 350px !important;
}

.hero-slider .splide .splide__track .splide__list .splide__slide img {
	height: 350px !important;
	object-fit: cover !important;
	object-position: center;
}

}

@media (max-width: 600px) {
.hero-slider .splide .splide__track .splide__list .splide__slide img {
	height: 300px !important;
	object-fit: cover !important;
	object-position: center;
}

.hero-slider .splide {
	height: 300px !important;
}

}


/* ==========================================================================
   ЛЕВАЯ КОЛОНКА
   ========================================================================== */ 
   
.article-sidebar.sidebar-left { /* Базовый контейнер боковой панели */
  width: 100%;
  max-width: 320px;
  box-sizing: border-box;
}

.article-sidebar * {
  box-sizing: border-box;
}

.article-sidebar .moduletable h3 { /* Заголовок модуля */
	font-weight: 800;
	margin-bottom: 24px;
	margin-top: 0;
	padding-bottom: 15px;
	position: relative;
	z-index: 1;
	color: #111111;
	font-size: 21px;
}

.article-sidebar .moduletable h3::before { /* Длинная основная черта */
  background: #0F4C81;
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  width: 100px;
  z-index: -1;
  transform: skewX(-30deg);	
}

/* Повторяющиеся мини-черточки */
.article-sidebar .moduletable h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 4px;
  z-index: -1;
  width: 60px; /* задаем общую ширину для зоны повторения.  Например, 50px вместит 3 черточки по 10px и зазоры по 5px. */
  left: 105px;   /* Начинаем показ сразу после большой черты (100px + 5px зазор = 105px) */
  background: linear-gradient(to right, #0F4C81 0px, #0F4C81 10px, transparent 10px, transparent 15px);    /* Создаем узор: первые 10px закрашены бирюзовым, следующие 5px — прозрачные */ /* Разрешаем узору повторяться по горизонтали */
  background-size: 15px 4px; /* 15px — это шаг повторения (10px черта + 5px зазор) */
  background-repeat: repeat-x;
  transform: skewX(-30deg);
}





/* Контейнер меню со светло-серым фоном */
.mod-menu.side-menu {
    list-style: none;
    padding: 12px 0;
    margin: 0;
    max-width: 320px; /* Немного увеличили ширину под крупный шрифт */
    background-color: #F9F9F9; /* Светло-серый фон */
}

/* Элемент списка */
.mod-menu.side-menu .nav-item {
    margin: 0;
}

/* Ссылка (черный цвет, подчеркивание, шрифт 17px) */
.mod-menu.side-menu .nav-item a {
    display: flex;
    align-items: center; /* Выравнивает иконку и текст строго по центру */
    padding: 14px 20px;
    color: #000000; /* Черный цвет текста */
    text-decoration: underline; /* Подчеркивание текста */
    font-size: 17px; /* Размер шрифта 17px */
    line-height: 1.4;
    transition: background-color 0.2s ease;
}

/* Эффект наведения на пункт меню */
.mod-menu.side-menu .nav-item a:hover {
    background-color: #eaeaea; /* Мягкое потемнение фона */
}

/* Иконка: цветной круг #FFB534 с белой галочкой внутри */
.mod-menu.side-menu .nav-item a::before {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 22px; /* Размер круга */
    height: 22px;
    margin-right: 14px; /* Отступ между иконкой и текстом */
    /* SVG-код: круг залит цветом #FFB534, галочка нарисована белым цветом */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%230F4C81'/%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}



@media (max-width: 991px) {
.moduletable.side-left-mobile {
	display: none;
}

}










/* Подложка блока */
.link-sections {
	padding: 80px 20px 60px 20px;
	background-color: #EBF1F5;
	box-sizing: border-box;
	border-top: 1px solid #DBE0E3;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MDAiIGhlaWdodD0iNTAwIiB2aWV3Qm94PSIwIDAgNTAwIDUwMCI+CiAgPGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDA4YmQwIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1vcGFjaXR5PSIwLjA4IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPgogICAgPGNpcmNsZSBjeD0iMTUwIiBjeT0iMTUwIiByPSIxMDAiLz4KICAgIDxyZWN0IHg9IjI4MCIgeT0iMjgwIiB3aWR0aD0iMTQwIiBoZWlnaHQ9IjE0MCIgcng9IjIwIi8+CiAgICA8bGluZSB4MT0iNTAiIHkxPSI0MDAiIHgyPSIyMDAiIHkyPSI0MDAiLz4KICAgIDxsaW5lIHgxPSIzNTAiIHkxPSI1MCIgeDI9IjM1MCIgeTI9IjIwMCIvPgogIDwvZz4KPC9zdmc+");
}

/* Сетка Flexbox */
.link-sections-container {
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: stretch;
}

/* Карточка */
.info-card-item {
    flex: 1;
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #DBE0E3;
    position: relative;
    overflow: visible; /* Открыто для вылетающей вверх иконки */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.4s ease;
}

/* Ссылка-обертка контента */
.info-card-link {
    display: flex;
    flex-direction: column;
    padding: 45px 30px 60px 30px; 
    height: 100%;
    text-decoration: none !important;
    box-sizing: border-box;
}

/* Вылетающая бирюзовая иконка */
.info-card-icon {
    position: absolute;
    top: -24px;
    left: 30px;
    width: 52px;
    height: 52px;
    background-color: #0F4C81;
    border: 4px solid #F4F7F6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(28, 142, 150, 0.15);
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.info-card-icon svg {
    width: 22px;
    height: 22px;
}

/* Текстовая зона */
.info-card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Заголовки */
.info-card-text h4 {
    font-size: 19px;
    font-weight: 800;
    color: #1A2F30;
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

/* Описание */
.info-card-text p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

/* Ссылка на малиновом фоне строго по краю блока */
.card-more-link {
    position: absolute;
    bottom: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2ECC71;
    color: #FFFFFF !important;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 8px 0 8px 0; /* Точная стыковка с углами карточки */
    box-shadow: -2px -2px 10px rgba(0, 0, 0, 0.03);
    z-index: 5;
    transition: background-color 0.3s ease;
}

/* Белая стрелочка */
.card-more-link::after {
    content: '→';
    font-size: 15px;
    margin-left: 6px;
    color: #FFFFFF;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- ЭФФЕКТЫ ХОВЕРА --- */
.info-card-item:hover {
    transform: translateY(-8px);
    border-color: rgba(28, 142, 150, 0.25);
    box-shadow: 0 15px 30px rgba(28, 142, 150, 0.08);
}

.info-card-item:hover .info-card-icon {
    transform: translateY(-4px);
    background-color: #2ECC71;
    box-shadow: 0 8px 16px rgba(28, 142, 150, 0.25);
}

.info-card-item:hover .info-card-text h4 {
    color: #0F4C81;
}

.info-card-item:hover .card-more-link {
    background-color: #7b7b7b;
}

.info-card-item:hover .card-more-link::after {
    transform: translateX(4px);
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 992px) {
    .info-card-link { padding: 40px 24px 55px 24px; }
    .info-card-text h4 { font-size: 17px; }
}

@media (max-width: 768px) {
    .link-sections { padding: 60px 0 40px; }
    .link-sections-container { flex-direction: column; gap: 45px; }
    .info-card-item { width: 100%; }
}



	
/* ==========================================================================
    СТИЛИ ДЛЯ БЛОКА НОВОСТИ НА ГЛАВНОЙ
   ========================================================================== */  

/* Подложка модуля новостей */

/* 1. Главная сетка: заставляем дочерние div растягиваться на всю высоту строки */
.media-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Авто-колонки в ряд */
    gap: 20px;
    align-items: stretch; /* Растягивает контейнеры по высоте */
    display: grid;
    /* Две строки: каждая автоматически подстраивается под высоту контента */
    grid-template-rows: repeat(2, minmax(130px, auto));
    list-style: none; 
	padding: 0;
	margin: 0;	
}

/* 2. Заставляем пустой внутренний div и саму карточку занять 100% высоты */
.media-grid > div,
.media-grid > div > div {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 3. Превращаем карточку во Flex-контейнер */
.media-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* Занимает всю доступную высоту */
    background-color: #ffffff;
    border: 1px solid rgba(153, 153, 153, 0.25);
    border-radius: 8px;
    overflow: visible;
    position: relative;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);	
}

/* Компактная картинка на всю ширину блока сверху */
.media-grid > div:nth-child(-n+2) .card-image-wrapper,
.mod-articles-category-group > li:nth-child(-n+2) .item-image,
.mod-articles-category-group > li:nth-child(-n+2) .mod-articles-category-img {
    display: block !important;
    width: 100%;
    height: 260px; /* Аккуратная высота картинки, чтобы не растягивать блок */
    overflow: hidden;
    background-color: #E6EEEE;
	border-radius: 8px 8px 0 0;
}

.media-grid > div:nth-child(-n+2) img,
.mod-articles-category-group > li:nth-child(-n+2) img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

/* 5. Магия выравнивания: card-body забирает ВСЁ свободное пространство */
.card-body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Растягивает текстовый блок, выталкивая футер вниз */
}

.media-card-text {
    flex-grow: 1; /* Растягивает текст описания, если он короткий */	
	display: block !important;
	font-size: 14px;
	line-height: 155%;
	color: #363434;
    margin-bottom: 15px;
}

.media-card-text p {
	margin: 0;
}

/* 7. Подвал карточки с кнопкой прижимается к самому низу */
.media-card-footer {
    margin-top: auto; /* Жестко фиксирует кнопку у нижнего края карточки */
}



.news-media-section {
    padding: 30px 15px;
    box-sizing: border-box;
}
.media-container {
    margin: 0 auto;
}

/* --- ШАПКА СЕКЦИИ --- */
.media-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}
.media-tag {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #2ECC71;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

/* ЗАГОЛОВОК МОДУЛЯ */
.media-title {
	font-weight: 800;
	margin-bottom: 0;
	margin-top: 0;
	padding-bottom: 15px;
	position: relative;
	z-index: 1;
	color: #111111;
	font-size: 26px;
}

.media-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    font-weight: 800;
    color: #0F4C81;
    text-decoration: none !important;
}
.media-more-btn svg { stroke: #0F4C81; transition: all 0.3s ease; }
.media-more-btn:hover { color: #2ECC71; }
.media-more-btn:hover svg { stroke: #2ECC71; transform: translateX(3px); }

/* --- МОДЕРНИЗИРОВАННАЯ ТРЕХКОЛОНОЧНАЯ СЕТКА GRID --- */
.mod-articles-category-group, .mod-articles-news {
    display: grid;
    /* 3fr + 3fr = 60% под крупные блоки. 4fr = 40% под правый столбец списка */
    grid-template-columns: 3fr 3fr 4fr;
    /* Две строки: каждая автоматически подстраивается под высоту контента */
    grid-template-rows: repeat(2, minmax(130px, auto));
    gap: 15px;
    list-style: none; 
	padding: 0;
	margin: 0;
}

/* ЛЕВАЯ СТОРОНА (60% напополам): Первые два блока встают горизонтально в один ряд */
.media-grid > div:nth-child(1), .mod-articles-category-group > li:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.media-grid > div:nth-child(2), .mod-articles-category-group > li:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }

/* ПРАВАЯ СТОРОНА (40%): Третий и четвертый блоки без картинок ложатся в столбец */
.media-grid > div:nth-child(3), .mod-articles-category-group > li:nth-child(3) { grid-column: 3; grid-row: 1; }
.media-grid > div:nth-child(4), .mod-articles-category-group > li:nth-child(4) { grid-column: 3; grid-row: 2; }


/* --- СТИЛЬ ПЛИТОК --- */
.mod-articles-category-group li, .mod-articles-news div {
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 1px solid rgba(153, 153, 153, 0.15);
    overflow: visible;
    position: relative;
    display: flex;
    box-sizing: border-box;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.media-card:hover, .mod-articles-category-group li:hover, .mod-articles-news div:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(28, 142, 150, 0.04);
}

/* Внутренние отступы (снизу зафиксирован padding под текстовую ссылку) */
.card-body, .mod-articles-category-textblock {
    padding: 14px 20px 35px 20px; 
    display: flex; flex-direction: column; flex: 1; justify-content: center;
}

/* --- ОФОРМЛЕНИЕ ПЕРВЫХ 2-Х КАРТОЧЕК (С КАРТИНКОЙ СВЕРХУ) --- */
.media-grid > div:nth-child(-n+2),
.mod-articles-category-group > li:nth-child(-n+2) {
    flex-direction: column !important;
    align-items: stretch;
}

.media-card-title {
	font-size: 17px;
	margin: 7px 0;
	line-height: 125%;
}

/* --- ОФОРМЛЕНИЕ 3-ГО И 4-ГО ПРАВЫХ МАТЕРИАЛОВ (СТОЛБИКОМ БЕЗ КАРТИНОК) --- */
.media-grid > div:nth-child(n+3) .card-image-wrapper,
.mod-articles-category-group > li:nth-child(n+3) .item-image,
.mod-articles-category-group > li:nth-child(n+3) .mod-articles-category-img {
    display: none !important; /* Полностью скрываем картинки и вводный текст у правого списка */
}

.media-grid > div:nth-child(n+3) .card-body,
.mod-articles-category-group > li:nth-child(n+3) .mod-articles-category-textblock {
    padding: 12px 18px 35px 18px;
}

.media-grid > div:nth-child(n+3) h4 a,
.mod-articles-category-group > li:nth-child(n+3) .mod-articles-category-title a {
    font-size: 16px;
}



/* --- ДАТА И ССЫЛКИ ПОДРОБНЕЕ (ДЛЯ ВСЕХ 4 МАТЕРИАЛОВ) --- */
.media-date, .mod-articles-category-date, .info-date, .news-media-section dl, .news-media-section dd {
    order: -1;
}

.media-card-title a {
	color: #0F4C81 !important;
	text-decoration: underline !important;
	transition: color 0.3s ease;
}

.media-card:hover .media-card-title a {
	color: #414243 !important;
	text-decoration: none !important;
}

/* Фиксация малиновой ссылки "Подробнее" в нижнем правом углу */
.news-media-section .readmore a {
	display: inline-flex;
	position: absolute;
	bottom: 24px;
	right: 20px;
	align-items: center;
	font-size: 15px;
	font-weight: 800;
	color: #2ECC71 !important; 
	text-decoration: none;
	z-index: 99;
	border-bottom: 1px solid;
	background: none;
}

 .readmore a:after {
	content: '→'; 
	font-size: 12px; 
	margin-left: 5px; 
	color: #2ECC71; 
	transition: transform 0.3s ease; 
}

.media-card:hover .readmore a:after {
	transform: translateX(4px);
}

.media-card:hover .card-more-link::after, .mod-articles-category-group li:hover .card-more-link::after { transform: translateX(4px) !important; }

/* --- ИДЕАЛЬНАЯ МОБИЛЬНАЯ АДАПТИВНОСТЬ --- */
@media (max-width: 992px) {
    .media-grid, .mod-articles-category-group, .mod-articles-news { 
        grid-template-columns: 1fr 1fr; /* Перестраиваем сетку в одну ровную колонку */
        gap: 25px; 
    }
    
    /* Сбрасываем все привязки Grid-колонок и строк */
    .media-grid > div, .mod-articles-category-group > li { 
	grid-column: span 1 !important; 
	grid-row: auto !important; 
	}
    
    /* Оптимизируем картинки сверху у первых двух карточек на мобильных */
    .media-grid > div:nth-child(-n+2) .card-image-wrapper, 
    .mod-articles-category-group > li:nth-child(-n+2) .item-image { height: 160px; }
    
    /* Второстепенные текстовые новости на смартфонах продолжают список без картинок, экономя место */
    .media-grid > div:nth-child(n+3) .card-body, .mod-articles-category-textblock { padding: 14px 18px 35px 18px; }
}

@media (max-width: 767px) {
.media-grid, .mod-articles-category-group, .mod-articles-news {
	grid-template-columns: 1fr;
	gap: 15px;
}

.news-media-section {
	padding: 30px 0;
}

}

@media (max-width: 576px) {
    .media-header { 
	flex-direction: column; 
	align-items: flex-start; 
	gap: 6px; }
	
    .media-title { font-size: 22px; }
}




	
/* ==========================================================================
    БАЗОВЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ БЛОГА КАТЕГОРИИ
   ========================================================================== */  	

/* --- 1. ОБЩИЙ КОНТЕЙНЕР БЛОГА И ОПИСАНИЕ КАТЕГОРИИ --- */
/*.com-content-category-blog.blog {
	margin: 0 auto;
	padding: 40px 15px;
}*/

.com-content-category-blog.blog h1 {
	font-size: 24px;
	color: #1a1a1a;
	margin-bottom: 20px;
	letter-spacing: -0.5px;
}

/* --- ОПИСАНИЕ КАТЕГОРИИ --- */
.com-content-category-blog .category-desc {
	background-color: #FAFDFF;
	border: 1px solid #E7EDF3;
	border-radius: 8px;
	padding: 30px;
	margin-top: 10px;
	margin-bottom: 50px;
	box-sizing: border-box;
	box-shadow: 0 4px 20px rgba(0, 139, 208, 0.06);
	position: relative;
}

/* Стилизация жирного текста (например, приветствия садоводов) */
.com-content-category-blog .category-desc strong,
.com-content-category-blog .category-desc p strong {
  font-size: 18px;
  line-height: 1.4;
  color: #0F4C81; /* Насыщенный глубокий синий для отличной читаемости */
  font-weight: 800;
  display: inline-block;
  margin-bottom: 8px; /* Небольшой отступ до обычного текста */
}

/* Стилизация основного текста описания */
.com-content-category-blog .category-desc p {
  font-size: 15px;
  line-height: 1.65;
  color: #334155; /* Комфортный графитовый цвет основного текста */
  margin: 0;
}

/* Если в админке вбито несколько абзацев текста, задаем им аккуратные отступы */
.com-content-category-blog .category-desc p + p {
  margin-top: 12px;
}

/* Адаптивность для маленьких мобильных экранов */
@media (max-width: 576px) {
  .com-content-category-blog .category-desc {
    padding: 24px;
    margin-bottom: 35px;
  }
  .com-content-category-blog .category-desc::before {
    left: 24px; /* Немного сдвигаем зажим на мобильных */
  }
}




/* ----  2. АДАПТИВНАЯ СЕТКА И КАРТОЧКИ С НОВОСТЯМИ --------- */

.com-content-category-blog__items.blog-items {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}
@media (min-width: 768px) { .com-content-category-blog__items.blog-items { grid-template-columns: repeat(2, 1fr); } }

@media (min-width: 1200px) { 

.com-content-category-blog__items.blog-items { 
	grid-template-columns: repeat(3, 1fr); 
}

}

.com-content-category-blog__item.blog-item {
	position: relative;
	background: #ffffff;
	border: 1px solid #eef0f2;
	border-radius: 8px;
	overflow: hidden; /* Иконка будет аккуратно срезаться по контуру скругления карточки */
	display: flex;
	flex-direction: column;
	/*height: 100%;*/
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	font-size: 14px;
	line-height: 1.5;
	color: #4a5568;
	margin: 0 0 24px 0;
	flex-grow: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3; 
	-webkit-box-orient: vertical;
}

/* Большая фоновая иконка на 1/3 блока */
.bg-icon .com-content-category-blog__item.blog-item::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 110px;
	height: 110px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230F4C81' stroke-width='1.5'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	opacity: 0.05; 
	z-index: 1; /* Оставляем на подложке */
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.3s ease;
}

/* Эффект при наведении на блок */
.bg-icon .com-content-category-blog__item.blog-item:hover::before {
	opacity: 0.12; /* Иконка мягко проявляется */
	transform: scale(1.1) rotate(-5deg); /* Слегка увеличивается и кокетливо поворачивается */
}

/* Защита контента: приподнимаем текстовый блок над фоновой иконкой */
.bg-icon .com-content-category-blog__item.blog-item .card-body,
.bg-icon .com-content-category-blog__item.blog-item .news-useful-body {
	position: relative;
	z-index: 2; 
}


/* Большая фоновая иконка на 1/3 блока */
.bg-icon-doc .com-content-category-blog__item.blog-item::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 110px;
	height: 110px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230F4C81' stroke-width='1.5'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'/%3E%3Cpath d='M2 10h20'/%3E%3Cpath d='M6 14h4'/%3E%3Cpath d='M6 17h8'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	opacity: 0.05; 
	z-index: 1; /* Оставляем на подложке */
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.3s ease;
}

/* Эффект при наведении на блок */
.bg-icon-doc .com-content-category-blog__item.blog-item:hover::before {
	opacity: 0.12; /* Иконка мягко проявляется */
	transform: scale(1.1) rotate(-5deg); /* Слегка увеличивается и кокетливо поворачивается */
}

/* Защита контента: приподнимаем текстовый блок над фоновой иконкой */
.bg-icon-doc .com-content-category-blog__item.blog-item .card-body,
.bg-icon-doc .com-content-category-blog__item.blog-item .news-useful-body {
	position: relative;
	z-index: 2; 
}

.com-content-category-blog__item.blog-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.com-content-category-blog__item .item-content {
	display: flex;
	flex-direction: column;
	flex-grow: 1; 
	padding:24px;
}

/* Изображение анонса */
.com-content-category-blog__item .item-image {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 200px; 
	overflow: hidden;
	background-color: #f7f9fa;
	flex-shrink: 0;
}

.com-content-category-blog__item .item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover; 
	object-position: center;
	transition: transform 0.4s ease;
}

.com-content-category-blog__item:hover .item-image img {
	transform: scale(1.04);
}

.com-content-category-blog__item .item-content .readmore a::after {
	content: none !important;
	font-size: 0 !important;
	margin-left: 0 !important;
	color: transparent !important;
	transition: none !important;
}


/* ==== 4. ЕДИНОЕ ОФОРМЛЕНИЕ ДАТЫ ПУБЛИКАЦИИ (ВСЕГДА ПЕРЕД ЗАГОЛОВКОМ) ==== */

.com-content-category-blog__item .article-info {
	position: static !important; /* Принудительно возвращаем в текстовый поток */
	margin-top: 0 !important;
	margin-bottom: 14px !important; /* Отступ до заголовка */
}

.com-content-category-blog__item .article-info dd.published {
	display: inline-flex;
	align-items: center;
	font-size: 0.75rem;
	font-weight: 600;
	color: #0F4C81;
	background-color: rgba(28, 142, 150, 0.08);
	padding: 1px 6px;
	border-radius: 4px;
	margin-right: 4px;
	vertical-align: middle;
}

.com-content-category-blog__item .article-info .icon-calendar {
	color: #64748b;
	font-size: 13px;
}

.category-name a {
	font-size: 14px;
	text-decoration: underline;
	color: #6C6C6C;
}

/* ==========================================================================
   5. ЗАГОЛОВОК, ТЕКСТ АНОНСА И ИНВЕРТИРОВАННЫЕ КНОПКИ
   ========================================================================== */
.com-content-category-blog__item .page-header { margin-bottom: 12px; }
.com-content-category-blog__item .page-header h2 {
	font-size: 18px;
	line-height: 140%;
	margin: 0;
}
.com-content-category-blog__item .page-header h2 a { color: #1a202c; text-decoration: none; transition: color 0.2s ease; }
.com-content-category-blog__item .page-header h2 a:hover { color: #0F4C81; }


.com-content-category-blog__item .readmore { margin-top: auto; padding: 0; }
.com-content-category-blog__item .readmore a.btn {
	display: block;
	text-align: center;
	width: 100%;
	padding: 11px 16px;
	background-color: #0F4C81 !important;
	color: #ffffff !important;
	border: 1px solid #0F4C81 !important;
	font-size: 15px;
	font-weight: 600;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0, 139, 208, 0.15);
	transition: all 0.2s ease;
	text-decoration: none;
}

.com-content-category-blog__item .readmore a.btn:hover {
	background-color: #f1f5f9 !important; /* При наведении серая */
	color: #475569 !important;
	border-color: #cbd5e1 !important;
	box-shadow: none;
}

.com-content-category-blog__item .readmore {
	margin-top: 12px;
	padding: 0;
	margin-bottom: 0;
}





/* ==========================================================================
   ЛЕНТА НОВОСТЕЙ В ОДНУ КОЛОНКУ (ИЗОБРАЖЕНИЕ СЛЕВА)
   ========================================================================== */

/* Общий контейнер для списка всех новостей */
.news .com-content-category-blog__items.blog-items {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Отступ между новостями */
    width: 100%;
}

/* Карточка отдельной новости */
.news .com-content-category-blog__item.blog-item {
    position: relative;
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.25s ease, box-shadow 0.25s ease;

    /* Включаем Flexbox: выстраивает картинку и текст в одну строку */
    display: flex;
    flex-direction: row; 
    height: auto;
}

/* Эффект наведения на всю карточку */
.news .com-content-category-blog__item.blog-item:hover {
    transform: translateY(-2px);
    border-color: #0F4C81; /* Ваша фирменная синяя рамка */
    box-shadow: 0 6px 20px rgba(0, 139, 208, 0.08);
}

/* --- ОБНОВЛЕННЫЙ БЛОК С ИЗОБРАЖЕНИЕМ (СЛЕВА) --- */
.news .com-content-category-blog__item.blog-item .item-image {
    margin: 0;
    padding: 0;
    
    /* Фиксируем ширину картинки, чтобы она не сжималась и не расширялась */
    flex: 0 0 260px; 
    width: 260px;
    
    /* Заставляем блок картинки быть ВСЕГДА одной высоты с текстовым блоком */
    height: auto; 
    align-self: stretch; 
    
    overflow: hidden;
}

.news .com-content-category-blog__item.blog-item .item-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.news .com-content-category-blog__item.blog-item .item-image img {
    width: 100%;
    height: 100%; /* Картинка теперь займет 100% высоты карточки, какой бы высокой она ни была */
    
    /* Умное заполнение: картинка масштабируется пропорционально без искажений и швов */
    object-fit: cover; 
    object-position: center; /* Центрируем фокус изображения */
    
    display: block;
    transition: transform 0.4s ease;
}

/* --- БЛОК С ТЕКСТОМ И КОНТЕНТОМ (СПРАВА) --- */
.news .com-content-category-blog__item.blog-item .item-content {
    padding: 24px;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}




/* Заголовок новости */
.news .com-content-category-blog__item.blog-item .page-header {
    margin: 0 0 8px 0;
}

.news .com-content-category-blog__item.blog-item .page-header h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}

.news .com-content-category-blog__item.blog-item .page-header h2 a {
    color: #0F4C81; /* Ваш темный цвет */
    text-decoration: underline;
    transition: color 0.2s ease;
}

.news .com-content-category-blog__item.blog-item:hover .page-header h2 a {
    color: #101E2C; /* Синеет при наведении */
    text-decoration: none;	
}

/* Блок с датой */
.news .com-content-category-blog__item.blog-item .article-info {
    margin: 0 0 12px 0;
    padding: 0;
    display: flex;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
}

.news .com-content-category-blog__item.blog-item .item-content p.readmore {
	margin: 10px 0 0 0;
	display: none;
}

/* Кнопка подробнее */
/* ==========================================================================
   ИСПРАВЛЕНИЕ ОТОБРАЖЕНИЯ КНОПКИ "ПОДРОБНЕЕ" В JOOMLA 6
   ========================================================================== */

/* Контейнер-обертка: по-прежнему выравнивает содержимое вправо */
.news .com-content-category-blog__item.blog-item .readmore {
    margin: 20px 0 0 0;
    display: flex;
    justify-content: flex-end; /* Сдвигает кнопку строго вправо */
    width: 100%;               /* Растягиваем сам контейнер */
}

/* Исправленная кнопка "Подробнее" */
.news .com-content-category-blog__item.blog-item .readmore .btn-secondary {
	background-image: none;
	box-shadow: none;
	text-shadow: none;
	display: inline-flex;
	width: max-content;
	background: transparent;
	border: 1.5px solid #00BFA5;
	border-radius: 8px;
	padding: 8px 28px;
	color: #00BFA5;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.3px;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Эффект при наведении (Hover) */
.news .com-content-category-blog__item.blog-item .readmore .btn-secondary:hover,
.news .com-content-category-blog__item.blog-item .readmore .btn-secondary:focus,
.news .com-content-category-blog__item.blog-item .readmore .btn-secondary:active {
	background-color: #f1f5f9;
	color: #475569;
	border-color: #cbd5e1;
	box-shadow: none;
    transform: translateY(-1px);
}

/* Иконка-стрелочка внутри кнопки */
.news .com-content-category-blog__item.blog-item .readmore .btn-secondary .icon-chevron-right {
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    color: inherit;
    transition: transform 0.2s ease;
}

/* Анимация стрелочки при наведении */
.news .com-content-category-blog__item.blog-item .readmore .btn-secondary:hover .icon-chevron-right {
    transform: translateX(3px);
}


/* --- АДАПТИВНОСТЬ ПОД МОБИЛЬНЫЕ ТЕЛЕФОНЫ --- */
@media (max-width: 768px) {
    .news .com-content-category-blog__item.blog-item {
        flex-direction: column; /* На телефонах картинка встает НАД текстом */
    }
    
   .news .com-content-category-blog__item.blog-item .item-image {
        width: 100%;       /* Картинка во всю ширину экрана */
        max-height: 200px;
    }
    
    .news .com-content-category-blog__item.blog-item .item-content {
        padding: 16px;     /* Чуть компактнее отступы для пальцев */
    }
}













/* Базовый стиль для ссылок-файлов */
a[href$=".pdf"], a[href$=".docx"], a[href$=".doc"], a[href$=".xlsx"], a[href$=".xls"], a[href$=".zip"], a[href$=".rar"] {
	display: inline-flex !important;
	 align-items: center; 
	gap: 10px;
	/* padding: 15px 16px; */
	/* background-color: #fff; */
	/* border-radius: 10px; */
	text-decoration: none;
	color: #101e2c;
	transition: all 0.2s ease;
	box-sizing: border-box;
	width: auto;
	/* max-width: 400px; */
	margin: 4px 0 0;
	/* border: 1px solid #e5e5e5; */
}

/* Контейнер для двух строк */
.btn-inner-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}

.btn-inner-text span {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: underline;
}

.btn-inner-text span:hover {
	text-decoration: none;
}

.btn-inner-text small {
  font-size: 13px;
  color: #90a0b0;
  font-weight: 400;
  transition: color 0.2s ease;
}

small span.js-file-size {
	font-size: 13px;
	font-weight: normal;
	text-decoration: none;
}

/* Эффекты наведения (Hover) */
a[href$=".pdf"]:hover, a[href$=".docx"]:hover, a[href$=".doc"]:hover, 
a[href$=".xlsx"]:hover, a[href$=".xls"]:hover, a[href$=".zip"]:hover, a[href$=".rar"]:hover {
  color: #536679;
}

a[href$=".pdf"]:hover .btn-inner-text small, 
a[href$=".docx"]:hover .btn-inner-text small, 
a[href$=".xlsx"]:hover .btn-inner-text small, 
a[href$=".zip"]:hover .btn-inner-text small,
a[href$=".rar"]:hover .btn-inner-text small {
  color: #536679;
}

/* --- ОБЩАЯ ИКОНКА ДЛЯ ВСЕХ ФАЙЛОВ --- */
a[href$=".pdf"]::before, a[href$=".docx"]::before, a[href$=".doc"]::before, 
a[href$=".xlsx"]::before, a[href$=".xls"]::before, a[href$=".zip"]::before, a[href$=".rar"]::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  transition: filter 0.2s ease;
  
  /* Единая серая иконка документа с правильным пространством имен (xmlns) */
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230F4C81' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E");

}

/* Превращение серой иконки в белую при наведении на плашку */

a[href$=".pdf"]:hover::before, a[href$=".docx"]:hover::before, a[href$=".doc"]:hover::before,
a[href$=".xlsx"]:hover::before, a[href$=".xls"]:hover::before, a[href$=".zip"]:hover::before, a[href$=".rar"]:hover::before {
filter: brightness(0) brightness(0.2) !important;

}








/* ==========================================================================
   1. СТРУКТУРА И СЕТКА ТАБЛИЦЫ РЕКВИЗИТОВ (ПК ВЕРСИЯ)
   ========================================================================== */
table.payment-data-table {
    width: 100%;
    border-collapse: collapse; /* Строгая единая структура без разрывов */
    margin: 28px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0; /* Аккуратный внешний контур всей таблицы */
}

/* Строгая лаконичная шапка колонок */
table.payment-data-table th {
    color: #0f172a;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-align: left;
    padding: 16px 20px;
    background-color: #f8fafc; /* Светло-серый фон шапки */
    border-bottom: 2px solid #e2e8f0;
}

/* Фиксация базовой геометрии ширины колонок на ПК */
table.payment-data-table th:nth-child(1),
table.payment-data-table td:nth-child(1) { width: 160px; } /* Параметр */
table.payment-data-table th:nth-child(2),
table.payment-data-table td:nth-child(2) { width: auto; }  /* Данные */
table.payment-data-table th:nth-child(3),
table.payment-data-table td:nth-child(3) { width: 260px; white-space: normal; } /* Примечание */

/* Ячейки таблицы (ЖЕСТКО СТАТИЧНЫЕ ДЛЯ ТЕКСТА) */
table.payment-data-table td {
    padding: 16px 20px;
    vertical-align: top; /* Выравнивание по верхнему краю для удобства чтения */
    border-bottom: 1px solid #f1f5f9;
    /* Все паддинги неизменны, текст никогда не дёрнется при наведении */
    transition: background-color 0.15s ease;
}

/* Минимальный интерактивный отклик при наведении на строку */
table.payment-data-table tbody tr:hover td {
    background-color: #f8fafc; /* Легкое тонирование строки для удержания взгляда */
}

/* --- КОНТРАСТНЫЙ СТИЛЬ КОДОВ ДЛЯ КОПИРОВАНИЯ --- */
table.payment-data-table td code {
    background: #ebf8ff; /* Очень легкий, чистый голубой фон в цвет палитры 84C8EA */
    padding: 4px 8px;
    border-radius: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #0F4C81; /* Реквизиты выделены вашим фирменным синим цветом */
    font-size: 13.5px;
    font-weight: 600;
    display: inline-block;
    word-break: break-all;
    border: 1px solid rgba(0, 139, 208, 0.15); /* Тонкая синяя граница для зоны копирования */
}

/* --- ВНУТРЕННЯЯ ТИПОГРАФИКА ДАННЫХ --- */
table.payment-data-table div.board-title {
    font-size: 11px;
    font-weight: 800;
    color: #64748b; /* Спокойный серый цвет для мелких надписей */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

table.payment-data-table td strong {
    color: #0f172a;
    font-size: 15px;
    display: block;
}


/* ==========================================================================
   2. УДОБНАЯ МОБИЛЬНАЯ АДАПТАЦИЯ (ЭКРАНЫ МЕНЕЕ 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* Скрываем десктопную шапку на смартфонах */
    table.payment-data-table thead {
        display: none; 
    }
    
    table.payment-data-table {
        border: none; /* Убираем общую рамку таблицы на мобильном */
        background: transparent;
    }
    
    /* Переводим таблицу в блочный вертикальный контейнер */
    table.payment-data-table, 
    table.payment-data-table tbody,
    table.payment-data-table tbody tr {
        display: block;
        width: 100%;
    }
    
    /* Каждая строка превращается в отдельную красивую мобильную карточку */
    table.payment-data-table tbody tr {
        margin-bottom: 16px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background: #ffffff;
        padding: 16px;
        box-sizing: border-box;
        box-shadow: 0 2px 4px rgba(15, 23, 42, 0.01);
    }
    
    /* Перестраиваем ячейки в последовательные блоки друг под другом */
    table.payment-data-table td {
        display: block;
        width: 100% !important; /* Сбрасываем десктопную ширину колонок */
        padding: 0 !important; 
        border: none !important; /* Убираем десктопные рамки ячеек */
        background-color: transparent !important;
        text-align: left;
    }
    
    /* Зона заголовка параметра на мобильном */
    table.payment-data-table td:first-child {
        margin-bottom: 8px;
    }
    
    /* Данные для копирования */
    table.payment-data-table td:nth-child(2) {
        font-size: 14px;
        margin-bottom: 12px;
        padding-top: 8px !important;
        border-top: 1px solid #f1f5f9 !important; /* Мобильный разделитель */
    }
    
    /* Зона примечания на мобильном */
    table.payment-data-table td:last-child {
        font-size: 13px;
        font-weight: 500;
        color: #475569;
        background-color: #f8fafc !important; /* Серый мобильный инфо-блок */
        padding: 10px 14px !important;
        border-radius: 8px;
        margin-top: 6px;
    }
}












/* ==========================================================================
   ИЗОЛИРОВАННАЯ ПАГИНАЦИЯ И СЧЕТЧИК СТРАНИЦ
   ========================================================================== */
div.com-content-category-blog nav, div.blog nav, .pagination-wrapper {
  display: flex !important; justify-content: center !important; align-items: center !important;
  width: 100% !important; margin: 50px auto 20px auto !important; padding: 0 !important;
  background: transparent !important; border: none !important; box-shadow: none !important; float: none !important;
}

body ul.pagination {
  display: flex !important; flex-direction: row !important; flex-wrap: wrap !important;
  justify-content: center !important; align-items: center !important;
  padding: 0 !important; margin: 0 !important; list-style: none !important;
  background: transparent !important; border: none !important; gap: 8px !important;
}

body ul.pagination li { display: inline-flex !important; float: none !important; margin: 0 !important; padding: 0 !important; list-style: none !important; border: none !important; }

body ul.pagination li a, body ul.pagination li span {
  display: flex !important; align-items: center !important; justify-content: center !important;
  min-width: 40px !important; height: 40px !important; padding: 0 12px !important;
  font-size: 14px !important; font-weight: 600 !important; color: #475569 !important; text-decoration: none !important;
  background-color: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 8px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important; transition: all 0.2s ease !important; box-sizing: border-box !important; position: relative !important;
}

body ul.pagination li [class^="icon-"], body ul.pagination li [class*=" icon-"], body ul.pagination li a span[class], body ul.pagination li span span[class] { display: none !important; }

body ul.pagination li:first-child a, body ul.pagination li:first-child span,
body ul.pagination li:nth-child(2) a, body ul.pagination li:nth-child(2) span,
body ul.pagination li:nth-last-child(2) a, body ul.pagination li:nth-last-child(2) span,
body ul.pagination li:last-child a, body ul.pagination li:last-child span {
  font-size: 0 !important; color: transparent !important; padding: 0 !important; width: 40px !important;
}

body ul.pagination li:first-child a::before, body ul.pagination li:first-child span::before { content: "«" !important; font-size: 16px !important; color: #475569 !important; display: block !important; }
body ul.pagination li:nth-child(2) a::before, body ul.pagination li:nth-child(2) span::before { content: "‹" !important; font-size: 18px !important; color: #475569 !important; display: block !important; }
body ul.pagination li:nth-last-child(2) a::before, body ul.pagination li:nth-last-child(2) span::before { content: "›" !important; font-size: 18px !important; color: #475569 !important; display: block !important; }
body ul.pagination li:last-child a::before, body ul.pagination li:last-child span::before { content: "»" !important; font-size: 16px !important; color: #475569 !important; display: block !important; }

body ul.pagination li a:hover { color: #0F4C81 !important; background-color: #f8fafc !important; border-color: #0F4C81 !important; transform: translateY(-1px) !important; }
body ul.pagination li a:hover::before { color: #0F4C81 !important; }

body ul.pagination li.active span, body ul.pagination li.active a, body ul.pagination .active span {
  color: #ffffff !important; background-color: #0F4C81 !important; border-color: #0F4C81 !important; box-shadow: 0 4px 12px rgba(0, 139, 208, 0.25) !important;
}

body ul.pagination li.disabled span, body ul.pagination li.disabled a, body ul.pagination .disabled span { background-color: #f8fafc !important; border-color: #e2e8f0 !important; pointer-events: none !important; box-shadow: none !important; }
body ul.pagination li.disabled span::before { color: #cbd5e1 !important; }

p.com-content-category-blog__counter.counter {
  display: block !important; float: none !important; text-align: center !important; width: 100% !important;
  margin: 20px 0 0 0 !important; padding: 0 !important; font-size: 13px !important; font-weight: 500 !important; color: #64748b !important; letter-spacing: 0.5px !important;
}

.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }



/* ==========================================================================
   1. СТИЛИ ДЛЯ БОЛЬШИХ ЭКРАНОВ (ПК И ПЛАНШЕТЫ)
   ========================================================================== */

/* Базовая структура таблицы */
table.board-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
    background: transparent;
    border: none;
}

/* --- СТИЛИЗАЦИЯ ШАПКИ ТАБЛИЦЫ --- */
table.board-table th {
    color: #475569; /* Спокойный благородный серый */
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-align: left;
    padding: 14px 20px;
    background: transparent;
    /* Тонкое стильное подчеркивание шапки вашим цветом 0F4C81 */
    border-bottom: 2px solid #0F4C81; 
}

/* Жесткая фиксация ширины колонок */
table.board-table th:nth-child(1) { width: 220px; }
table.board-table th:nth-child(2) { width: auto; }

/* --- УВЕЛИЧЕННАЯ ШИРИНА БЛОКА КОНТАКТОВ --- */
table.board-table th:nth-child(3),
table.board-table td:nth-child(3) { 
    width: 250px; 
    white-space: nowrap;
}

/* Эффект чередования строк (Zebra) для легкого чтения длинных таблиц */
table.board-table tbody tr:nth-child(even) {
    background-color: #f8fafc; /* Каждая вторая строка имеет мягкий пастельный фон */
}
table.board-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

/* Фиксированные ячейки таблицы (ЖЕСТКО СТАТИЧНЫЕ) */
table.board-table td {
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
    /* Все паддинги строго зафиксированы, текст никогда не дёрнется */
    transition: background-color 0.2s ease;
}

/* Эффект при наведении на строку — мягкое наполнение голубым цветом 84C8EA */
table.board-table tbody tr:hover td {
    background-color: rgba(132, 200, 234, 0.12); 
    color: #0f172a; /* Текст становится чуть темнее и контрастнее */
}

/* Аккуратное фото со скруглением */
table.board-table td img {
    display: block;
    width: 54px;
    height: 54px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

/* Внутренняя разметка текста */
table.board-table h5 {
    font-size: 11px;
    font-weight: 800;
    color: #0F4C81; /* Должность выделена глубоким сини */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

table.board-table td strong {
    color: #0f172a;
    font-size: 15px;
    display: block;
}

table.board-table td div.board-email {
    color: #0F4C81;
    margin-top: 4px;
}


/* ==========================================================================
   2. УДОБНАЯ МОБИЛЬНАЯ АДАПТАЦИЯ (ЭКРАНЫ МЕНЕЕ 768px)
   ========================================================================== */
@media (max-width: 768px) {
    
    table.board-table thead {
        display: none;
    }
    
    table.board-table, 
    table.board-table tbody,
    table.board-table tbody tr {
        display: block;
        width: 100%;
    }
    
    table.board-table tbody tr {
        margin-bottom: 16px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background: #ffffff !important; /* Отключаем зебру на мобильных */
        padding: 16px;
        box-sizing: border-box;
    }
    
    table.board-table td {
        display: block;
        width: 100% !important;
        padding: 0 !important; 
        border: none !important;
        text-align: left;
        white-space: normal !important;
    }
    
    table.board-table td:first-child {
        float: left;
        margin-right: 14px;
        margin-bottom: 10px;
    }
    
    table.board-table td:nth-child(2) {
        margin-bottom: 12px;
        min-height: 54px;
    }
    
    table.board-table td:nth-child(3) {
        clear: both;
        font-size: 13.5px;
        color: #475569;
        margin-bottom: 12px;
        padding-top: 8px !important;
        border-top: 1px solid #f1f5f9;
    }
    
    table.board-table td:last-child {
        font-size: 13.5px;
        background-color: #f8fafc;
        padding: 10px 14px !important;
        border-radius: 8px;
        margin-top: 8px;
    }
    
    table.board-table tbody tr:hover td {
        background-color: transparent;
    }
}









/* ==========================================================================
   1. ОБЩАЯ СТРУКТУРА КАРТОЧНОЙ ТАБЛИЦЫ (ПК ВЕРСИЯ)
   ========================================================================== */
table.infra-data-table {
    width: 100%;
    border-collapse: separate; /* Обязательно для карточного эффекта разделения строк */
    border-spacing: 0 16px; /* Дистанция между карточками */
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    background: transparent;
    border: none;
}

/* Современная минималистичная шапка колонок */
table.infra-data-table th {
    color: #64748b;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: left;
    padding: 8px 24px;
    border: none;
    background: transparent;
}

/* Фиксация базовой геометрии ширины колонок на ПК */
table.infra-data-table th:nth-child(1),
table.infra-data-table td:nth-child(1) { width: 220px; }
table.infra-data-table th:nth-child(2),
table.infra-data-table td:nth-child(2) { width: auto; }
table.infra-data-table th:nth-child(3),
table.infra-data-table td:nth-child(3) { width: 260px; white-space: normal; }

/* Сброс фона строк (критично для работы border-radius) */
table.infra-data-table tbody tr {
    background-color: transparent; 
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- ЖЕЛЕЗНОЕ ИСПРАВЛЕНИЕ BORDER-RADIUS И СЛОЕВ ТАБЛИЦЫ --- */

/* Ячейки таблицы (ЖЕСТКО СТАТИЧНЫЕ ДЛЯ ТЕКСТА) */
table.infra-data-table td {
    padding: 24px;
    vertical-align: top;
    background-color: #ffffff; /* Переносим белый фон на каждую ячейку отдельно */
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    border-left: none;
    border-right: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02); /* Переносим базовую тень на ячейки */
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Скругление углов для КРАЙНЕЙ ЛЕВОЙ ячейки строки (верхний левый и нижний левый углы) */
table.infra-data-table tbody td:first-child {
    border-radius: 8px 0 0 8px;
    border-left: 1px solid #f1f5f9; /* Закрываем левый контур карточки */
}

/* Скругление углов для КРАЙНЕЙ ПРАВОЙ ячейки строки (верхний правый и нижний правый углы) */
table.infra-data-table tbody td:last-child {
    border-radius: 0 8px 8px 0;
    border-right: 1px solid #f1f5f9; /* Закрываем правый контур карточки */
}

/* Интерактивный отклик БЛОКА при наведении (Текст остается неподвижным) */
table.infra-data-table tbody tr:hover {
    transform: translateY(-3px); /* Мягкое парение всей карточки */
}

/* При ховере подсвечиваем все ячейки строки общей глубокой тенью и рамкой */
table.infra-data-table tbody tr:hover td {
    background-color: #fafafa; /* Очень легкое нейтральное изменение фона */
    border-top-color: rgba(132, 200, 234, 0.6); /* Грани рамки становятся нежно-голубыми 84C8EA */
    border-bottom-color: rgba(132, 200, 234, 0.6);
    box-shadow: 0 12px 24px -8px rgba(0, 139, 208, 0.12); /* Мягкая синяя тень 0F4C81 */
}

table.infra-data-table tbody tr:hover td:first-child {
    border-left-color: rgba(132, 200, 234, 0.6);
}

table.infra-data-table tbody tr:hover td:last-child {
    border-right-color: rgba(132, 200, 234, 0.6);
}

/* --- ВНУТРЕННЯЯ ТИПОГРАФИКА ДАННЫХ --- */
table.infra-data-table div.board-title {
    font-size: 11px;
    font-weight: 800;
    color: #0F4C81; /* Роль выделена глубоким синим */
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

table.infra-data-table td strong {
    color: #0f172a;
    font-size: 16px;
    display: block;
}


/* ==========================================================================
   2. БЕЗОПАСНЫЕ ПОЛНОСТЬЮ ЗАКОДИРОВАННЫЕ SVG-ИКОНКИ СЛЕВА
   ========================================================================== */
table.infra-data-table tbody td:first-child {
    padding-left: 64px; /* Жесткое статичное место слева под иконку — текст не прыгнет */
    background-repeat: no-repeat;
    background-position: 24px 26px; /* Фиксированное положение иконки */
    background-size: 24px 24px;
}

/* Строка 1: Энергетика (Иконка: Молния) */
table.infra-data-table tbody tr:nth-child(1) td:first-child {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230F4C81%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolygon%20points%3D%2213%202%203%2014%2012%2014%2011%2022%2021%2010%2012%2010%2013%202%22%2F%3E%3C%2Fsvg%3E");
}

/* Строка 2: Водопровод (Иконка: Капля) */
table.infra-data-table tbody tr:nth-child(2) td:first-child {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230F4C81%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2022a7%207%200%200%200%207-7c0-4.3-7-13-7-13S5%2010.7%205%2015a7%207%200%200%200%207%207z%22%2F%3E%3C%2Fsvg%3E");
}

/* Строка 3: Транспорт (Иконка: Карта/Дороги) */
table.infra-data-table tbody tr:nth-child(3) td:first-child {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230F4C81%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolygon%20points%3D%221%206%201%2022%208%2018%2016%2022%2023%2018%2023%202%2016%206%208%202%201%206%22%2F%3E%3Cline%20x1%3D%228%22%20y1%3D%222%22%20x2%3D%228%22%20y2%3D%2218%22%2F%3E%3Cline%20x1%3D%2216%22%20y1%3D%226%22%20x2%3D%2216%22%20y2%3D%2222%22%2F%3E%3C/svg%3E");
}

/* Строка 4: Досуг (Иконка: Смайлик) */
table.infra-data-table tbody tr:nth-child(4) td:first-child {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230F4C81%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%2F%3E%3Cpath%20d%3D%22M8%2014s1.5%202%204%202%204-2%204-2%22%2F%3E%3Cline%20x1%3D%229%22%20y1%3D%229%22%20x2%3D%229.01%22%20y2%3D%229%22%2F%3E%3Cline%20x1%3D%2215%22%20y1%3D%229%22%20x2%3D%2215.01%22%20y2%3D%229%22%2F%3E%3C/svg%3E");
}

/* Строка 5: Связь (Иконка: Вайфай) */
table.infra-data-table tbody tr:nth-child(5) td:first-child {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230F4C81%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012.55a11%2011%200%200%201%2014.08%200%22%2F%3E%3Cpath%20d%3D%22M1.42%209a16%2016%200%200%201%2021.16%200%22%2F%3E%3Cpath%20d%3D%22M8.53%2016.11a6%206%200%200%201%206.95%200%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2220%22%20r%3D%221%22%2F%3E%3C%2Fsvg%3E");
}


/* ==========================================================================
   3. УДОБНАЯ МОБИЛЬНАЯ АДАПТАЦИЯ (ЭКРАНЫ МЕНЕЕ 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* Скрываем десктопную шапку на смартфонах */
    table.infra-data-table thead {
        display: none; 
    }
    
    /* Переводим таблицу в блочный вертикальный контейнер */
    table.infra-data-table, 
    table.infra-data-table tbody,
    table.infra-data-table tbody tr {
        display: block;
        width: 100%;
    }
    
    /* Каждая строка превращается в отдельную красивую мобильную карточку */
    table.infra-data-table tbody tr {
        margin-bottom: 20px;
        border: 1px solid #e2e8f0;
        border-radius: 8px; /* На мобильном скругление работает на сам тег tr */
        background: #ffffff;
        padding: 20px;
        box-sizing: border-box;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
    }
    
    /* Перестраиваем ячейки в последовательные блоки друг под другом */
    table.infra-data-table td {
        display: block;
        width: 100% !important; /* Сбрасываем десктопную ширину колонок */
        padding: 0 !important; 
        border: none !important; /* Убираем десктопные рамки ячеек */
        background-color: transparent !important;
        box-shadow: none !important;
        text-align: left;
    }
    
    /* Зона заголовка на мобильном (Иконка встает в верхний левый угол) */
    table.infra-data-table tbody td:first-child {
        padding-left: 44px !important;
        background-position: 0px 4px;
        margin-bottom: 12px;
    }
    
    /* Описание объекта */
    table.infra-data-table td:nth-child(2) {
        font-size: 13.5px;
        color: #475569;
        margin-bottom: 14px;
        padding-top: 10px !important;
        border-top: 1px solid #f1f5f9 !important; /* Тонкий аккуратный мобильный разделитель */
    }
    
    /* Зона статуса и режима работы на мобильном */
    table.infra-data-table td:last-child {
        font-size: 13px;
        font-weight: 500;
        color: #0F4C81; /* Подсвечиваем статус синим */
        background-color: #f8fafc !important; /* Аккуратный серый мобильный талон */
        padding: 12px 16px !important;
        border-radius: 8px;
    }
    
    /* Отключаем перемещение и парение карточек при тапе пальцем */
    table.infra-data-table tbody tr:hover {
        transform: none;
    }
}









/* ==========================================================================
   1. ОБЩАЯ СТРУКТУРА КАРТОЧНОЙ ТАБЛИЦЫ (ПК ВЕРСИЯ)
   ========================================================================== */
table.logistic-data-table {
    width: 100%;
    border-collapse: separate; /* Обязательно для карточного эффекта разделения строк */
    border-spacing: 0 16px; /* Дистанция между карточками */
    margin: 24px 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    background: transparent;
    border: none;
}

/* Современная минималистичная шапка колонок */
table.logistic-data-table th {
    color: #64748b;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: left;
    padding: 8px 24px;
    border: none;
    background: transparent;
}

/* Фиксация базовой геометрии ширины колонок на ПК */
table.logistic-data-table th:nth-child(1),
table.logistic-data-table td:nth-child(1) { width: 220px; }
table.logistic-data-table th:nth-child(2),
table.logistic-data-table td:nth-child(2) { width: auto; }
table.logistic-data-table th:nth-child(3),
table.logistic-data-table td:nth-child(3) { width: 280px; white-space: normal; }

/* Сброс фонового цвета tr для корректного отображения border-radius */
table.logistic-data-table tbody tr {
    background-color: transparent; 
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- ЖЕЛЕЗНОЕ ИСПРАВЛЕНИЕ BORDER-RADIUS И СЛОЕВ ТАБЛИЦЫ --- */

/* Ячейки таблицы (ЖЕСТКО СТАТИЧНЫЕ ДЛЯ ТЕКСТА) */
table.logistic-data-table td {
    padding: 24px;
    vertical-align: top;
    background-color: #ffffff; /* Белый фон для каждой ячейки отдельно */
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    border-left: none;
    border-right: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02); /* Мягкая тень на ячейках */
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Скругление углов для КРАЙНЕЙ ЛЕВОЙ ячейки строки */
table.logistic-data-table tbody td:first-child {
    border-radius: 8px 0 0 8px;
    border-left: 1px solid #f1f5f9; /* Закрываем левый контур карточки */
}

/* Скругление углов для КРАЙНЕЙ ПРАВОЙ ячейки строки */
table.logistic-data-table tbody td:last-child {
    border-radius: 0 8px 8px 0;
    border-right: 1px solid #f1f5f9; /* Закрываем правый контур карточки */
}

/* Интерактивный отклик БЛОКА при наведении (Текст остается неподвижным) */
table.logistic-data-table tbody tr:hover {
    transform: translateY(-3px); /* Мягкое парение всей карточки */
}

/* При ховере подсвечиваем ячейки строки плавной тенью и рамкой */
table.logistic-data-table tbody tr:hover td {
    background-color: #fafafa; /* Легкое нейтральное изменение фона */
    border-top-color: rgba(132, 200, 234, 0.6); /* Рамка становится нежно-голубой 84C8EA */
    border-bottom-color: rgba(132, 200, 234, 0.6);
    box-shadow: 0 12px 24px -8px rgba(0, 139, 208, 0.12); /* Мягкая синяя тень 0F4C81 */
}

table.logistic-data-table tbody tr:hover td:first-child {
    border-left-color: rgba(132, 200, 234, 0.6);
}

table.logistic-data-table tbody tr:hover td:last-child {
    border-right-color: rgba(132, 200, 234, 0.6);
}

/* --- ВНУТРЕННЯЯ ТИПОГРАФИКА ДАННЫХ --- */
table.logistic-data-table div.board-title {
    font-size: 11px;
    font-weight: 800;
    color: #0F4C81; /* Роль выделена глубоким синим */
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

table.logistic-data-table td strong {
    color: #0f172a;
    font-size: 16px;
    display: block;
}


/* ==========================================================================
   2. БЕЗОПАСНЫЕ ТРАНСПОРТНЫЕ SVG-ИКОНКИ СЛЕВА (URL-ENCODED)
   ========================================================================== */
table.logistic-data-table tbody td:first-child {
    padding-left: 64px; /* Жесткое статичное место под иконку — текст не прыгнет */
    background-repeat: no-repeat;
    background-position: 24px 26px; /* Фиксированное положение иконки */
    background-size: 24px 24px;
}

/* Строка 1: Легковой автомобиль */
table.logistic-data-table tbody tr:nth-child(1) td:first-child {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230F4C81%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M19%2017h2c.6%200%201-.4%201-1v-3c0-.9-.7-1.7-1.5-1.9C18.7%2010.6%2016%2010%2016%2010s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6%200-1.1.4-1.4.9l-1.4%202.9A3.7%203.7%200%200%200%202%2012v4c0%20.6.4%201%201%201h2%22%2F%3E%3Ccircle%20cx%3D%227%22%20cy%3D%2217%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%2017h6%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%2217%22%20r%3D%222%22%2F%3E%3C%2Fsvg%3E");
}

/* Строка 2: Автобус */
table.logistic-data-table tbody tr:nth-child(2) td:first-child {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230F4C81%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M19%2017h2c.6%200%201-.4%201-1V5c0-1.1-.9-2-2-2H5c-1.1%200-2%20.9-2%202v11c0%20.6.4%201%201%201h2%22%2F%3E%3Ccircle%20cx%3D%227%22%20cy%3D%2217%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%2017h6%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%2217%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22M4%206h16M4%2010h16%22%2F%3E%3C%2Fsvg%3E");
}

/* Строка 3: Электричка */
table.logistic-data-table tbody tr:nth-child(3) td:first-child {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230F4C81%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%223%22%20width%3D%2216%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M4%2011h16M8%2015h.01M16%2015h.01M6%2021l2-4M18%2021l-2-4%22%2F%3E%3C%2Fsvg%3E");
}

/* Строка 4: Грузовой транспорт */
table.logistic-data-table tbody tr:nth-child(4) td:first-child {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%230F4C81%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%221%22%20y%3D%223%22%20width%3D%2215%22%20height%3D%2213%22%20rx%3D%222%22%2F%3E%3Cpolygon%20points%3D%2216%208%2020%208%2023%2011%2023%2016%2016%2016%2016%208%22%2F%3E%3Ccircle%20cx%3D%225.5%22%20cy%3D%2218.5%22%20r%3D%222.5%22%2F%3E%3Ccircle%20cx%3D%2218.5%22%20cy%3D%2218.5%22%20r%3D%222.5%22%2F%3E%3C%2Fsvg%3E");
}


/* ==========================================================================
   3. УДОБНАЯ МОБИЛЬНАЯ АДАПТАЦИЯ (ЭКРАНЫ МЕНЕЕ 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* Скрываем десктопную шапку на смартфонах */
    table.logistic-data-table thead {
        display: none; 
    }
    
    /* Переводим таблицу в блочный вертикальный контейнер */
    table.logistic-data-table, 
    table.logistic-data-table tbody,
    table.logistic-data-table tbody tr {
        display: block;
        width: 100%;
    }
    
    /* Каждая строка превращается в отдельную красивую мобильную карточку */
    table.logistic-data-table tbody tr {
        margin-bottom: 20px;
        border: 1px solid #e2e8f0;
        border-radius: 8px; /* Скругление углов мобильной карточки tr */
        background: #ffffff;
        padding: 20px;
        box-sizing: border-box;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
    }
    
    /* Перестраиваем ячейки в последовательные блоки друг под другом */
    table.logistic-data-table td {
        display: block;
        width: 100% !important; /* Сбрасываем десктопную ширину колонок */
        padding: 0 !important; 
        border: none !important; /* Убираем десктопные рамки ячеек */
        background-color: transparent !important;
        box-shadow: none !important;
        text-align: left;
    }
    
    /* Зона заголовка на мобильном (Иконка встает в верхний левый угол) */
    table.logistic-data-table tbody td:first-child {
        padding-left: 44px !important;
        background-position: 0px 4px;
        margin-bottom: 12px;
    }
    
    /* Описание объекта */
    table.logistic-data-table td:nth-child(2) {
        font-size: 13.5px;
        color: #475569;
        margin-bottom: 14px;
        padding-top: 10px !important;
        border-top: 1px solid #f1f5f9 !important; /* Мобильный разделитель */
    }
    
    /* Важная информация на мобильном */
    table.logistic-data-table td:last-child {
        font-size: 13px;
        font-weight: 500;
        color: #0F4C81;
        background-color: #f8fafc !important; /* Серый мобильный инфо-блок */
        padding: 12px 16px !important;
        border-radius: 8px;
    }
    
    /* Отключаем парение карточек при тапе пальцем */
    table.logistic-data-table tbody tr:hover {
        transform: none;
    }
}






/* ==========================================================================
   ВНУТРЕННЯЯ СТРАНИЦА НОВОСТИ (JOOMLA ITEM-PAGE) — ЧАСТЬ 1
   ========================================================================== */
.article-content .com-content-article.item-page {
	display: flex;
	flex-direction: column;
	 box-sizing: border-box;   
	 min-height: 50dvh;
}

.article-content .com-content-article.item-page img {
	border-radius: 8px;
	max-width: 100%;
	height: auto;
	margin: 10px 0;
	max-height: 300px;
	object-fit: cover;
	object-position: center;
}

/* 1. Перенос даты на самый верх (над заголовком) */
.com-content-article.item-page .article-info {
  order: 1; /* Первая в очереди отображения */
  margin: 0 0 14px 0;
  padding: 0;
}

.com-content-article dd.published {
	display: inline-flex;
	align-items: center;
	font-size: 0.75rem;
	font-weight: 600;
	color: #0F4C81;
	background-color: rgba(28, 142, 150, 0.08);
	padding: 1px 6px;
	border-radius: 4px;
	margin-right: 4px;
	vertical-align: middle;
}
	
.com-content-article.item-page .article-info .icon-calendar {
  color: #64748b;
  font-size: 14px;
}

/* 2. Главный заголовок статьи H1 */
.com-content-article.item-page .page-header {
  order: 2; /* Второй после даты */
  margin-bottom: 16px;
}

.com-content-article.item-page .page-header h1 {
  font-size: 22px;
  line-height: 150%;
  color: #1e293b;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.5px;
}



/* ==========================================================================
   ВНУТРЕННЯЯ СТРАНИЦА НОВОСТИ (JOOMLA ITEM-PAGE) — ЧАСТЬ 2
   ========================================================================== */

/* ЗАГОЛОВОК МОДУЛЯ */
.com-content-article__body h2 {
	font-weight: 800;
	margin-bottom: 24px;
	margin-top: 0;
	padding-bottom: 12px;
	position: relative;
	z-index: 1;
	color: #111111;
	display: flex;
}


.com-content-article__body h3 {
	font-weight: 800;
	margin-bottom: 10px;
	margin-top: 30px;
	padding-bottom: 0;
	position: relative;
	z-index: 1;
	color: #2ECC71;
	font-size: 20px;
}


/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .com-content-article.item-page .page-header h1 {
    font-size: 26px;
  }
  .com-content-article.item-page .com-content-article__body {
    font-size: 15px;
  }
}


/* ==========================================================================
   КОМПАКТНОЕ ВЫРАВНИВАНИЕ ИЗОБРАЖЕНИЯ (ВЛЕВО, МАКС 35%)
   ========================================================================== */

/* Отменяем флекс-очередь родителя для правильной работы float-обтекания */
.article-content .com-content-article.item-page {
  display: block !important; 
}

/* Стилизация контейнера изображения */
.com-content-article.item-page .item-image {
	/* float: left !important; */
	width: 100% !important;
	max-width: 100% !important;
	margin: 4px 0 20px 0 !important;
	padding: 0;
	max-height: 300px;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: none;
	height: 300px;
}

.com-content-article.item-page .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;            /* Защита от искажения пропорций */
  object-position: center;
  display: block;
}

/* Специальный сброс обтекания в самом конце текста, чтобы верстка не ехала */
.com-content-article.item-page::after {
  content: "";
  display: table;
  clear: both;
}

/* Адаптивность для мобильных устройств (экраны меньше 768px) */
@media (max-width: 767px) {
  .com-content-article.item-page .item-image {
    float: none !important;     /* Отменяем обтекание на смартфонах */
    max-width: 100% !important; /* Картинка встает на полные 100% */
    margin: 0 0 16px 0 !important; /* Сбрасываем боковой отступ, оставляем нижний */
    max-height: 220px;
  }
}








/* ==========================================================================
   БАЗОВЫЕ СТИЛИ СЕКЦИИ ПОЛЕЗНАЯ ИНФОРМАЦИЯ НА ГЛАВНОЙ СТРАНИЦЕ
   ========================================================================== */

.useful-tabs-section {
	padding: 80px 0;
	background-color: transparent;
}
.tabs-section-header { margin-bottom: 15px; }
.tabs-tag { font-size: 12px; font-weight: 800; color: #0F4C81; text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 8px; }
.tabs-title { font-size: 32px; font-weight: 800; color: #101e2c; letter-spacing: -0.5px; }

/* ГЛАВНЫЙ ДЕСКТОПНЫЙ КОНТЕЙНЕР (Экран более 992px) */
@media (min-width: 993px) {
  .tabs-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    /* 50px теперь ОСТАЕТСЯ СТРОГО МЕЖДУ ЛЕВОЙ И ПРАВОЙ КОЛОНКОЙ */
    gap: 50px; 
    align-items: flex-start;
  }

  /* ЛЕВОЕ МЕНЮ: Кнопки изолированы здесь */
  .tabs-menu {
    display: flex;
    flex-direction: column;
    /* КОМПАКТНЫЙ ОТСТУП ДРУГ ОТ ДРУГА: ровно 6px между кнопками! */
    gap: 6px; 
  }

  /* Кнопки в покое */
  .universal-trigger {
    background-color: #ffffff;
    border: 1px solid #e1e8ed;
    padding: 12px 18px; /* Уплотненные внутренние отступы */
    border-radius:8px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    box-shadow: 0 2px 10px rgba(16, 30, 44, 0.01);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	font-family:'Montserrat', sans-serif;
  }

  .u-num { font-size: 15px; font-weight: 800; color: #00bfa5; font-variant-numeric: tabular-nums; }
  .u-text { font-size: 17px; font-weight: 600; color: #5a6b7c; }
  .u-arrow { display: none; } /* Скрыта на ПК */

  /* Ховер и Актив кнопки (Мятный монохром) */
  .universal-trigger:hover,
  .universal-trigger.active {
    background-color: #00bfa5;
    border-color: #00bfa5;
    transform: translateX(4px);
    box-shadow: 0 8px 25px rgba(0, 191, 165, 0.12);
  }
  .universal-trigger:hover .u-num, .universal-trigger:hover .u-text,
  .universal-trigger.active .u-num, .universal-trigger.active .u-text {
    color: #ffffff !important;
  }

  /* ПРАВОЕ ОКНО КОНТЕНТА */
  .tabs-content-wrapper {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(16, 30, 44, 0.02);
    min-height: 320px;
    position: relative;
    overflow: hidden;
  }

  .universal-content {
    display: none;
  }
  .universal-content.active {
    display: block;
    animation: fadeInTab 0.35s ease;
  }
}


/* ОФОРМЛЕНИЕ ТЕКСТА ПАНЕЛЕЙ */
.panel-inner { padding: 45px; display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 2; }
.panel-title { font-size: 24px; font-weight: 800; color: #101e2c; line-height: 1.3; }
.panel-text { font-size: 16px; line-height: 150%; color: #5a6b7c; }
.tab-primary-btn { display: inline-block; background-color: #0F4C81; color: #ffffff; padding: 12px 24px; border-radius: 8px; font-size: 16px; font-weight: 600; text-decoration: none; box-shadow: 0 4px 15px rgba(0, 139, 208, 0.15); transition: all 0.2s ease; }
.tab-primary-btn:hover {
	background-color: #101e2c;
	box-shadow: 0 4px 15px rgba(16, 30, 44, 0.15);
	transform: translateY(-1px);
	color: #fff;
}

/* Серые фоновые иконки */
.panel-bg-icon { position: absolute; bottom: -15px; right: -15px; color: #101e2c; opacity: 0.06; pointer-events: none; z-index: 1; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease; }
.panel-bg-icon svg { overflow: visible !important; }
.tabs-content-wrapper:hover .panel-bg-icon { opacity: 0.10; transform: scale(1.06) rotate(-2deg); }

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/*  МОБИЛЬНАЯ ВЕРСИЯ: АВТО-АККОРДЕОН (До 992px)  */
@media (max-width: 992px) {
  .tabs-container {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Компактный зазор между плашками на мобильном */
  }
  
  .tabs-menu { display: none; } /* Прячем десктопное меню */

  .universal-content {
    background-color: rgba(244, 247, 249, 0.5);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Перестраиваем структуру контента под мобильный аккордеон */
  .universal-content.active-mobile {
    display: block;
  }

  /* Мобильный триггер-кнопка прямо внутри контентного блока */
  .mobile-accordion-trigger {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
	font-family: 'Montserrat', sans-serif;
  }

  .u-num { font-size: 14px; font-weight: 800; color: #00bfa5; }
  .u-text { font-size: 16px; font-weight: 600; color: #101e2c; }
  .u-arrow { margin-left: auto; font-size: 14px; font-weight: 800; color: #5a6b7c; transition: transform 0.3s ease; }

  /* Активное мобильное состояние */
  .mobile-accordion-trigger.active {
    border-color: #00bfa5;
    background-color: rgba(0, 191, 165, 0.04);
    box-shadow: 0 4px 15px rgba(0, 191, 165, 0.08);
  }
  .mobile-accordion-trigger.active .u-text { color: #00bfa5; }
  .mobile-accordion-trigger.active .u-arrow { transform: rotate(180deg); color: #00bfa5; }

  .panel-inner { padding: 24px 20px; }
  .panel-title { font-size: 19px; }
  .panel-text { font-size: 14px; }
  .tab-primary-btn { width: 100%; text-align: center; }
  .panel-bg-icon { display: none; }
}





/* ==========================================================================
   БАЗОВЫЕ СТИЛИ ДЛЯ ФУТЕРА САЙТА
   ========================================================================== */

.site-footer {
	background-color: #0B2236;
	color: #959595;
	padding: 50px 0 30px 0;
	width: 100%;
}

.footer-main-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 50px;
}

.footer-main-grid a {
	color: #FFFFFF;
	text-decoration: none;
	border-bottom: 1px solid #FFFFFF;
	transition: color 0.2s ease;
}

.footer-main-grid a:hover, .footer-main-grid a:focus, .footer-main-grid a:active {
  color: #FFFFFF;  
  border-bottom: none;
  	text-decoration: none;
}

.footer-copyright-bottom {
	background: #0B1A27;
	padding: 12px 0 12px 0;
}

/* Колонка бренда */
.footer-column {
	display: flex;
	flex-direction: column;
	gap: 20px;
	font-size: 14px;
	line-height: 145%;
	color: #dcdcdc;
}

.footer-column h3 {
	font-weight: 800;
	margin-bottom: 24px;
	margin-top: 0;
	color: #2ECC71;
	font-size: 18px;
}

/*
.footer-column h3:before {
  background: #2ECC71;
  bottom: 0;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  width: 100px;
  z-index: -1;
  transform: skewX(-30deg);	
}

.footer-column h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 4px;
  z-index: -1;
  width: 60px; 
  left: 105px; 
  background: linear-gradient(to right, #2ECC71 0px, #2ECC71 10px, transparent 10px, transparent 15px);
  background-size: 15px 4px;
  background-repeat: repeat-x;
  transform: skewX(-30deg);
}
*/

.footer-column h4, .footer-column h5, .footer-column h6 {
	font-weight: 800;
	color: #ffffff;
	letter-spacing: 0.5px;
	margin: 0 0 10px 0;
}

/* Кнопка в футере */
.footer-lk-btn {
	display: inline-block;
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #ffffff;
	text-align: center;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	background-color: rgba(255, 255, 255, 0.02);
	transition: all 0.2s ease;
	display: block;
}

.footer-lk-btn:hover {
	background-color: #0F4C81;
	border-color: #0F4C81;
	box-shadow: 0 4px 15px rgba(0, 139, 208, 0.2);
	color: #fff;
	transition: all 0.2s ease;	
}

/* Нижняя техническая строка */
.footer-bottom-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.footer-bottom-row p {
	margin: 0;
}

.footer-copyright {
	font-size: 13px;
	color: #959595;
	line-height: 150%;
}

.copyright {
	font-size: 13px;
	color: #959595;
}

.copyright a {
	color: #959595;
	text-decoration:underline;
	transition: all 0.2s ease;	
}

.copyright a:hover {
	color: #90a0b0;
	text-decoration:none;	
	transition: all 0.2s ease;	
}

/* АДАПТИВНОСТЬ */
@media (max-width: 992px) {
  .footer-main-grid {
	grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
	gap: 40px;
  }
  
.footer-bottom-row {
	display: block;
}

.copyright {
	text-align: center;
}

}

@media (max-width: 576px) {
  .site-footer {
	padding: 50px 0 30px 0;
  }
  .footer-main-grid {
	grid-template-columns: 1fr; /* 1 колонка на мобильных телефонах */
	gap: 30px;
	padding-bottom: 35px;
  }
  .footer-bottom-row {
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
  }

}	



/* Базовые настройки для главной страницы */
.item-pagehome {
    font-family: 'Montserrat', sans-serif;
    background-color: #FAFAFA;
    padding: 60px 20px;
    box-sizing: border-box;
}

/* Главный контейнер-обертка */
.item-pagehome .com-content-article__body {
	position: relative;
	padding-right: 48%;
	min-height: 450px;
}

/* ВСЕ ТЕКСТОВЫЕ ЭЛЕМЕНТЫ (Автоматически занимают оставшиеся 60% слева) */
.item-pagehome .com-content-article__body h5,
.item-pagehome .com-content-article__body h2,
.item-pagehome .com-content-article__body p,
.item-pagehome .com-content-article__body ul {
    width: 100%; /* Заполняют левую колонку */
    display: block;
    box-sizing: border-box;
}

.item-pagehome .home-side-img {
	position: absolute;
	right: 0;
	top: 53%;
	transform: translateY(-50%);
	width: 41%;
	height: auto;
	max-height: 350px;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 12px 24px rgba(27, 54, 93, 0.1);
	box-sizing: border-box;
}

.item-pagehome .com-content-article__body h5 {
    color: #949C97; /* Травяной зеленый над-заголовок */
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 5px 0;
}

.item-pagehome .com-content-article__body h2 {
    color: #1B365D; /* Темно-синий главный заголовок */
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.item-pagehome .com-content-article__body p {
    color: #333333; /* Темно-серый текст */
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    margin: 0 0 15px 0;
}

.item-pagehome .com-content-article__body ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
    list-style: none;
}

.item-pagehome .com-content-article__body ul li {
    color: #333333;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 12px;
    position: relative;
}

.item-pagehome .com-content-article__body ul li::before {
    content: "✓";
    position: absolute;
    left: -20px;
    color: #2ECC71; /* Зеленые галочки */
    font-weight: 700;
}

/* --- Мобильная адаптивность --- */
@media (max-width: 992px) {
    .item-pagehome .com-content-article__body {
        padding-right: 0; /* Убираем правый отступ на мобильных */
        min-height: auto;
    }
    
    /* Возвращаем картинку в общий вертикальный поток под текст */
    .item-pagehome .home-side-img {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        margin-top: 30px;
        display: block;
    }
    
    .item-pagehome .com-content-article__body h2 {
        font-size: 28px;
    }
}


	
/* ==========================================================================
   CSS-СТИЛИ ДЛЯ ВНУТРЕННЕЙ ТИПОВОЙ СТРАНИЦЫ (Шрифт Montserrat)
   ========================================================================== */

/* 1. Верхняя секция заголовка */
.page-header-section {
  padding: 50px 0 35px 0;
  background-color: transparent;
}

/* Хлебные крошки */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb-link {
	font-size: 14px;
	color: #90a0b0;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s ease;
	list-style: none;
	display: inline-block;
	margin: 0 6px;
}
.breadcrumb-link:hover {
  color: #0F4C81; /* Основной синий при наведении */
}
.breadcrumb-separator {
  font-size: 14px;
  color: #e1e8ed;
}
.breadcrumb-current {
  font-size: 14px;
  color: #5a6b7c;
  font-weight: 400;
}



/* Главный заголовок h1 */

/* Мета-строка под заголовком */
.page-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #90a0b0;
  font-weight: 500;
}
.meta-divider {
  color: #e1e8ed;
}
.meta-category-tag {
  color: #00bfa5; /* Мятный маркер категории */
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* 2. Основная контентная область Grid-разбивки (72/28) */
.inner-page-main {
  padding-bottom: 50px;
}


/* ЛЕВАЯ КОЛОНКА: Типографика статьи */
.article-content {
  display: flex;
  flex-direction: column;
   min-height: 50dvh;
}
.article-lead {
  font-size: 17px;
  line-height: 1.65;
  color: #101e2c;
  font-weight: 500;
  margin-bottom: 28px;
}


/* Списки внутри текста */
.article-content ul, 
.article-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
.article-content li {
  font-size: 15px;
  line-height: 1.6;
   margin-bottom: 15px;
}
.article-content li strong {
  color: #101e2c;
}

/* Коробка важного примечания (Мятный стиль) */
.text-attention-box {
  background-color: rgba(0, 191, 165, 0.04);
  border: 1px solid rgba(0, 191, 165, 0.12);
  border-radius: 8px;
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 24px 0;
}
.attention-box-icon {
  color: #c90f5d; /* Контрастный ягодный цвет */
  display: flex;
  align-items: center;
  margin-top: 2px;
  flex-shrink: 0;
}
.text-attention-box p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #5a6b7c;
  margin-bottom: 0;
}

/* ПРАВАЯ КОЛОНКА: Сайдбар и виджеты */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}


/* ==========================================================================
   АДАПТИВНОСТЬ ПОД МОБИЛЬНЫЕ МОНИТОРЫ И СМАРТФОНЫ
   ========================================================================== */

/* Мобильная адаптивность (все в одну колонку) */
.inner-page-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Настольная адаптивная сетка (от 992px) */
@media (min-width: 992px) {
  .inner-page-grid {
    display: grid;
    /* Создаем 4-колоночную гибкую сетку: 
       1-я колонка (левый сайдбар) = 240px
       2-я и 3-я колонки (центр) = делят оставшееся место
       4-я колонка (правый сайдбар) = 240px */
    grid-template-columns: 320px 1fr 1fr 320px;
    gap: 40px;
  }

  /* Если левого сайдбара нет, центральный блок смещается в самый старт сетки */
  .main-content-column {
    grid-column: 2 / 4; /* По умолчанию занимает центр (колонки 2 и 3) */
  }

  /* Автоматическое растяжение, если сайдбары отсутствуют в HTML: */
  
  /* 1. Если нет ЛЕВОГО сайдбара */
  .inner-page-grid:not(:has(.sidebar-left)) .main-content-column {
    grid-column-start: 1;
  }

  /* 2. Если нет ПРАВОГО сайдбара (Ваш случай!) */
  .inner-page-grid:not(:has(.sidebar-right)) .main-content-column {
    grid-column-end: 5;
  }
  
  /* Стили для самих сайдбаров, чтобы они четко стояли по краям */
  .sidebar-left {
    grid-column: 1;
  }
  .sidebar-right {
    grid-column: 4;
  }
}

@media (max-width: 991px) {
.news .article-sidebar.sidebar-left {
	display: none;
}
}


/* --- 1. ОБЩИЙ КОНТЕЙНЕР СЕТКИ --- */
div.com-content-category-blog__children.cat-children {
    margin: 40px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Главный заголовок «Подкатегории» */
div.com-content-category-blog__children.cat-children > h3 {
    width: 100%;
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 12px;
    font-weight: 800;
    background: none;
    border: none !important; /* Оставлен только здесь для принудительного сброса нижних линий Joomla */
    padding: 0;
}

/* --- 2. СТИЛИЗАЦИЯ НЕПОДВИЖНЫХ КАРТОЧЕК --- */
div.com-content-category-blog__children.cat-children div.com-content-category-blog__child {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0; /* Обнуляем паддинг контейнера, чтобы избежать конфликтов с Joomla */
    
    /* Адаптивная ширина под 3 колонки на ПК */
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    min-height: 90px;
    
    display: flex;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 1;
    
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02);
    /* Разрешаем плавно менять только цвета и тень. Карточка никуда не двигается */
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Эффект при наведении на блок карточки */
div.com-content-category-blog__children.cat-children div.com-content-category-blog__child:hover {
    border-color: #0F4C81; /* Рамка плавно синеет */
    background-color: rgba(132, 200, 234, 0.08); /* Наполнение нежно-голубым цветом 84C8EA */
    box-shadow: 0 10px 15px -3px rgba(0, 139, 208, 0.08); /* Мягкое внешнее синее свечение */
}

/* --- 3. НАСТРОЙКА ЖЕСТКО СТАТИЧНОГО ТЕКСТА --- */
div.com-content-category-blog__child h3.page-header.item-title {
    margin: 0;
    padding: 0;
    background: none;
    border: none !important; /* Принудительно убираем рамки Joomla вокруг внутренних h3 */
    width: 100%;
    height: 100%;
    display: flex;
}

/* Стилизация тега ссылки внутри карточки */
div.com-content-category-blog__child h3.page-header.item-title a {
    color: #334155; /* Базовый графитовый цвет текста */
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    
    /* Ссылка жестко занимает 100% пространства всей карточки */
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    
    /* СТРОГИЕ ФИКСИРОВАННЫЕ ОТСТУПЫ. Они никогда не меняются, текст не шелохнется */
    padding: 24px 32px; 
    box-sizing: border-box;
    position: relative;
    z-index: 3;
    
    /* Плавно перекрашиваем только цвет букв. Сдвиги контента запрещены */
    transition: color 0.25s ease;
}

/* Делаем всю карточку кликабельной */
div.com-content-category-blog__child h3.page-header.item-title a::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    z-index: 4;
}

/* Изменение цвета текста при наведении */
div.com-content-category-blog__child:hover h3.page-header.item-title a {
    color: #0F4C81; /* Текст плавно перекрашивается в глубокий синий */
}








/* Используем тот же класс на теге <p> */
.snt-info-card {
    /* Белый фон, чтобы не выделяться ярким пятном */
    background-color: #ffffff;
    /* Тонкая градиентная рамка имитируется за счет прозрачности */
    border: 1px solid rgba(0, 139, 208, 0.15);
    /* Яркая синяя полоса слева */
    border-left: 5px solid #0F4C81;
    padding: 22px 26px;
    margin: 30px 0;
    border-radius: 8px;
    /* Очень мягкая, едва заметная синеватая тень */
    box-shadow: 0 4px 12px rgba(0, 139, 208, 0.03);
    transition: all 0.3s ease;
    
    /* Стили текста */
    font-size: 16px;
    line-height: 1.65;
    color: #475569; /* Спокойный slate-серый цвет */
}

/* Эффект при наведении: рамка становится ярче, а тень глубже */
.snt-info-card:hover {
    border-color: rgba(0, 139, 208, 0.4);
    box-shadow: 0 6px 18px rgba(0, 139, 208, 0.08);
}

/* Стиль для важного текста */
.snt-info-card strong {
    color: #0F4C81; /* Выделяем заголовок фирменным синим */
}

/* Стиль для ссылки */
.snt-info-card a {
    color: #334155; /* Ссылка изначально темно-серая, чтобы не спорить с strong */
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid rgba(0, 139, 208, 0.3); /* Синее подчеркивание */
    transition: all 0.2s ease;
}

/* Эффект при наведении на ссылку */
.snt-info-card a:hover {
    color: #0F4C81; /* При наведении ссылка окрашивается в синий */
    border-bottom-color: #0F4C81;
    background-color: rgba(0, 139, 208, 0.04); /* Легкий фон вокруг ссылки */
    padding: 2px 4px;
    margin: -2px -4px;
    border-radius: 8px;
}










/* ==========================================================================
   ЖУРНАЛЬНЫЙ ТИМЛАЙН-ВАРИАНТ ДЛЯ БОКОВОЙ ПАНЕЛИ
   ========================================================================== */
/* Плотно сжатый контейнер сайдбара */
.news-useful-grid {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Слегка увеличили зазор для читаемости */
  width: 100%;
  max-width: 340px;
  box-sizing: border-box;
}

/* Сверхкомпактная карточка-ячейка */
.news-useful-card {
  background-color: #ffffff;
  border: 1px solid rgba(28, 142, 150, 0.12);
  border-radius: 8px;
  padding: 20px 12px; /* Оптимальный отступ для многострочного текста */
  transition: all 0.15s ease-in-out;
}

/* Интерактивный фокус на всю карточку при наведении */
.news-useful-card:hover {
  border-color: #0F4C81;
  background-color: rgba(28, 142, 150, 0.02);
}

/* Компактное распределение элементов */
.news-useful-body {
  display: flex;
  flex-direction: column;
  gap: 6px; 
}

/* Строка заголовка с датой в один ряд */
.media-news-useful-title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  display: inline; 
}

/* Ссылка заголовка (LVHA) */

.mod-articles-link {
	color: #0F4C81;
	text-decoration: underline;
}

.mod-articles-link:hover, .mod-articles-link:active{
	color: #1E293B;
	text-decoration: none; 
}

/* Дата как компактный префикс перед заголовком */
.list-unstyled {
  margin: 0 6px 0 0;
  padding: 0;
  list-style: none;
  display: inline; 
}

.media-date {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0F4C81;
  background-color: rgba(28, 142, 150, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
  margin-right: 4px;
  vertical-align: middle;
}

/* Скрытие системного текста */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* УВЕЛИЧЕННЫЙ АНОНС: Ограничение до 3-4 строк с умным троеточием */
.news-useful-text p {
  margin: 0;
  font-size: 0.85rem; /* Слегка увеличили шрифт для удобства чтения */
  color: #556263;
  line-height: 1.4;

}

/* Скрытие громоздкой кнопки «Подробнее» */
.news-useful-footer {
  display: none; 
}



/* ==========================================================================
   ИНТЕРАКТИВНЫЙ ВАРИАНТ В САЙДБАРЕ (ОБНОВЛЕННЫЕ КЛАССЫ INFO-BACK)
   ========================================================================== */

/* Контейнер блока в боковой панели */
.info-back {
  background: #ffffff;
  border-radius:8px;
  padding: 24px 20px;
  box-shadow: 0 4px 12px rgba(16, 30, 44, 0.02);
  border: 1px solid #e2e8f0;
}

/* Контейнер заголовка */
.info-back-title {
  margin-bottom: 16px;
}

/* Заголовок блока с относительным позиционированием */
.info-back-title h2 {
  color: #101E2C;
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.2px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px; /* Отступ под косую линию */
}

/* Косая акцентная линия под текстом заголовка */
.info-back-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: #00BFA5; /* Мятный цвет */
  transform: skewX(-30deg);  /* Наклон линии */
}

/* Список-сетка для карточек */
.info-back-grid {
  display: flex;
  flex-direction: column;
}

/* Строка отдельной новости */
.info-back-card {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-radius: 0 !important;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Убираем нижнюю линию у последней строчки */
.info-back-grid > div:last-child .info-back-card {
  border-bottom: none !important;
}

/* Внутреннее тело новости */
.info-back-body {
  padding: 12px 0 !important;
}

/* Заголовок-ссылка */
.media-info-back-title {
  margin: 0 !important;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.media-info-back-title a {
  color: #101E2C;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Текст анонса (скрыт, плавно выезжает при наведении) */
.info-back-text {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
  margin: 0;
}

.info-back-text p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

/* Футер с ссылкой "Подробнее" */
.info-back-footer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
  margin: 0;
  display: flex;
}

.info-back-footer .readmore {
  margin: 0;
}

/* Изящная текстовая ссылка перехода */
.info-back-footer .btn-secondary {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: #00BFA5 !important; /* Ваш мятный цвет */
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
}

/* ==========================================================================
   ЛОГИКА РАСКРЫТИЯ (ЧИСТЫЙ CSS НА НОВЫХ КЛАССАХ)
   ========================================================================== */

/* 1. Первая новость открыта по умолчанию, когда курсор вне блока */
.info-back-grid > div:first-child .info-back-text,
.info-back-card:hover .info-back-text {
  max-height: 60px; /* Вмещает до двух строк текста */
  opacity: 1;
  margin-top: 6px;
}

.info-back-grid > div:first-child .info-back-footer,
.info-back-card:hover .info-back-footer {
  max-height: 30px;
  opacity: 1;
  margin-top: 6px;
}

.info-back-grid > div:first-child .media-info-back-title a,
.info-back-card:hover .media-info-back-title a {
  color: #0F4C81; /* Синяя подсветка активного заголовка */
}

/* 2. Схлопываем первую новость, если навели мышь на любую другую соседнюю */
.info-back-grid:hover > div:first-child .info-back-text:not(:hover),
.info-back-grid:hover > div:first-child .info-back-footer:not(:hover) {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

.info-back-grid:hover > div:first-child .media-info-back-title a {
  color: #101E2C;
}

/* Фиксация синего цвета, когда курсор находится непосредственно на первой новости */
.info-back-grid > div:first-child .info-back-card:hover .media-info-back-title a {
  color: #0F4C81 !important;
}

/* ==========================================================================
   СОВРЕМЕННАЯ КНОПКА "НАВЕРХ"
   ========================================================================= */
/* ==========================================================================
   КНОПКА "НАВЕРХ" В ПРИРОДНОМ СТИЛЕ (.ECO-LEAF-BTN)
   ========================================================================== */

.eco-leaf-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  
  /* Форма листка: скругляем только верхний левый и нижний правый углы */
  border-radius: 20px 4px 20px 4px; 
  
  /* Изначально кнопка мятного цвета */
  background-color: #0F4C81; 
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1000;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Изначально скрыта с легким поворотом */
  opacity: 0;
  visibility: hidden;
  transform: scale(0.7) rotate(-45deg);
  
  /* Мягкая органическая анимация */
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 14px rgba(0, 191, 165, 0.25);
}

/* Появление кнопки при прокрутке */
.eco-leaf-btn.is-visible {
  opacity: 1;
  visibility: visible;
  /* При появлении "вырастает" и встает ровно */
  transform: scale(1) rotate(0deg); 
}

/* Обертка для SVG (нужна для создания микродвижения стрелки) */
.eco-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff; /* Белая стрелочка на зеленом фоне */
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.eco-svg {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   ИНТЕРАКТИВНЫЕ ЭФФЕКТЫ (HOVER)
   ========================================================================== */

.eco-leaf-btn:hover {
  /* Плавно меняем цвет на ваш глубокий синий */
  background-color: #00BFA5; 
  
  /* И меняем геометрию — листок зеркально меняет форму */
  border-radius: 4px 20px 4px 20px;
  
  /* Синяя тень */
  box-shadow: 0 6px 18px rgba(0, 139, 208, 0.3);
  transform: translateY(-2px);
}

/* При наведении стрелочка внутри листка делает аккуратный взмах вверх */
.eco-leaf-btn:hover .eco-icon-wrapper {
  transform: translateY(-3px);
}

/* Эффект нажатия пальцем или мышкой */
.eco-leaf-btn:active {
  transform: translateY(0) scale(0.95);
}

/* Адаптивность для смартфонов */
@media (max-width: 768px) {
  .eco-leaf-btn {
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}


@media (min-width: 992px) and (max-width: 1199px) {
.nav-container.top-menu .nav-item.item-101 {
	display: none;
}

.nav-menu > .nav-item > a {
	padding: 18px 10px;
	font-size: 15px;
}

.slider-text-container h4 {
	font-size: 42px;
}


}