.mb-directory-context .mb-brand-home,
.mb-directory-context .mb-city-page,
.mb-directory-context .mb-hybrid-page,
.mb-directory-context .mb-city-category {
    max-width: 1120px;
    margin: 24px auto 30px;
    padding: 0 16px;
    color: #111827;
    line-height: 1.65;
}

.mb-directory-context .mb-brand-home > * + *,
.mb-directory-context .mb-city-page > * + *,
.mb-directory-context .mb-hybrid-page > * + *,
.mb-directory-context .mb-city-category > * + * {
    margin-top: 14px;
}

.mb-directory-context .mb-brand-home h1,
.mb-directory-context .mb-city-page h1,
.mb-directory-context .mb-hybrid-page h1,
.mb-directory-context .mb-city-category h1 {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.mb-directory-context .mb-city-page h3,
.mb-directory-context .mb-hybrid-page h3,
.mb-directory-context .mb-brand-home h3,
.mb-directory-context .mb-city-category h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.mb-directory-context .mb-listings,
.mb-directory-context .mb-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.mb-directory-context .mb-card,
.mb-directory-context .mb-card-top,
.mb-directory-context .mb-related-card,
.mb-directory-context .mb-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 3px 10px rgba(17, 24, 39, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.mb-directory-context .mb-card:hover,
.mb-directory-context .mb-card-top:hover,
.mb-directory-context .mb-related-card:hover {
    transform: translateY(-2px);
    border-color: #d1d5db;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.1);
}

.mb-directory-context .mb-card a,
.mb-directory-context .mb-card-top a,
.mb-directory-context .mb-related-card a {
    display: block;
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.mb-directory-context .mb-card h3,
.mb-directory-context .mb-card-top h3,
.mb-directory-context .mb-related-card h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.4;
}

.mb-directory-context .mb-card a:hover,
.mb-directory-context .mb-card-top a:hover,
.mb-directory-context .mb-related-card a:hover {
    color: #0f5ea8;
}

.mb-directory-context .mb-card a:focus-visible,
.mb-directory-context .mb-card-top a:focus-visible,
.mb-directory-context .mb-related-card a:focus-visible {
    outline: 2px solid #0f5ea8;
    outline-offset: 2px;
    border-radius: 4px;
}

.mb-directory-context .mb-top-listings,
.mb-directory-context .mb-related,
.mb-directory-context .mb-authority-keywords,
.mb-directory-context .mb-authority-categories,
.mb-directory-context .mb-authority-cities,
.mb-directory-context .mb-faq,
.mb-directory-context .mb-city-seo {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.mb-directory-context .mb-city-seo h2,
.mb-directory-context .mb-city-seo h3,
.mb-directory-context .mb-faq h2,
.mb-directory-context .mb-faq h3,
.mb-directory-context .mb-top-listings h3,
.mb-directory-context .mb-related h3,
.mb-directory-context .mb-authority-keywords h3,
.mb-directory-context .mb-authority-categories h3,
.mb-directory-context .mb-authority-cities h3 {
    margin: 0 0 10px;
    color: #111827;
}

.mb-directory-context .mb-city-seo p,
.mb-directory-context .mb-city-seo li,
.mb-directory-context .mb-faq p,
.mb-directory-context .mb-faq li {
    color: #374151;
    line-height: 1.65;
}

.mb-directory-context .mb-city-seo ul,
.mb-directory-context .mb-city-seo ol,
.mb-directory-context .mb-faq ul,
.mb-directory-context .mb-faq ol {
    margin: 0 0 0 18px;
    padding: 0;
}

.mb-directory-context .mb-city-seo li + li,
.mb-directory-context .mb-faq li + li {
    margin-top: 6px;
}

.mb-directory-context .mb-brand-home > p,
.mb-directory-context .mb-city-page > p,
.mb-directory-context .mb-hybrid-page > p,
.mb-directory-context .mb-city-category > p {
    margin-top: 0;
    margin-bottom: 12px;
    color: #4b5563;
}

.mb-directory-context .mb-authority-keywords ul,
.mb-directory-context .mb-authority-categories ul,
.mb-directory-context .mb-authority-cities ul {
    margin: 0;
    padding-left: 18px;
}

.mb-directory-context .mb-authority-keywords li,
.mb-directory-context .mb-authority-categories li,
.mb-directory-context .mb-authority-cities li {
    margin-bottom: 8px;
    line-height: 1.45;
}

.mb-directory-context .mb-authority-keywords li a,
.mb-directory-context .mb-authority-categories li a,
.mb-directory-context .mb-authority-cities li a {
    overflow-wrap: anywhere;
}

.mb-directory-context .mb-badge-top {
    display: inline-block;
    background: #ef4444;
    color: #fff;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 4px;
    margin-right: 6px;
    font-weight: 700;
}

.mb-directory-context .mb-badge-featured {
    display: inline-block;
    background: #f59e0b;
    color: #fff;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 4px;
    margin-right: 6px;
    font-weight: 700;
}

.mb-directory-context .mb-wa-btn {
    background: #00a859;
    color: #fff;
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.mb-directory-context .mb-wa-btn:hover {
    background: #02884a;
}

.mb-directory-context .mb-category-banner {
    margin: 30px 0;
}

.mb-directory-context .mb-inline-guide {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
}

.mb-directory-context .mb-inline-guide p {
    margin: 0;
    color: #374151;
}

.mb-directory-context .mb-empty-card {
    margin-top: 12px;
}

.mb-directory-context .mb-empty-help {
    margin: 6px 0 0;
    color: #6b7280;
}

@media (max-width: 768px) {
    .mb-directory-context .mb-brand-home,
    .mb-directory-context .mb-city-page,
    .mb-directory-context .mb-hybrid-page,
    .mb-directory-context .mb-city-category {
        margin: 14px auto 22px;
        padding: 0 14px;
    }

    .mb-directory-context .mb-brand-home h1,
    .mb-directory-context .mb-city-page h1,
    .mb-directory-context .mb-hybrid-page h1,
    .mb-directory-context .mb-city-category h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .mb-directory-context .mb-listings,
    .mb-directory-context .mb-related-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mb-directory-context .mb-top-listings,
    .mb-directory-context .mb-related,
    .mb-directory-context .mb-authority-keywords,
    .mb-directory-context .mb-authority-categories,
    .mb-directory-context .mb-authority-cities,
    .mb-directory-context .mb-faq,
    .mb-directory-context .mb-city-seo {
        padding: 14px;
        margin-top: 16px;
    }
}

.mb-promo-page,
.mb-partner-registration,
.mb-share-kit,
.mb-social-push,
.mb-social-profiles {
    max-width: 1120px;
    margin: 28px auto;
    padding: 0 16px;
    color: #111827;
}

.mb-promo-hero,
.mb-form-intro {
    padding: 32px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.07);
}

.mb-kicker,
.mb-social-title {
    margin: 0 0 8px;
    color: #0f766e;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.mb-promo-hero h1,
.mb-form-intro h2 {
    margin: 0 0 10px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
}

.mb-promo-hero p,
.mb-form-intro p {
    margin: 0;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.65;
}

.mb-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.mb-promo-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
}

.mb-promo-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
}

.mb-promo-card h2 {
    margin: 0;
    font-size: 21px;
    line-height: 1.3;
}

.mb-promo-card h2 a {
    color: #111827;
    text-decoration: none;
}

.mb-promo-card p {
    color: #4b5563;
    line-height: 1.6;
}

.mb-btn,
.mb-promo-link,
.mb-share-actions a,
.mb-copy-btn,
.mb-social-push a,
.mb-social-profiles a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #0f766e;
    background: #0f766e;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.mb-social-push,
.mb-social-profiles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

.mb-share-kit {
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
}

.mb-share-kit-head {
    display: grid;
    grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-bottom: 16px;
}

.mb-share-kit-head h2 {
    margin: 0;
    font-size: 24px;
}

.mb-share-kit-head p {
    margin: 0;
    color: #4b5563;
    line-height: 1.55;
}

.mb-share-copy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 14px;
}

.mb-share-copy-grid label {
    display: block;
    color: #374151;
    font-weight: 800;
}

.mb-share-copy-field {
    width: 100%;
    margin-top: 7px;
    padding: 11px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
    color: #111827;
    font: inherit;
}

textarea.mb-share-copy-field {
    min-height: 118px;
    resize: vertical;
}

.mb-share-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

.mb-social-title {
    flex-basis: 100%;
}

.mb-social-push a,
.mb-social-profiles a {
    min-height: 38px;
    background: #ffffff;
    color: #0f766e;
}

.mb-share-actions a,
.mb-copy-btn {
    min-height: 38px;
    background: #ffffff;
    color: #0f766e;
}

.mb-copy-btn {
    cursor: pointer;
}

.mb-partner-form {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.mb-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mb-partner-form p {
    margin: 0 0 14px;
}

.mb-partner-form label {
    display: block;
    color: #374151;
    font-weight: 700;
}

.mb-partner-form input,
.mb-partner-form textarea {
    width: 100%;
    margin-top: 6px;
    padding: 11px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font: inherit;
}

.mb-hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.mb-form-notice {
    margin: 16px 0;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.mb-form-success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.mb-form-error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.mb-promo-notice {
    position: fixed;
    left: 16px;
    right: 16px;
    z-index: 9998;
    max-width: 980px;
    margin: 0 auto;
    border: 1px solid rgba(15, 118, 110, 0.25);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(8, 15, 28, 0.98), rgba(8, 15, 28, 0.92));
    color: #fff;
    box-shadow:
        0 18px 50px rgba(15, 23, 42, 0.24),
        0 0 0 1px rgba(34, 211, 238, 0.08) inset,
        0 0 30px rgba(34, 211, 238, 0.08);
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: box-shadow 0.32s ease, opacity 0.32s ease;
}

.mb-promo-notice > summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mb-promo-notice > summary::-webkit-details-marker,
.mb-promo-notice > summary::marker {
    display: none;
    content: "";
}

.mb-promo-toggle {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 66px 0 16px;
    border: 0;
    cursor: pointer;
    color: #e9feff;
    background: transparent;
    position: relative;
    z-index: 4;
    pointer-events: auto;
    touch-action: manipulation;
}

.mb-promo-toggle:hover {
    transform: translateY(-1px);
}

.mb-promo-toggle-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(103, 248, 230, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    box-shadow:
        0 0 0 1px rgba(103, 248, 230, 0.08),
        0 0 18px rgba(34, 211, 238, 0.14);
}

.mb-promo-toggle-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #67f8e6;
}

.mb-promo-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    min-height: 56px;
}

.mb-promo-summary {
    flex: 1 1 auto;
    min-width: 0;
}

.mb-promo-eyebrow {
    margin: 0 0 4px;
    color: #67f8e6;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.mb-promo-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.mb-promo-top {
    top: 84px;
}

.mb-promo-bottom {
    bottom: 18px;
}

.mb-promo-notice p {
    margin: 0;
    line-height: 1.45;
}

.mb-promo-notice .mb-promo-link {
    min-height: 36px;
    padding: 8px 12px;
    border-color: #99f6e4;
    background: linear-gradient(135deg, #ccfbf1, #7dd3fc);
    color: #0f172a;
    white-space: nowrap;
}

.mb-admin-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #075985;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 640px) {
    .mb-promo-hero,
    .mb-form-intro,
    .mb-partner-form {
        padding: 18px;
    }

    .mb-form-grid {
        grid-template-columns: 1fr;
    }

    .mb-share-kit-head,
    .mb-share-copy-grid {
        grid-template-columns: 1fr;
    }

    .mb-promo-notice {
        align-items: stretch;
        flex-direction: column;
        text-align: left;
    }

    .mb-promo-shell {
        align-items: flex-start;
        flex-direction: column;
    }

    .mb-promo-actions {
        width: 100%;
        justify-content: space-between;
    }

    .mb-promo-notice.is-collapsed {
        transform: translateY(calc(100% - 58px));
    }
}

/* Corporate promo panel */
.mb-promo-notice {
    border-color: rgba(148, 163, 184, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 251, 0.96));
    color: #1f2937;
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(37, 99, 235, 0.06) inset;
}

.mb-promo-toggle {
    color: #1f2937;
}

.mb-promo-toggle-icon {
    border-color: rgba(37, 99, 235, 0.18);
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.08),
        0 0 18px rgba(37, 99, 235, 0.08);
}

.mb-promo-toggle-label,
.mb-promo-eyebrow {
    color: #2563eb;
}

.mb-promo-notice .mb-promo-link {
    border-color: rgba(37, 99, 235, 0.22);
    background: linear-gradient(135deg, #2563eb, #0f766e);
    color: #ffffff;
}

.mb-promo-notice p {
    color: #4b5563;
}

/* Final promo text visibility guard */
.mb-promo-notice,
.mb-promo-notice p,
.mb-promo-notice .mb-promo-summary,
.mb-promo-notice .mb-promo-summary p,
.mb-promo-notice .mb-promo-shell,
.mb-promo-notice .mb-promo-toggle,
.mb-promo-notice .mb-promo-toggle-label,
.mb-promo-notice .mb-promo-eyebrow {
    color: #1f2937 !important;
}

.mb-promo-notice .mb-promo-link,
.mb-promo-notice .mb-promo-link:hover {
    color: #ffffff !important;
}

.mb-promo-notice .mb-promo-toggle-icon {
    color: #1f2937 !important;
}

.mb-promo-notice .mb-promo-toggle-icon svg {
    display: block;
    transition: transform 0.2s ease;
}

/* Final promo panel polish */
.mb-promo-notice .mb-promo-toggle-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.mb-promo-notice .mb-promo-toggle-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.15;
    color: #1f2937 !important;
}

.mb-promo-notice .mb-promo-toggle-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
    color: #2563eb !important;
}

.mb-promo-notice:not([open]) {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.mb-promo-notice:not([open]) .mb-promo-shell {
    display: none !important;
}

.mb-promo-notice:not([open]) .mb-promo-toggle {
    background: transparent !important;
    color: #1f2937 !important;
    min-height: 52px;
    padding: 0 14px !important;
}

.mb-promo-notice:not([open]) .mb-promo-toggle-icon {
    width: 38px;
    height: 38px;
    background: #ffffff !important;
    color: #1d4ed8 !important;
    border-color: rgba(29, 78, 216, 0.16) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
}

.mb-promo-notice:not([open]) .mb-promo-toggle-icon svg {
    transform: rotate(-180deg);
}

.mb-promo-notice:not([open]) .mb-promo-toggle-text {
    display: none !important;
}

.mb-promo-notice .mb-promo-link {
    min-height: 44px;
    padding: 10px 14px;
}
