/* Shared accreditation strip: one fluid gutter and proportional logo spacing. */
body .site-below-footer-wrap[data-section="section-below-footer-builder"] {
	padding-block: clamp(20px, 2.083334vw, 40px);
	padding-inline: var(--cie-section-padding-inline);
}

body .site-below-footer-wrap[data-section="section-below-footer-builder"] #block-12 > p {
	margin: 0 !important;
}

body .site-below-footer-wrap[data-section="section-below-footer-builder"] .site-footer-below-section-1 {
	margin-bottom: 0 !important;
	min-width: 0;
}

body .site-below-footer-wrap #block-8 {
	margin-bottom: clamp(12px, 1.25vw, 24px);
}

body #colophon .site-below-footer-wrap .accrehead {
	font-size: clamp(22px, 2.083334vw, 30px) !important;
	line-height: clamp(30px, 2.777778vw, 40px) !important;
}

body .site-below-footer-wrap :is(.footer_logo_slider, .cie-footer-accreditations-static) {
	gap: clamp(12px, 3.125vw, 60px);
	min-width: 0;
}

body .site-below-footer-wrap :is(.footer_logo_slider, .cie-footer-accreditations-static) .elementor-widget-image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

body .site-below-footer-wrap :is(.footer_logo_slider, .cie-footer-accreditations-static) .elementor-widget-image img {
	width: auto !important;
	height: clamp(32px, 3.125vw, 60px) !important;
	max-width: min(100%, clamp(68px, 6.25vw, 120px)) !important;
	object-fit: contain;
}

/* Keep every accreditation visible when the desktop row no longer fits. */
@media (max-width: 1000px) {
	body .site-below-footer-wrap .cie-footer-accreditations-static {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		width: 100%;
	}

	body .site-below-footer-wrap .cie-footer-accreditations-static > .elementor-widget-image {
		width: 100%;
		margin: 0;
	}
}

/* Reduce mobile logos proportionally, meeting the existing size at tablet. */
@media (max-width: 767px) {
	body .site-below-footer-wrap :is(.footer_logo_slider, .cie-footer-accreditations-static) .elementor-widget-image img {
		height: clamp(24px, calc(18.285714px + 1.785714vw), 32px) !important;
		max-width: min(100%, clamp(51px, calc(38.857143px + 3.794643vw), 68px)) !important;
	}
}
