/* Hangul Beat Design — sits on top of the Kadence theme */

:root {
	--hb-ink: #16161D;
	--hb-ink-2: #45454F;
	--hb-muted: #6B6A74;
	--hb-red: #C8283F;
	--hb-pink: #F4B9C3;
	--hb-sand: #EFEBE3;
	--hb-cream: #FBFAF7;
	--hb-line: #E2DFD7;
	--hb-card-line: #D9D6CE;
}

/* Korean glyphs fall back to Noto Sans KR instead of the visitor's system font */
body,
button,
input,
select,
textarea {
	font-family: "Archivo", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
h1, h2, h3, h4, h5, h6,
.site-title,
.entry-title {
	font-family: "Archivo", "Noto Sans KR", sans-serif;
}

/* ---------- Homepage ---------- */

.hb-front .entry-hero,
.hb-front .entry-header {
	display: none;
}
.hb-front .content-area {
	margin-top: 2.5rem;
}
.hb-front .entry-content-wrap {
	padding: 0;
}

.hb-home {
	box-sizing: content-box;
	max-width: 1240px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
	color: var(--hb-ink);
}
/* Keep a safe side gutter on phones (the homepage uses Kadence's full-width layout) */
@media (max-width: 640px) {
	.hb-home {
		padding-left: 16px;
		padding-right: 16px;
	}
	.hb-section-head {
		align-items: flex-start;
	}
}
.hb-home a {
	text-decoration: none;
	color: inherit;
}

.hb-section-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px;
	margin: 0 0 24px;
}
.hb-h1,
.hb-h2 {
	margin: 0;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: var(--hb-ink);
}
.hb-h1 { font-size: clamp(30px, 4vw, 44px); }
.hb-h2 { font-size: clamp(26px, 3vw, 36px); }
.hb-note {
	font-size: 15px;
	color: var(--hb-muted);
}
.hb-kicker {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hb-red);
}
.hb-home .hb-link {
	font-weight: 600;
	font-size: 16px;
	color: var(--hb-ink);
	border-bottom: 2px solid currentColor;
	padding-bottom: 2px;
}
.hb-home .hb-link:hover { color: var(--hb-red); }

/* Thumbnails: 1200×630 card images */
.hb-thumb {
	display: block;
	aspect-ratio: 1200 / 630;
	border-radius: 14px;
	overflow: hidden;
	background: var(--hb-sand);
}
.hb-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hb-thumb-empty {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	font-family: "Black Han Sans", "Noto Sans KR", sans-serif;
	font-size: clamp(40px, 8vw, 96px);
	color: var(--hb-ink);
	opacity: 0.18;
}

.hb-meta {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hb-muted);
}
.hb-excerpt {
	font-size: 16px;
	line-height: 1.6;
	color: var(--hb-ink-2);
}
.hb-small {
	font-size: 14px;
	color: var(--hb-muted);
}

/* Hero: big featured card + side list */
.hb-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}
.hb-hero-grid--single {
	grid-template-columns: minmax(0, 760px);
}
.hb-feature {
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: #FFFFFF;
	border: 1.5px solid var(--hb-card-line);
	border-radius: 22px;
	padding: 16px 16px 24px;
	transition: border-color 0.15s ease;
}
.hb-feature:hover { border-color: var(--hb-ink); }
.hb-feature .hb-meta,
.hb-feature .hb-feature-title,
.hb-feature .hb-excerpt { padding: 0 6px; }
.hb-feature-title {
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
}
.hb-feature .hb-excerpt { font-size: 17px; }

.hb-side {
	display: flex;
	flex-direction: column;
}
.hb-side-item {
	display: grid;
	grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	padding: 18px 0;
	border-top: 1.5px solid var(--hb-line);
}
.hb-side-item:first-child {
	border-top: 0;
	padding-top: 0;
}
.hb-side-item .hb-thumb { border-radius: 10px; }
.hb-side-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.hb-side-title {
	font-size: 19px;
	font-weight: 800;
	line-height: 1.3;
}

.hb-feature:hover .hb-feature-title,
.hb-side-item:hover .hb-side-title,
.hb-card:hover .hb-card-title {
	color: var(--hb-red);
}

/* Ad slot (only rendered when ad code is saved) */
.hb-ad {
	margin: 48px 0 0;
	text-align: center;
}

/* Grid */
.hb-latest { margin-top: 64px; }
.hb-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px 28px;
}
.hb-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.hb-card-title {
	font-size: 21px;
	font-weight: 800;
	line-height: 1.3;
}

/* Korean words */
.hb-words {
	margin: 72px 0 24px;
	padding: 44px 32px;
	background: var(--hb-ink);
	color: var(--hb-cream);
	border-radius: 24px;
}
.hb-words .hb-h2 { color: var(--hb-cream); }
.hb-words .hb-kicker { color: var(--hb-pink); }
.hb-words .hb-link { color: var(--hb-cream); }
.hb-words .hb-link:hover { color: var(--hb-pink); }
.hb-word-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hb-word {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 20px;
	border: 1.5px solid #4A4A55;
	border-radius: 14px;
}
.hb-word-ko {
	font-family: "Noto Sans KR", sans-serif;
	font-weight: 700;
	font-size: 32px;
	line-height: 1.2;
}
.hb-word-ro {
	font-size: 15px;
	font-weight: 600;
	color: var(--hb-pink);
}
.hb-word-en {
	font-size: 15px;
	color: #C9C8D0;
}

/* "See all song meanings" button under the main section */
.hb-home .hb-more-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin-top: 32px;
	border: 1.5px solid var(--hb-ink);
	border-radius: 14px;
	font-size: 16px;
	font-weight: 600;
	color: var(--hb-ink);
	background: #FFFFFF;
	transition: background 0.15s ease, color 0.15s ease;
}
.hb-home .hb-more-btn:hover {
	background: var(--hb-ink);
	color: var(--hb-cream);
}
.hb-grid--songs { margin-top: 40px; }

/* Cards inside the dark Korean Words box */
.hb-grid--dark .hb-card-title { color: var(--hb-cream); }
.hb-grid--dark .hb-excerpt { color: #C9C8D0; }
.hb-grid--dark .hb-meta { color: #A9A8B0; }
.hb-grid--dark .hb-card:hover .hb-card-title { color: var(--hb-pink); }
.hb-grid--dark .hb-thumb { background: #2A2A33; }
.entry-content .hb-home p.hb-subkicker,
.hb-subkicker {
	margin: 40px 0 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #A9A8B0;
}

/* Square title cards (Korean Words + Pronunciation) */
.hb-sq-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px 22px;
}
.hb-sq {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	container-type: inline-size;
}
.hb-tcard {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	aspect-ratio: 1 / 1;
	box-sizing: border-box;
	padding: 8cqw;
	border-radius: 18px;
	overflow: hidden;
}
/* Sizes inside the card use cqw = 1% of the card width (the .hb-sq wrapper is the container) */
.hb-tcard > * { min-width: 0; }
.hb-tcard--words { background: var(--hb-cream); color: var(--hb-ink); }
.hb-tcard--pron { background: var(--hb-ink); color: var(--hb-cream); border: 1.5px solid var(--hb-ink); }
.hb-tcard-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 6px;
}
.hb-tcard-brand {
	display: flex;
	align-items: center;
	gap: 2.5cqw;
	font-size: 4.6cqw;
	font-weight: 800;
	white-space: nowrap;
}
.hb-tcard-badge {
	font-family: "Black Han Sans", "Noto Sans KR", sans-serif;
	font-size: 5cqw;
	line-height: 1;
	padding: 1.4cqw 1.8cqw 1cqw;
	border-radius: 1.4cqw;
	background: var(--hb-ink);
	color: var(--hb-cream);
}
.hb-tcard--pron .hb-tcard-badge { background: var(--hb-cream); color: var(--hb-ink); }
.hb-tcard-chip {
	font-family: "Black Han Sans", "Noto Sans KR", sans-serif;
	font-size: 5.4cqw;
	line-height: 1;
	padding: 1.8cqw 3.2cqw 1.4cqw;
	border-radius: 999px;
	color: var(--hb-ink);
	white-space: nowrap;
}
.hb-tcard-mid {
	display: flex;
	flex-direction: column;
	gap: 2.8cqw;
}
.hb-tcard-kick {
	font-size: 3.9cqw;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hb-red);
}
.hb-tcard--pron .hb-tcard-kick { color: var(--hb-pink); }
.hb-tcard-title {
	font-size: 12cqw;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
}
.hb-tcard-title.hb-card-t--s { font-size: 10cqw; }
.hb-tcard-title.hb-card-t--xs { font-size: 8.4cqw; }
.hb-tcard-sub {
	font-size: 5cqw;
	line-height: 1.4;
	color: var(--hb-ink-2);
}
.hb-tcard--pron .hb-tcard-sub { color: #C9C8D0; }
.hb-tcard-foot {
	display: flex;
	align-items: center;
	gap: 2.8cqw;
	font-size: 3.9cqw;
	font-weight: 600;
	color: var(--hb-muted);
	white-space: nowrap;
	overflow: hidden;
}
.hb-tcard--pron .hb-tcard-foot { color: #A9A8B0; }
.hb-bars {
	display: inline-flex;
	align-items: flex-end;
	gap: 0.8cqw;
	height: 4.6cqw;
	flex: none;
}
.hb-bars i {
	display: block;
	width: 1.1cqw;
	border-radius: 0.4cqw;
	background: var(--hb-red);
}
.hb-tcard--pron .hb-bars i { background: var(--hb-pink); }
.hb-bars i:nth-child(1) { height: 45%; }
.hb-bars i:nth-child(2) { height: 100%; }
.hb-bars i:nth-child(3) { height: 68%; }
.hb-bars i:nth-child(4) { height: 85%; }
.hb-sq-title {
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
}
.hb-sq:hover .hb-sq-title { color: var(--hb-red); }
.hb-sq-grid--dark .hb-sq-title { color: var(--hb-cream); }
.hb-sq-grid--dark .hb-sq:hover .hb-sq-title { color: var(--hb-pink); }
.hb-sq-grid--dark .hb-small { color: #A9A8B0; }
.hb-sq:hover .hb-tcard { transform: translateY(-2px); }
.hb-tcard { transition: transform 0.15s ease; }

/* Category pages */
.hb-archive-hero {
	background: var(--hb-sand);
	border-bottom: 1.5px solid var(--hb-line);
}
.hb-archive-hero-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 56px 24px 48px;
}
.hb-archive-title {
	margin: 0;
	font-size: clamp(32px, 4.4vw, 52px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: var(--hb-ink);
}
.hb-archive-desc {
	margin: 12px 0 0;
	max-width: 640px;
	font-size: 18px;
	line-height: 1.55;
	color: var(--hb-ink-2);
}
.hb-home.hb-archive {
	padding-top: 48px;
	padding-bottom: 72px;
}
.hb-archive--words .hb-tcard--words {
	border: 1.5px solid var(--hb-ink);
}
.hb-pagination {
	margin-top: 48px;
}
.hb-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.hb-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	box-sizing: border-box;
	border: 1.5px solid var(--hb-ink);
	border-radius: 12px;
	font-weight: 600;
	color: var(--hb-ink);
	text-decoration: none;
}
.hb-pagination .page-numbers.current {
	background: var(--hb-ink);
	color: var(--hb-cream);
}
.hb-pagination .screen-reader-text {
	position: absolute;
	left: -9999px;
}

/* Pronunciation section */
.hb-pron { margin: 72px 0 24px; }

/* Empty state before the first post */
.hb-empty {
	padding: 48px 24px;
	border: 2px dashed #CFCBC2;
	border-radius: 20px;
	text-align: center;
	color: var(--hb-muted);
}
.hb-empty p { margin: 0 0 8px; }
.hb-empty-admin a {
	color: var(--hb-red);
	text-decoration: underline;
}

/* Kadence spacing overrides inside the homepage */
.entry-content .hb-home h1.hb-h1,
.entry-content .hb-home h2.hb-h2 {
	margin: 0;
}
.entry-content .hb-home p.hb-kicker {
	margin: 0 0 6px;
}
.entry-content .hb-home ul.hb-word-grid {
	margin: 0;
	padding: 0;
	list-style: none;
}
.entry-content .hb-home ul.hb-word-grid > li.hb-word {
	margin: 0;
}
.entry-content .hb-home .hb-empty p {
	margin: 0 0 8px;
}

/* ---------- Posts ---------- */

.entry-content .wp-block-table table,
.entry-content > table {
	border-collapse: collapse;
	width: 100%;
	font-size: 16px;
}
.entry-content .wp-block-table th,
.entry-content .wp-block-table td,
.entry-content > table th,
.entry-content > table td {
	border: 1px solid var(--hb-line);
	padding: 10px 14px;
	text-align: left;
	vertical-align: top;
}
.entry-content .wp-block-table thead,
.entry-content .wp-block-table th {
	background: var(--hb-sand);
	font-weight: 700;
	border-bottom: 1px solid var(--hb-line);
}
.entry-content .wp-block-table figcaption {
	font-size: 14px;
	color: var(--hb-muted);
}

/* Add the class "hb-tip" to any block (Advanced → Additional CSS class) for a pink note box */
.entry-content .hb-tip {
	background: #FFF5F7;
	border: 1.5px solid var(--hb-pink);
	border-radius: 14px;
	padding: 18px 22px;
}

/* Footer */
.hb-footer-links {
	display: inline-block;
	margin-left: 12px;
}
.site-footer .hb-footer-links a {
	color: inherit;
	font-weight: 600;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
	.hb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.hb-hero-grid { grid-template-columns: minmax(0, 1fr); }
	.hb-sq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
	.hb-sq-title { font-size: 16px; }
}
@media (max-width: 640px) {
	.hb-grid { grid-template-columns: minmax(0, 1fr); }
	.hb-side-item {
		grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
		gap: 14px;
	}
	.hb-side-title { font-size: 17px; }
	.hb-words { padding: 32px 20px; border-radius: 18px; }
	.hb-word-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hb-word-ko { font-size: 26px; }
	.hb-footer-links { display: block; margin: 8px 0 0; }
}

/* Listen box — [hangulbeat_listen] */
.hb-listen { margin: 28px 0; padding: 22px 24px; background: #FBFAF7; border: 1px solid #E2DFD7; border-left: 4px solid #C8283F; border-radius: 14px; }
.entry-content .hb-listen-title, .hb-listen-title { margin: 0 0 14px; font-family: Archivo, "Noto Sans KR", sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #C8283F; }
.hb-listen-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.entry-content a.hb-listen-btn, a.hb-listen-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: #16161D; color: #fff; font-family: Archivo, sans-serif; font-weight: 700; font-size: 15px; line-height: 1; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.entry-content a.hb-listen-btn:hover, a.hb-listen-btn:hover { transform: translateY(-1px); color: #fff; }
.entry-content a.hb-listen-btn--spotify { background: #16161D; }
.entry-content a.hb-listen-btn--spotify:hover { background: #1F7A4D; }
.entry-content a.hb-listen-btn--apple { background: #fff; color: #16161D; box-shadow: inset 0 0 0 1.5px #16161D; }
.entry-content a.hb-listen-btn--apple:hover { background: #16161D; color: #fff; }
.entry-content a.hb-listen-btn--youtube { background: #fff; color: #16161D; box-shadow: inset 0 0 0 1.5px #16161D; }
.entry-content a.hb-listen-btn--youtube:hover { background: #C8283F; color: #fff; box-shadow: none; }
.hb-listen-arrow { opacity: .7; }
.entry-content .hb-listen-note, .hb-listen-note { margin: 12px 0 0; font-size: 13px; color: #6B6A74; }
@media (max-width: 640px) {
	.hb-listen { padding: 18px; }
	.hb-listen-btns { flex-direction: column; }
	.entry-content a.hb-listen-btn, a.hb-listen-btn { justify-content: center; }
}


/* ---------- v1.5: section intros, side list of 4, compact row, pill button ---------- */
.hb-section-head--intro { align-items: flex-end; margin-bottom: 28px; }
.hb-head-text { max-width: 680px; }
.hb-section-head--intro .hb-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.hb-kicker .hb-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.hb-kicker .hb-bars i { display: block; width: 3px; border-radius: 2px; background: currentColor; }
.hb-kicker .hb-bars i:nth-child(1) { height: 7px; }
.hb-kicker .hb-bars i:nth-child(2) { height: 14px; }
.hb-kicker .hb-bars i:nth-child(3) { height: 10px; }
.hb-kicker .hb-bars i:nth-child(4) { height: 12px; }
.hb-note-pill {
	margin-left: 4px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--hb-sand);
	color: var(--hb-ink-2);
	font-size: 11px;
	letter-spacing: 0.08em;
}
.hb-home .hb-desc,
.entry-content .hb-home p.hb-desc {
	margin: 12px 0 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--hb-ink-2);
}
.hb-words .hb-desc,
.entry-content .hb-home .hb-words p.hb-desc { color: #C9C8D0; }
.hb-words .hb-note-pill { background: #2A2A33; color: var(--hb-cream); }

/* Side list: 4 items, a little tighter */
.hb-side-item { padding: 14px 0; grid-template-columns: minmax(0, 170px) minmax(0, 1fr); }
.hb-side-title { font-size: 17px; }

/* Row of small cards under the hero */
.hb-grid--compact {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 20px;
	margin-top: 36px;
	padding-top: 32px;
	border-top: 1.5px solid var(--hb-line);
}
.hb-card--compact { gap: 8px; }
.hb-card--compact .hb-thumb { border-radius: 10px; }
.hb-card--compact .hb-meta { font-size: 11.5px; }
.hb-card--compact .hb-card-title { font-size: 16px; line-height: 1.35; }
.hb-card--compact .hb-small { font-size: 13px; }

/* "More song meanings" pill */
.hb-more-wrap { margin-top: 36px; text-align: center; }
.hb-home .hb-more-btn--pill {
	display: inline-flex;
	gap: 10px;
	min-height: 52px;
	margin: 0;
	padding: 0 30px;
	border-radius: 999px;
	background: var(--hb-ink);
	color: var(--hb-cream);
}
.hb-home .hb-more-btn--pill:hover { background: var(--hb-red); color: #fff; border-color: var(--hb-red); }

@media (max-width: 1024px) {
	.hb-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.hb-section-head--intro { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
	.hb-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
	.hb-card--compact .hb-card-title { font-size: 15px; }
	.hb-home .hb-desc { font-size: 16px; }
	.hb-side-item { grid-template-columns: minmax(0, 130px) minmax(0, 1fr); gap: 14px; }
	.hb-side-title { font-size: 15.5px; }
}


/* v1.5.1: two-tone card titles ("Artist Song Meaning" in red, the hook on the next line) */
.hb-t-main { display: block; color: var(--hb-red); }
.hb-t-sub { display: block; margin-top: 4px; color: var(--hb-ink); }
.hb-feature:hover .hb-feature-title,
.hb-side-item:hover .hb-side-title,
.hb-card:hover .hb-card-title { color: var(--hb-ink); }
.hb-feature:hover .hb-t-sub,
.hb-side-item:hover .hb-t-sub,
.hb-card:hover .hb-t-sub { color: var(--hb-red); }
.hb-feature-title .hb-t-sub { font-size: 0.82em; font-weight: 700; line-height: 1.3; }
.hb-side-title .hb-t-sub,
.hb-card-title .hb-t-sub { font-weight: 700; font-size: 0.94em; }
.hb-grid--dark .hb-t-sub { color: var(--hb-cream); }


/* ---------- v1.6: search ---------- */
.hb-search { display: flex; align-items: center; gap: 0; margin: 0; }
.hb-search input[type="search"] {
	flex: 1;
	min-width: 0;
	margin: 0;
	border: 1.5px solid var(--hb-ink);
	border-right: 0;
	border-radius: 999px 0 0 999px;
	background: #fff;
	color: var(--hb-ink);
	font: inherit;
	font-size: 16px;
	line-height: 1.2;
	padding: 0 20px;
	height: 52px;
	box-shadow: none;
	outline: none;
	-webkit-appearance: none;
}
.hb-search input[type="search"]:focus { border-color: var(--hb-red); }
.hb-search button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 52px;
	margin: 0;
	padding: 0 22px 0 18px;
	border: 0;
	border-radius: 0 999px 999px 0;
	background: var(--hb-ink);
	color: var(--hb-cream);
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: none;
}
.hb-search button:hover { background: var(--hb-red); color: #fff; }
.hb-home-search { max-width: 640px; margin: 8px 0 40px; }

/* Header menu box */
.hb-menu-search { display: flex; align-items: center; margin-left: 12px; list-style: none; }
.hb-search--menu input[type="search"] { height: 38px; width: 130px; font-size: 14px; padding: 0 14px; }
.hb-search--menu button { height: 38px; padding: 0 14px 0 12px; }
.mobile-navigation .hb-menu-search,
.mobile-menu-container .hb-menu-search,
.drawer-content .hb-menu-search { margin: 16px 0 0; width: 100%; }
.mobile-navigation .hb-search--menu,
.drawer-content .hb-search--menu { width: 100%; }
.mobile-navigation .hb-search--menu input[type="search"],
.drawer-content .hb-search--menu input[type="search"] { width: auto; flex: 1; }

/* Search results page */
.hb-search-hero .hb-search { max-width: 560px; margin: 22px 0 0; }
.hb-search-hero .hb-archive-title { font-size: clamp(26px, 3.4vw, 40px); }
.hb-grid--search { margin-top: 8px; padding-top: 0; border-top: 0; }
.hb-empty-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-top: 12px; }
.hb-empty a:not(.hb-link) { color: var(--hb-red); text-decoration: underline; }

@media (max-width: 640px) {
	.hb-home-search { margin-bottom: 28px; }
	.hb-search input[type="search"] { height: 48px; padding: 0 16px; }
	.hb-search button { height: 48px; padding: 0 16px; }
	.hb-search--home button span { display: none; }
}

/* v1.6.3 author box */
.hb-author{display:flex;gap:18px;align-items:flex-start;margin:44px 0 8px;padding:22px 24px;background:#FBFAF7;border:2px solid #16161D;border-radius:18px}
.hb-author-badge{flex:0 0 56px;height:56px;border-radius:50%;background:#16161D;color:#FBFAF7;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:24px}
.hb-author-text p{margin:0}
.hb-author-kicker{font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#C8283F}
.hb-author-name{font-size:20px;font-weight:800;margin-top:2px!important}
.hb-author-bio{font-size:15px;line-height:1.6;color:#45454F;margin-top:6px!important}
.hb-author-link{margin-top:8px!important;font-size:14px;font-weight:600}
.hb-author-link a{color:#C8283F;text-decoration:none}
@media (max-width:600px){.hb-author{padding:18px}.hb-author-badge{flex-basis:44px;height:44px;font-size:19px}}

/* ---------- v1.7.1: slim section boards + simple sister-site banners ---------- */
.hb-board {
	position: relative;
	overflow: hidden;
	align-items: center;
	padding: 20px 26px;
	margin-bottom: 24px;
	border-radius: 16px;
}
.hb-board > * { position: relative; z-index: 1; }
.hb-board > .hb-board-glyph {
	position: absolute;
	z-index: 0;
	right: 170px;
	bottom: -18px;
	transform: rotate(-6deg);
	font-family: "Black Han Sans", "Noto Sans KR", sans-serif;
	font-size: 96px;
	line-height: 1;
	color: var(--hb-ink);
	opacity: 0.08;
	pointer-events: none;
	white-space: nowrap;
}
.hb-board--songs { background: #F8D3DA; }
.hb-board--words { background: #F2D16B; }
.hb-board--pron { background: #CFE5D6; }
.hb-board.hb-section-head--intro .hb-kicker { margin-bottom: 6px; font-size: 12px; }
.hb-board .hb-kicker,
.hb-words .hb-board .hb-kicker { color: var(--hb-red); }
.hb-board .hb-h1,
.hb-board .hb-h2,
.hb-words .hb-board .hb-h2 { color: var(--hb-ink); font-size: clamp(22px, 2.4vw, 30px); }
.hb-home .hb-board .hb-desc,
.entry-content .hb-home .hb-board p.hb-desc,
.entry-content .hb-home .hb-words .hb-board p.hb-desc { margin-top: 6px; font-size: 15px; line-height: 1.5; color: #3A3A44; }
.hb-board .hb-note-pill,
.hb-words .hb-board .hb-note-pill { background: rgba(255,255,255,.7); color: var(--hb-ink); }
.hb-board .hb-link,
.hb-words .hb-board .hb-link {
	flex: 0 0 auto;
	padding: 9px 18px;
	border-radius: 999px;
	background: var(--hb-ink);
	color: var(--hb-cream);
	font-weight: 700;
	font-size: 14px;
}
.hb-board .hb-link:hover,
.hb-words .hb-board .hb-link:hover { background: var(--hb-red); color: #fff; }

.hb-promo {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 48px 0;
	padding: 22px 28px;
	border-radius: 12px;
}
.hb-home .hb-promo p { margin: 0; }
.hb-promo-icon {
	flex: 0 0 64px;
	height: 64px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Black Han Sans", "Noto Sans KR", sans-serif;
	font-size: 34px;
	line-height: 1;
}
.hb-promo-logo { flex: 0 0 72px; height: 72px; padding: 6px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; }
.hb-promo-logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
@media (max-width: 760px) { .hb-promo-logo { flex-basis: 60px; height: 60px; } }
.hb-promo-text { flex: 1; min-width: 0; text-align: center; }
.hb-promo-title { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.hb-promo-desc { margin-top: 6px !important; font-size: 16px; line-height: 1.5; }
.hb-home a.hb-promo-btn {
	flex: 0 0 auto;
	padding: 14px 24px;
	border-radius: 8px;
	font-weight: 800;
	font-size: 16px;
	text-align: center;
}
.hb-promo--food { background: #2F5E4E; color: #fff; }
.hb-promo--food .hb-promo-icon { background: #FBF3E6; color: #C8402B; }
.hb-promo--food .hb-promo-desc { color: #E3EEE8; }
.hb-home .hb-promo--food a.hb-promo-btn { background: #F9B13D; color: var(--hb-ink); }
.hb-home .hb-promo--food a.hb-promo-btn:hover { background: #FFC766; }
.hb-promo--bok { background: #1E2A47; color: #fff; }
.hb-promo--bok .hb-promo-icon { background: #E8B84A; color: #1E2A47; border-radius: 50%; }
.hb-promo--bok .hb-promo-desc { color: #D6DAE6; }
.hb-home .hb-promo--bok a.hb-promo-btn { background: #E8B84A; color: var(--hb-ink); }
.hb-home .hb-promo--bok a.hb-promo-btn:hover { background: #F7D683; }

@media (max-width: 760px) {
	.hb-board { padding: 18px 20px; }
	.hb-board > .hb-board-glyph { right: -6px; bottom: -14px; font-size: 72px; }
	.hb-promo { flex-wrap: wrap; justify-content: center; gap: 14px; padding: 22px 20px; }
	.hb-promo-icon { flex-basis: 52px; height: 52px; font-size: 28px; }
	.hb-promo-text { flex-basis: 100%; }
	.hb-promo-title { font-size: 19px; }
	.hb-promo-desc { font-size: 15px; }
}

/* ---------- v1.8.0: welcome banner + section illustrations ---------- */
.hb-welcome {
	display: flex;
	align-items: center;
	gap: 32px;
	margin: 8px 0 56px;
	padding: 40px 44px;
	background: #FFF3DC;
	border: 2px solid var(--hb-ink);
	border-radius: 24px;
	box-shadow: 8px 8px 0 var(--hb-ink);
	overflow: hidden;
}
.hb-welcome-text { flex: 1 1 0; min-width: 0; }
.hb-home .hb-welcome p { margin: 0; }
.hb-welcome-pill {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: #fff;
	border: 1.5px solid var(--hb-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
}
.hb-home .hb-welcome .hb-welcome-title {
	margin-top: 18px;
	font-size: clamp(32px, 4.4vw, 54px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--hb-ink);
}
.hb-welcome-title span { display: block; color: var(--hb-red); }
.hb-home .hb-welcome .hb-welcome-desc { margin-top: 16px; max-width: 520px; font-size: 18px; line-height: 1.55; color: var(--hb-ink-2); }
.hb-welcome-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hb-home a.hb-welcome-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 24px;
	border-radius: 999px;
	background: var(--hb-red);
	border: 2px solid var(--hb-ink);
	color: #fff;
	font-weight: 800;
	font-size: 16px;
	transition: transform .15s ease;
}
.hb-home a.hb-welcome-btn:hover { transform: translateY(-2px); }
.hb-home a.hb-welcome-btn--ghost { background: #fff; color: var(--hb-ink); }
.hb-welcome-stats { display: flex; flex-wrap: wrap; gap: 22px; margin: 28px 0 0; padding: 0; list-style: none; }
.hb-welcome-stats li { margin: 0; font-size: 13px; color: var(--hb-muted); }
.hb-welcome-stats b { display: block; font-size: 17px; color: var(--hb-ink); }
.hb-welcome-art { flex: 0 0 40%; max-width: 440px; }
.hb-welcome-art img { display: block; width: 100%; height: auto; }

.hb-board--art { min-height: 132px; }
.hb-board--art > .hb-board-glyph { display: none; }
.hb-board-art {
	display: block;
	flex: 0 0 auto;
	width: auto;
	height: 150px;
	margin: -22px 8px -26px auto;
	align-self: flex-end;
}
@media (max-width: 760px) {
	.hb-welcome { flex-direction: column-reverse; gap: 8px; padding: 26px 22px 28px; margin-bottom: 40px; box-shadow: 5px 5px 0 var(--hb-ink); }
	.hb-welcome-art { flex-basis: auto; width: 72%; max-width: 300px; margin: 0 auto; }
	.hb-home .hb-welcome .hb-welcome-desc { font-size: 16px; }
	.hb-welcome-btns { flex-direction: column; }
	.hb-home a.hb-welcome-btn { justify-content: center; }
	.hb-board--art { padding-right: 112px; }
	.hb-board-art { position: absolute; right: 6px; bottom: 0; height: 108px; margin: 0; z-index: 0; }
}
