/**
 * Layout primitives. Reproduces the Elementor grid the sites were built on:
 * boxed 1140px content, flex rows, percentage columns that only apply from
 * 768px up (below that every column stacks full-width), 10px column padding,
 * 20px default gap between blocks in a column.
 *
 * Breakpoints (Elementor's): mobile <= 767px, tablet 768-1024px, desktop >= 1025px.
 */

.l-section {
	position: relative;
}

/* One row = Elementor's container + row collapsed into a single element.
   clear:both keeps rows below any floats WPForms markup leaves open. */
.l-row {
	display: flex;
	flex-wrap: wrap;
	clear: both;
	position: relative;
	max-width: 1140px;
	margin-right: auto;
	margin-left: auto;
}

.l-col {
	position: relative;
	min-height: 1px;
	width: 100%;
	padding: 10px;
}

/* Blocks inside a column keep Elementor's default 20px spacing. */
.l-col > *:not(:last-child) {
	margin-bottom: 20px;
}

/* Wide column gap (ex elementor-column-gap-wide) */
.l-row--wide > .l-col {
	padding: 20px;
}

/* No column gap (ex elementor-column-gap-no) */
.l-row--nogap > .l-col {
	padding: 0;
}

@media (min-width: 768px) {
	.l-col--20 { width: 20%; }
	.l-col--25 { width: 25%; }
	.l-col--33 { width: 33.333%; }
	.l-col--50 { width: 50%; }
	.l-col--66 { width: 66.666%; }
	.l-col--75 { width: 75%; }
}

/* Responsive visibility helpers (ex elementor-hidden-*) */
@media (max-width: 767px) {
	.u-hide-mobile { display: none !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
	.u-hide-tablet { display: none !important; }
}

@media (min-width: 1025px) {
	.u-hide-desktop { display: none !important; }
}
