/* Native Flatsome elements remain editable; only this footer opts into these styles. */
#footer:has(.ef-footer) {
    margin-top: 0;
}

.ef-footer {
    color: #d3c7c8;
    font: 400 14px/1.8 "Manrope", sans-serif;
    border-top: 4px solid #8f3347;
    overflow-wrap: anywhere;
}

.ef-footer .row {
    width: calc(100% - 64px);
    max-width: 1280px;
    margin-inline: auto;
}

.ef-footer .col {
    padding: 0 20px 32px;
}

.ef-footer h2,
.ef-footer h3,
.ef-footer p {
    padding: 0;
    text-transform: none;
    letter-spacing: 0;
}

.ef-footer p {
    margin: 0 0 16px;
}

.ef-footer h3 {
    color: #fff8ee;
    font: 700 14px/1.5 "Manrope", sans-serif;
    margin: 9px 0 18px;
}

.ef-footer a {
    color: #d3c7c8;
    text-decoration: none;
    text-underline-offset: 5px;
}

.ef-footer a:hover {
    color: #fff8ee;
    text-decoration: underline;
}

.ef-footer a:focus-visible {
    outline: 2px solid #e5c6a6;
    outline-offset: 5px;
    border-radius: 3px;
}

.ef-footer-brand h2 {
    font: 400 46px/1.1 "DM Serif Display", Georgia, serif;
    margin: 0 0 18px;
}

.ef-footer-brand h2 a,
.ef-footer .ef-footer-tagline {
    color: #fff8ee;
}

.ef-footer-brand h2 span {
    color: #e5b1b8;
}

.ef-footer .ef-footer-tagline {
    font-weight: 700;
    margin-bottom: 12px;
}

.ef-footer .ef-footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-height: 44px;
    padding: 8px 22px;
    margin: 8px 0 12px;
    border: 1px solid #b49d9f;
    color: #fff8ee;
    font: 600 13px/1.5 "Manrope", sans-serif;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: none;
}

.ef-footer .ef-footer-contact:hover {
    background: #fff8ee;
    color: #302729;
    text-decoration: none;
}

.ef-footer-contact-note p {
    color: #b9a9ac;
    font-size: 11px;
    line-height: 1.6;
}

.ef-footer .ux-menu-link__link {
    min-height: 40px;
    padding: 7px 0;
    border: 0;
    color: #d3c7c8;
    font-size: 13px;
    line-height: 1.65;
}

.ef-footer .ux-menu-link__text {
    white-space: normal;
}

.ef-footer .ux-menu-link__link:hover {
    color: #fff8ee;
}

.ef-footer .ef-footer-safety {
    width: calc(100% - 104px);
    max-width: 1240px;
    margin-block: 10px 30px;
    padding: 24px 8px;
    border: 1px solid #655054;
    border-radius: 12px;
    background: #3d2e33;
}

.ef-footer-safety .col {
    padding-bottom: 0;
}

.ef-footer-safety h3 {
    margin: 0 0 7px;
}

.ef-footer-safety p {
    margin: 0;
    font-size: 12px;
}

.ef-footer-safety-contact {
    text-align: right;
}

.ef-footer-safety-contact p > span {
    color: #b9a9ac;
    font-size: 11px;
}

.ef-footer-safety-contact a {
    display: inline-block;
    padding-block: 7px;
    color: #fff8ee;
    font-size: 15px;
    font-weight: 600;
}

.ef-footer .ef-footer-bottom .col {
    padding-bottom: 0;
}

.ef-footer-bottom p {
    color: #b9a9ac;
    font-size: 11px;
    line-height: 1.8;
}

.ef-footer-disclaimer {
    max-width: 610px;
}

.ef-footer-disclaimer strong {
    display: inline-block;
    margin-right: 6px;
    color: #f2dfca;
}

.ef-footer .ef-footer-copyright {
    margin-bottom: 0;
}

.ef-footer-legal p {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0;
}

.ef-footer-legal a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
}

.ef-footer .ef-footer-original-disclaimer {
    margin-top: 28px;
}

.ef-footer-original-disclaimer .col {
    padding-bottom: 0;
}

.ef-footer-original-disclaimer p {
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid #655054;
    color: #b9a9ac;
    font-size: 12px;
    line-height: 1.8;
}

@media (max-width: 849px) {
    .ef-footer-safety-contact a {
        font-size: 13px;
    }
}

@media (max-width: 549px) {
    .ef-footer .row {
        width: calc(100% - 24px);
    }

    .ef-footer .col {
        padding-inline: 12px;
    }

    .ef-footer-brand h2 {
        font-size: 40px;
    }

    .ef-footer .ux-menu-link__link {
        min-height: 44px;
    }

    .ef-footer .ef-footer-safety {
        width: calc(100% - 48px);
        margin-top: 0;
        padding: 20px 8px;
    }

    .ef-footer-safety-contact {
        margin-top: 15px;
        text-align: left;
    }

    .ef-footer .ef-footer-bottom .col + .col {
        padding-top: 12px;
    }

    .ef-footer-legal p {
        justify-content: flex-start;
        gap: 8px 20px;
    }

    .ef-footer-legal a {
        min-height: 44px;
    }
}
