/**
 * Keep Theme Builder footer social SVGs tied to the icon-size setting.
 *
 * Elementor Core normally supplies these dimensions from the Social Icons
 * widget stylesheet. WebKit can briefly or persistently fall back to the
 * generic 50px .elementor-icon font size when that stylesheet is delayed.
 */
.elementor-location-footer
	.elementor-social-icons-wrapper
	.elementor-icon.elementor-social-icon {
	font-size: var(--icon-size, 30px);
	height: calc(var(--icon-size, 30px) + 2 * var(--icon-padding, 0em));
	line-height: var(--icon-size, 30px);
	width: calc(var(--icon-size, 30px) + 2 * var(--icon-padding, 0em));
}

.elementor-location-footer
	.elementor-social-icons-wrapper
	.elementor-icon.elementor-social-icon
	svg {
	flex: none;
	height: 1em;
	width: 1em;
}

/*
 * Minimal Core fallbacks for the icon list and social grid. WP Rocket can
 * regenerate used CSS before the late Theme Builder footer is discoverable.
 */
.elementor-location-footer
	.elementor-widget-icon-list
	.elementor-icon-list-items.elementor-inline-items {
	display: flex;
	flex-wrap: wrap;
}

.elementor-location-footer
	.elementor-widget-social-icons.elementor-grid-0
	.elementor-grid {
	display: inline-block;
	font-size: 0;
	line-height: 1;
	width: 100%;
	word-spacing: var(--grid-column-gap, 0);
}

.elementor-location-footer
	.elementor-widget-social-icons.elementor-grid-0
	.elementor-grid-item {
	display: inline-block;
	margin-block-end: var(--grid-row-gap, 0);
	word-break: break-word;
}

/* Gravity Forms uses this field as a spam trap and always hides it in its CSS. */
.elementor-location-footer .gform_validation_container {
	display: none !important;
	inset-inline-start: -9000px !important;
	position: absolute !important;
}
