/**
 * EB About Preview Widget Styles
 *
 * Overlapping layout: content box overlays on top of single image.
 * Inspired by Nowarch "About Company" section.
 */

.eb-about-preview {
	position: relative;
	padding: 80px 0;
	min-height: 500px;
}

/* Single image — positioned to the right */
.eb-about-preview__images {
	position: relative;
	margin-left: 35%;
	width: 65%;
	overflow: hidden;
}

.eb-about-preview__img-main {
	width: 100%;
	height: 100%;
	min-height: 500px;
	object-fit: cover;
	border-radius: 4px;
	transition: transform 0.6s ease;
}

.eb-about-preview:hover .eb-about-preview__img-main {
	transform: scale(1.03);
}

.eb-about-preview__img-secondary {
	display: none;
}

/* Content box — overlaps on top of image from the left */
.eb-about-preview__content {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 45%;
	max-width: 520px;
	background: rgba(248, 250, 255, 0.92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	padding: 48px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.eb-about-preview__label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #B09360;
	margin-bottom: 16px;
	display: block;
}

.eb-about-preview__heading {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	font-weight: 600;
	color: #1E1B4B;
	margin: 0 0 20px;
	line-height: 1.2;
}

.eb-about-preview__desc {
	font-size: 0.9375rem;
	line-height: 1.75;
	color: #4B5563;
	margin-bottom: 28px;
}

.eb-about-preview__desc p {
	margin: 0 0 12px;
}

.eb-about-preview__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 28px;
	background-color: #B09360;
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.eb-about-preview__btn:hover {
	background-color: #9A7D4E;
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(176, 147, 96, 0.3);
	color: #fff;
}

/* Responsive — Tablet */
@media (max-width: 1024px) {
	.eb-about-preview__content {
		width: 50%;
		padding: 36px;
	}

	.eb-about-preview__images {
		margin-left: 30%;
		width: 70%;
	}
}

/* Responsive — Mobile */
@media (max-width: 768px) {
	.eb-about-preview {
		padding: 40px 0;
		min-height: auto;
	}

	.eb-about-preview__images {
		margin-left: 0;
		width: 100%;
	}

	.eb-about-preview__img-main {
		min-height: 280px;
	}

	.eb-about-preview__content {
		position: relative;
		top: auto;
		left: auto;
		transform: none;
		width: 100%;
		max-width: none;
		margin-top: -40px;
		padding: 32px 24px;
	}
}
