/* Therapist profile photo lightbox — PHP 8.0+, WordPress 6.0+. */
.param-public-therapist-photo {
	display: block;
	width: 9.5rem;
	height: 9.5rem;
	flex: 0 0 9.5rem;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	cursor: zoom-in;
}

.param-public-therapist-photo:hover,
.param-public-therapist-photo:focus,
.param-public-therapist-photo:active {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	filter: none;
	transform: none;
}

.param-public-therapist-photo > img {
	display: block;
	width: 100%;
	height: 100%;
	border: 5px solid #fff;
	border-radius: 50%;
	background: var(--param-brand-primary-200);
	box-shadow: 0 0.65rem 1.7rem color-mix(in srgb, var(--param-brand-primary-950) 16%, transparent);
	object-fit: cover;
}

.param-public-therapist-photo-dialog {
	width: min(42rem, calc(100% - 2rem));
	max-width: 42rem;
	padding: 0;
	overflow: visible;
	border: 0;
	border-radius: 1.25rem;
	background: transparent;
	box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 32%);
}

.param-public-therapist-photo-dialog::backdrop {
	background: rgb(20 24 18 / 78%);
	backdrop-filter: blur(5px);
}

.param-public-therapist-photo-dialog > img {
	display: block;
	width: 100%;
	max-height: calc(100vh - 3rem);
	border-radius: inherit;
	background: #fff;
	object-fit: contain;
}

.param-public-therapist-photo-dialog__close {
	position: absolute;
	z-index: 1;
	inset-block-start: 0.75rem;
	inset-inline-end: 0.75rem;
	display: grid;
	width: 2.5rem;
	height: 2.5rem;
	min-height: 0;
	padding: 0;
	border: 1px solid rgb(255 255 255 / 70%);
	border-radius: 50%;
	color: #fff;
	background: rgb(20 24 18 / 70%);
	font-size: 1.5rem;
	line-height: 1;
	place-items: center;
}

@media (max-width: 46rem) {
	.param-public-therapist-photo {
		width: 7rem;
		height: 7rem;
		flex-basis: 7rem;
	}
}

@media (max-width: 30rem) {
	.param-public-therapist-photo {
		width: 6.5rem;
		height: 6.5rem;
		flex-basis: 6.5rem;
	}
}
