#template_footer.footer-with-corporate-groups {
    box-sizing: border-box;
}

#template_footer.footer-with-corporate-groups .footer-corporate-layout {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 2fr);
    margin: 0 auto;
    max-width: 1280px;
}

#template_footer.footer-with-corporate-groups #template_copyright {
    min-width: 0;
    padding: 0 16px 0 0;
    text-align: left;
}

#template_footer.footer-with-corporate-groups .footer-corporate-groups {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
}

#template_footer.footer-with-corporate-groups .footer-corporate-group {
    min-width: 0;
    text-align: center;
}

#template_footer.footer-with-corporate-groups .footer-corporate-group h2 {
    border-bottom: 1px solid #555;
    color: #555;
    font-size: 10px;
    font-weight: normal;
    margin: 0 0 8px;
    padding-bottom: 4px;
    text-transform: uppercase;
}

#template_footer.footer-with-corporate-groups .footer-corporate-logos {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    min-height: 50px;
}

#template_footer.footer-with-corporate-groups .footer-corporate-logo {
    align-items: center;
    display: flex;
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
}

#template_footer.footer-with-corporate-groups .footer-corporate-logo img {
    display: block;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

#template_footer.footer-with-corporate-groups .footer-corporate-group--operational .footer-corporate-logo img {
    max-height: 30px;
}

#template_footer.footer-with-corporate-groups .footer-corporate-group--certifications .footer-corporate-logo img,
#template_footer.footer-with-corporate-groups .footer-corporate-group--awards .footer-corporate-logo img {
    max-height: 50px;
}

@media (max-width: 1000px) {
    #template_footer.footer-with-corporate-groups .footer-corporate-layout {
        gap: 16px;
        grid-template-columns: minmax(180px, 0.75fr) minmax(0, 2fr);
    }
}

@media (max-width: 900px) {
    #template_footer.footer-with-corporate-groups .footer-corporate-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    #template_footer.footer-with-corporate-groups #template_copyright {
        padding: 0;
        text-align: center;
    }

    #template_footer.footer-with-corporate-groups .footer-corporate-groups {
        grid-template-columns: minmax(0, 1fr);
        margin: 0 auto;
        max-width: 420px;
        width: 100%;
    }
}
