/*
 * 기사 화면. Blocksy 레이아웃(히어로 type-2 + narrow 본문)은 그대로 두고 가독성만 보강한다.
 */

/* 히어로: 대표 이미지 위 제목·메타가 어떤 사진에서도 읽히도록 어두운 그라데이션 */
[data-prefix="single_blog_post"] .hero-section[data-type="type-2"] > figure::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 18, 30, 0.35) 0%, rgba(10, 18, 30, 0.7) 100%);
	pointer-events: none;
}

[data-prefix="single_blog_post"] .hero-section[data-type="type-2"] > .entry-header {
	position: relative;
	z-index: 2;
	--theme-heading-color: #fff;
	--theme-text-color: rgba(255, 255, 255, 0.85);
	--theme-link-initial-color: rgba(255, 255, 255, 0.85);
	--theme-link-hover-color: #fff;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

/* 본문 */
.single .entry-content {
	font-size: var(--wink-body-size);
	line-height: 1.75;
}

.single .entry-content :where(h2) {
	font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2rem);
	line-height: 1.25;
	margin-top: 2.2em;
}

.single .entry-content :where(h3) {
	font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
	line-height: 1.3;
	margin-top: 1.8em;
}

.single .entry-content :where(p, li) a:not(.wp-element-button) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.single .entry-content .wp-block-table th {
	text-align: left;
	background: var(--theme-palette-color-6);
}

.single .entry-content .wp-block-table :where(th, td) {
	padding: 0.6em 0.8em;
}

/* 제휴 CTA 버튼: 눈에 띄되 기존 버튼 색(팔레트 1) 유지 */
.single .entry-content .wp-block-button__link {
	padding: 0.8em 1.6em;
	font-weight: 600;
	border-radius: var(--wink-radius);
}

@media (max-width: 689.98px) {
	.single .entry-content .wp-block-button,
	.single .entry-content .wp-block-button__link {
		width: 100%;
		text-align: center;
	}
}
