.footer-widgets.widgets-custom .row {
	display: grid;
	grid-template-columns: var(--footer-columns-desktop);
	column-gap: var(--footer-column-gap-desktop, 30px);
	padding: 0 15px;
}

.footer-widgets.widgets-custom .row::before,
.footer-widgets.widgets-custom .row::after {
	display: none;
}

.footer-widgets.widgets-custom .footer-widgets-area {
	clear: none;
	float: none;
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 0;
	width: auto;
}

.footer-widgets.widgets-custom img,
.footer-widgets.widgets-custom input,
.footer-widgets.widgets-custom select,
.footer-widgets.widgets-custom textarea,
.footer-widgets.widgets-custom iframe {
	box-sizing: border-box;
	max-width: 100%;
}

@media (min-width: 768px) and (max-width: 991px) {
	.footer-widgets.widgets-custom .row {
		grid-template-columns: var(--footer-columns-tablet);
		column-gap: var(--footer-column-gap-tablet, 30px);
	}
}

@media (max-width: 767px) {
	.footer-widgets.widgets-custom .row {
		grid-template-columns: var(--footer-columns-mobile);
		column-gap: var(--footer-column-gap-mobile, 30px);
	}
}
