/* LuxMed About Hero Widget v1.0 — breadcrumb, eyebrow, title, two paragraphs, buttons, badge; photo on the right */

.lma-hero {
	--lma-primary: #1a3e8f;
	--lma-accent: #2eaa4a;
	--lma-text: #3d4a5c;
	position: relative;
	overflow: hidden;
	padding: 56px 20px 64px;
	min-height: 520px;
	display: flex;
	align-items: center;
	background-color: #f4f8fd;
	background-repeat: no-repeat;
	background-position: right center;
	background-size: cover;
	border-radius: 6px;
}

/* White gradient overlay on the text side so copy stays readable over the photo */
.lma-has-overlay-yes .lma-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		rgba(255, 255, 255, 0.97) 0%,
		rgba(255, 255, 255, 0.93) 40%,
		rgba(255, 255, 255, 0.4) 62%,
		rgba(255, 255, 255, 0) 80%
	);
	pointer-events: none;
}

.lma-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	margin: 0 auto;
}

.lma-content {
	max-width: 620px;
}

/* ---------- Optional logo, top-right ---------- */

.lma-logo {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
}

.lma-logo img {
	display: block;
	max-width: 180px;
	height: auto;
}

/* ---------- Breadcrumb ---------- */

.lma-breadcrumb {
	margin: 0 0 22px;
}

.lma-breadcrumb ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	color: var(--lma-text);
}

.lma-breadcrumb li {
	display: flex;
	align-items: center;
	gap: 6px;
}

.lma-breadcrumb li + li::before {
	content: "/";
	color: rgba(61, 74, 92, 0.5);
}

.lma-breadcrumb a {
	color: var(--lma-text);
	text-decoration: none;
	transition: color 0.15s ease;
}

.lma-breadcrumb a:hover {
	color: var(--lma-primary);
}

.lma-breadcrumb li[aria-current="page"] span {
	color: var(--lma-text);
}

/* ---------- Eyebrow ---------- */

.lma-eyebrow {
	margin: 0 0 10px;
	color: var(--lma-accent);
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* ---------- Headline ---------- */

.lma-title {
	margin: 0 0 22px;
	font-size: clamp(2rem, 4vw, 3.1rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--lma-primary);
}

.lma-line { display: block; }

/* ---------- Paragraphs ---------- */

.lma-para {
	margin: 0 0 16px;
	max-width: 56ch;
	color: var(--lma-text);
	font-size: 1rem;
	line-height: 1.65;
}

.lma-para:last-of-type {
	margin-bottom: 30px;
}

/* ---------- Buttons ---------- */

.lma-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 26px;
}

.lma-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 32px;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.lma-btn:focus-visible {
	outline: 3px solid var(--lma-accent);
	outline-offset: 2px;
}

.lma-btn--solid {
	background: var(--lma-primary);
	color: #fff;
	box-shadow: 0 6px 16px rgba(26, 62, 143, 0.25);
}

.lma-btn--solid:hover {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(26, 62, 143, 0.32);
}

.lma-btn--outline {
	background: #fff;
	color: var(--lma-primary);
	border: 1.5px solid var(--lma-primary);
}

.lma-btn--outline:hover {
	background: var(--lma-primary);
	color: #fff;
}

/* ---------- Badge ---------- */

.lma-badge {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.95rem;
	color: var(--lma-text);
}

.lma-badge__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(46, 170, 74, 0.12);
	color: var(--lma-accent);
	font-size: 15px;
}

.lma-badge__icon svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.lma-badge__text strong {
	color: var(--lma-primary);
	font-weight: 800;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
	.lma-hero { padding: 48px 28px 56px; }
}

@media (max-width: 767px) {
	.lma-hero {
		padding: 38px 18px 44px;
		min-height: 0;
	}

	/* On phones the photo would sit behind the text, so soften it fully */
	.lma-has-overlay-yes .lma-hero::before {
		background: rgba(255, 255, 255, 0.92);
	}

	.lma-content { max-width: 100%; }

	.lma-logo img { max-width: 120px; }

	.lma-buttons { gap: 12px; }

	.lma-btn {
		width: 100%;
		padding: 13px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lma-btn { transition: none; }
	.lma-btn--solid:hover { transform: none; }
}
