.mrh-public-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 25px clamp(24px, 5vw, 72px) !important;
    border-top: 1px solid rgba(255, 255, 255, .10);
    background: #050f19 !important;
    color: rgba(255, 255, 255, .66) !important;
}
     
.mrh-public-footer-primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: 100%;
}

.mrh-public-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mrh-public-footer-brand img {
    flex: 0 0 auto;
    width: 242px;
    max-width: 100%;
    height: auto;
    opacity: .93;
    filter: brightness(0) invert(1);
}

.mrh-public-footer-brand span {
    white-space: nowrap;
}

.mrh-public-footer-grant {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.myplace-elevenlabs-grant-logo {
    display: block;
    width: 250px;
    max-width: 100%;
    height: auto;
    margin: 0 !important;
    opacity: 1 !important;
    filter: none !important;
}

.myplace-elevenlabs-grant-logo--dark {
    display: none;
}

.myplace-elevenlabs-grant-logo--light {
    display: block;
}

.mrh4-site .mrh-site-footer > .mrh-public-footer {
    align-items: stretch;
    flex-direction: column;
}

.mrh-public-footer a {
    color: rgba(255, 255, 255, .76) !important;
    transition: color .16s ease;
}

.mrh-public-footer a:hover {
    color: #50c7f1 !important;
}

.mrh-public-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 20px;
    width: 100%;
}

.mrh-public-footer a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

@media (max-width: 991px) {
    .mrh-public-footer-primary {
        align-items: flex-start;
    }

    .mrh-public-footer-brand {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .mrh-public-footer-primary,
    .mrh-public-footer-brand {
        align-items: center;
        flex-direction: column;
    }

    .mrh-public-footer-brand span {
        white-space: normal;
        text-align: center;
    }

    .mrh-public-footer-links {
        justify-content: center;
        text-align: center;
    }
}
