/* ========================================================
   [글로벌 타이포그래피 표준] 최고급 한글 웹폰트 Pretendard 전역 강제 적용
   ======================================================== */
html, body {
	scrollbar-gutter: stable;
}

html, body,
p, h1, h2, h3, h4, h5, h6,
a, span, strong, em, li, blockquote,
button, input, select, textarea,
.entry-content,
.wp-block-post-content,
.kyokyeoi-card,
.kyokyeoi-hub-wrap,
.wp-block-navigation {
	font-family: "Pretendard Variable", "Pretendard", "Pretendard JP Variable", "Pretendard JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif !important;
	letter-spacing: -0.022em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* 일본어(JA) 페이지 및 텍스트 전용 Pretendard JP 최우선 순위 적용 (자손 요소 전체 강제 상속) */
html[lang="ja"],
html[lang="ja"] *,
[lang="ja"],
[lang="ja"] *,
:lang(ja),
:lang(ja) *,
.kyokyeoi-lang-ja,
.kyokyeoi-lang-ja * {
	font-family: "Pretendard JP Variable", "Pretendard JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif !important;
}

/* 전자시계 LED 스크린 전용 폰트 예외 고정 */
.digital-screen,
.digital-screen *,
.digital-digits-wrap,
.digital-digits-wrap * {
	font-family: "Share Tech Mono", ui-monospace, monospace !important;
}

/* 켜켜이 여행 & 맛집 카드 전용 스타일 */

:root {
	--wp--style--global--content-size: 1200px !important;
	--wp--style--global--wide-size: 1200px !important;
	--wp--style--root--padding-left: 0px !important;
	--wp--style--root--padding-right: 0px !important;
	--wp--preset--spacing--50: 0px !important;
	--kyokyeoi-blue: #245892;
	--kyokyeoi-light-blue: #F3F6FA;
	--kyokyeoi-border-blue: #B8D0E8;
	--kyokyeoi-ink: #1C232C;
	--kyokyeoi-gray: #646970;
	--kyokyeoi-gold: #e59819;
}

/* ========================================================
   [R17] 방문 구분 배지 (VISITED / FRIEND PICK / WISHLIST)
   ======================================================== */
.wp-block-post {
	position: relative !important;
}
.wp-block-post .wp-block-post-title {
	padding-right: 48px !important;
}
.kyokyeoi-visit-badge {
	line-height: 1;
}
.kyokyeoi-badge-list {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 38px;
	height: 38px;
	z-index: 2;
	pointer-events: none;
	display: block;
}
.kyokyeoi-badge-list img {
	width: 38px !important;
	height: 38px !important;
	max-width: 38px !important;
	max-height: 38px !important;
	object-fit: contain;
	display: block;
}
.kyokyeoi-badge-single {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
}
.kyokyeoi-badge-single img {
	width: 48px !important;
	height: 48px !important;
	max-width: 48px !important;
	max-height: 48px !important;
	object-fit: contain;
	display: block;
}

/* 글 안 네임카드 액션 영역 (배지 + 공유 버튼) */
.card-title-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

/* 360px, 390px 모바일 화면 최적화: 제목, 공유 버튼, 배지가 절대 겹치지 않도록 세로 정렬 대응 */
@media (max-width: 480px) {
	.card-title-actions {
		flex-direction: column-reverse;
		align-items: flex-end;
		gap: 6px;
	}
	.kyokyeoi-card-header .card-title {
		padding-right: 6px !important;
	}
	.kyokyeoi-badge-guide-grid {
		grid-template-columns: 1fr !important;
	}
}



