/*
 * SMM Level-One front-end styles.
 *
 * Responsive system:
 *   Desktop:                 >= 1200px
 *   Compact desktop/tablet:   768px–1199px
 *   Mobile:                  <= 767px
 *
 * The former 981/980 development breakpoint has been retired. The approved
 * desktop Level-One hero remains 266px in the normal case; compact and mobile
 * layouts use natural content height.
 */

/* Card numbers: more visible in the normal state. */
.smm-l1-page .card-num {
	color: #a8b6c5;
	transition: color .25s ease;
}

/* Shared interaction for linked Section 2 and Section 3 cards. */
.smm-l1-page .smm-l1-linked-card {
	position: relative;
	z-index: 1;
	border-bottom: 3px solid transparent;
	transition:
		transform .25s ease,
		box-shadow .25s ease,
		background-color .25s ease,
		border-color .25s ease;
}

.smm-l1-page .smm-l1-linked-card:hover,
.smm-l1-page .smm-l1-linked-card:focus-visible {
	z-index: 2;
	transform: translateY(-4px);
	background: #dfeefa;
	box-shadow: 0 12px 30px rgba(16, 43, 73, .22);
	border-bottom-color: var(--red, #d32f2f);
}

.smm-l1-page .card.smm-l1-linked-card:hover .card-num,
.smm-l1-page .card.smm-l1-linked-card:focus-visible .card-num {
	color: #6b829a;
}

.smm-l1-page .smm-l1-linked-card:focus-visible {
	outline: 3px solid rgba(26, 107, 196, .35);
	outline-offset: 3px;
}

.smm-l1-page .smm-l1-hero-placeholder {
	visibility: hidden;
}

/*
 * Image-backed Section 2 cards.
 * The approved 50/50 image treatment is shared by all responsive states, so
 * the previous duplicated desktop/mobile rules are consolidated here.
 */
.smm-l1-page .card.has-image::before {
	width: 50%;
	opacity: 1;
}

.smm-l1-page .card.has-image::after {
	width: 50%;
	background: linear-gradient(
		to right,
		var(--white) 0%,
		rgba(255, 255, 255, 1) 8%,
		rgba(255, 255, 255, .78) 28%,
		rgba(255, 255, 255, .42) 48%,
		rgba(255, 255, 255, .12) 68%,
		rgba(255, 255, 255, 0) 100%
	);
}

.smm-l1-page .card.has-image .card-num,
.smm-l1-page .card.has-image .card-title,
.smm-l1-page .card.has-image .card-desc {
	max-width: 65%;
}

.smm-l1-page .card.has-image:hover::after,
.smm-l1-page .card.has-image.smm-l1-linked-card:focus-visible::after {
	background: linear-gradient(
		to right,
		var(--blue-light) 0%,
		rgba(232, 242, 251, 1) 8%,
		rgba(232, 242, 251, .74) 28%,
		rgba(232, 242, 251, .36) 48%,
		rgba(232, 242, 251, .10) 68%,
		rgba(232, 242, 251, 0) 100%
	);
}

html[data-theme="dark"] .smm-l1-page .card.has-image::after {
	background: linear-gradient(
		to right,
		rgba(23, 35, 47, 1) 0%,
		rgba(23, 35, 47, 1) 8%,
		rgba(23, 35, 47, .78) 28%,
		rgba(23, 35, 47, .42) 48%,
		rgba(23, 35, 47, .12) 68%,
		rgba(23, 35, 47, 0) 100%
	);
}

html[data-theme="dark"] .smm-l1-page .card.has-image:hover::after,
html[data-theme="dark"] .smm-l1-page .card.has-image.smm-l1-linked-card:hover::after,
html[data-theme="dark"] .smm-l1-page .card.has-image.smm-l1-linked-card:focus-visible::after {
	background: linear-gradient(
		to right,
		#1d384f 0%,
		rgba(29, 56, 79, 1) 8%,
		rgba(29, 56, 79, .76) 28%,
		rgba(29, 56, 79, .40) 48%,
		rgba(29, 56, 79, .10) 68%,
		rgba(29, 56, 79, 0) 100%
	);
}

/* Desktop — approved Level-One hero composition. */
@media (min-width: 1200px) {
	.smm-l1-page .subpage-hero {
		box-sizing: border-box;
		height: 266px;
		min-height: 0;
		overflow: visible;
	}

	.smm-l1-page .subpage-hero p {
		max-width: 800px;
	}
}

/* Compact desktop / tablet — natural hero height. */
@media (min-width: 768px) and (max-width: 1199px) {
	.smm-l1-page .subpage-hero {
		height: auto;
		min-height: 0;
	}
}

/* Mobile — natural hero height. */
@media (max-width: 767px) {
	.smm-l1-page .subpage-hero {
		height: auto;
		min-height: 0;
	}
}

/*
 * Light-mode readability.
 * Match the finalized Level-Two body-copy contrast while leaving headings,
 * accents, links and all dark-mode styling unchanged.
 */
html:not([data-theme="dark"]) .smm-l1-page .sec-desc,
html:not([data-theme="dark"]) .smm-l1-page .card-desc,
html:not([data-theme="dark"]) .smm-l1-page .info-card p {
	color: #29435E !important;
	font-weight: 400;
}

/*
 * Consolidated approved Level-One breadcrumb treatment.
 * Preserves the September 2026 one-time updater result in the standalone template.
 */
.smm-l1-page .subpage-hero .breadcrumb {
	position: relative;
	top: -6px;
}

.smm-l1-page .subpage-hero .breadcrumb,
.smm-l1-page .subpage-hero .breadcrumb span,
.smm-l1-page .subpage-hero .breadcrumb a {
	color: rgba(255, 255, 255, .50) !important;
}

.smm-l1-page .subpage-hero .breadcrumb span:hover,
.smm-l1-page .subpage-hero .breadcrumb a:hover {
	color: rgba(255, 255, 255, .82) !important;
}

/*
 * Consolidated approved Level-One hero eyebrow treatment.
 * Hero eyebrow text + short line use the same white as the hero title.
 */
.smm-l1-page .subpage-hero .eyebrow.light {
	color: #ffffff !important;
}

.smm-l1-page .subpage-hero .eyebrow.light::before {
	background-color: #ffffff !important;
	border-color: #ffffff !important;
}

/*
 * Non-image Section 2 cards — approved site-wide border treatment.
 * Matches the homepage Business Areas card treatment: 1px blue-gray perimeter
 * with the exact image-fade stop positions, effectively transparent on the
 * left and progressively more defined toward the right.
 * No typography, background, shadow, radius, spacing or hover changes.
 */
.smm-l1-page .card:not(.has-image)::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid transparent;
	border-radius: inherit;
	background: linear-gradient(
		to right,
		rgba(100, 123, 146, 0) 0%,
		rgba(100, 123, 146, 0) 8%,
		rgba(100, 123, 146, .22) 28%,
		rgba(100, 123, 146, .58) 48%,
		rgba(100, 123, 146, .88) 68%,
		rgba(100, 123, 146, 1) 100%
	) border-box;
	-webkit-mask:
		linear-gradient(#fff 0 0) padding-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask:
		linear-gradient(#fff 0 0) padding-box,
		linear-gradient(#fff 0 0);
	mask-composite: exclude;
	pointer-events: none;
	z-index: 3;
}

html[data-theme="dark"] .smm-l1-page .card:not(.has-image)::after {
	background: linear-gradient(
		to right,
		rgba(111, 137, 162, 0) 0%,
		rgba(111, 137, 162, 0) 8%,
		rgba(111, 137, 162, .22) 28%,
		rgba(111, 137, 162, .58) 48%,
		rgba(111, 137, 162, .88) 68%,
		rgba(111, 137, 162, 1) 100%
	) border-box;
}
