/* Mobile responsive fix (added) - delivered as a separate file to bypass beget static cache */
/* Hide the broken "Поделитесь с друзьями" social-share block (text + 3 broken icon images) */
.podelisv { display: none !important; }
/* Hide the broken "Поисковая оптимизация" image (search_engine.gif, naturalWidth 0) before the footer */
img.wp-image-53 { display: none !important; }
@media only screen and (max-width: 992px) {
	html, body { overflow-x: hidden !important; max-width: 100%; }
	#wrapper { width: 100% !important; max-width: 100% !important; }
	.akcia .slayd { width: 100% !important; }
	.akcia .slaydblock { width: 100% !important; }
	.container { max-width: 100% !important; }
	.greenv, .pochemuv, .sertifv, .resultv, .resblockv,
	.clientsv, .blagv, .postiv, .uznatv, .kartav, .podelisv,
	.copyrightv, .smbl, .info, .form_cons, .feed-contakt {
		width: 100% !important; max-width: 100% !important;
	}
	.copyright .copyrightv .copy4 { width: 100% !important; max-width: 100% !important; }
	/* Homepage world map (#vmap / JQVMap). JQVMap already scales the SVG to the block width;
	   my earlier scale(0.45) only shrank it more. Instead let the block use the full width and
	   enlarge the map (scale up + taller block) so it's clearly visible and fills the block. */
	.kartav { width: 100% !important; max-width: 100% !important; }
	.kartav .name { font-size: 20px !important; line-height: 1.2 !important; }
	.kartav #vmap { width: 100% !important; max-width: 100% !important; height: 300px !important; overflow: hidden !important; }
	.kartav #vmap svg { transform: scale(1) !important; transform-origin: center center !important; }
}

/* Fix "Заказать звонок" modal: it was hardcoded to a 390x440 center (top:220px/left:195px +
   translate(-50%,-50%)), so on real viewports it shifted above the screen and clipped the top
   fields. Center it against the actual viewport instead, and allow internal scroll if taller. */
.popup2 {
	position: fixed !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
	max-width: calc(100vw - 16px) !important;
	max-height: calc(100vh - 24px) !important;
	overflow-x: hidden !important;
	overflow-y: auto !important;
}
/* The close "x" was positioned at top:-15px/right:-15px and stuck 15px outside the box, which
   forced a horizontal scrollbar once overflow became auto. Pull it inside the popup corner. */
.popup2 .close_window {
	top: 5px !important;
	right: 5px !important;
}

/* Remove the consultant illustration (square on the green "УЗНАТЬ БОЛЬШЕ" block). */
.uznat .uznatv .consul { display: none !important; }

/* The theme's inline fancybox CSS sets sprite backgrounds on #fancybox-close / #fancybox-next /
   #fancybox-prev, while easy-fancybox draws the same icons via ::before/::after pseudo-elements.
   This produced duplicated icons (two close "X" crosses). Drop the old sprite so only the
   plugin-drawn icon remains. */
#fancybox-close, #fancybox-next, #fancybox-prev,
#fancybox-close span, #fancybox-next span, #fancybox-prev span {
	background: none !important;
}

/* Hide the Google reCAPTCHA badge (site uses invisible v3). */
.grecaptcha-badge { display: none !important; visibility: hidden !important; }
