/* Footer */
#footer-component {
    background-color: #000000;
}

#prefooter, #prefooter .footer-main-menu .menu {
    background-color: transparent;
    padding: 0;
}

#prefooter .footer-main-menu .container {
    padding-left: 25px;
    padding: 0 0 0 1rem;
}

.footer {
    background: #000000;
    color: var(--white);
    padding: 2.25rem 2rem 2.25rem;
    font-size: 0.9rem;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    padding-top: 0;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
    text-align: left;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 72px;
    width: auto;
    /* filter: brightness(0) invert(1); */
}

/* If the logo is white by default, force it to black using brightness(0) */
/* .footer-logo img { filter: brightness(0); } */

.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.footer-links a {
    color: #b3b3b3;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    opacity: 0.9;
    transition: opacity 0.2s;
    font-weight: 500;
    font-size: 0.85rem;
}

.footer-links a+a::before {
    content: "|";
    color: #b3b3b3;
    margin: 0 0.75rem 0 0.5rem;
}

.footer-links a:nth-child(2) {
    font-weight: 900;
}

.footer .footer-links a[href="#cookies"] {
    font-weight: 900;
}

.footer-links a:hover {
    opacity: 1;
    color: #ffffff;
}

.footer-social {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #7b7b7b;
    padding: 2px 12px;
    border-radius: 999px;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.footer-social a {
    display: block;
    width: 40px;
    height: 40px;
    opacity: 0.95;
    transition: opacity 0.2s;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-social img {
    width: 100%;
    height: 100%;
    filter: none;
}

.footer-copy p {
    color: #b3b3b3;
    font-size: 0.85rem;
    margin-top: 0;
}

/* Mobile styles */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .footer-logo {
        margin-left: 0;
        width: 100%;
        text-align: center;
        align-self: center;
    }

    .footer-logo img {
        height: 128px;
    }

    .footer-meta {
        align-items: flex-start;
        text-align: left;
        margin-left: 0;
        width: 100%;
    }

    .footer-copy {
        text-align: left;
        width: 100%;
    }

    .footer-links {
        justify-content: flex-start;
        text-align: left;
        width: 100%;
    }

    .footer-social {
        justify-content: space-between;
        width: 100%;
        align-self: flex-start;
        background: #7b7b7b;
    }

    .footer-social a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer .footer-social {
        background-color: #7b7b7b !important;
        margin: 0;
    }
}