/* -----------------------------------------------------------------------------
 * Walker Service Highlight
 * Reusable service-line introduction component.
 * Uses walker-standard.css design tokens for shared visual language.
 * -------------------------------------------------------------------------- */

.walker-service-highlight,
.walker-service-highlight * {
	box-sizing: border-box;
}

.walker-service-highlight {
	--wshl-max-width: 760px;
	--wshl-icon-size: 62px;
	--wshl-icon-color: var(--walker-ui-teal, #0f7f83);

	position: relative;
	width: min(100%, var(--wshl-max-width));
	max-width: 100%;
	height: 100%;
	color: var(--walker-ui-body, #4f6470);
}

.walker-service-highlight__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
}

.walker-service-highlight--surface-card {
	background: var(--walker-ui-white, #fff);
	border: 1px solid var(--walker-ui-border, rgba(18, 50, 71, 0.14));
	border-radius: clamp(22px, 2.5vw, 32px);
	box-shadow: var(--walker-ui-shadow, 0 18px 45px rgba(17, 49, 66, 0.1));
	overflow: hidden;
	transition: var(--walker-ui-transition, transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease);
}

.walker-service-highlight--surface-card::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	content: "";
	background: linear-gradient(90deg, var(--walker-ui-teal, #0f7f83), rgba(15, 127, 131, 0.16));
}

.walker-service-highlight--surface-card:hover {
	border-color: rgba(15, 127, 131, 0.3);
	box-shadow: var(--walker-ui-shadow-hover, 0 20px 50px rgba(17, 49, 66, 0.14));
	transform: translateY(-3px);
}

.walker-service-highlight--surface-card .walker-service-highlight__inner {
	padding: clamp(28px, 4vw, 48px);
}

.walker-service-highlight--surface-transparent .walker-service-highlight__inner {
	padding: 0;
}

.walker-service-highlight__topline {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2vw, 20px);
}

.walker-service-highlight__icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: var(--wshl-icon-size);
	height: var(--wshl-icon-size);
	border: 1px solid rgba(15, 127, 131, 0.16);
	border-radius: 20px;
	background: var(--walker-ui-soft-teal, rgba(15, 127, 131, 0.07));
	color: var(--wshl-icon-color);
}

.walker-service-highlight__icon {
	display: block;
	width: 58%;
	height: 58%;
	color: var(--wshl-icon-color);
}

.walker-service-highlight__icon--svg,
.walker-service-highlight__svg {
	width: 58%;
	height: 58%;
}

.walker-service-highlight__icon--svg {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.walker-service-highlight__svg {
	display: block;
	max-width: 100%;
	max-height: 100%;
	color: currentColor;
}

.walker-service-highlight__icon--img {
	object-fit: contain;
}

.walker-service-highlight__eyebrow,
.walker-service-highlight .walker-service-highlight__eyebrow {
	margin: 0 !important;
	color: var(--walker-ui-teal, #0f7f83) !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	letter-spacing: 0.18em !important;
	line-height: 1.45 !important;
	text-transform: uppercase;
}

.walker-service-highlight__heading,
.walker-service-highlight .walker-service-highlight__heading {
	margin: clamp(20px, 2.4vw, 28px) 0 0 !important;
	max-width: 690px;
	color: var(--walker-ui-navy, #123247) !important;
	font-size: clamp(30px, 3vw, 44px) !important;
	font-weight: 750 !important;
	letter-spacing: -0.055em !important;
	line-height: 1.06 !important;
	text-wrap: balance;
}

.walker-service-highlight__copy,
.walker-service-highlight .walker-service-highlight__copy {
	margin-top: clamp(16px, 2vw, 22px);
	max-width: 700px;
	color: var(--walker-ui-body, #4f6470) !important;
	font-size: 16px !important;
	line-height: 1.7 !important;
}

.walker-service-highlight__copy > :first-child {
	margin-top: 0 !important;
}

.walker-service-highlight__copy > :last-child {
	margin-bottom: 0 !important;
}

.walker-service-highlight__actions {
	margin-top: clamp(20px, 2.5vw, 28px);
}

.walker-service-highlight__button,
.walker-service-highlight__button:visited {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--walker-ui-teal, #0f7f83) !important;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1.35;
	text-decoration: none !important;
	transition: color 180ms ease;
}

.walker-service-highlight__button-arrow {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	transition: transform 180ms ease;
}

.walker-service-highlight__button:hover,
.walker-service-highlight__button:focus-visible {
	color: var(--walker-ui-teal-dark, #0b666a) !important;
	text-decoration: none !important;
}

.walker-service-highlight__button:hover .walker-service-highlight__button-arrow,
.walker-service-highlight__button:focus-visible .walker-service-highlight__button-arrow {
	transform: translateX(4px);
}

.walker-service-highlight__button:focus-visible {
	outline: 3px solid rgba(15, 127, 131, 0.28);
	outline-offset: 5px;
	border-radius: 4px;
}

@media (max-width: 767.98px) {
	.walker-service-highlight {
		--wshl-icon-size: min(var(--wshl-icon-size), 58px);
	}

	.walker-service-highlight--surface-card .walker-service-highlight__inner {
		padding: 26px 22px 24px;
	}

	.walker-service-highlight__icon-wrap {
		border-radius: 17px;
	}

	.walker-service-highlight__heading,
	.walker-service-highlight .walker-service-highlight__heading {
		font-size: clamp(28px, 8vw, 38px) !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.walker-service-highlight--surface-card,
	.walker-service-highlight__button,
	.walker-service-highlight__button-arrow {
		transition: none !important;
	}

	.walker-service-highlight--surface-card:hover,
	.walker-service-highlight__button:hover .walker-service-highlight__button-arrow,
	.walker-service-highlight__button:focus-visible .walker-service-highlight__button-arrow {
		transform: none;
	}
}

/* Optional integrated featured expert chip. Appears only when a People profile is selected. */
.walker-service-highlight__expert-chip {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-top: clamp(20px, 2.5vw, 28px);
	padding: 12px 14px;
	border: 1px solid rgba(15, 127, 131, 0.12);
	border-radius: 20px;
	background: var(--walker-ui-soft-teal, rgba(15, 127, 131, 0.07));
}

.walker-service-highlight__expert-photo-link {
	display: block;
	flex: 0 0 auto;
	border-radius: 50%;
	text-decoration: none !important;
}

.walker-service-highlight__expert-photo {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	overflow: hidden;
	border: 4px solid var(--walker-ui-white, #fff);
	border-radius: 50%;
	background: linear-gradient(145deg, var(--walker-ui-teal, #0f7f83), var(--walker-ui-navy, #123247));
	box-shadow: 0 8px 18px rgba(17, 49, 66, 0.14);
}

.walker-service-highlight__expert-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.walker-service-highlight__expert-initials {
	color: var(--walker-ui-white, #fff);
	font-size: 15px;
	font-weight: 850;
	letter-spacing: -0.04em;
	line-height: 1;
}

.walker-service-highlight__expert-copy {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	flex-direction: column;
}

.walker-service-highlight__expert-label {
	color: var(--walker-ui-gold, #b7a36a);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 0.18em;
	line-height: 1.25;
	text-transform: uppercase;
}

.walker-service-highlight__expert-name,
.walker-service-highlight__expert-name:visited {
	margin-top: 4px;
	overflow: hidden;
	color: var(--walker-ui-navy, #123247) !important;
	font-size: 14px;
	font-weight: 850;
	letter-spacing: -0.015em;
	line-height: 1.25;
	text-decoration: none !important;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.walker-service-highlight__expert-name:hover,
.walker-service-highlight__expert-name:focus-visible {
	color: var(--walker-ui-teal-dark, #0b666a) !important;
}

.walker-service-highlight__expert-role {
	margin-top: 3px;
	overflow: hidden;
	color: rgba(79, 100, 112, 0.88);
	font-size: 12px;
	font-weight: 650;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.walker-service-highlight__expert-link,
.walker-service-highlight__expert-link:visited {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: 0 0 auto;
	color: var(--walker-ui-teal, #0f7f83) !important;
	font-size: 12px;
	font-weight: 850;
	line-height: 1.2;
	text-decoration: none !important;
	transition: color 180ms ease;
}

.walker-service-highlight__expert-link-arrow {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	transition: transform 180ms ease;
}

.walker-service-highlight__expert-link:hover,
.walker-service-highlight__expert-link:focus-visible {
	color: var(--walker-ui-teal-dark, #0b666a) !important;
}

.walker-service-highlight__expert-link:hover .walker-service-highlight__expert-link-arrow,
.walker-service-highlight__expert-link:focus-visible .walker-service-highlight__expert-link-arrow {
	transform: translateX(3px);
}

.walker-service-highlight__expert-photo-link:focus-visible,
.walker-service-highlight__expert-name:focus-visible,
.walker-service-highlight__expert-link:focus-visible {
	outline: 3px solid rgba(15, 127, 131, 0.28);
	outline-offset: 4px;
	border-radius: 4px;
}

@media (max-width: 520px) {
	.walker-service-highlight__expert-chip {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.walker-service-highlight__expert-copy {
		min-width: calc(100% - 78px);
	}

	.walker-service-highlight__expert-link {
		margin-left: 71px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.walker-service-highlight__expert-link,
	.walker-service-highlight__expert-link-arrow {
		transition: none !important;
	}

	.walker-service-highlight__expert-link:hover .walker-service-highlight__expert-link-arrow,
	.walker-service-highlight__expert-link:focus-visible .walker-service-highlight__expert-link-arrow {
		transform: none;
	}
}
