/*
 * E&V Footer Sitepackage
 * TYPO3 13.4 / Bootstrap Package 16
 * Scope: #page-footer only. Header, navigation and content are untouched.
 */
#page-footer.bp-page-footer {
    background: #fff !important;
    color: #0b0b0b !important;
}

#page-footer .footer-section,
#page-footer .footer-section-content,
#page-footer .footer-section-meta {
    background: transparent !important;
}

#page-footer .euv-footer {
    --euv-text: #090909;
    --euv-muted: #585d63;
    background: #fff;
    color: var(--euv-text);
    border-top: 1px solid #f0efec;
}

#page-footer .euv-footer a {
    color: var(--euv-text);
    text-decoration: none;
}

#page-footer .euv-footer a:hover,
#page-footer .euv-footer a:focus-visible {
    color: var(--euv-text);
    text-decoration: underline;
    text-underline-offset: .16em;
}

#page-footer .euv-footer-container {
    padding-top: 2.45rem;
    padding-bottom: 1.35rem;
}

/* Top row: brand / address / phone-fax / social icons */
#page-footer .euv-footer-top {
    display: grid;
    grid-template-columns: minmax(245px, 1.03fr) minmax(310px, 1.38fr) minmax(275px, 1fr) minmax(130px, .42fr);
    column-gap: 3.45rem;
    align-items: start;
}

#page-footer .euv-footer-brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 2.15vw, 2.08rem);
    line-height: 1.18;
    letter-spacing: -.018em;
}

#page-footer .euv-footer-address,
#page-footer .euv-footer-contact {
    padding-top: .15rem;
    font-size: 1.08rem;
    line-height: 1.82;
}

#page-footer .euv-footer-social {
    padding-top: .12rem;
    justify-self: end;
}

#page-footer .euv-footer-social-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.05rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

#page-footer .euv-footer-social-list li {
    margin: 0;
    padding: 0;
}

#page-footer .euv-footer-social-list a {
    display: inline-flex;
    width: 1.78rem;
    height: 1.78rem;
    align-items: center;
    justify-content: center;
    border-radius: .24rem;
    background: #111;
    color: #fff !important;
    text-decoration: none !important;
}

/* Use the brand icon font that ships with Bootstrap Package 16.
 * Only the black button shell is styled by this sitepackage. */
#page-footer .euv-footer-social-list .sociallinks-link-icon {
    display: inline-flex;
    width: auto;
    height: auto;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    opacity: 1;
}

/* Three existing Bootstrap Package footer content columns: colPos 10 / 11 / 12. */
#page-footer .euv-footer-navigation {
    display: grid;
    grid-template-columns: minmax(230px, .95fr) minmax(320px, 1.15fr) minmax(230px, .9fr);
    gap: 4rem;
    width: min(100%, 61rem);
    margin-top: 5.4rem;
}

#page-footer .euv-footer-menu-column .frame,
#page-footer .euv-footer-menu-column .frame-container,
#page-footer .euv-footer-menu-column .frame-inner,
#page-footer .euv-footer-menu-column .frame-group-container,
#page-footer .euv-footer-menu-column .frame-group-inner,
#page-footer .euv-footer-menu-column .frame-bodytext {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

#page-footer .euv-footer-menu-column .frame-header,
#page-footer .euv-footer-menu-column header {
    margin: 0 0 1.55rem !important;
    padding: 0 !important;
}

#page-footer .euv-footer-menu-column h1,
#page-footer .euv-footer-menu-column h2,
#page-footer .euv-footer-menu-column h3,
#page-footer .euv-footer-menu-column h4,
#page-footer .euv-footer-menu-column h5,
#page-footer .euv-footer-menu-column h6 {
    margin: 0 !important;
    color: var(--euv-muted) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: .82rem !important;
    font-weight: 400 !important;
    letter-spacing: .19em !important;
    line-height: 1.45 !important;
    text-transform: uppercase !important;
}

#page-footer .euv-footer-menu-column p,
#page-footer .euv-footer-menu-column li,
#page-footer .euv-footer-menu-column a {
    font-size: 1.08rem;
    line-height: 1.55;
}

#page-footer .euv-footer-menu-column p {
    margin: 0 0 .74rem;
}

#page-footer .euv-footer-menu-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#page-footer .euv-footer-menu-column li + li {
    margin-top: .72rem;
}

/* Original detailed line-art building from the supplied reference footer. */
#page-footer .euv-footer-illustration {
    display: flex;
    justify-content: center;
    margin: 4.55rem 0 2.15rem;
}

#page-footer .euv-footer-illustration img {
    display: block;
    width: min(18.75rem, 70vw);
    height: auto;
}

/* Bottom row: copyright left, legal links right. */
#page-footer .euv-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 2.5rem;
}

#page-footer .euv-footer-copyright {
    color: #5b6066;
    font-size: 1rem;
    line-height: 1.45;
    white-space: nowrap;
}

#page-footer .euv-footer-legal-list,
#page-footer .euv-footer-legal .meta-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem 1.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

#page-footer .euv-footer-legal-list li,
#page-footer .euv-footer-legal .meta-menu li {
    margin: 0;
    padding: 0;
}

#page-footer .euv-footer-legal-list a,
#page-footer .euv-footer-legal .meta-menu a {
    font-size: 1rem;
    line-height: 1.45;
}

@media (max-width: 1199.98px) {
    #page-footer .euv-footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 1.6rem;
    }

    #page-footer .euv-footer-social {
        justify-self: start;
    }

    #page-footer .euv-footer-social-list {
        justify-content: flex-start;
    }
}

@media (max-width: 991.98px) {
    #page-footer .euv-footer-navigation {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 2.5rem 3rem;
    }

    #page-footer .euv-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    #page-footer .euv-footer-copyright {
        white-space: normal;
    }

    #page-footer .euv-footer-legal-list,
    #page-footer .euv-footer-legal .meta-menu {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    #page-footer .euv-footer-container {
        padding-top: 2rem;
        padding-bottom: 1.5rem;
    }

    #page-footer .euv-footer-top,
    #page-footer .euv-footer-navigation {
        grid-template-columns: 1fr;
    }

    #page-footer .euv-footer-navigation {
        gap: 2.25rem;
        margin-top: 3.4rem;
    }

    #page-footer .euv-footer-illustration {
        margin: 3.35rem 0 2rem;
    }
}
