/*
Theme Name: telesen
Author: a-standard
Author URI: https://a-standard.ru/
Theme URI: https://a-standard.ru/
Tags: full-site-editing, block-patterns
Text Domain: telesen
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 100.57
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/* Styles intended only for the front. */
/* ==========================================================================
   1. BASE
   ========================================================================== */
*,
*:before,
*:after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */
h1 {
	font-weight: 500;
	font-size: 44px;
	line-height: 52px;
	color: #1E1E1E;
}

h3 {
	line-height: 100%;
	margin-bottom: 32px;
	font-weight: 400;
	color: #1E1E1E;
	font-size: 28px;
}

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.button a {
	color: #FFFFFF;
	padding: 16px 60px;
	padding: 18px 22px;
	background: #6D91C6;
	border: 0px;
	border-radius: 0px;
	transition: background 1s ease;
}

.button:hover a {
	border: 0px !important;
	color: #fff;
	background: #5A7EB3;
}

.button-secondary {
	border: 1.2px solid var(--blue, rgba(109, 145, 198, 1));
	background: #FFFFFF;
	color: rgba(109, 145, 198, 1);
	transition: background 1s ease;
}

.wp-block-button__link {
	border-radius: 0px important;
	border-width: 0px !important;
}

.wp-block-button a:hover {
	border: 0px !important;
	color: #fff;
	background: #5A7EB3;
}

.wp-element-button {
	font-weight: 200;
	border-radius: 0px;
	border-width: 0px !important;
	min-height: 60px;
	min-width: 160px;
}

.wp-element-button:hover {
	border: 0px !important;
	color: #fff;
	background: #5A7EB3;
}

/* ==========================================================================
   4. HEADER & NAVIGATION
   ========================================================================== */
/*
 * Полоса с .is-position-sticky: в потоке до скролла, затем position:fixed (см. functions.php).
 * Чистый CSS sticky внутри <header> не держит полосу над <main> — родитель header целиком уезжает вверх.
 */
header,
.site-header-2 {
	position: relative;
	z-index: 101;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	overflow: visible;
}

.site-header-2 {
	position: sticky;
	top: 0;
	margin-top: 0 !important;
	transition: box-shadow 0.2s ease;
	z-index: 100;
}

.site-header-2.is-stuck {
	box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.site-header:has(.is-menu-open) .wp-block-site-logo {
	z-index: 103;
}

/* .wp-block-navigation__responsive-container-close {
	right: -8px;
} */

/* Подменю в десктопной навигации */
.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container,
.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container,
.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
	min-width: 300px;
	margin-top: 0;
	padding: 10px;
}

/* Верхняя контактная полоса */
.top-cont a {
	color: #002947;
	font-size: 16px;
	line-height: 16px;
	font-weight: 300;
	font-style: normal;
	background-color: #e2e9f4;
	padding: 16px 22px;
	transition: all 0.2s ease;
	display: block;
	height: 52px;
}

.top-cont:hover a {
	color: #fff;
	background: #5A7EB3;
}

/* ==========================================================================
   5. SITE SEARCH
   ========================================================================== */
.site-search__result:focus-visible,
.site-search__result:hover {
	background: #fff;
	outline: none;
	opacity: 0.6;
}

/* ==========================================================================
   6. BREADCRUMBS (Rank Math)
   ========================================================================== */
.rank-math-breadcrumb p {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.rank-math-breadcrumb a {
	font-style: normal;
	font-weight: 200;
	font-size: 15px;
	line-height: 20px;
	opacity: 0.5;
	text-decoration: none;
	transition: opacity .2s ease;
}

.rank-math-breadcrumb a:hover {
	opacity: 1;
}

.rank-math-breadcrumb .last {
	font-family: 'Geologica', sans-serif;
	font-style: normal;
	font-weight: 200;
	font-size: 15px;
	line-height: 20px;
	opacity: 1;
}

/* Убираем стандартный > */
.rank-math-breadcrumb .separator {
	font-size: 0;
	width: 12px;
	height: 7px;
	display: inline-block;
	position: relative;
}

/* SVG-разделитель */
.rank-math-breadcrumb .separator::before {
	content: "";
	display: block;
	width: 12px;
	height: 7px;
	background: url("/wp-content/uploads/2026/03/vector-3.svg") center / contain no-repeat;
}

/* ==========================================================================
   7. WPS BLOCKS (общие)
   ========================================================================== */
.wp-block-wps-blocks-post-link:hover {
	opacity: 0.8;
}

.wp-block-wps-blocks-modal-button.wps-modal-button--dark:hover {
	background-color: #6d91c6 !important;
}

.wp-block-read-more.read-more-hover {
	color: transparent;
	display: block;
	font-size: 0;
	height: 100%;
	inset: 0;
	line-height: 0;
	position: absolute;
	width: 100%;
}

/* ==========================================================================
   8. ГЛАВНАЯ
   ========================================================================== */

.logo-slider img:hover {
	opacity: 0.8;
}

.mp-banner {
	z-index: -1;
}
.posts-slider__tag {
    backdrop-filter: blur(3.024px);
}

/* ==========================================================================
   9. ПОРТФОЛИО
   ========================================================================== */
.portfolio-grid ul.wp-block-post-template {
	gap: 24px;

}

@media (max-width: 1024px) {
	.portfolio-grid ul.wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.portfolio-grid ul.wp-block-post-template {
		grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
		gap: 12px;
	}
}

.wp-block-cover__inner-container:hover {
	opacity: 1;
}

.abc-style-vskcld a {
	line-height: 36px;
}
.wp-block-wps-blocks-post-filters.post-filters .post-filters__desktop .post-filters__select-wrap .post-filters__select-dropdown {
    max-height: 350px !important;
}
.abc-style-yk3luq {
    background: rgba(217, 217, 217, 0.075);
    backdrop-filter: blur(3.024px);
    padding: 6px 12px;
}
/* ==========================================================================
   10. ФОРМЫ (CF7)
   ========================================================================== */
.form-two-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 0px;
}

.form-column {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

input.wpcf7-text {
	height: 68px;
	font-size: 18px;
	line-height: 100%;
	font-weight: 300;
	color: #bcbec0;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 12px;
	border: 0px;
	border-radius: 0px;
	padding: 24px 20px;
	border: 1.4px solid var(--gray-100, #EEF2F5);
	background: #FFF;
}

.form-column input[type="text"],
.form-column input[type="tel"],
.form-column textarea {
	background: #FFFFFF;
	border: 0px;
}

.form-column textarea {
	height: 228px;
	resize: vertical;
}

.form-column input::placeholder,
.form-column textarea::placeholder {
	color: #bcbec0;
	font-weight: 300;
	font-size: 18px;
}

.form-file-upload {
	margin: 0;
}

.form-file-upload input[type="file"] {
	width: 100%;
}

.file-hint {
	color: #bcbec0;
	font-size: 13px;
	margin-top: 8px;
}

.form-submit {
	background: #6D91C6;
	color: #FFFFFF;
	border: none;
	width: 384px;
	height: 68px;
	font-size: 18px;
	font-weight: 600;
	border-radius: 0;
	cursor: pointer;
	transition: background 0.3s ease;
}

.form-submit:hover {
	background: #5A7EB3;
}

/* Форма в модальном окне */
.wps-modal .wpcf7-submit {
	width: 100%;
}

.wps-modal .wpcf7-submit:hover {
	background: #5A7EB3;
}

.wps-modal .wpcf7-spinner {
	display: none;
}

.wps-modal .accept-description {
	color: #979797;
	font-size: 13px;
	font-weight: 200;
	line-height: 1;
}

.wp-block-search .wp-block-search__inside-wrapper {
	position: relative;
}

.wp-block-search .wp-block-search__inside-wrapper::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 16px;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	background-image: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.5002 17.5002L13.1693 13.1693M13.1693 13.1693C14.3415 11.9972 15 10.4074 15 8.74975C15 7.09208 14.3415 5.50231 13.1693 4.33016C11.9972 3.15802 10.4074 2.49951 8.74975 2.49951C7.09208 2.49951 5.50231 3.15802 4.33016 4.33016C3.15802 5.50231 2.49951 7.09208 2.49951 8.74975C2.49951 10.4074 3.15802 11.9972 4.33016 13.1693C5.50231 14.3415 7.09208 15 8.74975 15C10.4074 15 11.9972 14.3415 13.1693 13.1693Z" stroke="%236D91C6" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.wp-block-search .wp-block-search__input {
	padding-left: 48px;
	border-top: 1px solid #EEF2F5;
	border-bottom: 1px solid #EEF2F5;
	border-left: 1px solid #EEF2F5;
	border-right: 0px;
}

.wp-block-search__button {
	margin-left: 0;
}

.wp-block-search__button.has-icon {
	min-height: 52px;
	min-width: 52px;
	height: 52px;
	width: 52px;
}

/* ==========================================================================
   11. УСЛУГИ
   ========================================================================== */
.serv-banner .rank-math-breadcrumb a,
.serv-banner a {
	color: #fff;
}

.serv-banner::before,
.abc-style-zsrx5r::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	background: linear-gradient(to right,
			rgba(0, 0, 0, 0.85) 0%,
			rgba(0, 0, 0, 0.65) 40%,
			rgba(0, 0, 0, 0.25) 70%,
			transparent 100%);
	z-index: 1;
	pointer-events: none;
}

.serv-banner>*,
.abc-style-zsrx5r>* {
	position: relative;
	z-index: 2;
}

.competencies .about-list li {
	font-size: 20px;
	line-height: 1.55;
	font-weight: 200 !important;
	margin: 0px 0px 10px 0px;
}

.serv-button {
	gap: 12px;
	margin: 6px 0 !important;
	transition: all 0.3s ease;
}

.serv-button:hover {
	background: #5A7EB3;
	color: #fff !important;
}

.serv-button::after {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url("/wp-content/uploads/2026/04/icon.svg") center / contain no-repeat;
	flex-shrink: 0;
}

.serv-button2 a {
	background: transparent;
	border: 1px solid #fff;
}

.serv-button-all a:hover {
	background: #5A7EB3 !important;
	color: #fff !important;
}

.services-grid ul.wp-block-post-template {
	padding: 0px !important;
}

.services-grid ul.wp-block-post-template>li {
	border-top: 12px solid #fff;
	border-bottom: 12px solid #fff;
}

.services-grid ul.wp-block-post-template>li:nth-child(odd) {
	border-right: 12px solid #fff;
}

.services-grid ul.wp-block-post-template>li:nth-child(even) {
	border-left: 12px solid #fff;
}

/* Fix: after moving services-out-item into post-template grid, icon flex item may collapse to 0 width. */
.services-grid .services-out-item .wp-block-wps-blocks-svg-link .svg-link-icon-wrapper {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	min-width: 16px;
}

.services-grid .services-out-item .wp-block-wps-blocks-svg-link .svg-link-icon-wrapper svg {
	display: block;
	width: 100%;
	height: 100%;
}

/* ==========================================================================
   12. КАТАЛОГ
   ========================================================================== */
.catalog-table.wp-block-table thead {
	border-bottom: 0px solid;
}

.catalog-table {
	width: 100%;
	border-collapse: collapse;
	border: 0px;
}

.catalog-table th {
	font-weight: 300;
	border: 0px;
	background: #EEF2F5;
	padding: 20px 24px;
	color: #1E1E1E;
	text-align: left;
	border-bottom: 0px;
}

.catalog-table td {
	font-weight: 200;
	padding: 20px 24px;
	border-top: 0px !important;
	border-right: 0px !important;
	border-left: 0px !important;
	border-bottom: 1px solid #E5E9F0;
}

.catalog-table td>div {
	display: flex;
	align-items: center;
	padding: 0 24px;
	height: 100%;
	width: 100%;
}

.catalog-table a {
	font-weight: 200;
	font-size: 18px;
	text-decoration-line: underline;
	color: #6D91C6;
}

.catalog-table a:hover {
	color: #1E1E1E;
}

.catalog-table tr:hover {
	background: rgb(238 242 245 / 30%);
}

/* ==========================================================================
   13. О КОМПАНИИ
   ========================================================================== */
.about-list {
	list-style: none;
	padding-left: 0;
}

.about-list li {
	position: relative;
	padding-left: 28px;
	font-size: 18px;
	line-height: 1.55;
}

.about-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 14px;
	width: 17px;
	height: 2px;
	background-color: #6D91C6;
	border-radius: 0px;
}

.about-text a {
	color: #6D91C6;
	text-decoration: none;
	font-weight: 200;
	position: relative;
	padding-right: 20px;
	transition: color 0.3s ease;
	margin-right: 5px;
}

.about-text a:hover {
	color: #5A7EB3;
}

.about-text a::after {
	content: "";
	display: inline-block;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	background: url("/wp-content/uploads/2026/03/icon-1.svg") center / contain no-repeat;
	transition: transform 0.3s ease;
}

/* ==========================================================================
   14. АККОРДЕОН / ВАКАНСИИ
   ========================================================================== */
.wp-block-accordion-heading .wp-block-accordion-heading__toggle-icon {
	color: transparent;
	background-color: var(--wp--preset--color--primary, #6D91C6);
	width: 44px;
	height: 44px;
	border-radius: 0px;
	transition: transform 0.4s ease;
	line-height: 1;
	position: relative;

	&::before {
		content: "+";
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 16px;
		height: 16px;
		background: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.07107 0.74992C7.07107 0.335707 7.40677 -5.47908e-07 7.82099 0C8.2352 -2.10725e-08 8.57091 0.335706 8.57091 0.74992V7.07107H14.8921C15.3063 7.07107 15.642 7.40677 15.642 7.82099C15.642 8.2352 15.3063 8.57091 14.8921 8.57091H8.57091V14.8921C8.57091 15.3063 8.2352 15.642 7.82099 15.642C7.40677 15.642 7.07107 15.3063 7.07107 14.8921L7.07107 8.57091H0.74992C0.335706 8.57091 -2.10589e-08 8.2352 0 7.82099C-2.10589e-08 7.40677 0.335706 7.07107 0.74992 7.07107H7.07107L7.07107 0.74992Z" fill="white"/></svg>') center / contain no-repeat;
		transition: transform 0.4s ease;
	}

	&:hover {
		background: #5A7EB3;
	}
}

.wp-block-accordion-heading__toggle-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: #6D91C6;
	color: white;
	font-size: 24px;
	font-weight: 400;
	border-radius: 0px;
	flex-shrink: 0;
	transition: transform 1s ease;
	line-height: 1;
}

.wp-block-accordion-item-is-layout-flow {
	transition: transform 1s ease;
}

.wp-block-accordion-item.is-open>.wp-block-accordion-heading .wp-block-accordion-heading__toggle-icon {
	transform: none;

	&::before {
		transform: translate(-50%, -50%) rotate(45deg);
	}
}

/* ==========================================================================
   15. ЛИЦЕНЗИИ / ГАЛЕРЕЯ
   ========================================================================== */


.licens .size-full {
	max-height: 300px;
}

.licens.wp-block-gallery.has-nested-images figure.wp-block-image {
	flex-grow: 0;
}

/* .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	display: none;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before {
	display: none;
} */

/* ==========================================================================
   16. ПОДВАЛ
   ========================================================================== */
.footnav .wp-block-navigation-item__label {
	color: #1E1E1E;
	font-size: 18px;
	font-weight: 300 !important;
}

.footnav .wp-block-navigation-item__label:hover {
	color: #6d91c6;
}

.footnav .has-child,
footer .wp-block-navigation .has-child {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 5px;
}

.footnav .has-child>.wp-block-navigation-item__content,
footer .wp-block-navigation .has-child>.wp-block-navigation-item__content {
	flex: 0 1 auto;
	text-decoration: none;
}

.footnav .has-child>.wp-block-navigation-item__content .wp-block-navigation-item__label,
footer .wp-block-navigation .has-child>.wp-block-navigation-item__content .wp-block-navigation-item__label {
	color: #002947;
	font-size: 17px;
	font-weight: 400 !important;
	line-height: normal;
}

.footnav .has-child>.wp-block-navigation-item__content:hover .wp-block-navigation-item__label,
footer .wp-block-navigation .has-child>.wp-block-navigation-item__content:hover .wp-block-navigation-item__label {
	color: #6d91c6;
}

.footnav .has-child>.wp-block-navigation-submenu__toggle,
.footnav .has-child>button.wp-block-navigation__submenu-icon,
footer .wp-block-navigation .has-child>.wp-block-navigation-submenu__toggle,
footer .wp-block-navigation .has-child>button.wp-block-navigation__submenu-icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 21px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #002947;
	cursor: pointer;
	transform: rotate(0deg);
	transition: transform 0.2s ease;
}

.footnav .has-child.is-submenu-open>.wp-block-navigation-submenu__toggle,
.footnav .has-child.is-submenu-open>button.wp-block-navigation__submenu-icon,
.footnav .has-child>.wp-block-navigation-submenu__toggle[data-submenu-open="true"],
.footnav .has-child>button.wp-block-navigation__submenu-icon[data-submenu-open="true"],
.footnav .has-child>.wp-block-navigation-submenu__toggle[aria-expanded="true"],
.footnav .has-child>button.wp-block-navigation__submenu-icon[aria-expanded="true"],
footer .wp-block-navigation .has-child.is-submenu-open>.wp-block-navigation-submenu__toggle,
footer .wp-block-navigation .has-child.is-submenu-open>button.wp-block-navigation__submenu-icon,
footer .wp-block-navigation .has-child>.wp-block-navigation-submenu__toggle[data-submenu-open="true"],
footer .wp-block-navigation .has-child>button.wp-block-navigation__submenu-icon[data-submenu-open="true"],
footer .wp-block-navigation .has-child>.wp-block-navigation-submenu__toggle[aria-expanded="true"],
footer .wp-block-navigation .has-child>button.wp-block-navigation__submenu-icon[aria-expanded="true"] {
	transform: rotate(180deg) !important;
}

.footnav .has-child>.wp-block-navigation-submenu__toggle svg,
.footnav .has-child>button.wp-block-navigation__submenu-icon svg,
footer .wp-block-navigation .has-child>.wp-block-navigation-submenu__toggle svg,
footer .wp-block-navigation .has-child>button.wp-block-navigation__submenu-icon svg {
	width: 14px;
	height: 21px;
	fill: currentColor;
}

.footnav .has-child>.wp-block-navigation__submenu-container,
footer .wp-block-navigation .has-child>.wp-block-navigation__submenu-container {
	flex: 0 0 100%;
	position: static !important;
	left: auto !important;
	top: auto !important;
	width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	margin: 20px 0 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 20px;
	font-weight: 300;
}

.footnav .has-child:not(.is-submenu-open)>.wp-block-navigation__submenu-container,
.footnav .has-child:not(.is-submenu-open):hover>.wp-block-navigation__submenu-container,
footer .wp-block-navigation .has-child:not(.is-submenu-open)>.wp-block-navigation__submenu-container,
footer .wp-block-navigation .has-child:not(.is-submenu-open):hover>.wp-block-navigation__submenu-container {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
}

.footnav .has-child.is-submenu-open>.wp-block-navigation__submenu-container,
footer .wp-block-navigation .has-child.is-submenu-open>.wp-block-navigation__submenu-container {
	display: flex !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.footnav .cat {
	font-weight: 400 !important;
	font-size: 18px;
	line-height: 22px;
	color: #002947;
}

/* ==========================================================================
   17. ПАГИНАЦИЯ
   ========================================================================== */
.wp-block-query-pagination-numbers {
	display: flex;
	gap: 8px;
}

.wp-block-query-pagination-numbers .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	background: #EEF2F5;
	font-size: 16px;
	font-weight: 300;
	color: #1E1E1E;
	text-decoration: none;
	transition: all 0.3s ease;
}

.wp-block-query-pagination-numbers .page-numbers.current {
	background: #002947;
	color: #FFFFFF;
	font-weight: 600;
}

.wp-block-query-pagination-numbers .page-numbers:hover:not(.current) {
	background: #E0E6ED;
}

.wp-block-query-pagination .wp-block-query-pagination-next,
.wp-block-query-pagination .wp-block-query-pagination-previous {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	background: #EEF2F5;
	text-decoration: none;
	transition: all 0.3s ease;
}

.wp-block-query-pagination .wp-block-query-pagination-next:hover,
.wp-block-query-pagination .wp-block-query-pagination-previous:hover {
	background: #E0E6ED;
}

.wp-block-query-pagination-next-arrow,
.wp-block-query-pagination-previous-arrow {
	font-size: 20px;
	color: #1E1E1E;
	line-height: 1;
}

.wp-block-query-pagination .wp-block-query-pagination-previous-arrow {
	display: inline-block;
	margin-right: 0px !important;
}

.wp-block-query-pagination .wp-block-query-pagination-next-arrow {
	margin-left: 0px !important;
}

/* ==========================================================================
   18. ФАЙЛЫ
   ========================================================================== */
.wp-block-file>a {
	display: none;
}

.wp-block-file__embed {
	height: 100% !important;
	width: 100% !important;
}

/* ==========================================================================
   19. МОДАЛЬНЫЕ ОКНА
   ========================================================================== */
.wp-block-wps-blocks-modal.wps-modal-frontend.wps-modal--open {
	transition: background 1s ease;
}

.wp-block-wps-blocks-modal.wps-modal-frontend.wps-modal--wide .wps-modal__content {
	max-width: 1280px;
	max-height: 85vh;
	width: calc(100vw - 160px);

}


.wp-block-wps-blocks-modal.wps-modal-frontend .wps-modal__close {
	color: #fff;
	background: #6D91C6;
	width: 58px;
	height: 58px;
	right: -70px;
	z-index: 10000;
}

.wp-block-wps-blocks-modal.wps-modal-frontend .wps-modal__close:hover {
	background: #5A7EB3;
}

.modal-video .wps-modal__content {
	border: none !important;
	border-radius: 0 !important;
	max-width: 1280px !important;
	height: 568px;
	padding: 0 !important;
}

.modal-video .wp-block-video {
	height: 100% !important;
}

.modal-video .wp-block-video video {
	height: 100% !important;
}

.modal-pdf .wps-modal__content {
	border: none !important;
	border-radius: 0 !important;
	max-width: 1280px !important;
	height: 100%;
	padding: 0 !important;
}

.wps-modal__content {
	border-radius: 0px !important;
}

.present-modal.wp-block-wps-blocks-modal.wps-modal-frontend {
	display: flex !important;
	justify-content: end;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.present-modal.wp-block-wps-blocks-modal.wps-modal-frontend .wps-modal__content {
	height: 100vh;
	max-height: 100vh;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #6D91C6 #F6F9FA;
	transform: translateX(100%);
	transition: transform 0.3s ease-out;
}

.present-modal.wp-block-wps-blocks-modal.wps-modal-frontend.wps-modal--open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.present-modal.wp-block-wps-blocks-modal.wps-modal-frontend.wps-modal--open .wps-modal__content {
	transform: translateX(0);
}

.present-modal.wp-block-wps-blocks-modal.wps-modal-frontend .wps-modal__content .wps-modal__close {
	right: 0;
	top: 0;
}

/* ==========================================================================
   20. RESPONSIVE
   ========================================================================== */
/* --- max-width: 1023px (планшеты) --- */
@media (max-width: 1023px) {
	h1 {
		font-size: 28px;
	}

	h2 {
		font-size: 26px;
	}

	h3 {
		font-size: 24px;
	}

	p {
		font-size: 17px;
		line-height: 120%;
	}

	.top-cont a {
		font-size: 0 !important;
		display: flex;
		padding: 0;
		height: 48px;
		width: 48px;
		align-items: center;
		justify-content: center;
	}

	.top-cont a::after {
		content: "";
		display: block;
		width: 20px;
		height: 20px;
		background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M16.5625 3.75H3.4375C2.57456 3.75 1.875 4.44956 1.875 5.3125V14.6875C1.875 15.5504 2.57456 16.25 3.4375 16.25H16.5625C17.4254 16.25 18.125 15.5504 18.125 14.6875V5.3125C18.125 4.44956 17.4254 3.75 16.5625 3.75Z" stroke="%23002947" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/><path d="M4.375 6.25L10 10.625L15.625 6.25" stroke="%23002947" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / contain no-repeat;
	}

	.top-cont a:hover::after {
		background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M16.5625 3.75H3.4375C2.57456 3.75 1.875 4.44956 1.875 5.3125V14.6875C1.875 15.5504 2.57456 16.25 3.4375 16.25H16.5625C17.4254 16.25 18.125 15.5504 18.125 14.6875V5.3125C18.125 4.44956 17.4254 3.75 16.5625 3.75Z" stroke="%23FFFFFF" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/><path d="M4.375 6.25L10 10.625L15.625 6.25" stroke="%23FFFFFF" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
	}
}

/* --- max-width: 768px --- */
@media (max-width: 768px) {
	header {
		position: sticky;
		top: 0;
	}

	.form-two-columns {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.form-submit {
		width: 100%;
	}
}

/* --- max-width: 767px (мобильные) --- */
@media (max-width: 768px) {
	h1 {
		font-size: 24px;
		line-height: 120%;
	}

	h2 {
		font-size: 22px;
	}

	p {
		font-size: 16px;
		line-height: 120%;
	}

	.wp-block-navigation .has-child .wp-block-navigation__submenu-container>.wp-block-navigation-item>.wp-block-navigation-item__content {
		display: flex;
		flex-grow: 1;
		padding: 0px !important;
		padding-bottom: 2px !important;
	}

	.wp-block-navigation .has-child.open-always .wp-block-navigation__submenu-container,
	.wp-block-navigation .has-child.open-always.wp-block-navigation-submenu {
		gap: 12px !important;
	}

	.serv-button {
		min-width: 100%;
	}

	.footer-button {
		min-width: 100% !important;
		;
	}
}

/* --- max-width: 768px (шапка: телефон, моб. меню) --- */
@media (max-width: 768px) {
	.top-phone a {
		font-size: 0 !important;
		display: block;
		padding: 6px;
		background-color: #e2e9f4;
		margin-right: -16px;
	}

	.top-phone a::after {
		content: "";
		display: inline-block;
		position: relative;
		width: 24px;
		height: 24px;
		background-image: url("/wp-content/uploads/2026/03/phone.svg");
	}

	nav.topmobmenu {
		z-index: 102;
	}

	nav.topmobmenu .wp-block-navigation__responsive-container-open,
	nav.topmobmenu .wp-block-navigation__responsive-container-close,
	.wp-block-navigation-overlay-close {
		width: 36px;
		height: 36px;
		background: #E2E9F4;
		padding: 6px 6px;
	}

	/* nav.topmobmenu .wp-block-navigation__responsive-container {
		padding: 16px;
	} */

	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container {
		padding-top: 0 !important;
		padding-left: 33px !important;
		padding-right: 33px !important;
		gap: 8px !important;
	}

	.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item {
		position: relative;
	}

	.wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item::before {
		position: absolute;
		content: "";
		display: block;
		width: 17px;
		height: 2px;
		background: #6D91C6;
		left: -12px;
		transform: translateX(-100%);
		top: 12px;
	}

	.wp-block-wps-blocks-modal.wps-modal-frontend.wps-modal--wide .wps-modal__content {

		width: calc(100vw - 32px);

	}

	.wp-block-wps-blocks-modal.wps-modal-frontend .wps-modal__close {
		color: #1E1E1E;
		background: #EEF2F5;
		width: calc(100% - 40px);
		height: 48px;
		right: 20px;
		bottom: 20px;
		left: 20px;
		top: auto;
	}

	.wp-block-wps-blocks-modal.wps-modal-frontend .wps-modal__close svg {
		display: none;
	}

	.wp-block-wps-blocks-modal.wps-modal-frontend .wps-modal__close::before {
		content: "Закрыть";
		display: block;
		color: var(--black, #1E1E1E);
		font-family: Geologica;
		font-size: 15px;
		font-style: normal;
		font-weight: 200;
		line-height: 20px;
	}

	.wp-block-wps-blocks-modal.wps-modal-frontend .wps-modal__close:hover {
		background: #5A7EB3;
		color: #fff;
	}

	.modal-video .wps-modal__content .wps-modal__close {
		display: none;
	}
}

/* --- max-width: 600px --- */
@media (max-width: 600px) {
	.services-grid ul.wp-block-post-template>li {
		border-top: 6px solid #fff;
		border-bottom: 6px solid #fff;
	}

	.services-grid ul.wp-block-post-template>li:nth-child(odd) {
		border-right: none;
	}

	.services-grid ul.wp-block-post-template>li:nth-child(even) {
		border-left: none;
	}
}

/* --- max-width: 359px --- */
@media (max-width: 359px) {
	h3 {
		font-size: 20px;
		margin-bottom: 20px !important;
	}
}

/* ==========================================================================
   21. LEGACY / DISABLED (закомментировано)
   ========================================================================== */
/* header .is-position-sticky {
	position: relative;
	z-index: 101;
	width: 100%;
	max-width: none;
	transition: box-shadow 0.2s ease;
}
header .is-position-sticky .wp-block-navigation {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
} */
/* «Прилипла» к верху экрана на весь дальнейший скролл (не только пока крутится header) */
/* header .is-position-sticky.is-stuck {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
	max-width: none;
	box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.admin-bar header .is-position-sticky.is-stuck {
	top: var(--wp-admin--admin-bar--height, 32px);
}
@media screen and (max-width: 782px) {
	.admin-bar header .is-position-sticky.is-stuck {
		top: var(--wp-admin--admin-bar--height, 46px);
	}
}
@media (prefers-reduced-motion: reduce) {
	header .is-position-sticky {
		transition: none;
	}
} */
/* Маркер для IntersectionObserver */
/* .telesen-sticky-sentinel {
	height: 1px;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	pointer-events: none;
	visibility: hidden;
} */
/* Резервирует место в потоке, пока полоса в position:fixed */
/* .telesen-sticky-spacer {
	margin: 0;
	padding: 0;
	border: 0;
	pointer-events: none;
	visibility: hidden;
} */
/* .wps-modal__close::before {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	background: url("/wp-content/uploads/2026/04/vector-x.svg") center / contain no-repeat;
	margin: 0px 00px 0px 16px;
} */


.interactive-map__marker .interactive-map__marker-count {
    min-width: 20px !important;
    border-radius: 500px !important;
}