/*
 * ANPS Agency: cta.css (handle `anps-cta`, enqueued wherever the pattern
 * `anps-agency/cta-band` renders; also an editor style). Ported from the #start
 * section of design/html/home-desktop.html and home-mobile.html.
 */

.cta-band {
	background: var(--py);
}

.cta-in {
	align-items: start;
	padding-top: 144px;
	padding-bottom: 144px;
}

.cta-l {
	grid-column: 1 / span 6;
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.cta-lead {
	max-width: 620px;
}

.cta-r {
	grid-column: 8 / span 5;
	display: flex;
	flex-direction: column;
}

.cta-band .cta-kicker {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 500;
}

.cta-band .cta-q {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cta-q li {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 0;
	border-top: 1px solid var(--line);
	font-size: 18px;
	line-height: 1.45;
	letter-spacing: -0.01em;
}

.cta-q li:last-child {
	border-bottom: 1px solid var(--line);
}

.cta-v {
	color: var(--ink2);
	text-align: right;
}

.cta-o {
	display: none;
}

.cta-band .cta-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 32px;
	margin-top: 36px;
}

.cta-mail a {
	border-bottom: 1px solid var(--ink);
}

@media (max-width: 600px) {
	.cta-in {
		display: flex;
		flex-direction: column;
		gap: 24px;
		padding-top: 72px;
		padding-bottom: 72px;
	}

	.cta-l,
	.cta-r,
	.cta-band .cta-actions {
		display: contents;
	}

	.cta-band .cta-l h2 {
		font-size: 44px;
		line-height: 1.05;
		letter-spacing: -0.045em;
	}

	.cta-band .cta-l h2 .ln,
	.cta-band .cta-l h2 .ln > span {
		display: inline;
	}

	.cta-band .cta-l h2 .ln + .ln::before {
		content: " ";
	}

	.cta-band .cta-lead {
		font-size: 18px;
		line-height: 1.3;
	}

	.cta-kicker {
		display: none;
	}

	.cta-band .cta-q {
		margin-top: 8px;
	}

	.cta-q li {
		display: block;
		padding: 13px 0;
		font-size: 16px;
		line-height: 1.4;
	}

	.cta-v {
		display: none;
	}

	.cta-o {
		display: inline;
		color: var(--ink2);
	}

	.cta-band .cta-mail {
		font-size: 16px;
		line-height: 1.4;
		text-align: center;
	}
}
