/**
 * Contact office: `grid gap-12 lg:grid-cols-12 lg:gap-16`, the office in
 * five columns, the form in seven. The office's lines `mt-6 space-y-4`,
 * each `inline-flex items-center gap-3 text-lg font-medium` behind a 40px
 * tile in red-light with a 20px icon; the topics `mt-10 text-lg font-bold`,
 * then `mt-4 divide-y border-y`, a row `grid gap-1 py-3 sm:grid-cols-2
 * sm:gap-4 text-sm`, the address an inline link. The card `rounded-2xl
 * border bg-card p-8 shadow-sm lg:p-10`, its heading `text-2xl font-bold`,
 * the form `mt-6 space-y-5`.
 *
 * The form is Elementor Pro's (a template, see contact-office.php), painted
 * as the style guide's fields by components.css, "Elementor Pro's form",
 * shared with the order form since November 11, 2026.
 */

.sba-c-contact-office .sba-c-contact-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 48px;
}

.sba-c-contact-office .sba-c-contact-details > :is(h2, h3, ul, dl) {
	margin: 0;
}

.sba-c-contact-office .sba-c-contact-details > .sba-c-contact-lines {
	display: grid;
	gap: 16px;
	margin-top: 24px;
	padding: 0;
	list-style: none;
}

.sba-c-contact-office .sba-c-contact-lines li {
	margin: 0;
}

.sba-c-contact-office .sba-c-contact-lines a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--sba-charcoal);
	font-size: 18px;
	font-weight: 500;
	line-height: 28px;
	text-decoration: none;
}

.sba-c-contact-office .sba-c-contact-lines a:hover {
	color: var(--sba-red-dark);
}

.sba-c-contact-office .sba-c-contact-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--sba-radius);
	background-color: var(--sba-icon-tile-bg);
	color: var(--sba-icon-tile-color);
	font-size: 20px;
}

.sba-c-contact-office .sba-c-contact-details > .sba-c-contact-topics-title {
	margin-top: 40px;
	color: var(--sba-charcoal);
	font-size: 18px;
	font-weight: var(--sba-heading-weight);
	letter-spacing: var(--sba-heading-tracking);
	line-height: 28px;
}

.sba-c-contact-office .sba-c-contact-details > .sba-c-contact-topics {
	margin-top: 16px;
	border-top: 1px solid var(--sba-border);
	border-bottom: 1px solid var(--sba-border);
}

.sba-c-contact-office .sba-c-contact-topics > div {
	display: grid;
	gap: 4px;
	padding: 12px 0;
	font-size: 14px;
	line-height: 20px;
}

.sba-c-contact-office .sba-c-contact-topics > div + div {
	border-top: 1px solid var(--sba-border);
}

.sba-c-contact-office .sba-c-contact-topics :is(dt, dd) {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
}

.sba-c-contact-office .sba-c-contact-topics dt {
	color: var(--sba-slate);
	font-weight: 400;
}

/* The address sits in a 16px line, 24px tall, as the prototype's. */
.sba-c-contact-office .sba-c-contact-topics dd {
	font-size: 16px;
	line-height: 24px;
}

.sba-c-contact-office .sba-c-contact-topics dd a {
	font-size: 14px;
	font-weight: 500;
	line-height: 24px;
	vertical-align: top;
}

.sba-c-contact-office .sba-c-contact-card {
	align-self: start;
	padding: 32px;
	border: 1px solid var(--sba-border);
	border-radius: 16px;
	background-color: var(--sba-surface);
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.sba-c-contact-office .sba-c-contact-card > .sba-c-contact-card-title {
	margin: 0;
	color: var(--sba-charcoal);
	font-size: 24px;
	font-weight: var(--sba-heading-weight);
	letter-spacing: var(--sba-heading-tracking);
	line-height: 32px;
}

.sba-c-contact-office .sba-c-contact-card > .sba-c-contact-form {
	margin-top: 24px;
}

@media (min-width: 640px) {
	.sba-c-contact-office .sba-c-contact-topics > div {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}
}

@media (min-width: 1024px) {
	.sba-c-contact-office .sba-c-contact-split {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 64px;
	}

	.sba-c-contact-office .sba-c-contact-details {
		grid-column: span 5;
	}

	.sba-c-contact-office .sba-c-contact-card {
		grid-column: span 7;
		padding: 40px;
	}
}
