/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.chef__inner {
	display: -ms-grid;
	display: grid;
	gap: 64px;
	-ms-grid-columns: 1fr 64px 584px;
	grid-template-columns: 1fr 584px;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}
.chef__content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	gap: 32px;
	line-height: 140%;
}
.chef__block {
	p {
		padding: 16px 0;
		margin: -16px 0;
	}
	ul {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		gap: 8px;
		margin: -16px 0;
		padding: 16px 0;
		li {
			position: relative;
			padding-left: 28px;
			&::before {
				position: absolute;
				left: 0;
				top: 50%;
				translate: 0 -50%;
				width: 12px;
				aspect-ratio: 1;
				rotate: 45deg;
				background-color: var(--color-accent-dark);
				content: '';
			}
		}
	}
}
.chef__img {
	aspect-ratio: 1;
	width: 100%;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.about-text__inner {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	gap: 32px;
	p {
		line-height: 140%;
	}
}

.credentials__inner {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 32px;
}
.credentials__decor {
	aspect-ratio: 616/829;

	-webkit-box-flex: 1;

	-ms-flex: 1;

	flex: 1;
	position: relative;
}
.credentials__img {
	position: absolute;
	right: 0;
	top: 0;
	aspect-ratio: 1;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	width: calc(100% - 32px);
}
.credentials__img-sm {
	position: absolute;
	aspect-ratio: 358/570;
	width: 54.871%;
	left: 0;
	bottom: 0;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: 1;
	border-top: 20px solid var(--color-background);
	border-right: 20px solid var(--color-background);
}
.credentials__content {
	width: 100%;
	max-width: 632px;
	ul {
		display: -ms-grid;
		display: grid;
		-ms-grid-columns: 1fr 16px 1fr;
		grid-template-columns: repeat(2, 1fr);
		gap: 8px 16px;
		margin-top: 48px;
		margin-left: -216px;
		position: relative;
		z-index: 1;
		li {
			display: table;
			background-color: var(--color-white);
			line-height: 140%;
			padding: 16px;
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex;
			-webkit-box-align: center;
			-ms-flex-align: center;
			align-items: center;
			gap: 16px;
			&::before {
				display: inline-block;
				vertical-align: middle;
				content: '';
				border-radius: 50%;
				background: url('../images/icons/wreath.svg') center/40px no-repeat;
				width: 72px;
				aspect-ratio: 1;
				-webkit-box-flex: 0;
				-ms-flex: 0 0 auto;
				flex: 0 0 auto;
				background-color: var(--color-accent-light);
			}
		}
	}
}
@media (max-width: 1199.98px) {
	.chef__inner {
		gap: 48px;
		-ms-grid-columns: 1fr 48px 1fr;
		grid-template-columns: repeat(2, 1fr);
		-webkit-box-align: start;
		-ms-flex-align: start;
		align-items: start;
	}
	.credentials__content {
		max-width: 50%;
	}
	.credentials__img-sm {
		border-top-width: 14px;
		border-right-width: 14px;
	}
}
@media (max-width: 1023.98px) {
	.credentials__decor {
		margin-top: 32px;
		aspect-ratio: 343/342;
	}
	.credentials__img {
		width: calc(100% - 42px);
	}
	.credentials__img-sm {
		aspect-ratio: 142/220;
	}
	.credentials__content {
		max-width: none;
		ul {
			margin-left: 0;
			margin-top: 32px;
		}
	}
}
@media (max-width: 767.98px) {
	.chef__inner {
		gap: 32px;
		-ms-grid-columns: auto;
		grid-template-columns: auto;
	}

	.credentials__img-sm {
		border-top-width: 8px;
		border-right-width: 8px;
	}
	.credentials__content {
		ul {
			-ms-grid-columns: auto;
			grid-template-columns: auto;
			li {
				padding: 12px;
				min-height: 107px;
				gap: 12px;
				&::before {
					width: 56px;
					background-size: 32px;
				}
			}
		}
	}
}
