/**
 * Contact (17.0): the small hero (assets/legal/hero.css), Social events'
 * enquiry form, Option A's map, careers box and reviews, then the home
 * page's good-time band.
 */

/* The headings that write on (social-events/reveal.js): no kerning pairs,
   so nothing shifts when the plain text comes back (as Partners) */
body.acs-contact .se-enquiry__intro .l-h2 {
	font-kerning: none;
	font-variant-ligatures: none;
}

/* ---------- Form intro ----------
   The heading in the H3 size (user, 2026-10-20; still an h2, so the
   levels don't skip), 12px over the live page's notice, then the phone
   and location 32px under it. */
body.acs-contact .se-enquiry__intro .l-h2 {
	font-size: var(--acs-h3-size);
	line-height: var(--acs-h3-lh);
}

body.acs-contact .se-enquiry__intro .l-h2 + .se-enquiry__note {
	margin-top: 0.75rem; /* 12px, every heading's rhythm on this page (was 16) */
}

/* ---------- Home office map and careers box ----------
   Exactly as on the location page (the saved components; user,
   2026-10-20): its type (line Body L, address Body Base), 12px heading to
   line, the button 28px under the line (the .se page zeroes button
   margins), and on phones the heading, line and button centred. */
body.acs-contact .l-map .l-intro__body,
body.acs-contact .l-careers .l-intro__body {
	font-size: var(--acs-text-lg-size);
	line-height: var(--acs-text-lg-lh);
}

body.acs-contact .l-map__address {
	font-size: var(--acs-text-base-size);
	line-height: var(--acs-text-base-lh);
}

body.acs-contact .l-map .l-h2 + .l-intro__body,
body.acs-contact .l-careers .l-h2 + .l-intro__body {
	margin-top: 0.75rem;
}

body.acs-contact .se .l-map .l-intro .l-btn,
body.acs-contact .se .l-careers__box > .l-btn {
	margin-top: 1.75rem;
}

@media (max-width: 767px) {
	body.acs-contact .l-map .l-intro,
	body.acs-contact .l-careers__box {
		text-align: center;
	}

	body.acs-contact .l-careers__box {
		align-items: center;
	}

	body.acs-contact .l-map .l-intro .l-intro__body {
		margin-inline: auto;
	}
}

/* Phones and tablets: the map 32px under its heading block, as the form
   under its intro (was 36 / 40) */
@media (max-width: 1023px) {
	body.acs-contact .l-map.l-split {
		gap: 2rem;
	}
}

/* Desktop: the map on the form's grid (4fr copy, 6fr map, 64px apart),
   so the map is as wide as the form card and lines up with it (user,
   2026-10-20: the two widths looked odd) */
@media (min-width: 1024px) {
	body.acs-contact .l-map.l-split {
		grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
		column-gap: 4rem;
	}

	body.acs-contact .l-map.l-split > :first-child,
	body.acs-contact .l-map.l-split > :last-child {
		grid-column: auto;
	}
}

/* Tablet up: the careers button sits beside the copy, no top margin */
@media (min-width: 768px) {
	body.acs-contact .se .l-careers__box > .l-btn {
		margin-top: 0;
	}
}

/* ---------- Section gaps ----------
   The style guide gap (120 / 60) from where the red visibly ends: the
   hero's torn bottom hides 0.668 of --l-tear in the page colour (as FAQs). */
body.acs-contact .lg-hero + .se-enquiry {
	margin-top: calc(var(--acs-section-gap) - var(--l-tear) * 0.668);
}

/* Careers box to the good-time band (reviews removed, user 2026-10-21):
   measured to where the red shows, its torn top hides 0.668 of the tear */
body.acs-contact .l-careers + .a-goodtime {
	margin-top: calc(var(--acs-section-gap) - var(--l-tear) * 0.668);
}

/* The good-time band is last and tears straight into the footer, as on
   FAQs: the footer's gap moves inside it */
body.acs-contact .a-goodtime {
	margin-bottom: 0;
}


/* Submit: full width on phones (the form's own rule); from 640 the style
   guide's primary button, as wide as its label and padding, without the
   event forms' 13rem minimum (user, 2026-10-20: too much space either side) */
@media (min-width: 640px) {
	body.acs-contact .se .se-form__submit {
		min-width: 0;
	}
}

/* The home office's phone and address under Get directions (client call,
   2026-10-21), in the contact form's rows (icon tile, small caps label,
   value, a line between), each labelled Home office; the rows' text stays
   left aligned under the centred intro on phones */
body.acs-contact .l-map__office {
	margin-top: 2.5rem;
	text-align: left;
}

body.acs-contact .l-map__office .se-contacts {
	margin-top: 0;
}
