.header-with-banner .header-link-rows:has(.header-social) #header-information {
    background: transparent;
    box-shadow: none;
}

.social-link-icon {
    flex: 0 0 auto;
    inline-size: 1.5em;
    block-size: 1.5em;
    background: currentColor;
    mask: var(--social-icon) center / contain no-repeat;
    forced-color-adjust: none;
}

:is(.header-social, .footer-social) ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .1rem .5rem;
    margin: 0;
    padding: 0 .75rem;
    list-style: none;
}

:is(.header-social, .footer-social) a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45em;
    padding: .15rem .55rem;
    min-inline-size: 2.75rem;
    min-block-size: 2rem;
    box-sizing: border-box;
    border-radius: .45rem;
    font-size: calc(.9rem * var(--text-scale, 1));
    overflow-wrap: anywhere;
    color: inherit;
    text-decoration: none;
}

.header-link-rows:has(.header-social) .public-navigation,
.public-footer:has(.footer-social) .public-navigation {
    padding-block-end: .15rem;
}

.underline-links :is(.header-social, .footer-social) a {
    text-decoration: underline;
}

:is(.header-social, .footer-social) a:hover {
    background: color-mix(in srgb, currentColor 12%, transparent);
}

.header-social {
    padding-block-end: .35rem;
}

@media (max-width: 47.999rem) {
    .header-link-rows {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
    }

    .header-with-menu .header-link-rows {
        grid-row: 1;
        align-self: stretch;
        display: grid;
        align-items: center;
        box-sizing: border-box;
        padding-inline: 4.25rem 3.5rem;
        pointer-events: none;
    }

    .header-with-menu .header-social ul {
        justify-content: flex-start;
        gap: .1rem .15rem;
        padding-inline: 0;
    }

    .header-with-menu .header-social a {
        pointer-events: auto;
    }

    .header-with-menu.header-with-logo:not(.header-with-banner):has(.header-social) .site-brand-logo {
        grid-row: 2;
    }

    :is(.header-social, .footer-social) a {
        min-block-size: 2.75rem;
    }

    :is(.header-social, .footer-social) .social-link-name {
        display: none;
    }
}
