.mulberry-sitewide-footer {
    background-color: #5b3897;
    color: #fff;
    width: 100vw;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: block;
}

.mulberry-sitewide-footer * {
    box-sizing: border-box;
    color: #fff;
}

.mulberry-sitewide-footer p {
    margin: 0 0 10px;
}

.footer-content {
    padding: 40px 60px 30px;
    max-width: none;
    margin: 0 auto;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 30px;
}

.footer-column {
    text-align: left;
}

.footer-column--brand,
.footer-column--brand * {
    text-align: left;
}

.footer-column--brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 20px;
    display: block;
    width: 100%;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    display: block;
    margin: 0;
    filter: brightness(0) invert(1);
}

.footer-address {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 16px;
    width: 100%;
    text-align: left;
}

.footer-address p {
    margin: 0;
}

.footer-contact {
    line-height: 1.6;
    margin-top: 15px;
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    font-size: 16px;
    justify-content: flex-start !important;
    flex-wrap: nowrap;
    width: 100%;
    text-align: left;
}

.footer-contact-item a {
    text-align: left;
    display: inline-block;
    margin-left: 0;
}

.footer-contact-item svg {
    flex-shrink: 0;
}

.footer-social {
    margin-top: 20px;
}

.footer-social-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
}

.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-social-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-social-link:hover {
    transform: translateX(3px);
}

.footer-social-link svg {
    width: 16px;
    height: 16px;
}

.footer-nav {
    margin: 0;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-link-item {
    margin-bottom: 8px;
}

.mulberry-sitewide-footer .footer-heading,
.mulberry-sitewide-footer .footer-social-title,
.mulberry-sitewide-footer .footer-contact-item a,
.mulberry-sitewide-footer .footer-links a,
.mulberry-sitewide-footer .footer-links a:visited,
.mulberry-sitewide-footer .footer-links a:hover,
.mulberry-sitewide-footer .footer-links a:focus,
.mulberry-sitewide-footer .footer-quick-link,
.mulberry-sitewide-footer .footer-quick-link:visited,
.mulberry-sitewide-footer .footer-quick-link:hover,
.mulberry-sitewide-footer .footer-quick-link:focus {
    color: #fff !important;
}

.footer-quick-link {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.footer-quick-link:hover {
    color: #fff !important;
    transform: translateX(5px);
}

.footer-contact-item a:hover,
.footer-contact-item a:focus {
    color: #fff !important;
}

.footer-heading {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    flex: 2;
    min-width: 300px;
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.9;
}

.footer-credit {
    text-align: right;
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-credit p {
    margin: 0 0 10px 0;
    font-size: 14px !important;
    opacity: 0.9;
}

.footer-credit img {
    max-height: 85px;
    width: 125px;
    display: inline-block;
}

/* User requested spacing tweaks on first column */
.mulberry-sitewide-footer .footer-column:first-child * {
    text-align: left;
    margin-left: 4px;
    margin-right: 2px;
}

.mulberry-sitewide-footer .footer-column:first-child .footer-contact,
.mulberry-sitewide-footer .footer-column:first-child .footer-contact * {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

@media (max-width: 768px) {
    .footer-content {
        padding: 40px 20px 30px;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .footer-column {
        width: 100%;
        display: block;
        margin-left: 0;
        padding-left: 0;
        text-align: left;
        margin-bottom: 20px;
    }

    .footer-contact {
        margin-left: 0;
        padding-left: 0;
        text-align: left;
        display: block;
    }

    .footer-contact-item {
        justify-content: flex-start;
        width: 100%;
        margin-left: 0;
        padding-left: 0;
    }

    .footer-contact-item > * {
        width: auto;
        flex: 0 0 auto;
    }

    .footer-social-links,
    .footer-social-row,
    .footer-social-link {
        display: flex;
        justify-content: flex-start;
    }

    .footer-logo,
    .footer-logo-img {
        display: block;
        margin-left: 0;
        margin-right: auto;
        text-align: left;
        float: none;
        max-width: 100%;
        width: auto;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 15px;
    }

    .footer-credit {
        text-align: left;
        margin-top: 10px;
        align-items: flex-start;
    }

    .footer-social-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-social-link {
        width: 100%;
    }

    .mulberry-sitewide-footer .footer-column:first-child * {
        margin-left: 0;
    }
}
