.media-section {
	margin: 40px 0;
}
.media-section .wrapper_inner.with-video .media-section__content {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.media-section .wrapper_inner.with-video .media-section__item {
	padding: 20px;
	border-radius: 8px;
	width: 49.5%;
}
.media-section .media-section__slider-content {
	margin-top: auto;
}
.media-section .media-section__video-wrap .media-section__video-content {
	border-radius: inherit;
	height: 370px;
	background-color: #000;
	margin-top: auto;
}
.media-section .media-section__video-wrap video {
	border-radius: inherit;
	height: 100%;
	width: 100%;
	object-fit: contain;
}
@media screen and (max-width: 1200px) {
	.media-section .media-section__video-wrap .media-section__video-content {
		height: 320px;
	}
}
@media screen and (max-width: 992px) {
	.media-section .wrapper_inner.with-video .media-section__content {
		flex-direction: column;
	}
	.media-section .wrapper_inner.with-video .media-section__item {
		width: 100%;
		border: none;
		padding: 20px 0;
	}
	.media-section .wrapper_inner.with-video .media-section__item:last-child {
		padding-bottom: 0;
	}
	.media-section .media-section__video-wrap .media-section__video-content {
		height: 500px;
	}
}
@media screen and (max-width: 767px) {
	.media-section .media-section__video-wrap .media-section__video-content {
		height: 320px;
	}
}
@media screen and (max-width: 425px) {
	.media-section .media-section__video-wrap .media-section__video-content {
		height: 230px;
	}
}

/* ++iurevdeonis Контакты версия 2 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.horizontal-blocks {
  display: flex;
  flex-direction: column; /* Направление на колонки для мобильных */
  gap: 15px;
  padding: 15px;
  min-height: 200px;
  max-height: 1000px;
  background: #f5f5f5;
  border-radius: 8px;
}

.outer-block {
  text-align: center;
  flex: 1;
  padding: 15px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.outer-block h2 {
  margin-top: 0;
  color: #333;
  font-size: 18px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.outer-block p {
  color: #666;
  font-size: 14px;
}

@media (min-width: 768px) {
  .horizontal-blocks {
	flex-direction: row;
	gap: 20px;
	padding: 20px;
  }
}

.fancy-link {
border: 1px solid #015493;
padding: 8px 16px;
display: inline-block;
text-decoration: none;
color: #015493;
border-radius: 26px;       /* Закруглённые углы */
transition: all 0.3s;     /* Плавные эффекты */
}

.fancy-link:hover {
	background: #015493;
	color: white;
}

/* --iurevdeonis Контакты версия 2 */