/* Keep each footer focused on its audience, with an explicit route to the other space. */
.audience-footer {
    --footer-muted: #c6beb7;
    --footer-line: #ffffff20;
    --footer-accent: #e4b6aa;
    background: #1c1917;
    color: #fff;
}

.audience-footer .pro-footer,
.audience-footer .pro-footer-authenticated {
    gap: 36px 64px;
    grid-template-areas: "brand main resources" "public public public";
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
    padding-block: 48px 32px;
}

.audience-footer .pro-footer-authenticated { grid-template-areas: "brand main resources"; }

.audience-footer .public-footer-inner {
    align-items: start;
    gap: 36px 48px;
    grid-template-areas: "brand explore pro";
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr) minmax(0, 1.15fr);
    padding-block: 48px 36px;
}

.audience-footer .pro-footer-brand,
.audience-footer .public-footer-brand {
    align-content: start;
    gap: 14px;
    min-width: 0;
    padding: 0;
}

.audience-footer .pro-footer-brand::before,
.audience-footer .public-footer-brand::before { display: none; }

.audience-footer .pro-footer-brand .brand-logo-lockup,
.audience-footer .public-footer-brand .brand-logo-lockup {
    background: #fff;
    border: 0;
    border-radius: 20px;
    box-shadow: none;
    flex-basis: auto;
    min-height: 86px;
    padding: 12px 18px;
    width: 196px;
}

.audience-footer .brand-logo-lockup::after { display: none; }
.audience-footer .brand-logo-lockup img { max-height: 64px; }

.audience-footer .pro-footer-brand > p,
.audience-footer .public-footer-brand > p {
    color: var(--footer-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    max-width: 380px;
}

.audience-footer p.footer-audience-label {
    color: var(--footer-accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .09em;
    line-height: 1.5;
    margin: 0;
    text-transform: uppercase;
}

.audience-footer .pro-footer-brand > .footer-audience-label,
.audience-footer .public-footer-brand > .footer-audience-label { margin-top: 4px; }

.audience-footer .pro-footer-actions,
.audience-footer .public-footer-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 4px;
}

.audience-footer .button {
    align-items: center;
    border-radius: 9px;
    box-shadow: none;
    display: inline-flex;
    flex-direction: row;
    font-size: 13px;
    font-weight: 500;
    gap: 14px;
    justify-content: center;
    line-height: 1.5;
    min-height: 46px;
    min-width: 0;
    padding: 12px 18px;
    text-align: center;
    white-space: normal;
    width: auto;
}

.audience-footer .button-accent {
    background: #e4b6aa;
    border: 1px solid #e4b6aa;
    color: #302521;
}

.audience-footer .button-accent:hover { background: #f0cabc; border-color: #f0cabc; }
.audience-footer .button-secondary { background: #ffffff0d; border-color: #ffffff4d; color: #fff; }
.audience-footer .button-secondary:hover { background: #ffffff17; border-color: #ffffff80; }

.audience-footer .footer-text-link {
    align-items: center;
    color: #f3e5df;
    display: inline-flex;
    font-size: 13px;
    font-weight: 500;
    gap: 10px;
    line-height: 1.5;
    min-height: 44px;
    text-decoration: underline;
    text-decoration-color: #ffffff55;
    text-underline-offset: 4px;
}

.audience-footer :is(a, button):focus-visible { outline: 2px solid #f0cabc; outline-offset: 4px; }
.audience-footer .footer-text-link:hover { color: #fff; text-decoration-color: #fff; }

.audience-footer .pro-footer-section h2,
.audience-footer .public-footer-section h2 {
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.5;
    margin: 0 0 14px;
    text-transform: none;
}

.audience-footer .pro-footer-link-list,
.audience-footer .public-footer-link-list { gap: 0; }

.audience-footer .pro-footer-link-list a,
.audience-footer .public-footer-link-list a,
.audience-footer .pro-footer-admin-form button {
    align-items: center;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--footer-line);
    border-radius: 0;
    box-shadow: none;
    color: var(--footer-muted);
    display: flex;
    font-size: 13px;
    font-weight: 400;
    gap: 8px;
    justify-content: start;
    line-height: 1.5;
    min-height: 44px;
    padding: 10px 0;
    text-align: left;
    transform: none;
    width: 100%;
}

.audience-footer .pro-footer-link-list a:hover,
.audience-footer .public-footer-link-list a:hover,
.audience-footer .pro-footer-admin-form button:hover { color: #fff; border-color: #ffffff60; }

.audience-footer .footer-audience-switch {
    background: #2b2421;
    border: 1px solid #e4b6aa3d;
    border-radius: 16px;
    display: grid;
    gap: 24px;
    overflow: visible;
    padding: 26px 28px;
}

.audience-footer .pro-footer-public {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
}

.audience-footer .public-footer-pro { grid-template-columns: minmax(0, 1fr); }
.audience-footer .footer-audience-switch-copy { display: grid; gap: 10px; min-width: 0; }

.audience-footer .footer-audience-switch h2 {
    color: #fff;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin: 0;
}

.audience-footer .footer-audience-switch-copy > p:not(.footer-audience-label) {
    color: var(--footer-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
    max-width: 620px;
}

.audience-footer .footer-audience-switch-actions { align-items: center; display: grid; gap: 4px; justify-items: center; min-width: 0; }
.audience-footer .footer-audience-switch-actions .button { width: 100%; }
.audience-footer .footer-audience-switch-actions .button > span { color: inherit; font-size: inherit; font-weight: inherit; letter-spacing: 0; }

.public-footer-discovery {
    border-top: 1px solid var(--footer-line);
    display: grid;
    gap: 32px 48px;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    padding-block: 32px;
}

.public-footer-discovery .public-footer-section { grid-area: auto; }
.audience-footer .public-footer-city-grid { gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.audience-footer .public-footer-city-grid a { border-radius: 8px; min-height: 58px; padding: 10px 12px; }
.audience-footer .public-footer-city-grid strong { font-size: 13px; font-weight: 500; }
.audience-footer .public-footer-city-grid span { color: var(--footer-muted); font-size: 11px; font-weight: 400; }
.audience-footer .public-footer-profile-list { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.audience-footer .public-footer-profile-list .public-footer-profile { border-radius: 10px; min-width: 0; }
.audience-footer .public-footer-profile-list .public-footer-profile strong { font-size: 13px; font-weight: 500; }
.public-footer-area-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; }
.public-footer-area-links a { align-content: center; color: var(--footer-muted); font-size: 12px; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }

.audience-footer .pro-footer-bottom,
.audience-footer .public-footer-bottom { align-items: center; color: #a99f96; font-weight: 400; gap: 8px 24px; padding-block: 18px; }
.footer-utility-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-legal-links { display: flex; flex: 1 1 100%; flex-wrap: wrap; gap: 4px 24px; }
.audience-footer .footer-legal-links :is(a, button) { align-content: center; background: transparent; border: 0; border-radius: 0; color: inherit; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 300; letter-spacing: normal; line-height: 1.5; min-height: 44px; padding: 0; text-decoration: underline; text-transform: none; text-underline-offset: 3px; }
.audience-footer .footer-legal-links :is(a, button):hover { color: var(--mpb-color-bordeaux, #9b2f45); }
.footer-utility-links a { align-content: center; color: var(--footer-muted); min-height: 44px; }
.footer-utility-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) {
    .audience-footer .pro-footer { column-gap: 32px; }
    .audience-footer .public-footer-inner { gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "brand explore" "pro pro"; }
    .audience-footer .public-footer-pro { align-items: center; grid-template-columns: minmax(0, 1fr) auto; }
    .public-footer-discovery { gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .audience-footer .public-footer-city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .audience-footer .public-footer-profile-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
    .audience-footer .pro-footer,
    .audience-footer .pro-footer-authenticated { gap: 28px; grid-template-areas: "brand brand" "main resources" "public public"; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 32px 24px; }
    .audience-footer .pro-footer-authenticated { grid-template-areas: "brand brand" "main resources"; }
    .audience-footer .public-footer-inner { padding-block: 32px 24px; }
    .audience-footer .pro-footer-brand > p,
    .audience-footer .public-footer-brand > p { max-width: 520px; }
    .audience-footer .pro-footer-public,
    .audience-footer .public-footer-pro { gap: 18px; grid-template-columns: minmax(0, 1fr); padding: 22px; }
    .audience-footer .footer-audience-switch-actions { justify-items: start; }
    .audience-footer .footer-audience-switch-actions .button { width: auto; }
    .audience-footer .footer-audience-switch h2 { font-size: 28px; }
}

@media (max-width: 540px) {
    .audience-footer .public-footer-inner { grid-template-areas: "brand" "explore" "pro"; grid-template-columns: minmax(0, 1fr); }
    .public-footer-discovery { gap: 28px; grid-template-columns: minmax(0, 1fr); padding-block: 28px; }
    .audience-footer .pro-footer { column-gap: 22px; }
    .audience-footer .pro-footer-section h2 { min-height: 42px; }
    .audience-footer .footer-audience-switch-actions .button { width: 100%; }
    .audience-footer .pro-footer-actions .button { width: auto; }
    .audience-footer .pro-footer-brand .brand-logo-lockup,
    .audience-footer .public-footer-brand .brand-logo-lockup { width: 176px; }
}
