.editorial-footer a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.editorial-footer .editorial-footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.editorial-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #111;
    border-radius: 50%;
    text-decoration: none;
}

.editorial-footer-social svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: currentColor;
    stroke: none;
}

.editorial-footer-social a:hover {
    background: #eef0f2;
}

.editorial-footer-archive {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    color: inherit;
    text-decoration: none;
}

.editorial-footer-archive svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.editorial-footer-archive:hover span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.editorial-footer > div,
.comarca-footer-main > div {
    min-width: 0;
    max-width: 100%;
}

.comarca-footer-brand,
.region-footer-brand {
    max-width: 100%;
}

.region-footer.editorial-footer {
    flex-wrap: wrap;
    padding-bottom: 0;
}

.editorial-footer-credit {
    display: flex;
    flex-basis: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 18px 0 28px;
    border-top: 1px solid var(--region-line);
    color: var(--region-muted);
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

.editorial-footer-credit a {
    color: inherit;
    font-weight: 400;
    text-decoration: none;
}

.editorial-footer-credit a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 600px) {
    .editorial-footer .editorial-footer-social {
        gap: 8px;
    }

    .comarca-footer-contact > a,
    .editorial-footer nav[aria-label="Enlaces del pie"] a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        font-size: 12px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .comarca-footer-contact > a {
        display: flex;
    }

    .editorial-footer nav[aria-label="Enlaces del pie"] {
        flex-wrap: wrap;
        gap: 0 16px;
    }

    .editorial-footer-credit a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}
