/* HYE-217: hide WordPress.com Action Bar platform chrome on public reader pages. */
#actionbar,
#actionbar * {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

body {
	padding-bottom: 0 !important;
}

/* Hermes mobile overflow guard — 2026-06-02
   Purpose: prevent horizontal panning on mobile while preserving readable technical content. */
html, body {
	max-width: 100%;
	overflow-x: hidden;
}

.site, .wp-site-blocks, main, article, .entry-content, .is-layout-constrained, .is-layout-flow {
	max-width: 100%;
	overflow-wrap: anywhere;
	word-break: normal;
}

img, video, iframe, embed, object, table, pre, code, .wp-block-image, .wp-block-table {
	max-width: 100%;
}

pre, code, .wp-block-code {
	white-space: pre-wrap;
	overflow-x: auto;
}

.wp-block-group, .wp-block-columns, .wp-block-post-title, h1, h2, h3, p {
	overflow-wrap: anywhere;
}

@media (max-width: 600px) {
	.wp-block-columns {
		flex-wrap: wrap !important;
	}
	
	.wp-block-post-title, h1 {
		line-height: 1.18;
	}
}

/* HYE-263: homepage card readability polish for Korean/English mixed titles. */
body.home.blog main .wp-block-query {
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
}

body.home.blog main .wp-block-post-template.is-layout-grid {
	grid-template-columns: 1fr !important;
	gap: clamp(1.75rem, 3vw, 2.5rem) !important;
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
}

body.home.blog main .wp-block-post {
	width: 100%;
	padding-bottom: clamp(1.5rem, 3vw, 2rem);
	border-bottom: 1px solid rgba(15, 23, 42, 0.14);
}

body.home.blog main .wp-block-post:last-child {
	border-bottom: 0;
}

body.home.blog main .wp-block-post-title,
body.home.blog main .wp-block-post-title a,
body.home.blog main .wp-block-post-excerpt__excerpt {
	font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif !important;
}

body.home.blog main .wp-block-post-title {
	max-width: 880px;
	font-size: clamp(1.45rem, 2.1vw, 1.8rem) !important;
	line-height: 1.45 !important;
	letter-spacing: -.012em;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

body.home.blog main .wp-block-post-excerpt__excerpt {
	max-width: 820px;
	font-size: clamp(1rem, 1.25vw, 1.08rem) !important;
	line-height: 1.72 !important;
	color: #334155;
	word-break: keep-all;
}

@media (max-width: 640px) {
	body.home.blog main .wp-block-post-title {
		font-size: 1.34rem !important;
		line-height: 1.5 !important;
	}
}