.with-social-contacts {
    --fine-print-color: rgba(255, 255, 255, .4);
    --footer-link-color: rgba(255, 255, 255, .8);
    --footer-link-highlight: #f15403;
    padding: 40px 15px;
    background: #111;
    color: rgba(255, 255, 255, .2);
    font-family: Menlo, "Courier New", monospace;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: .5px;
    text-align: center;
    text-transform: uppercase;
}

.with-social-contacts nav {
    font-family: inherit;
    line-height: 1.5;
}

.with-social-contacts hr {
    width: 100%;
    height: 40px;
    margin: 22px 0 14px;
    padding: 0;
    border: 0;
    background: url("https://d32mxho067pe0f.cloudfront.net/images/writing/logos/logo-hr-light-mode@3x.png") center / 218px 40px no-repeat;
    filter: invert(1);
}

.with-social-contacts nav a,
.with-social-contacts nav a:visited {
    color: var(--footer-link-color);
    font-family: inherit;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    text-decoration: none;
}

.with-social-contacts .social-contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0 10px;
}

.with-social-contacts .social-contacts a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 44px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    padding-block: 0;
    border-bottom: 2px solid transparent;
    text-decoration: none;
}

.with-social-contacts .social-contacts a,
.with-social-contacts .social-contacts a:visited,
.with-social-contacts .social-contacts .copyright {
    color: var(--fine-print-color);
}

.with-social-contacts nav a:hover,
.with-social-contacts nav a:focus-visible,
.with-social-contacts .social-contacts a:hover,
.with-social-contacts .social-contacts a:focus-visible {
    color: var(--footer-link-highlight);
    border-bottom-color: var(--footer-link-highlight);
}

.with-social-contacts .social-contacts .copyright {
    font-family: Menlo, "Courier New", monospace;
    font-size: 12px;
}

@media (prefers-color-scheme: light) {
    .with-social-contacts:not(.dark-only) {
        --fine-print-color: rgba(34, 34, 34, .55);
        --footer-link-color: #292722;
        --footer-link-highlight: #aa350b;
        background: #fcf9ee;
        color: #666159;
    }

    .with-social-contacts:not(.dark-only) hr {
        filter: none;
        opacity: .55;
    }
}
