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

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

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

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

/* ##### BENEFITS-YA SECTION##### */
.benefits-ya {
	padding: 100px 0;
	font-family: 'Montserrat', sans-serif;
	color: var(--vacancy-primary-color);
	background-color: var(--vacancy-accent-color);
}

.benefits-ya__title {
	margin-bottom: 40px;
	font-weight: 700;
	font-size: 34px;
	text-align: center;
}

.benefits-ya__list {
	display: grid;
	justify-content: center;
	grid-template-columns: repeat(auto-fit, minmax(250px, max-content));
	gap: 10px;
}

.benefits-ya__item {
	max-width: 296px;
	min-height: 340px;
	padding: 24px 15px 24px 12px;
	background-color: #fff;
	border-radius: 20px;
}

.benefits-ya__item-title {
	display: flex;
/* 	align-items: center; */
	margin-bottom: 20px;
	min-height: 55px;
	font-weight: 700;
	font-size: 22px;
}

.benefits-ya__item-icon-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}

.benefits-ya__item-icon {
	display: block;
	width: 64px;
	height: 64px;
}

.benefits-ya__item-desc {
	font-size: 16px;
	line-height: 1.56;
}

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

	.benefits-ya__title {
		font-size: var(--fz-title);
	}

	.benefits-ya__item {
		min-height: auto;
	}

	.benefits-ya__item-title {
		min-height: 48px;
		font-size: 20px;
	}

	.benefits-ya__item-desc {
		font-size: 16px;
		line-height: 1.45;
	}
}

@media (max-width: 575px) {
	.benefits-ya__item {
		padding: 20px 10px;
	}

	.benefits-ya__item-title {
		min-height: 44px;
		margin-bottom: 15px;
		font-size: 18px;
	}

	.benefits-ya__item-desc {
		font-size: 14px;
	}

	.benefits-ya__item-icon-wrap {
		margin-bottom: 15px;
	}

	.benefits-ya__item-icon {
		width: 55px;
		height: 55px;
	}
}

@media (max-width: 539px) {
	.benefits-ya__item-title {
		min-height: auto;
		justify-content: center;
		text-align: center;
	}

	.benefits-ya__item-desc {
		text-align: center;
	}
}

/* ##### STEPS-YA SECTION##### */
.steps-ya {
	padding: 96px 0 100px;
	color: var(--vacancy-primary-color);
}

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

.steps-ya__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, max-content));
	justify-content: space-between;
	gap: 40px 25px;
	margin-bottom: 40px;
	counter-reset: section;
}

.steps-ya__item {
	position: relative;
	display: flex;
	flex-direction: column;
	max-width: 220px;
}

/* .steps-ya__item::before {
    counter-increment: section;
    content: counter(section);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    width: 48px;
    height: 48px;
    font-weight: 700;
    font-size: 16px;
    color: #000;
    border-radius: 50%;
    background: linear-gradient(146.56deg, #fff9cc -11.92%, #fce000 128.62%);
	border-radius: 12px 12px 0px 0px;
	border-top: 1px solid #FCE000;
	border-right: 1px solid #FCE000;
	border-left: 1px solid #FCE000;
	padding: 6px 0px 2px 0px;
} */

.count_steps_ya{
	display: flex;
	flex-direction: column;
	gap:28px;
	align-content: center;
}
.count_steps{
	text-align: center;
	font-weight: 700;
    font-size: 16px;
    color: #000;
    border-radius: 50%;
	border-radius: 12px 12px 0px 0px;
	border-top: 1px solid #FCE000;
	border-right: 1px solid #FCE000;
	border-left: 1px solid #FCE000;
	padding: 6px 0px 2px 0px;
}
.icon_steps_count{
	display: flex;
	justify-content: center;
	align-items:center;
}

.steps-ya__item-inner {
	flex: 1 1 auto;
	padding: 24px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.56;
	background-color: var(--vacancy-accent-color);
	border-radius: 20px;
	border-top-left-radius:0px;
	border-top-right-radius:0px;
}

.steps-ya__button-wrap {
	display: flex;
	justify-content: center;
}

@media (max-width: 1246px) {
	.steps-ya__item-inner {
		font-size: 15px;
	}
}

@media (max-width: 1199.98px) {
	.steps-ya__list {
		grid-template-columns: repeat(3, minmax(200px, max-content));
		justify-content: center;
	}

	.steps-ya__item::before {
		margin-bottom: 15px;
	}

	.steps-ya__item-inner {
		min-height: 235px;
	}
}

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

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

	.steps-ya__list {
		grid-template-columns: repeat(auto-fit, minmax(200px, max-content));
		gap: 30px 25px;
	}

	.steps-ya__item::before {
		width: 45px;
		height: 45px;
		margin-bottom: 10px;
		font-size: 28px;
	}
}

@media (max-width: 767.98px) {
	.steps-ya__item::before {
		content: none;
	}

	.steps-ya__list {
		gap: 20px;
	}

	.steps-ya__item-inner {
		padding: 20px;
		min-height: 220px;
	}

/* 	.steps-ya__item-inner::before {
		counter-increment: section;
		content: counter(section);
		display: flex;
		justify-content: center;
		align-items: center;
		margin-right: auto;
		margin-bottom: 5px;
		width: 35px;
		height: 35px;
		font-weight: 600;
		font-size: 25px;
		color: #000;
		border-radius: 50%;
		background: linear-gradient(146.56deg, #fff9cc -11.92%, #fce000 128.62%);
	} */
}

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

	.steps-ya__item {
		max-width: none;
	}

	.steps-ya__item-inner {
		min-height: auto;
		padding: 15px;
		font-size: 14px;
	}

	.steps-ya__item-inner::before {
		display: inline-flex;
		margin-right: 5px;
		margin-bottom: 0;
		width: 30px;
		height: 30px;
		font-size: 20px;
	}
}

/* ##### VACANCY-YA SECTION ##### */
.vacancy-ya {
	padding: 100px 0 100px;
	font-family: 'Montserrat', sans-serif;
	color: var(--vacancy-primary-color);
	background-color: #f9f8f6;
}

.vacancy-ya__title {
	margin-bottom: 40px;
	font-weight: 700;
	font-size: 36px;
	text-align: center;
}

.vacancy-ya__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, max-content));
	justify-content: center;
	gap: 44px;
}

.vacancy-ya__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 490px;
	min-height: 1022px;
	padding: 33px 24px 0 24px;
	background-color: var(--vacancy-accent-color);
	border-radius: 35px;
}

.vacancy-ya__item::after {
	content: '';
	position: relative;
	display: block;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center bottom;
}

.vacancy-ya__item--1::after {
	left: 30px;
	width: 395px;
	height: 395px;
	background-image: url(../../img/vakansii/yandex-eda/vacancy-image-1.png);
}

.vacancy-ya__item--2::after {
	width: 412px;
	height: 409px;
	background-image: url(../../img/vakansii/yandex-eda/vacancy-image-2.png);
}

.vacancy-ya__item-content {
	flex: 1 1 auto;
	margin-bottom: 30px;
}

.vacancy-ya__item-title,
.vacancy-ya__item-subtitle,
.vacancy-ya__requirements-list,
.vacancy-ya__advantages-list {
	text-align: center;
}

.vacancy-ya__requirements-list {
	margin-bottom: 20px;
}

.vacancy-ya__item-title {
	margin-bottom: 22px;
	font-weight: 700;
	font-size: 22px;
}

.vacancy-ya__item-subtitle {
	margin-bottom: 24px;
	font-size: 16px;
	font-weight: 600;
}

.vacancy-ya__requirements-item,
.vacancy-ya__advantages-item {
	font-size: 16px;
	font-weight: 500;
}

.vacancy-ya__requirements-item:not(:last-child),
.vacancy-ya__advantages-item:not(:last-child) {
	margin-bottom: 22px;
}

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

	.vacancy-ya__title {
		font-size: var(--fz-title);
	}

	.vacancy-ya__list {
		grid-template-columns: none;
		justify-content: stretch;
	}

	.vacancy-ya__item {
		position: relative;
		isolation: isolate;
		flex-direction: row;
		align-items: center;
		max-width: none;
		width: 100%;
		min-height: auto;
		padding: 25px;
	}

	.vacancy-ya__item::after {
		position: absolute;
		z-index: -1;
		right: 0;
		left: auto;
		bottom: 0;
		opacity: 0.5;
	}

	.vacancy-ya__item--1::after {
		width: 320px;
		height: 320px;
	}

	.vacancy-ya__item--2::after {
		width: 290px;
		height: 290px;
	}

	.vacancy-ya__item-content {
		margin-bottom: 0;
	}

	.vacancy-ya__item-subtitle,
	.vacancy-ya__requirements-list,
	.vacancy-ya__advantages-list {
		max-width: 500px;
	}

	.vacancy-ya__item-subtitle,
	.vacancy-ya__requirements-list,
	.vacancy-ya__advantages-list {
		text-align: left;
	}

	.vacancy-ya__item-subtitle {
		margin-bottom: 10px;
	}

	.vacancy-ya__requirements-list {
		margin-bottom: 20px;
	}

	.vacancy-ya__requirements-item:not(:last-child),
	.vacancy-ya__advantages-item:not(:last-child) {
		margin-bottom: 5px;
	}
}

@media (max-width: 767.98px) {
	.vacancy-ya__item {
		flex-direction: column;
		padding: 25px 25px 0 25px;
	}

	.vacancy-ya__item::after {
		position: static;
		opacity: 1;
	}

	.vacancy-ya__item-content {
		margin-bottom: 30px;
	}

	.vacancy-ya__item-subtitle,
	.vacancy-ya__requirements-list,
	.vacancy-ya__advantages-list {
		text-align: center;
	}
}

@media (max-width: 575px) {
	.vacancy-ya__item-title {
		font-size: 20px;
	}

	.vacancy-ya__list {
		gap: 30px;
	}

	.vacancy-ya__item {
		padding: 20px 20px 0 20px;
		border-radius: 20px;
	}

	.vacancy-ya__item::after {
		width: 270px;
		height: 270px;
	}

	.vacancy-ya__requirements-item,
	.vacancy-ya__advantages-item {
		font-size: 14px;
	}

	.vacancy-ya__requirements-item:not(:last-child),
	.vacancy-ya__advantages-item:not(:last-child) {
		margin-bottom: 3px;
	}
}