@charset "UTF-8";

:root {
    --bbhub-max-width: 1280px;
    --bbhub-gutter: 28px;
    --c-ink: #0f172a;
    --c-ink-soft: #334155;
    --c-muted: #64748b;
    --c-subtle: #94a3b8;
    --c-border: #e2e8f0;
    --c-surface: #f8fafc;
    --c-white: #ffffff;
    --c-accent: #1d4ed8;
    --c-accent-soft: #dbeafe;
    --c-trust-bg: #0f172a;
    --r-card: 14px;
    --r-btn: 10px;
    --shadow-card: 0 4px 16px rgba(15,23,42,0.06);
    --shadow-card-hover: 0 12px 32px rgba(15,23,42,0.12);
    --shadow-hero: 0 20px 48px rgba(15,23,42,0.10);
}

.bbhub-listings {
    margin: 24px 0;
}

.bbhub-filters {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 18px !important;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    align-items: end;
}

.bbhub-filters > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.bbhub-filters label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin: 0;
    line-height: 1.2;
}

.bbhub-filters input,
.bbhub-filters select {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #cbd5f5;
    background: #f8fafc;
    min-height: 44px;
    font-size: 0.95rem;
}

.bbhub-filters select[multiple] {
    min-height: 120px;
    padding: 10px 12px;
}

.bbhub-filters button {
    align-self: end;
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    background: #0f172a;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    min-height: 44px;
    width: 100%;
    min-width: 0;
    justify-self: start;
}

.bbhub-listings-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

@media (max-width: 600px) {
    .bbhub-listings-grid {
        grid-template-columns: 1fr;
    }
}

/* ?? Listing card ????????????????????????????????????????????????????????? */
.bbhub-card {
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    display: flex;
    flex-direction: column;
}

.bbhub-card--featured {
    border-top: 3px solid #f59e0b;
}

.bbhub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.13);
}

.bbhub-card-link {
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bbhub-card-link:visited,
.bbhub-card-link:hover,
.bbhub-card-link:focus {
    color: inherit;
    text-decoration: none !important;
}

.bbhub-card-link :where(h1, h2, h3, h4, p, span, div, strong) {
    text-decoration: none !important;
}

/* Image wrapper */
.bbhub-card-image {
    position: relative;
    overflow: hidden;
}

.bbhub-card-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.bbhub-card:hover .bbhub-card-thumb {
    transform: scale(1.04);
}

.bbhub-card-thumb--empty {
    height: 200px;
    background: linear-gradient(135deg, #dbe4f0 0%, #f1f5f9 100%);
}

/* Overlay badges */
.bbhub-card-badge {
    position: absolute;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 9px;
    border-radius: 20px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.bbhub-card-badge--industry {
    bottom: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.72);
    color: #f1f5f9;
    backdrop-filter: blur(4px);
}

.bbhub-card-badge--featured {
    top: 10px;
    right: 10px;
    background: #f59e0b;
    color: #fff;
}

/* Card body */
.bbhub-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bbhub-card-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 7px;
    color: #0f172a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Location row */
.bbhub-card-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 9px;
}

.bbhub-card-location svg {
    flex-shrink: 0;
}

.bbhub-card-summary {
    margin: 0 0 14px;
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Price footer */
.bbhub-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.bbhub-card-price__label,
.bbhub-card-profit__label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 2px;
}

.bbhub-card-price__value {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.bbhub-card-price--locked .bbhub-card-price__value {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

.bbhub-card-profit__value {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #16a34a;
    line-height: 1.1;
}

/* Legacy .bbhub-card-stats (archive page ? keep rendered, override display) */
.bbhub-card-stats {
    display: none;
}
.bbhub-card-meta {
    display: none;
}

.bbhub-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: #fde68a;
    color: #92400e;
    margin-bottom: 8px;
}

.bbhub-listing-detail {
    max-width: 900px;
    margin: 24px auto;
    padding: 16px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.bbhub-listing-header h1 {
    margin: 0 0 8px;
}

.bbhub-listing-subtitle {
    margin: 0 0 16px;
    color: #475569;
    font-size: 0.95rem;
}

.bbhub-listing-hero img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 16px;
}

.bbhub-listing-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.bbhub-listing-gallery img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.bbhub-listing-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.bbhub-listing-fact {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    background: #f8fafc;
}

.bbhub-listing-fact span {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 4px;
}

.bbhub-listing-fact strong {
    display: block;
    font-size: 1rem;
    color: #0f172a;
    line-height: 1.25;
}

.bbhub-listing-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 16px;
}

.bbhub-listing-main,
.bbhub-listing-aside {
    min-width: 0;
}

.bbhub-listing-panel {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    background: #ffffff;
    margin-bottom: 12px;
}

.bbhub-listing-panel h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bbhub-listing-panel p {
    margin: 0;
}

.bbhub-listing-panel--compact p {
    font-size: 0.92rem;
}

.bbhub-kv-list {
    display: grid;
    gap: 8px;
    margin: 0;
}

.bbhub-kv-list div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 10px;
    align-items: start;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}

.bbhub-kv-list div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.bbhub-kv-list dt {
    margin: 0;
    font-size: 0.78rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bbhub-kv-list dd {
    margin: 0;
    color: #0f172a;
}

.bbhub-listing-muted {
    color: #64748b;
    font-size: 0.95rem;
}

.bbhub-listing-summary {
    display: flex;
    gap: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.bbhub-listing-section {
    margin-bottom: 18px;
}

.bbhub-listing-section h3 {
    margin-bottom: 8px;
    color: #0f172a;
}

.bbhub-listing-detail .bbhub-listing-section {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 4px 16px;
    align-items: baseline;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.bbhub-listing-detail .bbhub-listing-section h3 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
}

.bbhub-listing-detail .bbhub-listing-section p {
    margin: 0;
    font-size: 0.95rem;
    color: #0f172a;
}

.bbhub-listing-gated,
.bbhub-listing-unavailable {
    padding: 16px;
    border-radius: 10px;
    background: #fef3c7;
    color: #92400e;
    margin-bottom: 16px;
}

.bbhub-inline-auth-cta {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    margin-bottom: 16px;
}

.bbhub-inline-auth-cta .bbhub-message {
    margin-bottom: 10px;
}

.bbhub-gate-panel {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bbhub-gate-panel .bbhub-inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bbhub-inline-form {
    display: inline-flex;
    gap: 6px;
    margin: 0;
}

.bbhub-gate-panel form {
    display: inline-block;
    margin-right: 8px;
}

.bbhub-dashboard {
    margin: 24px 0 32px;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.bbhub-dashboard-messages {
    background: #ecfeff;
    border: 1px solid #bae6fd;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 16px;
    color: #0f172a;
}

.bbhub-message {
    margin: 0 0 8px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.92rem;
}

.bbhub-message:last-child {
    margin-bottom: 0;
}

.bbhub-message--success {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #166534;
}

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

.bbhub-message--warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.bbhub-message--info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
}

.bbhub-directory-ai-notice {
    margin-bottom: 18px;
    font-weight: 500;
}

.bbhub-broker-registration-note {
    margin-top: -8px;
    margin-bottom: 0;
}

.bbhub-dashboard p:only-child {
    font-size: 1rem;
    color: #64748b;
    text-align: center;
    padding: 32px 0;
}

.bbhub-form {
    display: grid;
    gap: 22px;
}

.bbhub-form-help,
.bbhub-form .description {
    margin: -8px 0 8px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.bbhub-form-grid {
    display: grid !important;
    gap: 26px 32px !important;
    row-gap: 26px !important;
    column-gap: 32px !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    align-items: start;
}

.bbhub-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 0 12px;
}

.bbhub-filter-hint {
    color: #64748b;
    font-size: 0.85rem;
}

.bbhub-filter-toggle-btn::after {
    content: ' ?';
    display: inline-block;
    transition: transform 0.2s ease;
}

.bbhub-filter-toggle-btn[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.bbhub-filters-panel.is-collapsed {
    display: none;
}

.bbhub-hero-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    margin-bottom: 20px;
}

.bbhub-hero-search input {
    border: 1px solid #cbd5f5;
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.95rem;
    min-height: 48px;
}

.bbhub-hero-search .bbhub-btn {
    min-height: 48px;
}

@media (max-width: 720px) {
    .bbhub-hero-search {
        grid-template-columns: 1fr;
    }
    .bbhub-filter-toggle {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 680px) {
    .bbhub-form-grid,
    .bbhub-filters {
        grid-template-columns: 1fr !important;
    }
}

.bbhub-form-grid > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bbhub-form > .bbhub-form-grid {
    padding-top: 8px;
    padding-bottom: 8px;
    border-top: 1px solid #f1f5f9;
}

.bbhub-form > .bbhub-form-grid:first-of-type {
    border-top: none;
}

.bbhub-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    margin: 0;
    line-height: 1.2;
}

.bbhub-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
}

.bbhub-checkbox-label input {
    margin: 0;
}

.bbhub-form input,
.bbhub-form select,
.bbhub-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #cbd5f5;
    background: #f8fafc;
    min-height: 44px;
    font-size: 0.95rem;
}

.bbhub-form select[multiple] {
    min-height: 120px;
    padding: 10px 12px;
}

.bbhub-form textarea {
    min-height: 120px;
}

.bbhub-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-height: auto;
    margin: 0;
}

.bbhub-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    background: #0f172a;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    width: fit-content;
    transition: all 0.2s ease;
}

.bbhub-button:hover {
    background: #1e293b;
}

.bbhub-button--ghost {
    background: #ffffff;
    color: #0f172a;
    border: 1.5px solid #cbd5e1;
}

.bbhub-button--ghost:hover {
    background: #f1f5f9;
}

.bbhub-inline-form {
    display: inline-flex;
    gap: 6px;
    margin: 0;
}

.bbhub-dashboard-listings ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.bbhub-dashboard-listings li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.bbhub-docs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.bbhub-docs-table th,
.bbhub-docs-table td {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.bbhub-docs-table a {
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
}

.bbhub-thread-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bbhub-thread-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.bbhub-thread-messages {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}

.bbhub-thread-message {
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.bbhub-message-relay {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-style: normal;
}

.bbhub-message-relay--queued {
    color: #475569;
}

.bbhub-message-relay--failed {
    color: #b91c1c;
}

.bbhub-inquiry textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #cbd5f5;
    background: #f8fafc;
    margin-bottom: 12px;
}

.bbhub-inquiry {
    margin-top: 24px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.bbhub-inquiry h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.bbhub-identity-panel {
    margin: 16px 0;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.bbhub-deal-panel {
    margin: 16px 0;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.bbhub-inbox-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.bbhub-inbox-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.bbhub-inbox-tabs a.is-active {
    color: #ffffff;
    background: #0f172a;
    border-color: #0f172a;
}

.bbhub-inbox-tabs span,
.bbhub-thread-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #0f172a;
    font-size: 12px;
    font-weight: 900;
}

.bbhub-inbox-tabs a.is-active span {
    color: #0f172a;
    background: #ffffff;
}

.bbhub-thread-list li {
    padding: 0;
}

.bbhub-thread-list li > a {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    color: inherit;
    text-decoration: none;
}

.bbhub-thread-list li.has-unread > a {
    background: linear-gradient(90deg, rgba(29,78,216,0.07), transparent 70%);
    padding-left: 10px;
    border-radius: 10px;
}

.bbhub-thread-row-main {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.bbhub-thread-row-main strong {
    color: #0f172a;
}

.bbhub-thread-row-main span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.bbhub-thread-row-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    flex-wrap: wrap;
    min-width: 220px;
}

.bbhub-thread-row-meta time {
    color: #94a3b8;
    font-size: 12px;
}

.bbhub-thread-pill--unread {
    color: #ffffff;
    background: #1d4ed8;
}

.bbhub-thread-pill--warning {
    color: #7f1d1d;
    background: #fee2e2;
}

.bbhub-thread-messages {
    gap: 14px;
}

.bbhub-thread-message {
    max-width: 78%;
    padding: 12px 14px;
}

.bbhub-thread-message--own {
    justify-self: end;
    background: #eaf2ff;
    border-color: #bfdbfe;
}

.bbhub-thread-message--other,
.bbhub-thread-message--system {
    justify-self: start;
}

.bbhub-thread-message--system {
    max-width: 100%;
    background: #f8fafc;
    border-style: dashed;
}

.bbhub-thread-message__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 7px;
}

.bbhub-thread-message__meta strong {
    color: #0f172a;
    font-size: 13px;
}

.bbhub-thread-message__meta time {
    color: #94a3b8;
    font-size: 12px;
    margin-left: auto;
}

.bbhub-thread-role {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bbhub-thread-message__body {
    color: #0f172a;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .bbhub-thread-list li > a,
    .bbhub-thread-row-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .bbhub-thread-row-meta {
        min-width: 0;
    }

    .bbhub-thread-message {
        max-width: 100%;
    }
}

.bbhub-identity-list {
    display: grid;
    gap: 8px;
    margin: 12px 0;
}

.bbhub-identity-item {
    display: grid;
    gap: 2px;
    font-size: 14px;
}

.bbhub-criteria-matches {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.bbhub-container {
    max-width: var(--bbhub-max-width);
    margin: 0 auto;
    padding: 0 var(--bbhub-gutter);
}

.bbhub-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    gap: 16px;
}

@media (max-width: 640px) {
    .bbhub-section-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

.bbhub-hero {
    padding: 64px 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.bbhub-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: var(--bbhub-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--bbhub-gutter);
    padding-right: var(--bbhub-gutter);
}

@media (max-width: 900px) {
    .bbhub-hero-grid {
        grid-template-columns: 1fr;
    }
}

.bbhub-hero-copy h1 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    margin: 16px 0;
    letter-spacing: -0.02em;
}

.bbhub-hero-copy p {
    color: #5b6674;
    line-height: 1.7;
    margin-bottom: 24px;
}

.bbhub-hero-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.10);
    padding: 24px;
}

.bbhub-hero-metrics {
    display: flex;
    gap: 24px;
    margin-top: 32px;
}

.bbhub-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bbhub-metric strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
}

.bbhub-metric span {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bbhub-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bbhub-btn--primary {
    background: #0f172a;
    color: #ffffff;
}

.bbhub-btn--primary:hover {
    background: #1e293b;
}

.bbhub-btn--ghost {
    background: #ffffff;
    color: #0f172a;
    border: 1.5px solid #cbd5e1;
}

.bbhub-btn--ghost:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.bbhub-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.bbhub-home section > .bbhub-container > .bbhub-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.bbhub-trust {
    padding: 28px 0;
    background: #0f172a;
    border-bottom: 1px solid #1e293b;
}

.bbhub-home .bbhub-trust {
    padding: 28px 0;
}

.bbhub-trust-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.bbhub-trust-grid span {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.bbhub-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 640px) {
    .bbhub-categories {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 400px) {
    .bbhub-categories {
        grid-template-columns: 1fr;
    }
}

.bbhub-category {
    position: relative;
    height: 160px;
    border-radius: 14px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.bbhub-category--hospitality {
    background-image: linear-gradient(135deg, #0f172a, #1d4ed8);
}

.bbhub-category--professional {
    background-image: linear-gradient(135deg, #0b132b, #334155);
}

.bbhub-category--manufacturing {
    background-image: linear-gradient(135deg, #1f2937, #0f766e);
}

.bbhub-category--technology {
    background-image: linear-gradient(135deg, #111827, #4f46e5);
}

.bbhub-category--retail {
    background-image: linear-gradient(135deg, #7c2d12, #ea580c);
}

.bbhub-category--tourism {
    background-image: linear-gradient(135deg, #0f766e, #0891b2);
}

.bbhub-category::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 60%);
    z-index: 0;
}

.bbhub-category span {
    position: absolute;
    bottom: 14px;
    left: 14px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 1;
}

.bbhub-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.bbhub-info-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.bbhub-info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.bbhub-info-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.bbhub-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.bbhub-testimonial {
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 24px;
}

.bbhub-testimonial h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.bbhub-testimonial p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

.bbhub-testimonial strong {
    font-size: 0.85rem;
    color: #334155;
    display: block;
    margin-top: 12px;
}

.bbhub-home section {
    padding: 64px 0;
}

.bbhub-home section:first-child {
    padding: 0;
}

/* Hero grid owns its own vertical breathing room */
.bbhub-hero-grid {
    padding-top: 80px;
    padding-bottom: 80px;
}

.bbhub-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    color: #5b6674;
    margin-bottom: 8px;
}

.bbhub-home.alignfull {
    max-width: none;
    position: relative;
    /* No explicit width ? the theme's alignfull negative margins handle full-width correctly.
       Setting width: calc(100vw - padding) fights auto-sizing and leaves a gap on the right. */
}

.bbhub-fullwidth {
    width: calc(100vw - var(--wp--style--root--padding-left, 0px) - var(--wp--style--root--padding-right, 0px));
    max-width: none;
    position: relative;
    left: 0;
    right: 0;
    margin-left: calc(-1 * var(--wp--style--root--padding-left, 0px));
    margin-right: calc(-1 * var(--wp--style--root--padding-right, 0px));
    padding-left: max(var(--bbhub-gutter), calc((100vw - var(--bbhub-max-width)) / 2));
    padding-right: max(var(--bbhub-gutter), calc((100vw - var(--bbhub-max-width)) / 2));
    box-sizing: border-box;
}

.bbhub-page-wrap.bbhub-fullwidth {
    padding-left: clamp(18px, 3vw, 48px);
    padding-right: clamp(18px, 3vw, 48px);
}

.bbhub-page-wrap {
    padding-top: 24px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bbhub-page-wrap > .bbhub-dashboard {
    margin: 0;
}

.bbhub-workspace {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.bbhub-workspace-sidebar {
    position: sticky;
    top: 24px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bbhub-workspace-eyebrow {
    margin: 0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-weight: 700;
}

.bbhub-workspace-sidebar h2 {
    margin: 0;
    font-size: 1.15rem;
    color: #0f172a;
}

.bbhub-workspace-sidebar p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #64748b;
}

.bbhub-workspace-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bbhub-workspace-nav a {
    text-decoration: none;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

.bbhub-workspace-nav a:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.bbhub-workspace-nav a.is-active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.bbhub-workspace-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bbhub-messages-wrap.bbhub-fullwidth {
    padding-left: clamp(16px, 2vw, 36px);
    padding-right: clamp(16px, 2vw, 36px);
}

.bbhub-messages-workspace {
    max-width: min(1780px, calc(100vw - 32px));
    grid-template-columns: 240px minmax(0, 1fr);
}

.bbhub-messages-main > .bbhub-dashboard {
    margin: 0;
    min-height: 620px;
}

.bbhub-messages-main .bbhub-thread-list li > a {
    padding: 18px 12px;
}

.bbhub-messages-main .bbhub-thread-messages {
    max-width: none;
}

.bbhub-messages-main .bbhub-thread-message {
    max-width: min(860px, 82%);
}

.bbhub-messages-main .bbhub-thread-message--system {
    max-width: 100%;
}

.bbhub-workspace-intro {
    margin-top: 0;
    color: #64748b;
}

.bbhub-workspace-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bbhub-workspace-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.bbhub-workspace-metric {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bbhub-workspace-metric-label {
    font-size: 0.78rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.bbhub-workspace-metric-value {
    font-size: 1.15rem;
    color: #0f172a;
    line-height: 1.2;
}

.bbhub-management-table {
    width: 100%;
    border-collapse: collapse;
}

.bbhub-management-table th,
.bbhub-management-table td {
    text-align: left;
    padding: 10px 8px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
    font-size: 0.9rem;
}

.bbhub-management-table th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.bbhub-management-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.bbhub-management-filters > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bbhub-management-filters label {
    font-size: 0.78rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.bbhub-management-filters input,
.bbhub-management-filters select {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    min-height: 40px;
    padding: 8px 10px;
}

.bbhub-management-filters-actions {
    align-self: end;
    display: flex !important;
    gap: 8px;
    flex-wrap: wrap;
}

.bbhub-bulk-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.bbhub-bulk-fields {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.bbhub-bulk-fields select {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    min-height: 40px;
    padding: 8px 10px;
    background: #ffffff;
}

.bbhub-select-all {
    font-size: 0.85rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bbhub-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bbhub-stepper {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    padding: 12px;
    margin-bottom: 6px;
}

.bbhub-stepper-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bbhub-stepper-tab {
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 0.78rem;
    padding: 6px 10px;
    cursor: pointer;
}

.bbhub-stepper-tab.is-active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.bbhub-stepper-progress {
    margin-top: 10px;
    width: 100%;
    height: 5px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.bbhub-stepper-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: #0f172a;
    transition: width 0.2s ease;
}

.bbhub-stepper-status {
    margin: 10px 0 0;
    font-size: 0.78rem;
    color: #64748b;
}

.bbhub-stepper-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

.bbhub-listing-form.is-stepper-ready .bbhub-form-grid {
    display: none !important;
}

.bbhub-listing-form.is-stepper-ready .bbhub-form-grid.is-step-active {
    display: grid !important;
}

.bbhub-listing-form.is-stepper-ready .bbhub-stepper-controls [data-stepper-submit] {
    display: none;
}

.bbhub-access-state {
    display: grid;
    gap: 14px;
}

.bbhub-access-state .bbhub-message {
    margin: 0;
}

.bbhub-access-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bbhub-management-subtext {
    margin-top: 3px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.bbhub-table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bbhub-table-actions .bbhub-button {
    padding: 8px 12px;
    font-size: 0.82rem;
}

@media (min-width: 961px) {
    .bbhub-page-wrap.bbhub-fullwidth {
        padding-left: clamp(14px, 2vw, 36px);
        padding-right: clamp(14px, 2vw, 36px);
    }

    .bbhub-workspace {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 22px;
        max-width: min(1760px, calc(100vw - 28px));
    }

    .bbhub-messages-workspace {
        grid-template-columns: 240px minmax(0, 1fr);
        max-width: min(1800px, calc(100vw - 28px));
    }

    .bbhub-workspace-main,
    .bbhub-dashboard,
    .bbhub-table-wrap {
        min-width: 0;
    }

    .bbhub-listing-manager-table {
        table-layout: fixed;
        min-width: 1040px;
    }

    .bbhub-listing-manager-table th:nth-child(1),
    .bbhub-listing-manager-table td:nth-child(1) {
        width: 54px;
    }

    .bbhub-listing-manager-table th:nth-child(3),
    .bbhub-listing-manager-table td:nth-child(3) {
        width: 90px;
    }

    .bbhub-listing-manager-table th:nth-child(4),
    .bbhub-listing-manager-table td:nth-child(4) {
        width: 112px;
    }

    .bbhub-listing-manager-table th:nth-child(5),
    .bbhub-listing-manager-table td:nth-child(5) {
        width: 150px;
        white-space: nowrap;
    }

    .bbhub-listing-manager-table th:nth-child(6),
    .bbhub-listing-manager-table td:nth-child(6) {
        width: 98px;
        white-space: nowrap;
    }

    .bbhub-listing-manager-table th:nth-child(7),
    .bbhub-listing-manager-table td:nth-child(7) {
        width: 190px;
    }

    .bbhub-listing-manager-table th,
    .bbhub-listing-manager-table td {
        padding-left: 7px;
        padding-right: 7px;
    }

    .bbhub-listing-manager-table td[data-label="Workflow"] {
        white-space: nowrap;
    }

    .bbhub-listing-manager-table td[data-label="Actions"] .bbhub-table-actions {
        flex-wrap: nowrap;
        gap: 5px;
    }

    .bbhub-listing-manager-table td[data-label="Actions"] .bbhub-button {
        padding: 7px 10px;
        white-space: nowrap;
    }
}

.bbhub-empty-state {
    color: #64748b;
    margin-top: 12px;
}

@media (max-width: 960px) {
    .bbhub-workspace {
        grid-template-columns: 1fr;
    }

    .bbhub-messages-workspace {
        max-width: none;
    }

    .bbhub-messages-main .bbhub-thread-message {
        max-width: 100%;
    }

    .bbhub-workspace-sidebar {
        position: static;
    }

    .bbhub-listing-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .bbhub-bulk-row {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 760px) {
    .bbhub-kv-list div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .bbhub-responsive-table thead {
        display: none;
    }

    .bbhub-responsive-table,
    .bbhub-responsive-table tbody,
    .bbhub-responsive-table tr,
    .bbhub-responsive-table td {
        display: block;
        width: 100%;
    }

    .bbhub-responsive-table tr {
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        padding: 8px;
        margin-bottom: 10px;
        background: #ffffff;
    }

    .bbhub-responsive-table td {
        border: none;
        border-bottom: 1px dashed #e2e8f0;
        padding: 8px 4px;
    }

    .bbhub-responsive-table td:last-child {
        border-bottom: none;
        padding-bottom: 4px;
    }

    .bbhub-responsive-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        font-size: 0.74rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #64748b;
        font-weight: 700;
    }
}

/* ?? Homepage-scoped additions ??????????????????????????????????????????? */

.bbhub-home h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--c-ink);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0 0 8px;
}

.bbhub-home .bbhub-section-head p {
    color: var(--c-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Alternating section background */
.bbhub-home section.bbhub-section--alt {
    background: var(--c-surface);
}

/* Hero card BEM content */
.bbhub-hero-card__title {
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 16px;
    color: var(--c-ink);
}

.bbhub-hero-card__body {
    background: var(--c-surface);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.bbhub-hero-card__body p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--c-muted);
    line-height: 1.6;
}

.bbhub-hero-card__note {
    font-size: 0.85rem;
    color: var(--c-muted);
    margin: 8px 0 0;
}

/* Metric dividers */
.bbhub-metric + .bbhub-metric {
    padding-left: 24px;
    border-left: 1px solid var(--c-border);
}

/* Trust bar tick marks */
.bbhub-trust-grid span::before {
    content: '? ';
    color: #4ade80;
    font-weight: 800;
}

/* Industry category tiles as links */
a.bbhub-category {
    display: block;
    text-decoration: none;
}

a.bbhub-category:hover::after {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 60%);
}

/* ?? WP theme page title suppression on front page ???????????????????????? */
.home .wp-block-post-title,
.front-page .wp-block-post-title {
    display: none;
}

/* ?? Dark hero variant ????????????????????????????????????????????????????? */
.bbhub-hero--dark {
    background: linear-gradient(135deg, #0b1120 0%, #0f172a 55%, #162032 100%);
    border-bottom: 1px solid #1e293b;
}

.bbhub-hero--dark .bbhub-eyebrow {
    color: #60a5fa;
    letter-spacing: 0.25em;
}

.bbhub-hero--dark .bbhub-hero-copy h1 {
    color: #f8fafc;
    font-size: 2.6rem;
}

.bbhub-hero--dark .bbhub-hero-copy p {
    color: #94a3b8;
}

.bbhub-hero--dark .bbhub-hero-search {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.bbhub-hero--dark .bbhub-hero-search input {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
}

.bbhub-hero--dark .bbhub-hero-search input::placeholder {
    color: #64748b;
}

.bbhub-hero--dark .bbhub-hero-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

/* ?? Hero CTA button variants for dark bg ????????????????????????????????? */
.bbhub-btn--white {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--r-btn);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #0f172a;
    border: none;
}

.bbhub-btn--white:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.bbhub-btn--outline {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--r-btn);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    color: #e2e8f0;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.bbhub-btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.bbhub-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* ?? Hero card redesign ??????????????????????????????????????????????????? */
.bbhub-hero-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.bbhub-hero-card__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
    animation: bbhub-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes bbhub-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); }
    50%       { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.1); }
}

.bbhub-hero-card__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
}

.bbhub-hero-card__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.bbhub-hero-card__metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bbhub-hero-card__metric strong {
    font-size: 1.3rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.1;
}

.bbhub-hero-card__metric span {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

.bbhub-hero-card__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin-bottom: 16px;
}

.bbhub-hero-card__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bbhub-hero-card__features li {
    font-size: 0.875rem;
    color: #94a3b8;
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
}

.bbhub-hero-card__features li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: 700;
    font-size: 0.8rem;
}

/* ?? Persona section ?????????????????????????????????????????????????????? */
.bbhub-section-head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.bbhub-persona-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

@media (max-width: 860px) {
    .bbhub-persona-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

.bbhub-persona {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--c-border);
    border-top-width: 3px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.bbhub-persona:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
}

.bbhub-persona--buyer  { border-top-color: #1d4ed8; }
.bbhub-persona--seller { border-top-color: #0891b2; }
.bbhub-persona--broker { border-top-color: #7c3aed; }

.bbhub-persona__icon {
    font-size: 2rem;
    line-height: 1;
}

.bbhub-persona h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-ink);
    margin: 0;
    line-height: 1.3;
}

.bbhub-persona p {
    color: var(--c-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.bbhub-persona .bbhub-btn {
    align-self: flex-start;
    margin-top: 4px;
    font-size: 0.875rem;
    padding: 10px 18px;
}

/* ?? Process steps ???????????????????????????????????????????????????????? */
.bbhub-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bbhub-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 24px;
    align-items: start;
    padding: 28px 0;
    border-bottom: 1px solid var(--c-border);
}

.bbhub-step:last-child {
    border-bottom: none;
}

.bbhub-step__num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--c-border);
    line-height: 1;
    letter-spacing: -0.04em;
    padding-top: 2px;
}

.bbhub-step__body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-ink);
    margin: 0 0 8px;
}

.bbhub-step__body p {
    color: var(--c-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 600px) {
    .bbhub-step {
        grid-template-columns: 48px 1fr;
        gap: 16px;
    }
    .bbhub-step__num {
        font-size: 1.8rem;
    }
}

/* ?? Info card icon ??????????????????????????????????????????????????????? */
.bbhub-info-card__icon {
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 12px;
}

/* ?? Testimonials redesign ???????????????????????????????????????????????? */
.bbhub-testimonial__quote {
    font-size: 0.975rem;
    color: var(--c-ink-soft);
    line-height: 1.7;
    margin: 0 0 16px;
    font-style: italic;
}

.bbhub-testimonial__author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 12px;
    border-top: 1px solid var(--c-border);
}

.bbhub-testimonial__author strong {
    font-size: 0.875rem;
    color: var(--c-ink);
    font-weight: 700;
}

.bbhub-testimonial__author span {
    font-size: 0.8rem;
    color: var(--c-muted);
}

/* ?? Final CTA section ???????????????????????????????????????????????????? */
.bbhub-section--cta {
    background: linear-gradient(135deg, #0b1120 0%, #0f172a 55%, #162032 100%);
}

.bbhub-home .bbhub-section--cta {
    padding: 80px 0;
}

.bbhub-final-cta {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.bbhub-final-cta h2 {
    color: #f8fafc;
    font-size: 2rem;
    margin-bottom: 12px;
}

.bbhub-final-cta p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 0 28px;
}

.bbhub-final-cta__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ?? Mobile hero adjustments ?????????????????????????????????????????????? */
@media (max-width: 900px) {
    .bbhub-hero--dark .bbhub-hero-copy h1 {
        font-size: 2rem;
    }
    /* Keep copy above card on mobile ? headline first, stats second */
    .bbhub-hero-card {
        order: 0;
    }
    .bbhub-hero-grid {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .bbhub-hero-card__metrics {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .bbhub-hero--dark .bbhub-hero-copy h1 {
        font-size: 1.7rem;
    }
    .bbhub-hero-card__metrics {
        grid-template-columns: 1fr 1fr;
    }
    .bbhub-hero-card__metric:last-child {
        grid-column: span 2;
    }
    .bbhub-hero-actions {
        flex-direction: column;
    }
    .bbhub-hero-actions .bbhub-btn {
        text-align: center;
    }
    .bbhub-final-cta__actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ?? Font-size anchors (override 13px theme base with explicit px) ?????????? */
.bbhub-hero--dark .bbhub-hero-copy h1 { font-size: 44px; line-height: 1.15; }
.bbhub-hero-card__metric strong       { font-size: 24px; }
.bbhub-home h2                         { font-size: 30px; font-weight: 800; }
.bbhub-step__num                       { font-size: 42px; }
.bbhub-persona h3                      { font-size: 17px; }
.bbhub-info-card h3                    { font-size: 17px; }

@media (max-width: 900px) {
    .bbhub-hero--dark .bbhub-hero-copy h1 { font-size: 32px; }
}
@media (max-width: 480px) {
    .bbhub-hero--dark .bbhub-hero-copy h1 { font-size: 27px; }
}

/* ?? Persona card: minimum height so cards align in a row ?????????????????? */
.bbhub-persona {
    min-height: 280px;
}

/* ?? Homepage listing grid: fixed 3 columns, equal height cards ??????????? */
.bbhub-home .bbhub-listings-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .bbhub-home .bbhub-listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .bbhub-home .bbhub-listings-grid {
        grid-template-columns: 1fr;
    }
}

/* ?? Section heading accent ??????????????????????????????????????????????? */
.bbhub-home section .bbhub-section-head h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.bbhub-home section .bbhub-section-head h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 4px;
    background: var(--c-accent);
    border-radius: 2px;
}

/* Center-aligned section heads: center the accent bar too */
.bbhub-home section .bbhub-section-head--center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ?? "View all" link beside section heading ??????????????????????????????? */
.bbhub-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.bbhub-section-head a.bbhub-view-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-accent);
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 10px;
}

.bbhub-section-head a.bbhub-view-all:hover {
    text-decoration: underline;
}

/* ?? Listing section in homepage ?????????????????????????????????????????? */
.bbhub-home .bbhub-section--listings {
    background: var(--c-surface);
}

/* Remove old card-stats pseudo-labels (now replaced by bbhub-card-footer) */
.bbhub-card-stats span:first-child::before,
.bbhub-card-stats span:last-child::before {
    content: none;
}

/* ???????????????????????????????????????????????????????????????????????????
   SINGLE LISTING PAGE ? full redesign
   ??????????????????????????????????????????????????????????????????????????? */

/* Container ? remove the old single card, use a proper page wrapper */
.bbhub-listing-detail {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 64px;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

/* ?? Header bar ??????????????????????????????????????????????????????????? */
.bbhub-listing-header-bar {
    padding: 28px 0 24px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 28px;
}

.bbhub-listing-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 14px;
}

.bbhub-listing-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
}

.bbhub-listing-breadcrumb a:hover {
    color: var(--c-accent);
    text-decoration: underline;
}

.bbhub-listing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.bbhub-listing-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.bbhub-listing-tag--industry {
    background: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}

.bbhub-listing-tag--location {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

.bbhub-listing-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.18;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.02em;
}

/* ?? Media block ?????????????????????????????????????????????????????????? */
.bbhub-listing-media {
    margin-bottom: 28px;
}

.bbhub-listing-hero {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 0;
}

.bbhub-listing-hero img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    margin-bottom: 0;
}

.bbhub-listing-gallery {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
    padding-bottom: 4px;
}

.bbhub-listing-gallery img {
    width: 110px;
    height: 76px;
    object-fit: cover;
    border-radius: 9px;
    flex-shrink: 0;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.15s, opacity 0.15s;
}

.bbhub-listing-gallery img:hover {
    border-color: var(--c-accent);
    opacity: 0.9;
}

/* ?? Flash notices wrapper ???????????????????????????????????????????????? */
.bbhub-listing-notices {
    margin-bottom: 20px;
}

/* ?? Facts bar ???????????????????????????????????????????????????????????? */
.bbhub-listing-facts {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 0;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.bbhub-listing-fact {
    padding: 20px 18px;
    background: #ffffff;
    border: none;
    border-right: 1px solid #e2e8f0;
    border-radius: 0;
}

.bbhub-listing-fact:last-child {
    border-right: none;
}

.bbhub-listing-fact--primary {
    background: #0f172a;
}

.bbhub-listing-fact--primary span {
    color: #64748b;
}

.bbhub-listing-fact--primary strong {
    color: #f8fafc;
    font-size: 20px;
}

.bbhub-listing-fact span {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 5px;
    font-weight: 600;
}

.bbhub-listing-fact strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* ?? Two-column layout: main + sticky aside ??????????????????????????????? */
.bbhub-listing-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 380px);
    gap: 28px;
    align-items: start;
}

.bbhub-listing-aside__inner {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ?? Content panels ??????????????????????????????????????????????????????? */
.bbhub-listing-panel {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    background: #ffffff;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.bbhub-listing-panel__heading,
.bbhub-listing-panel h3 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #94a3b8;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.bbhub-listing-panel p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #334155;
}

.bbhub-listing-panel--confidential {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.bbhub-listing-panel--confidential .bbhub-listing-panel__heading,
.bbhub-listing-panel--confidential h3 {
    color: #3b82f6;
    border-bottom-color: #bfdbfe;
}

/* ?? KV list ?????????????????????????????????????????????????????????????? */
.bbhub-kv-list dt {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bbhub-kv-list dd {
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
}

/* ?? Locked state ????????????????????????????????????????????????????????? */
.bbhub-listing-locked {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
}

.bbhub-listing-locked svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.bbhub-listing-locked strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.bbhub-listing-locked p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* ?? Gate panel ??????????????????????????????????????????????????????????? */
.bbhub-gate-panel {
    background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%);
    border: none;
    border-radius: 14px;
    padding: 22px 24px;
    color: #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.bbhub-gate-panel__heading {
    font-size: 16px;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.bbhub-gate-panel__sub {
    font-size: 13px;
    color: #94a3b8;
    margin: 0 0 20px;
    line-height: 1.5;
}

.bbhub-gate-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.bbhub-gate-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bbhub-gate-step.is-done {
    background: rgba(22, 163, 74, 0.15);
    border-color: rgba(22, 163, 74, 0.3);
}

.bbhub-gate-step.is-pending {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
}

.bbhub-gate-step__num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bbhub-gate-step.is-done .bbhub-gate-step__num {
    background: #16a34a;
    color: #fff;
}

.bbhub-gate-step__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bbhub-gate-step__body strong {
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
    display: block;
}

.bbhub-gate-step__status {
    font-size: 11px;
    color: #64748b;
    text-transform: capitalize;
}

.bbhub-gate-step.is-done .bbhub-gate-step__status {
    color: #4ade80;
}

.bbhub-gate-step.is-pending .bbhub-gate-step__status {
    color: #fbbf24;
}

.bbhub-gate-panel form {
    display: block;
    margin: 0;
}

.bbhub-gate-panel__cta {
    width: 100%;
    text-align: center;
    padding: 13px 16px;
    background: #1d4ed8;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    margin-top: 4px;
    display: block;
}

.bbhub-gate-panel__cta:hover {
    background: #1e40af;
}

.bbhub-gate-panel__cta:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bbhub-gate-panel__hint {
    font-size: 12px;
    color: #64748b;
    margin: 12px 0 0;
    line-height: 1.5;
}

.bbhub-gate-panel__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 6px;
}

.bbhub-gate-panel select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #f1f5f9;
    font-size: 13px;
    margin-bottom: 12px;
    appearance: none;
}

/* ?? Inquiry panel ???????????????????????????????????????????????????????? */
.bbhub-inquiry {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 22px 24px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    margin-top: 0;
}

.bbhub-inquiry h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px;
    border-bottom: none;
    padding-bottom: 0;
    text-transform: none;
    letter-spacing: 0;
}

.bbhub-inquiry textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 14px;
    color: #0f172a;
    line-height: 1.55;
    resize: vertical;
    min-height: 110px;
    margin-bottom: 12px;
    transition: border-color 0.15s;
}

.bbhub-inquiry textarea:focus {
    outline: none;
    border-color: var(--c-accent);
    background: #fff;
}

.bbhub-button--full,
.bbhub-inquiry .bbhub-button,
.bbhub-inquiry button[type="submit"] {
    width: 100%;
    text-align: center;
    background: #1d4ed8;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    display: block;
    box-sizing: border-box;
}

.bbhub-button--full:hover,
.bbhub-inquiry .bbhub-button:hover,
.bbhub-inquiry button[type="submit"]:hover {
    background: #1e40af;
}

/* ?? Inline auth CTA (not-logged-in state in aside) ??????????????????????? */
.bbhub-inline-auth-cta {
    border-radius: 14px;
    padding: 22px 24px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.bbhub-access-actions {
    display: flex;
    gap: 10px;
}

.bbhub-access-actions .bbhub-button {
    flex: 1;
    text-align: center;
    padding: 11px 12px;
    font-size: 14px;
}

/* ?? Responsive ??????????????????????????????????????????????????????????? */
@media (max-width: 1024px) {
    .bbhub-listing-facts {
        grid-template-columns: repeat(3, 1fr);
    }

    .bbhub-listing-fact:nth-child(3) {
        border-right: none;
    }

    .bbhub-listing-fact:nth-child(4),
    .bbhub-listing-fact:nth-child(5),
    .bbhub-listing-fact:nth-child(6) {
        border-top: 1px solid #e2e8f0;
    }
}

@media (max-width: 960px) {
    .bbhub-listing-detail {
        padding: 0 16px 40px;
    }

    .bbhub-listing-layout {
        grid-template-columns: 1fr;
    }

    .bbhub-listing-aside__inner {
        position: static;
    }

    .bbhub-listing-aside {
        order: -1; /* CTA panels above content on tablet */
    }

    .bbhub-listing-hero img {
        height: 300px;
    }
}

@media (max-width: 640px) {
    .bbhub-listing-title {
        font-size: 22px;
    }

    .bbhub-listing-facts {
        grid-template-columns: repeat(2, 1fr);
    }

    .bbhub-listing-fact {
        border-right: 1px solid #e2e8f0;
        border-bottom: 1px solid #e2e8f0;
    }

    .bbhub-listing-fact:nth-child(even) {
        border-right: none;
    }

    .bbhub-listing-fact:nth-child(5),
    .bbhub-listing-fact:nth-child(6) {
        border-bottom: none;
    }

    .bbhub-listing-fact:nth-child(3) {
        border-right: 1px solid #e2e8f0;
    }

    .bbhub-listing-hero img {
        height: 220px;
        border-radius: 12px;
    }

    .bbhub-listing-panel {
        padding: 16px;
    }

    .bbhub-listing-header-bar {
        padding: 18px 0 16px;
    }

    .bbhub-listing-aside {
        order: 0;
    }
}

/* ???????????????????????????????????????????????????????????????????????????
   SITE NAVIGATION
   ??????????????????????????????????????????????????????????????????????????? */

.bbhub-site-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    margin: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.bbhub-site-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 24px;
}

.bbhub-site-nav__logo {
    font-size: 18px;
    font-weight: 900;
    color: #f8fafc;
    text-decoration: none;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
    min-height: 48px;
}

.bbhub-site-nav__logo em {
    font-style: normal;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.bbhub-site-nav__logo-image {
    display: block;
    width: auto;
    height: 44px;
    max-width: 180px;
    object-fit: contain;
}

.bbhub-site-nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bbhub-site-nav__links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 7px 12px;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}

.bbhub-site-nav__links a:hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.07);
}

.bbhub-site-nav__cta {
    background: #1d4ed8 !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 8px 16px !important;
}

.bbhub-site-nav__cta:hover {
    background: #1e40af !important;
}

/* Mobile toggle ? hidden on desktop */
.bbhub-site-nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.bbhub-site-nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #94a3b8;
    border-radius: 2px;
    transition: background 0.15s;
}

/* Front page: nav sits on top of the dark hero ? ensure it doesn't double-stack */
.bbhub-home .bbhub-site-nav {
    position: relative;
    top: auto;
}

@media (max-width: 720px) {
    .bbhub-site-nav__toggle {
        display: flex;
    }

    .bbhub-site-nav__links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #0f172a;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
        gap: 4px;
        z-index: 199;
    }

    .bbhub-site-nav__links.is-open {
        display: flex;
    }

    .bbhub-site-nav__links a {
        padding: 10px 12px;
        font-size: 15px;
    }

    .bbhub-site-nav__logo-image {
        height: 40px;
        max-width: 150px;
    }

    .bbhub-site-nav__inner {
        position: relative;
    }
}

/* ???????????????????????????????????????????????????????????????????????????
   SITE FOOTER
   ??????????????????????????????????????????????????????????????????????????? */

.bbhub-site-footer {
    background: #0b1120;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 56px 0 0;
    margin-top: 0;
}

.bbhub-site-footer__grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px 32px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.bbhub-site-footer__logo {
    font-size: 22px;
    font-weight: 900;
    color: #f8fafc;
    text-decoration: none;
    letter-spacing: -0.03em;
    display: block;
    margin-bottom: 12px;
}

.bbhub-site-footer__brand p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.65;
    max-width: 280px;
    margin: 0;
}

.bbhub-site-footer__col h4 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #475569;
    margin: 0 0 14px;
}

.bbhub-site-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bbhub-site-footer__col a {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s;
}

.bbhub-site-footer__col a:hover {
    color: #f1f5f9;
}

.bbhub-site-footer__bottom {
    padding: 20px 0;
    text-align: center;
}

.bbhub-site-footer__bottom p {
    font-size: 12px;
    color: #334155;
    margin: 0;
}

@media (max-width: 900px) {
    .bbhub-site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
    }

    .bbhub-site-footer__brand {
        grid-column: span 2;
    }
}

@media (max-width: 540px) {
    .bbhub-site-footer__grid {
        grid-template-columns: 1fr;
    }

    .bbhub-site-footer__brand {
        grid-column: span 1;
    }
}

/* ???????????????????????????????????????????????????????????????????????????
   GALLERY LIGHTBOX
   ??????????????????????????????????????????????????????????????????????????? */

.bbhub-gallery-link {
    display: block;
    cursor: zoom-in;
}

.bbhub-listing-hero .bbhub-gallery-link {
    display: block;
}

.bbhub-listing-gallery .bbhub-gallery-link {
    flex-shrink: 0;
}

.bbhub-listing-gallery .bbhub-gallery-link img {
    width: 110px;
    height: 76px;
    object-fit: cover;
    border-radius: 9px;
    border: 2px solid transparent;
    transition: border-color 0.15s, transform 0.15s;
    display: block;
}

.bbhub-listing-gallery .bbhub-gallery-link:hover img {
    border-color: var(--c-accent);
    transform: scale(1.04);
}

/* Lightbox overlay */
.bbhub-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.bbhub-lightbox.is-open {
    display: flex;
}

.bbhub-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 14, 26, 0.9);
    backdrop-filter: blur(6px);
}

.bbhub-lightbox__inner {
    position: relative;
    z-index: 1;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bbhub-lightbox__img {
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
    display: block;
    /* enforce max dimensions ? prevents massive images from overflowing */
    object-fit: contain;
}

.bbhub-lightbox__close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1e293b;
    border: 1.5px solid rgba(255,255,255,0.15);
    color: #f1f5f9;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.bbhub-lightbox__close:hover {
    background: #334155;
}

/* ?? Image size enforcement (all bbhub contexts) ?????????????????????????? */
.bbhub-listing-hero img,
.bbhub-listing-hero .bbhub-gallery-link img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    /* Prevent raw oversized images breaking layout */
    max-width: 100%;
}

.bbhub-card-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
    max-width: 100%;
}

@media (max-width: 960px) {
    .bbhub-listing-hero img,
    .bbhub-listing-hero .bbhub-gallery-link img {
        height: 300px;
        border-radius: 12px;
    }
}

@media (max-width: 640px) {
    .bbhub-listing-hero img,
    .bbhub-listing-hero .bbhub-gallery-link img {
        height: 220px;
        border-radius: 10px;
    }
}

/* ???????????????????????????????????????????????????????????????????????????
   CUSTOM PAGE SHELL (single listing template ? bypasses theme layout)
   ??????????????????????????????????????????????????????????????????????????? */

body.bbhub-fullpage {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #f8fafc;
}

body.bbhub-fullpage * {
    box-sizing: border-box;
}

.bbhub-app-shell {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.bbhub-single-listing-main {
    flex: 1;
    width: 100%;
    overflow-x: hidden;
}

/* Override any lingering theme padding on these pages */
body.bbhub-fullpage .site-content,
body.bbhub-fullpage .site-main,
body.bbhub-fullpage #primary {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ???????????????????????????????????????????????????????????????????????????
   HERO & GALLERY IMAGE CROPPING (class-based, no HTML dimension attributes)
   ??????????????????????????????????????????????????????????????????????????? */

/* Hero image ? always fills container width, fixed height, object-fit crops */
.bbhub-hero-img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    /* Prevent any intrinsic size from breaking the crop */
    max-width: 100%;
    min-height: 0;
}

/* Ensure the anchor link wrapper doesn't add extra height */
.bbhub-listing-hero .bbhub-gallery-link {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    line-height: 0;
}

/* Gallery thumbnails ? fixed crop, no stretching */
.bbhub-gallery-thumb {
    display: block;
    width: 110px;
    height: 76px;
    object-fit: cover;
    object-position: center;
    border-radius: 9px;
    border: 2px solid transparent;
    cursor: zoom-in;
    transition: border-color 0.15s, transform 0.15s;
    flex-shrink: 0;
    /* Prevent HTML dimension attributes from overriding crop */
    max-width: none;
    min-height: 0;
}

.bbhub-listing-gallery .bbhub-gallery-link:hover .bbhub-gallery-thumb {
    border-color: var(--c-accent);
    transform: scale(1.04);
}

/* Mobile hero height reduction */
@media (max-width: 960px) {
    .bbhub-hero-img {
        height: 300px;
        border-radius: 12px;
    }

    .bbhub-listing-hero .bbhub-gallery-link {
        border-radius: 12px;
    }
}

@media (max-width: 640px) {
    .bbhub-hero-img {
        height: 210px;
        border-radius: 10px;
    }

    .bbhub-listing-hero .bbhub-gallery-link {
        border-radius: 10px;
    }

    .bbhub-gallery-thumb {
        width: 90px;
        height: 62px;
    }
}

/* ?? Single listing page mobile full-width fixes ?????????????????????????? */
@media (max-width: 768px) {
    .bbhub-single-listing-main .bbhub-listing-detail {
        padding-left: 14px;
        padding-right: 14px;
    }

    .bbhub-single-listing-main .bbhub-listing-title {
        font-size: 20px;
    }

    .bbhub-single-listing-main .bbhub-listing-facts {
        grid-template-columns: repeat(2, 1fr);
    }

    .bbhub-single-listing-main .bbhub-listing-layout {
        grid-template-columns: 1fr;
    }

    .bbhub-single-listing-main .bbhub-listing-aside__inner {
        position: static;
    }
}

/* ========================================================================== 
   Business Brokers Hub enterprise front page styles
   ========================================================================== */
body:has(.bbhub-home--enterprise) {
    background: #07111f;
    margin: 0 !important;
}

body:has(.bbhub-home--enterprise) .wp-site-blocks > header,
body:has(.bbhub-home--enterprise) .wp-site-blocks > .wp-block-template-part,
body:has(.bbhub-home--enterprise) header.wp-block-template-part,
body:has(.bbhub-home--enterprise) .wp-block-template-part--area-header {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body:has(.bbhub-home--enterprise) main.wp-block-group,
body:has(.bbhub-home--enterprise) main.wp-block-group.has-global-padding,
body:has(.bbhub-home--enterprise) .wp-site-blocks,
body:has(.bbhub-home--enterprise) .entry-content,
body:has(.bbhub-home--enterprise) .wp-block-post-content {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

main#wp--skip-link--target > .wp-block-group:has(.bbhub-home--enterprise),
.entry-content:has(.bbhub-home--enterprise),
.wp-block-post-content:has(.bbhub-home--enterprise) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body:has(.bbhub-home--enterprise) .wp-site-blocks > *,
body:has(.bbhub-home--enterprise) main {
    margin-block-start: 0 !important;
}

body:has(.bbhub-home--enterprise) .bbhub-site-nav + *,
body:has(.bbhub-home--enterprise) .bbhub-home {
    margin-top: 0 !important;
}

body:has(.bbhub-home--enterprise) h1.wp-block-post-title {
    display: none !important;
}

body.home main.wp-block-group.has-global-padding,
body.front-page main.wp-block-group.has-global-padding {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.bbhub-home--enterprise {
    --bbhub-enterprise-ink: #07111f;
    --bbhub-enterprise-navy: #08111f;
    --bbhub-enterprise-blue: #1f6feb;
    --bbhub-enterprise-cyan: #22d3ee;
    --bbhub-enterprise-gold: #d9a441;
    --bbhub-enterprise-green: #22c55e;
    --bbhub-enterprise-slate: #64748b;
    --bbhub-enterprise-line: rgba(148, 163, 184, 0.24);
    --bbhub-enterprise-card: rgba(255, 255, 255, 0.92);
    background: #f7fafc;
    color: var(--bbhub-enterprise-ink);
    overflow: hidden;
}

.bbhub-home--enterprise .bbhub-enterprise-hero {
    position: relative;
    padding: 26px 0 72px;
    background:
        radial-gradient(circle at 18% 18%, rgba(34, 211, 238, 0.24), transparent 32%),
        radial-gradient(circle at 82% 10%, rgba(217, 164, 65, 0.20), transparent 30%),
        linear-gradient(135deg, #07111f 0%, #0c1729 48%, #101d33 100%);
    color: #fff;
    isolation: isolate;
}

.bbhub-home--enterprise .bbhub-enterprise-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 88%);
    pointer-events: none;
    z-index: -2;
}

.bbhub-home--enterprise .bbhub-enterprise-hero__glow {
    position: absolute;
    width: 760px;
    height: 760px;
    right: -280px;
    top: -260px;
    background: radial-gradient(circle, rgba(31, 111, 235, 0.28), transparent 64%);
    filter: blur(8px);
    pointer-events: none;
    z-index: -1;
}

.bbhub-home--enterprise .bbhub-enterprise-hero__grid {
    max-width: var(--bbhub-max-width);
    margin: 0 auto;
    padding: 0 var(--bbhub-gutter);
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.82fr);
    gap: 54px;
    align-items: center;
}

.bbhub-home--enterprise .bbhub-proof-strip,
.bbhub-home--enterprise .bbhub-enterprise-trustline,
.bbhub-home--enterprise .bbhub-ai-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bbhub-home--enterprise .bbhub-proof-strip {
    margin-bottom: 18px;
}

.bbhub-home--enterprise .bbhub-proof-strip span,
.bbhub-home--enterprise .bbhub-enterprise-trustline span,
.bbhub-home--enterprise .bbhub-ai-chip-row span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bbhub-home--enterprise .bbhub-proof-strip span {
    color: #dbeafe;
    border: 1px solid rgba(147, 197, 253, 0.30);
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(14px);
}

.bbhub-home--enterprise .bbhub-eyebrow {
    margin: 0 0 14px;
    color: #7dd3fc;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.bbhub-home--enterprise .bbhub-enterprise-hero__copy > .bbhub-eyebrow {
    margin-left: 1px;
}

.bbhub-home--enterprise .bbhub-enterprise-hero__copy h1 {
    max-width: 780px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(42px, 5.8vw, 76px);
    line-height: 0.96;
    letter-spacing: -0.065em;
    font-weight: 950;
}

.bbhub-home--enterprise .bbhub-enterprise-hero__lead {
    max-width: 760px;
    margin: 0 0 28px;
    color: #b6c6da;
    font-size: clamp(17px, 1.55vw, 21px);
    line-height: 1.65;
}

.bbhub-home--enterprise .bbhub-enterprise-search-card {
    max-width: 760px;
    margin: 0 0 18px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 22px;
    background: rgba(255,255,255,0.075);
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
    backdrop-filter: blur(16px);
}

.bbhub-home--enterprise .bbhub-enterprise-search-card__label {
    display: block;
    margin: 0 0 8px 3px;
    color: #93c5fd;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bbhub-home--enterprise .bbhub-enterprise-search-card .bbhub-hero-search {
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.bbhub-home--enterprise .bbhub-enterprise-search-card .bbhub-hero-search input {
    min-height: 58px;
    border-radius: 14px;
    background: rgba(255,255,255,0.95);
    color: #0f172a;
    border: 1px solid transparent;
}

.bbhub-home--enterprise .bbhub-enterprise-search-card .bbhub-hero-search input::placeholder {
    color: #64748b;
}

.bbhub-home--enterprise .bbhub-enterprise-search-card .bbhub-hero-search .bbhub-btn {
    min-height: 58px;
    border-radius: 14px;
    background: linear-gradient(135deg, #d9a441 0%, #f5c96b 100%);
    color: #111827;
    box-shadow: 0 12px 30px rgba(217,164,65,0.24);
}

.bbhub-home--enterprise .bbhub-enterprise-trustline {
    margin-top: 24px;
}

.bbhub-home--enterprise .bbhub-enterprise-trustline span {
    color: #cbd5e1;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.09);
}

.bbhub-home--enterprise .bbhub-command-visual {
    position: relative;
    min-height: 620px;
}

.bbhub-home--enterprise .bbhub-command-visual__image {
    position: absolute;
    inset: 44px 0 46px 52px;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.16);
}

.bbhub-home--enterprise .bbhub-command-visual__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.bbhub-home--enterprise .bbhub-command-visual__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(8,17,31,0.10), rgba(8,17,31,0.66));
}

.bbhub-home--enterprise .bbhub-command-panel {
    position: absolute;
    width: min(340px, 82%);
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(8,17,31,0.78);
    color: #fff;
    box-shadow: 0 26px 80px rgba(0,0,0,0.38);
    backdrop-filter: blur(18px);
}

.bbhub-home--enterprise .bbhub-command-panel--top {
    top: 0;
    left: 0;
}

.bbhub-home--enterprise .bbhub-command-panel--bottom {
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.bbhub-home--enterprise .bbhub-command-panel__kicker {
    display: block;
    margin-bottom: 8px;
    color: #7dd3fc;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.bbhub-home--enterprise .bbhub-command-panel strong,
.bbhub-home--enterprise .bbhub-intelligence-card strong {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
}

.bbhub-home--enterprise .bbhub-command-panel p,
.bbhub-home--enterprise .bbhub-intelligence-card p {
    margin: 8px 0 0;
    color: #b6c6da;
    font-size: 13px;
    line-height: 1.55;
}

.bbhub-home--enterprise .bbhub-live-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--bbhub-enterprise-green);
    box-shadow: 0 0 0 0 rgba(34,197,94,0.48);
    animation: bbhub-enterprise-pulse 2.2s infinite;
    flex: 0 0 auto;
    margin-top: 4px;
}

@keyframes bbhub-enterprise-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.48); }
    70% { box-shadow: 0 0 0 12px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.bbhub-home--enterprise .bbhub-enterprise-metrics {
    margin-top: -38px;
    position: relative;
    z-index: 3;
    padding: 0 0 72px;
    background: linear-gradient(to bottom, transparent 0, #f7fafc 42px);
}

.bbhub-home--enterprise .bbhub-metrics-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 30px;
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 28px;
    background: rgba(255,255,255,0.94);
    box-shadow: 0 24px 70px rgba(15,23,42,0.12);
}

.bbhub-home--enterprise .bbhub-metrics-shell h2,
.bbhub-home--enterprise .bbhub-section-head h2,
.bbhub-home--enterprise .bbhub-intelligence-copy h2,
.bbhub-home--enterprise .bbhub-market-map-card h2,
.bbhub-home--enterprise .bbhub-final-cta h2 {
    margin: 0;
    color: var(--bbhub-enterprise-ink);
    font-size: clamp(30px, 3.2vw, 48px);
    line-height: 1.03;
    letter-spacing: -0.045em;
    font-weight: 950;
}

.bbhub-home--enterprise .bbhub-metrics-shell .bbhub-hero-card__metrics,
.bbhub-home--enterprise .bbhub-metrics-shell .bbhub-hero-metrics {
    margin: 0;
}

.bbhub-home--enterprise .bbhub-hero-card__metric,
.bbhub-home--enterprise .bbhub-hero-metrics > div {
    padding: 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,0.06);
}

.bbhub-home--enterprise .bbhub-hero-card__metric strong,
.bbhub-home--enterprise .bbhub-hero-metrics strong {
    color: #08111f;
}

.bbhub-home--enterprise .bbhub-hero-card__metric span,
.bbhub-home--enterprise .bbhub-hero-metrics span {
    color: #64748b;
}

.bbhub-home--enterprise .bbhub-enterprise-roles,
.bbhub-home--enterprise .bbhub-enterprise-process,
.bbhub-home--enterprise .bbhub-enterprise-trust,
.bbhub-home--enterprise .bbhub-enterprise-market-map {
    padding: 88px 0;
}

.bbhub-home--enterprise .bbhub-section-head {
    margin-bottom: 34px;
}

.bbhub-home--enterprise .bbhub-section-head p,
.bbhub-home--enterprise .bbhub-intelligence-copy p,
.bbhub-home--enterprise .bbhub-market-map-card p {
    max-width: 760px;
    color: #526173;
    font-size: 17px;
    line-height: 1.68;
}

.bbhub-home--enterprise .bbhub-role-path-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.bbhub-home--enterprise .bbhub-role-path {
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 20px 60px rgba(15,23,42,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bbhub-home--enterprise .bbhub-role-path:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 90px rgba(15,23,42,0.14);
}

.bbhub-home--enterprise .bbhub-role-path__media {
    height: 230px;
    overflow: hidden;
    background: #e2e8f0;
}

.bbhub-home--enterprise .bbhub-role-path__media img,
.bbhub-home--enterprise .bbhub-market-map-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.bbhub-home--enterprise .bbhub-role-path:hover .bbhub-role-path__media img {
    transform: scale(1.045);
}

.bbhub-home--enterprise .bbhub-role-path__body {
    padding: 26px;
}

.bbhub-home--enterprise .bbhub-role-path__body > span {
    display: inline-flex;
    margin-bottom: 12px;
    color: #1f6feb;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bbhub-home--enterprise .bbhub-role-path__body h3,
.bbhub-home--enterprise .bbhub-process-step h3,
.bbhub-home--enterprise .bbhub-control-card h3 {
    margin: 0 0 12px;
    color: #08111f;
    font-size: 24px;
    line-height: 1.12;
    letter-spacing: -0.025em;
    font-weight: 900;
}

.bbhub-home--enterprise .bbhub-role-path__body p,
.bbhub-home--enterprise .bbhub-process-step p,
.bbhub-home--enterprise .bbhub-control-card p {
    margin: 0 0 22px;
    color: #526173;
    font-size: 15px;
    line-height: 1.65;
}

.bbhub-home--enterprise .bbhub-enterprise-featured {
    padding: 88px 0;
    background:
        linear-gradient(180deg, #edf4fb 0%, #f7fafc 100%);
}

.bbhub-home--enterprise .bbhub-enterprise-featured .bbhub-listings {
    margin-bottom: 0;
}

.bbhub-home--enterprise .bbhub-intelligence-band {
    padding: 96px 0;
    color: #fff;
    background:
        radial-gradient(circle at 75% 25%, rgba(34,211,238,0.18), transparent 30%),
        linear-gradient(135deg, #08111f 0%, #0f1c32 100%);
}

.bbhub-home--enterprise .bbhub-intelligence-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.62fr);
    gap: 42px;
    align-items: center;
}

.bbhub-home--enterprise .bbhub-intelligence-copy h2,
.bbhub-home--enterprise .bbhub-final-cta h2 {
    color: #fff;
}

.bbhub-home--enterprise .bbhub-intelligence-copy p,
.bbhub-home--enterprise .bbhub-final-cta p {
    color: #b6c6da;
}

.bbhub-home--enterprise .bbhub-ai-chip-row span {
    color: #dbeafe;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
}

.bbhub-home--enterprise .bbhub-intelligence-card {
    padding: 26px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 30px 90px rgba(0,0,0,0.28);
    backdrop-filter: blur(16px);
}

.bbhub-home--enterprise .bbhub-intelligence-card__top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
}

.bbhub-home--enterprise .bbhub-signal-list {
    display: grid;
    gap: 12px;
}

.bbhub-home--enterprise .bbhub-signal-list div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    background: rgba(255,255,255,0.055);
}

.bbhub-home--enterprise .bbhub-signal-list span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #08111f;
    background: #f5c96b;
    font-size: 12px;
    font-weight: 950;
}

.bbhub-home--enterprise .bbhub-signal-list p {
    margin: 0;
}

.bbhub-home--enterprise .bbhub-process-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(15,23,42,0.08);
    background: rgba(15,23,42,0.08);
    box-shadow: 0 22px 70px rgba(15,23,42,0.08);
}

.bbhub-home--enterprise .bbhub-process-step {
    padding: 28px;
    background: #fff;
}

.bbhub-home--enterprise .bbhub-process-step span,
.bbhub-home--enterprise .bbhub-control-card span {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    height: 34px;
    padding: 0 10px;
    margin-bottom: 18px;
    border-radius: 999px;
    color: #08111f;
    background: #f5c96b;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bbhub-home--enterprise .bbhub-control-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bbhub-home--enterprise .bbhub-control-card {
    padding: 26px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 18px 55px rgba(15,23,42,0.07);
}

.bbhub-home--enterprise .bbhub-market-map-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
    gap: 34px;
    align-items: center;
    padding: 34px;
    border-radius: 34px;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 24px 80px rgba(15,23,42,0.10);
}

.bbhub-home--enterprise .bbhub-market-map-card img {
    min-height: 360px;
    border-radius: 26px;
}

.bbhub-home--enterprise .bbhub-enterprise-final {
    padding: 92px 0;
    background:
        radial-gradient(circle at 22% 20%, rgba(217,164,65,0.16), transparent 30%),
        linear-gradient(135deg, #07111f 0%, #101d33 100%);
}

.bbhub-home--enterprise .bbhub-final-cta {
    max-width: 820px;
}

.bbhub-home--enterprise .bbhub-final-cta p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.bbhub-home--enterprise .bbhub-btn {
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.bbhub-home--enterprise .bbhub-btn--primary {
    background: #08111f;
    color: #fff;
    box-shadow: 0 12px 28px rgba(8,17,31,0.18);
}

.bbhub-home--enterprise .bbhub-btn--primary:hover {
    background: #1f6feb;
    color: #fff;
}

.bbhub-registration-intro {
    margin: 0 0 22px;
    padding: 18px 20px;
    border: 1px solid rgba(29,78,216,0.18);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(219,234,254,0.85), rgba(248,250,252,0.96));
}

.bbhub-registration-intro .bbhub-eyebrow {
    margin: 0 0 8px;
    color: #1d4ed8;
}

.bbhub-registration-intro p:last-child {
    margin-bottom: 0;
}

.bbhub-home--enterprise .bbhub-commercial-lead {
    padding: 96px 0;
    background:
        radial-gradient(circle at 16% 16%, rgba(31,111,235,0.12), transparent 32%),
        linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
}

.bbhub-lead-capture {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
    gap: 32px;
    align-items: stretch;
    padding: 28px;
    border: 1px solid rgba(15,23,42,0.10);
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 26px 80px rgba(15,23,42,0.10);
}

.bbhub-lead-capture__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 30px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(72,187,255,0.18), transparent 34%),
        linear-gradient(135deg, #07111f 0%, #11213a 100%);
    color: #eaf2ff;
}

.bbhub-lead-capture__copy .bbhub-eyebrow {
    color: #63d7ff;
}

.bbhub-lead-capture__copy h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.bbhub-lead-capture__copy p {
    color: #b7c4d6;
    font-size: 16px;
    line-height: 1.75;
}

.bbhub-lead-capture__copy .bbhub-btn {
    align-self: flex-start;
    margin-top: 14px;
    border-color: rgba(255,255,255,0.28);
    color: #fff;
}

.bbhub-lead-capture__copy .bbhub-btn.bbhub-btn--ghost {
    background: #ffffff;
    color: #07111f;
    border-color: #ffffff;
}

.bbhub-lead-capture__copy .bbhub-btn.bbhub-btn--ghost:hover {
    background: #dbeafe;
    color: #07111f;
    border-color: #dbeafe;
}

.bbhub-lead-capture__form {
    display: grid;
    gap: 16px;
    padding: 8px;
}

.bbhub-lead-capture__form label {
    display: block;
    margin-bottom: 7px;
    color: #23324a;
    font-size: 13px;
    font-weight: 800;
}

.bbhub-lead-capture__form input,
.bbhub-lead-capture__form select,
.bbhub-lead-capture__form textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d6e0ef;
    border-radius: 14px;
    background: #f8fafc;
    color: #07111f;
    font-size: 15px;
}

.bbhub-lead-capture__form textarea {
    min-height: 130px;
}

.bbhub-lead-capture__form .bbhub-button--full {
    width: 100%;
    justify-content: center;
    min-height: 50px;
    border-radius: 14px;
    background: #1f6feb;
    font-weight: 900;
}

@media (max-width: 1080px) {
    .bbhub-home--enterprise .bbhub-enterprise-hero__grid,
    .bbhub-home--enterprise .bbhub-intelligence-grid,
    .bbhub-home--enterprise .bbhub-market-map-card {
        grid-template-columns: 1fr;
    }

    .bbhub-home--enterprise .bbhub-command-visual {
        min-height: 520px;
        max-width: 720px;
    }

    .bbhub-home--enterprise .bbhub-role-path-grid,
    .bbhub-home--enterprise .bbhub-control-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bbhub-home--enterprise .bbhub-process-rail {
        grid-template-columns: 1fr 1fr;
    }

    .bbhub-lead-capture {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .bbhub-home--enterprise .bbhub-enterprise-hero {
        padding: 22px 0 52px;
    }

    .bbhub-home--enterprise .bbhub-enterprise-hero__grid {
        gap: 34px;
    }

    .bbhub-home--enterprise .bbhub-enterprise-hero__copy h1 {
        font-size: clamp(36px, 11vw, 50px);
    }

    .bbhub-home--enterprise .bbhub-command-visual {
        display: flex;
        flex-direction: column;
        gap: 14px;
        min-height: 0;
        max-width: none;
    }

    .bbhub-home--enterprise .bbhub-command-visual__image {
        position: relative;
        inset: auto;
        order: 2;
        height: 360px;
        border-radius: 26px;
    }

    .bbhub-home--enterprise .bbhub-command-panel {
        position: relative;
        width: auto;
        margin-bottom: 0;
        padding: 18px;
        border-radius: 22px;
    }

    .bbhub-home--enterprise .bbhub-command-panel--top,
    .bbhub-home--enterprise .bbhub-command-panel--bottom {
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }

    .bbhub-home--enterprise .bbhub-command-panel--top {
        order: 1;
    }

    .bbhub-home--enterprise .bbhub-command-panel--bottom {
        order: 3;
    }

    .bbhub-home--enterprise .bbhub-metrics-shell,
    .bbhub-home--enterprise .bbhub-role-path-grid,
    .bbhub-home--enterprise .bbhub-control-grid,
    .bbhub-home--enterprise .bbhub-process-rail {
        grid-template-columns: 1fr;
    }

    .bbhub-home--enterprise .bbhub-enterprise-roles,
    .bbhub-home--enterprise .bbhub-enterprise-featured,
    .bbhub-home--enterprise .bbhub-enterprise-process,
    .bbhub-home--enterprise .bbhub-enterprise-trust,
    .bbhub-home--enterprise .bbhub-enterprise-market-map,
    .bbhub-home--enterprise .bbhub-commercial-lead,
    .bbhub-home--enterprise .bbhub-intelligence-band {
        padding: 62px 0;
    }

    .bbhub-home--enterprise .bbhub-market-map-card {
        padding: 22px;
        border-radius: 26px;
    }

    .bbhub-home--enterprise .bbhub-market-map-card img {
        min-height: 240px;
    }

    .bbhub-lead-capture {
        padding: 16px;
        border-radius: 24px;
    }

    .bbhub-lead-capture__copy {
        padding: 24px;
        border-radius: 20px;
    }
}

@media (max-width: 520px) {
    .bbhub-home--enterprise .bbhub-proof-strip span,
    .bbhub-home--enterprise .bbhub-enterprise-trustline span,
    .bbhub-home--enterprise .bbhub-ai-chip-row span {
        width: 100%;
        justify-content: center;
    }

    .bbhub-home--enterprise .bbhub-enterprise-search-card .bbhub-hero-search {
        display: grid;
        gap: 10px;
    }

    .bbhub-home--enterprise .bbhub-enterprise-search-card .bbhub-hero-search .bbhub-btn {
        width: 100%;
    }

    .bbhub-home--enterprise .bbhub-role-path__media {
        height: 190px;
    }

    .bbhub-home--enterprise .bbhub-command-visual__image {
        height: 300px;
    }

    .bbhub-home--enterprise .bbhub-command-panel strong,
    .bbhub-home--enterprise .bbhub-intelligence-card strong {
        font-size: 16px;
    }
}

/* Enterprise front page refinements */
.bbhub-home--enterprise .bbhub-enterprise-hero__grid {
    grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.78fr);
    gap: 44px;
}

.bbhub-home--enterprise .bbhub-enterprise-hero__copy h1 {
    max-width: 720px;
    font-size: clamp(40px, 5.1vw, 68px);
    line-height: 1.01;
    letter-spacing: -0.052em;
}

.bbhub-home--enterprise .bbhub-enterprise-hero__lead {
    max-width: 740px;
}

.bbhub-home--enterprise .bbhub-hero-actions {
    align-items: center;
    gap: 12px;
}

.bbhub-home--enterprise .bbhub-featured-head {
    align-items: center;
}

.bbhub-home--enterprise .bbhub-featured-actions {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.bbhub-home--enterprise .bbhub-directory-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid rgba(8, 17, 31, 0.14);
    border-radius: 999px;
    color: #08111f;
    background: #fff;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.bbhub-home--enterprise .bbhub-directory-cta--primary {
    min-height: 60px;
    padding: 16px 30px;
    color: #fff;
    background: linear-gradient(135deg, #08111f 0%, #1f6feb 100%);
    font-size: 20px;
    box-shadow: 0 18px 42px rgba(31, 111, 235, 0.22);
}

.bbhub-home--enterprise .bbhub-directory-cta:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.bbhub-home--enterprise .bbhub-enterprise-broker-safe {
    background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
}

.bbhub-home--enterprise .bbhub-section-head--center {
    justify-content: center;
}

.bbhub-home--enterprise .bbhub-section-head--center > div {
    margin-left: auto;
    margin-right: auto;
}

.bbhub-directory-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 0 14px;
    flex-wrap: wrap;
}

.bbhub-directory-toolbar .bbhub-filter-toggle {
    margin: 0;
}

.bbhub-view-toggle {
    display: inline-flex;
    gap: 6px;
    padding: 5px;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.bbhub-view-toggle a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #475569;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
}

.bbhub-view-toggle a.is-active {
    color: #fff;
    background: #08111f;
}

.bbhub-listing-table-shell {
    position: relative;
    overflow: auto;
    max-width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
    -webkit-overflow-scrolling: touch;
}

.bbhub-listings.bbhub-fullwidth {
    padding-left: clamp(20px, 4vw, 72px);
    padding-right: clamp(20px, 4vw, 72px);
}

.bbhub-listing-table-shell:focus {
    outline: 3px solid rgba(56, 189, 248, 0.28);
    outline-offset: 3px;
}

.bbhub-listing-table-hint {
    display: none;
    margin: 0;
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    color: #64748b;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 800;
}

.bbhub-listing-table {
    width: 100%;
    min-width: 1180px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    color: #0f172a;
    font-size: 14px;
}

.bbhub-listing-table-col--opportunity {
    width: 34%;
}

.bbhub-listing-table-col--industry,
.bbhub-listing-table-col--region {
    width: 13%;
}

.bbhub-listing-table-col--price,
.bbhub-listing-table-col--profit {
    width: 11%;
}

.bbhub-listing-table-col--access {
    width: 10%;
}

.bbhub-listing-table-col--action {
    width: 8%;
}

.bbhub-listing-table th,
.bbhub-listing-table td {
    padding: 13px 14px;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
    background: #fff;
}

.bbhub-listing-table th:last-child,
.bbhub-listing-table td:last-child {
    border-right: 0;
}

.bbhub-listing-table th {
    position: sticky;
    top: 0;
    z-index: 4;
    color: #475569;
    background: #eef4fb;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    white-space: nowrap;
}

.bbhub-listing-table th:first-child,
.bbhub-listing-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 3;
    background: #fff;
    box-shadow: 1px 0 0 #cbd5e1;
}

.bbhub-listing-table th:first-child {
    z-index: 5;
    background: #e8f1fb;
}

.bbhub-listing-table tbody tr:nth-child(even) td {
    background: #fbfdff;
}

.bbhub-listing-table tbody tr:nth-child(even) td:first-child {
    background: #fbfdff;
}

.bbhub-listing-table tbody tr:hover td {
    background: #f0f7ff;
}

.bbhub-listing-table-title {
    display: block;
    color: #08111f;
    font-weight: 900;
    line-height: 1.28;
    text-decoration: none;
}

.bbhub-table-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    color: #08111f;
    background: #fff;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.bbhub-listing-table-title:hover,
.bbhub-table-open:hover {
    color: #0f4bb3;
    border-color: #93c5fd;
    background: #eff6ff;
}

.bbhub-listing-table-summary,
.bbhub-listing-table-updated {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}

.bbhub-listing-table-updated {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
}

.bbhub-listing-table__industry,
.bbhub-listing-table__region {
    color: #334155;
    line-height: 1.38;
}

.bbhub-listing-table__money {
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

.bbhub-listing-table th:nth-child(4),
.bbhub-listing-table th:nth-child(5) {
    text-align: right;
}

.bbhub-listing-table__access,
.bbhub-listing-table__action {
    white-space: nowrap;
}

.bbhub-listing-table__access .bbhub-access-pill {
    max-width: 100%;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
}

.bbhub-access-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #0f172a;
    background: #eaf2ff;
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 900px) {
    .bbhub-listing-table-shell {
        margin-right: -14px;
        border-radius: 14px 0 0 14px;
    }

    .bbhub-listing-table-hint {
        display: block;
        position: sticky;
        left: 0;
        z-index: 6;
    }

    .bbhub-listing-table {
        min-width: 980px;
        font-size: 13px;
    }

    .bbhub-listing-table th,
    .bbhub-listing-table td {
        padding: 11px 10px;
    }

    .bbhub-listing-table-col--opportunity {
        width: 280px;
    }

    .bbhub-listing-table-col--industry,
    .bbhub-listing-table-col--region {
        width: 150px;
    }

    .bbhub-listing-table-col--price,
    .bbhub-listing-table-col--profit {
        width: 125px;
    }

    .bbhub-listing-table-col--access {
        width: 110px;
    }

    .bbhub-listing-table-col--action {
        width: 82px;
    }
}

@media (max-width: 760px) {
    .bbhub-listings.bbhub-fullwidth {
        padding-left: 28px;
        padding-right: 28px;
    }

    .bbhub-listing-table-shell {
        overflow: visible;
        margin-right: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .bbhub-listing-table-hint,
    .bbhub-listing-table colgroup,
    .bbhub-listing-table thead {
        display: none;
    }

    .bbhub-listing-table,
    .bbhub-listing-table tbody {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .bbhub-listing-table tbody {
        display: grid;
        gap: 14px;
    }

    .bbhub-listing-table tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 16px;
        border: 1px solid #dbe4ef;
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    }

    .bbhub-listing-table th,
    .bbhub-listing-table td,
    .bbhub-listing-table th:first-child,
    .bbhub-listing-table td:first-child,
    .bbhub-listing-table tbody tr:nth-child(even) td,
    .bbhub-listing-table tbody tr:nth-child(even) td:first-child,
    .bbhub-listing-table tbody tr:hover td {
        position: static;
        display: block;
        width: auto;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        text-align: left;
        white-space: normal;
    }

    .bbhub-listing-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: #94a3b8;
        font-size: 10px;
        font-weight: 900;
        letter-spacing: 0.08em;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .bbhub-listing-table__opportunity,
    .bbhub-listing-table__action {
        grid-column: 1 / -1;
    }

    .bbhub-listing-table__opportunity::before {
        display: none !important;
    }

    .bbhub-listing-table-title {
        font-size: 16px;
        line-height: 1.28;
        text-decoration: none !important;
    }

    .bbhub-listing-table-summary {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.45;
    }

    .bbhub-listing-table-updated {
        margin-top: 7px;
    }

    .bbhub-listing-table__money {
        text-align: left;
        white-space: normal;
    }

    .bbhub-listing-table__access .bbhub-access-pill {
        white-space: nowrap;
    }

    .bbhub-table-open {
        width: 100%;
        min-height: 42px;
        border-color: #08111f !important;
        color: #fff !important;
        background: #08111f !important;
        text-decoration: none !important;
    }

    .bbhub-table-open:visited,
    .bbhub-table-open:hover,
    .bbhub-table-open:focus {
        color: #fff !important;
        border-color: #0f4bb3 !important;
        background: #0f4bb3 !important;
        text-decoration: none !important;
    }

    .bbhub-card {
        border-radius: 18px;
    }

    .bbhub-card-title {
        font-size: 16px;
        line-height: 1.28;
    }

    .bbhub-card-summary {
        font-size: 13px;
    }

    .bbhub-card-footer {
        gap: 14px;
    }

    .bbhub-card-price__value {
        font-size: 16px;
    }
}

@media (max-width: 1080px) {
    .bbhub-home--enterprise .bbhub-enterprise-hero__grid {
        grid-template-columns: 1fr;
    }

    .bbhub-home--enterprise .bbhub-featured-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .bbhub-home--enterprise .bbhub-enterprise-hero__copy h1 {
        font-size: clamp(35px, 10vw, 48px);
        line-height: 1.04;
    }

    .bbhub-home--enterprise .bbhub-featured-actions,
    .bbhub-home--enterprise .bbhub-directory-cta,
    .bbhub-home--enterprise .bbhub-directory-cta--primary {
        width: 100%;
    }

    .bbhub-directory-toolbar {
        align-items: stretch;
    }

    .bbhub-view-toggle {
        width: 100%;
    }

    .bbhub-view-toggle a {
        flex: 1;
    }
}

/* Front page spacing guard. */
.bbhub-home--enterprise .bbhub-enterprise-hero > .bbhub-enterprise-hero__grid {
    padding-top: 40px !important;
}

@media (max-width: 760px) {
    .bbhub-home--enterprise .bbhub-enterprise-hero > .bbhub-enterprise-hero__grid {
        padding-top: 30px !important;
    }
}

/* Commercial UI test pass: forms, listing back action, pagination, legal pages. */
.bbhub-page-wrap,
.bbhub-dashboard,
.bbhub-workspace,
.bbhub-workspace-main,
.bbhub-form,
.bbhub-form-grid,
.bbhub-form-grid > div,
.bbhub-management-filters,
.bbhub-management-filters > div,
.bbhub-bulk-fields {
    min-width: 0;
    box-sizing: border-box;
}

.bbhub-auth-form {
    width: 100%;
    max-width: 820px;
    margin: 28px auto 48px;
}

.bbhub-form-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)) !important;
    gap: 18px 22px !important;
    row-gap: 18px !important;
    column-gap: 22px !important;
}

.bbhub-auth-form .bbhub-form-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)) !important;
}

.bbhub-form input:not([type="checkbox"]):not([type="radio"]),
.bbhub-form select,
.bbhub-form textarea,
.bbhub-management-filters input,
.bbhub-management-filters select,
.bbhub-bulk-fields select,
.bbhub-filters input,
.bbhub-filters select,
.bbhub-hero-search input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.bbhub-form input[type="file"] {
    overflow: hidden;
    padding: 9px 10px;
    font-size: 0.9rem;
}

.bbhub-form input[type="checkbox"],
.bbhub-form input[type="radio"] {
    flex: 0 0 auto;
}

.bbhub-form label:has(input[type="checkbox"]),
.bbhub-form label:has(input[type="radio"]) {
    max-width: 100%;
}

@media (max-width: 720px) {
    .bbhub-page-wrap.bbhub-fullwidth {
        padding-left: 14px;
        padding-right: 14px;
    }

    .bbhub-dashboard {
        padding: 16px;
    }
}

.bbhub-listing-top-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 18px;
}

.bbhub-back-to-listings {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.bbhub-back-to-listings:hover,
.bbhub-back-to-listings:focus {
    color: #0f172a;
    border-color: #94a3b8;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.bbhub-back-to-listings span {
    font-size: 1.1rem;
    line-height: 1;
}

.bbhub-pagination {
    display: flex;
    justify-content: center;
    margin: 34px 0 10px;
}

.bbhub-pagination ul.page-numbers,
.bbhub-pagination .page-numbers {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bbhub-pagination ul.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bbhub-pagination ul.page-numbers li {
    display: block;
    margin: 0;
    padding: 0;
}

.bbhub-pagination a.page-numbers,
.bbhub-pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 9px 13px;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.bbhub-pagination a.page-numbers:hover,
.bbhub-pagination a.page-numbers:focus {
    border-color: #94a3b8;
    color: #0f172a;
    text-decoration: none;
    transform: translateY(-1px);
}

.bbhub-pagination span.page-numbers.current {
    border-color: #0f172a;
    background: #0f172a;
    color: #ffffff;
}

.bbhub-pagination span.page-numbers.dots {
    min-width: 32px;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    color: #94a3b8;
}

body.bbhub-legal-surface {
    margin: 0;
    background: #f8fafc;
}

body.bbhub-legal-surface * {
    box-sizing: border-box;
}

.bbhub-legal-page {
    width: 100%;
    min-height: 70vh;
    padding: clamp(30px, 5vw, 72px) clamp(16px, 4vw, 44px);
    background:
        radial-gradient(circle at 15% 0%, rgba(29, 78, 216, 0.10), transparent 32%),
        linear-gradient(180deg, #f8fafc 0%, #edf4fb 100%);
}

.bbhub-legal-page.alignfull {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.bbhub-legal-page__inner {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 52px);
    border: 1px solid #dbe4ef;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.11);
}

.bbhub-legal-page__eyebrow {
    margin: 0 0 10px;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.bbhub-legal-page h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.bbhub-legal-page__updated {
    margin: 12px 0 28px;
    color: #64748b;
    font-size: 0.95rem;
}

.bbhub-legal-page__content {
    color: #334155;
    font-size: 1rem;
    line-height: 1.72;
}

.bbhub-legal-page__content :where(h2, h3, h4) {
    color: #0f172a;
    line-height: 1.18;
}

.bbhub-legal-page__content h2 {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid #e2e8f0;
    font-size: 1.5rem;
}

.bbhub-legal-page__content h3 {
    margin-top: 24px;
    font-size: 1.15rem;
}

.bbhub-legal-page__content a {
    color: #1d4ed8;
    font-weight: 700;
}

.bbhub-legal-page__content :where(p, ul, ol) {
    margin-top: 0;
    margin-bottom: 16px;
}

.bbhub-legal-page__content :where(ul, ol) {
    padding-left: 1.25rem;
}

/* v0.1.53: final full-page auth/legal spacing correction. */
body:has(.bbhub-auth-page),
body.bbhub-legal-surface {
    overflow-x: hidden;
}

body:has(.bbhub-auth-page) :where(#page, #content, #main, main, #primary, .site-content, .site-main, .entry-content, .page-content, .wp-block-post-content),
body.bbhub-legal-surface :where(#page, #content, #main, main, #primary, .site-content, .site-main, .entry-content, .page-content, .wp-block-post-content) {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.bbhub-auth-page.bbhub-fullwidth {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 10px clamp(14px, 2vw, 30px) 18px !important;
    left: auto !important;
    right: auto !important;
}

.bbhub-auth-page {
    min-height: calc(100svh - 61px);
    justify-content: flex-start !important;
    gap: 0 !important;
}

.bbhub-auth-page .bbhub-auth-form {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(16px, 2vw, 26px) !important;
    border-radius: 18px;
}

.bbhub-auth-form h2 {
    margin-bottom: 14px !important;
    font-size: clamp(1.65rem, 2.4vw, 2.35rem) !important;
    line-height: 1.02 !important;
}

.bbhub-auth-form .bbhub-form {
    gap: 10px !important;
}

.bbhub-auth-form .bbhub-form-grid {
    gap: 10px 16px !important;
    row-gap: 10px !important;
    column-gap: 16px !important;
}

.bbhub-auth-form label {
    font-size: 0.78rem !important;
    line-height: 1.15 !important;
}

.bbhub-auth-form .bbhub-form input:not([type="checkbox"]):not([type="radio"]),
.bbhub-auth-form .bbhub-form select,
.bbhub-auth-form .bbhub-form textarea {
    min-height: 38px !important;
    padding: 7px 10px !important;
    font-size: 0.9rem !important;
}

.bbhub-auth-form .bbhub-button {
    min-height: 38px !important;
    padding: 8px 16px !important;
    font-size: 0.9rem !important;
}

.bbhub-auth-form p {
    margin: 5px 0 !important;
    font-size: 0.86rem !important;
    line-height: 1.3 !important;
}

.bbhub-auth-form h3 {
    margin: 10px 0 8px !important;
    font-size: 0.98rem !important;
}

.bbhub-auth-form hr {
    margin: 10px 0 !important;
}

.bbhub-auth-form .bbhub-registration-intro {
    margin-bottom: 10px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
}

.bbhub-auth-form .bbhub-registration-intro .bbhub-eyebrow {
    margin-bottom: 5px !important;
    font-size: 0.67rem !important;
}

.bbhub-auth-form .bbhub-registration-intro p:last-child {
    font-size: 0.92rem !important;
    line-height: 1.32 !important;
}

.bbhub-auth-form--login {
    min-height: auto !important;
}

.bbhub-legal-surface .bbhub-legal-page {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 12px clamp(14px, 2vw, 30px) 18px !important;
}

.bbhub-legal-page__inner {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(18px, 2vw, 30px) !important;
    border-radius: 18px !important;
}

.bbhub-legal-page__eyebrow {
    margin-bottom: 6px !important;
    font-size: 0.7rem !important;
}

.bbhub-legal-page h1 {
    font-size: clamp(1.85rem, 3vw, 2.7rem) !important;
}

.bbhub-legal-page__updated {
    margin: 8px 0 18px !important;
    font-size: 0.84rem !important;
}

.bbhub-legal-page__content {
    font-size: 0.92rem !important;
    line-height: 1.58 !important;
}

.bbhub-legal-page__content h2 {
    margin-top: 20px !important;
    padding-top: 14px !important;
    font-size: 1.22rem !important;
}

.bbhub-legal-page__content h3 {
    margin-top: 16px !important;
    font-size: 1rem !important;
}

.bbhub-legal-page__content :where(p, ul, ol) {
    margin-bottom: 10px !important;
}

.bbhub-legal-surface .bbhub-site-footer {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.bbhub-legal-surface .bbhub-site-footer .bbhub-container {
    width: 100%;
    max-width: none;
    padding-left: clamp(20px, 4vw, 70px);
    padding-right: clamp(20px, 4vw, 70px);
}

@media (min-width: 1100px) {
    .bbhub-auth-form--register .bbhub-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    .bbhub-auth-page.bbhub-fullwidth,
    .bbhub-legal-surface .bbhub-legal-page {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .bbhub-auth-page .bbhub-auth-form,
    .bbhub-legal-page__inner {
        padding: 14px !important;
        border-radius: 14px !important;
    }

    .bbhub-auth-form h2,
    .bbhub-legal-page h1 {
        font-size: 1.65rem !important;
    }

    .bbhub-legal-page__content {
        font-size: 0.88rem !important;
    }

    .bbhub-legal-surface .bbhub-site-footer {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .bbhub-legal-surface .bbhub-site-footer .bbhub-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Follow-up legal/auth layout stabilization. */
.bbhub-legal-surface .bbhub-legal-page,
.bbhub-legal-surface .bbhub-site-footer {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.bbhub-legal-surface .bbhub-legal-page {
    padding-top: clamp(34px, 5vw, 72px);
}

.bbhub-legal-surface .bbhub-site-footer {
    clear: both;
}

.bbhub-auth-page {
    min-height: calc(100vh - 61px);
    justify-content: center;
    padding-top: clamp(18px, 3vh, 38px);
    padding-bottom: clamp(18px, 3vh, 38px);
    background:
        radial-gradient(circle at 18% 12%, rgba(29, 78, 216, 0.10), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}

.bbhub-auth-page .bbhub-auth-form {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(22px, 2.8vw, 34px);
    border-radius: 24px;
}

.bbhub-auth-form--login {
    max-width: 1120px !important;
}

.bbhub-auth-form h2 {
    margin: 0 0 20px;
    color: #0f172a;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.bbhub-auth-form h3 {
    margin: 18px 0 12px;
    color: #0f172a;
    font-size: 1.1rem;
    line-height: 1.2;
}

.bbhub-auth-form .bbhub-form {
    gap: 14px;
}

.bbhub-auth-form .bbhub-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 18px !important;
    row-gap: 12px !important;
    column-gap: 18px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-top: none !important;
}

.bbhub-auth-form .bbhub-form-grid > div {
    gap: 6px;
}

.bbhub-auth-form label {
    font-size: 0.86rem;
}

.bbhub-auth-form .bbhub-form input:not([type="checkbox"]):not([type="radio"]),
.bbhub-auth-form .bbhub-form select,
.bbhub-auth-form .bbhub-form textarea {
    min-height: 44px;
    padding: 9px 12px;
}

.bbhub-auth-form p {
    margin: 8px 0;
    padding: 0 !important;
    color: #334155;
    font-size: 0.98rem !important;
    line-height: 1.45;
    text-align: left !important;
}

.bbhub-auth-form p a {
    color: #1d4ed8;
    font-size: inherit !important;
    font-weight: 800;
}

.bbhub-auth-form hr {
    margin: 18px 0;
    border: 0;
    border-top: 1px solid #e2e8f0;
}

.bbhub-auth-form .bbhub-button {
    min-height: 44px;
    padding: 10px 18px;
}

.bbhub-auth-form .bbhub-checkbox-label,
.bbhub-auth-form label:has(input[type="checkbox"]) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
}

.bbhub-auth-form .bbhub-registration-intro {
    margin-bottom: 16px;
    padding: 16px 18px;
}

.bbhub-auth-form .bbhub-registration-intro p:last-child {
    font-size: clamp(1rem, 1.45vw, 1.3rem) !important;
    line-height: 1.38;
}

.bbhub-auth-form--login form:first-of-type {
    max-width: 100%;
}

@media (max-width: 760px) {
    .bbhub-auth-page {
        min-height: auto;
        justify-content: flex-start;
        padding-top: 16px;
        padding-bottom: 24px;
    }

    .bbhub-auth-page .bbhub-auth-form {
        padding: 18px 16px;
        border-radius: 18px;
    }

    .bbhub-auth-form .bbhub-form-grid {
        grid-template-columns: 1fr !important;
    }

    .bbhub-auth-form h2 {
        font-size: 2rem;
    }

    .bbhub-auth-form .bbhub-registration-intro {
        padding: 14px;
    }

    .bbhub-legal-page {
        padding: 22px 14px;
    }

    .bbhub-legal-page__inner {
        padding: 22px 16px;
        border-radius: 18px;
    }
}

/* v0.1.54: compact enterprise hero and longer public brand name support. */
.bbhub-site-nav__inner {
    gap: 16px;
}

.bbhub-site-nav__logo {
    gap: 5px;
    max-width: 34vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bbhub-site-nav__logo em {
    flex: 0 0 auto;
}

.bbhub-site-nav__links {
    gap: 5px;
}

.bbhub-site-nav__links a {
    padding-left: 9px;
    padding-right: 9px;
    font-size: 13.5px;
}

.bbhub-home--enterprise .bbhub-enterprise-hero {
    padding: clamp(14px, 2vh, 24px) 0 clamp(28px, 4vh, 44px) !important;
}

.bbhub-home--enterprise .bbhub-enterprise-hero__grid {
    grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr) !important;
    gap: clamp(24px, 3.3vw, 42px) !important;
}

.bbhub-home--enterprise .bbhub-proof-strip {
    margin-bottom: 12px !important;
    gap: 8px !important;
}

.bbhub-home--enterprise .bbhub-proof-strip span,
.bbhub-home--enterprise .bbhub-enterprise-trustline span {
    min-height: 26px !important;
    padding: 5px 10px !important;
    font-size: 10.5px !important;
}

.bbhub-home--enterprise .bbhub-eyebrow {
    margin-bottom: 8px !important;
    font-size: 10.5px !important;
    letter-spacing: 0.18em !important;
}

.bbhub-home--enterprise .bbhub-enterprise-hero__copy h1 {
    max-width: 690px !important;
    margin-bottom: 12px !important;
    font-size: clamp(36px, 4.1vw, 58px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.058em !important;
}

.bbhub-home--enterprise .bbhub-enterprise-hero__lead {
    max-width: 700px !important;
    margin-bottom: 14px !important;
    font-size: clamp(14px, 1.18vw, 17px) !important;
    line-height: 1.45 !important;
}

.bbhub-home--enterprise .bbhub-enterprise-search-card {
    max-width: 700px !important;
    margin-bottom: 10px !important;
    padding: 8px !important;
    border-radius: 18px !important;
}

.bbhub-home--enterprise .bbhub-enterprise-search-card__label {
    margin-bottom: 5px !important;
    font-size: 10.5px !important;
}

.bbhub-home--enterprise .bbhub-enterprise-search-card .bbhub-hero-search input,
.bbhub-home--enterprise .bbhub-enterprise-search-card .bbhub-hero-search .bbhub-btn {
    min-height: 46px !important;
    border-radius: 12px !important;
}

.bbhub-home--enterprise .bbhub-enterprise-trustline {
    margin-top: 10px !important;
    gap: 8px !important;
}

.bbhub-home--enterprise .bbhub-command-visual {
    min-height: clamp(430px, 54vh, 500px) !important;
}

.bbhub-home--enterprise .bbhub-command-visual__image {
    inset: 42px 0 34px 36px !important;
    border-radius: 26px !important;
}

.bbhub-home--enterprise .bbhub-command-panel {
    width: min(310px, 82%) !important;
    padding: 16px !important;
    border-radius: 18px !important;
}

.bbhub-home--enterprise .bbhub-command-panel__kicker {
    margin-bottom: 6px !important;
    font-size: 10px !important;
}

.bbhub-home--enterprise .bbhub-command-panel strong {
    font-size: 16px !important;
}

.bbhub-home--enterprise .bbhub-command-panel p {
    margin-top: 6px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

@media (max-width: 1100px) {
    .bbhub-site-nav__toggle {
        display: flex;
    }

    .bbhub-site-nav__links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 199;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px 16px;
        background: #0f172a;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .bbhub-site-nav__links.is-open {
        display: flex;
    }

    .bbhub-site-nav__links a {
        padding: 10px 12px;
        font-size: 15px;
    }

    .bbhub-site-nav__logo {
        max-width: min(68vw, 520px);
    }

    .bbhub-site-nav__inner {
        position: relative;
    }
}

@media (max-width: 980px) {
    .bbhub-home--enterprise .bbhub-enterprise-hero__grid {
        grid-template-columns: 1fr !important;
    }

    .bbhub-home--enterprise .bbhub-command-visual {
        min-height: 390px !important;
    }
}

@media (max-width: 760px) {
    .bbhub-site-nav__logo {
        max-width: 72vw;
        font-size: 16px;
    }

    .bbhub-site-nav__logo em {
        display: none;
    }

    .bbhub-home--enterprise .bbhub-enterprise-hero {
        padding-top: 14px !important;
    }

    .bbhub-home--enterprise .bbhub-proof-strip {
        margin-bottom: 10px !important;
    }

    .bbhub-home--enterprise .bbhub-enterprise-hero__copy h1 {
        font-size: clamp(31px, 11vw, 44px) !important;
    }

    .bbhub-home--enterprise .bbhub-enterprise-hero__lead {
        font-size: 15px !important;
        line-height: 1.45 !important;
    }

    .bbhub-home--enterprise .bbhub-command-visual {
        min-height: 320px !important;
    }

    .bbhub-home--enterprise .bbhub-command-visual__image {
        inset: 42px 0 24px 22px !important;
    }

    .bbhub-home--enterprise .bbhub-command-panel {
        width: min(292px, 88%) !important;
        padding: 14px !important;
    }
}

/* v0.1.55: single listing contrast and gated document cards. */
.bbhub-listing-detail .bbhub-listing-fact--primary,
.bbhub-single-listing-main .bbhub-listing-fact--primary {
    background: linear-gradient(135deg, #06111f 0%, #10213a 100%) !important;
}

.bbhub-listing-detail .bbhub-listing-fact--primary span,
.bbhub-single-listing-main .bbhub-listing-fact--primary span {
    color: #bfdbfe !important;
}

.bbhub-listing-detail .bbhub-listing-fact--primary strong,
.bbhub-single-listing-main .bbhub-listing-fact--primary strong {
    color: #ffffff !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.bbhub-listing-panel--documents {
    background: #ffffff;
    border-color: #dbeafe;
}

.bbhub-listing-document-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.bbhub-listing-document-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.bbhub-listing-document-card:hover {
    transform: translateY(-1px);
    border-color: #93c5fd;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
}

.bbhub-listing-document-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #0f172a;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.bbhub-listing-document-card__body {
    min-width: 0;
}

.bbhub-listing-document-card__body strong {
    display: block;
    overflow: hidden;
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bbhub-listing-document-card__body small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.bbhub-listing-document-card__action {
    padding: 7px 10px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
}

.bbhub-listing-document-empty {
    padding: 14px;
    border: 1px dashed #bfdbfe;
    border-radius: 14px;
    background: #f8fbff;
}

.bbhub-listing-document-empty strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
}

.bbhub-listing-document-empty p {
    margin-top: 4px !important;
    color: #64748b;
}

@media (max-width: 520px) {
    .bbhub-listing-document-card {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .bbhub-listing-document-card__action {
        grid-column: 1 / -1;
        justify-self: flex-start;
    }
}

/* v0.1.65: digital agreement review and consent surfaces. */
.bbhub-agreement-consent,
.bbhub-agreement-previews {
    display: grid;
    gap: 14px;
}

.bbhub-agreement-consent {
    margin: 18px 0;
    padding: 16px;
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.7);
}

.bbhub-agreement-preview {
    border: 1px solid #d8e1ef;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.bbhub-agreement-preview summary {
    cursor: pointer;
    padding: 12px 14px;
    font-weight: 750;
    color: #07111f;
}

.bbhub-agreement-preview__body {
    max-height: 360px;
    overflow: auto;
    padding: 0 14px 14px;
    border-top: 1px solid #edf2f7;
}

.bbhub-agreement-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 12px 0;
    font-size: 0.86rem;
    color: #64748b;
}

.bbhub-agreement-body :where(h2, h3) {
    color: #07111f;
    margin: 18px 0 8px;
}

.bbhub-agreement-body p {
    color: #334155;
    line-height: 1.65;
}

.bbhub-agreement-checkbox {
    align-items: flex-start;
}

@media (max-width: 720px) {
    .bbhub-agreement-consent {
        padding: 12px;
        border-radius: 14px;
    }

    .bbhub-agreement-preview__body {
        max-height: 300px;
    }
}

/* Blog archive cards and mobile front page rhythm. */
body.bbhub-blog-surface,
body.bbhub-blog-surface .wp-site-blocks,
body.bbhub-blog-surface #page,
body.bbhub-blog-surface #content,
body.bbhub-blog-surface main,
body.bbhub-blog-surface #primary {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: #07111f !important;
}

body.bbhub-blog-surface main > .wp-block-group,
body.bbhub-blog-surface main > .wp-block-group.has-global-padding,
body.bbhub-blog-surface .entry-content,
body.bbhub-blog-surface .page-content,
body.bbhub-blog-surface .wp-block-post-content,
body.bbhub-blog-surface .bbhub-blog-page {
    width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: #07111f !important;
}

body.bbhub-blog-surface .bbhub-site-nav + *,
body.bbhub-blog-surface .wp-site-blocks > main {
    margin-top: 0 !important;
}

.bbhub-blog-archive {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-height: calc(100vh - 60px);
    padding: clamp(52px, 7vw, 92px) max(24px, calc((100vw - 1220px) / 2)) clamp(64px, 8vw, 108px);
    background:
        radial-gradient(circle at 12% 0%, rgba(56, 189, 248, 0.14), transparent 30rem),
        radial-gradient(circle at 86% 8%, rgba(245, 184, 75, 0.09), transparent 26rem),
        #07111f;
    color: #f8fafc;
    font-family: Inter, sans-serif;
}

body.bbhub-blog-surface .bbhub-site-footer {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.bbhub-blog-archive * {
    box-sizing: border-box;
}

.bbhub-blog-archive__head {
    max-width: 820px;
    margin: 0 0 34px;
}

.bbhub-blog-eyebrow {
    margin: 0 0 12px;
    color: #38bdf8 !important;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bbhub-blog-archive__head h1 {
    margin: 0 0 16px;
    color: #f8fafc;
    font-family: Manrope, Inter, sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.bbhub-blog-archive__head p {
    max-width: 720px;
    margin: 0;
    color: #b8c7d9;
    font-size: 17px;
    line-height: 1.65;
}

.bbhub-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bbhub-blog-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(184, 199, 217, 0.18);
    border-radius: 20px;
    background: rgba(17, 24, 39, 0.84);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
}

.bbhub-blog-card__link {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.bbhub-blog-card__media {
    position: relative;
    min-height: 190px;
    background: #0b1525;
}

.bbhub-blog-card__image,
.bbhub-blog-card__placeholder {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.bbhub-blog-card__image {
    opacity: 0.82;
    filter: saturate(0.94) contrast(1.04);
}

.bbhub-blog-card__placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 26% 20%, rgba(56, 189, 248, 0.22), transparent 15rem),
        linear-gradient(135deg, #0b1525, #111827);
}

.bbhub-blog-card__placeholder span {
    color: rgba(56, 189, 248, 0.58);
    font-family: Manrope, Inter, sans-serif;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.bbhub-blog-card__badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    max-width: calc(100% - 32px);
    padding: 7px 10px;
    border: 1px solid rgba(56, 189, 248, 0.42);
    border-radius: 999px;
    background: rgba(7, 17, 31, 0.86);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bbhub-blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.bbhub-blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 12px;
    color: #7f91a8;
    font-size: 12px;
    font-weight: 700;
}

.bbhub-blog-card h2 {
    margin: 0 0 12px;
    color: #f8fafc;
    font-family: Manrope, Inter, sans-serif;
    font-size: 22px;
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.bbhub-blog-card p {
    margin: 0 0 18px;
    color: #b8c7d9;
    font-size: 14px;
    line-height: 1.58;
}

.bbhub-blog-card__action {
    margin-top: auto;
    color: #38bdf8;
    font-size: 14px;
    font-weight: 900;
}

.bbhub-blog-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 34px;
}

.bbhub-blog-pagination a {
    display: inline-grid;
    min-width: 42px;
    min-height: 42px;
    place-items: center;
    border: 1px solid rgba(184, 199, 217, 0.22);
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.82);
    color: #b8c7d9;
    font-weight: 900;
    text-decoration: none;
}

.bbhub-blog-pagination a.is-active,
.bbhub-blog-pagination a:hover {
    border-color: rgba(245, 184, 75, 0.92);
    background: #f5b84b;
    color: #07111f;
}

.bbhub-blog-empty {
    padding: 28px;
    border: 1px solid rgba(184, 199, 217, 0.18);
    border-radius: 20px;
    background: rgba(17, 24, 39, 0.84);
}

.bbhub-blog-empty h2 {
    margin: 0 0 10px;
    color: #f8fafc;
}

.bbhub-blog-empty p {
    margin: 0;
    color: #b8c7d9;
}

body.single-post {
    background: #07111f;
}

body.single-post .wp-site-blocks,
body.single-post #page,
body.single-post #content,
body.single-post main,
body.single-post #primary {
    background: #07111f !important;
}

body.single-post.bbhub-blog-surface article,
body.single-post.bbhub-blog-surface article.post,
body.single-post.bbhub-blog-surface .post,
body.single-post.bbhub-blog-surface .type-post,
body.single-post.bbhub-blog-surface .entry,
body.single-post.bbhub-blog-surface .entry-header,
body.single-post.bbhub-blog-surface .wp-block-post,
body.single-post.bbhub-blog-surface .wp-block-post-title,
body.single-post.bbhub-blog-surface .wp-block-post-content {
    background: #07111f !important;
}

body.single-post article.post,
body.single-post .wp-block-post,
body.single-post .entry-content,
body.single-post .wp-block-post-content {
    max-width: 980px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.single-post article.post,
body.single-post .wp-block-post {
    padding: clamp(34px, 5vw, 64px) 24px clamp(56px, 7vw, 92px) !important;
}

body.single-post .entry-title,
body.single-post .wp-block-post-title {
    max-width: 980px;
    margin: 0 auto 22px !important;
    color: #f8fafc !important;
    font-family: Manrope, Inter, sans-serif !important;
    font-size: clamp(34px, 5vw, 62px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.055em !important;
}

body.single-post.bbhub-blog-surface .entry-meta,
body.single-post.bbhub-blog-surface .wp-block-post-author,
body.single-post.bbhub-blog-surface .wp-block-post-date,
body.single-post.bbhub-blog-surface .wp-block-post-terms {
    max-width: 980px;
    margin-left: auto !important;
    margin-right: auto !important;
    color: #b8c7d9 !important;
}

body.single-post.bbhub-blog-surface .entry-meta a,
body.single-post.bbhub-blog-surface .wp-block-post-author a,
body.single-post.bbhub-blog-surface .wp-block-post-date a,
body.single-post.bbhub-blog-surface .wp-block-post-terms a {
    color: #38bdf8 !important;
}

body.single-post .entry-content,
body.single-post .wp-block-post-content {
    padding: clamp(24px, 4vw, 42px) !important;
    border: 1px solid rgba(184, 199, 217, 0.18);
    border-radius: 24px;
    background: rgba(17, 24, 39, 0.84);
    color: #b8c7d9;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
}

body.single-post .entry-content :where(p, li),
body.single-post .wp-block-post-content :where(p, li) {
    color: #b8c7d9 !important;
    font-size: 17px;
    line-height: 1.75;
}

body.single-post .entry-content :where(h2, h3, h4),
body.single-post .wp-block-post-content :where(h2, h3, h4) {
    color: #f8fafc !important;
    font-family: Manrope, Inter, sans-serif !important;
}

body.single-post .entry-content a,
body.single-post .wp-block-post-content a {
    color: #38bdf8;
}

@media (max-width: 980px) {
    .bbhub-site-nav__toggle {
        display: flex;
    }

    .bbhub-site-nav__links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 199;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        background: #0f172a;
    }

    .bbhub-site-nav__links.is-open {
        display: flex;
    }

    .bbhub-site-nav__links a {
        padding: 10px 12px;
        font-size: 15px;
    }

    .bbhub-site-nav__inner {
        position: relative;
    }
}

@media (max-width: 980px) {
    .bbhub-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .bbhub-blog-archive {
        padding: 34px 16px 58px;
    }

    .bbhub-blog-archive__head {
        margin-bottom: 22px;
    }

    .bbhub-blog-archive__head h1 {
        font-size: clamp(30px, 9vw, 38px);
    }

    .bbhub-blog-archive__head p {
        font-size: 14px;
        line-height: 1.55;
    }

    .bbhub-blog-grid {
        display: flex;
        gap: 14px;
        margin-right: -16px;
        overflow-x: auto;
        padding: 0 16px 12px 0;
        scroll-snap-type: x mandatory;
    }

    .bbhub-blog-card {
        flex: 0 0 min(84vw, 340px);
        scroll-snap-align: start;
    }

    .bbhub-blog-card__media,
    .bbhub-blog-card__image,
    .bbhub-blog-card__placeholder {
        min-height: 150px;
        height: 150px;
    }

    .bbhub-blog-card__body {
        padding: 16px;
    }

    .bbhub-blog-card h2 {
        font-size: 18px;
    }

    .bbhub-home--enterprise.alignfull .bbhub-enterprise-hero {
        padding: 18px 0 18px !important;
    }

    .bbhub-home--enterprise.alignfull .bbhub-enterprise-hero > .bbhub-enterprise-hero__grid,
    .bbhub-home--enterprise.alignfull .bbhub-proof-grid,
    .bbhub-home--enterprise .bbhub-container {
        width: min(100% - 28px, 1280px) !important;
    }

    .bbhub-home--enterprise.alignfull .bbhub-enterprise-hero__copy h1 {
        font-size: clamp(28px, 8vw, 34px) !important;
        line-height: 1.03 !important;
    }

    .bbhub-home--enterprise.alignfull .bbhub-enterprise-hero__lead {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .bbhub-home--enterprise .bbhub-enterprise-featured,
    .bbhub-home--enterprise .bbhub-enterprise-roles,
    .bbhub-home--enterprise .bbhub-intelligence-band,
    .bbhub-home--enterprise .bbhub-enterprise-trust,
    .bbhub-home--enterprise .bbhub-enterprise-market-map,
    .bbhub-home--enterprise .bbhub-commercial-lead,
    .bbhub-home--enterprise .bbhub-enterprise-final {
        padding: 36px 0 !important;
    }

    .bbhub-home--enterprise .bbhub-listings-grid,
    .bbhub-home--enterprise .bbhub-role-card-grid,
    .bbhub-home--enterprise .bbhub-control-grid {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 14px !important;
        margin-right: -14px;
        overflow-x: auto;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
    }

    .bbhub-home--enterprise .bbhub-listings-grid > *,
    .bbhub-home--enterprise .bbhub-role-card,
    .bbhub-home--enterprise .bbhub-control-card {
        flex: 0 0 min(84vw, 330px) !important;
        scroll-snap-align: start;
    }

    .bbhub-home--enterprise .bbhub-card-image {
        height: 128px !important;
    }

    .bbhub-home--enterprise .bbhub-market-shell,
    .bbhub-home--enterprise .bbhub-intelligence-grid,
    .bbhub-home--enterprise .bbhub-market-map-card,
    .bbhub-home--enterprise .bbhub-lead-capture,
    .bbhub-home--enterprise .bbhub-final-cta {
        border-radius: 18px !important;
    }

    .bbhub-home--enterprise .bbhub-market-shell,
    .bbhub-home--enterprise .bbhub-intelligence-grid,
    .bbhub-home--enterprise .bbhub-market-map-card {
        padding: 16px !important;
    }
}

/* Front page hero image remains unobstructed. */
.bbhub-home--enterprise .bbhub-hero-signal,
.bbhub-home--enterprise.alignfull .bbhub-hero-signal {
    display: none !important;
}

