/* Show the entire Featured Research image */
.abx-fea__collage-image {
  object-fit: contain;
}

/* Timeline page (ID 4931): hide chrome when embedded as iframe */
.page-id-4931 .abx-nav,
.page-id-4931 .abx-sticky-info,
.page-id-4931 .abx-footer,
.page-id-4931 #wpadminbar { display: none !important; }
.page-id-4931 html { margin-top: 0 !important; }
.page-id-4931 body { padding-top: 0 !important; margin-top: 0 !important; }

/* =========================================================
   Contact page — styles for the abx-contact-* classes set on
   the page's blocks (Advanced → Additional CSS class).
   ========================================================= */

/* ---------- Hero ---------- */
/* Line the hero content up with the 1120px content width of the sections below
   (overrides core's left-anchored "content position" rule). */
.wp-block-cover.abx-contact-hero .wp-block-cover__inner-container {
	width: 100% !important;
	max-width: 1120px;
	margin-inline: auto !important;
}

.abx-contact-hero__cols {
	align-items: flex-end;
}

/* Micro-proof: "Boutique practice ■ Principals respond directly ■ No handoffs" */
.abx-contact-proof {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 16px 0 0 !important;
	padding: 0 !important;
}

.abx-contact-proof li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 13px;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-accent-tertiary);
}

.abx-contact-proof li::before {
	content: "";
	width: 6px;
	height: 6px;
	flex: none;
	background: var(--color-accent-secondary);
}

/* Contact information panel on the right */
.abx-contact-direct {
	border-left: 2px solid var(--color-accent-secondary);
	padding: 4px 0 4px 24px;
}

.abx-contact-direct__label {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.6);
}

.abx-contact-direct__link a {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.2;
	color: var(--color-white) !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.abx-contact-direct__link a:hover {
	color: var(--color-accent-tertiary) !important;
}

.abx-contact-direct__hours {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
}

/* ---------- Choose your path ---------- */
.abx-contact-path {
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(0, 48, 73, 0.12);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.abx-contact-path:hover {
	border-color: var(--color-accent-secondary);
	transform: translateY(-2px);
}

.abx-contact-path--featured {
	border-color: var(--color-primary);
}

/* Highlighted line in Path 02 */
.abx-contact-callout {
	padding: 16px 20px;
	border-left: 3px solid var(--color-accent-secondary);
	background: rgba(255, 255, 255, 0.06);
	line-height: 1.55;
}

/* Keep space between the text and the separator, even in the taller card */
.abx-contact-path > :has(+ .abx-contact-path__rule) {
	margin-bottom: 24px;
}

/* Separator above each CTA, pushed to the bottom so both CTAs line up */
.abx-contact-path > .abx-contact-path__rule {
	width: 100%;
	max-width: none;
	height: 0;
	margin-top: auto !important;
	border: 0;
	border-top: 1px solid rgba(0, 48, 73, 0.12);
	background: none;
	opacity: 1;
}

.abx-contact-path--featured > .abx-contact-path__rule {
	border-top-color: rgba(255, 255, 255, 0.15);
}

/* "Fill out the form below" — sentence case, arrow nudges on hover */
.abx-contact-path .is-style-cta-link .wp-block-button__link {
	font-size: 16px;
	text-transform: none;
	letter-spacing: 0;
}

.abx-contact-path .is-style-cta-link .wp-block-button__link::after {
	transition: transform 0.2s ease;
}

.abx-contact-path .is-style-cta-link .wp-block-button__link:hover::after {
	transform: translateX(3px);
}

/* ---------- Contact form + What to expect ---------- */
/* The form card keeps its own height instead of stretching to the sidebar's */
.abx-contact-form-card {
	align-self: flex-start;
	border: 1px solid rgba(0, 48, 73, 0.12);
	border-top: 4px solid var(--color-accent-secondary);
}

/* "What to expect" stays in view while the visitor fills the form */
.abx-contact-aside {
	position: sticky;
	top: 115px;
	align-self: flex-start;
}

/* Number on the left, heading + text on the right */
.abx-contact-step {
	display: grid;
	grid-template-columns: 32px 1fr;
	column-gap: 12px;
	row-gap: 6px;
}

.abx-contact-step > * {
	margin: 0 !important;
}

.abx-contact-step > :first-child {
	grid-row: span 2;
	padding-top: 2px;
}

/* ---------- Four trust signals ---------- */
.abx-contact-trust {
	border-top: 2px solid var(--color-primary);
}

.abx-contact-trust > .wp-block-column {
	padding: 28px 28px 0;
}

.abx-contact-trust > .wp-block-column:first-child {
	padding-left: 0;
}

.abx-contact-trust > .wp-block-column + .wp-block-column {
	border-left: 1px solid rgba(0, 48, 73, 0.12);
}

/* Founders' photos: small overlapping circles */
.abx-contact-principals {
	margin-top: 8px !important;
}

.abx-contact-principals .wp-block-image {
	margin: 0;
}

.abx-contact-principals .wp-block-image + .wp-block-image {
	margin-left: -10px;
}

.abx-contact-principals img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border: 3px solid var(--color-surface-muted);
	border-radius: 50% !important;
}

/* ---------- Prefer to reach us directly? ---------- */
.abx-contact-way {
	border: 1px solid rgba(0, 48, 73, 0.12);
}

/* Small uppercase labels with an orange icon */
.abx-contact-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-text-muted);
}

.abx-contact-label:not(:first-child) {
	margin-top: 20px !important;
}

.abx-contact-label::before {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	background: var(--color-accent-secondary);
	-webkit-mask: var(--abx-icon) center / contain no-repeat;
	mask: var(--abx-icon) center / contain no-repeat;
}

.abx-contact-label--email { --abx-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
.abx-contact-label--phone { --abx-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.abx-contact-label--address { --abx-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.abx-contact-label--hours { --abx-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }

/* Email / phone in the office card: navy, orange on hover */
.abx-contact-office a {
	color: var(--color-primary) !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.abx-contact-office a:hover {
	color: var(--color-accent-secondary) !important;
}

/* ---------- The ABEXUS Signal (form on navy, like the homepage newsletter) ---------- */
.abx-contact-signal .abx-form__form {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
}

.abx-contact-signal .abx-form__label {
	color: rgba(248, 250, 252, 0.4);
}

.abx-contact-signal .abx-form__required {
	display: none;
}

.abx-contact-signal .abx-form__input {
	min-height: 54px;
	background: rgba(248, 250, 252, 0.05);
	border: 1px solid rgba(248, 250, 252, 0.2);
	border-right: 0;
	color: var(--color-white);
}

.abx-contact-signal .abx-form__input::placeholder {
	color: rgba(248, 250, 252, 0.3);
}

.abx-contact-signal .abx-form__input:focus {
	border-color: var(--color-accent-secondary);
	box-shadow: none;
}

.abx-contact-signal .abx-form__footer {
	margin-top: 0;
}

.abx-contact-signal .abx-form__submit {
	min-height: 54px;
}

.abx-contact-signal .abx-form__error,
.abx-contact-signal .abx-form__status {
	color: #ffb4a8;
}

.abx-contact-signal .abx-form__success {
	background: rgba(255, 255, 255, 0.06);
	color: var(--color-white);
}

.abx-contact-signal__note {
	color: rgba(248, 250, 252, 0.4);
}

/* ---------- Bottom CTA ---------- */
.abx-contact-final h2 mark {
	display: block;
}

/* Short orange rule above "The output is one clear recommended next move." */
.abx-contact-final .abx-contact-final__rule {
	width: 40px;
	height: 0;
	margin-top: 32px !important;
	border: 0;
	border-top: 2px solid var(--color-accent-secondary);
	background: none;
	opacity: 1;
}

/* ---------- Tablet / mobile ---------- */
@media (max-width: 781px) {
	/* Columns stack: drop the side-by-side dividers and the sticky sidebar */
	.abx-contact-trust > .wp-block-column,
	.abx-contact-trust > .wp-block-column:first-child {
		padding: 24px 0 0;
		border-left: 0 !important;
	}

	.abx-contact-aside {
		position: static;
	}

	.abx-contact-direct {
		margin-top: 16px;
	}
}

@media (max-width: 600px) {
	.abx-contact-signal .abx-form__form {
		grid-template-columns: 1fr;
		row-gap: 16px;
	}

	.abx-contact-signal .abx-form__input {
		border-right: 1px solid rgba(248, 250, 252, 0.2);
	}

	.abx-contact-signal .abx-form__submit {
		width: 100%;
	}
}

/* =========================================================
   End of Contact page — styles ========================================================= */
