@charset "utf-8";
/* Footer
--------------------------------------------- */

/* Footer Bottom */
.site-footer {
    background-color: var(--wp--preset--color--tertiary);
    color: var(--wp--preset--color--secondary);
    padding: 80px 0 20px 0;
}

.site-footer a {
    color: var(--wp--preset--color--secondary);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-content-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

.footer-content-top .tiles {
    display: grid;
    grid-template-columns: repeat(3, 250px);
    gap: 20px;
}

.footer-content-top .tile {
    border: 1px solid var(--wp--preset--color--secondary);
    border-radius: 4px;
    padding: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    height: 350px;
    position: relative;
    overflow: hidden;
    font-size: var(--wp--preset--font-size--medium);

}
.footer-content-top .tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #4a4a49;
    clip-path: inset(50% 50% 50% 50%);
    transition: clip-path 0.6s ease;
    z-index: 1;
}

.footer-content-top .tile:hover::before {
    clip-path: inset(0% 0% 0% 0%);
}

.footer-content-top .tile span {
    padding: 40px;
    z-index: 2;
    transition: transform 0.4s ease, text-shadow 0.4s ease;
}

.footer-content-top .tile:hover span {
    transform: scale(1.1);
    text-shadow:
            0 0 0 currentColor,
            0.4px 0 0 currentColor,
            -0.4px 0 0 currentColor;
}

.footer-content-top .tile a {
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 2;
}

.footer-content-top .footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content-top .footer-nav.mobile-only {
    display: none;
}

.footer-content-top .footer-nav li a {
    font-size: var(--wp--preset--font-size--medium);
}

.footer-content-top .menu {
    display: flex;
    flex-direction: column;
}

.footer-content-top .footer-logo-wrapper {
    position: relative;
}

.footer-content-top .custom-logo-link {
    width: fit-content;
    position: absolute;
    right: 0;
    top: 0;
}

/* Footer Bottom */
.footer-content-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--wp--preset--color--secondary);
    padding: 20px 10px 10px 10px;
    margin-top: 80px;
    font-size: var(--wp--preset--font-size--small);
}

.footer-content-bottom .menu {
    display: flex;
    gap: 0;
}

.footer-content-bottom .menu-item {
    position: relative;
    padding: 0 10px;
}

.footer-content-bottom .menu-item:first-child {
    padding-left: 0;
}

.footer-content-bottom .menu-item:last-child {
    padding-right: 0;
}

.footer-content-bottom .menu-item:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 1em;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: #fff;
}

.footer-content-bottom .site-info p {
    margin: 0;
}

.footer-content-bottom .separator {
    padding: 0 10px;
}

@media (max-width: 1500px) {
    .footer-content-top {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }

    .footer-content-top .tiles {
        grid-column: 1 / -1;
        justify-content: space-between;
    }

    .footer-content-top .footer-nav {
        justify-content: flex-start;
    }

    .footer-content-top .footer-nav a {
        text-align: left;
        width: 100%;
        display: inline-block;
    }

    .footer-content-top .footer-logo-wrapper {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .footer-content-top .custom-logo-link {
        position: relative;
    }
}

@media (max-width: 900px) {
    .footer-content-top .tiles {
        grid-template-columns: 1fr;
    }

    .footer-content-top .tile {
        align-items: center;
        height: auto;
    }

    .footer-content-top .footer-nav {
        justify-content: flex-start;
    }

    .footer-content-top .footer-nav a {
        text-align: left;
        width: 100%;
        display: inline-block;
    }

    .footer-content-top .footer-logo-wrapper {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
    }
}

@media (max-width: 764px) {
    .footer-content-top .footer-nav.mobile-only {
        display: flex;
    }

    .footer-nav.no-mobile {
        display: none;
    }

    .footer-content-top .footer-nav {
        justify-content: center;
    }

    .footer-content-top .footer-nav a {
        text-align: center;
    }

    .footer-content-top .footer-logo-wrapper {
        justify-self: center;
        grid-column: 1 / -1;
    }

    .footer-content-bottom {
        justify-content: center;
    }
}