#mls-attribution:not(:empty) {
    background-color: var(--hoa-mls-attribution-bg);
    width: 100%;
}

.mls-attribution {
    background-color: var(--hoa-mls-attribution-bg);
    width: 100%;
    box-sizing: border-box;
    max-width: none;
    margin: 0;
    padding: 40px 64px 24px;
}

#mls-attribution .mls-attribution {
    background-color: transparent;
}

.mls-attribution__item,
.mls-attribution > .mls-attribution__link {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.mls-attribution__item + .mls-attribution__item {
    margin-top: 28px;
}

.mls-attribution__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 24px;
    margin-bottom: 12px;
}

.mls-attribution__logo {
    display: block;
    height: 36px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    margin-bottom: 0;
}

.mls-attribution__item > .mls-attribution__logo {
    margin-bottom: 12px;
}

.mls-attribution__text,
.mls-attribution__text p {
    font-size: 12px;
    line-height: 1.5;
    max-width: 920px;
    margin: 0 0 12px;
    color: var(--hoa-dark-grey);
}

.mls-attribution__text {
    white-space: pre-line;
}

.mls-attribution__link {
    margin: 0;
}

.mls-attribution__more-link {
    color: #2563eb;
    text-decoration: underline;
}

.mls-attribution__more-link:hover {
    color: #1d4ed8;
}

.hoa-footer {
    background-color: var(--hoa-light-grey);
    padding: 48px 64px 64px;
}

.footer-company-name {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--hoa-dark-blue);
    margin-bottom: 12px;
}

.footer-company-name a {
    color: inherit;
    text-decoration: none;
}

.hoa-footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 100px;
}

.hoa-footer-left {
    flex: 1;
    max-width: 900px;
}

.hoa-footer-right {
    display: flex;
    flex-direction: column;
}

.hoa-footer-links {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.footer-link {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--hoa-dark-blue);
}

.footer-email {
    text-decoration: none;
    margin-bottom: 12px;
    display: block;
}

.hoa-footer-social {
    display: flex;
    gap: 12px;
    margin-bottom: 34px;
}

.hoa-footer-social img {
    width: 20px;
    height: 20px;
}

.brokerage-licenses-footer-note {
    font-size: 11px;
    line-height: 20px;
    margin: 12px 0;
}

@media (max-width: 1024px) {
    .mls-attribution,
    #mls-attribution .mls-attribution,
    .hoa-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hoa-footer {
        padding-top: 40px;
        padding-bottom: 48px;
    }
}

@media (max-width: 768px) {
    .hoa-footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .hoa-footer-right {
        align-items: flex-start;
        text-align: left;
    }

    .hoa-footer-links {
        flex-direction: column;
        gap: 16px;
    }
}