/**
 * Footer (GP "Footer" element, luonnokset/wp/footer.py) and its socket row.
 * KTN: one row of company details and social icons, a socket with the
 * copyright and the privacy link. The background is transparent and the
 * footer sits above the contact card's pallot spill (z-index 3 over the
 * section's 2, see css/blocks/pallot.css), so the circles show through
 * under the text.
 *
 * Expected structure:
 *   .site-footer (GP wrapper) > .footer-container
 *     .color-section.site-footer.gb-container
 *       .footer-row     p.footer-company + .social-icons
 *       .socket-wrapper .socket-copyright-wrapper (copyright, .back-link) + .socket-links
 */

.site-footer {
    position: relative;
    z-index: 3;
    background-color: transparent;
}

.site-footer.grid-container {
    max-width: 100%;
}

/* Top and bottom only: the side gutter comes from .gb-container.alignfull */
.gb-container.site-footer.color-section {
    padding-top: 40px;
    padding-bottom: 48px;
    background-color: transparent;
}

.footer-company {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
}

.footer-company a,
.socket-wrapper a {
    color: inherit;
    text-decoration: none;
}

.footer-company a:hover,
.socket-wrapper a:hover {
    text-decoration: underline;
}

.socket-wrapper p {
    margin: 0;
    font-size: 14px;
}

.socket-wrapper .back-link {
    font-size: 10px;
}

.socket-wrapper .back-link:hover {
    color: var(--link-hover-clr);
}

/* Social icons: inverted section colors so they stand out on the light footer */
.site-footer .social-icons {
    --social-icons-bg: var(--font-clr);
    --social-icons-clr: var(--bg-clr);
    --social-icons-hover-bg: var(--link-clr);
    --social-icons-hover-clr: var(--bg-clr);
}
