/* ks-edits.css - 2026-11-24. Loaded after style.css from header.php (cache-busted by filemtime). ASCII only. */

/* Facebook icon removed from markup: shift icon sprites (header, nav popup, contacts) */
.header_main_contacts .social_btn_block a:nth-of-type(2) {
	background-image: url(img/logo_vk.svg);
}

.header_main_contacts .social_btn_block a:nth-of-type(3) {
	background-image: url(img/logo_instagram.svg);
}

.social_btn_block a:nth-of-type(1) {
	background-image: url(img/logo_vk.svg);
}

.social_btn_block a:nth-of-type(2) {
	background-image: url(img/logo_instagram.svg);
}

/* Top bar with links to group sites removed: sticky header must sit at y=0 */
.fixed-header-block {
	top: 0 !important;
}

/* Share buttons under the source link on articles (Element Pack social share, template 11628) */
.elementor-widget-bdt-social-share,
.elementor-11628 {
	display: none !important;
}

/* Home: hide block with map + Deadline.Media laptop (section 108c38b) */
.elementor-13 .elementor-element-108c38b {
	display: none !important;
}

/* Home intro: director name in the signature is a link in the site accent colour (pr-agentstvo uses red) */
.elementor-13 .elementor-element-ebe4442 .elementor-heading-title a {
	color: #49C5B6 !important;
	text-decoration: none;
	font-weight: normal;
}

/* Home video cards (section 426045d): NTV logo is 80x80, RBK wordmark is 220x59.
   Give both logo widgets the same 80px-tall box so the videos start on one line
   (pr-agentstvo adds 17px padding under RBK, which still leaves a 4px gap). */
.elementor-13 .elementor-element-21aeba6 > .elementor-widget-container,
.elementor-13 .elementor-element-69e9330 > .elementor-widget-container {
	min-height: 80px;
}

/* Home diplomas gallery (section ee2dbd8, widget 59c99e5):
   Elementor already uses 5 cols desktop and 2 cols at 480-767px, but stacks
   to 1 col below 479px. Force 2 columns and 36px spacing on all mobile widths
   (pr-agentstvo uses 36px spacing at <=767px; 2-col grid requested at 390px). */
@media (max-width: 767px) {
	.elementor-13 .elementor-element.elementor-element-59c99e5 .gallery-item {
		padding: 0 36px 36px 0;
		width: 50%;
		max-width: 50%;
	}

	.elementor-13 .elementor-element.elementor-element-59c99e5 .gallery {
		margin: 0 -36px -36px 0;
	}

	.elementor-13 .elementor-element.elementor-element-59c99e5 .gallery-item img {
		width: 100%;
		height: auto;
		max-width: 100%;
	}
}

/* Footer / nav popup: "Proekty gruppy" column removed, do not leave a table-cell gap */
.footer_nav_sites_block > div:only-child {
	display: block;
	padding-right: 0;
}
