/* "Applying AI to therapeutic discovery in ALS" banner, shown only on
   /what-we-do/ai-and-data-science (inserted by
   scripts/migration/19-ai-case-study-banner.mjs). Tokens from the Figma
   "AI BANNER" frame (1687 × 386): navy fill, copy column starting at x 138
   (≈8.2% of the frame), art on the right half behind a diagonal edge, blue
   5px-radius button. Same two breakpoints as case-study.css: mobile (base)
   and desktop (≥1024). */

.cs-banner {
	--cs-banner-navy: #002395;
	--cs-banner-blue: #00aeef;
	--cs-banner-blue-hover: #0090c8;

	position: relative;
	overflow: hidden;
	background-color: var(--cs-banner-navy);
	color: #fff;
	text-align: left;
}

.cs-banner,
.cs-banner * {
	text-align: left;
}

/* ---------- Art ---------- */

.cs-banner__art {
	height: 200px;
	background-image: url('/wp-content/uploads/2026/09/case-study-als-banner-art.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

@media (min-width: 1024px) {
	.cs-banner__art {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		width: 50%;
		height: auto;
		/* Diagonal left edge: top starts ~23% into the art box, bottom at 0. */
		clip-path: polygon(23% 0, 100% 0, 100% 100%, 0 100%);
	}
}

/* ---------- Copy ---------- */

.cs-banner__inner {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	padding: 40px 24px 44px;
}

@media (min-width: 1024px) {
	.cs-banner__inner {
		max-width: 1687px;
		margin: 0 auto;
		padding: 61px 50% 44px 8.2%;
	}
}

.cs-banner .cs-banner__title {
	margin: 0;
	max-width: 690px;
	font-size: 28px;
	line-height: 1.15;
	font-weight: 400;
	color: #fff;
	text-wrap: balance;
}

@media (min-width: 1024px) {
	.cs-banner .cs-banner__title {
		font-size: 38px;
		line-height: 41.8px;
	}
}

.cs-banner .cs-banner__body {
	margin: 16px 0 0;
	max-width: 646px;
	font-size: 17px;
	line-height: 28px;
	color: #fff;
}

.cs-banner .cs-banner__button {
	display: inline-block;
	box-sizing: border-box;
	margin-top: 40px;
	min-width: 254px;
	padding: 12px 40px;
	border-radius: 5px;
	background: var(--cs-banner-blue);
	color: #fff;
	font-size: 21px;
	line-height: 25px;
	font-weight: 400;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease;
}

@media (min-width: 1024px) {
	.cs-banner .cs-banner__button {
		margin-top: 49px;
	}
}

.cs-banner .cs-banner__button:hover,
.cs-banner .cs-banner__button:focus-visible {
	background: var(--cs-banner-blue-hover);
	color: #fff;
	text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
	.cs-banner .cs-banner__button {
		transition: none;
	}
}
