.bd-wrap{max-width:980px;margin:0 auto; padding: 0 12px}
.bd-filter{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 14px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
.bd-filter label{display:flex;gap:8px;align-items:center;font-size:14px;color:#111827}
.bd-filter select{padding:6px 8px;border:1px solid #d1d5db;border-radius:10px;background:#fff}
.bd-filter .bd-clear{margin-left:auto;padding:6px 10px;border:1px solid #d1d5db;border-radius:10px;background:#fff;cursor:pointer}
.bd-count{margin:6px 0 10px;font-size:13px;color:#6b7280}

.bd-results{display:flex;flex-direction:column;gap:12px; align-items: stretch;
margin:0;
}
.bd-card{
  display:flex;
  width:100%;
  gap:12px;
  align-items:flex-start;
  border:1px solid #e5e7eb;
  border-radius:14px;
  background:#fff;
  padding:12px;
}

.bd-card:hover{border-color:#cbd5e1;box-shadow:0 6px 16px rgba(0,0,0,0.06)}

.bd-brand-image{flex:0 0 auto;width:56px;height:56px;border-radius:12px;border:1px solid #e5e7eb;background:#f9fafb;display:flex;align-items:center;justify-content:center;overflow:hidden}
.bd-brand-image img{
vertical-align: top; 
max-width:100%;max-height:100%;display:block}

.bd-body{flex:1 1 auto;min-width:0}
.bd-title{margin:0;font-size:18px;line-height:1.25}
.bd-title a{color:#111827;text-decoration:none}
.bd-title a:hover{text-decoration:underline}

.bd-url{margin-top:2px;font-size:13px;color:#047857;word-break:break-all}
.bd-address{margin-top:2px;font-size:13px;color:#4b5563}
.bd-meta{margin-top:6px;font-size:13px;color:#4b5563;display:flex;flex-wrap:wrap;gap:10px}
.bd-meta span{display:inline-flex;gap:6px;align-items:center}
.bd-meta .k{color:#6b7280}

/* Contact row - all on one line */
.bd-contact-row{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:12px;
	margin-top:6px;
	font-size:13px;
}

.bd-contact-row > div{
	margin:0;
	display:inline-flex;
	align-items:center;
}

/* ASCII pipe separator between items */
.bd-contact-row > *:not(:last-child)::after{
	content:"|";
	margin-left:12px;
	color:#d1d5db;
}

.bd-phone a{
	color:#047857;
	text-decoration:none;
	font-weight:600;
}

.bd-email a{
	color:#2563eb;
	text-decoration:none;
}

.bd-contact a{
	display:inline-flex;
	align-items:center;
	padding:1px 8px;
	background:#f3f4f6;
	border:1px solid #d1d5db;
	border-radius:999px;
	color:#4b5563;
	font-size:11px;
	font-weight:600;
	text-transform:uppercase;
	letter-spacing:0.3px;
	text-decoration:none;
}

.bd-contact a:hover{
	background:#e5e7eb;
	color:#111827;
}

.bd-tags{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px}
.bd-tag{display:inline-flex;align-items:center;padding:4px 10px;border:1px solid #e5e7eb;border-radius:999px;background:#f9fafb;font-size:12px;color:#111827}

.bd-snippet{margin-top:10px;font-size:14px;color:#111827}
.bd-actions{margin-top:10px;display:flex;gap:12px;align-items:center}
.bd-actions a{font-size:14px;text-decoration:none;color:#2563eb}
.bd-actions a:hover{text-decoration:underline}
.bd-browse{margin:10px 0 14px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
.bd-browse-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:6px 0}
.bd-browse-label{font-weight:600;color:#111827;margin-right:6px}
.bd-browse-link{display:inline-block;padding:4px 10px;border:1px solid #e5e7eb;border-radius:999px;text-decoration:none}
.bd-browse-link.is-active{border-color:#111827}
.bd-h2{margin:10px 0 14px}
.bd-loc{font-size:13px;color:#374151;margin-top:4px}
.bd-acc{margin-top:10px}
.bd-acc-summary{cursor:pointer;user-select:none;font-size:14px;font-weight:600;color:#374151;display:flex;align-items:center;gap:8px}
.bd-acc-summary::-webkit-details-marker{display:none}
.bd-acc-summary:before{content:"+";display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:1px solid #d1d5db;border-radius:4px;font-weight:700;line-height:1}
.bd-acc[open] .bd-acc-summary:before{content:"-"}
.bd-acc-body{margin-top:10px;padding:10px 12px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px}
.bd-comm-list{margin:0;padding-left:18px;columns:2;column-gap:18px}
.bd-comm-list li{break-inside:avoid;margin:0 0 6px 0;font-size:13px;color:#374151}
.bd-comm-more{color:#6b7280;font-style:italic}
@media (max-width:700px){.bd-comm-list{columns:1}}
@media (max-width:640px){
	.bd-card{flex-direction:column;align-items:flex-start;}
	.bd-brand-image{width:100%;height:auto;max-width:80px;}
	.bd-filter{flex-direction:column;align-items:stretch;}
	.bd-filter label{display:flex;flex-direction:column;}
	.bd-contact-row{gap:8px;}
}

.bd-address a {
	color: #4b5563;
	text-decoration: none;
	border-bottom: 1px dotted #9ca3af;
}

.bd-address a:hover {
	color: #2563eb;
	border-bottom-color: #2563eb;
}

.bd-address a::before {
	content: "Map: ";  /* Or use \2197 for arrow */
	color: #6b7280;
	font-size: 11px;
}

.bd-address{margin-top:2px;font-size:13px;color:#374151;font-weight:500}
.bd-pill{display:inline-flex;align-items:center;padding:1px 8px;margin-left:8px;background:#f3f4f6;border:1px solid #d1d5db;border-radius:999px;color:#4b5563;font-size:10px;font-weight:600;text-transform:uppercase;text-decoration:none;letter-spacing:0.3px}
.bd-pill:hover{background:#e5e7eb;color:#111827}

.bd-location {
	margin-top: 4px;
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	line-height: 1.4;
}

.bd-location a {
	color: #374151;
	text-decoration: none;
	border-bottom: 1px dotted #9ca3af;
	transition: all 0.2s;
}

.bd-location a:hover {
	color: #2563eb;
	border-bottom-color: #2563eb;
}

.bd-service-groups {
	gap: 8px !important; /* tighter spacing between groups */
}

.bd-svc-group {
	border: none !important; /* remove the box border */
	background: transparent !important; /* remove white background */
	padding: 4px 0 !important; /* minimal vertical padding */
	border-radius: 0 !important;
}

.bd-svc-group > div:first-child {
	font-size: 13px; /* smaller section header */
	font-weight: 600;
	color: #1d2327;
	margin-bottom: 4px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

/* Remove pill styling from child checkboxes */
.bd-svc-group div[style*="display:flex"] label,
.bd-svc-group div[style*="flex-wrap:wrap"] label {
	border: none !important;
	background: transparent !important;
	padding: 2px 8px 2px 0 !important; /* left-align, minimal padding */
	border-radius: 0 !important;
	font-size: 12px; /* smaller text */
	color: #3c434a;
}

/* Shrink the actual checkboxes */
.bd-svc-group input[type="checkbox"] {
	width: 14px;
	height: 14px;
	margin-right: 4px;
}

/* Parent "All X" checkbox styling */
.bd-svc-group > label {
	font-size: 12px;
	font-weight: 500;
	margin: 0 0 6px 0 !important;
	display: block;
}

/* Indent children slightly less */
.bd-svc-group div[style*="padding-left"] {
	padding-left: 12px !important; /* was 18px */
	gap: 4px 12px !important; /* tighter gap */
}

/* Hover state for clarity */
.bd-svc-group label:hover {
	color: #2271b1;
	cursor: pointer;
}
