.custom-system-footer {
	margin-top: 2rem;
	border-top: 1px solid #d5e1e7;
	background: #fff;
	color: #526a79;
}

.custom-footer-inner {
	max-width: 1200px;
	margin: auto;
	padding: 1.4rem 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.4rem;
}

.custom-footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex: 0 1 auto;
    flex-wrap: wrap;
}

.custom-footer-logos img {
    width: auto;
    height: 60px;
    max-width: 260px;
    object-fit: contain;
    object-position: center;
}



.custom-footer-content {
	min-width: 0;
}

.custom-footer-text {
	font-size: .82rem;
	line-height: 1.55;
	font-weight: 600;
}

.custom-footer-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .45rem 1rem;
	margin-top: .45rem;
}

.custom-footer-links a,
.custom-footer-links span {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	color: #607887;
	font-size: .72rem;
	text-decoration: none;
}

.custom-footer-links a:hover {
	color: var(--custom-accent, #1189ac);
	text-decoration: underline;
}

.footer-logo-editor {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.footer-logo-field {
	border: 1px solid #d8e4ea;
	border-radius: .75rem;
	padding: 1rem;
}

.footer-logo-field img {
	display: block;
	width: 80px;
	height: 80px;
	object-fit: contain;
	margin: 0 auto .75rem;
}

.footer-preview {
	border: 1px solid #d9e4e9;
	border-radius: .75rem;
	background: #f7fafb;
	padding: 1.25rem;
}

.footer-preview-logos {
	display: flex;
	gap: .5rem;
	align-items: center;
	margin-bottom: .8rem;
}

.footer-preview-logos img {
	width: 52px;
	height: 52px;
	object-fit: contain;
}

.footer-preview-text {
	font-size: .82rem;
	line-height: 1.5;
	font-weight: 600;
}

.footer-preview-links {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem .8rem;
	margin-top: .6rem;
}

.footer-preview-links span {
	display: flex;
	align-items: center;
	gap: .3rem;
	font-size: .7rem;
}

@media (max-width: 700px) {
	.footer-logo-editor {
		grid-template-columns: 1fr;
	}

    .custom-footer-inner {
        width: 100%;
        max-width: 1500px;
        margin: 0 auto;
        padding: 22px 24px;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 28px;
    }

	.custom-footer-links {
		justify-content: center;
	}
}
