/* 센터소개(page-clinic.php). 섹션 기본 디자인은 front.css 를 함께 씁니다. */

.clinic-partner-link {
	margin: 32px 0 0;
	text-align: center;
}

/* 대표 프로필 */
.clinic-profile {
	background: var(--paper);
}
.profile-grid {
	display: grid;
	grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
	gap: 72px;
	align-items: center;
}
.profile-photo {
	aspect-ratio: 3 / 4;
	margin: 0;
	overflow: hidden;
	border-radius: 24px;
	background: color-mix(in oklab, var(--primary), #fff 90%);
}
.profile-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.profile-quote {
	margin: 0 0 32px;
	font-family: 'Noto Serif KR', 'Nanum Myeongjo', Batang, serif;
	font-size: clamp(22px, 1.6vw + 10px, 30px);
	line-height: 1.6;
	letter-spacing: -0.02em;
}
.profile-quote::before {
	content: "\201C";
	display: block;
	margin-bottom: 8px;
	font-size: 56px;
	line-height: 0.8;
	color: var(--primary);
	opacity: 0.4;
}
.profile-quote p {
	margin: 0;
}
.profile-name {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 0;
	font-size: 16px;
	font-weight: 500;
}
.profile-name strong {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.profile-name span {
	color: var(--primary);
}
.profile-text hr {
	margin: 24px 0;
	border: 0;
	border-top: 1px solid var(--border-color);
}
.profile-detail {
	margin-bottom: 24px;
}
.profile-detail h3 {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 600;
	color: var(--primary);
}
.profile-detail ul {
	margin: 0;
	padding-left: 1.2em;
	list-style: disc;
	line-height: 1.8;
	opacity: 0.85;
}
.profile-text > .btn {
	margin-top: 8px;
}

/* 청능사 3인 */
.clinic-team-photo {
	max-width: 960px;
	aspect-ratio: 16 / 9;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 24px;
	background: color-mix(in oklab, var(--primary), #fff 92%);
}
.clinic-team-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.team-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px 56px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
	text-align: center;
}
.team-role {
	display: block;
	font-size: 14px;
	color: var(--primary);
}
.team-name {
	display: block;
	margin-top: 4px;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

/* 마무리 */
.clinic-closing {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}
.clinic-closing::before {
	content: attr(data-watermark);
	position: absolute;
	z-index: -1;
	inset: 50% 0 auto;
	transform: translateY(-50%);
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	font-size: clamp(48px, 9vw, 140px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: color-mix(in oklab, var(--primary), transparent 94%);
	pointer-events: none;
}
.clinic-closing .main-description {
	max-width: 32em;
	margin-bottom: 32px;
}
.clinic-closing .btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* 센터 사진 갤러리 */
.clinic-gallery .wrap {
	padding-bottom: 48px;
}
.clinic-gallery-swiper {
	position: relative;
	margin-top: 8px;
	overflow: hidden;
	border-radius: 20px;
}
.clinic-gallery-link {
	display: block;
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: color-mix(in oklab, var(--primary), transparent 94%);
}
.clinic-gallery-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}
.clinic-gallery-link:hover img {
	transform: scale(1.03);
}
.clinic-gallery-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 48px 20px 16px;
	background: linear-gradient(to top, rgb(0 0 0 / 0.55), transparent);
	color: #fff;
	font-size: 15px;
}
.clinic-gallery-swiper .swiper-button-prev,
.clinic-gallery-swiper .swiper-button-next {
	width: 44px;
	height: 44px;
	margin-top: 0;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 999px;
	background: rgb(255 255 255 / 0.92);
	color: var(--primary);
	box-shadow: 0 4px 16px rgb(0 0 0 / 0.12);
}
.clinic-gallery-swiper .swiper-button-prev::after,
.clinic-gallery-swiper .swiper-button-next::after {
	font-size: 16px;
	font-weight: 700;
}
.clinic-gallery-swiper .swiper-pagination-bullet {
	background: #fff;
	opacity: 0.45;
}
.clinic-gallery-swiper .swiper-pagination-bullet-active {
	opacity: 1;
	background: var(--primary);
}

@media (max-width: 1100px) {
	.profile-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
	.profile-photo {
		width: min(100%, 320px);
		margin-inline: auto;
	}
	.profile-photo.is-empty,
	.clinic-team-photo.is-empty {
		display: none;
	}
}

@media (max-width: 768px) {
	.clinic-team-photo {
		aspect-ratio: 4 / 3;
		border-radius: 16px;
	}
	.team-list {
		gap: 16px 28px;
		margin-top: 28px;
	}
	.team-name {
		font-size: 18px;
	}
	.profile-name strong {
		font-size: 24px;
	}
	.clinic-closing .btn-group .btn,
	.profile-text > .btn {
		width: 100%;
	}
}
