/*
 * 진료케이스 글 상세 (single-medical_case.php).
 * 값은 옛 Elementor 글 틀에서 실제 적용되던 CSS 를 폭별(1440·900·390)로 재서 옮겼다.
 * 선택자를 .arom-case 로 한 번 더 감싼 이유: 추가 CSS 의 .medical_case p / h2 / * 규칙보다
 * 이 파일의 글꼴·크기가 이겨야 옛 화면과 같다(옛 Elementor 규칙이 그랬다).
 */

.arom-case .arom-case-hero {
	flex-direction: column;
	min-width: 0;
	position: relative;
	width: 100%;
	margin-top: -120px;
	display: flex;
	padding: 0%;
	gap: 0;
}
.arom-case .arom-case-hero__bg {
	min-height: 375px;
	min-width: 0;
	position: relative;
	width: 100%;
	padding-right: 0%;
	padding-left: 0%;
	display: flex;
	flex-direction: column;
	background-image: url("../img/case-hero.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	gap: initial;
	background-position: center top;
}
.arom-case .arom-case-hero__bg::before {
	content: "";
	display: block;
	height: 100%;
	left: 0;
	opacity: 0.5;
	position: absolute;
	top: 0;
	width: 100%;
	background-color: #000000;
}
.arom-case .arom-case-hero__inner {
	padding-bottom: 0%;
	padding-top: 0%;
	display: flex;
	height: 100%;
	margin-right: auto;
	margin-left: auto;
	max-width: 90%;
	width: 100%;
	align-items: center;
	flex-grow: 1;
	justify-content: flex-start;
	gap: 0;
}
.arom-case .arom-case-hero__copy {
	flex-direction: column;
	min-width: 0;
	position: relative;
	width: 100%;
	display: flex;
	max-width: 1300px !important;
	margin: auto;
	padding: 0%;
	gap: 0;
}
.arom-case .arom-case-hero__title {
	position: relative;
	margin-bottom: 0;
	min-width: 0;
	margin-top: 130px;
	max-width: 100%;
	line-height: 1;
	font-family: Pretendard, sans-serif;
	font-size: 48px;
	font-weight: 600;
	color: #ffffff;
	border: 0 solid #ffffff;
}
.arom-case .arom-case-hero__lead {
	position: relative;
	min-width: 0;
	margin-bottom: 0;
	width: 93%;
	max-width: 100%;
	margin-top: 30px;
	padding-bottom: 10px;
	line-height: 1.3em;
	font-family: Pretendard, sans-serif;
	font-size: 20px;
	font-weight: 400;
	color: #ffffff;
	border: 0 solid #ffffff;
}
.arom-case .arom-case__head {
	min-width: 0;
	position: relative;
	width: 100%;
	margin-top: 50px;
	padding-right: 0%;
	padding-left: 0%;
	display: flex;
	flex-direction: column;
	gap: initial;
}
.arom-case .arom-case__head-inner {
	padding-bottom: 0%;
	padding-top: 0%;
	display: flex;
	height: 100%;
	margin-right: auto;
	margin-left: auto;
	max-width: 760px;
	width: 100%;
	flex-direction: column;
	align-items: stretch;
	flex-grow: 1;
	justify-content: center;
	gap: 10px;
}
.arom-case .arom-case__title {
	position: relative;
	min-width: 0;
	text-align: center;
	max-width: 100%;
	line-height: 1.2em;
	font-family: Poppins, sans-serif;
	font-size: 48px;
	font-weight: 600;
	color: #1c244b;
	text-transform: none;
	font-style: normal;
	letter-spacing: 0;
	word-spacing: 0em;
	margin-top: 0;
	margin-bottom: 0;
}
.arom-case .arom-case__body {
	min-width: 0;
	position: relative;
	width: 100%;
	padding-right: 8%;
	padding-left: 8%;
	display: flex;
	flex-direction: column;
	margin: 2% 0% 5%;
	gap: initial;
}
.arom-case .arom-case__body-inner {
	padding-bottom: 0%;
	padding-top: 0%;
	display: flex;
	height: 100%;
	margin-right: auto;
	margin-left: auto;
	max-width: 760px;
	width: 100%;
	flex-direction: column;
	align-items: stretch;
	flex-grow: 1;
	gap: 50px;
}
/* 옛 글 틀(Elementor 위젯 708520e7)의 글꼴 설정 그대로. 줄 간격은 1.5em(=24px 고정값)이라
   안쪽의 작은 글자들도 24px 간격을 물려받는다 — 빼면 글자 크기가 다른 상자(병원 정보 카드 등)의 높이가 달라진다. */
.arom-case .arom-case__content {
	position: relative;
	color: #101010;
	font-family: Poppins, sans-serif;
	font-size: 16px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.5em;
	letter-spacing: 0;
	word-spacing: 0em;
	text-transform: none;
	text-decoration: none;
	min-width: 0;
	text-align: left;
	max-width: 100%;
}

@media (max-width: 1024px) {
	.arom-case .arom-case-hero__bg {
		min-height: 450px;
	}
	.arom-case .arom-case-hero__copy {
		padding-left: 30px;
		padding-right: 0;
		padding-bottom: 0;
		padding-top: 0;
	}
	.arom-case .arom-case-hero__title {
		font-size: 60px;
	}
	.arom-case .arom-case__head-inner {
		max-width: 620px;
	}
	.arom-case .arom-case__title {
		font-size: 45px;
	}
	.arom-case .arom-case__body {
		padding-right: 5%;
		padding-left: 5%;
	}
	.arom-case .arom-case__body-inner {
		max-width: 100%;
	}
	.arom-case .arom-case__content {
		font-size: 14px;
		line-height: 1.5em;
	}
}

@media (max-width: 767px) {
	.arom-case .arom-case-hero {
		flex-wrap: wrap;
		margin-top: -70px;
		padding-right: 0;
		padding-left: 0;
		padding-bottom: 0;
		padding-top: 0;
	}
	.arom-case .arom-case-hero__bg {
		min-height: 261px;
		background-image: url("../img/case-hero-mobile.png") !important;
		background-position-x: -250px !important;
		background-position-y: center !important;
		background-size: 200% auto !important;
		background-repeat: no-repeat !important;
		padding-right: 0;
		padding-left: 0;
	}
	.arom-case .arom-case-hero__inner {
		max-width: min(100%, 767px);
		flex-wrap: wrap;
		padding-bottom: 0;
		padding-top: 0;
	}
	.arom-case .arom-case-hero__copy {
		flex-wrap: wrap;
		width: 90%;
		padding-left: 0;
	}
	.arom-case .arom-case-hero__title {
		margin-top: 10px;
		font-size: 21px;
	}
	.arom-case .arom-case-hero__lead {
		margin-top: 10px;
		font-size: 14px;
	}
	.arom-case .arom-case__head-inner {
		max-width: 100%;
		flex-wrap: wrap;
	}
	.arom-case .arom-case__title {
		line-height: 1.1em;
		font-size: 24px;
	}
	.arom-case .arom-case__body {
		min-height: 300px;
	}
	.arom-case .arom-case__body-inner {
		max-width: min(100%, 767px);
		align-content: flex-start;
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 0;
	}
}

/* 날짜 */
.arom-case .arom-case__date {
	margin: 15px 0 0;
	font-family: Poppins, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5em;
	color: #1c244b;
	text-align: center;
	word-break: break-word;
}
@media (max-width: 1024px) {
	.arom-case .arom-case__date { font-size: 14px; }
}

/* 본문 목록(옛 it-service 의 글 본문 규칙) */
.single .arom-case__content ul { list-style: disc; padding-left: 20px; margin-top: .9rem; margin-bottom: .9rem; }
.single .arom-case__content ul li { list-style: disc; }
.single .arom-case__content ul ul { list-style: circle; }
.single .arom-case__content ul ul li { list-style: circle; }
.single .arom-case__content ol { list-style: decimal; padding-left: 20px; margin-top: .9rem; margin-bottom: .9rem; }
.single .arom-case__content ol li { list-style: decimal; }
.single .arom-case__content li > ol,
.single .arom-case__content li > ul { margin-top: 0; margin-bottom: 0; }
