@media (min-width: 375px) and (max-width: 959.98px) {
    .site-footer {
        width: 100%;
        padding: 52px 0 38px;
        overflow: hidden;
    }

    .site-footer .clinic-container {
        width: calc(100% - 48px);
        max-width: none;
    }

    .footer-grid {
        display: block;
    }

    .footer-column,
    .footer-legal {
        width: 100%;
        min-width: 0;
    }

    .footer-column + .footer-column {
        margin-top: 34px;
    }

    .site-footer h3 {
        margin-bottom: 24px;
        font-size: 18px;
        line-height: 1.22;
    }

    .footer-menu li + li {
        margin-top: 18px;
    }

    .footer-menu a {
        font-size: 15px;
        line-height: 1.45;
    }

    .footer-legal {
        min-height: 0;
        margin-top: 34px;
        font-size: 14px;
        line-height: 1.5;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .footer-legal a {
        word-break: break-word;
    }

    .footer-design {
        margin-top: 30px;
        font-size: 16px;
        line-height: 1.25;
    }
}

@media (max-width: 374.98px) {
    .site-footer {
        width: 100%;
        padding: 52px 0 38px;
        overflow: hidden;
    }

    .footer-grid {
        display: block;
    }

    .footer-column,
    .footer-legal {
        width: 100%;
        min-width: 0;
    }

    .footer-column + .footer-column {
        margin-top: 34px;
    }

    .site-footer h3 {
        margin-bottom: 24px;
        font-size: 18px;
        line-height: 1.22;
    }

    .footer-menu li + li {
        margin-top: 18px;
    }

    .footer-menu a {
        font-size: 15px;
        line-height: 1.45;
    }

    .footer-legal {
        min-height: 0;
        margin-top: 34px;
        font-size: 14px;
        line-height: 1.5;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .footer-legal a {
        word-break: break-word;
    }

    .footer-design {
        margin-top: 30px;
        font-size: 16px;
        line-height: 1.25;
    }
}
