/*
 * 리더스 심장수술 진료의뢰 (/cardiac-surgery-referral/).
 * 수치는 김소연 시안 v2 그대로. 글꼴은 사이트 킷(post-9.css)의 NanumSquareNeo —
 * 시안의 Regular(bRg)=500, Bold(cBd)=600, Heavy(eHv)=900 과 같은 파일이다.
 * 히어로만 같은 계열 페이지(진료의뢰안내)의 틀: 고정 헤더 자리(PC 66·폰 53px) 위로 -70px 끌어올려
 * 투명 헤더 밑에 깔고, 높이 PC 499 / 폰 350px(보이는 아래끝 495 / 333px) — 그 페이지 실측값.
 */

/* ---- 테마 틀 풀기: 일반 페이지의 .site-main 폭 제한(hello-elementor)·태그 줄 ---- */

body.lhr-body main.site-main {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.lhr-body .page-content .post-tags {
	display: none;
}

/* ---- 공통 ---- */

.lhr {
	font-family: NanumSquareNeo, "Noto Sans KR", sans-serif;
	font-weight: 500;
	line-height: 1.5;
	color: #222;
	word-break: keep-all;
	-webkit-font-smoothing: antialiased;
}

.lhr *,
.lhr *::before,
.lhr *::after {
	box-sizing: border-box;
}

/* 테마 요소 규칙(hello 의 p 아래 여백·h 굵기 500 등)보다 세고, 아래 클래스 규칙보다는 먼저 오게. */
.lhr :where(h1, h2, h3, p, dl, dt, dd, ol, li) {
	margin: 0;
	padding: 0;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.lhr :where(h1, h2) {
	font-weight: 900;
}

.lhr :where(h3, strong, b, dt) {
	font-weight: 600;
}

body .lhr a {
	color: inherit;
	text-decoration: none;
}

body .lhr a:hover {
	color: #a63439;
}

.lhr img {
	display: block;
	max-width: none;
}

/* ---- 히어로 ---- */

.lhr-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 499px;
	margin-top: -70px;
	overflow: hidden;
	color: #fff;
	background: #2a1517 var(--lhr-hero) right 30% / cover no-repeat;
}

.lhr-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.52);
}

.lhr-hero__inner {
	position: relative;
	width: min(1300px, 100% - 20px);
	margin: 0 auto;
	padding-bottom: 81px;
}

.lhr .lhr-hero__title {
	font-size: 45px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
}

.lhr-hero__rule {
	display: block;
	width: 50px;
	margin: 30px 0 20px;
	border-top: 1px solid #d1d1d1;
}

.lhr .lhr-hero__lead {
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	color: #fff;
}

/* ---- 본문 ---- */

.lhr-main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px clamp(56px, 7vw, 88px);
}

.lhr-intro {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: clamp(64px, 7vw, 96px);
	text-align: center;
}

.lhr-intro__rule {
	width: 36px;
	height: 2px;
	margin-bottom: 22px;
	background: #a63439;
}

.lhr .lhr-intro__title {
	margin-bottom: 18px;
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.35;
	color: #222;
}

.lhr .lhr-intro__text {
	max-width: 800px;
	font-size: 17px;
	line-height: 1.85;
	color: #555;
}

/* 심장수술센터 소개 띠 */

.lhr-collab {
	position: relative;
	overflow: hidden;
	margin-top: clamp(28px, 3vw, 40px);
	padding: clamp(36px, 4vw, 56px) clamp(22px, 4.5vw, 72px) clamp(64px, 6.5vw, 88px);
	color: #fff;
	background: #a63439;
}

.lhr-collab__ecg {
	position: absolute;
	right: 0;
	bottom: 6px;
	left: 0;
	width: 100%;
	height: clamp(44px, 5vw, 68px);
	opacity: 0.22;
}

.lhr-collab__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: center;
}

.lhr-collab__copy {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.lhr-collab__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	letter-spacing: 0.14em;
}

.lhr-collab__eyebrow img {
	width: 20px;
	height: 20px;
	filter: brightness(0) invert(1);
}

.lhr .lhr-collab__title {
	font-size: clamp(22px, 2.3vw, 30px);
	line-height: 1.4;
	color: #fff;
}

.lhr .lhr-collab__text {
	font-size: 16px;
	line-height: 1.85;
	opacity: 0.95;
}

.lhr-collab__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(10px, 1.2vw, 16px);
	align-items: stretch;
}

.lhr-collab__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: clamp(22px, 2vw, 28px) clamp(18px, 1.6vw, 22px);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.lhr .lhr-collab__icon {
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.lhr .lhr-collab__icon--big {
	transform: scale(1.18);
	transform-origin: left center;
}

.lhr .lhr-collab__card-title {
	margin-top: 8px;
	font-size: 18px;
	line-height: 1.4;
	color: #fff;
}

.lhr .lhr-collab__card-text {
	font-size: 15px;
	line-height: 1.7;
	opacity: 0.9;
	overflow-wrap: anywhere;
	text-wrap: pretty;
}

/* 소제목 */

.lhr-sec {
	padding-top: clamp(64px, 8vw, 104px);
}

.lhr .lhr-sec__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.3;
	color: #a63439;
}

.lhr .lhr-sec__title img {
	width: 28px;
	height: 28px;
}

.lhr .lhr-sec__lead {
	margin-bottom: 24px;
	font-size: 17px;
	line-height: 1.75;
	color: #555;
}

.lhr .lhr-sec__lead--wide {
	margin-bottom: clamp(28px, 3.5vw, 44px);
}

/* 진료의뢰 정보 표 */

.lhr-info {
	border-top: 2px solid #333;
}

.lhr-info__row {
	display: grid;
	grid-template-columns: minmax(120px, 220px) 1fr;
	border-bottom: 1px solid #e3e3e8;
}

.lhr .lhr-info dt {
	padding: 18px 22px;
	font-size: 16px;
	color: #222;
	background: #f7f7f9;
}

.lhr .lhr-info dd {
	padding: 18px 22px;
	font-size: 16px;
	line-height: 1.6;
	color: #444;
}

/* 검사자료 */

/* 필수 4장: PC 한 줄 4칸, 태블릿 2×2, 폰 1칸(3+1 로 한 장이 남지 않게 칸 수를 고정). */
.lhr-exams {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.lhr-exam {
	overflow: hidden;
	background: #fff;
	border: 1px solid #e6e6ea;
}

.lhr-exam__img {
	aspect-ratio: 16 / 10;
	background: #111;
}

.lhr-exam__img--light {
	background: #eee;
}

.lhr .lhr-exam__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lhr-exam__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 22px 24px;
}

.lhr-exam__head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.lhr .lhr-exam__title {
	font-size: 18px;
	color: #222;
}

.lhr .lhr-exam__text {
	font-size: 15px;
	line-height: 1.7;
	color: #555;
}

.lhr-tag {
	padding: 4px 10px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	color: #fff;
	background: #a63439;
}

.lhr-tag--line {
	padding: 3px 10px;
	color: #a63439;
	background: #fff;
	border: 1px solid #a63439;
}

.lhr-optional {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 28px;
	margin-top: 20px;
	padding: 20px 24px;
	background: #f7f7f9;
}

.lhr-optional__item {
	font-size: 15px;
	color: #444;
}

/* 의뢰 접수 및 회신 */

.lhr-flow {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
	gap: 28px 0;
	align-items: start;
	list-style: none;
}

.lhr .lhr-flow__step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 0 8px;
	text-align: center;
}

.lhr-flow__circle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(88px, 9vw, 112px);
	height: clamp(88px, 9vw, 112px);
	background: #a63439;
	border-radius: 50%;
}

.lhr .lhr-flow__circle img {
	width: 58%;
	height: 58%;
	object-fit: contain;
}

.lhr-flow__title {
	font-size: 18px;
	line-height: 1.45;
	color: #222;
}

.lhr-flow__text {
	font-size: 15px;
	line-height: 1.6;
	color: #666;
}

.lhr-flow__arrow {
	position: absolute;
	top: clamp(24px, 2.8vw, 32px);
	right: -16px;
	font-size: 48px;
	line-height: 1;
	color: #a63439;
}

/* 마무리 사진 띠 */

.lhr-closing {
	position: relative;
	overflow: hidden;
	margin-top: clamp(64px, 8vw, 104px);
	padding: clamp(72px, 9.5vw, 140px) clamp(20px, 4vw, 56px);
	color: #fff;
	text-align: center;
	background: #2a1517 var(--lhr-closing) center 62% / cover no-repeat;
}

.lhr-closing::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.lhr-closing__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.lhr-closing__rule {
	width: 44px;
	height: 2px;
	background: #fff;
}

.lhr .lhr-closing__kicker {
	font-size: 16px;
	letter-spacing: 0.02em;
	opacity: 0.9;
}

.lhr .lhr-closing__title {
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.45;
	color: #fff;
}

/* 진료 시간 · 의뢰 접수 안내 */

.lhr-contact {
	margin-top: clamp(40px, 5vw, 64px);
	border: 1px solid #ccc;
}

.lhr-contact__bar {
	padding: 22px 20px;
	font-size: clamp(14px, 1.3vw, 16px);
	line-height: 1.6;
	color: #fff;
	text-align: center;
	background: #444;
}

.lhr-contact__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.lhr-contact__col {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: clamp(28px, 4vw, 44px);
}

.lhr-contact__col + .lhr-contact__col {
	border-left: 1px solid #e3e3e8;
}

.lhr .lhr-contact .lhr-sec__title {
	margin-bottom: 0;
}

.lhr .lhr-contact .lhr-sec__title img {
	width: 24px;
	height: 24px;
}

.lhr-contact__badge {
	align-self: flex-start;
	padding: 6px 12px;
	font-size: 15px;
	font-weight: 600;
	color: #a63439;
	background: #fbeeee;
}

body .lhr .lhr-contact__tel {
	display: flex;
	align-items: baseline;
	gap: 10px;
	color: #333;
}

.lhr-contact__tel span {
	font-size: 17px;
	color: #555;
}

.lhr .lhr-contact__tel b {
	font-size: clamp(28px, 2.8vw, 36px);
	font-weight: 900;
	letter-spacing: -0.01em;
}

.lhr .lhr-contact__hours {
	font-size: 16px;
	line-height: 1.8;
	color: #333;
}

.lhr .lhr-contact__note {
	font-size: 14px;
	line-height: 1.8;
	color: #777;
}

.lhr-branch {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px 20px;
	border: 1px solid #e3e3e8;
}

.lhr-branch__name {
	font-size: 16px;
	color: #333;
}

.lhr-branch__links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
	gap: 10px 28px;
	padding-left: 12px;
	font-size: 15px;
}

body .lhr .lhr-branch__links a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 600;
	color: #222;
}

.lhr .lhr-branch__links img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

body .lhr .lhr-send {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	padding: 0 20px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: #a63439;
}

body .lhr .lhr-send:hover {
	color: #fff;
	background: #8f2b30;
}

.lhr-send__label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.lhr .lhr-contact__tips {
	padding: 16px 20px;
	font-size: 15px;
	line-height: 1.9;
	color: #555;
	background: #f7f7f9;
}

.lhr-contact__tips span {
	color: #a63439;
}

/* ---- 비밀번호 보호 중(검토용) ---- */

.lhr-lock {
	max-width: 560px;
	margin: 0 auto;
	padding: 72px 20px 96px;
	font-size: 16px;
	line-height: 1.7;
	color: #444;
}

.lhr-lock form p + p {
	margin-top: 16px;
}

.lhr-lock label {
	display: block;
}

.lhr-lock input[type="password"] {
	display: block;
	width: 100%;
	height: 48px;
	margin-top: 8px;
	padding: 0 14px;
	font: inherit;
	border: 1px solid #ccc;
	border-radius: 0;
}

.lhr-lock input[type="submit"] {
	height: 48px;
	margin-top: 12px;
	padding: 0 28px;
	font: inherit;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	background: #a63439;
	border: 0;
	border-radius: 0;
}

/* ---- 반응형 ---- */

@media (max-width: 1040px) {
	.lhr-collab__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1100px) {
	.lhr-exams {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.lhr-flow__arrow {
		display: none;
	}
}

/* 두 칸이 한 줄로 내려앉는 폭(칸 420×2 + 본문 여백 40 + 테두리 2) — 칸 사이 선을 가로로. */
@media (max-width: 881px) {
	.lhr-contact__col + .lhr-contact__col {
		border-top: 1px solid #e3e3e8;
		border-left: 0;
	}
}

@media (max-width: 767px) {
	.lhr-hero {
		height: 350px;
		background-image: var(--lhr-hero-m);
	}

	.lhr-hero__inner {
		padding-bottom: 35px;
	}

	.lhr .lhr-hero__title {
		font-size: 30px;
	}

	.lhr-hero__rule {
		margin: 20px 0 10px;
	}

	.lhr .lhr-hero__lead {
		font-size: 14px;
		line-height: 1.2;
	}

	.lhr-closing {
		background-image: var(--lhr-closing-m);
	}
}

@media (max-width: 720px) {
	.lhr-collab__cards {
		grid-template-columns: 1fr;
	}
}

/* 폰: 시안의 표 머리칸(최소 220px)이 화면 절반을 넘겨 내용이 두세 낱말마다 줄바꿈됐다. */
@media (max-width: 600px) {
	.lhr-exams {
		grid-template-columns: 1fr;
	}

	.lhr-info__row {
		grid-template-columns: 112px 1fr;
	}

	.lhr .lhr-info dt,
	.lhr .lhr-info dd {
		padding: 14px 14px;
		font-size: 15px;
	}
}
