/* Scoped directory styles. Colours are resolved from each site's settings/theme. */
.cml-places { --cml-primary:#176550; --cml-primary-text:#fff; --cml-accent:#ffcc00; --cml-accent-text:#111827; --cml-hero:#0a3025; --cml-hero-accent:#ffe376; box-sizing:border-box; container:cml-directory / inline-size; color:#263b34; font-family:inherit; font-size:15px; line-height:1.5; width:100%; max-width:1440px; margin:24px auto; padding:24px; background:#f5f7fb; border-radius:22px; }
.cml-places *, .cml-places *::before, .cml-places *::after { box-sizing:border-box; }
.cml-places [hidden] { display:none !important; }
.cml-places h2, .cml-places h3, .cml-places p { margin:0; }
.cml-places button, .cml-places input, .cml-places select { font:inherit; letter-spacing:normal; text-transform:none; }
.cml-places button { cursor:pointer; margin:0; box-shadow:none; line-height:1.4; }
.cml-places button:hover { filter:brightness(.96); }
.cml-places :is(button,input,select,a):focus-visible { outline:3px solid var(--cml-accent); outline-offset:3px; }
.cml-places .cml-visually-hidden { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
/* Protect component colour states from broad theme button/field rules. */
.cml-places-hero { background:var(--cml-hero) !important; color:#fff !important; border-radius:22px; padding:28px; box-shadow:0 6px 18px #142c2312; }
.cml-places-hero__badge { display:inline-flex; padding:9px 16px; border-radius:9px; background:var(--cml-accent) !important; color:var(--cml-accent-text) !important; font-size:13px; font-weight:750; }
.cml-places-hero__intro { display:flex; justify-content:space-between; align-items:center; gap:28px; margin:24px 0; padding-bottom:24px; border-bottom:1px solid #ffffff26; }
.cml-places-hero h2 { color:#fff !important; font-size:clamp(28px,3.6vw,44px); font-weight:750; line-height:1.1; letter-spacing:-.025em; margin-bottom:14px; }
.cml-places-hero h2 span { color:var(--cml-hero-accent) !important; }
.cml-places-hero p { color:#e1ebe7 !important; font-size:14px; max-width:680px; }
.cml-places-hero__total { flex:0 0 150px; border:1px solid #ffffff36 !important; border-radius:14px; text-align:center; padding:20px 14px; background:#00000012 !important; }
.cml-places-hero__total strong { display:block; color:var(--cml-hero-accent) !important; font-size:38px; font-weight:800; line-height:1.2; }
.cml-places-hero__total span { font-size:11px; text-transform:uppercase; font-weight:700; }
.cml-places-search { display:flex; align-items:center; gap:12px; background:#fff !important; border:2px solid var(--cml-accent) !important; border-radius:14px; padding:7px 8px 7px 18px; margin:0; }
.cml-places-search svg { flex:0 0 20px; width:20px; height:20px; fill:none; stroke:#23352d; stroke-width:1.6; }
.cml-places .cml-places-search__input { flex:1 1 auto; width:100%; max-width:none; min-width:0; min-height:42px; padding:8px 0; border:0 !important; border-radius:0; background:#fff !important; color:#263b34 !important; box-shadow:none; }
.cml-places-search button { flex-shrink:0; border:0 !important; border-radius:10px; padding:14px 20px; font-size:13px; font-weight:750; background:var(--cml-accent) !important; color:var(--cml-accent-text) !important; }
.cml-places-layout { display:grid; grid-template-columns:minmax(240px,30%) minmax(0,1fr); gap:20px; margin-top:24px; align-items:start; }
.cml-places-filters { border:1px solid #e4e9e6 !important; border-radius:14px; background:#fff !important; padding:18px 16px; }
.cml-places-filters h3 { font-size:13px; text-transform:uppercase; font-weight:750; padding-bottom:10px; border-bottom:1px solid #e4e9e6; }
.cml-places-groups { margin:5px 0 20px; }
.cml-places-groups button { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:10px 8px; width:100%; color:#243d32 !important; background:transparent !important; border:1px solid transparent !important; border-radius:4px; text-align:left; font-size:13px; }
.cml-places-groups button.is-active { border-color:var(--cml-primary) !important; background:#f0f5f2 !important; font-weight:750; }
.cml-places-groups button span:last-child { font-size:12px; }
.cml-places-filters label { display:block; font-size:12px; font-weight:700; margin-bottom:6px; }
.cml-places-filters select { width:100%; max-width:none; min-width:0; padding:9px; min-height:42px; color:#263b34 !important; background:#fff !important; border:1px solid #d7e0db !important; border-radius:7px; font-size:13px; }
.cml-places-category { margin-top:18px; }
.cml-places .cml-clear-filters { margin-top:20px; padding:8px 12px; border:1px solid #d7e0db !important; border-radius:7px; background:#fff !important; color:#263b34 !important; font-size:12px; font-weight:700; }
.cml-places-main { min-width:0; }
.cml-places-topbar { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:18px; background:#fff !important; border:1px solid #e4e9e6 !important; border-radius:16px; }
.cml-places .cml-places-count { font-size:23px; line-height:1.2; color:#172b26 !important; font-weight:700; }
.cml-places-count::before { content:''; display:inline-block; width:10px; height:10px; background:var(--cml-primary) !important; border-radius:50%; margin-right:10px; }
.cml-places-controls { display:flex; flex-direction:column; align-items:flex-end; gap:9px; }
.cml-places-sort, .cml-places-views { display:flex; align-items:center; gap:6px; margin:0; }
.cml-places-sort label, .cml-places-views > span { font-size:11px; padding-right:3px; color:#52625e !important; }
.cml-places-sort select { color:#263b34 !important; background:#fff !important; border:1px solid #e4e9e6 !important; border-radius:6px; min-height:34px; padding:5px 8px; width:auto; font-size:12px; }
.cml-places-sort button { border:0 !important; border-radius:6px; padding:8px 12px; background:#172b26 !important; color:#fff !important; font-size:12px; font-weight:700; }
.cml-places-alphabet { display:flex; justify-content:space-between; flex-wrap:wrap; gap:3px; padding:9px; margin:16px 0; background:#fff !important; border:1px solid #e4e9e6 !important; border-radius:9px; }
.cml-places-alphabet button { flex:1 0 24px; border:0 !important; border-radius:4px; padding:5px 2px; background:#fff !important; color:#364e44 !important; font-size:11px; }
.cml-places-alphabet button[aria-pressed=true] { background:var(--cml-primary) !important; color:var(--cml-primary-text) !important; }
.cml-places-map-card { background:#fff !important; border:1px solid #e4e9e6 !important; border-radius:16px; padding:16px; margin-bottom:16px; }
.cml-places-map-tools { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:12px; font-size:12px; }
.cml-places-map-tools button { background:var(--cml-primary) !important; color:var(--cml-primary-text) !important; border:0 !important; border-radius:7px; padding:9px 13px; font-size:12px; font-weight:700; }
.cml-places-map-wrap { position:relative; border-radius:10px; overflow:hidden; height:var(--cml-places-height,640px); background:#e7eeeb !important; }
.cml-places-map { position:relative; z-index:1; height:100%; width:100%; background:#e7eeeb !important; }
.cml-places-map > p { padding:24px; color:#435e52 !important; }
.cml-places .cml-map-fullscreen { position:absolute; top:10px; right:10px; z-index:600; padding:10px 12px; border:1px solid #d7e0db !important; border-radius:7px; background:#fff !important; color:#263b34 !important; font-size:12px; font-weight:700; }
.cml-places-map-wrap:fullscreen { width:100vw; height:100vh; border-radius:0; }
.cml-places-map-notice { position:absolute; bottom:30px; left:10px; right:10px; z-index:600; padding:10px; font-size:12px; background:#fffffff0 !important; color:#573b29 !important; border-radius:6px; }
.cml-places-results { display:grid; grid-template-columns:1fr; align-items:start; gap:24px; }
.cml-place-card { container:cml-place-card / inline-size; background:#fff !important; border:1px solid #e4e9e6 !important; border-radius:12px; overflow:hidden; min-width:0; }
.cml-place-card.is-selected { border-color:var(--cml-primary) !important; box-shadow:inset 4px 0 0 var(--cml-primary); }
.cml-places .cml-place-card__select { display:flex; gap:16px; width:100%; align-items:center; text-align:left; border:0 !important; border-radius:0; background:transparent !important; color:inherit !important; padding:16px; }
.cml-places a.cml-place-card__select { box-sizing:border-box; text-decoration:none; }
.cml-places a.cml-place-card__select:is(:hover,:focus-visible) { text-decoration:none; }
.cml-places .cml-place-card__summary strong { text-decoration:none; }
.cml-place-card__photo { display:block; width:120px; height:90px; flex:0 0 120px; border-radius:7px; object-fit:contain; background:#f3f6f5 !important; }
.cml-place-card__heading { display:flex; gap:12px; align-items:flex-start; min-width:0; }
.cml-place-card__marker { display:grid; place-items:center; width:40px; height:40px; flex:0 0 40px; border:1px solid #cbdad1 !important; border-radius:50%; color:var(--cml-primary) !important; background:#fff !important; }
.cml-place-card__marker svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.cml-place-card__marker img { width:34px; height:34px; border-radius:50%; object-fit:cover; }
.cml-place-card__summary { display:flex; flex-direction:column; gap:3px; min-width:0; overflow-wrap:anywhere; }
.cml-place-card__summary strong { font-size:16px; color:#172b26 !important; line-height:1.3; }
.cml-place-card__meta, .cml-place-card__address { color:#52625e !important; font-size:12px; }
.cml-place-card__details { padding:0 18px 18px; font-size:13px; overflow-wrap:anywhere; }
.cml-place-card__details p { margin:0 0 10px; }
.cml-place-card__links { display:flex; flex-wrap:wrap; gap:12px; }
.cml-place-card__links a { color:#172b26 !important; font-weight:700; text-decoration:underline; }
.cml-places-empty { padding:24px; text-align:center; background:#fff !important; border:1px solid #e4e9e6 !important; border-radius:12px; }
.cml-places:is([data-view=grid], [data-view=list]) .cml-places-results {
	--cml-card-gap: 16px;
	gap: var(--cml-card-gap);
}
.cml-places[data-view=grid] .cml-places-results {
	--cml-grid-card-inset: 16px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
}
.cml-places[data-view=list] .cml-places-results {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, max(270px, calc((100% - var(--cml-card-gap)) / 2))), 1fr));
}
/* Pack cards of different heights while keeping their reading order. */
.cml-places:is([data-view=grid], [data-view=list]) .cml-places-results.is-masonry {
	grid-auto-rows: 1px;
	row-gap: 0;
	margin-bottom: calc(0px - var(--cml-card-gap));
}
.cml-places .cml-place-card { border-color:#e5edf5 !important; border-radius:16px; box-shadow:0 10px 24px #1635500b; }
.cml-places:not([data-view=grid]) .cml-place-card__select { align-items:flex-start; padding:20px; }
.cml-places:not([data-view=grid]) .cml-place-card__heading { flex:1; }
.cml-places:not([data-view=grid]) .cml-place-card__marker { display:none; }
.cml-places:not([data-view=grid]) .cml-place-card__summary { width:100%; gap:8px; }
.cml-places:not([data-view=grid]) .cml-place-card__summary strong { font-size:20px; font-weight:800; line-height:1.2; letter-spacing:-.02em; color:var(--cml-hero) !important; }
.cml-places[data-view=list] .cml-place-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 12px;
	padding: 12px 14px;
}
.cml-places[data-view=list] .cml-place-card__select { flex:1 1 205px; min-width:0; width:auto; padding:0; }
.cml-places[data-view=list] .cml-place-card__summary { gap:5px; }
.cml-places[data-view=list] .cml-place-card__actions { min-width:0; padding:0; }
.cml-places[data-view=list] :is(.cml-place-card__photo, .cml-place-card__type, .cml-place-card__subtitle, .cml-place-card__address, .cml-place-card__contacts, .cml-place-card__details, .cml-place-card__more) { display:none; }
.cml-places[data-view=grid] .cml-place-card__select { flex-direction:column; align-items:stretch; gap:0; padding:0; }
.cml-places[data-view=grid] .cml-place-card__heading { padding:14px var(--cml-grid-card-inset) 0; }
.cml-places:not(.is-enhanced)[data-view=grid] .cml-place-card__heading { padding-bottom:14px; }
.cml-places[data-view=grid] .cml-place-card__marker { display:none; }
.cml-places[data-view=grid] .cml-place-card__summary { width:100%; gap:8px; }
.cml-places[data-view=grid] .cml-place-card__summary strong { font-size:24px; color:var(--cml-hero) !important; }
.cml-places:is([data-view=grid], [data-view=list]) .cml-place-card__summary strong { font-weight:700; line-height:1.28; letter-spacing:normal; }
.cml-places .cml-place-card__meta { order:-1; align-self:flex-start; display:inline-flex; align-items:center; gap:6px; padding:4px 8px; border:1px solid #eaf0f6; border-radius:5px; background:#f1f5f9; color:var(--cml-primary) !important; text-transform:uppercase; font-size:10px; line-height:1.4; letter-spacing:.055em; }
.cml-places .cml-place-card__meta::before { content:''; width:5px; height:5px; flex:0 0 5px; border-radius:50%; background:var(--cml-primary); }
.cml-places .cml-place-card__address { display:flex; align-items:center; gap:10px; margin-top:8px; padding-top:6px; border-top:1px solid #f1f5f9; color:var(--cml-hero) !important; line-height:1.45; }
.cml-places[data-view=grid] .cml-place-card__address:not(.cml-place-card__approximate) { margin-top:4px; padding-top:5px; }
.cml-places .cml-place-card__address-icon, .cml-places .cml-place-card__contact-icon { display:grid; place-items:center; flex:0 0 28px; width:28px; height:28px; border:1px solid #edf2f7; border-radius:8px; background:#f8fafc; color:var(--cml-primary); }
.cml-place-card__address-icon svg, .cml-place-card__contact-icon svg { display:block; width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.cml-place-card__contact-label { min-width:0; overflow-wrap:anywhere; }
.cml-place-card__phone .cml-place-card__contact-label, .cml-place-card__directions .cml-place-card__contact-label { white-space:nowrap; overflow-wrap:normal; }
.cml-places .cml-place-card__approximate { margin-top:0; padding-top:0; border:0; }
.cml-places .cml-place-card__phone { display:block; width:fit-content; margin:0 16px 16px; color:var(--cml-primary) !important; font-size:14px; font-weight:700; text-decoration:none; overflow-wrap:anywhere; }
.cml-places .cml-place-card__phone:hover { text-decoration:underline; }
.cml-places .cml-place-card__contacts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; gap:8px; margin:0 20px 20px; }
.cml-places .cml-place-card__contacts .cml-place-card__phone { margin:0; }
.cml-places .cml-place-card__email { flex-basis:100%; min-width:0; max-width:100%; color:var(--cml-primary) !important; font-size:13px; font-weight:700; text-decoration:none; overflow-wrap:anywhere; }
.cml-places .cml-place-card__email:hover { text-decoration:underline; }
.cml-places .cml-place-card__subtitle { font-size:14px; font-weight:400; line-height:1.5; overflow-wrap:anywhere; }
.cml-places[data-view=grid] .cml-place-card__contacts { margin:10px var(--cml-grid-card-inset) 0; gap:6px; }
.cml-places .cml-place-card__contacts a { display:flex; align-items:center; gap:6px; width:auto; min-width:0; min-height:44px; margin:0; padding:8px; border:1px solid #e2ebf5; border-radius:10px; background:#f8fafc; color:var(--cml-primary) !important; font-size:13px; line-height:1.4; text-decoration:none; }
.cml-places .cml-place-card__contacts a:hover { border-color:var(--cml-primary); background:#f1f5f9; }
.cml-places .cml-place-card__contacts :is(.cml-place-card__extra-phone,.cml-place-card__email) { grid-column:1/-1; }
.cml-places .cml-place-card__contacts .cml-place-card__directions:first-child { grid-column:1/-1; }
.cml-places .cml-place-card__contacts .cml-place-card__directions { font-weight:500; }
.cml-places .cml-place-card__contact-icon { width:28px; height:28px; flex:0 0 28px; border-radius:7px; background:#fff; }
.cml-place-card__contact-icon svg { width:16px; height:16px; }
.cml-places .cml-place-card__directions { color:var(--cml-primary) !important; font-size:13px; font-weight:700; text-decoration:none; }
.cml-places .cml-place-card__directions:hover { text-decoration:underline; }
.cml-places .cml-place-card__more { display:none; border:0 !important; padding:0; background:transparent !important; color:var(--cml-primary) !important; text-align:left; }
.cml-places.is-enhanced[data-view=grid] .cml-place-card__more { display:block; width:calc(100% - 2 * var(--cml-grid-card-inset)); margin:10px var(--cml-grid-card-inset) 12px; padding-top:6px; border-top:1px solid #f1f5f9 !important; color:var(--cml-primary) !important; font-size:13px; font-weight:500; }
.cml-place-card__actions { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem 1rem; padding:0 16px 12px; }
.cml-places[data-view=grid] .cml-place-card__actions { margin:10px var(--cml-grid-card-inset) 12px; padding:5px 0 0; border-top:1px solid #f1f5f9; }
.cml-places.is-enhanced[data-view=grid] .cml-place-card__actions .cml-place-card__more { width:auto; margin:0; padding:0; border:0 !important; }
.cml-places:is([data-view=grid], [data-view=list]) .cml-place-card {
	transition:transform .18s ease, box-shadow .18s ease;
}
.cml-places .cml-place-card__profile {
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:32px;
	padding:5px 12px;
	border:1px solid var(--cml-hero);
	border-radius:8px;
	background:var(--cml-profile-button, var(--cml-primary)) !important;
	color:var(--cml-profile-button-text, var(--cml-primary-text)) !important;
	font-size:13px;
	font-weight:700;
	line-height:1.35;
	text-align:center;
	text-decoration:none !important;
}
.cml-places .cml-place-card__profile:is(:hover, :active) {
	background:var(--cml-profile-button-text, var(--cml-primary-text)) !important;
	color:var(--cml-profile-button, var(--cml-primary)) !important;
}
.cml-places .cml-place-card__profile:focus-visible {
	outline:2px solid var(--cml-hero);
	outline-offset:3px;
}
@media (hover:hover) and (pointer:fine) {
	.cml-places:is([data-view=grid], [data-view=list]) .cml-place-card:hover {
		transform:translateY(-3px);
		box-shadow:0 14px 30px rgb(15 23 42 / 14%);
	}
}
.cml-places:is([data-view=grid], [data-view=list]) .cml-place-card:has(:focus-visible) {
	transform:translateY(-3px);
	box-shadow:0 14px 30px rgb(15 23 42 / 14%);
}
@media (prefers-reduced-motion:reduce) {
	.cml-places:is([data-view=grid], [data-view=list]) .cml-places-results .cml-place-card {
		transform:none;
		transition:none;
	}
}
.cml-places .cml-profile-dialog {
	box-sizing: border-box;
	width: min(920px, calc(100% - 32px));
	height: min(840px, calc(100% - 32px));
	max-width: none;
	max-height: none;
	margin: auto;
	padding: 0;
	border: 1px solid #dce4ef;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	color: #172033;
	box-shadow: 0 18px 60px rgb(15 23 42 / 26%);
}
.cml-places .cml-profile-dialog[open] { display: flex; flex-direction: column; }
.cml-profile-dialog::backdrop { background: rgb(15 23 42 / 62%); }
html:has(.cml-profile-dialog[open]) { overflow: hidden; }
.cml-profile-dialog__toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 14px; border-bottom:1px solid #e4eaf2; }
.cml-places .cml-profile-dialog__toolbar a { color:var(--cml-hero); font-size:.9rem; font-weight:650; }
.cml-places .cml-profile-dialog__toolbar button {
	display: inline-grid;
	place-items: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #dce4ef;
	border-radius: 8px;
	background: #f5f7fa;
	color: #172033;
	font-size: 1.5rem;
	line-height: 1;
}
.cml-places .cml-profile-dialog__toolbar :focus-visible { outline:2px solid var(--cml-hero); outline-offset:2px; }
.cml-profile-dialog__loading { margin:0; padding:14px; text-align:center; }
.cml-profile-dialog iframe { display:block; flex:1 1 auto; width:100%; min-height:0; border:0; }
.cml-profile-dialog iframe[aria-busy=true] { visibility:hidden; }
@media(max-width:600px) {
	.cml-places .cml-profile-dialog { width:calc(100% - 16px); height:calc(100% - 16px); border-radius:12px; }
}
.cml-places[data-view=grid] .cml-place-card__details { padding:0 var(--cml-grid-card-inset) 14px; }
.cml-places[data-view=grid] .cml-place-card__photo {
	box-sizing: border-box;
	width: calc(100% - 2 * var(--cml-grid-card-inset));
	max-width: none;
	height: auto;
	max-height: 11rem;
	aspect-ratio: 16 / 9;
	flex-basis: auto;
	margin: var(--cml-grid-card-inset) var(--cml-grid-card-inset) 0;
	padding: 0;
	border: 1px solid #e5edf5;
	border-radius: 10px;
	object-fit: cover;
	object-position: center;
	background: #f8fafc !important;
}
.cml-places[data-view=grid] .cml-places-map-card, .cml-places[data-view=list] .cml-places-map-card { display:none; }
/* Map view gives the results and map their own panes, sharing the filters above. */
.cml-places[data-view=map] .cml-places-layout { grid-template-columns:1fr; }
.cml-places[data-view=map] .cml-places-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 16px; }
.cml-places[data-view=map] .cml-places-filters h3, .cml-places[data-view=map] .cml-places-groups { grid-column:1/-1; }
.cml-places[data-view=map] .cml-places-groups { display:flex; flex-wrap:wrap; gap:6px; margin:0; }
.cml-places[data-view=map] .cml-places-groups button { width:auto; max-width:100%; gap:12px; }
.cml-places[data-view=map] .cml-places-category { margin:0; }
.cml-places[data-view=map] .cml-clear-filters { grid-column:1/-1; margin:0; justify-self:start; }
.cml-places[data-view=map] .cml-places-browse { display:grid; grid-template-columns:minmax(280px,35%) minmax(0,1fr); gap:16px; height:var(--cml-places-height,640px); }
.cml-places[data-view=map] .cml-places-panel { min-width:0; min-height:0; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; padding:12px; border:1px solid #e5edf5; border-radius:16px; background:#fff; }
.cml-places[data-view=map] .cml-places-results { gap:12px; }
.cml-places[data-view=map] .cml-places-map-card { display:flex; flex-direction:column; min-width:0; min-height:0; margin:0; padding:12px; }
.cml-places[data-view=map] .cml-places-map-wrap { flex:1; min-height:0; height:auto; }
.cml-places[data-view=map] .cml-place-card__photo { width:80px; height:80px; flex-basis:80px; }
.cml-places[data-view=map] .cml-place-card__select { padding:16px; gap:12px; }
.cml-places[data-view=map] .cml-place-card__summary strong { font-size:20px; }
.cml-places[data-view=map] .cml-place-card__contacts { margin:0 16px 16px; }
@container cml-place-card (max-width:340px) {
.cml-places[data-view] .cml-place-card__contacts { margin-left:12px; margin-right:12px; gap:6px; }
.cml-places .cml-place-card__contacts a { gap:4px; padding:6px 4px; font-size:12px; }
.cml-places .cml-place-card__contact-icon { width:24px; height:24px; flex-basis:24px; }
.cml-place-card__contact-icon svg { width:14px; height:14px; }
}
@container cml-place-card (max-width:280px) {
.cml-places[data-view] .cml-place-card__contacts { margin-left:6px; margin-right:6px; }
}
@container cml-directory (max-width:900px) {
.cml-places[data-view=map] .cml-places-browse { grid-template-columns:1fr; height:auto; }
.cml-places[data-view=map] .cml-places-map-card { grid-row:1; }
.cml-places[data-view=map] .cml-places-map-wrap { flex:auto; height:360px; }
.cml-places[data-view=map] .cml-places-panel { max-height:480px; }
}
@media (max-width:900px) {
.cml-places[data-view=map] .cml-places-browse { grid-template-columns:1fr; height:auto; }
.cml-places[data-view=map] .cml-places-map-card { grid-row:1; }
.cml-places[data-view=map] .cml-places-map-wrap { flex:auto; height:360px; }
.cml-places[data-view=map] .cml-places-panel { max-height:480px; }
}
.cml-places-fullscreen-filters { display:none; }
.cml-places[data-view=map] .cml-places-browse:fullscreen { width:100vw; height:100vh; display:grid; grid-template-columns:minmax(280px,32%) minmax(0,1fr); grid-template-rows:auto minmax(0,1fr); gap:12px; padding:12px; background:#f5f7fb; }
.cml-places[data-view=map] .cml-places-browse:fullscreen .cml-places-fullscreen-filters { display:grid; grid-column:1/-1; grid-row:1; grid-template-columns:repeat(2,minmax(0,240px)); gap:12px; padding:12px; border:1px solid #e5edf5; border-radius:12px; background:#fff; }
.cml-places-fullscreen-filters label { display:block; margin-bottom:5px; font-size:12px; font-weight:700; color:var(--cml-hero); }
.cml-places-fullscreen-filters select { width:100%; max-width:none; min-width:0; min-height:40px; padding:8px; border:1px solid #d7e0db !important; border-radius:7px; background:#fff !important; color:#263b34 !important; font-size:14px; }
.cml-places[data-view=map] .cml-places-browse:fullscreen .cml-places-panel { height:100%; max-height:none; }
.cml-places[data-view=map] .cml-places-browse:fullscreen .cml-places-map-card, .cml-places[data-view=map] .cml-places-browse:fullscreen .cml-places-panel { grid-row:2; }
.cml-places[data-view=map] .cml-places-browse:fullscreen .cml-places-map-wrap { flex:1; height:auto; }
@media (max-width:700px) {
.cml-places[data-view=map] .cml-places-browse:fullscreen { grid-template-columns:1fr; grid-template-rows:auto minmax(0,1.1fr) minmax(0,1fr); gap:8px; padding:8px; }
.cml-places[data-view=map] .cml-places-browse:fullscreen .cml-places-map-card { grid-row:2; }
.cml-places[data-view=map] .cml-places-browse:fullscreen .cml-places-panel { grid-row:3; }
}
.cml-places:not(.is-enhanced) :is(.cml-places-filters,.cml-places-controls,.cml-places-alphabet,.cml-places-search,.cml-places-map-tools,.cml-map-fullscreen) { display:none; }
.cml-places:not(.is-enhanced) .cml-places-layout { grid-template-columns:1fr; }
.cml-place-marker-icon {
	border: 0;
	background: transparent;
}

.cml-place-map-pin {
	position: relative;
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border: 3px solid #fff;
	border-radius: 50% 50% 50% 8px;
	background: var(--cml-primary);
	box-shadow: 0 3px 10px rgba(20, 61, 52, 0.35);
	color: var(--cml-primary-text);
	transform: rotate(-45deg);
	transition: background-color 160ms ease, transform 160ms ease;
}

.cml-place-map-pin svg,
.cml-place-map-pin img {
	width: 24px;
	height: 24px;
	transform: rotate(45deg);
}

.cml-place-map-pin svg {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.cml-place-map-pin img {
	border-radius: 50%;
	object-fit: cover;
}

.cml-place-map-pin.is-custom {
	overflow: hidden;
	background: #fff;
}

.cml-place-map-pin.is-custom img {
	width: 36px;
	height: 36px;
}

.cml-place-marker-icon.is-selected .cml-place-map-pin {
	background: var(--cml-accent);
	color: var(--cml-accent-text);
	transform: rotate(-45deg) scale(1.13);
}

.cml-place-popup {
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-family: inherit;
}

.cml-place-popup__name {
	color: #172b26;
	font-size: 0.98rem;
}

.cml-place-popup__photo {
	display: block;
	width: 100%;
	height: 120px;
	border-radius: 6px;
	background: #f3f6f5;
	object-fit: contain;
}

.cml-place-popup__subtitle,
.cml-place-popup__meta,
.cml-place-popup__address {
	color: #52625e;
	font-size: 0.82rem;
}
.cml-place-popup__subtitle, .cml-place-popup__email, .cml-place-popup__extra-phone { overflow-wrap:anywhere; }


@media (max-width:980px) { .cml-places-layout { grid-template-columns:190px minmax(0,1fr); gap:14px; } .cml-places-topbar { flex-direction:column; align-items:stretch; } .cml-places-controls { flex-direction:row; flex-wrap:wrap; justify-content:space-between; } }
@container cml-directory (max-width:980px) { .cml-places-layout { grid-template-columns:190px minmax(0,1fr); gap:14px; } .cml-places-topbar { flex-direction:column; align-items:stretch; } .cml-places-controls { flex-direction:row; flex-wrap:wrap; justify-content:space-between; } }
@media (max-width:700px) {
.cml-places { margin:16px auto; padding:12px; font-size:14px; }
.cml-places-hero { padding:20px; border-radius:16px; }
.cml-places-hero__intro { margin:18px 0; gap:16px; }
.cml-places-hero__total { flex-basis:95px; padding:14px 8px; }
.cml-places-hero__total strong { font-size:28px; }
.cml-places-hero__total span { font-size:9px; }
.cml-places-layout { grid-template-columns:1fr; gap:14px; margin-top:16px; }
.cml-places-groups { display:block; margin-bottom:14px; }
.cml-places-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; padding:14px; }
.cml-places-filters h3, .cml-places-groups { grid-column:1/-1; }
.cml-places-category { margin:0; } .cml-places .cml-clear-filters { margin:0; justify-self:start; }
.cml-places-map-wrap { height:360px; }
.cml-places-map-card { padding:10px; }
.cml-places-controls { flex-direction:column; align-items:stretch; }
.cml-places-sort, .cml-places-views { justify-content:flex-end; }
.cml-places .cml-places-count { font-size:20px; }
.cml-places-search { flex-wrap:wrap; gap:8px; padding:8px 10px; }
.cml-places .cml-places-search__input { flex:1 1 0%; width:0; } .cml-places-search button { width:100%; padding:10px; }
.cml-places-hero__intro { flex-direction:column; align-items:flex-start; }
.cml-places-hero__total { display:flex; align-items:center; gap:12px; flex-basis:auto; width:auto; padding:8px 14px; }
.cml-place-card__photo { width:85px; height:75px; flex-basis:85px; }
.cml-places .cml-place-card__select { gap:10px; padding:12px; }
.cml-place-card__marker { width:30px; height:30px; flex-basis:30px; }
.cml-place-card__marker img { width:26px; height:26px; }
.cml-place-card__summary strong { font-size:14px; }
}
@media (prefers-reduced-motion:reduce) { .cml-place-map-pin { transition:none; } }

@container cml-directory (max-width:700px) {
.cml-places { margin:16px auto; padding:12px; font-size:14px; }
.cml-places-hero { padding:20px; border-radius:16px; }
.cml-places-hero__intro { margin:18px 0; gap:16px; }
.cml-places-hero__total { flex-basis:95px; padding:14px 8px; }
.cml-places-hero__total strong { font-size:28px; }
.cml-places-hero__total span { font-size:9px; }
.cml-places-layout { grid-template-columns:1fr; gap:14px; margin-top:16px; }
.cml-places-groups { display:block; margin-bottom:14px; }
.cml-places-filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; padding:14px; }
.cml-places-filters h3, .cml-places-groups { grid-column:1/-1; }
.cml-places-category { margin:0; } .cml-places .cml-clear-filters { margin:0; justify-self:start; }
.cml-places-map-wrap { height:360px; }
.cml-places-map-card { padding:10px; }
.cml-places-controls { flex-direction:column; align-items:stretch; }
.cml-places-sort, .cml-places-views { justify-content:flex-end; }
.cml-places .cml-places-count { font-size:20px; }
.cml-places-search { flex-wrap:wrap; gap:8px; padding:8px 10px; }
.cml-places .cml-places-search__input { flex:1 1 0%; width:0; } .cml-places-search button { width:100%; padding:10px; }
.cml-places-hero__intro { flex-direction:column; align-items:flex-start; }
.cml-places-hero__total { display:flex; align-items:center; gap:12px; flex-basis:auto; width:auto; padding:8px 14px; }
.cml-place-card__photo { width:85px; height:75px; flex-basis:85px; }
.cml-places .cml-place-card__select { gap:10px; padding:12px; }
.cml-place-card__marker { width:30px; height:30px; flex-basis:30px; }
.cml-place-card__marker img { width:26px; height:26px; }
.cml-place-card__summary strong { font-size:14px; }
}

/* Pagination follows the full filtered directory; map markers remain complete. */
.cml-places-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-top:24px; padding:16px; background:#fff; border:1px solid #e4e9e6; border-radius:12px; font-size:13px; }
.cml-places-page-controls, .cml-places-page-numbers { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.cml-places .cml-places-pagination button { padding:8px 11px; border:1px solid #d7e0db !important; border-radius:6px; background:#fff !important; color:#263b34 !important; font-size:13px; }
.cml-places .cml-places-pagination button[aria-current=page] { background:var(--cml-primary) !important; color:var(--cml-primary-text) !important; border-color:var(--cml-primary) !important; }
.cml-places .cml-places-pagination button:disabled { opacity:.5; cursor:default; }
.cml-places-groups button:disabled { cursor:default; }
.cml-places-groups button span:first-child { overflow-wrap:anywhere; }

/* Shared compact controls for Grid, List and Map. */
.cml-places[data-view] .cml-places-layout { grid-template-columns:minmax(0,1fr); gap:12px; margin-top:16px; }
.cml-places[data-view] .cml-places-filters { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; gap:10px 12px; padding:14px; border-color:#e5edf5 !important; border-radius:16px; box-shadow:0 1px 3px #16355008; }
.cml-places[data-view] .cml-places-filters h3 { grid-column:1; grid-row:1; align-self:center; width:max-content; padding:0; border:0; color:var(--cml-primary); font-size:11px; font-weight:700; letter-spacing:.1em; }
.cml-places[data-view] .cml-places-filters::before { content:''; grid-column:1/-1; grid-row:2; height:1px; background:#edf2f7; }
.cml-places[data-view] .cml-places-groups { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; grid-column:1/-1; grid-row:1; gap:4px; margin:0 0 0 130px; }
.cml-places[data-view] .cml-places-groups button { display:inline-flex; align-items:center; justify-content:center; width:auto; max-width:100%; min-height:32px; gap:6px; padding:5px 9px; border-radius:9px; font-size:11px; line-height:1.4; color:var(--cml-primary) !important; }
.cml-places[data-view] .cml-places-groups button span:last-child { display:inline-flex; align-items:center; justify-content:center; min-width:20px; height:20px; padding:0 5px; border-radius:50px; background:#f1f5f9; color:var(--cml-primary); font-size:10px; }
.cml-places[data-view] .cml-places-groups button.is-active { background:var(--cml-primary) !important; color:var(--cml-primary-text) !important; border-color:var(--cml-primary) !important; }
.cml-places[data-view] .cml-places-groups button.is-active span:last-child { background:#0002; color:inherit; }
.cml-places[data-view] .cml-places-type { grid-column:1; grid-row:3; min-width:0; }
.cml-places[data-view] .cml-places-category { grid-column:2; grid-row:3; min-width:0; margin:0; }
.cml-places[data-view] .cml-places-filters label { margin-bottom:5px; color:var(--cml-hero); font-size:10px; font-weight:500; letter-spacing:.06em; text-transform:uppercase; }
.cml-places[data-view] .cml-places-filters select { min-height:36px; height:36px; padding:5px 28px 5px 10px; border-color:#e2ebf5 !important; border-radius:8px; font-size:12px; }
.cml-places[data-view] .cml-clear-filters { grid-column:3; grid-row:3; align-self:end; justify-self:stretch; min-height:36px; margin:0; padding:6px 12px; border-color:#e2ebf5 !important; border-radius:8px; background:#f1f5f9 !important; color:var(--cml-primary) !important; font-size:11px; font-weight:500; white-space:nowrap; }
.cml-places[data-view] .cml-places-topbar { flex-direction:row; align-items:center; flex-wrap:wrap; gap:10px; padding:10px 14px; border-color:#e5edf5 !important; border-radius:16px; box-shadow:0 1px 3px #16355008; }
.cml-places[data-view] .cml-places-count { font-size:15px; font-weight:750; color:var(--cml-hero) !important; }
.cml-places[data-view] .cml-places-count::before { width:7px; height:7px; margin-right:7px; }
.cml-places[data-view] .cml-places-controls { flex-direction:row; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:14px; margin-left:auto; }
.cml-places[data-view] .cml-places-sort { gap:8px; }
.cml-places[data-view] .cml-places-sort label { color:var(--cml-primary) !important; font-size:11px; }
.cml-places[data-view] .cml-places-sort select { min-height:34px; padding:5px 26px 5px 9px; border-color:#e2ebf5 !important; background:#f8fafc !important; border-radius:8px; font-size:12px; }
.cml-places[data-view] .cml-places-sort button { min-height:34px; padding:6px 12px; background:var(--cml-hero) !important; color:#fff !important; border-radius:8px; font-size:12px; }
.cml-places[data-view] .cml-places-views { flex-wrap:wrap; gap:4px; padding-left:14px; border-left:1px solid #e5edf5; }
.cml-places[data-view] .cml-places-views > span { color:#263447 !important; font-weight:600; }
.cml-places[data-view] .cml-places-views button {
	display:inline-flex;
	align-items:center;
	gap:5px;
	min-height:32px;
	padding:5px 9px;
	border:1px solid #d8e2eb !important;
	border-radius:8px;
	background:#f1f5f9 !important;
	color:#263447 !important;
	font-size:13px;
	font-weight:650;
}
.cml-places[data-view] .cml-places-views button[aria-pressed=false]:hover { background:#e5edf5 !important; }
.cml-places[data-view] .cml-places-views button[aria-pressed=true] { background:var(--cml-hero) !important; border-color:var(--cml-hero) !important; color:#fff !important; }
.cml-places[data-view] .cml-places-views button:focus-visible { outline:2px solid #263447; outline-offset:2px; }
.cml-places[data-view] .cml-places-alphabet { gap:2px; margin:12px 0; padding:5px 8px; border-color:#e5edf5 !important; border-radius:14px; }
.cml-places[data-view] .cml-places-alphabet button { min-height:30px; padding:4px 2px; border-radius:8px; font-size:11px; }
.cml-places-filters h3 svg, .cml-places-views button svg, .cml-clear-filters svg { width:14px; height:14px; flex:0 0 14px; vertical-align:middle; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.cml-places-filters h3 svg { margin-right:6px; }
.cml-clear-filters svg { margin-right:4px; }
@container cml-directory (max-width:700px) {
.cml-places[data-view] .cml-places-filters h3 { grid-column:1/-1; grid-row:1; }
.cml-places[data-view] .cml-places-groups { grid-row:2; justify-content:flex-start; margin:0; }
.cml-places[data-view] .cml-places-filters::before { grid-row:3; }
.cml-places[data-view] .cml-places-type, .cml-places[data-view] .cml-places-category, .cml-places[data-view] .cml-clear-filters { grid-row:4; }
.cml-places[data-view] .cml-places-controls { gap:8px; }
}
@container cml-directory (max-width:480px) {
.cml-places[data-view] .cml-places-filters { grid-template-columns:minmax(0,1fr); gap:10px; padding:12px; }
.cml-places[data-view] .cml-places-type { grid-row:4; grid-column:1; }
.cml-places[data-view] .cml-places-category { grid-row:5; grid-column:1; }
.cml-places[data-view] .cml-clear-filters { grid-row:6; grid-column:1; justify-self:start; }
.cml-places[data-view] .cml-places-filters select, .cml-places[data-view] .cml-clear-filters { min-height:44px; height:auto; }
.cml-places[data-view] .cml-places-groups button { min-height:40px; }
.cml-places[data-view] .cml-places-controls { width:100%; margin-left:0; justify-content:flex-start; }
.cml-places[data-view] .cml-places-sort { flex-wrap:wrap; justify-content:flex-start; }
.cml-places[data-view] .cml-places-views { border-left:0; padding-left:0; justify-content:flex-start; }
.cml-places[data-view] .cml-places-views button { min-height:40px; }
}

.cml-places:not(.is-enhanced)[data-view] :is(.cml-places-filters,.cml-places-controls,.cml-places-alphabet) { display:none; }

/* Grid/List use a vertical filter sidebar; Map keeps the compact top panel. */
.cml-places:is([data-view=grid],[data-view=list]) .cml-places-layout { grid-template-columns:240px minmax(0,1fr); gap:18px; }
.cml-places:is([data-view=grid],[data-view=list]) .cml-places-filters { display:flex; flex-direction:column; gap:14px; min-width:0; }
.cml-places:is([data-view=grid],[data-view=list]) .cml-places-filters::before { display:none; }
.cml-places:is([data-view=grid],[data-view=list]) .cml-places-filters h3 { align-self:stretch; width:auto; padding-bottom:10px; border-bottom:1px solid #edf2f7; }
.cml-places:is([data-view=grid],[data-view=list]) .cml-places-groups { flex-direction:column; align-items:stretch; gap:4px; margin:0; }
.cml-places:is([data-view=grid],[data-view=list]) .cml-places-groups button { justify-content:space-between; width:100%; min-height:36px; text-align:left; }
.cml-places:is([data-view=grid],[data-view=list]) .cml-clear-filters { align-self:stretch; }
@container cml-directory (max-width:760px) {
.cml-places:is([data-view=grid],[data-view=list]) .cml-places-layout { grid-template-columns:minmax(0,1fr); gap:12px; }
.cml-places:is([data-view=grid],[data-view=list]) .cml-places-groups button { min-height:44px; }
}
.cml-places:not(.is-enhanced):is([data-view=grid],[data-view=list]) .cml-places-filters { display:none; }
.cml-places:not(.is-enhanced):is([data-view=grid],[data-view=list]) .cml-places-layout { grid-template-columns:minmax(0,1fr); }

/* Simple template: plain heading and selected-place results, shared compact controls. */
.cml-places[data-layout=simple][data-view] .cml-places-layout { display:block; }
.cml-places[data-layout=simple] .cml-places-filters[hidden] { display:none !important; }
.cml-places[data-layout=simple] .cml-places-simple-header { margin:0 0 16px; padding:0; }
.cml-places[data-layout=simple] .cml-places-simple-header h2 { margin:0; color:var(--cml-hero); font-family:inherit; font-size:clamp(24px,3vw,34px); font-weight:750; line-height:1.2; overflow-wrap:anywhere; }
.cml-places[data-layout=simple] .cml-places-simple-header__description { max-width:65ch; margin:.5rem 0 0; color:#344554; font-size:1rem; line-height:1.55; overflow-wrap:anywhere; }

.cml-place-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:8px;margin:12px 0}.cml-place-gallery a{display:block;min-width:0;border-radius:7px;overflow:hidden}.cml-place-gallery img{display:block;width:100%;height:84px;object-fit:cover}.cml-place-popup .cml-place-gallery{grid-template-columns:repeat(3,minmax(0,1fr));max-height:180px;overflow:auto}.cml-place-popup .cml-place-gallery img{height:64px}.cml-place-popup__hours{display:block;white-space:pre-line;margin-top:10px;font-size:12px}.cml-place-popup{max-height:min(420px,60vh);overflow:auto}

/* Optional split header, using site typography and the existing directory palette. */
.cml-places .cml-places-hero--cartographic { display:grid; grid-template-columns:minmax(0,42%) minmax(0,58%); padding:0; min-height:292px; overflow:hidden; border:1px solid #e2e8f0; border-radius:22px; background:#fff !important; color:#0f172a !important; box-shadow:0 20px 40px -16px #0f172a0d; }
.cml-places-hero--cartographic .cml-cartographic-copy { min-width:0; padding:32px; }
.cml-places-hero--cartographic .cml-cartographic-top { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:4px; }
.cml-places-hero--cartographic .cml-places-hero__badge { display:inline-flex; align-items:center; gap:8px; min-height:34px; padding:6px 13px; border:1px solid var(--cml-primary); border-radius:8px; background:#fff !important; color:var(--cml-primary) !important; font-size:13px; font-weight:650; letter-spacing:.045em; text-transform:uppercase; }
.cml-places-hero--cartographic .cml-places-hero__badge svg { width:15px; height:15px; flex:0 0 15px; fill:none; stroke:currentColor; stroke-width:1.8; }
.cml-places-hero--cartographic .cml-places-hero__total { display:block; flex:0 0 auto; width:auto; min-width:92px; padding:8px 16px; border:1px solid #e2e8f0 !important; border-radius:17px; background:#f8fafc !important; box-shadow:0 8px 20px #0f172a03; }
.cml-places-hero--cartographic .cml-places-hero__total strong { color:#0f172a !important; font-size:36px; font-weight:800; line-height:1.2; }
.cml-places-hero--cartographic .cml-places-hero__total span { display:block; color:#64748b !important; font-size:11px; letter-spacing:.08em; }
.cml-places-hero--cartographic h2 { margin:0 0 12px; color:#0f172a !important; font-size:30px; font-weight:800; line-height:1.15; letter-spacing:-.035em; overflow-wrap:anywhere; }
.cml-places-hero--cartographic h2 span { color:var(--cml-primary) !important; }
.cml-places-hero--cartographic .cml-places-hero__description { max-width:none; padding-bottom:0; border-bottom:1px solid #e2e8f0; color:#475569 !important; font-size:15px; line-height:1.6; overflow-wrap:anywhere; }
.cml-places-hero--cartographic .cml-cartographic-stage { position:relative; display:flex; flex-direction:column; align-items:flex-start; justify-content:space-between; gap:110px; min-width:0; min-height:292px; padding:32px; border-left:1px solid #e2e8f0; background-color:#f8fafc; }
.cml-places-hero--cartographic .cml-cartographic-label { position:relative; display:inline-flex; align-items:center; gap:8px; max-width:100%; padding:4px 12px; border:1px solid #e2e8f0; border-radius:20px; background:#ffffffed; color:#475569; font-family:inherit; font-size:11px; line-height:1.4; letter-spacing:.04em; text-transform:uppercase; overflow-wrap:anywhere; box-shadow:0 1px 3px #0f172a06; }
.cml-cartographic-label::before { content:''; width:6px; height:6px; flex:0 0 6px; border-radius:50%; background:var(--cml-primary); }
.cml-places-hero--cartographic .cml-places-search { position:relative; flex-wrap:nowrap; align-self:stretch; gap:12px; min-height:64px; padding:8px 10px 8px 24px; border:2px solid #e2e8f0 !important; border-radius:18px; box-shadow:0 10px 24px #0f172a06; }
.cml-places-hero--cartographic .cml-places-search > svg { stroke:#94a3b8; }
.cml-places-hero--cartographic .cml-places-search__input { flex:1 1 0%; width:0; min-height:40px; font-size:14px; text-overflow:ellipsis; color:#0f172a !important; }
.cml-places-hero--cartographic .cml-places-search button { width:auto; min-height:40px; padding:10px 24px; border-radius:12px; background:var(--cml-primary) !important; color:var(--cml-primary-text) !important; font-size:14px; white-space:nowrap; }
@supports (background:color-mix(in srgb,red,white)) {
.cml-places-hero--cartographic .cml-places-hero__badge { background:color-mix(in srgb,var(--cml-primary) 9%,white) !important; border-color:color-mix(in srgb,var(--cml-primary) 25%,white); }
}
@container cml-directory (max-width:900px) {
.cml-places .cml-places-hero--cartographic { grid-template-columns:minmax(0,1fr); }
.cml-places-hero--cartographic .cml-cartographic-copy { padding:24px; }
.cml-places-hero--cartographic .cml-cartographic-stage { min-height:236px; padding:24px; gap:100px; border-left:0; border-top:1px solid #e2e8f0; }
}
@container cml-directory (max-width:480px) {
.cml-places-hero--cartographic .cml-cartographic-copy,.cml-places-hero--cartographic .cml-cartographic-stage { padding:20px; }
.cml-places-hero--cartographic h2 { font-size:28px; }
.cml-places-hero--cartographic .cml-places-hero__total { min-width:76px; padding:8px 12px; }
.cml-places-hero--cartographic .cml-places-hero__total strong { font-size:30px; }
.cml-places-hero--cartographic .cml-places-search { flex-wrap:wrap; gap:8px; padding:10px 12px; }
.cml-places-hero--cartographic .cml-places-search button { width:100%; }
}

/* The split header uses the same scoped locations and tiles as the directory map. */
.cml-places-hero--cartographic .cml-cartographic-stage { min-height:340px; background:#edf2f5; isolation:isolate; }
.cml-places-hero--cartographic .cml-header-map { position:absolute; inset:0; z-index:0; width:100%; height:100%; background:#edf2f5; font:inherit; }
.cml-places-hero--cartographic .cml-cartographic-label,.cml-places-hero--cartographic .cml-places-search { z-index:2; }
.cml-places-hero--cartographic .cml-cartographic-label { max-width:calc(100% - 54px); }
.cml-places-hero--cartographic .cml-header-map .leaflet-control-container { font-family:inherit; }
.cml-places-hero--cartographic .cml-header-map .leaflet-control-attribution { font-size:9px; }
.cml-places-hero--cartographic .cml-header-map .leaflet-popup-content { max-height:100px; overflow:auto; margin:12px 20px 12px 12px; font-family:inherit; }
.cml-places-hero--cartographic .cml-header-map .cml-place-popup { max-height:none; }
.cml-places-hero--cartographic .cml-header-map :is(.cml-place-popup__name,.cml-place-popup__subtitle,.cml-place-popup__address,.cml-place-popup__meta,.cml-place-popup__phone,.cml-place-popup__email,.cml-place-popup__hours) { color:#263b34 !important; }
.cml-places-hero--cartographic .cml-header-map-empty,.cml-places-hero--cartographic .cml-header-map-notice { position:absolute; z-index:1; top:72px; left:24px; right:24px; padding:10px 12px; border:1px solid #e2e8f0; border-radius:8px; background:#fffffff2; color:#334155 !important; font-size:12px; line-height:1.4; }
.cml-places-hero--cartographic .cml-header-map-fallback { padding:78px 24px 24px; color:#334155 !important; }
@container cml-directory (max-width:480px) {
.cml-places-hero--cartographic .cml-cartographic-stage { min-height:360px; }
.cml-places-hero--cartographic .cml-header-map .leaflet-popup-content { max-height:100px; }
}

/* Adjacent, readable provider credit keeps the header map free of attribution overlays. */
.cml-places .cml-header-map-credit { margin:6px 12px 0; color:#52625e; font-family:inherit; font-size:12px; line-height:1.5; text-align:right; overflow-wrap:anywhere; }
.cml-places .cml-header-map-credit a { color:inherit; text-decoration:underline; }

/* One focus indicator for the search field, with separate keyboard focus on its actions. */
.cml-places .cml-places-hero .cml-places-search {
	display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; align-items:center;
	gap:clamp(4px,1vw,10px); min-height:0; padding:5px 6px 5px 14px;
	border:1px solid #d7e0ea !important; border-radius:16px; background:#fff !important;
	box-shadow:0 5px 18px #0f172a19;
}
.cml-places .cml-places-search:focus-within { border-color:var(--cml-hero) !important; box-shadow:0 0 0 2px var(--cml-hero),0 0 0 4px #fff; }
.cml-places .cml-places-search > svg { width:18px; height:18px; stroke:var(--cml-hero); }
.cml-places .cml-places-search__input:is([type=search],:focus) {
	width:100%; min-height:44px; padding:0 2px; background:transparent !important;
	color:#182638 !important; font-size:16px; outline:none !important; box-shadow:none !important;
}
.cml-places .cml-places-search__input::placeholder { color:#526377; opacity:1; }
.cml-places .cml-places-search__input::-webkit-search-cancel-button { appearance:none; }
.cml-places .cml-places-search .cml-search-clear { grid-column:3; }
.cml-places .cml-places-search .cml-search-submit { grid-column:4; }
.cml-places .cml-places-search :is(.cml-search-clear,.cml-search-submit) {
	display:inline-flex; width:auto; min-height:44px; align-items:center; justify-content:center;
	gap:7px; padding:6px 12px; border:0 !important; border-radius:11px;
	font:inherit; font-size:13px; font-weight:700; line-height:1.2;
}
.cml-places .cml-places-search .cml-search-clear { width:44px; padding:0; background:#eef3f8 !important; color:var(--cml-hero) !important; }
.cml-places .cml-places-search .cml-search-submit { background:var(--cml-primary) !important; color:var(--cml-primary-text) !important; }
.cml-places .cml-places-search button svg { flex:0 0 16px; width:16px; height:16px; stroke:currentColor; stroke-width:2; }
.cml-places .cml-places-search button:focus-visible { outline:2px solid var(--cml-hero); outline-offset:2px; }
.cml-places .cml-places-search.is-searching .cml-search-submit svg { border:2px solid currentColor; border-inline-end-color:transparent; border-radius:50%; stroke:transparent; animation:cml-search-spin .65s linear infinite; box-sizing:border-box; }
@keyframes cml-search-spin { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) {
	.cml-places .cml-places-search.is-searching .cml-search-submit svg { animation:none; }
}
@container cml-directory (max-width:430px) {
	.cml-places .cml-places-hero .cml-places-search { gap:4px; padding-inline-start:9px; }
	.cml-places .cml-places-search .cml-search-submit { min-width:44px; padding:0; }
	.cml-places .cml-search-submit span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
}

.cml-places.cml-groups-compact[data-view] .cml-places-filters h3 { display:none; }
.cml-places .cml-groups-toggle {
	grid-column:1/-1; grid-row:1; display:flex; width:100%; min-height:44px; align-items:center;
	justify-content:space-between; gap:8px; padding:8px 10px; text-align:start;
	border:1px solid #d7e0ea !important; border-radius:9px;
	background:#f4f7fa !important; color:var(--cml-hero) !important; font:inherit; font-size:13px; font-weight:700;
}
.cml-groups-toggle__selection { margin-inline-start:auto; text-align:end; font-size:12px; font-weight:500; overflow-wrap:anywhere; }
.cml-groups-toggle svg { flex:0 0 16px; width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; }
.cml-groups-toggle[aria-expanded=true] svg { transform:rotate(180deg); }
.cml-places.cml-groups-compact[data-view] .cml-places-groups { grid-row:2; margin:0; justify-content:flex-start; }
.cml-places.cml-groups-compact[data-view] .cml-places-filters::before { display:none; }

.cml-places .cml-places-search { position:relative; }
.cml-places .cml-places-hero:has(.has-suggestions) { position:relative; z-index:3; }
.cml-places .cml-places-hero--cartographic:has(.has-suggestions) { overflow:visible; }
.cml-places .cml-cartographic-stage { border-radius:0 21px 21px 0; }
.cml-places .cml-cartographic-stage .cml-header-map { border-radius:inherit; }
.cml-places .cml-search-suggestions {
	position:absolute; z-index:3; inset-block-start:calc(100% + 8px); inset-inline:0;
	list-style:none; margin:0; padding:5px; max-block-size:min(340px,55vh); overflow:auto;
	overscroll-behavior:contain; border:1px solid #d7e0ea; border-radius:14px;
	background:#fff; color:#182638; box-shadow:0 12px 28px #0f172a33;
}
.cml-places .cml-search-suggestions li {
	display:grid; gap:2px; align-content:center; min-height:44px; margin:0; padding:7px 10px;
	border-radius:9px; font-size:14px; line-height:1.4; cursor:pointer; overflow-wrap:anywhere;
}
.cml-places .cml-search-suggestions li:is(:hover,[aria-selected=true]) { background:#eef3f8; color:var(--cml-hero); }
.cml-search-suggestions span { color:#526377; font-size:12px; }
@container cml-directory (max-width:900px) {
	.cml-places .cml-cartographic-stage { border-radius:0 0 21px 21px; }
}
