footer {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    background-color: var(--color-partials);
    color: white;
}

footer p,
footer li {
    font-size: 0.95rem;
    line-height: 1.5rem;
}

footer p a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
}

footer > div {
    /* stylelint-disable */
    max-width: var(--wp--style--global--content-size);
    /* stylelint-enable */

    width: 100%;
    display: flex;
    justify-content: space-between;
}

footer > p {
    margin-bottom: 0 !important;
}

.footer-column img {
    height: 4.5em;
}

.footer-column p {
    margin: 0;
    margin-top: 0.65rem;
}

/* stylelint-disable */
.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* stylelint-enable */

.social-media-list li {
    padding-left: 0 !important;
    list-style-type: none;
}

.footer-column ul li {
    padding-left: 0.65rem;
    position: relative;
}

.social-media-list li::before {
    content: none !important;
}

.footer-column ul li::before {
    content: '❯';
    position: absolute;
    left: 0;
}

.footer-column h2 {
    margin-bottom: 0.65rem;
    font-size: 1.15rem;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    position: relative;
}

.footer-column ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--wp--preset--color--orange);
    transition: width 0.3s ease-in-out;
}

.footer-column ul li a:hover::after,
.footer-column ul li.current-menu-item a::after {
    width: 100%;
}

/* stylelint-disable */
.footer-column ul li ul {
    margin-top: 0.65rem;
}

/* stylelint-enable */

.logo-container {
    display: flex;
    align-items: center;
}

.vertical-line {
    width: 1px;
    background-color: #fff;
    height: 80px;
    margin: 0 10px;
}

@media (width <=65em) {
    footer > div {
        flex-wrap: wrap;
        gap: 1.35rem;
    }

    .footer-column {
        width: calc(50% - 1.35rem / 2);
        display: flex;
        flex-direction: column;
    }

    .footer-column:nth-child(2),
    .footer-column:nth-child(4) {
        align-items: flex-end;
    }
}

@media (width <=35em) {
    .footer-column {
        width: 100%;
        align-items: flex-start !important;
    }
}
