/*
 * Elementor layout baseline.
 *
 * The migrated widgets were written and tuned inside Elementor, so their appearance
 * depends on Elementor's stylesheet, which goes away with the plugin. These are the
 * only rules from it that the migrated markup relies on, copied from Elementor 4.3.6
 * frontend.css. Examples of the dependency:
 *   - .flag and .certification-card img get their real size from `.ad-el img`.
 *   - The hero's second .animated-background and .social-icons are positioned
 *     against .ad-widget.
 *
 * .ad-el = .elementor | .ad-con = .e-con | .ad-widget = .elementor-widget
 *
 * The two custom properties are Elementor's defaults. The live site can override
 * them in Site Settings (Default Kit), which the export does not include. If the
 * live values differ, these two lines are the only change needed.
 */
:root {
	--ad-container-padding: 10px;
	--ad-widgets-gap: 20px;
}

.ad-el *,
.ad-el *::before,
.ad-el *::after {
	box-sizing: border-box;
}

.ad-el a {
	box-shadow: none;
	text-decoration: none;
}

.ad-el hr {
	margin: 0;
	background-color: transparent;
}

.ad-el img {
	height: auto;
	max-width: 100%;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

.ad-con {
	position: relative;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: var(--ad-widgets-gap);
	width: 100%;
	min-width: 0;
	padding: var(--ad-container-padding);
}

/* Container background set on the Elementor container, not in the widget CSS. */
.ad-con--black {
	background-color: #000;
}

.ad-widget {
	position: relative;
	min-width: 0;
	max-width: 100%;
}

/* Background set on the Elementor container of the Coming Soon group and Contact. */
.ad-con--dark {
	background-color: #0d1117;
}

/* Privacy Policy and Terms set their container to 95% wide. Elementor centres it. */
.ad-con--w95 {
	width: 95%;
	margin-inline: auto;
}

/* "Boxed" container: the Contact page, with a 1600px content width. Like Elementor, the
   outer box keeps the side padding and the inner box takes the top and bottom padding. */
.ad-con--boxed {
	gap: normal;
	padding-block: 0;
}

.ad-con--boxed > .ad-con__inner {
	display: flex;
	flex-direction: column;
	gap: var(--ad-widgets-gap);
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	padding-block: var(--ad-container-padding);
}

.ad-contact__form {
	align-self: center;
	width: 100%;
}

/* Image widget */
.ad-image {
	text-align: center;
}

.ad-image img {
	display: inline-block;
	vertical-align: middle;
}

.ad-image--25,
.ad-image--28 {
	align-self: center;
}

.ad-image--25 img,
.ad-image--28 img {
	filter: brightness(100%) contrast(100%) saturate(100%) blur(0) hue-rotate(0deg);
}

.ad-image--25 {
	width: 25%;
}

.ad-image--28 {
	width: 28%;
}

/* Spacer widget. Elementor's default size is 50px. */
.ad-spacer {
	flex-shrink: 0;
	width: 100%;
	min-height: var(--ad-spacer, 50px);
}

.ad-screen-only {
	position: absolute;
	top: -10000em;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* Form spam trap. Moved off-screen rather than display:none, which bots skip. */
.ad-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* Elementor switches containers to wrapping at its mobile breakpoint. This changes
   measured section heights at some widths, so it has to be kept. Mobile also ignores
   a container's custom width. */
@media (max-width: 767px) {
	.ad-con {
		flex-wrap: wrap;
	}

	.ad-con--w95 {
		width: 100%;
	}

	.ad-hidden-mobile {
		display: none;
	}
}
