/**
 * Doctors directory page — mobile-first layout & UX
 */

.drlistify-doctors-page {
	--dr-hero-accent: rgb(var(--color-primary-600, 37 99 235) / 0.08);
	padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1024px) {
	.drlistify-doctors-page {
		padding-bottom: 2rem;
	}
}

/* Hero */
.drlistify-doctors-hero {
	background: linear-gradient(135deg, var(--dr-hero-accent) 0%, transparent 55%);
	border: 1px solid rgb(229 231 235 / 1);
}

.dark .drlistify-doctors-hero {
	border-color: rgb(55 65 81 / 1);
	background: linear-gradient(135deg, rgb(var(--color-primary-500, 59 130 246) / 0.12) 0%, transparent 60%);
}

.drlistify-doctors-stat-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.8125rem;
	font-weight: 600;
	background: rgb(var(--color-primary-600, 37 99 235) / 0.1);
	color: rgb(var(--color-primary-700, 29 78 216) / 1);
}

.dark .drlistify-doctors-stat-pill {
	background: rgb(var(--color-primary-400, 96 165 250) / 0.15);
	color: rgb(var(--color-primary-300, 147 197 253) / 1);
}

/* Breadcrumb — mobile scroll */
.drlistify-breadcrumb-scroll {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	gap: 0.35rem;
	padding-bottom: 0.15rem;
}

.drlistify-breadcrumb-scroll::-webkit-scrollbar {
	display: none;
}

/* ── District directory: division tabs (mobile-first) ── */
.drlistify-district-directory {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.drlistify-division-tabs-wrap {
	margin-bottom: 0.875rem;
}

.drlistify-division-tabs-hint {
	display: block;
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: rgb(107 114 128 / 1);
}

@media (min-width: 1024px) {
	.drlistify-division-tabs-hint {
		display: none;
	}
}

.dark .drlistify-division-tabs-hint {
	color: rgb(156 163 175 / 1);
}

/* 2 cols phone → 4 cols tablet → 8 cols desktop */
.drlistify-division-tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
	width: 100%;
}

@media (min-width: 480px) {
	.drlistify-division-tabs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0.5625rem;
	}
}

@media (min-width: 768px) {
	.drlistify-division-tabs {
		gap: 0.625rem;
	}
}

@media (min-width: 1024px) {
	.drlistify-division-tabs {
		grid-template-columns: repeat(8, minmax(0, 1fr));
		gap: 0.625rem;
	}
}

.drlistify-division-tab {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 3rem;
	border-radius: 0.75rem;
	overflow: hidden;
	border: 2px solid rgb(229 231 235 / 1);
	background: #fff;
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.dark .drlistify-division-tab {
	border-color: rgb(55 65 81 / 1);
	background: rgb(31 41 55 / 1);
}

@media (hover: hover) {
	.drlistify-division-tab:hover {
		transform: translateY(-1px);
		box-shadow: 0 8px 20px -12px rgb(0 0 0 / 0.35);
	}
}

.drlistify-division-tab:active {
	transform: scale(0.98);
}

.drlistify-division-tab.is-active {
	border-color: rgb(var(--color-primary-600, 37 99 235) / 1);
	box-shadow: 0 0 0 1px rgb(var(--color-primary-600, 37 99 235) / 0.35);
}

.drlistify-division-tab:focus-visible {
	outline: 2px solid rgb(var(--color-primary-500, 59 130 246) / 1);
	outline-offset: 2px;
}

.drlistify-division-tab__media {
	display: block;
	flex-shrink: 0;
	aspect-ratio: 5 / 3;
	overflow: hidden;
	background: rgb(243 244 246 / 1);
}

@media (min-width: 1024px) {
	.drlistify-division-tab__media {
		aspect-ratio: 4 / 3;
	}
}

.dark .drlistify-division-tab__media {
	background: rgb(55 65 81 / 1);
}

.drlistify-division-tab__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.drlistify-division-tab__fallback {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 2.5rem;
	background: linear-gradient(to bottom right, rgb(var(--color-primary-500, 59 130 246) / 1), rgb(var(--color-primary-700, 29 78 216) / 1));
}

.drlistify-division-tab__label {
	display: block;
	padding: 0.375rem 0.25rem;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	color: rgb(31 41 55 / 1);
	word-break: break-word;
	hyphens: auto;
}

@media (min-width: 480px) {
	.drlistify-division-tab__label {
		font-size: 0.75rem;
		padding: 0.4375rem 0.3125rem;
	}
}

@media (min-width: 768px) {
	.drlistify-division-tab__label {
		font-size: 0.8125rem;
		padding: 0.5rem 0.375rem;
	}
}

.dark .drlistify-division-tab__label {
	color: rgb(243 244 246 / 1);
}

.drlistify-division-tab.is-active .drlistify-division-tab__label {
	color: rgb(var(--color-primary-700, 29 78 216) / 1);
}

.dark .drlistify-division-tab.is-active .drlistify-division-tab__label {
	color: rgb(var(--color-primary-300, 147 197 253) / 1);
}

/* Panels */
.drlistify-division-panels {
	width: 100%;
}

.drlistify-division-panel[hidden] {
	display: none !important;
}

.drlistify-division-panel {
	background: #fff;
	border: 1px solid rgb(243 244 246 / 1);
	border-radius: 0.875rem;
	padding: 0.875rem;
	box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
	scroll-margin-top: 5rem;
}

@media (min-width: 640px) {
	.drlistify-division-panel {
		padding: 1rem;
		border-radius: 1rem;
	}
}

.dark .drlistify-division-panel {
	background: rgb(31 41 55 / 1);
	border-color: rgb(55 65 81 / 1);
}

.drlistify-division-panel__head {
	margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
	.drlistify-division-panel__head {
		margin-bottom: 0.875rem;
	}
}

.drlistify-division-panel__title {
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.35;
	color: rgb(17 24 39 / 1);
}

@media (min-width: 640px) {
	.drlistify-division-panel__title {
		font-size: 1.125rem;
	}
}

.dark .drlistify-division-panel__title {
	color: #fff;
}

.drlistify-division-panel__count {
	margin-top: 0.2rem;
	font-size: 0.75rem;
	color: rgb(107 114 128 / 1);
}

@media (min-width: 640px) {
	.drlistify-division-panel__count {
		font-size: 0.8125rem;
	}
}

.dark .drlistify-division-panel__count {
	color: rgb(156 163 175 / 1);
}

/* District grid — 1 col tiny → 2 col phone → 3 tablet → 4 desktop */
.drlistify-district-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.4375rem;
	width: 100%;
}

@media (min-width: 400px) {
	.drlistify-district-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.5rem;
	}
}

@media (min-width: 640px) {
	.drlistify-district-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.5625rem;
	}
}

@media (min-width: 1024px) {
	.drlistify-district-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0.625rem;
	}
}

.drlistify-district-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.375rem;
	min-height: 3rem;
	padding: 0.6875rem 0.75rem;
	border-radius: 0.625rem;
	border: 1px solid rgb(var(--color-primary-100, 219 234 254) / 1);
	background: rgb(var(--color-primary-50, 239 246 255) / 1);
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	transition: background 0.15s ease, border-color 0.15s ease;
}

@media (min-width: 640px) {
	.drlistify-district-link {
		min-height: 3.25rem;
		padding: 0.75rem 0.875rem;
		gap: 0.5rem;
	}
}

.dark .drlistify-district-link {
	border-color: rgb(var(--color-primary-800, 30 64 175) / 0.45);
	background: rgb(var(--color-primary-900, 30 58 138) / 0.25);
}

@media (hover: hover) {
	.drlistify-district-link:hover {
		border-color: rgb(var(--color-primary-300, 147 197 253) / 1);
		background: rgb(var(--color-primary-100, 219 234 254) / 1);
	}

	.dark .drlistify-district-link:hover {
		background: rgb(var(--color-primary-900, 30 58 138) / 0.45);
	}
}

.drlistify-district-link:active {
	transform: scale(0.98);
}

.drlistify-district-link:focus-visible {
	outline: 2px solid rgb(var(--color-primary-500, 59 130 246) / 1);
	outline-offset: 2px;
}

.drlistify-district-link__name {
	flex: 1;
	min-width: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: rgb(31 41 55 / 1);
	line-height: 1.4;
	word-break: break-word;
}

@media (min-width: 640px) {
	.drlistify-district-link__name {
		font-size: 1rem;
	}
}

@media (min-width: 1024px) {
	.drlistify-district-link__name {
		font-size: 1.0625rem;
	}
}

.dark .drlistify-district-link__name {
	color: rgb(229 231 235 / 1);
}

@media (hover: hover) {
	.drlistify-district-link:hover .drlistify-district-link__name {
		color: rgb(var(--color-primary-700, 29 78 216) / 1);
	}

	.dark .drlistify-district-link:hover .drlistify-district-link__name {
		color: rgb(var(--color-primary-300, 147 197 253) / 1);
	}
}

.drlistify-district-link__count {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.5rem;
	padding: 0.1875rem 0.4375rem;
	border-radius: 9999px;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1.2;
	color: rgb(var(--color-primary-600, 37 99 235) / 1);
	background: #fff;
	border: 1px solid rgb(var(--color-primary-100, 219 234 254) / 1);
}

@media (min-width: 640px) {
	.drlistify-district-link__count {
		font-size: 0.75rem;
		padding: 0.1875rem 0.5rem;
	}
}

.dark .drlistify-district-link__count {
	background: rgb(31 41 55 / 1);
	border-color: rgb(var(--color-primary-800, 30 64 175) / 0.5);
	color: rgb(var(--color-primary-400, 96 165 250) / 1);
}

/* Legacy division tiles (kept for other pages if referenced) */
.drlistify-division-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.625rem;
}

@media (min-width: 640px) {
	.drlistify-division-tiles {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0.875rem;
	}
}

.drlistify-division-tile {
	position: relative;
	display: block;
	border-radius: 0.875rem;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border: 1px solid rgb(229 231 235 / 1);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dark .drlistify-division-tile {
	border-color: rgb(55 65 81 / 1);
}

.drlistify-division-tile:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px -12px rgb(0 0 0 / 0.25);
}

.drlistify-division-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.drlistify-division-tile__label {
	position: absolute;
	inset: auto 0 0 0;
	padding: 0.5rem 0.625rem;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
	background: linear-gradient(to top, rgb(0 0 0 / 0.75), transparent);
}

@media (min-width: 640px) {
	.drlistify-division-tile__label {
		font-size: 0.8125rem;
		padding: 0.625rem 0.75rem;
	}
}

/* Filter chips */
.drlistify-filter-chips {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.5rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 0.25rem;
	scrollbar-width: none;
}

.drlistify-filter-chips::-webkit-scrollbar {
	display: none;
}

.drlistify-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	flex-shrink: 0;
	padding: 0.35rem 0.65rem;
	border-radius: 9999px;
	font-size: 0.8125rem;
	font-weight: 500;
	background: rgb(var(--color-primary-50, 239 246 255) / 1);
	color: rgb(var(--color-primary-800, 30 64 175) / 1);
	border: 1px solid rgb(var(--color-primary-200, 191 219 254) / 1);
	transition: background 0.15s ease;
}

.dark .drlistify-filter-chip {
	background: rgb(var(--color-primary-900, 30 58 138) / 0.35);
	color: rgb(var(--color-primary-200, 191 219 254) / 1);
	border-color: rgb(var(--color-primary-700, 29 78 216) / 0.5);
}

.drlistify-filter-chip:hover {
	background: rgb(var(--color-primary-100, 219 234 254) / 1);
}

.dark .drlistify-filter-chip:hover {
	background: rgb(var(--color-primary-900, 30 58 138) / 0.55);
}

.drlistify-filter-chip svg {
	width: 0.875rem;
	height: 0.875rem;
	opacity: 0.7;
}

.drlistify-filter-chip--clear {
	background: transparent;
	border-style: dashed;
	color: rgb(107 114 128 / 1);
}

.dark .drlistify-filter-chip--clear {
	color: rgb(156 163 175 / 1);
	border-color: rgb(75 85 99 / 1);
}

/* Layout: sidebar + main */
.drlistify-doctors-layout {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

@media (min-width: 1024px) {
	.drlistify-doctors-layout {
		flex-direction: row;
		align-items: flex-start;
		gap: 1.5rem;
	}
}

.drlistify-doctors-sidebar {
	flex-shrink: 0;
}

@media (min-width: 1024px) {
	.drlistify-doctors-sidebar {
		width: 17.5rem;
		position: sticky;
		top: 5.5rem;
	}
}

@media (min-width: 1280px) {
	.drlistify-doctors-sidebar {
		width: 20rem;
	}
}

.drlistify-doctors-sidebar__panel {
	border-radius: 1rem;
	border: 1px solid rgb(229 231 235 / 1);
	background: #fff;
	padding: 1rem;
	box-shadow: 0 1px 3px rgb(0 0 0 / 0.06);
}

.dark .drlistify-doctors-sidebar__panel {
	background: rgb(31 41 55 / 1);
	border-color: rgb(55 65 81 / 1);
}

.drlistify-doctors-sidebar label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
	color: rgb(55 65 81 / 1);
}

.dark .drlistify-doctors-sidebar label {
	color: rgb(209 213 219 / 1);
}

.drlistify-doctors-sidebar .drlistify-filter-field {
	margin-bottom: 0.875rem;
}

.drlistify-doctors-sidebar select,
.drlistify-doctors-sidebar input[type="text"] {
	width: 100%;
	padding: 0.625rem 0.875rem;
	border-radius: 0.625rem;
	border: 1px solid rgb(209 213 219 / 1);
	font-size: 0.875rem;
	background: #fff;
	color: rgb(17 24 39 / 1);
}

.dark .drlistify-doctors-sidebar select,
.dark .drlistify-doctors-sidebar input[type="text"] {
	background: rgb(55 65 81 / 1);
	border-color: rgb(75 85 99 / 1);
	color: #fff;
}

.drlistify-doctors-sidebar select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.65rem center;
	background-size: 1rem;
	padding-right: 2rem;
}

.drlistify-doctors-main {
	flex: 1;
	min-width: 0;
}

/* Mobile sticky search */
.drlistify-mobile-search-bar {
	position: sticky;
	top: 0;
	z-index: 30;
	margin-left: -1rem;
	margin-right: -1rem;
	padding: 0.625rem 1rem;
	background: rgb(249 250 251 / 0.95);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgb(229 231 235 / 1);
}

.dark .drlistify-mobile-search-bar {
	background: rgb(17 24 39 / 0.95);
	border-color: rgb(55 65 81 / 1);
}

.drlistify-mobile-search-bar__inner {
	display: flex;
	gap: 0.5rem;
	align-items: stretch;
}

.drlistify-mobile-search-bar input {
	flex: 1;
	min-width: 0;
	padding: 0.625rem 0.875rem 0.625rem 2.25rem;
	border-radius: 0.75rem;
	border: 1px solid rgb(209 213 219 / 1);
	font-size: 0.9375rem;
	background: #fff;
}

.dark .drlistify-mobile-search-bar input {
	background: rgb(31 41 55 / 1);
	border-color: rgb(75 85 99 / 1);
	color: #fff;
}

.drlistify-mobile-search-bar__search-wrap {
	position: relative;
	flex: 1;
	min-width: 0;
}

.drlistify-mobile-search-bar__search-wrap svg {
	position: absolute;
	left: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1.125rem;
	height: 1.125rem;
	color: rgb(156 163 175 / 1);
	pointer-events: none;
}

.drlistify-mobile-filter-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	flex-shrink: 0;
	padding: 0 0.875rem;
	border-radius: 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	background: rgb(var(--color-primary-600, 37 99 235) / 1);
	color: #fff;
	border: none;
	min-height: 2.75rem;
}

.drlistify-mobile-filter-trigger__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.125rem;
	height: 1.125rem;
	padding: 0 0.25rem;
	border-radius: 9999px;
	font-size: 0.6875rem;
	font-weight: 700;
	background: #fff;
	color: rgb(var(--color-primary-600, 37 99 235) / 1);
}

/* Mobile bottom action bar */
.drlistify-mobile-action-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom, 0px));
	background: rgb(255 255 255 / 0.96);
	backdrop-filter: blur(10px);
	border-top: 1px solid rgb(229 231 235 / 1);
	box-shadow: 0 -4px 20px rgb(0 0 0 / 0.08);
}

.dark .drlistify-mobile-action-bar {
	background: rgb(17 24 39 / 0.96);
	border-color: rgb(55 65 81 / 1);
}

.drlistify-mobile-action-bar__count {
	font-size: 0.8125rem;
	font-weight: 600;
	color: rgb(55 65 81 / 1);
	text-align: center;
	flex: 1;
}

.dark .drlistify-mobile-action-bar__count {
	color: rgb(209 213 219 / 1);
}

/* Results summary */
.drlistify-results-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.875rem 1rem;
	border-radius: 0.875rem;
	background: #fff;
	border: 1px solid rgb(243 244 246 / 1);
	margin-bottom: 1rem;
}

.dark .drlistify-results-bar {
	background: rgb(31 41 55 / 1);
	border-color: rgb(55 65 81 / 1);
}

.drlistify-results-bar h2 {
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.45;
	margin: 0;
	color: rgb(55 65 81 / 1);
}

.dark .drlistify-results-bar h2 {
	color: rgb(209 213 219 / 1);
}

@media (min-width: 640px) {
	.drlistify-results-bar h2 {
		font-size: 1rem;
	}
}

/* Doctor list grid */
#doctors-list.drlistify-doctors-grid {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}

@media (min-width: 1280px) {
	#doctors-list.drlistify-doctors-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
	}
}

/* Location banner */
.drlistify-location-banner {
	border-radius: 1rem;
	overflow: hidden;
	margin-bottom: 1rem;
	border: 1px solid rgb(229 231 235 / 1);
}

.dark .drlistify-location-banner {
	border-color: rgb(55 65 81 / 1);
}

/* Mobile filter drawer polish */
#filter-drawer-content {
	border-top-left-radius: 1.25rem;
	border-top-right-radius: 1.25rem;
}

#filter-drawer-content .drlistify-drawer-handle {
	width: 2.5rem;
	height: 0.25rem;
	border-radius: 9999px;
	background: rgb(209 213 219 / 1);
	margin: 0.75rem auto 0;
}

.dark #filter-drawer-content .drlistify-drawer-handle {
	background: rgb(75 85 99 / 1);
}

/* District directory on doctors page */
.drlistify-doctors-page .drlistify-district-directory {
	margin-bottom: 2rem;
}

/* Empty state */
.drlistify-doctors-empty {
	text-align: center;
	padding: 2.5rem 1.25rem;
	border-radius: 1rem;
	background: #fff;
	border: 1px dashed rgb(209 213 219 / 1);
}

.dark .drlistify-doctors-empty {
	background: rgb(31 41 55 / 1);
	border-color: rgb(75 85 99 / 1);
}

/* Dhaka city — responsive featured grid */
.drlistify-dhaka-locations {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.drlistify-dhaka-featured-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
	width: 100%;
}

@media (min-width: 640px) {
	.drlistify-dhaka-featured-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}
}

@media (min-width: 1024px) {
	.drlistify-dhaka-featured-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1rem;
	}
}

.drlistify-dhaka-featured-card {
	min-width: 0;
}

@media (max-width: 639px) {
	.drlistify-dhaka-featured-card {
		padding: 0.75rem !important;
	}

	.drlistify-dhaka-featured-card__excerpt {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: 0.8125rem !important;
		line-height: 1.45 !important;
	}

	.drlistify-dhaka-featured-card__excerpt a {
		display: block;
		margin-top: 0.25rem;
		white-space: normal !important;
	}
}

.drlistify-dhaka-featured-card__title {
	font-size: 0.9375rem;
	line-height: 1.35;
}

@media (min-width: 640px) {
	.drlistify-dhaka-featured-card__title {
		font-size: 1.125rem;
	}
}

@media (min-width: 1024px) {
	.drlistify-dhaka-featured-card__title {
		font-size: 1.3125rem;
	}
}

.drlistify-dhaka-featured-card__excerpt {
	font-size: 0.8125rem;
	line-height: 1.5;
}

@media (min-width: 640px) {
	.drlistify-dhaka-featured-card__excerpt {
		font-size: 0.9375rem;
		line-height: 1.6;
	}
}

@media (min-width: 1024px) {
	.drlistify-dhaka-featured-card__excerpt {
		font-size: 1rem;
	}
}

.drlistify-dhaka-all-locations__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.drlistify-dhaka-area-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 0.875rem;
	border-radius: 9999px;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	color: rgb(55 65 81 / 1);
	background: rgb(249 250 251 / 1);
	border: 1px solid rgb(229 231 235 / 1);
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

@media (min-width: 640px) {
	.drlistify-dhaka-area-chip {
		font-size: 1rem;
		padding: 0.5625rem 1rem;
	}
}

.dark .drlistify-dhaka-area-chip {
	color: rgb(229 231 235 / 1);
	background: rgb(55 65 81 / 1);
	border-color: rgb(75 85 99 / 1);
}

.drlistify-dhaka-area-chip:hover {
	background: rgb(var(--color-primary-50, 239 246 255) / 1);
	border-color: rgb(var(--color-primary-200, 191 219 254) / 1);
	color: rgb(var(--color-primary-800, 30 64 175) / 1);
}

.dark .drlistify-dhaka-area-chip:hover {
	background: rgb(var(--color-primary-900, 30 58 138) / 0.4);
	border-color: rgb(var(--color-primary-600, 37 99 235) / 0.5);
	color: rgb(var(--color-primary-200, 191 219 254) / 1);
}

.drlistify-all-locations__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.drlistify-all-locations__chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding: 0.5rem 1rem;
	border-radius: 0.75rem;
	background: rgb(var(--color-primary-50, 239 246 255) / 1);
	border: 1px solid rgb(var(--color-primary-100, 219 234 254) / 1);
	transition: background 0.15s ease, border-color 0.15s ease;
}

.dark .drlistify-all-locations__chip {
	background: rgb(var(--color-primary-900, 30 58 138) / 0.25);
	border-color: rgb(var(--color-primary-800, 30 64 175) / 0.4);
}

.drlistify-all-locations__chip:hover {
	background: rgb(var(--color-primary-100, 219 234 254) / 1);
	border-color: rgb(var(--color-primary-300, 147 197 253) / 1);
}

.dark .drlistify-all-locations__chip:hover {
	background: rgb(var(--color-primary-900, 30 58 138) / 0.45);
}

.drlistify-all-locations__label {
	font-size: 0.9375rem;
	font-weight: 700;
	color: rgb(var(--color-primary-800, 30 64 175) / 1);
	white-space: nowrap;
}

@media (min-width: 640px) {
	.drlistify-all-locations__label {
		font-size: 1.0625rem;
	}
}

.dark .drlistify-all-locations__label {
	color: rgb(var(--color-primary-200, 191 219 254) / 1);
}

/* Hide legacy floating filter on mobile — use action bar */
@media (max-width: 1023px) {
	.drlistify-legacy-filter-fab {
		display: none !important;
	}
}
