/* ADA Deadline template (page-ada-deadline.php). Uses the site's dark sections;
   this file only covers what the shared utilities don't: the WYSIWYG blocks,
   the form split, and the icon cards. Buttons and fields come from content.css. */

/* WYSIWYG copy (top_content / bottom_content) */
.deadline .dl-copy { font-size: var(--text-copy); line-height: 1.6; color: var(--color-muted); }
.deadline .dl-copy h2,
.deadline .dl-h2 {
	font-size: var(--text-h2);
	line-height: 1;
	font-weight: 700;
	letter-spacing: -.045em;
	color: var(--color-light);
	max-width: 18ch;
}
.deadline .dl-copy h2 { margin: 0 0 2rem; }
.deadline .dl-copy h2.primary { color: var(--color-light); }
.deadline .dl-copy h2 em,
.deadline .dl-copy h2 i,
.deadline .dl-h2 em,
.deadline .dl-h2 i { font-style: normal; }
.deadline .dl-copy p { max-width: 62ch; }
.deadline .dl-copy p + p { margin-top: 1.25rem; }
.deadline .dl-copy p:has(> iframe),
.deadline .dl-copy > iframe { max-width: none; margin: 0 0 clamp(4rem, 8vw, 7rem); }
.deadline .dl-copy iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid var(--color-line); }
.deadline .dl-copy * + h2 { margin-top: clamp(4rem, 8vw, 7rem); }

/* Bottom CTA: theme solid button instead of the old outline */
.deadline .dl-cta .btn-wrapper { margin-top: 2.5rem; }
.deadline .dl-cta a.btn {
	color: var(--color-ink);
	font-weight: 600;
	border-color: transparent;
	background: linear-gradient(100deg, var(--color-magenta) 0%, var(--color-orange) 62%);
}
.deadline .dl-cta a.btn:hover {
	color: var(--color-ink);
	border-color: transparent;
	background: linear-gradient(100deg, #ef2f6b 0%, var(--color-orange-hi) 62%);
	box-shadow: 0 6px 26px #ff690357;
	transform: translateY(-1px);
}

/* Form: heading left, form right */
.deadline .dl-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
}
.deadline .dl-split .dl-h2 { margin-top: 1.5rem; }
.deadline .dl-form .wpcf7 { margin-top: 0; max-width: none; }
.deadline .dl-form .row:first-child { margin-top: 0; }
.deadline .dl-form .row > .col-lg-6 { flex-basis: 100%; }
.deadline .dl-form .wpcf7 input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) { background: var(--color-ink); }
.deadline .dl-form iframe { width: 100%; border: 0; }
@media (max-width: 900px) {
	.deadline .dl-split { grid-template-columns: 1fr; }
}

/* Icon cards: hairline grid, matches cmg_cell_grid() */
.deadline .dl-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 4rem;
	border-top: 1px solid var(--color-line);
}
.deadline .dl-card { padding: 3.5rem 3rem 3.5rem 0; border-bottom: 1px solid var(--color-line); }
.deadline .dl-card + .dl-card { padding-left: 3rem; border-left: 1px solid var(--color-line); }
.deadline .dl-card__icon { margin-bottom: 2rem; color: var(--color-orange); }
.deadline .dl-card__icon svg { display: block; width: auto; height: 72px; }
.deadline .dl-card__icon svg [stroke]:not([stroke="none"]) { stroke: currentColor; }
.deadline .dl-card__icon svg [fill]:not([fill="none"]) { fill: currentColor; }
.deadline .dl-card h3 { text-transform: none; }
@media (max-width: 880px) {
	.deadline .dl-cards { grid-template-columns: 1fr; margin-top: 2.5rem; }
	.deadline .dl-card,
	.deadline .dl-card + .dl-card { padding: 2.5rem 0; border-left: 0; }
}
