.ancp-site-footer {
    --footer-blue: #045992;
    --footer-ink: #252d36;
    --footer-muted: #535c66;
    --footer-line: #d8e3ee;
    background: linear-gradient(180deg, #fff, #f1f5f9);
    border-top: 1px solid var(--footer-line);
    color: var(--footer-muted);
    padding: 0;
}

.ancp-site-footer__content {
    max-width: 1500px;
    margin-inline: auto;
    padding: 32px clamp(16px, 3.5vw, 52px) 48px;
}

.ancp-site-footer__grid {
    display: grid;
    gap: 28px;
}

.ancp-site-footer__brand img {
    display: block;
    width: auto;
    height: 72px;
    margin-bottom: 12px;
}

.ancp-site-footer p {
    color: inherit;
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
}

.ancp-site-footer h2 {
    color: var(--footer-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.ancp-site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ancp-site-footer a {
    color: inherit;
}

.ancp-site-footer a:hover {
    color: var(--footer-blue);
    text-decoration: underline;
}

.ancp-site-footer a:focus-visible {
    outline: 2px solid var(--footer-blue);
    outline-offset: 3px;
}

.ancp-site-footer__news {
    display: grid;
    gap: 14px;
}

.ancp-site-footer__news time {
    font-size: 13px;
}

.ancp-site-footer__news li p {
    color: var(--footer-ink);
    font-weight: 600;
    margin: 3px 0;
}

.ancp-site-footer__news li a {
    color: var(--footer-blue);
    font-size: 14px;
}

.ancp-site-footer__links {
    display: grid;
    gap: 4px 12px;
}

.ancp-site-footer__links a {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-height: 34px;
    padding-block: 6px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.ancp-site-footer .fa {
    color: var(--footer-blue);
    flex: 0 0 auto;
}

.ancp-site-footer__address {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 24px 0 0;
    font-size: 14px;
    font-style: normal;
}

.ancp-site-footer__address strong {
    color: var(--footer-blue);
    font-weight: 700;
}

.ancp-site-footer__bottom,
.ancp-site-footer__actions,
.ancp-site-footer__social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.ancp-site-footer__bottom {
    justify-content: space-between;
    gap: 12px 24px;
    border-top: 1px solid var(--footer-line);
    margin-top: 20px;
    padding-block: 16px;
}

.ancp-site-footer__bottom p {
    font-size: 14px;
}

.ancp-site-footer__actions {
    gap: 10px 16px;
}

.ancp-site-footer__social {
    gap: 10px;
}

.ancp-site-footer__social a,
.ancp-site-footer a.ancp-site-footer__app {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid #c5d9e9;
    border-radius: 5px;
    background: #e6eef5;
    color: var(--footer-blue);
}

.ancp-site-footer__social a {
    width: 38px;
}

.ancp-site-footer__social img {
    width: 16px;
    height: 16px;
}

.ancp-site-footer a.ancp-site-footer__app {
    gap: 8px;
    padding: 6px 12px;
    font-size: 15px;
    font-weight: 700;
}

.ancp-site-footer__social a:hover,
.ancp-site-footer a.ancp-site-footer__app:hover {
    background: #d9e7f2;
}

@media (min-width: 520px) {
    .ancp-site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ancp-site-footer__navigation {
        grid-column: 1 / -1;
    }

    .ancp-site-footer__links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .ancp-site-footer__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr) minmax(0, 2.45fr);
        gap: clamp(20px, 2vw, 32px);
    }

    .ancp-site-footer__navigation {
        grid-column: auto;
    }
}
