/* Bridge Directory 1.1.2 – matches Bridge News Events styling */
.bd-page, .bd-single, .bd-archive, .bd-single-card, .bd-card {
  --bd-ink: #33373d; --bd-muted: #5c6570; --bd-line: #e6eaf0; --bd-navy: #03318E;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; color: var(--bd-ink); box-sizing: border-box;
}
.bd-page *, .bd-single *, .bd-card * { box-sizing: border-box; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* Layout: sidebar left, grid right; sidebar on top under 768px */
.bd-page { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; align-items: start; width: 100%; }
.bd-main { min-width: 0; }
.bd-sidebar { position: sticky; top: 20px; }
.bd-filters { display: flex; flex-direction: column; gap: 8px; }
.bd-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--bd-muted); margin-top: 4px; }
.bd-filters input, .bd-filters select, .bd-form input, .bd-form textarea { display: block; width: 100%; border: 1px solid var(--bd-line); border-radius: 6px; padding: 8px; font-size: 14px; background: #fff; font-family: inherit; }
.bd-btn, .bd-filters button { display: block; width: 100%; text-align: center; border: 1px solid var(--bd-line); background: #fff; color: var(--bd-ink) !important; text-decoration: none !important; border-radius: 6px; padding: 9px 12px; font-size: 14px; font-weight: 600; cursor: pointer; line-height: 1.3; }
.bd-btn:hover { border-color: var(--bd-navy); }
.bd-filters button.is-on { background: var(--bd-navy); color: #fff !important; border-color: var(--bd-navy); margin-top: 10px; }
@media (max-width: 767px) { .bd-page { grid-template-columns: 1fr; gap: 30px; } .bd-sidebar { position: static; } }

/* Cards */
.bd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.bd-card { background: #fff; border: 1px solid var(--bd-line); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 22px rgba(3, 49, 142, 0.06); display: flex; flex-direction: column; }
.bd-logo-link { display: flex; align-items: center; justify-content: center; height: 170px; background: #f3f5f8; padding: 14px; text-decoration: none; }
.bd-card img.bd-logo { max-width: 100% !important; max-height: 142px !important; width: auto !important; height: auto !important; object-fit: contain; margin: 0 !important; display: block; }
.bd-logo-ph { width: 90px; height: 90px; border-radius: 999px; background: var(--bd-navy); color: #fff; font-size: 40px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.bd-card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bd-card h3 { font-size: 18px; line-height: 1.3; margin: 0; }
.bd-card h3 a { color: inherit; text-decoration: none; }
.bd-excerpt { margin: 0; color: var(--bd-muted); font-size: 14px; line-height: 1.45; }
.bd-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.bd-pills a { display: inline-block; background: #e6eaf4; color: #03318E; text-decoration: none; border-radius: 4px; padding: 3px 7px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.bd-stars { color: #c9ced6; font-size: 15px; letter-spacing: 1px; white-space: nowrap; }
.bd-stars .is-on { color: #f2a900; }
.bd-stars small { color: var(--bd-muted); font-size: 12px; letter-spacing: 0; }
.bd-icons { display: flex; flex-wrap: wrap; gap: 6px; }
.bd-ico { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid var(--bd-line); border-radius: 6px; color: var(--bd-navy) !important; text-decoration: none; }
.bd-ico:hover { border-color: var(--bd-navy); background: #f2f5fa; }
.bd-more { display: inline-block; align-self: flex-start; margin-top: auto; background: #03318E; color: #fff !important; text-decoration: none !important; border: 0; border-radius: 4px; padding: 8px 12px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; font-family: inherit; }
.bd-single-card { max-width: 320px; }
.bd-pager { display: flex; gap: 6px; margin: 20px 0; flex-wrap: wrap; }
.bd-pager a, .bd-pager span { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--bd-line); border-radius: 8px; color: var(--bd-navy); text-decoration: none; font-weight: 700; }
.bd-pager .is-on { background: var(--bd-navy); color: #fff; border-color: var(--bd-navy); }
.bd-empty { color: var(--bd-muted); }

/* Archive */
.bd-archive { max-width: 1300px; margin: 30px auto; padding: 0 16px; }
.bd-archive h1 { color: #03318E; font-size: 36px; margin: 0 0 16px; }

/* Profile */
.bd-single { max-width: 1100px; margin: 48px auto 32px; padding: 0 16px; }
.bd-back a { color: var(--bd-navy); font-weight: 700; text-decoration: none; }
.bd-profile { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.bd-profile-side { display: flex; flex-direction: column; gap: 18px; }
.bd-single img.bd-profile-logo { width: 100% !important; height: auto !important; max-height: 300px; object-fit: contain; background: #f3f5f8; border-radius: 12px; padding: 16px; display: block; }
.bd-profile-main h1 { font-size: 36px; line-height: 1.2; margin: 0 0 10px; color: #03318E; }
.bd-avg a { font-size: 13px; color: var(--bd-navy); margin-left: 6px; }
.bd-bio { font-size: 16px; line-height: 1.65; margin: 16px 0; }
.bd-tags a { display: inline-block; color: var(--bd-muted); font-size: 13px; text-decoration: none; margin: 0 8px 4px 0; }
.bd-box { background: #fff; border: 1px solid var(--bd-line); border-radius: 12px; padding: 16px; box-shadow: 0 8px 22px rgba(3, 49, 142, 0.06); margin: 0 0 20px; }
.bd-box h2 { font-size: 20px; margin: 0 0 12px; color: var(--bd-ink); }
.bd-contact-info p { margin: 0 0 10px; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.bd-contact-info a { color: var(--bd-navy); text-decoration: none; overflow-wrap: anywhere; }
.bd-contact-info svg { color: var(--bd-navy); flex: 0 0 auto; margin-top: 2px; }
.bd-details > summary { list-style: none; display: inline-block; }
.bd-details > summary::-webkit-details-marker { display: none; }
.bd-form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.bd-form label { font-size: 13px; font-weight: 600; display: flex; flex-direction: column; gap: 4px; }
.bd-hp { position: absolute !important; left: -9999px; }
.bd-rate { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.bd-rate legend { font-size: 13px; font-weight: 600; float: left; margin-right: 8px; }
.bd-rate input { position: absolute; opacity: 0; }
.bd-rate label { font-size: 26px; color: #c9ced6; cursor: pointer; }
.bd-rate input:checked ~ label, .bd-rate label:hover, .bd-rate label:hover ~ label { color: #f2a900; }
.bd-review { border-top: 1px solid var(--bd-line); padding: 12px 0; }
.bd-review time { color: var(--bd-muted); font-size: 12px; }
.bd-review p { margin: 6px 0 0; }
.bd-posts { list-style: none; margin: 0; padding: 0; }
.bd-posts li { border-top: 1px solid var(--bd-line); padding: 10px 0; }
.bd-posts a { font-weight: 700; color: var(--bd-ink); text-decoration: none; }
.bd-posts time { color: #03318E; font-size: 12px; font-weight: 700; margin-left: 6px; }
.bd-posts p { margin: 4px 0 0; color: var(--bd-muted); font-size: 14px; }
.bd-notice { background: #eef1f8; border-left: 4px solid var(--bd-navy); padding: 10px 12px; border-radius: 6px; }
.bd-small { font-size: 12px; color: var(--bd-muted); margin: 0; }
@media (max-width: 767px) { .bd-profile { grid-template-columns: 1fr; } .bd-profile-main { order: -1; } }

/* ===== 1.1.0 Hub profile (LinkedIn-style) ===== */
.bd-hub, .bd-author-box { --bd-ink: #33373d; --bd-muted: #5c6570; --bd-line: #e6eaf0; --bd-navy: #03318E; font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; color: var(--bd-ink); }
.bd-hub { max-width: 1180px; margin-top: 24px; }
.bd-hub *, .bd-author-box * { box-sizing: border-box; }
.bd-hero { background: #fff; border: 1px solid var(--bd-line); border-radius: 14px; overflow: hidden; box-shadow: 0 8px 22px rgba(3,49,142,.08); margin-bottom: 22px; }
.bd-cover, .bd-ab-cover { height: 210px; background: linear-gradient(120deg, #03318E 0%, #0a4fd1 55%, #3d7bf0 100%); background-size: cover; background-position: center; }
.bd-hero-body { display: flex; gap: 24px; padding: 0 32px 18px; align-items: flex-end; }
.bd-avatar { flex: 0 0 auto; margin-top: -84px; }
.bd-avatar-img, .bd-hub img.bd-avatar-img { width: 168px !important; height: 168px !important; border-radius: 50% !important; border: 5px solid #fff; background: #fff; object-fit: contain; box-shadow: 0 4px 14px rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center; font-size: 64px; }
.bd-hero-text { flex: 1; min-width: 0; padding-top: 14px; }
.bd-hero h1 { font-size: 34px; line-height: 1.15; margin: 0; color: #111; }
.bd-headline { font-size: 18px; margin: 4px 0 2px; color: var(--bd-ink); }
.bd-hero-meta { font-size: 14px; color: var(--bd-muted); margin: 0 0 14px; }
.bd-hero-meta a { color: var(--bd-navy); font-weight: 600; text-decoration: none; }
.bd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bd-more-lg { font-size: 14px !important; padding: 11px 22px !important; border-radius: 999px !important; margin: 0 !important; }
.bd-more-alt { background: #fff !important; color: #03318E !important; box-shadow: inset 0 0 0 2px #03318E; }
.bd-btn-o { display: inline-block; background: #fff; color: var(--bd-muted) !important; border: 1px solid #c3c9d2; border-radius: 999px; padding: 10px 20px; font: 700 14px/1.2 inherit; font-family: inherit; text-decoration: none !important; cursor: pointer; }
.bd-btn-o:hover { border-color: var(--bd-navy); color: var(--bd-navy) !important; }
.bd-btn-sm { padding: 5px 12px !important; font-size: 12px !important; width: auto; display: inline-block; }
.bd-tabs { display: flex; gap: 4px; border-top: 1px solid var(--bd-line); padding: 0 24px; overflow-x: auto; position: sticky; top: 0; background: #fff; z-index: 5; }
.bd-tabs a { padding: 14px 14px 12px; font-weight: 700; font-size: 14px; color: var(--bd-muted); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.bd-tabs a.is-on, .bd-tabs a:hover { color: var(--bd-navy); border-bottom-color: var(--bd-navy); }
.bd-hub-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.bd-hub-side .bd-card { box-shadow: none; margin-bottom: 12px; }
.bd-hub-side .bd-logo-link { height: 120px; }
.bd-hub-side .bd-card img.bd-logo { max-height: 96px !important; }
.bd-hub section[id] { scroll-margin-top: 60px; }
.bd-link { color: var(--bd-navy); font-weight: 700; text-decoration: none; }
/* Activity feed */
.bd-box h2 small { font-size: 13px; color: var(--bd-muted); font-weight: 600; }
.bd-feed { list-style: none; margin: 0; padding: 0; }
.bd-feed-item { border-top: 1px solid var(--bd-line); padding: 14px 0; }
.bd-feed-meta { margin: 0 0 8px; font-size: 13px; color: var(--bd-muted); }
.bd-feed-card { display: flex; gap: 14px; text-decoration: none; color: inherit; border: 1px solid var(--bd-line); border-radius: 10px; overflow: hidden; background: #fafbfd; }
.bd-feed-card:hover { border-color: var(--bd-navy); }
.bd-feed-img, .bd-hub img.bd-feed-img { width: 160px !important; height: 100px !important; object-fit: cover; flex: 0 0 auto; }
.bd-feed-card span { padding: 10px 12px 10px 0; display: flex; flex-direction: column; gap: 4px; }
.bd-feed-card strong { font-size: 16px; color: #111; }
.bd-feed-card em { font-style: normal; font-size: 13px; color: var(--bd-muted); line-height: 1.4; }
/* Events */
.bd-events { list-style: none; margin: 0; padding: 0; }
.bd-events li { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--bd-line); }
.bd-events li.is-past { opacity: .6; }
.bd-date { width: 54px; text-align: center; border-radius: 8px; border: 1px solid var(--bd-line); font-size: 20px; font-weight: 800; color: #111; line-height: 1.1; padding-bottom: 4px; overflow: hidden; }
.bd-date b { display: block; background: #03318E; color: #fff; font-size: 11px; text-transform: uppercase; padding: 3px 0; margin-bottom: 3px; }
.bd-events a { font-weight: 700; color: #111; text-decoration: none; display: block; }
.bd-events small { color: var(--bd-muted); }
/* Suggestions */
.bd-sug { list-style: none; margin: 0; padding: 0; }
.bd-sug li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--bd-line); }
.bd-sug-img, .bd-hub img.bd-sug-img { width: 48px !important; height: 48px !important; border-radius: 50%; object-fit: contain; background: #f3f5f8; flex: 0 0 auto; font-size: 20px; }
.bd-sug span { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.bd-sug a:not(.bd-btn) { font-weight: 700; color: #111; text-decoration: none; }
.bd-sug small { color: var(--bd-muted); font-size: 12px; }
/* Books shelf */
.bd-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.bd-book { border: 1px solid var(--bd-line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.bd-book-cover, .bd-hub img.bd-book-cover { width: 100% !important; height: 260px !important; object-fit: contain; background: #f3f5f8; padding: 12px; display: block; }
.bd-book-ph { display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(160deg,#03318E,#3d7bf0); color: #fff; font-weight: 800; font-size: 20px; padding: 20px; }
.bd-book-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bd-book h3 { margin: 0; font-size: 17px; line-height: 1.25; color: #111; }
.bd-book-sub { margin: 0; font-size: 13px; color: var(--bd-navy); font-weight: 600; }
.bd-book-desc { margin: 0; font-size: 13px; color: var(--bd-muted); line-height: 1.45; }
.bd-book-buy { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.bd-book-buy .bd-more { margin: 0; }
.bd-book-isbn { margin: 0; font-size: 11px; color: var(--bd-muted); }
/* Embeds: responsive iframe wrapper */
.bd-embed { margin: 8px 0; max-width: 100%; overflow: hidden; }
.bd-embed iframe, .bd-embed embed, .bd-embed object, .bd-embed video { max-width: 100% !important; width: 100%; border: 0; border-radius: 8px; }
.bd-embed iframe[src*="youtube"], .bd-embed iframe[src*="youtu.be"], .bd-embed iframe[src*="vimeo"] { aspect-ratio: 16 / 9; height: auto !important; }
/* Author box (end of blog posts) */
.bd-author-box { margin: 36px 0 12px; border: 1px solid var(--bd-line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 8px 22px rgba(3,49,142,.08); }
.bd-ab-cover { height: 72px; }
.bd-ab-body { display: flex; gap: 20px; padding: 0 24px 20px; align-items: flex-start; }
.bd-ab-img, .bd-author-box img.bd-ab-img { width: 104px !important; height: 104px !important; border-radius: 50% !important; border: 4px solid #fff; background: #fff; object-fit: contain; margin-top: -44px; box-shadow: 0 3px 10px rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center; font-size: 40px; flex: 0 0 auto; }
.bd-ab-text { flex: 1; min-width: 0; padding-top: 12px; }
.bd-ab-kicker { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--bd-navy); }
.bd-ab-text h3 { margin: 2px 0; font-size: 22px; }
.bd-ab-text h3 a { color: #111; text-decoration: none; }
.bd-ab-head { margin: 0 0 6px; color: var(--bd-ink); font-weight: 600; font-size: 14px; }
.bd-ab-bio { margin: 0 0 10px; color: var(--bd-muted); font-size: 14px; line-height: 1.5; }
.bd-ab-cta { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; align-items: stretch; text-align: center; }
@media (max-width: 900px) {
  .bd-hub-cols { grid-template-columns: 1fr; }
  .bd-hero-body { flex-direction: column; align-items: flex-start; padding: 0 18px 16px; gap: 6px; }
  .bd-avatar-img, .bd-hub img.bd-avatar-img { width: 128px !important; height: 128px !important; }
  .bd-cover { height: 150px; }
  .bd-ab-body { flex-direction: column; }
  .bd-feed-img, .bd-hub img.bd-feed-img { width: 110px !important; }
}
/* Videos */
.bd-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.bd-video { margin: 0; border: 1px solid var(--bd-line); border-radius: 10px; overflow: hidden; background: #fff; }
.bd-video-frame { position: relative; aspect-ratio: 16 / 9; background: #0b1530; }
.bd-video-frame iframe, .bd-video-frame video, .bd-video-play { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.bd-video-play { background: #0b1530 center / cover no-repeat; cursor: pointer; padding: 0; }
.bd-video-play span { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: rgba(3,49,142,.92); color: #fff; font-size: 26px; align-items: center; justify-content: center; padding-left: 4px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.bd-video figcaption { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.bd-video figcaption strong { font-size: 15px; color: #111; line-height: 1.3; }
.bd-video figcaption span { font-size: 13px; color: var(--bd-muted); }
/* Podcasts */
.bd-pod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.bd-pod { margin: 0; border: 1px solid var(--bd-line); border-radius: 10px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.bd-pod-cover, .bd-hub img.bd-pod-cover { width: 100% !important; aspect-ratio: 1; object-fit: cover; display: block; background: #f3f5f8; }
.bd-pod-ph { display: flex; align-items: center; justify-content: center; font-size: 48px; background: linear-gradient(160deg,#03318E,#3d7bf0); color: #fff; }
.bd-pod-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bd-pod-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bd-pod-badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.bd-pod-host { background: #03318E; color: #fff; }
.bd-pod-guest { background: #e8eef9; color: #03318E; }
.bd-pod-top time { font-size: 12px; color: var(--bd-muted); }
.bd-pod-show { margin: 0; font-size: 13px; font-weight: 700; color: var(--bd-navy); }
.bd-pod h3 { margin: 0; font-size: 16px; line-height: 1.3; color: #111; }
.bd-pod .bd-more { margin-top: auto; align-self: flex-start; }

/* Shop */
.bd-shop-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--bd-line); border-radius: 10px; background: #f6f8fc; margin-bottom: 12px; }
.bd-shop-head span { display: flex; flex-direction: column; }
.bd-shop-head small { color: var(--bd-muted); font-size: 13px; }
.bd-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 12px; }
.bd-product { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: #111; border: 1px solid var(--bd-line); border-radius: 10px; padding: 8px; background: #fff; }
.bd-product:hover { border-color: var(--bd-navy); }
.bd-product img, .bd-product-ph { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f3f5f8; border-radius: 6px; display: block; }
.bd-product strong { font-size: 13px; line-height: 1.3; }
.bd-product em { font-style: normal; font-weight: 800; color: var(--bd-navy); font-size: 14px; }

/* ===== Join Bridge Free CTA ===== */
.bd-join { background: #03318E !important; color: #fff !important; font-weight: 800 !important; letter-spacing: .04em; text-transform: uppercase; border: 0; text-align: center; text-decoration: none !important; }
.bd-join:hover { filter: brightness(1.08); }
.bd-join-block { display: block !important; width: 100%; box-sizing: border-box; margin: 0 !important; }
.bd-join-side { margin: 0 0 14px; }
.bd-ab-cta .bd-join { margin-top: 2px !important; }

/* 1.1.3 profile polish */
.bd-hub .bd-actions .bd-share, .bd-hub .bd-actions .bd-share:hover, .bd-hub .bd-actions .bd-share:focus { background: #fff !important; color: #555 !important; border: 1px solid #c4c4c4 !important; border-radius: 999px !important; padding: 10px 22px !important; font-size: 14px !important; font-weight: 500 !important; text-transform: none !important; box-shadow: none !important; cursor: pointer; line-height: 1.2; }
.bd-hub .bd-actions .bd-share:hover { border-color: #03318E !important; color: #03318E !important; }
.bd-hub .bd-actions .bd-btn-contact, .bd-hub .bd-actions .bd-btn-web { text-transform: uppercase !important; font-weight: 800 !important; letter-spacing: .04em; }
.bd-hub .bd-actions .bd-btn-contact { background: #03318E !important; color: #fff !important; }
.bd-hub .bd-actions .bd-btn-web { background: #fff !important; color: #03318E !important; box-shadow: inset 0 0 0 2px #03318E !important; }
.bd-hub .bd-tabs a.is-on { color: #03318E; border-bottom-color: #03318E; }
.bd-hub .bd-empty { color: var(--bd-muted); margin: 0; }
/* 1.1.3 Listings (realtor link) */
.bd-re-link { margin: 6px 0; }
.bd-hub .bd-re-btn { background: #03318E !important; color: #fff !important; font-size: 16px !important; padding: 14px 32px !important; text-transform: uppercase; font-weight: 800; }
