/* ---------- 맨 아래 정보(푸터) ---------- */
.dkfooter {
	background: #fff9ee;
	border-top: 1px solid #f0e6cf;
	color: #555;
}

.dkfooter__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 24px 28px;
}

.dkfooter__logo {
	flex: none;
	display: block;
	line-height: 0;
}

.dkfooter__logo img {
	display: block;
	width: 120px;
	height: auto;
}

.dkfooter__info {
	flex: 1;
}

html body .dkfooter p.dkfooter__name {
	margin: 0 0 4px;
	font-size: 19px;
	font-weight: 700;
	color: #2a2a2a;
}

html body .dkfooter p.dkfooter__mail {
	margin: 0;
	font-size: 16px;
	color: #666;
}

.dkfooter__mail a {
	color: #444;
	text-decoration: none;
}

.dkfooter__mail a:hover,
.dkfooter__mail a:focus-visible {
	color: #e84343;
	text-decoration: underline;
}

.dkfooter__links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
}

.dkfooter__links a {
	font-size: 16px;
	color: #555;
	text-decoration: none;
}

.dkfooter__links a.is-privacy {
	font-weight: 700;
	color: #2a2a2a;
}

.dkfooter__links a:hover,
.dkfooter__links a:focus-visible {
	color: #e84343;
	text-decoration: underline;
}

html body .dkfooter p.dkfooter__copy {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px 24px 32px;
	font-size: 14px;
	color: #999;
	border-top: 1px solid #f0e6cf;
}

@media (max-width: 782px) {
	.dkfooter__inner {
		flex-direction: column;
		text-align: center;
		gap: 16px;
		padding-top: 36px;
	}

	.dkfooter__links {
		justify-content: center;
	}

	html body .dkfooter p.dkfooter__copy {
		margin: 0 24px;
		padding: 16px 0 28px;
		text-align: center;
	}
}

/* ---------- 편지 쓰기: 개인정보 처리방침 링크 ---------- */
html body .dkletter p.dkletter-privacy {
	margin: 8px 0 0 30px;
	font-size: 15px;
}

.dkletter-privacy a {
	color: #2d6a4f;
	text-decoration: underline;
}

/* ---------- 개인정보 처리방침 페이지 ---------- */
html body .entry-content .dkpolicy {
	max-width: 860px !important;
	margin: 0 auto !important;
	padding: 72px 24px 96px !important;
	color: #2a2a2a;
	word-break: keep-all;
}

html body .entry-content .dkpolicy .dkpolicy-title {
	margin: 0 0 36px;
	font-size: 36px !important;
	font-weight: 800;
	text-align: center;
	letter-spacing: -0.5px;
}

html body .entry-content .dkpolicy h3 {
	margin: 48px 0 14px;
	padding-left: 14px;
	font-size: 22px !important;
	font-weight: 700;
	color: #2d6a4f;
	border-left: 5px solid #8fcf9f;
	line-height: 1.4;
}

html body .entry-content .dkpolicy p,
html body .entry-content .dkpolicy li {
	font-size: 17px;
	line-height: 1.85;
}

.entry-content .dkpolicy p {
	margin: 0 0 14px;
}

.entry-content .dkpolicy ul,
.entry-content .dkpolicy ol {
	margin: 0 0 16px 1.4em;
}

.entry-content .dkpolicy .wp-block-table {
	margin: 8px 0 18px;
	overflow-x: auto;
}

.entry-content .dkpolicy table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.entry-content .dkpolicy th,
.entry-content .dkpolicy td {
	padding: 12px 14px;
	text-align: left;
	vertical-align: top;
	line-height: 1.6;
	border: 1px solid #e8e0cf;
}

.entry-content .dkpolicy th {
	font-weight: 700;
	background: #fbf6ea;
}

.entry-content .dkpolicy th:first-child,
.entry-content .dkpolicy td:first-child {
	width: 34%;
}

html body .entry-content .dkpolicy p.dkpolicy-date {
	margin-top: 48px;
	padding: 18px;
	text-align: center;
	background: #f0f9f3;
	border-radius: 14px;
}

@media (max-width: 782px) {
	.dkpolicy {
		padding: 48px 16px 64px !important;
	}

	html body .entry-content .dkpolicy .dkpolicy-title {
		font-size: 28px !important;
	}

	html body .entry-content .dkpolicy h3 {
		font-size: 20px !important;
	}

	html body .entry-content .dkpolicy p,
	html body .entry-content .dkpolicy li {
		font-size: 16px;
	}

	.entry-content .dkpolicy th,
	.entry-content .dkpolicy td {
		padding: 10px;
		font-size: 15px;
	}
}

/* =====================================================================
   홈 화면 다듬기
   ===================================================================== */

/* 소개 글·편지 칸 설명과 버튼 사이 띄우기 */
html body .dk-hero-section .dk-hero-desc {
	margin-bottom: 28px !important;
}

html body .dk-letter .dk-letter-desc {
	margin-bottom: 32px !important;
}

@media (max-width: 768px) {
	/* 휴대폰에서도 다람쥐 루 그림 보이기 (글과 버튼 아래) */
	html body .dk-hero-section .dk-hero-illus {
		display: flex !important;
		justify-content: center !important;
		margin-top: 24px;
	}

	html body .dk-hero-section .dk-hero-illus img {
		width: 82% !important;
		max-width: 340px !important;
	}

	html body .dk-hero-section .dk-hero-desc {
		margin-bottom: 24px !important;
	}

	/* 4가지 소개(책을 읽어요 등): 그림을 위로, 글은 가운데 */
	html body .dk-features .dk-feat {
		flex-direction: column;
		justify-content: flex-start;
		gap: 8px;
		padding: 20px 10px;
		text-align: center;
	}

	html body .dk-features .dk-feat-label span {
		display: block;
		font-size: 15px !important;
		line-height: 1.5;
		word-break: keep-all;
	}
}
