@media (min-width:320px) and (max-width:1440px) {
	.banner:not(:has(.terms-logo))>*:last-child>* {
        padding-block: 4rem !important;
    }
}

@media (min-width:1024px) and (max-width: 1150px) {
    .grid-block {
        grid-template-columns: 1fr repeat(6, calc(1000px / 6)) minmax(90px, 1fr) !important;
    }

    .grid-block .right-section .info-box{
        max-width: 38rem !important;
    }
}

footer a:hover {
    color: inherit;
    text-decoration: underline;
}

footer a:visited {
    color: inherit;
}
@media (max-width: 640px) {
	.grid-block .right-section .info-box {
		padding-top: clamp(13.75rem, 11.25vw + 11.5rem, 16rem);
	}
}
footer .email_wrap {
	word-break: break-all;
}
.three-section_links a:visited {
	color: currentcolor;
}

.header-lg_active {
    background-color: white;
}
footer .custom-logo-link img {
    width: 120px;
}

/* section spacing changes */
@media (max-width:1023px) {
    .home-section-1,.home-section-2, .non-qm-section {
        padding-top: 5rem !important;
    }
    .comparison-section {
        padding-bottom: 5rem !important;
    }
    .cta-section_block {
        row-gap: 5rem !important;
    }
}
footer > div {
    padding-top: 68px !important;
}

