/*
Theme Name:   Astra Child - 신사피부과
Theme URI:    https://sinsaskin.com/
Description:  네이버 SEO 최적화용 Astra 자식 테마. MedicalClinic / FAQPage / Person 스키마, 저자 박스, 의료광고 면책 문구를 포함한다.
Author:       ilsangisang
Template:     astra
Version:      1.0.0
Text Domain:  astra-child
*/

/* ---------------------------------------------
   본문 가독성 — 체류시간 확보용
   --------------------------------------------- */
.entry-content {
	font-size: 1.05rem;
	line-height: 1.9;
	word-break: keep-all;   /* 한글 어절 단위 줄바꿈 */
}

.entry-content h2 {
	margin-top: 2.6em;
	margin-bottom: 0.9em;
	padding-bottom: 0.4em;
	border-bottom: 2px solid #e8e8ee;
	font-size: 1.5rem;
}

.entry-content h3 {
	margin-top: 2em;
	margin-bottom: 0.7em;
	font-size: 1.22rem;
}

.entry-content h4 {
	margin-top: 1.6em;
	margin-bottom: 0.5em;
	font-size: 1.06rem;
}

.entry-content p {
	margin-bottom: 1.5em;
}

/* ---------------------------------------------
   표 — 시술 비교용
   --------------------------------------------- */
.entry-content table {
	width: 100%;
	margin: 1.8em 0;
	border-collapse: collapse;
	font-size: 0.96rem;
}

.entry-content table th,
.entry-content table td {
	padding: 0.75em 0.9em;
	border: 1px solid #e2e2ea;
	text-align: left;
	vertical-align: top;
}

.entry-content table th {
	background: #f6f7fb;
	font-weight: 600;
	white-space: nowrap;
}

/* 좁은 화면에서 표가 페이지를 밀지 않도록 */
.entry-content .table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* ---------------------------------------------
   인용 / 강조 블록
   --------------------------------------------- */
.entry-content blockquote {
	margin: 1.8em 0;
	padding: 1.1em 1.4em;
	background: #f6f7fb;
	border-left: 4px solid #5b6b9a;
	color: #2f3542;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

/* ---------------------------------------------
   면책 문구 (의료법 대응)
   --------------------------------------------- */
.ss-disclaimer {
	margin: 2.4em 0 1.2em;
	padding: 1em 1.2em;
	background: #fbfbfd;
	border: 1px solid #e6e6ee;
	border-radius: 6px;
	font-size: 0.88rem;
	line-height: 1.75;
	color: #6b6b7b;
}

/* ---------------------------------------------
   저자 박스 (E-E-A-T)
   --------------------------------------------- */
.ss-author-box {
	display: flex;
	gap: 1.1em;
	align-items: flex-start;
	margin: 2.6em 0 1em;
	padding: 1.4em;
	background: #f8f9fc;
	border: 1px solid #e6e8f0;
	border-radius: 10px;
}

.ss-author-box__avatar img {
	display: block;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	object-fit: cover;
}

.ss-author-box__name {
	margin: 0 0 0.35em;
	font-size: 1.04rem;
	font-weight: 700;
	color: #22232b;
}

.ss-author-box__role {
	margin-left: 0.45em;
	font-size: 0.82rem;
	font-weight: 500;
	color: #7a7d8c;
}

.ss-author-box__bio {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.75;
	color: #4d505e;
}

@media (max-width: 480px) {
	.ss-author-box {
		flex-direction: column;
	}
}

/* ---------------------------------------------
   홈 헤더 (H1 영역)
   --------------------------------------------- */
.ss-home-hero {
	margin: 0 0 2.4em;
	padding: 2em 0 1.6em;
	border-bottom: 1px solid #e6e8f0;
}

.ss-home-hero__title {
	margin: 0 0 0.6em;
	font-size: 1.75rem;
	line-height: 1.4;
	word-break: keep-all;
}

.ss-home-hero__lead {
	margin: 0 0 1em;
	max-width: 46em;
	font-size: 1rem;
	line-height: 1.85;
	color: #4d505e;
	word-break: keep-all;
}

.ss-home-hero__links {
	margin: 0;
	font-size: 0.94rem;
}

.ss-home-hero__links a {
	display: inline-block;
	margin-right: 1.1em;
	padding-bottom: 1px;
	border-bottom: 1px solid currentColor;
	text-decoration: none;
}

@media (max-width: 600px) {
	.ss-home-hero__title {
		font-size: 1.4rem;
	}
	.ss-home-hero__links a {
		margin-right: 0.8em;
	}
}

/* ---------------------------------------------
   관련 글 (내부링크)
   --------------------------------------------- */
.ss-related {
	margin: 2.4em 0 1em;
	padding: 1.3em 1.5em;
	background: #fff;
	border: 1px solid #e6e8f0;
	border-radius: 10px;
}

.ss-related__title {
	margin: 0 0 0.7em;
	font-size: 0.98rem;
	font-weight: 700;
	color: #22232b;
}

.ss-related__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ss-related__list li {
	margin: 0;
	padding: 0.55em 0;
	border-top: 1px solid #f0f1f6;
}

.ss-related__list li:first-child {
	border-top: 0;
}

.ss-related__list a {
	font-size: 0.95rem;
	line-height: 1.6;
	text-decoration: none;
	word-break: keep-all;
}

.ss-related__list a:hover {
	text-decoration: underline;
}

/* ---------------------------------------------
   본문 내 CTA
   --------------------------------------------- */
.ss-cta {
	margin: 2.2em 0;
	padding: 1.3em 1.5em;
	background: #f4f6fc;
	border: 1px solid #dde2f0;
	border-radius: 10px;
	font-size: 0.96rem;
	line-height: 1.8;
}

.ss-cta p {
	margin: 0 0 0.5em;
}

.ss-cta p:last-child {
	margin-bottom: 0;
}

/* ---------------------------------------------
   목차 (Easy TOC 보정)
   --------------------------------------------- */
#ez-toc-container {
	border-radius: 8px;
	background: #f8f9fc;
	border: 1px solid #e6e8f0;
}
