:root {
	--vacancy-primary-color: #21201f;
	--vacancy-accent-color: #e7000f;
	--section-spacing: 60px 0;
	--fz-title: 30px;
}

@media (max-width: 575.98px) {
	:root {
		--section-spacing: 40px 0;
		--fz-title: 24px;
	}
}

.btn-vacancy {
	color: #fff;
	background-color: var(--vacancy-accent-color);
}

.btn-vacancy:hover {
	background-color: #ff1f2e;
}

/* ##### INFO-MGN SECTION ##### */
.info-mgn {
	padding: 60px 0;
}

.info-mgn__content {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	grid-gap: 36px;
	font-family: 'Montserrat';
	font-size: 20px;
	font-weight: 400;
	line-height: 175%;
	color: #000;
}

.info-mgn__content::before {
	--image-scale: 1;
	content: '';
	width: calc(var(--image-scale) * 123px);
	height: calc(var(--image-scale) * 123px);
	background: url(../../img/vakansii/magnit/logo-magnit.png) 0 0/contain no-repeat;
}

@media (max-width: 991px) {
	.info-mgn {
		padding: var(--section-spacing);
	}

	.info-mgn__content {
		grid-gap: 25px;
		font-size: 18px;
	}

	.info-mgn__content::before {
		--image-scale: 0.85;
	}
}

@media (max-width: 767.98px) {
	.info-mgn__content {
		position: relative;
		grid-template-columns: 100%;
		font-size: 16px;
	}

	.info-mgn__content::before {
		--image-scale: 0.6;
		position: absolute;
		right: 0;
		bottom: 0;
		opacity: 0.6;
	}
}

/* ##### OPP-VACANCY ##### */
.opp-mgn {
	padding: 60px 0;
	font-family: 'Yandex Sans Text', sans-serif;
	color: var(--vacancy-primary-color);
	background-color: #f1f0ec;
}

.opp-mgn__title {
	margin-bottom: 40px;
	font-size: 34px;
	font-weight: 500;
	letter-spacing: -1px;
	text-align: center;
}

.opp-mgn__par {
	margin-bottom: 20px;
	font-size: 20px;
	line-height: 1.8;
	letter-spacing: 0.48px;
}

.opp-mgn__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
}

.opp-mgn__item {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 50px 35px 0 35px;
	height: 100%;
	border-radius: 20px;
	background-color: #fff;
	overflow: hidden;
}

.opp-mgn__item::after {
	--image-scale: 1;
	content: '';
	display: block;
	margin-left: auto;
}

.opp-mgn__item--1::after {
	width: calc(var(--image-scale) * 166px);
	height: calc(var(--image-scale) * 104px);
	background: url(../../img/vakansii/magnit/opp-image-1.png) center/contain no-repeat;
}

.opp-mgn__item--2::after {
	width: calc(var(--image-scale) * 109px);
	height: calc(var(--image-scale) * 104px);
	background: url(../../img/vakansii/magnit/opp-image-2.png) center/contain no-repeat;
}

.opp-mgn__item--3::after {
	width: calc(var(--image-scale) * 125px);
	height: calc(var(--image-scale) * 104px);
	background: url(../../img/vakansii/magnit/opp-image-3.png) center/contain no-repeat;
}

.opp-mgn__item-title {
	margin-bottom: 10px;
	font-size: 22px;
	line-height: 1.14;
	font-weight: 500;
}

.opp-mgn__item-desc {
	flex: 1 1 auto;
	font-size: 16px;
	line-height: 1.56;
}

.opp-mgn__item-title--mgn-2 {
	max-width: 250px;
}

@media (max-width: 1246px) {
	.opp-mgn__item-desc {
		margin-bottom: 15px;
	}
}

@media (max-width: 991px) {
	.opp-mgn {
		padding: var(--section-spacing);
	}

	.opp-mgn__title {
		font-size: var(--fz-title);
	}

	.opp-mgn__par {
		font-size: 18px;
	}

	.opp-mgn__list {
		grid-template-columns: repeat(2, 1fr);
	}

	.opp-mgn__item {
		padding: 30px 30px 0;
		min-height: 270px;
	}

	.opp-mgn__item::after {
		--image-scale: 0.8;
		opacity: 1;
	}

	.opp-mgn__item-title {
		font-size: 20px;
	}

	.opp-mgn__item-desc {
		font-size: 14px;
	}
}

@media (max-width: 767.98px) {
	.opp-mgn__par {
		font-size: 16px;
		line-height: 1.6;
	}
}

@media (max-width: 575px) {
	.opp-mgn__item {
		padding: 25px 25px 0;
	}

	.opp-mgn__item-title {
		margin-bottom: 15px;
		font-size: 18px;
	}
}

@media (max-width: 480px) {
	.opp-mgn__list {
		grid-template-columns: 100%;
	}

	.opp-mgn__item {
		min-height: 200px;
	}

	.opp-mgn__item--2::after {
		--image-scale: 0.75;
	}
}

/* ##### STEPS-MGN ##### */
.steps-mgn {
	padding: 60px 0;
	font-family: 'Yandex Sans Text';
	color: var(--vacancy-primary-color);
}

.steps-mgn__title {
	margin-bottom: 40px;
	font-size: 34px;
	font-weight: 700;
	letter-spacing: -1px;
	text-align: center;
}

.steps-mgn__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	counter-reset: section;
}

.steps-mgn__item {
	display: flex;
	flex-direction: column;
	padding: 36px 36px 0;
	min-height: 420px;
	background-color: #f1f0ec;
	border-radius: 20px;
}

.steps-mgn__item::before {
	counter-increment: section;
	content: counter(section);
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: auto;
	margin-bottom: 12px;
	width: 48px;
	height: 48px;
	font-weight: 600;
	font-size: 25px;
	color: #000;
	border-radius: 50%;
	background-color: #f1634d;
}

.steps-mgn__item-title {
	margin-bottom: 12px;
	font-size: 22px;
	font-weight: 500;
}

.steps-mgn__item-desc {
	flex: 1 1 auto;
	margin-bottom: 12px;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.56;
}

.steps-mgn__item-image {
	--image-scale: 1;
	margin-left: auto;
}

.steps-mgn__item-image--1 {
	width: calc(var(--image-scale) * 162px);
	height: calc(var(--image-scale) * 174px);
}

.steps-mgn__item-image--2 {
	width: calc(var(--image-scale) * 213.5px);
	height: calc(var(--image-scale) * 174px);
}

.steps-mgn__item-image--3 {
	width: calc(var(--image-scale) * 159px);
	height: calc(var(--image-scale) * 174px);
}

@media (max-width: 991px) {
	.steps-mgn {
		padding: var(--section-spacing);
	}

	.steps-mgn__title {
		font-size: var(--fz-title);
	}

	.steps-mgn__list {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		margin-left: auto;
		margin-right: auto;
		width: min-content;
	}

	.steps-mgn__item {
		padding: 20px 20px 0 20px;
		min-width: 290px;
		min-height: 380px;
	}

	.steps-mgn__item::before {
		width: 40px;
		height: 40px;
		font-size: 20px;
	}

	.steps-mgn__item-title {
		font-size: 20px;
	}

	.steps-mgn__item-desc {
		font-size: 14px;
	}

	.steps-mgn__item-image {
		--image-scale: 0.9;
	}
}

@media (max-width: 767.98px) {
	.steps-mgn__list {
		gap: 20px;
		width: auto;
	}

	.steps-mgn__item {
		min-width: auto;
	}
}

@media (max-width: 575px) {
	.steps-mgn__item::before {
		width: 30px;
		height: 30px;
		font-size: 18px;
	}

	.steps-mgn__item-title {
		font-size: 18px;
	}
}

@media (max-width: 480px) {
	.steps-mgn__list {
		grid-template-columns: none;
		gap: 10px;
		margin-bottom: 30px;
		width: min-content;
	}

	.steps-mgn__item {
		padding: 15px 15px 0 15px;
		width: 290px;
		min-height: auto;
		font-size: 14px;
	}

	.steps-mgn__item::before {
		align-self: flex-start;
		width: 30px;
		height: 30px;
		font-size: 20px;
	}
}