/* Notice */

.main-notice {
	width: 315px;
	display: flex;
	position: absolute;
	box-sizing: border-box;
	right: 20px;
	top: 40%;
	transform: translateY(-50%);
}

	.main-notice .view-content {
		width: 100%;
	}

		.main-notice .view-content a {
			height: 96px;
			display: flex;
			box-sizing: border-box;
			align-items: center;
			padding: 12px 16px 12px 36px;
			color: #fff;
			font: 15px/18px Plumb, Arial, Helvetica, sans-serif;
			background: rgba(0,0,0,0.7);
			border: 1px solid var(--item-color);
			overflow: hidden;
		}
		.main-notice .view-content a:hover {
			text-decoration: none;
			border-color: #fff;
		}

		.main-notice .view-content a::before,
		.main-notice .view-content a::after {
			content: '';
			width: 3px;
			display: block;
			position: absolute;
			left: 18px;
			background: var(--item-color);
			border-radius: 2px;
		}
		.main-notice .view-content a::before {
			height: 38px;
			top: 24px
		}
		.main-notice .view-content a::after {
			height: 3px;
			top: 69px
		}

@media screen and (max-width: 720px) {

.main-notice {
	width: 100%;
	position: static;
	margin-top: 1px;
	transform: none;
}

}

/* Promo slider & banner+ */

.slider_block_layout {
	height: 440px;
	position: relative;
	background: var(--pad-color) url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/page/details/ajax_loader.gif) center center no-repeat;
	overflow: hidden;
	}

	.slider_block_layout .container {
		width: 100%;
		}

	.slider_block_layout section.news_slider {
		height: inherit;
		margin-bottom: 0px;
		overflow: hidden;
		}

	.slider_block_layout .slick-arrow {
		width: 50px;
		height: 50%;
		position: absolute;
		background: url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/page/details/slider_arr.png) left center no-repeat;
		transition: left 0.3s ease-in-out, right 0.3s ease-in-out;
		opacity: 0.4;
		z-index: 11;
		}
	.slider_block_layout .slick-arrow:hover {
		opacity: 1;
		}
	.slider_block_layout .slick-arrow:active {
		opacity: 0.6;
		}

	.slider_block_layout .slick-prev {
		left: -50px;
		background-position: left center;
		}
	.slider_block_layout:hover .slick-prev {
		left: 0px;
		}

	.slider_block_layout .slick-next {
		right: -50px;
		background-position: right center;
		}
	.slider_block_layout:hover .slick-next {
		right: 0px;
		}

	.slider_block_layout .slick-dots {
		width: auto;
		position: absolute;
		padding: 1px 8px;
		right: 6px;
		bottom: 1px;
		z-index: 10;
		}

		.slider_block_layout .slick-dots button {
			width: 36px;
			height: 23px;
			position: relative;
			box-sizing: content-box;
			padding: 3px;
			}
		.slider_block_layout .news_slider .slick-dots button::before {
			content: '';
			width: inherit;
			height: 10px;
			display: block;
			position: absolute;
			top: 9px;
			border: 1px solid #fff;
			opacity: 1;
			transform: skewX(-45deg);
			filter: brightness(300%);
			}
		.slider_block_layout .slick-dots .slick-active button::before {
			background: #fff;
			}

		.slider_block_layout .news_slider img {
			max-width: none;
			}

		.slider_block_layout .news_slider .item--video .img {
			display: none;
			}

		.slider_block_layout .news_slider__video {
			position: relative;
			height: 440px;
			overflow: hidden;
			}

		.slider_block_layout .news_slider__video video {
			width: 100%;
			position: absolute;
			left: 50%;
			top: 50%;
			transform: translate(-50%, -50%);
			display: block;
			}

	.slider_block_layout .news_slider .text {
		width: auto;
		height: 102px;
		display: flex;
		position: absolute;
		box-sizing: border-box;
		flex-direction: column;
		align-items: flex-start;
		left: 10px;
		bottom: 10px;
		padding-left: 15px;
		font-family: Quantico, Arial, Helvetica, sans-serif;
		text-transform: uppercase;
		white-space: nowrap;
		overflow: hidden;
		}

		.slider_block_layout .news_slider .text .title {
			display: flex;
			margin-bottom: 2px;
			padding-right: 61px;
			color: #fff;
			font-size: 23px;
			line-height: 60px;
			background: url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/content/index/slider_title_bg.png) right top no-repeat;
			}

		.slider_block_layout .news_slider .text .desc {
			display: flex;
			padding-right: 102px;
			color: #fff;
			font-size: 16px;
			line-height: 40px;
			background: url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/content/index/slider_desc_bg.png) right top no-repeat;
			}

			.slider_block_layout .news_slider .text .title span,
			.slider_block_layout .news_slider .text .desc span {
				padding: 0px 15px;
				background: var(--item-color);
			}

		.slider_block_layout .news_slider .text ::before,
		.slider_block_layout .news_slider .text ::after {
			content: '';
			display: block;
			position: absolute;
		}

		.slider_block_layout .news_slider .text .title::before {
			width: 1px;
			height: 1px;
			left: 0px;
			top: -26px;
			border: 20px solid transparent;
			border-bottom-color: var(--item-color);
		}
		.slider_block_layout .news_slider .text .title::after {
			width: 30px;
			height: 45px;
			left: 0px;
			top: 15px;
			background: var(--item-color);
		}
		.slider_block_layout .news_slider .text .desc::before {
			width: 30px;
			height: 28px;
			left: 0px;
			top: 60px;
			background: var(--item-color);
		}
		.slider_block_layout .news_slider .text .desc::after {
			width: 1px;
			height: 1px;
			left: 0px;
			bottom: -15px;
			border: 14px solid transparent;
			border-top-color: var(--item-color);
		}

@media screen and (max-width: 1300px) {

.slider_block_layout {
	height: auto;
	}

	.slider_block_layout .slick-arrow {
		opacity: 0.5;
		}
	.slider_block_layout .slick-prev {
		left: 0px;
		}
	.slider_block_layout .slick-next {
		right: 0px;
		}

	.slick-dots {
		width: 0px;
		height: 0px;
		overflow: hidden;
		}

	.slider_block_layout .news_slider img {
		width: 100%;
		position: static;
		left: 0px;
		transform: none;
		}

	.slider_block_layout .news_slider .item--video .img {
		display: block;
		}

	.slider_block_layout .news_slider__video {
		display: none;
		}

	.slider_block_layout .news_slider .text {
		height: auto;
		position: static;
		padding-left: 0px;
	}

	.slider_block_layout .news_slider .text ::before,
	.slider_block_layout .news_slider .text ::after {
		display: none;
	}

		.slider_block_layout .news_slider .text .title {
			width: 100%;
			margin-bottom: 0px;
			padding: 8px 0px;
			font-size: 20px;
			line-height: 24px;
			white-space: normal;
			background: var(--item-color);
		}

		.slider_block_layout .news_slider .text .desc {
			width: 100%;
			padding: 8px 0px;
			font-size: 14px;
			line-height: 20px;
			white-space: normal;
			background: var(--item-color);
		}

}

/* Promo news */

.news_promo {
	height: 440px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	}

	.news_promo > .block {
		display: flex;
		position: relative;
		flex-grow: 1;
		background: var(--pad-color);
		border-top: 1px solid #0f0a0f;
		overflow: hidden;
		}
	.news_promo > .block:first-child {
		border-top: none;
		}
	.news_promo > .block:nth-child(n+4) {
		display: none;
		}

	.news_promo > a.block:hover::before {
		content: '';
		width: 100%;
		height: 100%;
		display: block;
		position: absolute;
		top: 0px;
		left: 0px;
		outline: 1px solid var(--item-color);
		outline-offset: -1px;
		opacity: 0;
		z-index: 1;
		}
	.news_promo > a.block:hover::before {
		opacity: 1;
		}

		.news_promo > .block > img {
			position: absolute;
			top: 50%;
			left: 0px;
			-webkit-transform: translateY(-50%);
			-ms-transform: translateY(-50%);
			transform: translateY(-50%);
			}

.news_promo.mobile {
	height: auto;
	display: none;
	}

	.news_promo.mobile > .block {
		display: block;
		position: relative;
		}

		.news_promo.mobile > .block > img {
			width: 100%;
			display: block;
			position: static;
			top: 0px;
			-webkit-transform: none;
			transform: none;
			}

@media screen and (max-width: 1300px) {

#mr_block_news .cont_layout.type_promo {
	flex-direction: column-reverse;
	}

	.cont_layout.type_promo .aside {
		width: 100%;
		border-left: none;
	}

.news_promo {
	display: none;
	}
.news_promo.mobile {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	margin-bottom: 1px;
	}

	.news_promo.mobile > a,
	.news_promo.mobile > div {
		width: 50%;
	}
	.news_promo.mobile > a:nth-child(n+3),
	.news_promo.mobile > div:nth-child(n+3) {
		display: none;
	}
	.news_promo.mobile > :only-child {
		width: 100%;
	}

	.news_promo.mobile > a {
		border-top-width: 0px;
	}

	.news_promo.mobile .million + .block {
		min-height: 158px;
	}

		.news_promo.mobile .million + .block > img {
			width: auto;
			height: 100%;
			max-width: none;
			position: absolute;
			left: 50%;
			transform: translateX(-50%);
		}

.container.slider_block_layout {
	width: 100%;
}

}

@media screen and (max-width: 720px) {

.news_promo.mobile {
	flex-direction: column;
	}

	.news_promo.mobile > a,
	.news_promo.mobile > div {
		width: 100%;
	}

	.news_promo.mobile > a:not(:first-child) {
		border-top-width: 1px;
	}

	.news_promo.mobile .million + .block {
		min-height: 0px;
	}

		.news_promo.mobile .million + .block > img {
			width: 100%;
			position: static;
			transform: none;
		}

}

/* Million counter */

.aside .million {
	width: 315px;
	height: 219px;
	display: flex;
	position: relative;
	box-sizing: border-box;
	font-family: Quantico, Arial, Helvetica, sans-serif;
	text-align: center;
	text-transform: uppercase;
	background: url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/content/index/million/bg.jpg) 0 0 no-repeat;
	background-size: contain;
	cursor: pointer;
}
.aside .million:hover {
	outline: 1px solid var(--item-color);
	outline-offset: -1px;
}

	.aside .million a {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
	}
	.aside .million a:hover {
		text-decoration: none;
	}

		.aside .million a > div {
			display: flex;
			box-sizing: border-box;
			justify-content: center;
		}

		.aside .million__title {
			flex-grow: 1;
			padding: 8px 20px;
			color: #fff;
			font-size: 23px;
			line-height: 30px;
		}

		.aside .million__lead {
			padding: 4px 20px;
			color: #fff;
			font-size: 16px;
			line-height: 24px;
		}

		.aside .million__counter {
			padding: 12px 20px;
			color: var(--item-color);
			font-size: 30px;
			line-height: 30px;
			background-color: rgba(0,0,0,0.3);
		}

			.aside .million__counter span {
				width: 20px;
			}
			.aside .million__counter span:last-child {
				padding-right: 30px;
				background: url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/content/index/million/credits.png) right center no-repeat;
			}
			.aside .million__counter span.empty {
				width: 7px;
				text-indent: 200%;
				overflow: hidden;
			}

@media screen and (max-width: 1300px) {

	.aside .mobile .million {
		height: auto;
		min-height: 158px;
		background: url(/static/wf.mail.ru/img/main/content/index/million/bg_wide.jpg) right -30px center no-repeat;
		background-size: auto 100%;
	}

	.aside .million a > div {
		justify-content: flex-start;
	}

	.aside .million__counter span.empty {
		display: none;
	}

}

@media screen and (max-width: 720px) {

	.aside .mobile .million {
		height: 219px;
		background-color: #000;
		background-position-x: right;
	}

}

/* News list */

.news_list {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	}

.news_list .hdr_layout {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	overflow: hidden;
	}

	.news_list .hdr_layout h4 {
		display: flex;
		padding-right: 12px;
		white-space: nowrap;
		}

	.news_list .categories {
		height: 42px;
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		margin: 0px;
		padding: 0px;
		font-size: 0px;
		white-space: nowrap;
		overflow: hidden;
		}

		.news_list .categories a {
			display: inline-block;
			margin-left: 14px;
			color: #98a0a9;
			font: 14px/41px Plumb, Arial, Helvetica, sans-serif;
			text-decoration: none;
			text-transform: uppercase;
			}
		.news_list .categories a:first-child {
			margin-left: 0px;
			}
		.news_list .categories a:hover {
			color: #fff;
			}

@media screen and (max-width: 720px) {

	.news_list .hdr_layout {
		height: auto;
		display: block;
		padding: 0px;
		}

		.news_list .hdr_layout h4 {
			display: block;
			padding-left: 20px;
			padding-right: 20px;
			}
		.news_list .hdr_layout .categories {
			height: auto;
			display: flex;
			flex-direction: row;
			justify-content: flex-start;
			flex-wrap: wrap;
			float: none;
			background: linear-gradient(to top, #000, var(--pad-color) 1px);
			overflow: hidden;
			}

			.news_list .hdr_layout .categories a {
				width: 50%;
				max-width: 50%;
				display: flex;
				flex-grow: 1;
				justify-content: center;
				box-sizing: border-box;
				margin-left: 0px;
				padding: 0px 6px;
				font-size: 12px;
				background: var(--pad-color);
				border-bottom: 1px solid #0f0a0f;
				}
			.news_list .hdr_layout .categories a:nth-child(odd) {
				border-right: 1px solid #0f0a0f;
				}
			.news_list .hdr_layout .categories a:first-child {
				border-left: none;
				}

}

.news_block {
	margin: 0px;
}

	.news_block .news_more {
		display: block;
		box-sizing: border-box;
		margin-bottom: 2px;
		padding-left: 20px;
		color: #fff;
		font: bold 17px/42px Quantico, Arial, Helvetica, sans-serif;
		text-align: left;
		text-transform: uppercase;
		text-decoration: none;
		background: #282c2b;
	}

	.news_block .item {
		height: 225px;
		display: flex;
		position: relative;
		margin-bottom: 20px;
		background: var(--pad-color);
		overflow: hidden;
	}

	.news_block .item:last-child {
		margin-bottom: 0px;
	}

		.news_block .item .img {
			min-width: 445px;
			max-width: 445px;
			height: 100%;
			position: relative;
			background: url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/content/news/default.png) center no-repeat;
			overflow: hidden;
		}

			.news_block .item .img * {
				width: 100%;
				height: 100%;
				display: block;
			}

			.news_block .item .img a::before {
				content: '';
				width: 100%;
				height: 100%;
				display: block;
				position: absolute;
				outline: 1px solid transparent;
				outline-offset: -1px;
				z-index: 1;
			}

			.news_block .item .img a:hover::before {
				outline-color: var(--item-color);
			}

		.news_block .item .text {
			height: inherit;
			box-sizing: border-box;
			position: relative;
			flex-grow: 1;
			padding: 14px 20px 16px 20px;
			overflow: hidden;
			}

			.news_block .item .text .title {
				display: block;
				color: var(--item-color);
				font: 20px/26px Quantico, Arial, Helvetica, sans-serif;
				text-transform: uppercase;
				text-decoration: none;
				}
			.news_block .item .text .title:hover {
				text-decoration: underline;
				}

			.news_block .item .text .desc {
				box-sizing: border-box;
				margin-bottom: 10px;
				padding-top: 8px;
				color: #a9aeb3;
				font: 15px/21px Plumb, Arial, Helvetica, sans-serif;
				cursor: default;
				}

			.news_block .item .text .info {
				width: 100%;
				display: flex;
				justify-content: space-between;
				position: absolute;
				box-sizing: border-box;
				left: 0px;
				bottom: 0px;
				padding: inherit;
				padding-top: 0px;
				padding-bottom: 0px;
				padding-right: 0px;
				overflow: hidden;
				}

				.news_block .item .text .info > span {
					height: 40px;
					display: block;
					float: left;
					color: #575c61;
					font: 14px/40px Plumb, Arial, Helvetica, sans-serif;
					cursor: default;
					}
				.news_block .item .text .info > span:last-child {
					float: right;
					padding: 0px 20px 0px 50px;
					text-transform: uppercase;
					background: url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/content/news/info.png) left bottom no-repeat;
					}

					.news_block .item .text .info > span a {
						display: inline-block;
						color: var(--item-color);
						text-decoration: none;
					}
					.news_block .item .text .info > span:last-child a {
						color: #fff;
						font: 12px/40px Quantico, Arial, Helvetica, sans-serif;
						text-transform: uppercase;
					}
					.news_block .item .text .info > span a:hover {
						text-decoration: underline;
					}

.button_more_m {
	display: none;
}

@media screen and (max-width: 1300px) {

.news_block .item .img {
	width: 100%;
	min-width: unset;
	max-width: unset;
	position: absolute;
	background: unset;
	overflow: unset;
}

	.news_block .item .img a {
		width: 100%;
		height: 100%;
		position: absolute;
	}

		.news_block .item .img * {
			width: inherit;
			height: inherit;
		}

		.news_block .item .img img {
			display: none;
		}

}

@media screen and (max-width: 720px) {

.news_block .item {
	height: auto;
	min-height: 170px;
}

	.news_block .item .img {
		width: 100%;
		height: 100%;
		display: block;
		position: absolute;
		background: none;
	}

		.news_block .item .img .cover {
			background: none;
	}

		.news_block .item .img .cover::before {
			display: none;
		}

		.news_block .item .img img {
			visibility: hidden;
		}

	.news_block .item .text {
		padding-bottom: 58px;
	}

.button_more_m {
	min-height: 64px;
	display: flex;
	flex-grow: 1;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	color: #fff;
	font: 18px Quantico, Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	background: var(--item-color);
}
.button_more_m:hover {
	color: #000;
	text-decoration: none;
	background: #fff;
}

}

/* Right video content */

.video_layout_right_base + .hdr_layout {
	margin-bottom: 1px;
	}

.video_layout_right .item {
	max-height: 177px;
	display: block;
	position: relative;
	margin-bottom: 6px;
	overflow: hidden;
	cursor: pointer;
	}
.video_layout_right .item:hover {
	outline-color: var(--item-color);
	}

.video_layout_right .item::before {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	box-sizing: border-box;
	border: 1px solid transparent;
	outline-offset: -1px;
	transition: all 0.05s linear;
	z-index: 2;
	}
.video_layout_right .item:hover::before {
	border-color: var(--item-color);
	}
.video_layout_right .item_video {
    height: 177px;
	}
.video_layout_right .item_video::after {
	content: '';
	width: 100%;
	height: inherit;
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	background: url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/page/details/video.png) center center no-repeat;
	opacity: 0.8;
	}
.video_layout_right .item:hover::after {
	opacity: 1;
	}

	.video_layout_right .item img {
		width: 100%;
		display: block;
		}

	.video_layout_right .item span {
		min-width: 54px;
		position: absolute;
		box-sizing: border-box;
		right: 0px;
		bottom: 0px;
		color: #575c61;
		font: 15px/24px Plumb, Arial, Helvetica, sans-serif;
		text-align: center;
		background: #0d0b10;
		border: 1px solid transparent;
		border-top: none;
		border-left: none;
		transition: all 0.05s linear;
		z-index: 1;
		}

@media screen and (max-width: 720px) {

.hdr_layout.center {
	text-align: left;
	}

	.hdr_layout.center h4 {
		display: block;
		}

		.hdr_layout.center h4 a {
			margin-left: 0px;
			}

.video_layout_right .item {
	max-height: none;
	margin-bottom: 0px;
	}
.video_layout_right .item::after {
	border-width: 30px;
	}
.video_layout_right .item_video {
    height: auto;
	margin-bottom: 20px;
	}
.video_layout_right .item_video::after {
	height: 144px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

}

.buttons_layout_right {
	height: 340px;
	display: flex;
	position: relative;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	margin-top: 1px;
	padding: 10px 15px;
	background: var(--pad-color);
	}

	.buttons_layout_right a {
		height: 48px;
		display: flex;
		box-sizing: border-box;
		align-items: center;
		justify-content: center;
		margin: 10px 0px;
		color: #fff;
		font: 18px Quantico, Arial, Helvetica, sans-serif;
		text-align: center;
		text-transform: uppercase;
		white-space: nowrap;
		border: 1px solid #fff;
		overflow: hidden;
		}
	.buttons_layout_right a:hover {
		color: #000;
		background: #fff;
		text-decoration: none;
		}
	.buttons_layout_right a.marked {
		display: none;
		}

@media screen and (max-width: 720px) {

.buttons_layout_right {
	height: auto;
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 0px;
	background: none;
	}

	.buttons_layout_right a {
		min-height: 64px;
		margin-top: 0px;
		margin-bottom: 20px;
		background: var(--pad-color);
		}
	.buttons_layout_right a:last-child {
		margin-bottom: 0px;
		}
	.buttons_layout_right a.marked {
		display: flex;
		color: var(--item-color);
		border-color: var(--item-color);
		}
	.buttons_layout_right a.marked:hover {
		color: #000;
		border-color: #fff;
		}

}

.top_layout_right {
	height: 520px;
	background: var(--pad-color);
	}

	.top_switch {
		height: 42px;
		display: flex;
		box-sizing: border-box;
		padding: 0px 15px;
		font-size: 0px;
		-khtml-user-select: none;
		-moz-user-select: none;
		user-select: none;
		}

		.top_switch > span {
			display: flex;
			flex-grow: 1;
			justify-content: center;
			color: #494e52;
			font: 14px/41px Quantico, Arial, Helvetica, sans-serif;
			text-align: center;
			text-transform: uppercase;
			cursor: pointer;
			}
		.top_switch > span:hover {
			color: #fff;
			}
		.top_switch > span.active {
			color: var(--item-color);
			text-decoration: underline;
			}

	.top_list {
		padding-top: 7px;
		}

		.top_list ol {
			display: block;
			margin: 0px;
			padding: 0px;
			color: #a9aeb3;
			}

			.top_list ol li {
				height: 34px;
				display: block;
				padding: 0px 20px;
				line-height: 33px;
				white-space: nowrap;
				text-overflow: ellipsis;
				overflow: hidden;
				cursor: default;
				counter-increment: li;
				}
			.top_list ol li::before {
				content: counter(li);
				width: 38px;
				display: inline-block;
				font: 16px Quantico, Arial, Helvetica, sans-serif;
				line-height: inherit;
				}
			.top_list ol li:nth-child(2n-1) {
				background: var(--pad-color2);
				}

@media screen and (max-width: 720px) {

.top_clans_layout {
	display: none;
	}

}

/* Guide blocks (& soc block) */

.cont_layout.type_guide {
	height: 337px;
}

	.guide_block {
		height: 295px;
		display: flex;
		position: relative;
		flex-direction: row;
		flex-grow: 1;
		gap: 20px;
	}

		.guide_block > .item {
			width: 33.3%;
			height: inherit;
			display: flex;
			position: relative;
			flex-direction: column;
			justify-content: space-around;
			align-items: flex-start;
			flex-grow: 1;
			background: var(--pad-color);
			overflow: hidden;
		}

			.guide_block > .item > div {
				display: flex;
				flex-direction: column;
			}

			.guide_block > .item > .text {
				flex-grow: 1;
			}
				.guide_block > .item > .text h5 {
					margin: 12px 0px 8px;
					padding: 0px 20px;
				}
				.guide_block > .item > .text p {
					margin: 0px;
					padding: 0px 20px;
					color: #a9aeb3;
					line-height: 21px;
				}

			.guide_block > .item > .img {
				position: relative;
				flex-grow: 1;
				align-items: flex-end;
				justify-content: flex-end;
			}
				.guide_block > .item > .img a {
					display: block;
					position: relative;
				}
				.guide_block > .item > .img a::before {
					content: '';
					width: 100%;
					height: 100%;
					display: block;
					position: absolute;
					top: 0px;
					left: 0px;
					outline: 1px solid transparent;
					outline-offset: -1px;
					transition: all 0.05s linear;
					z-index: 2;
				}
				.guide_block > .item > .img a:hover::before {
					outline-color: var(--item-color);
				}
				.guide_block > .item > .img img {
					width: 100%;
					max-width: none;
					display: flex;
				}

	.soc_block_frame {
		height: 295px;
		background: var(--pad-color);
		overflow: hidden;
	}

		#vk_groups {
			margin-top: -60px;
		}

@media screen and (max-width: 960px) {

	.cont_layout.type_guide .container {
		width: 100%;
	}
	.cont_layout.type_guide .aside {
		display: none;
	}

}

@media screen and (max-width: 1300px) and (min-width: 721px) {

	.guide_block > .item > .text h5 {
		font-size: 16px;
		line-height: 20px;
	}

}

@media screen and (max-width: 720px) {

	.guide_block {
		height: auto;
		flex-direction: column;
	}

		.guide_block > .item {
			width: auto;
			flex-direction: row-reverse;
			border-right: none;
		}
		.guide_block > .item:last-child {
			margin-bottom: 0px;
		}

			.guide_block > .item > .img {
				min-width: 40%;
			}
			.guide_block > .item > .text {
				min-width: 60%;
				padding-bottom: 12px;
			}

				.guide_block > .item > .text h5 a {
					width: 100%;
					display: block;
				}

	.cont_layout.type_guide,
	.soc_block_frame {
		display: none;
		}

}

@media screen and (max-width: 450px) {

	.guide_block > .item > .img {
		display: none;
	}

}

/* Media block */

.layout.index .cont_layout + .cont_layout .container {
	overflow: hidden;
}

.block_media_layout .container {
	width: 75%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	overflow: hidden;
	}

	.block_media_layout .container .hdr_layout {
		min-height: 42px;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		overflow: hidden;
		}

		.block_media_layout .container .hdr_layout h4 {
			display: flex;
			padding-right: 12px;
			white-space: nowrap;
			}

	.block_media_layout .categories {
		height: 42px;
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		position: absolute;
		top: 0px;
		right: 20px;
		margin: 0px;
		padding: 0px;
		font-size: 0px;
		white-space: nowrap;
		overflow: hidden;
		}

		.block_media_layout .categories span {
			display: inline-block;
			margin-left: 14px;
			color: #98a0a9;
			font: 14px/41px Plumb, Arial, Helvetica, sans-serif;
			text-decoration: none;
			text-transform: uppercase;
			cursor: pointer;
			}
		.block_media_layout .categories span:first-child {
			margin-left: 0px;
			}
		.block_media_layout .categories span:hover {
			color: #fff;
			}
		.block_media_layout .categories span.active {
			color: var(--item-color);
			}

	.block_media {
		height: 520px;
		background: var(--pad-color) url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/page/details/ajax_loader.gif) center center no-repeat;
		overflow: hidden;
		}

		.block_media .media_slider {
			height: inherit;
			}

		.block_media .item_video {
			display: block;
			position: relative;
			cursor: pointer;
			}

		.block_media .item_video > span {
			width: 1px;
			height: 1px;
			display: block;
			position: absolute;
			top: 50%;
			left: 50%;
			right: 50%;
			-webkit-transform: translate(-15%,-50%);
			-ms-transform: translate(-15%,-50%);
			transform: translate(-15%,-50%);
			border: 30px solid transparent;
			border-left-color: #fff;
			transition: opacity 0.05s linear;
			opacity: 0.7;
			}

		.block_media .item_video:hover > span {
			opacity: 1;
			}

		.block_media .item_image {
			font-size: 0px;
			}

		.block_media img {
			height: 100%;
			max-width: none;
			min-width: 100%;
			max-height: 100%;
			border: none;
			}

		@media screen and (max-width: 720px) {

		.block_media img {
			min-width: none;
			}

		}

	.block_media_layout .slick-arrow {
		width: 50px;
		height: 50%;
		position: absolute;
		background: url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/page/details/slider_arr.png) left center no-repeat;
		transition: left 0.3s ease-in-out, right 0.3s ease-in-out;
		opacity: 0.4;
		z-index: 11;
		}
	.block_media_layout .slick-arrow:hover {
		opacity: 1;
		}
	.block_media_layout .slick-arrow:active {
		opacity: 0.6;
		}

	.block_media_layout .slick-prev {
		left: -50px;
		background-position: left center;
		}
	.block_media_layout .block_media:hover .slick-prev {
		left: 0px;
		}

	.block_media_layout .slick-next {
		right: -50px;
		background-position: right center;
		}
	.block_media_layout .block_media:hover .slick-next {
		right: 0px;
		}

@media screen and (max-width: 720px) {

.block_media_layout {
	display: none;
	}

}

/* Community block */

.block_community_wide {
	padding: 18px 0px;
	background: var(--pad-color);
}

/* aside - updates block */

#block-views-general-block_1 {
	min-height: auto;
	}

	.view.updates-block {
		height: 337px;
		overflow: hidden;
	}

		.view.updates-block .view-content {
			height: 100%;
			background: var(--pad-color);
		}

		.view.updates-block .view-empty {
			height: 100%;
			background: var(--pad-color) url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/content/index/updates_empty.png) center 40% no-repeat;
		}

	.update_block_img {
		height: 143px;
		display: block;
		position: relative;
		overflow: hidden;
		}
	.update_block_img::before {
		content: '';
		width: 100%;
		height: 100%;
		display: block;
		position: absolute;
		top: 0px;
		left: 0px;
		outline: 1px solid transparent;
		outline-offset: -1px;
		transition: all 0.05s linear;
		z-index: 2;
		}
	.update_block_img:hover::before {
		outline-color: var(--item-color);
		}

		.update_block_img img {
			width: 100%;
			display: block;
			}

			.update_block_img .text {
				width: 100%;
				position: absolute;
				box-sizing: border-box;
				padding: 12px 16px;
				left: 0px;
				bottom: 0px;
				color: var(--item-color);
				font: 18px/22px Quantico, Arial, Helvetica, sans-serif;
				text-transform: uppercase;
				z-index: 1;
				}
			.update_block_img .text::before {
				content: '';
				width: 100%;
				height: 46px;
				display: block;
				position: absolute;
				left: 0px;
				bottom: 0px;
				background: linear-gradient(to top, #0f0a0f, rgba(0,0,0,0));
				z-index: -1;
				}

		#block-views-general-block_1 .views-field-body {
			height: auto;
			}

			#block-views-general-block_1 .views-field-body .field-content a {
				display: block;
				box-sizing: border-box;
				padding: 0px 16px;
				color: var(--item-color);
				font-size: 14px;
				line-height: 38px;
				text-transform: uppercase;
				text-overflow: ellipsis;
				white-space: nowrap;
				overflow: hidden;
				background: var(--pad-color);
				}
			#block-views-general-block_1 .views-field-body .field-content p {
				margin: 0px;
				}
			#block-views-general-block_1 .views-field-body .field-content > a:nth-child(1),
			#block-views-general-block_1 .views-field-body .field-content > p:nth-child(1) a {
				display: none;
				}
			#block-views-general-block_1 .views-field-body .field-content > a:nth-child(2n-1),
			#block-views-general-block_1 .views-field-body .field-content > p:nth-child(2n-1) a {
				background: var(--pad-color2);
				}

@media screen and (max-width: 720px) {

.view.updates-block {
	height: auto;
	overflow: visible;
}

.update_block_img {
	height: auto;
}

}

/* aside - banner aside */

aside .aside-banner .views-row div + a {
	width: 100%;
	min-height: 177px;
	display: flex;
	background-color: var(--pad-color);
}

aside .aside-banner .views-row div + a:hover {
	outline: 1px solid var(--item-color);
	outline-offset: -1px;
}

	aside .aside-banner img {
		width: 100%;
	}

/* aside - agents */

.aside_agents {
	height: 228px;
	display: block;
	position: relative;
	background: var(--pad-color);
	overflow: hidden;
}
.aside_agents::before {
	content: 'AGENTS';
	position: absolute;
	left: 0px;
	top: 50%;
	color: rgba(0,0,0,0.1);
	font: bold 1240px/1 Quantico;
	z-index: 1;
	animation: 180s linear infinite agents_bg;
	pointer-events: none;
}
.aside_agents::after {
	content: '';
	width: 50px;
	height: 493px;
	position: absolute;
	right: 10px;
	top: 0px;
	background: url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/content/index/agent_class_bg.png) left top / contain repeat-y;
	opacity: 0.05;
	pointer-events: none;
	animation: 10s linear infinite agents_icons;
	z-index: 2;
}

	.aside_agents .list {
		width: 100%;
		height: 100%;
		display: block;
		position: absolute;
		left: 0px;
		top: 0px;
		z-index: 8;
	}
	.aside_agents .list::before {
		content: '';
		width: 0px;
		height: 0px;
		display: block;
		position: absolute;
		right: 40%;
		bottom: 0%;
		box-shadow: 0px 0px 120px 60px #b8cce8;
		animation: 8s ease-in infinite agents_light;
		z-index: 1;
	}
	.aside_agents .list::after {
		content: '';
		width: 100%;
		height: 100%;
		display: block;
		position: absolute;
		outline: 1px solid var(--item-color);
		outline-offset: -1px;
		opacity: 0;
		pointer-events: none;
		z-index: 9;
	}
	.aside_agents:hover .list::after {
		opacity: 1;
	}

		.aside_agents .list span {
			width: 100%;
			height: 100%;
			display: block;
			position: absolute;
			left: 0px;
			bottom: 0px;
			background-position: center bottom;
			background-size: contain;
			background-repeat: no-repeat;
			transform: translateX(50%) scale(0.8);
			opacity: 0;
			z-index: 2;
		}
		.aside_agents .list span.active {
			animation: 8s ease-in-out 1 agents_move;
		}

		@keyframes agents_move {
			0%   {opacity: 0;}
			10%  {transform: translateX(40%) translateY(3%) scale(1) rotateY(35deg); filter: brightness(0); opacity: 0;}
			26%  {transform: translateX(0%) translateY(0%) scale(1) rotateY(0deg); opacity: 1;}
			36%  {filter: brightness(1);}
			80%  {transform: translateX(0%) scale(1); opacity: 1;}
			100% {transform: translateX(-30%) scale(1.15) rotateZ(-1deg); opacity: 0;}
		}

		@keyframes agents_bg {
			0%   {transform: translate(0%,-50%); opacity: 0;}
			1%   {opacity: 1}
			99%  {opacity: 1}
			100% {transform: translate(-100%,-50%); opacity: 0;}
		}

		@keyframes agents_icons {
			0%   {transform: translateY(0%);}
			100% {transform: translateY(-50%);}
		}

		@keyframes agents_light {
			0%   {opacity: 0;}
			30%  {opacity: 1;}
			60%  {opacity: 1;}
			100% {opacity: 0;}
		}

/* aside - menu */

#block-menu-menu-aside-menu {
	height: 401px;
	margin-top: 20px;
	background: var(--pad-color);
}

#block-menu-menu-aside-menu .menu {
	height: 100%;
	display: flex;
	box-sizing: border-box;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0px;
	padding: 20px 16px;
	gap: 20px;
}

	#block-menu-menu-aside-menu .menu li {
		width: 100%;
	}

	#block-menu-menu-aside-menu .menu a {
		display: flex;
		box-sizing: border-box;
		justify-content: center;
		align-items: center;
		height: 44px;
		margin: 0px;
		padding: 0px;
		color: #fff;
		font: 17px Quantico, Arial, Helvetica, sans-serif;
		border: 1px solid #575c61;
	}
	#block-menu-menu-aside-menu .menu a:hover,
	#block-menu-menu-aside-menu .menu a.active {
		color: #000;
		background: #fff;
		border-color: #fff;
	}

@media screen and (max-width: 720px) {

#block-menu-menu-aside-menu {
	height: auto;
}

	#block-menu-menu-aside-menu .menu a {
		height: 64px;
	}

}

/* aside - video */

aside .aside-video .item_video {
	width: 100%;
	height: 177px;
	display: flex;
	position: relative;
	cursor: pointer;
}
aside .aside-video .item_video:hover {
	outline: 1px solid var(--item-color);
	outline-offset: -1px;
}

aside .aside-video .item_video::before {
	content: '';
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	background: url(https://wf.cdn.gmru.net/static/wf.mail.ru/img/main/page/details/video.png) center center no-repeat;
	opacity: 0.8;
	pointer-events: none;
}
aside .aside-video .item_video:hover::before {
	opacity: 1;
}

	aside .aside-video img {
		width: 100%;
		object-fit: cover;
	}

aside .aside-video .more_video {
	height: 86px;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 16px;
	background-color: var(--pad-color);
}

	aside .aside-video .more_video a {
		height: 44px;
		display: flex;
		box-sizing: border-box;
		justify-content: center;
		align-items: center;
		flex-grow: 1;
		margin: 0px;
		padding: 0px;
		color: #fff;
		font: 17px Quantico, Arial, Helvetica, sans-serif;
		text-transform: uppercase;
		border: 1px solid #575c61;
	}
	aside .aside-video .more_video a:hover {
		color: #000;
		text-decoration: none;
		background: #fff;
		border-color: #fff;
	}

@media screen and (max-width: 720px) {

aside .aside-video .item_video {
	height: auto;
}

aside .aside-video .more_video {
	height: auto;
	margin-top: 20px;
	padding: 0px;
}

	aside .aside-video .more_video a {
		height: 64px;
		display: flex;
		justify-content: center;
		align-items: center;
		color: #fff;
		font: 18px Quantico, Arial, Helvetica, sans-serif;
		background: var(--item-color);
		border: none;
	}
	aside .aside-video .more_video a:hover {
		color: #000;
		background: #fff;
		text-decoration: none;
	}

}