/**
 * Global footer — compact spacing.
 *
 * The footer is the Elementor cms_block #132 (`.elementor-132`), whose own CSS
 * is printed inside <body> (link#elementor-post-132-css), i.e. AFTER this file.
 * So every rule here is scoped with `.wd-footer` to out-specify Elementor
 * (0,4,0 vs 0,3,0) instead of leaning on !important.
 *
 * Baseline before this file: 648px tall @1440, 588px @390.
 * After: ~459px @1440, ~434px @390.
 */

/* Section padding + vertical gap between the stacked widgets (was 80/80 + 20). */
.wd-footer .elementor-132 .elementor-element.elementor-element-174ea62 {
	--padding-top: 30px;
	--padding-bottom: 34px;
	--row-gap: 12px;
	--column-gap: 12px;
}

/*
 * Newsletter widget sat on a -50px top margin to eat into the old 80px padding.
 * With the padding now at 30px that pull would drag it out of the section, so
 * drop it and let the padding do the spacing.
 */
.wd-footer .elementor-132 .elementor-element.elementor-element-1e39cbe > .elementor-widget-container {
	margin: 0;
}

/* Newsletter block itself (hq-ground-truth plugin markup). */
.wd-footer .hqgt-wrap {
	padding: 0 20px 16px;
	margin: 0;
}

.wd-footer .hqgt-heading {
	margin-bottom: 6px;
	font-size: 20px;
}

.wd-footer .hqgt-subheading {
	margin-bottom: 14px;
}

/* Status line reserved a full empty line under the form — only space it when used. */
.wd-footer .hqgt-msg {
	margin-top: 0;
	min-height: 0;
}

.wd-footer .hqgt-msg:not(:empty) {
	margin-top: 10px;
}

/*
 * Logo was 20% of a full-width stretched section — oversized on desktop and
 * shrinking to nothing around 768px. Fixed cap instead of a percentage.
 */
.wd-footer .elementor-132 .elementor-element.elementor-element-f7f41ba img {
	width: auto;
	max-width: 210px;
}

.wd-footer .elementor-132 .elementor-element.elementor-element-b6fdf09 {
	--icon-size: 20px;
}

@media (max-width: 767px) {
	.wd-footer .elementor-132 .elementor-element.elementor-element-174ea62 {
		--padding-top: 24px;
		--padding-bottom: 26px;
		--row-gap: 10px;
		--column-gap: 10px;
	}

	.wd-footer .elementor-132 .elementor-element.elementor-element-f7f41ba img {
		width: auto;
		max-width: 150px;
	}

	.wd-footer .hqgt-wrap {
		padding: 0 16px 14px;
	}

	.wd-footer .hqgt-heading {
		font-size: 18px;
	}
}
