.margin-home-footer {
    border-top: 1px solid #000;
    padding: 50px 0 20px;
    color: #000;
    background: #fff;
    font-family: Lato, Arial, Helvetica, sans-serif;
}

.margin-home-footer *,
.margin-home-footer *::before,
.margin-home-footer *::after {
    box-sizing: border-box;
}

.margin-home-footer .home-footer-container {
    width: min(100% - 40px, 1440px);
    margin: 0 auto;
}

.margin-home-footer .home-footer-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr;
    gap: 30px;
}

.margin-home-footer .footer-brand {
    font-family: Cinzel, Georgia, serif;
    font-size: 20px;
    letter-spacing: 1px;
    line-height: 1.2;
}

.margin-home-footer .footer-brand a {
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

.margin-home-footer .footer-brand img {
    display: block;
    width: min(220px, 100%);
    height: auto;
}

.margin-home-footer .footer-intro {
    margin: 18px 0;
    font-size: 16px;
    line-height: 1.6;
}

.margin-home-footer .footer-legal,
.margin-home-footer .footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.margin-home-footer .footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
}

.margin-home-footer .footer-legal a,
.margin-home-footer .footer-list a {
    color: #000;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.margin-home-footer .footer-legal a:hover,
.margin-home-footer .footer-list a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.margin-home-footer .footer-column {
    padding-top: 50px;
}

.margin-home-footer .footer-column h2 {
    margin: 0 0 15px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.margin-home-footer .footer-list li + li {
    margin-top: 9px;
}

.margin-home-footer .footer-contact {
    padding-left: 35px;
}

.margin-home-footer .footer-contact a {
    overflow-wrap: anywhere;
}

.margin-home-footer .home-footer-copyright {
    margin: 30px 0 0;
    padding-top: 20px;
    border-top: 1px solid #000;
    text-align: center;
    font-size: 15px;
}

.ekit-template-content-footer {
    display: none !important;
}

@media (max-width: 991px) {
    .margin-home-footer .home-footer-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 30px;
    }

    .margin-home-footer .footer-column {
        padding-top: 12px;
    }

    .margin-home-footer .footer-contact {
        padding-left: 0;
    }
}

@media (max-width: 575px) {
    .margin-home-footer {
        padding-top: 32px;
    }

    .margin-home-footer .home-footer-container {
        width: min(100% - 32px, 1440px);
    }

    .margin-home-footer .home-footer-row {
        grid-template-columns: 1fr;
    }

    .margin-home-footer .footer-column {
        padding-top: 4px;
    }

    .margin-home-footer .home-footer-copyright {
        text-align: left;
    }
}
