.cmm-footer {
    background-color: #1b4294;
    background-image: linear-gradient(to bottom, #2a509a 0, #1b4294 100px);
    background-image: linear-gradient(to bottom in oklab, #2a509a 0, #1b4294 100px);
    color: #fff;
    padding: 48px 0 24px;
}

@media (min-width: 1440px) {
    .cmm-footer > .container {
        max-width: 1320px;
    }
}

.cmm-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .75fr) minmax(0, 1fr);
    gap: 32px 48px;
}

.cmm-footer-heading {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 20px;
}

.cmm-footer-heading::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    margin-top: 12px;
    background-color: #9bc7ff;
}

.cmm-footer-contact-list,
.cmm-footer-locations,
.cmm-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cmm-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.cmm-footer-contact-item .ti {
    flex: 0 0 22px;
    color: #bcd9ff;
    font-size: 22px;
    line-height: 1.1;
    margin-top: 2px;
}

.cmm-footer-contact-item div {
    min-width: 0;
}

.cmm-footer-contact-item strong,
.cmm-footer-contact-item span {
    display: block;
}

.cmm-footer-contact-item strong {
    font-weight: 600;
}

.cmm-footer-contact-item span {
    color: #e2ebfb;
    margin-top: 2px;
}

.cmm-footer-locations {
    margin-top: 24px;
}

.cmm-footer a,
.cmm-footer-settings {
    color: #fff;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.cmm-footer-links li {
    margin: 0 0 3px;
}

.cmm-footer-links a,
.cmm-footer-settings {
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    min-height: 32px;
    padding: 4px 0;
}

.cmm-footer-settings {
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.cmm-footer-settings .ti {
    font-size: 18px;
    margin-right: 4px;
    vertical-align: -0.12em;
}

.cmm-footer a:hover,
.cmm-footer-settings:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cmm-footer a:focus,
.cmm-footer-settings:focus {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.cmm-footer a:focus-visible,
.cmm-footer-settings:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.cmm-footer a:focus:not(:focus-visible) {
    outline: none;
}

.cmm-footer-links .cmm-footer-appointment {
    max-width: 100%;
    margin-top: 8px;
    padding: 8px 12px;
    border: 1px solid #bcd9ff;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.cmm-footer-links .cmm-footer-appointment:hover {
    background-color: #2a509a;
    text-decoration: none;
}

.cmm-footer-appointment .ti {
    display: inline-block;
    margin-left: 3px;
}

.cmm-footer-link-note {
    color: #d5e4fa;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
}

.cmm-footer-company {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 24px;
    border-top: 1px solid #6b83b7;
    color: #e2ebfb;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 32px;
    padding-top: 20px;
    text-align: center;
}

.wysoki-kontrast .cmm-footer,
.wysoki-kontrast .cmm-footer-heading,
.wysoki-kontrast .cmm-footer-contact-item,
.wysoki-kontrast .cmm-footer-contact-item .ti,
.wysoki-kontrast .cmm-footer-company,
.wysoki-kontrast .cmm-footer-settings,
.wysoki-kontrast .cmm-footer-links .cmm-footer-appointment {
    color: #fffc00 !important;
}

.wysoki-kontrast .cmm-footer a:focus,
.wysoki-kontrast .cmm-footer-settings:focus {
    outline-color: #fffc00;
}

.wysoki-kontrast .cmm-footer-links .cmm-footer-appointment:hover {
    background-color: #000;
}

.wysoki-kontrast .cmm-footer-company {
    border-color: #fffc00;
}

.wysoki-kontrast .cmm-footer-heading::after {
    background-color: #fffc00;
}

.wysoki-kontrast .cmm-footer-links .cmm-footer-appointment {
    border-color: #fffc00;
}

@media (forced-colors: active) {
    .cmm-footer a:focus,
    .cmm-footer-settings:focus {
        outline-color: Highlight;
    }
}

@media (max-width: 991px) {
    .cmm-footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 32px;
    }
}

@media (max-width: 575px) {
    .cmm-footer {
        padding: 36px 0 24px;
    }

    .cmm-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .cmm-footer-heading {
        margin-bottom: 14px;
    }

    .cmm-footer-company {
        justify-content: flex-start;
        flex-direction: column;
        text-align: left;
    }
}
