/**
 * Boksiowo Portal Engine PRO — Veterinarians module styles.
 */

.bpe-vets-grid {
	display: grid;
	grid-template-columns: repeat(var(--bpe-vets-columns, 3), 1fr);
	gap: 20px;
	margin: 0 0 2em;
}

.bpe-vet-card {
	border: 1px solid #dcdcde;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.bpe-vet-card__thumb {
	display: block;
	aspect-ratio: 1 / 1;
	background: #f0f0f1;
}

.bpe-vet-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bpe-vet-card__thumb-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: #e0e0e0;
}

.bpe-vet-card__body {
	padding: 14px;
}

.bpe-vet-card__title {
	margin: 0 0 4px;
	font-size: 1.05rem;
}

.bpe-vet-card__title a {
	text-decoration: none;
	color: inherit;
}

.bpe-vet-card__specialization {
	margin: 0 0 6px;
	color: #b32d2e;
	font-size: 0.85rem;
	font-weight: 600;
}

.bpe-vet-card__clinic,
.bpe-vet-card__city {
	margin: 0;
	color: #646970;
	font-size: 0.9rem;
}

/* Single veterinarian profile. */
.bpe-vet__header {
	display: flex;
	gap: 24px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.bpe-vet__thumb {
	flex: 0 0 220px;
	max-width: 220px;
	border-radius: 6px;
	overflow: hidden;
}

.bpe-vet__thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.bpe-vet__intro {
	flex: 1 1 260px;
}

.bpe-vet__title {
	margin: 0 0 6px;
}

.bpe-vet__specialization {
	color: #b32d2e;
	font-weight: 600;
	margin: 0;
}

.bpe-vet__contact {
	width: 100%;
	max-width: 480px;
	border-collapse: collapse;
	margin-bottom: 24px;
}

.bpe-vet__contact th,
.bpe-vet__contact td {
	text-align: left;
	padding: 8px 12px;
	border-bottom: 1px solid #e0e0e0;
}

.bpe-vet__contact th {
	width: 40%;
	color: #646970;
	font-weight: 600;
}

@media (max-width: 782px) {
	.bpe-vets-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.bpe-vets-grid {
		grid-template-columns: 1fr;
	}
}

/* ------------------------------------------------------------------ *
 * [bpe_vets_map]
 * ------------------------------------------------------------------ */

.bpe-vets-map {
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #dcdcde;
}

.bpe-vets-map__empty {
	padding: 24px;
	text-align: center;
	color: #646970;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 8px;
}

.bpe-vets-map__popup {
	font-size: 13.5px;
	line-height: 1.5;
}

.bpe-vets-map__popup strong {
	display: block;
	font-size: 14.5px;
	margin-bottom: 2px;
}

.bpe-vets-map__popup-city {
	color: #646970;
}

.bpe-vets-map__popup-link {
	display: inline-block;
	margin-top: 6px;
	font-weight: 600;
}
