.l-clinic {
	margin-top: 7.5rem;
}

.p-clinic__lead {
	margin-top: 1.75rem;
}

.p-clinic__imgs {
	display: grid;
	gap: 3.625rem;
	grid-auto-flow: dense;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 5.875rem;
}

.p-clinic__img {
	display: block;
}

.p-clinic__img a {
	transition: all 0.45s;
}

.p-clinic__img {
	border-radius: 3.125rem;
	overflow: hidden;
}

.p-clinic__img img {
	-o-object-fit: cover;
	aspect-ratio: 362/278;
	height: 100%;
	object-fit: cover;
	transition: all 0.45s;
}

.p-clinic__img:nth-child(8n+1) {
	grid-column: span 2;
}

.p-clinic__img:nth-child(8n+1) img {
	aspect-ratio: 781/330;
}

.p-clinic__img:nth-child(8n+2) {
	grid-column: 1/2;
}

.p-clinic__img:nth-child(8n+3) {
	grid-column: 2/3;
}

.p-clinic__img:nth-child(8n+4) {
	grid-column: span 2;
	grid-row: span 2;
}

.p-clinic__img:nth-child(8n+4) img {
	aspect-ratio: 781/665;
}

.p-clinic__img:nth-child(8n+8) {
	grid-column: span 2;
	grid-row: span 2;
}

.p-clinic__img:nth-child(8n+8) img {
	aspect-ratio: 781/665;
}

.p-clinic__img:nth-child(8n+5) {
	grid-column: 3/span 2;
}

.p-clinic__img:nth-child(8n+5) img {
	aspect-ratio: 781/330;
}

.p-clinic__img:nth-child(8n+6) {
	grid-column: 3/span 1;
}

.p-clinic__img:nth-child(8n+7) {
	grid-column: 4/span 1;
}

.lb-outerContainer {
	aspect-ratio: 893/549;
	background: none !important;
	height: -moz-fit-content !important;
	height: fit-content !important;
	margin-inline: auto;
	max-width: 66.25rem;
	width: 100% !important;
}

.lb-container {
	height: -moz-fit-content;
	height: fit-content;
	padding-inline: 5rem;
	padding-top: 3.125rem;
}

.lightbox {
	height: -moz-fit-content;
	height: fit-content;
	inset: 0 !important;
	margin: auto !important;
	max-width: 66.25rem;
	overflow: auto;
	position: fixed !important;
	width: -moz-fit-content;
	width: fit-content;
	width: 100%;
}

.lightbox .lb-image {
	-o-object-fit: cover;
	aspect-ratio: 1100/735;
	border: none !important;
	border-radius: 1.875rem;
	height: 100% !important;
	max-width: 100%;
	object-fit: cover;
	width: 100% !important;
}

.lb-data .lb-number {
	display: none !important;
}

.lb-nav {
	display: block !important;
}

.lb-nav a.lb-next {
	background-size: 4rem;
	display: block !important;
	height: calc(100% - 3.125rem);
	position: absolute;
	top: 3.125rem;
	z-index: 100;
}

.lb-nav a.lb-prev {
	background-size: 4rem;
	display: block !important;
	height: calc(100% - 3.125rem);
	position: absolute;
	top: 3.125rem;
	z-index: 100;
}

.lb-dataContainer {
	display: block !important;
	min-height: 4em;
	padding-inline: 5rem;
	width: 100% !important;
}

.lb-data .lb-caption {
	color: #fff;
	font-size: 1.5rem;
	line-height: 2;
}

.lb-data .lb-close {
	background-size: 2rem;
	background-size: contain;
	height: 2rem;
	position: absolute;
	right: 5rem;
	top: 0;
	width: 2rem;
	z-index: 200;
}

@media (hover: hover) {

.p-clinic__img a:hover img {
	transform: scale(1.1);
}

}

@media screen and (max-width: 767px) {

.l-clinic {
	margin-top: 5rem;
}

.p-clinic__lead {
	line-height: 1.8;
	margin-top: 1.875rem;
}

.p-clinic__imgs {
	gap: 1.625rem;
	grid-template-columns: repeat(2, 1fr);
	margin-top: 3.0625rem;
}

.p-clinic__img {
	border-radius: 1.4375rem;
}

.p-clinic__img img {
	aspect-ratio: 166/128;
}

.p-clinic__img:nth-child(8n+1) img {
	aspect-ratio: 360/152;
}

.p-clinic__img:nth-child(8n+4) img {
	aspect-ratio: 360/306;
}

.p-clinic__img:nth-child(8n+8) img {
	aspect-ratio: 360/306;
}

.p-clinic__img:nth-child(8n+5) {
	grid-column: span 2;
}

.p-clinic__img:nth-child(8n+6) {
	grid-column: span 1;
}

.p-clinic__img:nth-child(8n+7) {
	grid-column: span 1;
}

.lb-container {
	padding-inline: 2rem;
	padding-top: 2rem;
}

.lightbox .lb-image {
	border-radius: 0.625rem;
}

.lb-nav a.lb-next {
	background-size: 2rem;
	height: calc(100% - 1.875rem);
	top: 1.875rem;
}

.lb-nav a.lb-prev {
	background-size: 2rem;
	height: calc(100% - 1.875rem);
	top: 1.875rem;
}

.lb-dataContainer {
	min-height: 3em;
	padding-inline: 2rem;
}

.lb-data .lb-caption {
	font-size: 1rem;
}

.lb-data .lb-close {
	height: 1.5rem;
	right: 2rem;
	width: 1.5rem;
}

}

