/**
 * MSAD News 2026 -- page-specific sections. Spec: "MSAD News.dc.html".
 * Card grid, kicker and ASL pill come from the shared system (msad-2026.css).
 */

.msad-h26__newsp {
	max-width: var(--h26-max);
	margin: 0 auto;
	padding: 48px var(--h26-gutter) 0;
}

/* Featured story: navy card, image left, copy right */
.msad-h26__newsp-featured {
	display: grid;
	position: relative;
	grid-template-columns: 1.1fr 1fr;
	background: var(--h26-navy);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 18px 44px rgba(15, 25, 52, 0.18);
	transition: transform var(--h26-transition), box-shadow var(--h26-transition);
}

/* Tri-stripe hover cap, same treatment as .msad-h26__card in msad-2026.css. */
.msad-h26__newsp-featured::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
	background: linear-gradient(to right, var(--brand-bay-blue) 0 44.44%, var(--h26-sky) 44.44% 77.78%, var(--brand-cranberry) 77.78% 100%);
	opacity: 0;
	transition: opacity var(--h26-transition);
	pointer-events: none;
}

.msad-h26__newsp-featured:hover,
.msad-h26__newsp-featured:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 24px 52px rgba(15, 25, 52, 0.24);
}

.msad-h26__newsp-featured:hover::after,
.msad-h26__newsp-featured:focus-visible::after {
	opacity: 1;
}

.msad-h26__newsp-featured-img {
	min-height: 320px;
	background-color: #24407c;
	background-size: cover;
	background-position: center;
}

.msad-h26__newsp-featured-body {
	padding: 36px 38px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.msad-h26__newsp-featured-badge {
	align-self: flex-start;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: var(--h26-cranberry);
	color: var(--h26-on-accent);
	padding: 7px 14px;
	border-radius: 999px;
}

.msad-h26__newsp-featured-kicker {
	font-weight: 700;
	font-size: 11.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--h26-cranberry);
	margin-top: 18px;
}

.msad-h26__newsp-featured-title {
	font-family: var(--h26-font-head);
	font-weight: 700;
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.12;
	letter-spacing: -0.025em;
	color: #fff;
	margin-top: 10px;
	text-wrap: balance;
}

.msad-h26__newsp-featured-excerpt {
	font-size: 15.5px;
	line-height: 1.65;
	color: var(--h26-on-navy);
	margin-top: 12px;
	max-width: 52ch;
}

.msad-h26__newsp-featured-more {
	font-weight: 700;
	font-size: 15px;
	color: var(--h26-accent);
	margin-top: 22px;
}

/* Category pills */
.msad-h26__newsp-cats {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 32px;
}

.msad-h26__newsp-cat {
	font-family: var(--h26-font-body);
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1.5px solid var(--h26-cranberry);
	background: #fff;
	color: var(--h26-sky-700);
	font-weight: 700;
	font-size: 13.5px;
	cursor: pointer;
	transition: background-color var(--h26-transition), color var(--h26-transition),
		border-color var(--h26-transition);
}

.msad-h26__newsp-cat:hover {
	border-color: var(--h26-sky-700);
}

.msad-h26__newsp-cat.is-active {
	background: var(--h26-navy);
	color: #fff;
	border-color: var(--h26-navy);
}

.msad-h26__newsp-cat:focus-visible {
	outline: var(--h26-focus);
	outline-offset: 3px;
}

/* Card excerpt + "Read more" additions to the shared card */
.msad-h26__newsp .msad-h26__card[hidden] {
	display: none;
}

.msad-h26__newsp-card-excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: var(--h26-muted);
	margin-top: 8px;
}

.msad-h26__newsp-card-more {
	font-weight: 700;
	font-size: 14px;
	color: var(--h26-sky-700);
	margin-top: 14px;
}

/* Load older */
.msad-h26__newsp-older {
	display: flex;
	justify-content: center;
	margin-top: 36px;
}

.msad-h26__newsp-older-btn {
	font-family: var(--h26-font-body);
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	padding: 0 26px;
	border-radius: 8px;
	border: 2px solid var(--h26-navy);
	background: transparent;
	color: var(--h26-navy);
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: background-color var(--h26-transition), color var(--h26-transition);
}

.msad-h26__newsp-older-btn:hover,
.msad-h26__newsp-older-btn:focus-visible {
	background: var(--h26-navy);
	color: #fff;
}

.msad-h26__newsp-older-btn[hidden] {
	display: none;
}

/* Responsive */
@media (max-width: 1024px) {
	.msad-h26__newsp-featured {
		grid-template-columns: 1fr;
	}

	.msad-h26__newsp-featured-img {
		min-height: 220px;
	}
}

@media (max-width: 720px) {
	.msad-h26__newsp {
		padding-top: 36px;
	}

	.msad-h26__newsp-featured-body {
		padding: 26px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.msad-h26__newsp-featured:hover,
	.msad-h26__newsp-featured:focus-visible {
		transform: none;
	}
}
