/* ==========================================================================
   Elementor integration: each section widget sits in a full-width container with the class
   "axn-wrap". Strip Elementor's container padding, gaps and widths so the section's own
   shell (.axn-section) sets the rhythm, exactly as designed.
   ========================================================================== */

.elementor .e-con.axn-wrap,
.elementor .e-con.axn-wrap > .e-con-inner {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	--width: 100%;
	--content-width: 100%;
	--container-max-width: 100%;
	--margin-top: 0px;
	--margin-bottom: 0px;
	padding: 0;
	gap: 0;
	max-width: none;
}

.elementor .e-con.axn-wrap > .elementor-widget,
.elementor .e-con.axn-wrap > .e-con-inner > .elementor-widget {
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.elementor .axn-wrap .elementor-widget-container {
	padding: 0;
	margin: 0;
}

/* Elementor's frontend.css removes underlines from every link inside .elementor; the design
   underlines inline text links and breadcrumbs. */
.elementor :is(.axn-text-link, .axn-prose a, .axn-breadcrumb a) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.elementor :is(.axn-text-link, .axn-prose a):hover {
	text-decoration-color: var(--accent-rule);
	text-decoration-thickness: 2px;
}

.elementor .axn-breadcrumb a:hover {
	text-decoration-color: var(--c-logo-blue);
	text-decoration-thickness: 2px;
}

/* Elementor zeroes figure margins inside widgets (0,3,1); restore the ones the design uses. */
.elementor .axn-wrap .elementor-widget .axn-prose > figure {
	margin: 40px 0;
}

.elementor .axn-wrap .elementor-widget .axn-card > figure {
	margin: calc(-1 * var(--space-32)) calc(-1 * var(--space-32)) 0;
}

@media (max-width: 767px) {
	.elementor .axn-wrap .elementor-widget .axn-card > figure {
		margin: calc(-1 * var(--space-24)) calc(-1 * var(--space-24)) 0;
	}
}

/* Editor preview: keep the fixed header from covering the first section. */
.elementor-editor-active .axn-header {
	position: absolute;
}
