/* Berlight Hero Widget */

.berlight-hero {
	position: relative;
	text-align: left;
	background-size: cover;
	background-position: center;
}

/* Overlay sits above the background image but below the content, so a
   gradient tint can be laid over the image. Transparent by default. */
.berlight-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	border-radius: inherit;
}

.berlight-hero__inner {
	position: relative;
	z-index: 1;
}

.berlight-hero__eyebrow {
	display: block;
	margin: 0 0 4px;
	font-weight: 800;
	line-height: 1.15;
	color: #1a1a1a;
}

.berlight-hero__highlight {
	display: block;
	margin: 0 0 18px;
	font-weight: 300;
	line-height: 1.15;
	color: #e8646f;
}

.berlight-hero__description {
	max-width: 640px;
	margin: 0 0 32px;
	line-height: 1.7;
	color: #5b5b5b;
}

/* Icon boxes row — an explicit column count keeps every item on the
   intended row. Columns are 1fr so they shrink together instead of
   letting the last item orphan onto a row of its own. */
.berlight-hero__icons {
	display: grid;
	grid-template-columns: repeat( var( --berlight-icon-columns, 4 ), minmax( 0, 1fr ) );
	gap: 24px 12px;
	margin: 0 0 36px;
	padding: 0;
	list-style: none;
}

.berlight-hero__icon-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	min-width: 0;
}

/* The circle itself: only a thin border, transparent background */
.berlight-hero__icon-circle {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	box-sizing: border-box;
	width: 64px;
	height: 64px;
	margin-bottom: 14px;
	border-radius: 50%;
	border: 1.5px solid rgba(232, 100, 111, 0.35);
	background: #ffffff;
}

/* SVG icons: outline style only — stroke, no fill */
.berlight-hero__icon-circle svg {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: #e8646f;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
	background: transparent;
}

.berlight-hero__icon-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: #1a1a1a;
}

/* Buttons */
.berlight-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.berlight-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 30px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
	line-height: 1;
}

/* flex-shrink:0 is essential — inside an inline-flex button the SVG has no
   intrinsic width, so it collapses to 0 and the icon disappears. */
.berlight-hero__btn svg {
	flex: 0 0 auto;
	display: block;
	width: 18px;
	height: 18px;
	min-width: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	overflow: visible;
}

.berlight-hero__btn:hover {
	transform: translateY(-2px);
	opacity: 0.92;
}

.berlight-hero__btn--primary {
	background: #e8646f;
	color: #ffffff;
	box-shadow: 0 8px 18px rgba(232, 100, 111, 0.28);
}

.berlight-hero__btn--secondary {
	background: var( --berlight-btn2-bg, transparent );
	color: #1a1a1a;
	border: 1.5px solid #e2e2e2;
}

@media (max-width: 767px) {
	.berlight-hero__icons {
		margin-bottom: 28px;
	}
	.berlight-hero__icon-title {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.berlight-hero__buttons {
		flex-direction: column;
		align-items: stretch;
	}
	.berlight-hero__btn {
		justify-content: center;
		width: 100%;
	}
}
