/* Sticky Footer */
html,
body {
	height: 100%;
	margin: 0;
}

body {
	display: flex !important;
	flex-direction: column !important;
	min-height: 100vh !important;
}

header {
	flex-shrink: 0 !important;
}

main.site-main {
	flex-grow: 1 !important;
	flex-shrink: 0 !important;
	flex-basis: auto !important;
}

footer {
	flex-shrink: 0 !important;
	margin-top: auto !important;
}

/* Увеличение ширины контента для десктопов (от 1025px) */
@media (min-width: 1025px) {
	.elementor-section.elementor-section-boxed>.elementor-container {
		max-width: 1320px !important;
	}

	.e-con {
		--container-max-width: 1320px !important;
	}

	.e-con-inner {
		max-width: 1320px !important;
	}
}

/* Оптимизация размера и положения логотипа в навбаре */
@media (min-width: 768px) {
	.elementor-widget-theme-site-logo {
		top: -25px !important;
		left: 15px !important;
	}

	.elementor-widget-theme-site-logo img {
		width: 100% !important;
		max-width: 150px !important;
		height: auto !important;
	}
}

@media (max-width: 767px) {
	.elementor-widget-theme-site-logo img {
		width: 90% !important;
		max-width: 140px !important;
		height: auto !important;
	}
}

/* Переключатель языков в колонку */
.gtranslate_wrapper {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 4px !important;
}

.gtranslate_wrapper a.glink {
	display: inline-flex !important;
	align-items: center !important;
	text-decoration: none !important;
}

.gtranslate_wrapper a.glink img {
	width: 20px !important;
	height: 20px !important;
	margin-right: 6px !important;
}

.gtranslate_wrapper a.glink span {
	font-size: 14px !important;
}

/* Оптимизация десктопного навбара в одну строку */
@media (min-width: 1025px) {
	header .elementor-hidden-mobile.e-con-boxed.e-con.e-parent>.e-con-inner {
		display: grid !important;
		grid-template-columns: 165px 1fr auto auto !important;
		--e-con-grid-template-columns: 165px 1fr auto auto !important;
		column-gap: 15px !important;
		align-items: center !important;
	}

	header .elementor-hidden-mobile.e-con-boxed.e-con.e-parent>.e-con-inner>div {
		width: auto !important;
		max-width: none !important;
		min-width: 0 !important;
	}

	header .elementor-hidden-mobile.e-con-boxed.e-con.e-parent>.e-con-inner>div:first-child {
		width: 165px !important;
		min-width: 165px !important;
	}

	header .elementor-hidden-mobile.e-con-boxed.e-con.e-parent .elementor-widget-nav-menu {
		display: flex !important;
		justify-content: center !important;
	}

	header .elementor-nav-menu {
		flex-wrap: nowrap !important;
	}

	header .elementor-nav-menu a,
	header .elementor-nav-menu li {
		white-space: nowrap !important;
	}

	header .elementor-nav-menu .menu-item a {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}
}

/* Сдвиг затемнения героя левее на главной странице */
.elementor-element-776e6e2::before,
.elementor-element-776e6e2>.e-con-inner::before,
.elementor-element-776e6e2>.elementor-motion-effects-container>.elementor-motion-effects-layer::before {
	background-image: linear-gradient(90deg, #162144 0%, #162144 15%, #16214400 50%) !important;
}

/* Сдвиг всей секции галереи вниз на странице Галерея и стили заголовка */
@media (min-width: 1025px) {
	.elementor-page-303 .elementor-element-154f1d4 {
		padding-top: 82px !important;
	}
}

@media (max-width: 1024px) {
	.elementor-page-303 .elementor-element-154f1d4 {
		padding-top: 40px !important;
		grid-template-rows: auto !important;
		--e-con-grid-template-rows: auto !important;
	}
}

.elementor-page-303 .elementor-element-843c010 {
	padding: 42px 42px 2px 42px !important;
	margin-bottom: 40px !important;
	width: 100% !important;
}

@media (max-width: 1024px) {
	.elementor-page-303 .elementor-element-843c010 {
		padding: 20px 42px 2px 42px !important;
		margin-bottom: -15px !important;
	}
}

@media (max-width: 767px) {
	.elementor-page-303 .elementor-element-154f1d4 {
		grid-template-rows: auto !important;
		--e-con-grid-template-rows: auto !important;
	}

	.elementor-page-303 .elementor-element-843c010 {
		padding: 20px 0px 4px 27px !important;
		margin-bottom: -15px !important;
	}
}

.elementor-page-303 .elementor-element-843c010 .elementor-heading-title {
	font-family: "Roboto", Sans-serif !important;
	font-size: 22px !important;
	font-weight: 600 !important;
	color: #353535 !important;
	text-align: left !important;
}

/* Изменение пропорций карточки на главной странице (делаем уже и выше) */
@media (min-width: 768px) {
	.elementor-element-00ba942 {
		--padding-top: 65px !important;
		--padding-bottom: 65px !important;
		min-height: 380px !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: center !important;
	}
}

@media (min-width: 1025px) {
	.elementor-element-00ba942 {
		--width: 52% !important;
	}
}

/* Выравнивание иконки SVG по верху рядом с текстом */
.elementor-widget-icon-box .elementor-icon-box-wrapper {
	align-items: flex-start !important;
}

/* Контейнер для центрирования постера под текстом */
.event-poster-wrapper {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: 100% !important;
	margin-top: 15px !important;
}

/* Стили для изображений-постеров в ключевых событиях */
.event-card-poster {
	display: block !important;
	width: 280px !important;
	max-width: 100% !important;
	height: auto !important;
	border-radius: 6px !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
	border: 1px solid rgba(255, 255, 255, 0.15) !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease !important;
	cursor: pointer !important;
}

/* Эффект легкого приподнимания постера при наведении на него */
.event-card-poster:hover {
	transform: translateY(-4px) scale(1.03) !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5) !important;
}

/* Адаптивность для мобильных телефонов и планшетов */
@media (max-width: 767px) {
	.event-card-poster {
		width: 260px !important;
	}
}

/* Изображение на странице "О Доме БРИКС" */
.o-dome-brics-image {
	display: block !important;
	width: 100% !important;
	max-width: 800px !important;
	height: auto !important;
	margin: 25px auto !important;
	border-radius: 8px !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Стилизация списка программ и проектов */
.brics-projects-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 20px 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
}

.brics-projects-item {
	display: flex !important;
	align-items: flex-start !important;
	gap: 12px !important;
	padding: 4px 0 !important;
	background: none !important;
	border: none !important;
}

.brics-projects-icon {
	flex-shrink: 0 !important;
	width: 28px !important;
	height: 28px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #162144 !important; /* Темный брендовый цвет для контраста на белом фоне */
	margin-top: 0px !important;
}

.brics-projects-icon svg {
	width: 20px !important;
	height: 20px !important;
	fill: currentColor !important;
}

.brics-projects-content {
	font-family: "Roboto", Sans-serif !important;
	font-size: 20px !important;
	font-weight: 300 !important;
	line-height: 28px !important;
	color: #353535 !important; /* Темно-серый цвет для белого фона */
	flex-grow: 1 !important;
}

.brics-projects-date {
	font-weight: 500 !important;
	white-space: nowrap !important;
}

/* Стили для модального окна спикеров */
.speaker-modal-list {
	display: flex !important;
	flex-direction: column !important;
	gap: 20px !important;
	max-height: 60vh !important;
	overflow-y: auto !important;
	padding-right: 8px !important;
}

.speaker-modal-card {
	display: flex !important;
	align-items: center !important;
	gap: 20px !important;
	padding: 12px !important;
	background: #f8f9fa !important;
	border-radius: 12px !important;
	border: 1px solid #e2e8f0 !important;
	transition: background-color 0.2s ease !important;
}

.speaker-modal-card:hover {
	background: #edf2f7 !important;
}

.speaker-modal-photo {
	flex-shrink: 0 !important;
	width: 80px !important;
	height: 80px !important;
	border-radius: 50% !important;
	overflow: hidden !important;
	border: 2px solid #162144 !important;
}

.speaker-modal-photo img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

.speaker-modal-info {
	display: flex !important;
	flex-direction: column !important;
	gap: 4px !important;
}

.speaker-modal-name {
	font-family: "Roboto", sans-serif !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	color: #21396F !important;
	margin: 0 !important;
}

.speaker-modal-desc {
	font-family: "Roboto", sans-serif !important;
	font-size: 14px !important;
	color: #1b1b1b !important;
	margin: 0 !important;
	line-height: 1.4 !important;
}

.custom-modal__title {
	font-family: "Roboto", sans-serif !important;
	color: #162144 !important;
	font-weight: 600 !important;
}

@media (max-width: 576px) {
	.speaker-modal-card {
		flex-direction: column !important;
		align-items: center !important;
		text-align: center !important;
		padding: 16px !important;
	}
	.speaker-modal-photo {
		width: 100px !important;
		height: 100px !important;
	}
}

/* Сдвиг первого контейнера на странице Новости под шапку */
@media (min-width: 1025px) {
	.elementor-page-8 .elementor-element-e81f00c {
		padding-top: 82px !important;
	}
}

@media (max-width: 1024px) {
	.elementor-page-8 .elementor-element-e81f00c {
		padding-top: 40px !important;
	}
}

/* Стили для страницы Новостей */
.news-container {
	width: 100% !important;
	max-width: 1320px !important;
	margin: 0 auto !important;
	padding: 40px 20px !important;
	box-sizing: border-box !important;
}

.news-header-section {
	padding: 20px 0 10px 0 !important;
	margin-bottom: 40px !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.news-page-title {
	font-family: "Roboto", sans-serif !important;
	font-size: 22px !important;
	font-weight: 600 !important;
	color: #353535 !important;
	margin: 0 !important;
	text-align: left !important;
}

.news-item-block {
	margin-bottom: 60px !important;
	padding-bottom: 60px !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
	width: 100% !important;
	max-width: 800px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.news-item-block:last-child {
	border-bottom: none !important;
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.news-item-title {
	font-family: "Roboto", sans-serif !important;
	font-size: 24px !important;
	font-weight: 600 !important;
	color: #162144 !important;
	margin: 0 0 20px 0 !important;
	line-height: 1.3 !important;
	text-align: center !important;
}

.news-item-text {
	font-family: "Roboto", sans-serif !important;
	font-size: 20px !important;
	font-weight: 300 !important;
	line-height: 28px !important;
	color: #353535 !important;
	text-align: left !important;
}

.news-item-text p {
	margin: 0 0 15px 0 !important;
}

.news-item-text p:last-child {
	margin-bottom: 0 !important;
}

.news-inline-link {
	color: #162144 !important;
	text-decoration: underline !important;
	font-weight: 500 !important;
	transition: color 0.2s ease !important;
}

.news-inline-link:hover {
	color: #3b5998 !important;
}

/* Размещение заголовка спикеров в одну строку на десктопе */
@media (min-width: 1025px) {
	.elementor-element-5368711 {
		width: 80% !important;
		max-width: 80% !important;
	}
	.elementor-element-4932146 {
		width: 20% !important;
		max-width: 20% !important;
	}
}

/* Страница контактов: стили для списка контактов */
/* Страница контактов: стили для списка контактов */
.elementor-element-28f7537 {
	padding-bottom: 10px !important; /* Убираем огромный отступ 117px */
}

.contacts-custom-widget {
	margin-top: 25px !important;
	margin-bottom: 0px !important;
}

.contacts-custom-widget .elementor-icon-list-item {
	margin-bottom: 20px !important;
	display: flex !important;
	align-items: center !important;
}

.contacts-custom-widget .elementor-icon-list-item a {
	display: inline-flex !important;
	align-items: center !important;
	text-decoration: none !important;
}

/* Золотые и крупные иконки (без анимации масштабирования) */
.contacts-custom-widget .elementor-icon-list-icon {
	width: 38px !important;
	height: 38px !important;
	min-width: 38px !important;
	margin-right: 18px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 0 !important;
	overflow: visible !important;
}

.contacts-custom-widget .elementor-icon-list-icon svg {
	width: 28px !important;
	height: 28px !important;
	fill: #D4AF37 !important; /* Золотой цвет */
	transition: fill 0.3s ease !important;
}

/* Крупный и привлекательный текст контактов */
.contacts-custom-widget .elementor-icon-list-text {
	font-family: "Roboto", sans-serif !important;
	font-size: 21px !important;
	font-weight: 500 !important;
	color: #162144 !important; /* Темно-синий основной цвет */
	line-height: 1.4 !important;
	transition: color 0.3s ease !important;
}

.contacts-custom-widget .elementor-icon-list-item a:hover .elementor-icon-list-text {
	color: #D4AF37 !important; /* Золотой при наведении на ссылку */
}

.contacts-custom-widget .elementor-icon-list-item a:hover .elementor-icon-list-icon svg {
	fill: #162144 !important; /* Плавное изменение цвета без масштабирования */
}

/* Страница контактов: Блок МЫ НА СВЯЗИ (выравнивание с заголовком контактов и уменьшенный отступ) */
.contacts-socials-section {
	margin-top: 15px !important;
	margin-bottom: 20px !important;
	padding-left: 42px !important; /* Левый отступ как у заголовка КОНТАКТЫ на десктопе */
}

.contacts-socials-title {
	font-family: "Roboto", sans-serif !important;
	font-size: 22px !important;
	font-weight: 600 !important;
	color: #162144 !important;
	letter-spacing: 1px !important;
	margin: 0 !important;
	text-align: left !important;
}

@media (max-width: 767px) {
	.contacts-socials-section {
		padding-left: 27px !important; /* Левый отступ как у заголовка КОНТАКТЫ на мобильных */
	}
}

/* Уменьшение шрифта копирайта в футере на 2 пункта (с 12px до 10px) */
.elementor-element-61651e24,
.elementor-element-61651e24 p,
.elementor-element-ebd23aa,
.elementor-element-ebd23aa p {
	font-size: 10px !important;
}

/* Модальное окно "Принять участие" */
.participation-modal {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: rgba(0, 0, 0, 0.6) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	z-index: 99999 !important;
	opacity: 0 !important;
	visibility: hidden !important;
	transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.participation-modal.active {
	opacity: 1 !important;
	visibility: visible !important;
}

.participation-modal__card {
	background: #ffffff !important;
	width: 100% !important;
	max-width: 450px !important;
	border-radius: 12px !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
	position: relative !important;
	padding: 35px 30px !important;
	box-sizing: border-box !important;
	transform: translateY(-20px) !important;
	transition: transform 0.3s ease !important;
	font-family: "Roboto", sans-serif !important;
}

.participation-modal.active .participation-modal__card {
	transform: translateY(0) !important;
}

.participation-modal__close {
	position: absolute !important;
	top: 15px !important;
	right: 20px !important;
	background: none !important;
	border: none !important;
	font-size: 28px !important;
	color: #666666 !important;
	cursor: pointer !important;
	transition: color 0.2s ease !important;
	padding: 0 !important;
	line-height: 1 !important;
}

.participation-modal__close:hover {
	color: #162144 !important;
}

.participation-modal__header {
	margin-bottom: 25px !important;
	text-align: center !important;
}

.participation-modal__title {
	font-family: "Roboto", sans-serif !important;
	font-size: 24px !important;
	font-weight: 600 !important;
	color: #162144 !important;
	margin: 0 !important;
	letter-spacing: 0.5px !important;
}

.participation-modal__form {
	display: flex !important;
	flex-direction: column !important;
	gap: 16px !important;
}

.participation-form__field input {
	width: 100% !important;
	padding: 12px 16px !important;
	border: 1px solid #dcdcdc !important;
	border-radius: 6px !important;
	font-size: 15px !important;
	color: #333333 !important;
	box-sizing: border-box !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
	background: #fafafa !important;
}

.participation-form__field input:focus {
	border-color: #162144 !important;
	box-shadow: 0 0 0 3px rgba(22, 33, 68, 0.1) !important;
	outline: none !important;
	background: #ffffff !important;
}

/* reCAPTCHA Custom Widget Styling */
.recaptcha-widget {
	width: 302px !important;
	height: 78px !important;
	border: 1px solid #d3d3d3 !important;
	background: #f9f9f9 !important;
	border-radius: 3px !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	padding: 0 10px 0 12px !important;
	box-sizing: border-box !important;
	margin: 5px auto !important;
	user-select: none !important;
}

.recaptcha-widget__left {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
}

.recaptcha-checkbox-wrapper {
	position: relative !important;
	width: 24px !important;
	height: 24px !important;
}

.recaptcha-checkbox-hidden {
	position: absolute !important;
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
}

.recaptcha-checkbox-label {
	display: block !important;
	width: 24px !important;
	height: 24px !important;
	border: 2px solid #c1c1c1 !important;
	background: #ffffff !important;
	border-radius: 2px !important;
	cursor: pointer !important;
	position: relative !important;
	transition: border-color 0.1s ease !important;
	box-sizing: border-box !important;
}

.recaptcha-checkbox-label:hover {
	border-color: #b2b2b2 !important;
}

.recaptcha-checkbox-checkmark {
	display: none !important;
	position: absolute !important;
	top: 1px !important;
	left: 6px !important;
	width: 6px !important;
	height: 12px !important;
	border: solid #009b00 !important;
	border-width: 0 3px 3px 0 !important;
	transform: rotate(45deg) !important;
}

.recaptcha-checkbox-hidden:checked + .recaptcha-checkbox-label {
	border-color: #009b00 !important;
	background: #ffffff !important;
}

.recaptcha-checkbox-hidden:checked + .recaptcha-checkbox-label .recaptcha-checkbox-checkmark {
	display: block !important;
}

.recaptcha-text {
	font-family: Roboto, helvetica, arial, sans-serif !important;
	font-size: 14px !important;
	color: #000000 !important;
	font-weight: 400 !important;
}

.recaptcha-widget__right {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 2px !important;
}

.recaptcha-logo {
	width: 32px !important;
	height: 32px !important;
}

.recaptcha-links {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
}

.recaptcha-links a {
	font-family: Roboto, helvetica, arial, sans-serif !important;
	font-size: 8px !important;
	color: #555555 !important;
	text-decoration: none !important;
	line-height: 1.2 !important;
}

.recaptcha-links a:hover {
	text-decoration: underline !important;
}

/* Чекбокс согласия */
.participation-form__consent {
	display: flex !important;
	align-items: flex-start !important;
	gap: 10px !important;
	font-size: 13px !important;
	color: #555555 !important;
	line-height: 1.4 !important;
}

.participation-form__consent input[type="checkbox"] {
	margin-top: 3px !important;
	cursor: pointer !important;
}

.participation-form__consent label {
	cursor: pointer !important;
}

.participation-form__consent a {
	color: #162144 !important;
	text-decoration: underline !important;
	font-weight: 500 !important;
}

.participation-form__consent a:hover {
	color: #21396F !important;
}

/* Кнопка отправки */
.participation-form__submit {
	width: 100% !important;
	padding: 14px 20px !important;
	background: #162144 !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 6px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: background-color 0.2s ease, transform 0.1s ease !important;
	letter-spacing: 1px !important;
	margin-top: 5px !important;
}

.participation-form__submit:hover {
	background: #21396F !important;
}

.participation-form__submit:active {
	transform: scale(0.98) !important;
}

/* Сообщение об успешной отправке или ошибке */
.participation-form__message {
	font-size: 14px !important;
	text-align: center !important;
	margin-top: 10px !important;
	font-weight: 500 !important;
	min-height: 20px !important;
}

.participation-form__message.success {
	color: #008000 !important;
}

.participation-form__message.error {
	color: #cc0000 !important;
}

/* Стили для подсветки невалидных инпутов */
.participation-form__field input.invalid {
	border-color: #cc0000 !important;
	box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.15) !important;
	background-color: #fffbfb !important;
}

/* Исправление белого фона футера на главной странице при 1024px */
.elementor-75 .elementor-element.elementor-element-e144009.e-con.e-parent:not(.elementor-motion-effects-element-type-background),
.elementor-75 .elementor-element.elementor-element-e144009.e-con.e-parent > .elementor-motion-effects-container > .elementor-motion-effects-layer {
	background-image: linear-gradient(180deg, #213155 24%, #162144 59%) !important;
}

/* Восстановление стиля кнопок обратной связи в шапке на всех страницах (включая 1024px) */
.elementor-button,
a.elementor-button,
header .elementor-button,
.elementor-location-header .elementor-button,
.elementor-widget-button .elementor-button,
.elementor-button.elementor-button-link,
.e-con.e-parent:nth-of-type(n+1):not(.e-lazyloaded):not(.e-no-lazyload) .elementor-button,
.e-con.e-parent:nth-of-type(n+1):not(.e-lazyloaded):not(.e-no-lazyload) a.elementor-button {
	background: linear-gradient(180deg, #ECC795 0%, #AC8444 100%) !important;
	background-image: linear-gradient(180deg, #ECC795 0%, #AC8444 100%) !important;
	color: #212D55 !important;
	fill: #212D55 !important;
	font-family: "Roboto", Sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	padding: 12px 24px !important;
	border-radius: 4px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-decoration: none !important;
}

/* Принудительный цвет текста для дочерних спанов */
.elementor-button .elementor-button-text,
header .elementor-button .elementor-button-text,
.elementor-location-header .elementor-button .elementor-button-text,
.elementor-button-text,
.e-con.e-parent:nth-of-type(n+1):not(.e-lazyloaded):not(.e-no-lazyload) .elementor-button .elementor-button-text {
	color: #212D55 !important;
	fill: #212D55 !important;
	font-weight: 500 !important;
}

/* Hover-эффект для кнопок в шапке */
.elementor-button:hover,
a.elementor-button:hover,
header .elementor-button:hover,
.elementor-location-header .elementor-button:hover,
.elementor-widget-button .elementor-button:hover,
.e-con.e-parent:nth-of-type(n+1):not(.e-lazyloaded):not(.e-no-lazyload) .elementor-button:hover,
.e-con.e-parent:nth-of-type(n+1):not(.e-lazyloaded):not(.e-no-lazyload) a.elementor-button:hover {
	background: linear-gradient(180deg, #FFECC6 0%, #AD8C52 100%) !important;
	background-image: linear-gradient(180deg, #FFECC6 0%, #AD8C52 100%) !important;
	color: #212D55 !important;
}

/* Hover-эффект для текста */
.elementor-button:hover .elementor-button-text,
header .elementor-button:hover .elementor-button-text,
.elementor-location-header .elementor-button:hover .elementor-button-text,
.e-con.e-parent:nth-of-type(n+1):not(.e-lazyloaded):not(.e-no-lazyload) .elementor-button:hover .elementor-button-text {
	color: #212D55 !important;
}

/* Страница Новости: уменьшение отступа снизу перед футером на узких экранах */
@media (max-width: 1024px) {
	.elementor-page-8 .elementor-element-e81f00c,
	.elementor-page-8 .news-container {
		padding-bottom: 0px !important;
		margin-bottom: 0px !important;
	}

	.elementor-page-8 .elementor-element-e81f00c {
		grid-template-rows: auto !important;
		--e-con-grid-template-rows: auto !important;
	}
}

/* Предотвращение сжатия контейнера картинки в модальных окнах новостей на главной */
.custom-modal__media {
	flex-shrink: 0 !important;
}

/* Оптимизация хедера для планшетов (1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
	/* Опускаем логотип в навбаре */
	.elementor-widget-theme-site-logo {
		top: 0px !important;
	}

	/* Рубрикатор меню в 2 строки (уменьшаем шрифт и отступы) */
	header .elementor-nav-menu .elementor-item,
	header .elementor-nav-menu .menu-item a,
	header .elementor-nav-menu a {
		font-size: 13px !important;
		padding-left: 8px !important;
		padding-right: 8px !important;
	}
}

/* Отключение неработающего бургер-меню в футере на планшетах и мобильных (замена на горизонтальные ссылки) */
@media (max-width: 1024px) {
	footer .e-n-menu-toggle {
		display: none !important;
	}

	footer .e-n-menu-wrapper {
		display: flex !important;
		visibility: visible !important;
		opacity: 1 !important;
		position: static !important;
		width: auto !important;
		height: auto !important;
		background: none !important;
		transform: none !important;
		box-shadow: none !important;
		padding: 0 !important;
		margin: 10px 0 0 0 !important;
	}

	footer .e-n-menu-heading {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: wrap !important;
		justify-content: center !important;
		gap: 15px !important;
		padding: 0 !important;
		margin: 0 !important;
		list-style: none !important;
		width: 100% !important;
	}

	footer .e-n-menu-heading .e-n-menu-item {
		margin: 0 !important;
		padding: 0 !important;
	}

	footer .e-n-menu-heading .e-n-menu-title {
		padding: 0 !important;
		margin: 0 !important;
	}

	footer .e-n-menu-heading .e-n-menu-title a {
		font-family: "Roboto", sans-serif !important;
		font-size: 11px !important;
		color: #ffffff !important;
		opacity: 0.7 !important;
		text-decoration: none !important;
		white-space: nowrap !important;
		transition: opacity 0.2s ease !important;
	}

	footer .e-n-menu-heading .e-n-menu-title a:hover {
		opacity: 1 !important;
	}
}

/* Стандартизация галереи (лайтбокса) для предотвращения выхода стрелок навигации за границы экрана */
.custom-lightbox__content {
	max-width: 80% !important;
}

.custom-lightbox__image {
	max-width: 100% !important;
}

/* На мобильных сужаем контент еще сильнее для гарантированного размещения стрелок */
@media (max-width: 767px) {
	.custom-lightbox__content {
		max-width: 70% !important;
	}
}

/* Делаем круглыми фотографии спикеров на главной странице */
.e-950399f-b9732ba .elementor-image-box-img {
	width: 90px !important;
	height: 90px !important;
	flex-shrink: 0 !important;
	border-radius: 50% !important;
	overflow: hidden !important;
	border: 2px solid #FFE0B0 !important;
}

.e-950399f-b9732ba .elementor-image-box-img img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	border-radius: 50% !important;
}

