/* ============================================================
   Deepmaarg / Nirvaan — Old Age Home List page
   Pulls in the search bar styling, then layers list-page UI:
   filter sidebar, distance slider, result cards, pagination,
   empty state. Fully responsive (desktop → tablet → mobile).
   ============================================================ */

@import url("search.css");

:root {
	/* Refined-warm palette (2026-07 redesign). "blue"/"amber" names kept for
	   stability; values now map to the warm ink/teal/terracotta/cream scheme. */
	--ol-blue:        var(--dm-terracotta-deep);   /* primary structure (was blue) */
	--ol-blue-deep:   #232130;   /* deepest ink */
	--ol-blue-soft:   var(--dm-sand);   /* warm soft fill */
	--ol-blue-line:   rgba(35, 33, 48, 0.14);
	--ol-amber:       var(--dm-terracotta);   /* accent = Sanctus lime */
	--ol-amber-deep:  var(--dm-terracotta-deep);
	--ol-amber-soft:  color-mix(in srgb, var(--dm-terracotta) 14%, transparent);
	--ol-accent-ink:  #FFFFFF;   /* white text on purple accent */
	--ol-ink:         #232130;
	--ol-mute:        #6E6A7A;
	--ol-card:        #ffffff;
	--ol-canvas:      #FFFFFF;
	--ol-shadow-rest: 0 1px 2px rgba(35, 33, 48,0.04), 0 12px 28px -22px rgba(35, 33, 48,0.30);
	--ol-shadow-hov:  0 2px 4px rgba(35, 33, 48,0.06), 0 22px 40px -22px rgba(35, 33, 48,0.45);
	--ol-radius-card: 16px;
	--ol-radius-sm:   10px;
	--ol-font-display: "Roboto Slab", Georgia, "Times New Roman", serif;
	--ol-font-body:    "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Hero band: just paint the list-page wrapper.
   All .contact-section sizing/responsive lives in search.css. ---------- */
.sptb > .cover-image.bg-background.p-b-t-2 {
	background: #fff;
}

/* ---------- Page canvas ---------- */
.sptb-cust {
	background: #FFFFFF;
	padding: 36px 0 80px;
	min-height: calc(100vh - 360px);
	font-family: var(--ol-font-body);
	color: var(--ol-ink);
}
.sptb-cust .container { max-width: 1280px; }

/* ============================================================
   FILTER SIDEBAR (#filter_div)
   ============================================================ */
#filter_div .card {
	border: 0;
	border-radius: var(--ol-radius-card);
	background: var(--ol-card);
	box-shadow: var(--ol-shadow-rest);
	overflow: hidden;
	position: sticky;
	top: 24px;
}
#filter_div .card-header {
	background: var(--ol-blue);
	color: #fff;
	padding: 18px 22px;
	border: 0;
	position: relative;
	overflow: hidden;
}
#filter_div .card-header::before {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
	background-size: 4px 4px;
	pointer-events: none;
}
#filter_div .card-header .card-title {
	font-family: var(--ol-font-display);
	font-weight: 600;
	font-size: 18px;
	margin: 0;
	letter-spacing: 0.01em;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
}
#filter_div .card-header .card-title::before {
	content: "\f0b0"; /* fa-filter */
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	color: var(--ol-amber);
	font-size: 14px;
}

#filter_div .card-body { padding: 8px 18px 4px; }

/* ---- Accordion ---- */
#filter_div .accordion { background: transparent; }
#filter_div .accordion-item {
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--ol-blue-line);
}
#filter_div .accordion-item:last-child { border-bottom: 0; }

#filter_div .accordion-button {
	background: transparent;
	color: var(--ol-ink);
	font-family: var(--ol-font-body);
	font-weight: 600;
	font-size: 14.5px;
	letter-spacing: 0.01em;
	padding: 16px 6px;
	box-shadow: none !important;
	border-radius: 0 !important;
	transition: color .2s ease;
}
#filter_div .accordion-button:not(.collapsed) { color: var(--ol-blue); background: transparent; }
#filter_div .accordion-button:hover { color: var(--ol-blue); }
#filter_div .accordion-button:focus { box-shadow: none; outline: none; }
#filter_div .accordion-button::after {
	background: none;
	content: "\f078"; /* chevron-down */
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 11px;
	color: var(--ol-mute);
	width: auto; height: auto;
	transition: transform .25s ease, color .25s ease;
}
#filter_div .accordion-button:not(.collapsed)::after {
	transform: rotate(-180deg);
	color: var(--ol-amber);
}
#filter_div .accordion-body {
	padding: 4px 6px 18px;
	color: var(--ol-mute);
	font-size: 14px;
}

/* Checkbox lists generated by JS */
#filter_div .accordion-body ul {
	list-style: none;
	margin: 0; padding: 0;
}
#filter_div .accordion-body ul li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 6px;
	border-radius: var(--ol-radius-sm);
	color: var(--ol-ink);
	font-size: 14px;
	transition: background .15s ease, color .15s ease;
	cursor: pointer;
}
#filter_div .accordion-body ul li:hover {
	background: var(--ol-blue-soft);
	color: var(--ol-blue-deep);
}
#filter_div .accordion-body input[type="checkbox"] {
	margin: 0 !important;
	width: 18px; height: 18px;
	accent-color: var(--ol-blue);
	cursor: pointer;
	flex-shrink: 0;
}

/* Price range -- pill chip header + jQuery UI slider + scale endpoints */
.dm-price-wrap { padding-top: 4px; }

/* Preset price bands -- quick-pick chips above the slider */
.dm-price-presets {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 14px;
}
.dm-preset-chip {
	appearance: none;
	border: 1px solid var(--ol-blue-line);
	background: #fff;
	color: var(--ol-ink);
	font-family: var(--ol-font-body);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.01em;
	padding: 8px 10px;
	border-radius: var(--ol-radius-sm);
	cursor: pointer;
	transition: background .18s ease, color .18s ease,
	            border-color .18s ease, transform .15s ease,
	            box-shadow .2s ease;
}
.dm-preset-chip:hover {
	background: var(--ol-blue-soft);
	border-color: rgba(35, 33, 48, 0.35);
	color: var(--ol-blue-deep);
	transform: translateY(-1px);
}
.dm-preset-chip:focus-visible {
	outline: none;
	border-color: var(--ol-amber);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--dm-terracotta) 28%, transparent);
}
.dm-preset-chip.dm-preset-chip--active {
	background: var(--ol-blue);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 6px 14px -8px rgba(35, 33, 48, 0.55);
}
.dm-preset-chip.dm-preset-chip--active:hover {
	transform: translateY(-1px);
}
@media (max-width: 380px) {
	.dm-price-presets { grid-template-columns: 1fr; }
}

/* Rail: slimmer track with depth shadow. Horizontal margin = handle radius (12px)
   so handles at value extremes sit fully inside the card and don't get clipped
   by any overflow:hidden ancestor (the .card itself uses overflow:hidden). */
#priceRangeSlider.ui-slider {
	height: 6px;
	background: var(--dm-sand-2);
	border: 0;
	border-radius: 999px;
	margin: 22px 12px 8px;
	position: relative;
	box-shadow: inset 0 1px 2px rgba(15, 25, 35, 0.10);
}
#priceRangeSlider .ui-slider-range {
	/* position:absolute is required — same reason as the handle: style.css (which
	   normally provides jQuery UI's default .ui-slider .ui-slider-range{position:absolute}
	   rule) is commented out in _Layout.cshtml line 43. Without this, the range fill
	   ignores jQuery UI's inline left/width and renders as a full-width block, so the
	   gradient appears to fill the whole rail regardless of handle positions. */
	position: absolute;
	top: 0;
	z-index: 1;
	background: var(--ol-blue);
	border-radius: 999px;
	height: 100%;
	box-shadow: 0 1px 3px rgba(35, 33, 48, 0.22);
}

/* Handle: transform-centered (cleaner than margin-left tricks), tactile
   ring + inner dot. translate(-50%, -50%) is the BASE transform — hover/focus/
   active states extend it with scale(); reduced-motion preserves the translate. */
#priceRangeSlider .ui-slider-handle {
	/* position:absolute is required — style.css (which normally provides jQuery UI's default
	   .ui-slider .ui-slider-handle{position:absolute} rule) is commented out in _Layout.cshtml
	   line 43, and the bundled jquery-ui.js does not set it inline. Without this, handles flow
	   in normal layout and visually stack at the rail's left edge. */
	position: absolute;
	width: 22px; height: 22px;
	top: 50%;
	margin: 0;
	transform: translate(-50%, -50%);
	background: #fff;
	border: 2px solid var(--ol-blue);
	border-radius: 50%;
	box-shadow: 0 3px 8px rgba(35, 33, 48, 0.25);
	cursor: grab;
	transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
	outline: none;
	z-index: 2;
	touch-action: none;
}
#priceRangeSlider .ui-slider-handle::before {
	content: "";
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	background: var(--ol-blue);
	opacity: 0.85;
	transition: background .2s ease, opacity .2s ease;
}
#priceRangeSlider .ui-slider-handle:hover {
	border-color: var(--ol-amber);
	transform: translate(-50%, -50%) scale(1.12);
	box-shadow: 0 4px 10px rgba(35, 33, 48, 0.30);
}
#priceRangeSlider .ui-slider-handle:hover::before { background: var(--ol-amber); }
#priceRangeSlider .ui-slider-handle:focus-visible {
	border-color: var(--ol-amber);
	transform: translate(-50%, -50%) scale(1.12);
	box-shadow: 0 3px 8px rgba(35, 33, 48, 0.25), 0 0 0 4px color-mix(in srgb, var(--dm-terracotta) 28%, transparent);
}
#priceRangeSlider .ui-slider-handle:focus-visible::before { background: var(--ol-amber); }
#priceRangeSlider .ui-slider-handle:active {
	cursor: grabbing;
	border-color: var(--ol-amber);
	transform: translate(-50%, -50%) scale(1.18);
	box-shadow: 0 5px 12px rgba(35, 33, 48, 0.32);
}
#priceRangeSlider .ui-slider-handle:active::before { background: var(--ol-amber); opacity: 1; }

/* Scale endpoints: aligned to rail extents (12px matches rail's horizontal margin)
   with tiny tick marks and uppercase mini-labels. */
.dm-price-scale {
	display: flex;
	justify-content: space-between;
	margin: 10px 12px 0;
	font-size: 10.5px;
	font-weight: 700;
	color: var(--ol-mute);
	letter-spacing: 0.7px;
	text-transform: uppercase;
	position: relative;
	z-index: 0;
}
.dm-price-scale span {
	position: relative;
	padding-top: 9px;
	line-height: 1;
}
.dm-price-scale span::before {
	content: "";
	position: absolute;
	top: 0;
	width: 1px;
	height: 5px;
	background: var(--ol-blue-line);
}
.dm-price-scale span:first-child::before { left: 0; }
.dm-price-scale span:last-child::before { right: 0; }

/* Card footer (Apply / Remove) */
#filter_div .card-footer {
	background: #fff;
	border-top: 1px solid var(--ol-blue-line);
	padding: 16px !important;
}
#filter_div .card-footer .btn-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
	gap: 10px;
	margin: 0;
	align-items: stretch;
}
#filter_div .card-footer .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-width: 0;
	min-height: 44px;
	margin: 0;
	padding: 10px 8px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 700;
	border: 1px solid transparent;
	letter-spacing: 0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
#filter_div .card-footer .btn i { margin: 0 !important; font-size: 13px; }
#filter_div .card-footer .btn:first-child {
	background: var(--ol-blue);
	color: #fff;
	box-shadow: 0 10px 20px -12px rgba(45, 12, 90,0.7);
}
#filter_div .card-footer .btn:first-child:hover {
	background: var(--ol-blue-deep);
	transform: translateY(-1px);
}
#filter_div .card-footer .btn:last-child {
	background: #fff;
	color: var(--ol-ink);
	border-color: var(--ol-blue-line);
}
#filter_div .card-footer .btn:last-child:hover {
	border-color: var(--ol-amber);
	color: var(--ol-amber-deep);
}

/* ============================================================
   FILTER INTERACTIVITY ENHANCEMENTS
   ============================================================ */

/* A — Sidebar slide-in entrance (jQuery .show() triggers transition via JS-added class) */
#filter_div {
	opacity: 0;
	transform: translateX(-18px);
}
#filter_div.dm-filter-visible {
	opacity: 1;
	transform: translateX(0);
	transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* B — Active count badge on accordion headers */
.dm-filter-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--ol-amber);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	margin-left: 8px;
	visibility: hidden;
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0s linear 0.2s;
}
.dm-filter-badge.dm-filter-badge--visible {
	visibility: visible;
	opacity: 1;
	transform: scale(1);
	transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0s linear 0s;
}

/* C — Persistent highlight for checked filter rows */
#filter_div .accordion-body ul li.dm-li-checked {
	background: var(--ol-blue-soft);
	color: var(--ol-blue-deep);
	font-weight: 600;
}
#filter_div .accordion-body ul li.dm-li-checked:hover {
	background: var(--ol-blue-soft);
	color: var(--ol-blue-deep);
}

/* D — Apply button: total count badge + loading/spinner state */
.dm-apply-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.25);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	margin-left: 6px;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}
.dm-apply-count.dm-apply-count--visible {
	visibility: visible;
	opacity: 1;
	transition: opacity 0.2s ease, visibility 0s linear 0s;
}
#filter_div .card-footer .btn:first-child.dm-btn-loading {
	opacity: 0.72;
	pointer-events: none;
	cursor: not-allowed;
}
#filter_div .card-footer .btn:first-child.dm-btn-loading .fa-filter {
	display: none;
}
#filter_div .card-footer .btn:first-child.dm-btn-loading::before {
	content: "";
	display: inline-block;
	width: 13px;
	height: 13px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: dm-spin 0.65s linear infinite;
	margin-right: 8px;
	vertical-align: middle;
	flex-shrink: 0;
}
@keyframes dm-spin {
	to { transform: rotate(360deg); }
}

/* D.2 -- Remove button disabled while Apply is loading (prevents RemoveFilter race) */
#filter_div .card-footer .btn:last-child.dm-btn-disabled {
	opacity: 0.55;
	pointer-events: none;
	cursor: not-allowed;
}

/* ============================================================
   DISTANCE SLIDER (#div_slider + noUiSlider)
   ============================================================ */
#div_slider {
	background: var(--ol-card);
	border-radius: var(--ol-radius-card);
	padding: 12px 18px 12px;
	box-shadow: var(--ol-shadow-rest);
	border-left: 4px solid var(--ol-amber);
}

/* Header row: title left, prominent value chip right */
.dm-distance-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}
.dm-distance-title {
	font-family: var(--ol-font-display);
	font-weight: 600;
	font-size: 16px;
	color: var(--ol-ink);
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	line-height: 1.25;
	letter-spacing: 0.005em;
}
.dm-distance-title::before {
	content: "\f3c5"; /* fa-location-dot */
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	color: var(--ol-amber);
	font-size: 15px;
}

/* Prominent value chip showing current radius — replaces the noUi tooltip */
.dm-distance-value {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	font-family: var(--ol-font-display);
	font-weight: 700;
	font-size: 18px;
	color: var(--ol-blue-deep);
	line-height: 1;
	background: var(--ol-blue-soft);
	padding: 5px 12px;
	border-radius: 999px;
	border: 1px solid var(--ol-blue-line);
	box-shadow: 0 2px 8px -4px rgba(35, 33, 48, 0.18);
	white-space: nowrap;
}
.dm-distance-unit {
	font-size: 11px;
	font-weight: 700;
	color: var(--ol-mute);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* Rail — 11px horizontal margin = handle radius, so handle centers at 5/20 km
   sit exactly at the rail's outer edges (and at the scale's outermost ticks). */
#slider.noUi-target {
	background: var(--dm-sand-2);
	border: 0;
	box-shadow: inset 0 1px 2px rgba(15, 25, 35, 0.10);
	height: 6px;
	border-radius: 999px;
	margin: 12px 11px 2px;
}
#slider .noUi-connects { border-radius: 999px; }
#slider .noUi-connect { background: var(--ol-blue); }
#slider .noUi-handle {
	width: 22px !important;
	height: 22px !important;
	top: -8px !important;
	right: -11px !important;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--ol-blue);
	box-shadow: 0 3px 8px rgba(35, 33, 48, 0.25);
	cursor: grab;
	transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
#slider .noUi-handle::before,
#slider .noUi-handle::after { display: none; }
#slider .noUi-handle:hover {
	border-color: var(--ol-amber);
	box-shadow: 0 4px 10px rgba(35, 33, 48, 0.30);
	transform: scale(1.10);
}
#slider .noUi-handle:focus-visible {
	outline: none;
	border-color: var(--ol-amber);
	box-shadow: 0 3px 8px rgba(35, 33, 48, 0.25), 0 0 0 4px color-mix(in srgb, var(--dm-terracotta) 28%, transparent);
	transform: scale(1.10);
}
#slider .noUi-handle:active {
	cursor: grabbing;
	border-color: var(--ol-amber);
	box-shadow: 0 5px 12px rgba(35, 33, 48, 0.32);
	transform: scale(1.18);
}

/* Scale: 4 tick marks + labels at 5 / 10 / 15 / 20 km, aligned to handle centers.
   Container's 11px horizontal margin matches the rail's, so 0% / 100% map to the
   rail's outer edges. Middle ticks at 33.33% / 66.67% land on (5+5)/(5+10) handle
   positions exactly. */
.dm-distance-scale {
	position: relative;
	height: 16px;
	margin: 4px 11px 0;
}
.dm-distance-scale span {
	position: absolute;
	top: 7px;
	font-size: 11px;
	font-weight: 700;
	color: var(--ol-mute);
	letter-spacing: 0.5px;
	line-height: 1;
	transform: translateX(-50%);
}
.dm-distance-scale span::before {
	content: "";
	position: absolute;
	bottom: calc(100% + 3px);
	left: 50%;
	width: 1px;
	height: 5px;
	background: var(--ol-blue-line);
	transform: translateX(-50%);
}
.dm-distance-scale span:nth-child(1) { left: 0; transform: none; }
.dm-distance-scale span:nth-child(1)::before { left: 0; transform: none; }
.dm-distance-scale span:nth-child(2) { left: 33.33%; }
.dm-distance-scale span:nth-child(3) { left: 66.67%; }
.dm-distance-scale span:nth-child(4) { right: 0; left: auto; transform: none; }
.dm-distance-scale span:nth-child(4)::before { left: auto; right: 0; transform: none; }

/* ============================================================
   RESULT CARDS  (.centerlistnirvaan .item-card)
   Generated by old-age-home-list.js
   ============================================================ */
.centerlistnirvaan {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 20px;
	align-items: stretch;
}

.centerlistnirvaan .item-card {
	border: 1px solid var(--ol-blue-line) !important;
	border-radius: var(--ol-radius-card) !important;
	background: var(--ol-card);
	box-shadow: var(--ol-shadow-rest);
	overflow: hidden;
	transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .25s ease;
	position: relative;
}
.centerlistnirvaan .item-card::before {
	content: "";
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 4px;
	background: var(--ol-blue);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform .35s ease;
}
.centerlistnirvaan .item-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--ol-shadow-hov);
	border-color: rgba(35, 33, 48,0.28) !important;
}
.centerlistnirvaan .item-card:hover::before { transform: scaleY(1); }

.centerlistnirvaan .item-card .d-md-flex { gap: 18px; align-items: stretch; }

/* Image / left rail — soft neutral panel, logo CONTAINED (not stretched) */
.centerlistnirvaan .item-card9-img {
	position: relative;
	width: 200px;
	min-height: 180px;
	flex-shrink: 0;
	background: var(--dm-sand);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px;
}
.centerlistnirvaan .item-card9-imgs { width: 100%; height: 100%; position: relative; display: flex; align-items: center; justify-content: center; }
.centerlistnirvaan .item-card9-imgs > a.center-redirect {
	position: absolute; inset: 0;
	z-index: 2;
}
.centerlistnirvaan .item-card9-imgs img.cover-image {
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: 140px;
	object-fit: contain !important;
	display: block;
	transition: transform .5s ease;
}
.centerlistnirvaan .item-card:hover .item-card9-imgs img.cover-image { transform: scale(1.06); }

/* "Power" ribbon — restyle as a refined corner badge */
.centerlistnirvaan .power-ribbon {
	position: absolute !important;
	top: 12px !important;
	left: 12px !important;
	z-index: 3;
	width: auto !important;
	height: auto !important;
}
.centerlistnirvaan .power-ribbon span {
	background: var(--ol-amber) !important;
	color: var(--ol-accent-ink);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--dm-terracotta) 55%, transparent);
}
.centerlistnirvaan .power-ribbon span::after {
	content: "Verified";
	margin-left: 2px;
}
.centerlistnirvaan .power-ribbon i { font-size: 10px; }

/* Body / right side */
.centerlistnirvaan .item-card .card.border-0 {
	flex: 1;
	background: transparent;
	box-shadow: none;
	border: 0 !important;
}
.centerlistnirvaan .item-card .card-body {
	padding: 18px 22px !important;
	display: block;
	height: auto;
}
.centerlistnirvaan .item-card9 h4 {
	font-family: var(--ol-font-display);
	font-weight: 600;
	font-size: 20px;
	color: var(--ol-ink) !important;
	margin: 0 0 10px !important;
	line-height: 1.25;
	letter-spacing: -0.005em;
	transition: color .2s ease;
}
.centerlistnirvaan .item-card:hover .item-card9 h4 { color: var(--ol-blue) !important; }

.centerlistnirvaan .item-card9-desc {
	display: flex;
	flex-wrap: wrap;
	row-gap: 8px;
	column-gap: 10px;
	margin: 6px 0 10px !important;
	font-size: 13.5px;
	color: var(--ol-mute);
}
.centerlistnirvaan .item-card9-desc > span {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	margin: 0 !important;
	padding: 4px 10px;
	background: var(--ol-blue-soft);
	border: 1px solid var(--ol-blue-line);
	border-radius: 999px;
	font-size: 12.5px;
	color: var(--ol-ink);
	max-width: 100%;
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
	word-break: break-word;
	transition: background .2s ease, border-color .2s ease;
}
.centerlistnirvaan .item-card9-desc > span:hover {
	background: var(--ol-amber-soft);
	border-color: color-mix(in srgb, var(--dm-terracotta) 40%, transparent);
}
.centerlistnirvaan .item-card9-desc i { font-size: 12px; }
.centerlistnirvaan .item-card9-desc .icon-style-circle { background: transparent !important; padding: 0 !important; }

.centerlistnirvaan .item-card9 p {
	margin: 8px 0 0 !important;
	color: var(--ol-mute);
	font-size: 13.5px;
	line-height: 1.55;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}
.centerlistnirvaan .item-card9 p i {
	color: var(--ol-blue) !important;
	margin-top: 3px;
	flex-shrink: 0;
}
.centerlistnirvaan .item-card9 p span { display: inline-flex; gap: 8px; align-items: flex-start; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
	display: flex !important;
	justify-content: center;
	gap: 6px;
	flex-wrap: wrap;
	padding: 0;
	margin-top: 32px !important;
}
.pagination button {
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	border: 1px solid var(--ol-blue-line);
	background: #fff;
	color: var(--ol-ink);
	font-weight: 600;
	font-size: 14px;
	border-radius: 10px;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.pagination button:hover:not([disabled]) {
	background: var(--ol-blue-soft);
	border-color: var(--ol-blue);
	color: var(--ol-blue);
	transform: translateY(-1px);
}
.pagination button.active,
.pagination .page-btn.active {
	background: var(--ol-blue);
	color: #fff;
	border-color: transparent;
	box-shadow: 0 8px 18px -10px rgba(35, 33, 48,0.6);
}
.pagination button[disabled] { opacity: 0.4; cursor: not-allowed; }
.pagination .prev-btn,
.pagination .next-btn { font-size: 13px; letter-spacing: 0.02em; }

/* ============================================================
   EMPTY STATE  (no results)
   ============================================================ */
.dm-empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 480px;
	margin: 0 auto;
	padding: 60px 32px;
	background: #fff;
	border: 1px dashed rgba(35, 33, 48, 0.18);
	border-radius: 20px;
	animation: dm-es-in 0.6s ease-out forwards;
}

.dm-empty-state__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	background: rgba(35, 33, 48, 0.07);
	border: 1.5px solid rgba(35, 33, 48, 0.15);
	border-radius: 50%;
	font-size: 38px;
	color: var(--ol-blue);
	animation: dm-es-float 3s ease-in-out infinite;
}

.dm-empty-state__oops {
	font-family: var(--ol-font-display);
	font-style: italic;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ol-amber);
	margin-top: 24px;
	display: block;
}

.dm-empty-state__heading {
	font-family: var(--ol-font-display);
	font-size: 22px;
	font-weight: 600;
	color: var(--ol-ink);
	margin: 6px 0 0;
	line-height: 1.3;
}

.dm-empty-state__sub {
	font-size: 14.5px;
	color: var(--ol-mute);
	line-height: 1.65;
	margin: 10px 0 28px;
	max-width: 38ch;
}

.dm-empty-state__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 26px;
	border-radius: 999px;
	background: var(--ol-blue);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 8px 20px -10px rgba(35, 33, 48, 0.5);
}

.dm-empty-state__cta:hover {
	background: var(--ol-amber);
	color: var(--ol-accent-ink);
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--dm-terracotta) 50%, transparent);
}

.dm-empty-state__cta i {
	font-size: 14px;
}

@keyframes dm-es-in {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.97);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes dm-es-float {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet landscape */
@media (max-width: 1199px) {
	.centerlistnirvaan .item-card9-img { width: 200px; }
	.centerlistnirvaan .item-card9 h4 { font-size: 18px; }
}

/* Tablet portrait — sidebar drops below results, sticky off */
@media (max-width: 991px) {
	.sptb-cust { padding: 24px 0 60px; }
	#filter_div .card { position: static; margin-bottom: 24px; }
	.centerlistnirvaan .item-card9-img { width: 180px; min-height: 160px; }
	.centerlistnirvaan .item-card9-imgs img.cover-image { min-height: 160px; }
	.centerlistnirvaan .item-card9 h4 { font-size: 17px; }
	#div_slider { padding: 18px 20px; }
}

/* Large phone — cards stack vertically (image on top) */
@media (max-width: 767px) {
	.sptb-cust { padding: 18px 0 48px; }
	.centerlistnirvaan .item-card .d-md-flex { flex-direction: column; gap: 0; display: flex !important; }
	.centerlistnirvaan .item-card9-img {
		width: 100%;
		min-height: 180px;
		max-height: 220px;
	}
	.centerlistnirvaan .item-card9-imgs img.cover-image {
		min-height: 180px;
		max-height: 220px;
	}
	.centerlistnirvaan .item-card .card-body { padding: 16px 18px !important; }
	.centerlistnirvaan .item-card9 h4 { font-size: 17px; }
	.centerlistnirvaan .item-card9-desc { gap: 6px 8px; }
	.centerlistnirvaan .item-card9-desc > span {
		font-size: 12px;
		padding: 4px 8px;
		max-width: 100%;
	}
	.centerlistnirvaan .item-card9-desc .website { display: none; } /* hide long URL on phones */

	#filter_div .card-header { padding: 14px 18px; }
	#filter_div .card-body { padding: 4px 14px 0; }
	#filter_div .card-footer { padding: 12px 14px !important; }
}

/* Phone */
@media (max-width: 575px) {
	.sptb-cust { padding: 14px 0 40px; }
	.centerlistnirvaan { gap: 14px; }
	.centerlistnirvaan .item-card9-img { min-height: 160px; max-height: 180px; }
	.centerlistnirvaan .item-card9-imgs img.cover-image { min-height: 160px; max-height: 180px; }
	.centerlistnirvaan .item-card9 h4 { font-size: 16px; }
	.centerlistnirvaan .item-card .card-body { padding: 14px 14px !important; }
	.centerlistnirvaan .item-card9 p { font-size: 13px; }

	.dm-empty-state { padding: 40px 20px; }
	.dm-empty-state__icon { width: 64px; height: 64px; font-size: 28px; }
	.dm-empty-state__heading { font-size: 18px; }

	.pagination button { min-width: 36px; height: 36px; padding: 0 10px; font-size: 13px; }

	#filter_div .accordion-button { font-size: 14px; padding: 14px 4px; }
	#div_slider { padding: 16px 16px; }
	#div_slider h4 { font-size: 15px; }
}

/* Small phone */
@media (max-width: 380px) {
	.centerlistnirvaan .item-card9-desc > span { font-size: 11.5px; padding: 3px 7px; }
	.pagination { gap: 4px; }
	.pagination button { min-width: 34px; height: 34px; }
}

/* iOS / Android polish */
.centerlistnirvaan,
.pagination button,
#filter_div * { -webkit-tap-highlight-color: transparent; }

@media (prefers-reduced-motion: reduce) {
	.centerlistnirvaan .item-card,
	.centerlistnirvaan .item-card:hover,
	.centerlistnirvaan .item-card9-imgs img.cover-image,
	.pagination button { transition: none !important; transform: none !important; }

	.dm-empty-state { animation: none; }
	.dm-empty-state__icon { animation: none; }
	.dm-empty-state__cta { transition: none !important; }

	/* Filter enhancements — disable animation/transition */
	#filter_div,
	#filter_div.dm-filter-visible { opacity: 1; transform: none; transition: none !important; }
	.dm-filter-badge { transition: none !important; }
	.dm-apply-count { transition: none !important; }
	#filter_div .card-footer .btn:first-child.dm-btn-loading::before { animation: none; }

	/* Price range -- disable hover scale/transition */
	.dm-preset-chip,
	.dm-preset-chip:hover { transition: none !important; transform: none !important; }
	/* Preserve base translate(-50%, -50%) for handle centering — drop only the scale animation */
	#priceRangeSlider .ui-slider-handle,
	#priceRangeSlider .ui-slider-handle:hover,
	#priceRangeSlider .ui-slider-handle:focus-visible,
	#priceRangeSlider .ui-slider-handle:active { transition: none !important; transform: translate(-50%, -50%) !important; }
}

/* ============================================================
   Result card — component rebuild (.dm-rc), 2026-07
   JS injects this into .centerlistnirvaan; keeps .item-card base.
   ============================================================ */
.centerlistnirvaan .dm-rc { position: relative; display: flex; flex-direction: column; padding: 0; height: 100%; }
.centerlistnirvaan .dm-rc__hit { position: absolute; inset: 0; z-index: 1; }
.centerlistnirvaan .dm-rc__media {
	position: relative; height: 148px;
	background: #EAF3D6;
	display: flex; align-items: center; justify-content: center; padding: 18px;
	border-bottom: 1px solid var(--ol-blue-line);
}
.centerlistnirvaan .dm-rc__logo { max-width: 66%; max-height: 92px; object-fit: contain; transition: transform .5s ease; }
.centerlistnirvaan .dm-rc:hover .dm-rc__logo { transform: scale(1.06); }
.centerlistnirvaan .dm-rc__badge {
	position: absolute; top: 12px; left: 12px; z-index: 2;
	display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
	background: var(--ol-amber); color: var(--ol-accent-ink);
	font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
	box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--dm-terracotta) 55%, transparent);
}
.centerlistnirvaan .dm-rc__city {
	position: absolute; top: 12px; right: 12px; z-index: 2;
	display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px;
	background: rgba(255,255,255,.92); border: 1px solid var(--ol-blue-line);
	font-size: 11.5px; font-weight: 600; color: var(--ol-ink); max-width: 55%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.centerlistnirvaan .dm-rc__city i { color: var(--ol-blue); font-size: 11px; flex: 0 0 auto; }
.centerlistnirvaan .dm-rc__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.centerlistnirvaan .dm-rc__name { margin: 0 0 14px; font-family: var(--ol-font-display); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--ol-ink); transition: color .2s ease; }
.centerlistnirvaan .dm-rc:hover .dm-rc__name { color: var(--ol-blue); }
.centerlistnirvaan .dm-rc__facts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.centerlistnirvaan .dm-rc__facts li { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; font-size: 13px; color: var(--ol-mute); line-height: 1.45; word-break: break-word; }
.centerlistnirvaan .dm-rc__facts i { color: var(--ol-blue); font-size: 12px; margin-top: 3px; }
.centerlistnirvaan .dm-rc__foot { margin-top: auto; }
.centerlistnirvaan .dm-rc__btn {
	position: relative; z-index: 2; width: 100%; justify-content: center;
	display: inline-flex; align-items: center; gap: 9px;
	padding: 12px 20px; border-radius: 12px; border: 0; cursor: pointer;
	background: var(--ol-blue); color: #fff; font-family: var(--ol-font-body); font-weight: 700; font-size: 14px;
	box-shadow: 0 12px 22px -14px rgba(45, 12, 90,.8);
	transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.centerlistnirvaan .dm-rc__btn:hover { transform: translateY(-2px); background: var(--ol-blue-deep); box-shadow: 0 18px 30px -16px rgba(45, 12, 90,.9); }
.centerlistnirvaan .dm-rc__btn i { transition: transform .2s ease; }
.centerlistnirvaan .dm-rc__btn:hover i { transform: translateX(3px); }

/* ---- List results header ---- */
.dm-lst-head { margin: 4px 0 26px; }
.dm-lst-head__eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color: var(--ol-blue); margin-bottom:10px; }
.dm-lst-head__eyebrow::before { content:""; width:20px; height:2px; background: var(--ol-amber); }
.dm-lst-head__title { font-family: var(--ol-font-display); font-weight:600; font-size: clamp(26px,3.4vw,42px); line-height:1.06; letter-spacing:-.02em; color: var(--ol-ink); margin:0 0 8px; }
.dm-lst-head__sub { color: var(--ol-mute); font-size: 15.5px; line-height:1.6; margin:0; max-width: 60ch; }
.dm-lst-count { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 999px;
	background: var(--ol-amber-soft); color: var(--ol-blue); border: 1px solid var(--ol-blue-line);
	font-size: 13px; font-weight: 700; }
.dm-lst-count:empty { display: none; }

/* Brand watermark on result cards */
.centerlistnirvaan .dm-rc::after {
	content: "\f015"; font-family: "Font Awesome 6 Free"; font-weight: 900;
	position: absolute; right: 8px; bottom: 66px; font-size: 76px; line-height: 1; z-index: 0;
	color: var(--ol-blue); opacity: 0.05; pointer-events: none;
}
.centerlistnirvaan .dm-rc__media, .centerlistnirvaan .dm-rc__body { position: relative; z-index: 1; }

/* ============================================================
   Grid / List view toggle
   ============================================================ */
.dm-lst-toolbar { display: flex; justify-content: flex-end; align-items: center; margin: 0 0 16px; }
/* Desktop: lift the view toggle out of flow so the first card aligns with the Filters header top */
@media (min-width: 992px) {
	.item2-gl { position: relative; }
	.dm-lst-toolbar { position: absolute; top: -52px; right: 0; margin: 0; z-index: 5; }
}
.dm-lst-view { display: inline-flex; border: 1px solid var(--ol-blue-line); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: var(--ol-shadow-rest); }
.dm-lst-view__btn { width: 42px; height: 38px; border: 0; background: transparent; color: var(--ol-mute); cursor: pointer; display: grid; place-items: center; font-size: 15px; transition: background .2s ease, color .2s ease; }
.dm-lst-view__btn + .dm-lst-view__btn { border-left: 1px solid var(--ol-blue-line); }
.dm-lst-view__btn:hover { color: var(--ol-blue); }
.dm-lst-view__btn.is-active { background: var(--ol-blue); color: #fff; }

/* ---- LIST mode: single column, full-width horizontal rows ---- */
.centerlistnirvaan.is-list { grid-template-columns: 1fr; }
.centerlistnirvaan.is-list .dm-rc { flex-direction: row; }
.centerlistnirvaan.is-list .dm-rc__media { width: 240px; height: auto; flex-shrink: 0; border-bottom: 0; border-right: 1px solid var(--ol-blue-line); }
.centerlistnirvaan.is-list .dm-rc__body { flex: 1 1 auto; }
.centerlistnirvaan.is-list .dm-rc__foot { margin-top: 14px; }
.centerlistnirvaan.is-list .dm-rc__btn { width: auto; align-self: flex-start; padding: 11px 24px; }
.centerlistnirvaan.is-list .dm-rc::after { bottom: 12px; }
@media (max-width: 620px) {
	.centerlistnirvaan.is-list .dm-rc { flex-direction: column; }
	.centerlistnirvaan.is-list .dm-rc__media { width: 100%; height: 148px; border-right: 0; border-bottom: 1px solid var(--ol-blue-line); }
	.centerlistnirvaan.is-list .dm-rc__btn { width: 100%; }
}

/* ============================================================
   PER-THEME HERO BANNERS (.dm-lsthero)
   All colors via var(--dm-*) / var(--ol-*) — no hardcoded hex.
   ============================================================ */

/* --- Shared base --- */
.dm-lsthero {
	position: relative;
	overflow: hidden;
}
.dm-lsthero__fig {
	margin: 0;
	position: absolute;
	inset: 0;
	z-index: 0;
}
.dm-lsthero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.dm-lsthero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: #000;
	opacity: 0.55;
}
.dm-lsthero__inner {
	position: relative;
	z-index: 2;
}
.dm-lsthero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.dm-lsthero__display {
	margin: 0;
	font-family: var(--ol-font-display);
	font-weight: 700;
	line-height: 1.1;
}
.dm-lsthero__sub {
	font-size: 14.5px;
	line-height: 1.6;
	opacity: .85;
}
.dm-lsthero__breadcrumb {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
}
.dm-lsthero__breadcrumb i,
.dm-lsthero__crumb-sep { font-size: 10px; opacity: .7; }

/* --- default: minimal warm strip — no full-bleed image, just a tinted band --- */
.dm-lsthero--default {
	background: var(--dm-sand);
	border-bottom: 1px solid var(--ol-blue-line);
	padding: 18px 0 14px;
}
.dm-lsthero--default .dm-lsthero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.06;
}
.dm-lsthero--default .dm-lsthero__overlay { display: none; }
.dm-lsthero--default .dm-lsthero__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.dm-lsthero--default .dm-lsthero__label {
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ol-ink);
	letter-spacing: .01em;
}
.dm-lsthero--default .dm-lsthero__crumb {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: var(--ol-mute);
}
.dm-lsthero--default .dm-lsthero__crumb .dm-lsthero__crumb-sep { opacity: .5; }

/* --- odhomz8: full-bleed hero, centered teal-tinted overlay, orange eyebrow --- */
.dm-lsthero--odhomz8 { min-height: 220px; }
body[data-theme="odhomz8"] .dm-lsthero--odhomz8 { display: flex; align-items: center; }
.dm-lsthero--odhomz8 .dm-lsthero__inner { padding: 40px 0; }
.dm-lsthero--odhomz8 .dm-lsthero__content--center { text-align: center; }
.dm-lsthero--odhomz8 .dm-lsthero__eyebrow { color: var(--dm-accent-mid); margin-bottom: 10px; display: block; }
.dm-lsthero--odhomz8 .dm-lsthero__display { font-size: clamp(28px, 4.5vw, 52px); color: #fff; margin-bottom: 14px; }
.dm-lsthero--odhomz8 .dm-lsthero__breadcrumb { color: rgba(255,255,255,.75); justify-content: center; }

/* --- odhomz: full-bleed hero, centered pink-tinted overlay, large white text --- */
.dm-lsthero--odhomz {
	min-height: 220px;
	align-items: center;
}
/* display:flex must be theme-scoped. As a bare `.dm-lsthero--odhomz{display:flex}`
   it ties the `[data-theme-shell]{display:none}` gate on specificity and, loading
   later than themes.css, forced this banner visible under EVERY theme (duplicate
   banner). Scoping it to the odhomz theme restores the gate for other themes. */
body[data-theme="odhomz"] .dm-lsthero--odhomz { display: flex; }
.dm-lsthero--odhomz .dm-lsthero__inner {
	padding: 40px 0;
}
.dm-lsthero--odhomz .dm-lsthero__content--center {
	text-align: center;
}
.dm-lsthero--odhomz .dm-lsthero__eyebrow {
	color: var(--dm-accent-mid);
	margin-bottom: 10px;
	display: block;
}
.dm-lsthero--odhomz .dm-lsthero__display {
	font-size: clamp(28px, 4.5vw, 52px);
	color: #fff;
	margin-bottom: 14px;
}
.dm-lsthero--odhomz .dm-lsthero__breadcrumb {
	color: rgba(255,255,255,.75);
	justify-content: center;
}

/* --- odhomz21: compact bar, teal pill left, title center-left, teal paint-splash --- */
.dm-lsthero--odhomz21 {
	position: relative;
	overflow: hidden;
	background: var(--dm-sand);
	border-bottom: 3px solid var(--dm-accent-mid);
	padding: 20px 0;
}
/* Signature layout-21 teal paint-splash echoing the homepage care band */
.dm-lsthero--odhomz21::before {
	content: "";
	position: absolute;
	top: -60px;
	right: -40px;
	width: 220px;
	height: 220px;
	background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--dm-accent-mid) 28%, transparent), transparent 62%);
	pointer-events: none;
}
.dm-lsthero--odhomz21 .dm-lsthero__inner {
	position: relative;
	z-index: 1;
}
.dm-lsthero--odhomz21 .dm-lsthero__content--bar {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}
.dm-lsthero--odhomz21 .dm-lsthero__pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--dm-accent-mid);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
	flex-shrink: 0;
}
.dm-lsthero--odhomz21 .dm-lsthero__display {
	font-size: clamp(18px, 2.4vw, 26px);
	color: var(--ol-ink);
	flex: 1;
}
.dm-lsthero--odhomz21 .dm-lsthero__breadcrumb {
	color: var(--ol-mute);
	margin-left: auto;
	flex-shrink: 0;
}
.dm-lsthero--odhomz21 .dm-lsthero__accent-line {
	position: absolute;
	left: 0;
	bottom: -20px;
	height: 3px;
	width: 80px;
	background: var(--dm-terracotta);
	border-radius: 999px;
}

/* --- odhomz23: bold asymmetric, large display left, corner image right --- */
.dm-lsthero--odhomz23 {
	background: var(--dm-sand);
	padding: 28px 0;
	overflow: visible;
	border-bottom: 1px solid var(--ol-blue-line);
}
.dm-lsthero--odhomz23 .dm-lsthero__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
}
.dm-lsthero--odhomz23 .dm-lsthero__content--offset {
	flex: 1;
}
.dm-lsthero--odhomz23 .dm-lsthero__eyebrow {
	color: var(--dm-terracotta);
	display: block;
	margin-bottom: 8px;
}
.dm-lsthero--odhomz23 .dm-lsthero__display {
	font-size: clamp(30px, 5vw, 58px);
	color: var(--ol-ink);
	letter-spacing: -.03em;
	line-height: 1.0;
}
.dm-lsthero--odhomz23 .dm-lsthero__display-accent {
	color: var(--dm-terracotta);
}
.dm-lsthero--odhomz23 .dm-lsthero__corner-img {
	width: 160px;
	height: 160px;
	flex-shrink: 0;
	border-radius: 24px 24px 0 24px;
	overflow: hidden;
	box-shadow: 0 12px 32px -10px var(--dm-accent-glow);
	position: relative;
	bottom: -28px;
	margin-right: -8px;
}
.dm-lsthero--odhomz23 .dm-lsthero__corner-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
@media (max-width: 640px) {
	.dm-lsthero--odhomz23 .dm-lsthero__corner-img { display: none; }
}

/* --- senion4: split layout — image left 40%, copy right 60% --- */
.dm-lsthero--senion4 {
	min-height: 200px;
	overflow: hidden;
}
.dm-lsthero--senion4 .dm-lsthero__split {
	display: flex;
	align-items: stretch;
	min-height: 200px;
}
.dm-lsthero--senion4 .dm-lsthero__split-img {
	flex: 0 0 40%;
	max-width: 40%;
	overflow: hidden;
	position: relative;
}
/* Image fills the column absolutely so it CAN'T dictate the banner height
   (previously height:100% resolved to the image's natural ~450px height,
   stretching the copy column and leaving a big empty gap). */
.dm-lsthero--senion4 .dm-lsthero__split-img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.dm-lsthero--senion4 .dm-lsthero__split-copy {
	flex: 1;
	background: var(--dm-sand);
	padding: 28px 36px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	border-bottom: 3px solid var(--dm-terracotta);
}
.dm-lsthero--senion4 .dm-lsthero__eyebrow {
	color: var(--dm-terracotta);
	display: block;
}
.dm-lsthero--senion4 .dm-lsthero__display {
	font-size: clamp(20px, 2.8vw, 32px);
	color: var(--ol-ink);
}
.dm-lsthero--senion4 .dm-lsthero__sub {
	color: var(--ol-mute);
	font-size: 14px;
	margin: 0;
}
@media (max-width: 640px) {
	.dm-lsthero--senion4 .dm-lsthero__split { flex-direction: column; }
	.dm-lsthero--senion4 .dm-lsthero__split-img { flex: none; max-width: 100%; height: 160px; }
	.dm-lsthero--senion4 .dm-lsthero__split-img img { min-height: 160px; }
	.dm-lsthero--senion4 .dm-lsthero__split-copy { padding: 20px 20px; }
}

/* --- senion5: deep navy overlay, centered, radial-dot pattern --- */
.dm-lsthero--senion5 {
	min-height: 220px;
	display: flex;
	align-items: center;
}
.dm-lsthero--senion5 .dm-lsthero__overlay--dots {
	opacity: 1;
	background:
		radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
		linear-gradient(180deg, #000 0%, #000 100%);
	background-size: 16px 16px, 100% 100%;
}
.dm-lsthero--senion5 .dm-lsthero__inner {
	padding: 42px 0;
}
.dm-lsthero--senion5 .dm-lsthero__content--center {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}
.dm-lsthero--senion5 .dm-lsthero__display {
	font-size: clamp(26px, 4vw, 48px);
	color: #fff;
	margin: 0;
}
.dm-lsthero--senion5 .dm-lsthero__sub {
	color: rgba(255,255,255,.75);
	font-size: 15px;
	margin: 0;
}
.dm-lsthero--senion5 .dm-lsthero__breadcrumb--light {
	color: rgba(255,255,255,.6);
	font-size: 12.5px;
}

/* ============================================================
   PER-THEME CORE RESHAPING (CSS-only, no DOM changes)
   ============================================================ */

/* senion4 + senion5: filter sidebar moves to RIGHT via flex order.
   The filter col has col-xl-3 (Bootstrap order=default=0); we push it
   to order:2 and the results col to order:1 so results lead left. */
body[data-theme="senion4"] #dm-list-core .sptb-cust .row,
body[data-theme="senion5"] #dm-list-core .sptb-cust .row {
	display: flex;
	flex-wrap: wrap;
}
body[data-theme="senion4"] #dm-list-core #filter_div,
body[data-theme="senion5"] #dm-list-core #filter_div {
	order: 2;
}
body[data-theme="senion4"] #dm-list-core .col-xl-9.col-lg-8,
body[data-theme="senion5"] #dm-list-core .col-xl-9.col-lg-8 {
	order: 1;
}
/* Restore stacking on tablet/mobile — sidebar drops below on narrow screens */
@media (max-width: 991px) {
	body[data-theme="senion4"] #dm-list-core #filter_div,
	body[data-theme="senion5"] #dm-list-core #filter_div { order: 0; }
	body[data-theme="senion4"] #dm-list-core .col-xl-9.col-lg-8,
	body[data-theme="senion5"] #dm-list-core .col-xl-9.col-lg-8 { order: 0; }
}

/* senion4: filter card gets a teal left-border accent instead of gradient header */
body[data-theme="senion4"] #dm-list-core #filter_div .card-header {
	background: var(--dm-indigo);
}
/* senion5: filter card gets a navy header */
body[data-theme="senion5"] #dm-list-core #filter_div .card-header {
	background: var(--dm-indigo);
}

/* odhomz23: wider card grid (min 340px) + extra-rounded corners */
body[data-theme="odhomz23"] #dm-list-core .centerlistnirvaan {
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 28px;
}
body[data-theme="odhomz23"] #dm-list-core .centerlistnirvaan .item-card,
body[data-theme="odhomz23"] #dm-list-core .centerlistnirvaan .dm-rc {
	border-radius: 24px !important;
}
body[data-theme="odhomz23"] #dm-list-core .centerlistnirvaan .dm-rc__media {
	border-radius: 24px 24px 0 0;
}
body[data-theme="odhomz23"] #dm-list-core .centerlistnirvaan .dm-rc__btn {
	border-radius: 20px;
}

/* odhomz21: compact pill-style filter accordion — tighter padding + teal border-bottom */
body[data-theme="odhomz21"] #dm-list-core #filter_div .accordion-button {
	padding: 12px 6px;
	font-size: 13.5px;
}
body[data-theme="odhomz21"] #dm-list-core #filter_div .card-header {
	background: var(--dm-terracotta-deep);
}
body[data-theme="odhomz21"] #dm-list-core #filter_div .accordion-button:not(.collapsed) {
	color: var(--dm-accent-mid);
}
body[data-theme="odhomz21"] #dm-list-core #filter_div .accordion-body {
	padding: 2px 4px 14px;
}

/* @prefers-reduced-motion: banners with images */
@media (prefers-reduced-motion: reduce) {
	.dm-lsthero--odhomz23 .dm-lsthero__corner-img { transform: none !important; }
}
