.cbrcd-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.cbrcd-directory-wrap,
.cbrcd-featured-wrap {
    color: #2e2d2d;
}

.cbrcd-directory-shell {
    position: relative;
}
.cbrcd-sort-indicator {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 28px;
	padding: 4px 6px 4px 10px;
	border: 1px solid #ddd3cf;
	background: #f7f4f2;
	color: #66615d;
	font-size: 12px;
	line-height: 1.2;
	white-space: nowrap;
}

.cbrcd-sort-indicator__label {
	display: inline-block;
}

.cbrcd-sort-indicator__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #66615d;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	border-radius: 999px;
}

.cbrcd-sort-indicator__remove:hover,
.cbrcd-sort-indicator__remove:focus {
	background: rgba(0,0,0,0.06);
	outline: none;
}

.cbrcd-loading-indicator {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,.96);
    border: 1px solid #d8d1cc;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.cbrcd-directory-wrap.is-loading .cbrcd-loading-indicator {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cbrcd-loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #d8d1cc;
    border-top-color: #5f86a2;
    border-radius: 50%;
    animation: cbrcd-spin .8s linear infinite;
}

.cbrcd-loading-text {
    font-size: 13px;
    line-height: 1.2;
    color: #2e2d2d;
}

@keyframes cbrcd-spin {
    to { transform: rotate(360deg); }
}


.cbrcd-directory-wrap * {
    box-sizing: border-box;
}

.cbrcd-section-header-simple {
    margin: 0 0 24px;
}

.cbrcd-featured-grid,
.cbrcd-card-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 18px;
}

.cbrcd-grid-cols-2,
.cbrcd-grid-cols-3,
.cbrcd-grid-cols-4 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.cbrcd-card {
    background: #f6f4f1;
    padding: 28px 22px 24px;
    border: 0;
    box-shadow: none;
}

.cbrcd-card-featured {
    background: #fff;
    text-align: center;
}

.cbrcd-featured-image-wrap {
    width: 140px;
    height: 140px;
    margin: 0 auto 18px;
    border-radius: 999px;
    overflow: hidden;
}

.cbrcd-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cbrcd-card-name {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.15;
    color: #5f86a2;
    text-align: center;
    font-weight: 300;
}

.cbrcd-card-directory .cbrcd-card-name {
    font-size: 18px !important;
    line-height: 1.15 !important;
    color: #5f86a2 !important;
    margin: 0 0 14px !important;
}

.cbrcd-card-directory h1.cbrcd-card-name,
.cbrcd-card-directory h2.cbrcd-card-name,
.cbrcd-card-directory h3.cbrcd-card-name,
.cbrcd-card-directory h4.cbrcd-card-name,
.cbrcd-card-directory h5.cbrcd-card-name,
.cbrcd-card-directory h6.cbrcd-card-name {
    line-height: 1.15 !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
    font-family: Helvetica, Arial, Verdana, sans-serif;
}

.cbrcd-card-featured .cbrcd-card-name {
    font-size: 24px;
}

.cbrcd-card-business,
.cbrcd-card-tax {
    margin: 0;
}

.cbrcd-category-browser {
    margin: 0 0 60px;
	
}
/* Category browser */
.cbrcd-category-browser {
	text-align: center;
}

.cbrcd-category-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 28px;
	align-items: start;
	justify-items: center;
}

.cbrcd-category-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	color: #222 !important;
	text-decoration: none;
}

.cbrcd-category-link:hover,
.cbrcd-category-link:focus,
.cbrcd-category-link:visited {
	color: #222 !important;
	text-decoration: none;
}

.cbrcd-category-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
}

.cbrcd-category-icon img,
.cbrcd-category-icon svg {
	display: block;
	margin: 0 auto;
}

.cbrcd-category-name {
	display: block;
	text-align: center;
	color: #222 !important;
}
.cbrcd-category-title-wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    margin: 0 0 40px;
}

.cbrcd-rule {
    height: 1px;
    background: #cfc9c5;
}

.cbrcd-category-title {
    margin: 0;
    font-size: 28px;
    text-align: center;
}

.cbrcd-category-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cbrcd-category-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #2e2d2d;
    text-align: center;
}

.cbrcd-category-pill.is-active .cbrcd-category-icon,
.cbrcd-category-pill:hover .cbrcd-category-icon,
.cbrcd-category-pill:focus .cbrcd-category-icon {
    background: #d8ebef;
    border-color: #aac8cf;
}

.cbrcd-category-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cbrcd-category-icon img {
    max-width: 100%;
    max-height: 100%;
}

.cbrcd-category-icon span {
    font-size: 30px;
    font-weight: 600;
}

.cbrcd-category-name {
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
}

.cbrcd-directory-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
	font-family: 'open sans', Helvetica, Arial, Verdana, sans-serif;
}

.cbrcd-results-panel {
    min-width: 0;
}

.cbrcd-filters {
    background: #fff;
}

.cbrcd-filter-inner {
    position: sticky;
    top: 24px;
}



.cbrcd-filter-title {
    margin: 0;
    font-size: 16px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cbrcd-clear-filters {
    font-size: 13px;
    color: #4f7e96;
}

.cbrcd-filter-search-wrap {
    margin: 0 0 18px;
}

.cbrcd-search-input,
.cbrcd-sort-wrap select,
.cbrcd-per-page-wrap select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d8d1cc;
    background: #fff;
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 0;
    box-shadow: none;
}

.cbrcd-accordion {
    border-top: 1px solid #ddd3cf;
}

.cbrcd-filter-group {
    border-bottom: 1px solid #ddd3cf;
}

.cbrcd-filter-group summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    font-size: 14px;
}

.cbrcd-filter-group summary::-webkit-details-marker {
    display: none;
}

.cbrcd-summary-icon::before {
    content: '+';
    font-size: 20px;
}

.cbrcd-filter-group[open] .cbrcd-summary-icon::before {
    content: '−';
}

.cbrcd-filter-options {
    display: grid;
    gap: 10px;
    padding: 0 0 18px;
}

.cbrcd-checkbox-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
}

.cbrcd-results-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: self-end;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0 0 22px;
}

.cbrcd-results-count {
    margin: 0;
    font-size: 14px;
    color: #5c5958;
    white-space: nowrap;
}

.cbrcd-sort-wrap {
    min-width: 220px;
    margin-left: auto;
}

.cbrcd-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
}

.cbrcd-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid #d6d0cb;
    background: #fff;
    color: #2e2d2d;
    text-decoration: none;
    font-size: 13px;
}

.cbrcd-card-directory {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    text-align: center;
}

.cbrcd-card-grid .cbrcd-card-directory {
    height: 100%;
}

.cbrcd-card-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
}

.cbrcd-card-links > * {
    display: block;
}

.cbrcd-card-links a,
.cbrcd-card-links span {
    color: #6a8ea6;
    font-size: 13px;
    line-height: 1.45;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.cbrcd-card-links .cbrcd-business-name,
.cbrcd-card-links .cbrcd-state {
    text-decoration: none;
}

.cbrcd-card-links .cbrcd-business-name {
    color: #6a8ea6;
}

.cbrcd-card-description {
    margin: 0 0 16px;
    text-align: left;
    font-size: 13px;
    line-height: 1.58;
    color: #383434;
}

.cbrcd-card-description strong {
    font-weight: 700;
}

.cbrcd-card-description p {
    margin: 0;
}

.cbrcd-card-detail {
    margin: 0 0 8px;
    text-align: left;
    font-size: 13px;
    line-height: 1.58;
    color: #383434;
}

.cbrcd-card-detail strong {
    font-weight: 700;
    color: #2f2b2b;
}

.cbrcd-card-detail:last-child {
    margin-bottom: 0;
}

.cbrcd-empty {
    padding: 28px;
    background: #f6f4f4;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.cbrcd-empty h3,
.cbrcd-empty p {
    margin-top: 0;
}

.cbrcd-pagination-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 26px 0 0;
}

.cbrcd-pagination {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cbrcd-page-link {
    text-decoration: none;
    color: #2e2d2d;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
	font-size: 15px;
}

.cbrcd-page-link.is-current,
.cbrcd-page-link:hover,
.cbrcd-page-link:focus {
    border-color: transparent;
    background: #fff;
	font-weight: bold;
}

.cbrcd-per-page-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.cbrcd-per-page-wrap select {
    width: auto;
    min-width: 82px;
}

.cbrcd-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    text-decoration: none;
}

.cbrcd-button-primary {
    background: #4f7e96;
    color: #fff;
    border: 1px solid #4f7e96;
}

.cbrcd-directory-wrap.is-loading .cbrcd-results-shell {
    opacity: .55;
    pointer-events: none;
}

.cbrcd-directory-wrap.is-loading .cbrcd-results-shell::after {
    content: 'Updating results…';
    position: absolute;
    top: 12px;
    right: 0;
    font-size: 13px;
    color: #4f7e96;
}

.cbrcd-results-content {
    min-height: 200px;
}

.cbrcd-sort-wrap select,
.cbrcd-per-page-wrap select {
    appearance: auto;
}

.cbrcd-checkbox-row {
    font-size: 13px;
    line-height: 1.45;
}

.cbrcd-checkbox-row input {
    margin-top: 2px;
}

.cbrcd-empty {
    padding: 28px;
    background: #f6f4f1;
    border: 0;
}

.cbrcd-directory-wrap.is-loading .cbrcd-results-shell {
    opacity: .6;
}

.cbrcd-directory-wrap.is-loading .cbrcd-results-shell::after {
    right: 8px;
}

/* v1.1.4 design alignment */
.cbrcd-filter-topbar {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin: 20px 0 22px;
}
.cbrcd-filter-topbar-simple .cbrcd-filter-title { font-size: 18px; letter-spacing: .12em; font-weight: 700; font-family: 'Open sans'}
.cbrcd-filter-search-wrap,
.cbrcd-clear-filters,
.cbrcd-active-filters,
.cbrcd-cta { display: none !important; }

.cbrcd-filter-options { padding: 6px 0 14px 8px; }
.cbrcd-filter-links { display: flex; flex-direction: column; gap: 4px; }
.cbrcd-filter-link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    text-decoration: none;
    color: #494643;
    font-size: 13px;
    line-height: 1.35;
}
.cbrcd-filter-link:hover,
.cbrcd-filter-link:focus { color: #5f86a2; }
.cbrcd-filter-link.is-active { color: #5f86a2; font-weight: 600; }
.cbrcd-filter-link-count { color: #6f6a66; }

.cbrcd-sort-wrap,
.cbrcd-per-page-wrap { position: relative; display: inline-flex; align-items: center; }
.cbrcd-sort-wrap select,
.cbrcd-per-page-wrap select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 42px;
    background-image: none !important;
}
.cbrcd-sort-wrap::after,
.cbrcd-per-page-wrap::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #4f4c49;
    border-bottom: 1.5px solid #4f4c49;
    transform: translateY(-60%) rotate(45deg);
    pointer-events: none;
}
a[itemprop="telephone"],
a[itemprop="email"] {
    text-decoration: none;
}

/* optional: keep no underline on hover too */
a[itemprop="telephone"]:hover,
a[itemprop="email"]:hover {
    text-decoration: none;
}

a[itemprop="url"] {
    text-decoration: underline;
}

.cbrcd-card-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 28px; }
.cbrcd-card-directory {
    background: #F9F7F7;
    padding: 30px 22px 24px;
    min-height: 100%;
}
.cbrcd-card-directory .cbrcd-card-name {
    text-align: center;
    font-size: 18px !important;
    font-weight: 600 !important;
	text-transform: uppercase;
    color: #5f86a2 !important;
    margin-bottom: 16px !important;
}
.cbrcd-card-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}
.cbrcd-card-links,
.cbrcd-card-links a,
.cbrcd-card-links span {
    font-size: 14px;
    line-height: 1.25;
    color: #5f86a2;
}
.cbrcd-card-description,
.cbrcd-card-detail {
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    color: #3d3a37;
}
.cbrcd-card-description p { margin: 0 0 10px; }
.cbrcd-card-detail { margin: 0 0 8px; }

/* v1.1.5 UX/performance alignment */
.cbrcd-results-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

.cbrcd-sort-indicator {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid #ddd3cf;
    background: #f7f4f2;
    color: #66615d;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.cbrcd-sort-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 238px;
    margin-left: auto;
}

.cbrcd-sort-wrap select,
.cbrcd-per-page-wrap select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none !important;
    padding-right: 40px;
    line-height: 1.2;
}

.cbrcd-sort-wrap::after,
.cbrcd-per-page-wrap::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -5px;
    border-right: 1.5px solid #4f4c49;
    border-bottom: 1.5px solid #4f4c49;
    transform: rotate(45deg);
    pointer-events: none;
}

.cbrcd-pagination-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    margin: 26px 0 0;
}

.cbrcd-pagination-slot {
    min-height: 36px;
    display: flex;
    align-items: center;
}

.cbrcd-pagination-wrap.is-single-page .cbrcd-pagination-slot {
    visibility: hidden;
}

.cbrcd-pagination {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.cbrcd-page-link-next {
    font-size: 22px;
    line-height: 1;
	margin-top: -4px;
}

.cbrcd-per-page-wrap {
    justify-self: end;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.cbrcd-per-page-wrap select {
    width: 82px;
    min-width: 82px;
}


/* v1.1.8 cleanup */
.cbrcd-sort-wrap::after,
.cbrcd-per-page-wrap::after {
    content: none !important;
}

.cbrcd-sort-wrap,
.cbrcd-per-page-wrap {
    position: relative;
}

.cbrcd-sort-wrap select,
.cbrcd-per-page-wrap select {
    padding-right: 42px !important;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234f4c49' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px 8px !important;
}

.cbrcd-results-panel {
    position: relative;
    min-width: 0;
}

.cbrcd-results-loading {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255,255,255,.68);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
    pointer-events: none;
}

.cbrcd-directory-wrap.is-loading .cbrcd-results-loading {
    opacity: 1;
    visibility: visible;
}

.cbrcd-directory-wrap.is-loading [data-cbrcd-panel] {
    opacity: .58;
}


/* v1.1.9 cleanup */
.cbrcd-directory-wrap {
    width: 100%;
}

.cbrcd-content-width {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 28px;
    padding-right: 28px;
}

.cbrcd-directory-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.cbrcd-results-panel,
.cbrcd-results-shell,
.cbrcd-results-card-area {
    min-width: 0;
}



.cbrcd-results-meta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cbrcd-sort-wrap,
.cbrcd-per-page-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cbrcd-sort-wrap::after,
.cbrcd-per-page-wrap::after {
    display: none !important;
    content: none !important;
}

.cbrcd-sort-wrap select,
.cbrcd-per-page-wrap select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.25L6 6.25L11 1.25' fill='none' stroke='%236b6763' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    padding-right: 40px !important;
}

.cbrcd-sort-wrap select {
    min-width: 238px;
}

.cbrcd-per-page-wrap select {
    width: 82px;
    min-width: 82px;
}

.cbrcd-pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cbrcd-pagination-slot {
    flex: 1 1 auto;
    min-width: 0;
}

.cbrcd-pagination-wrap.is-single-page .cbrcd-pagination-slot {
    min-height: 1px;
}

.cbrcd-pagination-wrap .cbrcd-per-page-wrap {
    margin-left: auto;
    flex: 0 0 auto;
}

.cbrcd-results-panel {
    position: relative;
}

.cbrcd-results-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255,255,255,.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
    z-index: 5;
}

.cbrcd-directory-wrap.is-loading .cbrcd-results-loading {
    opacity: 1;
    visibility: visible;
}

.cbrcd-directory-wrap.is-loading [data-cbrcd-panel] {
    opacity: .45;
}


/* icon image grow */
.cbrcd-category-icon {
    display: inline-block;
}
.cbrcd-category-icon img {
    display: block;
    transition: transform 0.25s ease;
    will-change: transform;
}
.cbrcd-category-link:hover .cbrcd-category-icon img {
    transform: scale(1.06);
}

.cbrcd-card.cbrcd-card-directory {
    transition: box-shadow 0.22s ease, transform 0.22s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.cbrcd-card.cbrcd-card-directory:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .cbrcd-featured-grid,
    .cbrcd-grid-cols-2,
    .cbrcd-grid-cols-3,
    .cbrcd-grid-cols-4,
    .cbrcd-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cbrcd-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .cbrcd-grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cbrcd-grid-cols-4,
    .cbrcd-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cbrcd-category-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .cbrcd-directory-main {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 38px;
    }
}


@media (min-width: 1024px) {
    .cbrcd-directory-main {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 34px;
    }

    .cbrcd-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (min-width: 900px) {
    .cbrcd-directory-main { grid-template-columns: 220px minmax(0, 1fr); gap: 42px; }
    .cbrcd-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .cbrcd-results-toolbar {
        align-items: stretch;
    }

    .cbrcd-sort-wrap {
        width: 100%;
        min-width: 0;
    }

    .cbrcd-pagination-wrap {
        grid-template-columns: 1fr;
    }

    .cbrcd-per-page-wrap {
        justify-self: start;
    }
}

@media (min-width: 1024px) {
    .cbrcd-directory-main {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 42px;
    }
}


@media (max-width: 1023px) {
    .cbrcd-content-width {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 767px) {
    .cbrcd-results-toolbar,
    .cbrcd-pagination-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .cbrcd-sort-wrap,
    .cbrcd-sort-wrap select {
        width: 100%;
        min-width: 0;
    }

    .cbrcd-pagination-wrap .cbrcd-per-page-wrap {
        margin-left: 0;
        justify-content: flex-end;
    }
}


@media (min-width: 768px) {
    .cbrcd-featured-grid,
    .cbrcd-grid-cols-2,
    .cbrcd-grid-cols-3,
    .cbrcd-grid-cols-4,
    .cbrcd-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cbrcd-category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .cbrcd-grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cbrcd-grid-cols-4,
    .cbrcd-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cbrcd-category-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .cbrcd-directory-main {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 38px;
    }
}


@media (min-width: 1024px) {
    .cbrcd-directory-main {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 34px;
    }

    .cbrcd-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (min-width: 900px) {
    .cbrcd-directory-main { grid-template-columns: 220px minmax(0, 1fr); gap: 42px; }
    .cbrcd-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .cbrcd-results-toolbar {
        align-items: stretch;
    }

    .cbrcd-sort-wrap {
        width: 100%;
        min-width: 0;
    }

    .cbrcd-pagination-wrap {
        grid-template-columns: 1fr;
    }

    .cbrcd-per-page-wrap {
        justify-self: start;
    }
}

@media (min-width: 1024px) {
    .cbrcd-directory-main {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 42px;
    }
}


@media (max-width: 1023px) {
    .cbrcd-content-width {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 767px) {
    .cbrcd-results-toolbar,
    .cbrcd-pagination-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .cbrcd-sort-wrap,
    .cbrcd-sort-wrap select {
        width: 100%;
        min-width: 0;
    }

    .cbrcd-pagination-wrap .cbrcd-per-page-wrap {
        margin-left: 0;
        justify-content: flex-end;
    }
}
@media (max-width: 1150px) {
	.cbrcd-directory-main {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
		align-items: start;
	}
}

/* Featured cards: splash section design */
.cbrcd-featured-wrap {
    margin: 0;
}

.cbrcd-featured-grid {
    gap: 18px;
}

.cbrcd-card-featured {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px 28px 30px;
    background: rgba(255,255,255,0.94);
    border-radius: 18px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.10);
    text-align: left;
}

.cbrcd-card-featured .cbrcd-card-name {
    margin: 0 0 4px;
    color: #577c8e;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 600;
    font-family: "Poppins", Helvetica, Arial, Verdana, sans-serif;
    text-align: center;
}

.cbrcd-card-location {
    margin: 0 0 18px;
    color: #577c8e;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 300;
    text-align: center;
}

.cbrcd-card-featured .cbrcd-card-detail,
.cbrcd-card-featured .cbrcd-card-description,
.cbrcd-card-featured .cbrcd-card-description p {
    margin: 0 0 12px;
    color: #2f2d2c;
    font-size: 15px;
    line-height: 1.55;
}

.cbrcd-card-featured .cbrcd-card-description p:last-child {
    margin-bottom: 0;
}

.cbrcd-card-featured strong,
.cbrcd-card-directory strong {
    color: #1f1d1c;
    font-weight: 700;
}

.cbrcd-card-cta {
    margin: auto 0 0;
    padding-top: 12px;
    text-align: center;
}

.cbrcd-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 162px;
    min-height: 42px;
    padding: 10px 26px;
    border-radius: 999px;
    background: #577c8e;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 300;
}

.cbrcd-card-button:hover,
.cbrcd-card-button:focus {
    background: #475f6a;
    color: #fff !important;
}

.cbrcd-card-directory.is-featured {
    position: relative;
    border: 1px solid #e6ded8;
    box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}

.cbrcd-featured-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef4f7;
    color: #577c8e;
    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 1023px) {
    .cbrcd-card-featured {
        padding: 24px 22px 28px;
    }
}

@media (max-width: 767px) {
    .cbrcd-card-featured {
        padding: 22px 18px 24px;
    }

    .cbrcd-card-featured .cbrcd-card-name {
        font-size: 18px;
    }

    .cbrcd-card-location,
    .cbrcd-card-featured .cbrcd-card-detail,
    .cbrcd-card-featured .cbrcd-card-description,
    .cbrcd-card-featured .cbrcd-card-description p {
        font-size: 15px;
    }

    .cbrcd-card-button {
        min-width: 150px;
    }
}


/* Featured splash shortcode: align with WPBakery splash section */
.cbrcd-featured-wrap {
    width: 100%;
}

.cbrcd-featured-wrap .cbrcd-section-header,
.cbrcd-featured-wrap .cbrcd-featured-heading {
    display: none;
}

.cbrcd-card-featured .cbrcd-card-featured__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cbrcd-card-featured .cbrcd-card-featured__header {
    margin: 0 0 12px;
}

.cbrcd-card-featured .cbrcd-card-featured__content {
    flex: 1 1 auto;
}

.cbrcd-card-featured .cbrcd-card-featured__footer {
    margin-top: auto;
}

.cbrcd-card-featured .cbrcd-card-cta {
    margin: 22px 0 0;
    padding-top: 0;
}

.cbrcd-card-featured .cbrcd-card-description {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* If the shortcode is dropped inside the legacy mock card column, force that wrapper full width */
.cic-coaches-cards-row > .cic-coach-card.vc_col-sm-12,
.cic-coaches-cards-row > .cic-coach-card:has(.cbrcd-featured-wrap) {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

.cic-coaches-cards-row > .cic-coach-card.vc_col-sm-12 > .vc_column-inner,
.cic-coaches-cards-row > .cic-coach-card:has(.cbrcd-featured-wrap) > .vc_column-inner {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.cic-coaches-cards-row > .cic-coach-card.vc_col-sm-12 .wpb_wrapper,
.cic-coaches-cards-row > .cic-coach-card:has(.cbrcd-featured-wrap) .wpb_wrapper {
    width: 100%;
}
