.about-section {
	display: flex;
	justify-content: space-between;
	align-items: stretch; /* Делаем блоки одинаковой высоты */
	max-width: 1440px;
	margin: auto;
	flex-wrap: nowrap;
	position: relative;
}

.about-text {
	flex: 1 1 50%;
	padding: 16px;
	background: #FFFFF3;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	margin-right: -40px; /* Увеличил заход фона */
	padding-right: 40px;
	z-index: 2;
}

.about-image {
	flex: 1 1 50%;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.about-image::before {
	content: "";
	position: absolute;
	left: -20px; /* Увеличил ширину захода */
	top: 0;
	width: 40px;
	height: 100%;
	background: #FFFFF3;
	z-index: 1;
}

.image-wrapper {
	position: relative;
	display: inline-block;
	z-index: 2;
}

.image-wrapper img {
	display: block;
	width: 100%;
	height: auto;
}

.image-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: rgba(255, 255, 243, 0.65);
	font-size: 16px;
	font-weight: bold;
}

@media (max-width: 768px) {
	.about-section {
		flex-direction: column;
	}

	.about-text {
		margin-right: 0; /* Убираем заход фона */
		padding-right: 16px;
	}

	.about-image {
		display: block;
	}

	.image-wrapper{
		display: block;
	}


	.about-image::before {
		display: none; /* Отключаем эффект, чтобы не сдвигалось изображение */
	}
}