.cbl-page + * {
    clear: both;
}

body #header {
    border-bottom: 1px solid #e1e6ee;
    background: #ffffff;
    font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body:has(.cbl-page),
body:has(.cbl-page) .wp-site-blocks {
    background: #f6f8fc;
}

body:has(.cbl-page) #page > #header,
body:has(.cbl-page) #page > #header + hr {
    display: none !important;
}

body:has(.cbl-page) > footer,
body:has(.cbl-page) .wp-site-blocks > footer.wp-block-template-part {
    display: none !important;
}

body:has(.cbl-page) header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(225, 230, 238, .9);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cbl-theme-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(225, 230, 238, .9);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cbl-theme-header .container {
    display: flex;
    min-height: 65px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cbl-theme-brand {
    color: #11151c;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
}

.cbl-theme-header nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.cbl-theme-header nav a {
    color: #11151c;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.cbl-theme-header nav a:first-child {
    border-radius: 10px;
    background: #2f6df6;
    padding: 10px 14px;
    color: #ffffff;
}

body:has(.cbl-page) header.wp-block-template-part > * {
    max-width: 1180px;
    margin-inline: auto;
}

body:has(.cbl-page) header.wp-block-template-part a {
    color: #11151c;
    text-decoration: none;
}

body:has(.cbl-page) header.wp-block-template-part .wp-block-site-title,
body:has(.cbl-page) header.wp-block-template-part .wp-block-site-title a {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0;
}

body #headerimg {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0;
}

body #headerimg h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: 0;
}

body #headerimg h1 a {
    color: #2f6df6;
    text-decoration: none;
    font-weight: 800;
}

body #headerimg h1 a:hover {
    color: #1f56d8;
}

body > hr,
#page > hr {
    display: none;
}

.cbl-page {
    --cbl-ink: #11151c;
    --cbl-muted: #5f6b7a;
    --cbl-line: #e1e6ee;
    --cbl-soft: #f6f8fc;
    --cbl-softer: #eef3f8;
    --cbl-accent: #2f6df6;
    --cbl-accent-dark: #1f56d8;
    --cbl-teal: #11151c;
    --cbl-panel: #ffffff;
    --bs-primary: var(--cbl-accent);
    --bs-primary-rgb: 47, 109, 246;
    min-height: 100vh;
    background: var(--cbl-soft);
    color: var(--cbl-ink);
    font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body:has(.cbl-page) .entry-content > .cbl-page,
body:has(.cbl-page) .wp-block-post-content > .cbl-page,
.cbl-page {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body:has(.cbl-page) .wp-site-blocks > main,
body:has(.cbl-page) .wp-block-post-content,
body:has(.cbl-page) .entry-content,
body:has(.cbl-page) .wp-block-group.alignfull {
    margin-top: 0 !important;
}

body:has(.cbl-page) main.wp-block-group,
body:has(.cbl-page) .wp-block-group.alignfull,
body:has(.cbl-page) .entry-content.has-global-padding {
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.cbl-home-wrap {
    width: min(1120px, calc(100% - 56px));
    margin: 0 auto;
}

.home .wp-block-post-title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.cbl-page a {
    color: var(--cbl-accent);
    text-decoration: none;
}

.cbl-page a:hover {
    text-decoration: underline;
}

.cbl-page a:focus-visible,
.cbl-page button:focus-visible,
.cbl-page .btn:focus-visible,
.cbl-page input:focus-visible,
body #headerimg h1 a:focus-visible {
    outline: 3px solid rgba(14, 143, 126, .38);
    outline-offset: 3px;
    box-shadow: none;
}

.cbl-hero,
.cbl-listing-hero,
.cbl-profile-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--cbl-line);
    background:
        radial-gradient(circle at 12% 18%, rgba(47, 107, 237, .16), transparent 30%),
        linear-gradient(180deg, #f6f8fc 0%, #f6f8fc 72%, #ffffff 100%);
    padding: 78px 0 72px;
}

.cbl-hero::after,
.cbl-listing-hero::after,
.cbl-profile-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cbl-accent), var(--cbl-teal));
}

.cbl-hero h1,
.cbl-listing-hero h1,
.cbl-profile-hero h1 {
    max-width: 880px;
    margin: 0;
    font-size: clamp(42px, 5.4vw, 76px);
    line-height: 1.04;
    letter-spacing: 0;
}

.cbl-kicker {
    display: inline-flex;
    margin: 0 0 12px;
    border-left: 4px solid var(--cbl-accent);
    padding-left: 10px;
    color: var(--cbl-accent-dark);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.cbl-lede,
.cbl-location {
    max-width: 780px;
    margin: 16px 0 0;
    color: var(--cbl-muted);
    font-size: 18px;
    line-height: 1.58;
}

.cbl-hero-note,
.cbl-profile-badge {
    border: 1px solid var(--cbl-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 14px 34px rgba(17, 24, 39, .06);
    padding: 18px;
    color: var(--cbl-muted);
    font-size: 15px;
    line-height: 1.5;
}

.cbl-profile-badge {
    display: grid;
    justify-self: end;
    width: min(100%, 286px);
    gap: 10px;
    padding: 12px;
}

.cbl-profile-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 8px;
    object-fit: cover;
    object-position: center top;
    background: var(--cbl-soft);
}

.cbl-profile-photo-firm {
    object-fit: contain;
    object-position: center;
    padding: 34px;
    background: #fff;
    border: 1px solid var(--cbl-line);
}

.cbl-search-panel {
    margin-top: 28px;
    border: 1px solid var(--cbl-line);
    border-radius: 12px;
    background: var(--cbl-panel);
    box-shadow: 0 18px 45px rgba(17, 24, 39, .07);
    padding: 16px;
}

.cbl-breadcrumbs {
    border-bottom: 1px solid var(--cbl-line);
    background: rgba(255, 255, 255, .72);
}

.cbl-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 12px 0;
    color: var(--cbl-muted);
    font-size: 13px;
    font-weight: 700;
    list-style: none;
}

.cbl-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cbl-breadcrumbs li + li::before {
    content: "/";
    color: #9aa6b2;
}

.cbl-breadcrumbs a {
    color: var(--cbl-muted);
    text-decoration: none;
}

.cbl-breadcrumbs a:hover {
    color: var(--cbl-accent);
}

.cbl-hero-center {
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
}

.cbl-hero-center .cbl-kicker {
    margin-inline: auto;
}

.cbl-hero-center h1,
.cbl-hero-center .cbl-lede {
    margin-inline: auto;
}

.cbl-hero-search {
    margin-top: 0;
}

.cbl-hero-center .cbl-hero-search {
    max-width: 720px;
    margin-top: 30px;
    margin-inline: auto;
    text-align: left;
}

.cbl-home-assist {
    display: flex;
    max-width: 720px;
    min-height: 120px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 26px auto 0;
    border: 1px solid var(--cbl-line);
    border-radius: 12px;
    background: #fff;
    padding: 18px 26px;
    text-align: left;
}

.cbl-home-assist strong,
.cbl-home-assist span {
    display: block;
}

.cbl-home-assist strong {
    color: var(--cbl-ink);
    font-size: 22px;
    line-height: 1.2;
}

.cbl-home-assist span {
    margin-top: 4px;
    color: var(--cbl-muted);
    font-size: 15px;
}

.cbl-home-assist a {
    flex: 0 0 auto;
    border-radius: 10px;
    background: var(--cbl-accent);
    padding: 12px 16px;
    color: #fff;
    font-weight: 800;
}

.cbl-home-assist a:hover {
    background: var(--cbl-accent-dark);
    color: #fff;
    text-decoration: none;
}

.cbl-stats-centered {
    max-width: 760px;
    margin-inline: auto;
}

.cbl-home-overview {
    padding: 36px 0 92px;
    background: var(--cbl-soft);
}

.cbl-home-overview h2 {
    max-width: 760px;
    margin: 0 auto;
    color: var(--cbl-ink);
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.04;
    text-align: center;
}

.cbl-home-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 44px;
}

.cbl-home-features article {
    min-height: 260px;
    border: 1px solid var(--cbl-line);
    border-radius: 10px;
    background: #fff;
    padding: 28px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, .06);
}

.cbl-home-features strong {
    display: block;
    color: var(--cbl-accent);
    font-size: 34px;
    line-height: 1;
}

.cbl-home-features h3 {
    margin: 18px 0 10px;
    color: var(--cbl-ink);
    font-size: 22px;
}

.cbl-home-features p {
    margin: 0;
    color: var(--cbl-muted);
    line-height: 1.58;
}

.cbl-search-panel .form-label {
    color: var(--cbl-muted);
    font-size: 13px;
    font-weight: 800;
}

.cbl-search-panel .form-control {
    border-color: var(--cbl-line);
    border-radius: 6px;
    color: var(--cbl-ink);
}

.cbl-search-panel .form-control:focus {
    border-color: var(--cbl-accent);
    box-shadow: 0 0 0 .2rem rgba(47, 109, 246, .16);
}

.cbl-button,
.cbl-page .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    border-color: var(--cbl-accent);
    background: var(--cbl-accent);
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
}

.cbl-button:hover,
.cbl-page .btn-primary:hover {
    border-color: var(--cbl-accent-dark);
    background: var(--cbl-accent-dark);
    color: #fff;
    text-decoration: none;
}

.cbl-stats {
    margin-top: 26px;
}

.cbl-stat,
.cbl-filter-panel,
.cbl-contact-card,
.cbl-section,
.cbl-card {
    border: 1px solid var(--cbl-line);
    border-radius: 10px;
    background: var(--cbl-panel);
    box-shadow: 0 14px 34px rgba(17, 24, 39, .06);
}

.cbl-stat {
    height: 100%;
    padding: 18px;
}

.cbl-stat strong {
    display: block;
    color: var(--cbl-accent-dark);
    font-size: 30px;
    line-height: 1;
}

.cbl-stat span {
    color: var(--cbl-muted);
    font-size: 14px;
}

.cbl-main-band {
    padding: 48px 0 72px;
    background: var(--cbl-soft);
}

.cbl-filter-panel,
.cbl-contact-card,
.cbl-section {
    padding: 22px;
}

.cbl-filter-panel.position-sticky,
.cbl-contact-card.position-sticky {
    top: 24px;
}

.cbl-filter-panel h2,
.cbl-contact-card h2,
.cbl-section h2 {
    margin: 0 0 16px;
    color: var(--cbl-ink);
    font-size: 21px;
    line-height: 1.22;
}

.cbl-link-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cbl-link-list-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cbl-link-list a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
}

.cbl-card-grid {
    display: grid;
    gap: 16px;
}

.cbl-card {
    display: grid;
    gap: 12px;
    padding: 20px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.cbl-map-band {
    padding: 28px 0 18px;
    background: var(--cbl-soft);
}

.cbl-map-card {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: 28px;
    overflow: hidden;
    border: 1px solid var(--cbl-line);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(17, 24, 39, .07);
    padding: 28px;
}

.cbl-map-card-compact {
    margin-top: -18px;
}

.cbl-map-page .cbl-map-band {
    padding-top: 0;
    padding-bottom: 72px;
}

.cbl-map-page .cbl-map-card {
    min-height: 620px;
}

.cbl-map-page {
    background: var(--cbl-soft);
}

.cbl-results-search-shell {
    box-sizing: border-box;
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 42px 20px 0;
}

.cbl-results-searchbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: end;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.cbl-results-searchbar label {
    display: block;
    margin: 0 0 7px;
    color: var(--cbl-muted);
    font-size: 12px;
    font-weight: 800;
}

.cbl-results-searchbar > div {
    flex: 1 1 260px;
}

.cbl-results-searchbar input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--cbl-line);
    border-radius: 10px;
    background: #fff;
    padding: 0 14px;
    color: var(--cbl-ink);
    font: inherit;
}

.cbl-results-searchbar button {
    flex: 0 0 150px;
    min-height: 42px;
    border: 0;
}

.cbl-results-layout {
    display: grid;
    grid-template-columns: minmax(0, 640px) minmax(420px, 1fr);
    gap: 56px;
    align-items: start;
    box-sizing: border-box;
    width: min(1280px, 100%);
    margin: 28px auto 92px;
    padding: 0 20px;
}

.cbl-results-list {
    min-width: 0;
}

.cbl-results-hero {
    margin-bottom: 20px;
}

.cbl-results-hero h1 {
    margin: 0;
    color: var(--cbl-ink);
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: 0;
}

.cbl-results-hero p:not(.cbl-kicker) {
    max-width: 620px;
    margin: 10px 0 0;
    color: var(--cbl-muted);
    font-size: 16px;
    line-height: 1.55;
}

.cbl-results-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 18px 0 22px;
    border-bottom: 1px solid var(--cbl-line);
    padding-bottom: 14px;
    color: var(--cbl-muted);
    font-size: 14px;
}

.cbl-results-list-header strong {
    color: var(--cbl-ink);
    font-size: 17px;
}

.cbl-city-results {
    display: grid;
    gap: 14px;
}

.cbl-city-result-card {
    border: 1px solid var(--cbl-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(17, 24, 39, .06);
    padding: 20px;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cbl-city-result-card:hover {
    border-color: #cbd6df;
    box-shadow: 0 18px 42px rgba(17, 24, 39, .1);
    transform: translateY(-2px);
}

.cbl-city-result-top {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 82px;
    gap: 16px;
    align-items: start;
}

.cbl-city-thumb {
    display: grid;
    place-items: center;
    width: 90px;
    height: 90px;
    border-radius: 12px;
    background: #eef3f8;
    color: var(--cbl-accent);
    font-size: 34px;
    font-weight: 900;
}

.cbl-city-eyebrow {
    margin: 0 0 4px;
    color: var(--cbl-muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.cbl-city-result-card h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.15;
}

.cbl-city-result-card h2 a {
    color: var(--cbl-ink);
}

.cbl-city-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.cbl-city-meta span {
    border: 1px solid #e1e6ee;
    border-radius: 999px;
    background: #f6f8fc;
    padding: 5px 9px;
    color: var(--cbl-muted);
    font-size: 12px;
    font-weight: 800;
}

.cbl-city-count {
    border: 1px solid #d3defc;
    border-radius: 12px;
    background: #f3f6ff;
    padding: 10px 8px;
    text-align: center;
}

.cbl-city-count strong,
.cbl-city-count span {
    display: block;
}

.cbl-city-count strong {
    color: var(--cbl-accent);
    font-size: 20px;
    line-height: 1;
}

.cbl-city-count span {
    margin-top: 4px;
    color: var(--cbl-muted);
    font-size: 11px;
    font-weight: 800;
}

.cbl-city-copy {
    margin: 16px 0 0;
    color: var(--cbl-muted);
    font-size: 15px;
    line-height: 1.55;
}

.cbl-city-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
}

.cbl-city-primary-action {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    min-height: 42px;
    border: 1px solid var(--cbl-accent);
    border-radius: 10px;
    background: var(--cbl-accent);
    padding: 11px 16px;
    color: #fff !important;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
}

.cbl-city-primary-action span {
    display: inline !important;
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.cbl-city-primary-action:hover {
    border-color: var(--cbl-accent-dark);
    background: var(--cbl-accent-dark);
    color: #fff !important;
}

.cbl-city-actions a:not(.cbl-city-primary-action) {
    color: var(--cbl-accent);
    font-weight: 800;
}

.cbl-results-map {
    position: sticky;
    top: 24px;
}

.cbl-results-map-inner {
    overflow: hidden;
    min-height: 720px;
    border: 1px solid var(--cbl-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(17, 24, 39, .07);
    padding: 0;
}

.cbl-lawyer-leaflet-map {
    height: 520px;
    margin-top: 0;
    overflow: hidden;
    border: 0;
    border-top: 1px solid var(--cbl-line);
    border-radius: 0;
    background: #eef3f7;
}

.cbl-lawyer-leaflet-map .leaflet-control-attribution {
    font-size: 10px;
}

.cbl-map-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px !important;
    height: 42px !important;
    border: 3px solid #fff;
    border-radius: 999px;
    background: #11151c;
    box-shadow: 0 3px 10px rgba(17, 21, 28, .38);
    color: #fff;
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    position: relative;
    white-space: nowrap;
}

.cbl-map-marker::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    bottom: -4px;
    width: 10px;
    height: 10px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    background: #11151c;
    transform: translateX(-50%) rotate(45deg);
}

.cbl-map-marker span {
    display: block;
    position: relative;
    z-index: 1;
    max-width: 34px;
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.cbl-map-cluster {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    min-width: 76px;
    min-height: 44px;
    border: 4px solid #fff;
    border-radius: 14px;
    background: #2f6df6;
    box-shadow: 0 8px 18px rgba(47, 109, 246, .28), 0 2px 7px rgba(17, 21, 28, .22);
    color: #fff;
    font-weight: 850;
    line-height: 1;
    text-align: center;
}

.cbl-map-cluster strong,
.cbl-map-cluster span {
    display: block;
    line-height: 1;
}

.cbl-map-cluster strong {
    color: #fff;
    font-size: 15px;
}

.cbl-map-cluster span {
    margin-top: 2px;
    color: rgba(255, 255, 255, .86);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cbl-map-popup {
    display: grid;
    gap: 7px;
    min-width: 180px;
    font-family: "Hanken Grotesk", system-ui, sans-serif;
}

.cbl-map-popup strong {
    color: var(--cbl-ink);
    font-size: 16px;
    line-height: 1.15;
}

.cbl-map-popup span {
    color: var(--cbl-muted);
    font-size: 13px;
}

.cbl-map-popup a {
    color: var(--cbl-accent);
    font-size: 13px;
    font-weight: 900;
}

.cbl-results-map-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}

.cbl-results-map-head h2 {
    margin: 0;
    color: var(--cbl-ink);
    font-size: 28px;
    line-height: 1.1;
}

.cbl-results-map-head > span {
    border-radius: 999px;
    background: #eef1f7;
    padding: 8px 11px;
    color: var(--cbl-muted);
    font-size: 12px;
    font-weight: 900;
}

.cbl-canada-map {
    position: relative;
    height: 430px;
    margin-top: 22px;
    overflow: hidden;
    border-radius: 18px;
    background:
        linear-gradient(115deg, rgba(14, 143, 126, .08), rgba(12, 104, 184, .1)),
        #f3f7fb;
}

.cbl-canada-map::before {
    content: "";
    position: absolute;
    inset: 56px 62px 54px 72px;
    background: linear-gradient(150deg, #dceaf3, #edf6fa);
    clip-path: polygon(22% 18%, 42% 6%, 62% 21%, 80% 18%, 76% 45%, 88% 61%, 67% 66%, 62% 90%, 48% 70%, 35% 86%, 31% 61%, 12% 55%, 24% 38%);
    filter: drop-shadow(0 18px 28px rgba(12, 104, 184, .10));
}

.cbl-map-pin {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transform: translate(-8px, -8px);
}

.cbl-map-pin i {
    width: 14px;
    height: 14px;
    border: 3px solid #fff;
    border-radius: 999px;
    background: #0c68b8;
    box-shadow: 0 8px 20px rgba(12, 104, 184, .38);
}

.cbl-map-pin b {
    border: 1px solid rgba(219, 228, 238, .9);
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    padding: 5px 8px;
    color: var(--cbl-ink);
    font-size: 12px;
}

.cbl-map-city-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.cbl-map-city-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid var(--cbl-line);
    border-radius: 12px;
    background: #f8fafc;
    padding: 11px 12px;
    color: var(--cbl-ink);
    font-weight: 800;
}

.cbl-map-city-links a:hover {
    border-color: var(--cbl-accent);
    background: #fff;
    text-decoration: none;
}

.cbl-map-city-links small {
    color: var(--cbl-muted);
    font-size: 12px;
}

.cbl-map-search {
    margin-top: 24px;
    border: 1px solid var(--cbl-line);
    border-radius: 16px;
    background: #f6f8fc;
    padding: 12px;
}

.cbl-map-search .form-control {
    min-height: 46px;
    border-color: var(--cbl-line);
    border-radius: 10px;
}

.cbl-locations-band {
    padding: 0 0 92px;
    background: var(--cbl-soft);
}

.cbl-location-card {
    border: 1px solid var(--cbl-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(17, 24, 39, .07);
    padding: 42px 44px 46px;
}

.cbl-location-card-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.cbl-location-card-head h2 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.02;
}

.cbl-location-card-head > a {
    flex: 0 0 auto;
    border-radius: 10px;
    background: #eef1f7;
    padding: 12px 16px;
    color: var(--cbl-accent);
    font-weight: 800;
}

.cbl-location-card-head > a:hover {
    background: var(--cbl-accent);
    color: #fff;
    text-decoration: none;
}

.cbl-location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 46px;
    margin-top: 34px;
}

.cbl-location-grid h3 {
    margin: 0 0 18px;
    color: var(--cbl-muted);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.cbl-city-list,
.cbl-practice-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cbl-city-list a,
.cbl-practice-list a {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid var(--cbl-line);
    border-radius: 10px;
    background: #f8fafc;
    color: inherit;
    padding: 12px 14px;
    text-decoration: none;
}

.cbl-city-list a:hover,
.cbl-practice-list a:hover {
    border-color: var(--cbl-accent);
    background: #fff;
    text-decoration: none;
}

.cbl-city-list span,
.cbl-practice-list strong {
    color: var(--cbl-ink);
    font-weight: 800;
}

.cbl-city-list small,
.cbl-practice-list small {
    color: var(--cbl-muted);
    font-size: 12px;
    white-space: nowrap;
}

.cbl-map-visual {
    display: none;
}

.cbl-map-copy h2 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.02;
    letter-spacing: 0;
}

.cbl-map-copy p {
    max-width: 620px;
    margin: 16px 0 0;
    color: var(--cbl-muted);
    font-size: 17px;
    line-height: 1.6;
}

.cbl-city-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.cbl-city-pills a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    border: 1px solid var(--cbl-line);
    border-radius: 999px;
    background: #f6f8fc;
    padding: 0 14px;
    color: var(--cbl-ink);
    font-size: 14px;
    font-weight: 800;
}

.cbl-city-pills a:hover {
    border-color: var(--cbl-accent);
    color: var(--cbl-accent-dark);
    text-decoration: none;
}

.cbl-map-visual {
    position: relative;
    min-height: 310px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(11, 92, 173, .10), transparent 45%),
        linear-gradient(180deg, #edf3fa 0%, #f8fbff 100%);
}

.cbl-map-visual::before {
    content: "";
    position: absolute;
    inset: 54px 34px 48px;
    border-radius: 45% 55% 42% 58%;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .15)),
        #dfeaf5;
    clip-path: polygon(5% 54%, 18% 42%, 25% 22%, 42% 16%, 58% 24%, 72% 18%, 94% 35%, 84% 58%, 90% 76%, 64% 70%, 52% 86%, 32% 74%, 16% 80%);
    box-shadow: inset 0 0 0 1px rgba(11, 92, 173, .10);
}

.cbl-map-pin {
    position: absolute;
    z-index: 2;
    width: 16px;
    height: 16px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: var(--cbl-accent);
    box-shadow: 0 8px 20px rgba(47, 109, 246, .26);
}

.cbl-pin-vancouver { left: 20%; top: 47%; }
.cbl-pin-calgary { left: 31%; top: 45%; }
.cbl-pin-toronto { left: 66%; top: 55%; }
.cbl-pin-montreal { left: 73%; top: 49%; }
.cbl-pin-halifax { left: 86%; top: 58%; }

.cbl-map-label {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(11, 92, 173, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    padding: 8px 12px;
    color: var(--cbl-muted);
    font-size: 13px;
    font-weight: 800;
}

.cbl-label-west { left: 12%; bottom: 24px; }
.cbl-label-east { right: 12%; top: 24px; }

.cbl-site-footer {
    border-top: 1px solid var(--cbl-line);
    background: #ffffff;
    padding: 56px 0 28px;
}

.cbl-site-footer h2 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 800;
}

.cbl-site-footer h3 {
    margin: 0 0 12px;
    color: var(--cbl-ink);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.cbl-site-footer p {
    max-width: 440px;
    margin: 0;
    color: var(--cbl-muted);
    line-height: 1.6;
}

.cbl-site-footer a {
    display: block;
    margin: 8px 0;
    color: var(--cbl-muted);
    font-weight: 700;
}

.cbl-footer-bottom {
    margin-top: 38px;
    border-top: 1px solid var(--cbl-line);
    padding-top: 18px;
    color: #7a8594;
    font-size: 14px;
}

.cbl-card:hover {
    border-color: #cbd6df;
    box-shadow: 0 18px 42px rgba(17, 24, 39, .1);
    transform: translateY(-2px);
}

.cbl-card-top {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.cbl-avatar {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: #11151c;
    color: #fff;
    font-weight: 800;
}

.cbl-card h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
}

.cbl-card p {
    margin: 0;
}

.cbl-card-meta,
.cbl-card-location,
.cbl-card-firm {
    color: var(--cbl-muted);
}

.cbl-card-firm a {
    color: inherit;
    text-decoration: none;
}

.cbl-card-firm a:hover {
    color: var(--cbl-accent);
}

.cbl-firm-lawyers {
    margin-top: 16px;
}

.cbl-card-practice {
    color: var(--cbl-ink);
    font-size: 14px;
    line-height: 1.5;
}

.cbl-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.cbl-action {
    border-radius: 6px;
    font-weight: 800;
}

.cbl-page .btn-outline-secondary {
    border-color: var(--cbl-line);
    color: var(--cbl-ink);
}

.cbl-page .btn-outline-secondary:hover {
    border-color: var(--cbl-accent);
    background: var(--cbl-soft);
    color: var(--cbl-accent-dark);
}

.cbl-profile-main {
    display: grid;
    gap: 16px;
}

.cbl-contact-card dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.cbl-contact-card dt {
    color: var(--cbl-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.cbl-contact-card dd {
    margin: -6px 0 4px;
    overflow-wrap: anywhere;
}

.cbl-detail-list {
    display: grid;
    gap: 16px;
}

.cbl-detail-list h3 {
    margin: 0 0 6px;
    color: var(--cbl-ink);
    font-size: 15px;
    font-weight: 800;
}

.cbl-source-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
}

.cbl-section p {
    color: var(--cbl-muted);
    line-height: 1.62;
}

.cbl-section ul {
    margin: 0;
}

.cbl-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.cbl-tag-list li {
    border: 1px solid rgba(14, 143, 126, .22);
    border-radius: 999px;
    background: var(--cbl-softer);
    padding: 7px 11px;
    color: var(--cbl-ink);
    font-size: 14px;
}

.cbl-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    border: 1px solid var(--cbl-line);
    border-radius: 12px;
    background: #fff;
    padding: 14px;
}

.cbl-pagination-status {
    color: var(--cbl-muted);
    font-size: 14px;
    font-weight: 800;
}

.cbl-pagination-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.cbl-pagination-links a,
.cbl-pagination-links strong,
.cbl-pagination-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    border-radius: 10px;
    padding: 8px 11px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.cbl-pagination-links a {
    border: 1px solid var(--cbl-line);
    background: #f8fafc;
    color: var(--cbl-ink);
    text-decoration: none;
}

.cbl-pagination-links a:hover {
    border-color: var(--cbl-accent);
    color: var(--cbl-accent);
}

.cbl-pagination-links strong {
    border: 1px solid var(--cbl-accent);
    background: var(--cbl-accent);
    color: #fff;
}

.cbl-pagination-links span {
    color: var(--cbl-muted);
}

@media (max-width: 991px) {
    .cbl-hero,
    .cbl-listing-hero,
    .cbl-profile-hero {
        padding: 44px 0 30px;
    }

    .cbl-link-list-columns {
        grid-template-columns: 1fr;
    }

    .cbl-home-features,
    .cbl-location-grid {
        grid-template-columns: 1fr;
    }

    .cbl-location-card-head {
        align-items: start;
        flex-direction: column;
    }

    .cbl-map-card {
        grid-template-columns: 1fr;
    }

    .cbl-results-search-shell,
    .cbl-results-layout {
        width: min(100% - 36px, 720px);
    }

    .cbl-results-searchbar {
        grid-template-columns: 1fr;
    }

    .cbl-results-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 28px;
    }

    .cbl-results-map {
        position: static;
    }

    .cbl-results-map-inner {
        min-height: auto;
    }

    .cbl-canada-map {
        height: 360px;
    }

    .cbl-lawyer-leaflet-map {
        height: 420px;
    }

    .cbl-map-visual {
        min-height: 260px;
    }

    .cbl-filter-panel.position-sticky,
    .cbl-contact-card.position-sticky {
        position: static !important;
    }

    .cbl-profile-badge {
        justify-self: start;
        width: min(100%, 260px);
    }
}

@media (max-width: 575px) {
    .cbl-theme-header .container {
        min-height: 58px;
    }

    .cbl-theme-brand {
        font-size: 21px;
    }

    .cbl-theme-header nav a:not(:first-child) {
        display: none;
    }

    .cbl-theme-header nav a:first-child {
        padding: 9px 12px;
        font-size: 14px;
    }

    .cbl-home-wrap {
        width: min(100% - 32px, 1120px);
    }

    .cbl-hero,
    .cbl-listing-hero,
    .cbl-profile-hero {
        padding: 38px 0 24px;
    }

    .cbl-hero h1,
    .cbl-listing-hero h1,
    .cbl-profile-hero h1 {
        font-size: 40px;
    }

    .cbl-hero-note {
        display: none;
    }

    .cbl-hero-center {
        text-align: left;
    }

    .cbl-hero-center .cbl-kicker,
    .cbl-hero-center h1,
    .cbl-hero-center .cbl-lede {
        margin-inline: 0;
    }

    .cbl-hero-center .cbl-hero-search {
        margin-top: 24px;
    }

    .cbl-home-assist {
        align-items: stretch;
        flex-direction: column;
        min-height: auto;
        padding: 18px;
    }

    .cbl-home-overview {
        padding: 32px 0 56px;
    }

    .cbl-home-overview h2 {
        text-align: left;
    }

    .cbl-home-features article {
        min-height: auto;
        padding: 22px;
    }

    .cbl-stats > [class*="col"] {
        flex: 0 0 auto;
        width: 33.333333%;
    }

    .cbl-stat {
        padding: 12px 8px;
    }

    .cbl-stat strong {
        font-size: 21px;
    }

    .cbl-stat span {
        display: block;
        font-size: 11px;
        line-height: 1.2;
    }

    .cbl-search-panel,
    .cbl-filter-panel,
    .cbl-contact-card,
    .cbl-section,
    .cbl-card {
        border-radius: 10px;
    }

    .cbl-map-card {
        border-radius: 12px;
        padding: 18px;
    }

    .cbl-results-search-shell,
    .cbl-results-layout {
        width: min(100% - 28px, 720px);
    }

    .cbl-results-searchbar,
    .cbl-city-result-card,
    .cbl-results-map-inner {
        border-radius: 10px;
    }

    .cbl-results-list-header {
        align-items: start;
        flex-direction: column;
        gap: 4px;
    }

    .cbl-results-hero h1 {
        font-size: 34px;
    }

    .cbl-city-result-top {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .cbl-city-thumb {
        width: 56px;
        height: 56px;
        border-radius: 12px;
        font-size: 24px;
    }

    .cbl-city-count {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .cbl-city-count span {
        margin: 0;
    }

    .cbl-map-city-links {
        grid-template-columns: 1fr;
    }

    .cbl-canada-map {
        height: 300px;
    }

    .cbl-lawyer-leaflet-map {
        height: 320px;
    }

    .cbl-map-pin b {
        display: none;
    }

    .cbl-map-card-compact {
        margin-top: 0;
    }

    .cbl-map-search {
        padding: 10px;
    }

    .cbl-locations-band {
        padding-bottom: 56px;
    }

    .cbl-location-card {
        border-radius: 20px;
        padding: 24px 18px;
    }

    .cbl-location-card-head h2 {
        font-size: 34px;
    }

    .cbl-city-list,
    .cbl-practice-list {
        grid-template-columns: 1fr;
    }

    .cbl-pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .cbl-pagination-links {
        justify-content: flex-start;
    }

    .cbl-map-visual {
        min-height: 220px;
    }

    .cbl-card-top {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .cbl-avatar {
        width: 40px;
        height: 40px;
    }
}
