/* buyK festa — editorial theme */
:root {
	--paper: #fbf7f0;
	--paper-2: #f3ebdf;
	--card: #fffdf9;
	--ink: #16191d;
	--ink-2: #353a41;
	--muted: #6e7178;
	--line: #e5dccd;
	--accent: #c8432b;
	--accent-d: #a2331f;
	--jade: #2e5e4e;
	--gold: #b88a3b;
	--serif: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
	--sans: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, -apple-system, sans-serif;
	--r: 14px;
	--shadow: 0 1px 2px rgba(22, 25, 29, .04), 0 12px 32px -12px rgba(22, 25, 29, .18);
	--wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 17px/1.8 var(--sans);
	word-break: keep-all;
	overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.35; letter-spacing: -.01em; margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 820px; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; border-radius: 6px; }
.skip-link:focus { left: 8px; color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.ico { display: inline-flex; width: 1.1em; height: 1.1em; vertical-align: -.18em; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Eyebrow / kicker */
.eyebrow { margin: 0 0 14px; font: 700 12px/1 var(--sans); letter-spacing: .22em; color: var(--accent); text-transform: uppercase; }
.eyebrow span { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow span::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.light { color: #f4c9b8; }
.kicker { display: inline-block; font: 700 13px/1 var(--sans); color: var(--accent); letter-spacing: .02em; margin-bottom: 12px; }
.kicker:hover { color: var(--accent-d); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font: 700 15px/1 var(--sans); border: 1px solid transparent; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(200, 67, 43, .7); }
.btn-accent:hover { background: var(--accent-d); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--accent); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; color: var(--accent); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 240, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.topbar { background: var(--ink); color: #cfc8bc; font-size: 12.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 36px; }
.topbar .topline { letter-spacing: .04em; opacity: .9; }
.toplinks { display: flex; gap: 18px; }
.toplinks a:hover { color: #fff; }
.mainbar .wrap { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-en { font: 900 25px/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.brand-en b { color: var(--accent); }
.brand-ko { font: 500 11.5px/1.4 var(--sans); color: var(--muted); letter-spacing: .18em; margin-top: 5px; }
.brand:hover .brand-en { color: var(--ink); }
.primary-nav { margin-left: auto; }
.primary-nav .menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a { display: block; padding: 10px 14px; font: 500 15.5px/1 var(--sans); border-radius: 999px; color: var(--ink-2); }
.primary-nav .menu a:hover { background: var(--paper-2); color: var(--ink); }
.primary-nav .current-menu-item > a { color: var(--accent); }
.head-actions { display: flex; gap: 6px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: inline-grid; place-items: center; color: var(--ink); }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn .ico { width: 20px; height: 20px; }
.js-menu { display: none; }
.search-panel { border-top: 1px solid var(--line); background: var(--card); padding: 18px 0; }
.search-form { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 22px; max-width: 720px; }
.search-form input { flex: 1; min-width: 0; border: 0; background: none; font: 400 16px/1.4 var(--sans); padding: 10px 0; color: var(--ink); outline: none; }
.search-form button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.search-form button:hover { background: var(--accent); }
.search-form button .ico { width: 18px; height: 18px; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(22, 25, 29, .45); }
.drawer-inner { position: absolute; right: 0; top: 0; bottom: 0; width: min(88vw, 380px); background: var(--paper); padding: 22px 26px 40px; overflow-y: auto; box-shadow: -20px 0 60px rgba(0, 0, 0, .2); }
.drawer .js-close { position: absolute; right: 18px; top: 18px; }
.drawer-label { font: 700 12px/1 var(--sans); letter-spacing: .25em; color: var(--accent); margin: 14px 0 22px; }
.drawer-menu { list-style: none; margin: 0 0 24px; padding: 0; }
.drawer-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 700 21px/1.3 var(--serif); }
.drawer-links { list-style: none; padding: 0; margin: 26px 0 0; font-size: 15px; color: var(--muted); }
.drawer-links li { margin: 8px 0; }
body.drawer-open { overflow: hidden; }

/* Section heads */
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 30px; margin-bottom: 38px; }
.sec-head .eyebrow, .sec-head h2, .sec-head p { grid-column: 1; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.sec-head p:not(.eyebrow) { color: var(--muted); margin: 6px 0 0; }
.sec-head .more { grid-column: 2; grid-row: 1 / span 3; align-self: end; display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.sec-head.center { text-align: center; grid-template-columns: 1fr; justify-items: center; }
.sec-head.center .eyebrow span::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* Hero */
.hero { position: relative; padding: 72px 0 84px; overflow: hidden; background:
	radial-gradient(1200px 500px at 90% -10%, rgba(200, 67, 43, .10), transparent 60%),
	radial-gradient(900px 500px at -10% 110%, rgba(46, 94, 78, .10), transparent 60%),
	var(--paper); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(22, 25, 29, .06) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, #000, transparent 55%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.22; font-weight: 900; letter-spacing: -.025em; margin-bottom: 26px; }
.hero h1 em { font-style: normal; color: var(--accent); background: linear-gradient(transparent 68%, rgba(200, 67, 43, .16) 68%); }
.hero .lead { font-size: 18.5px; color: var(--ink-2); max-width: 36em; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-points { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; color: var(--ink-2); }
.hero-points li { display: inline-flex; gap: 8px; align-items: center; }
.hero-points .ico { color: var(--jade); }
.hero-visual { position: relative; height: 560px; }
.hv { position: absolute; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(22, 25, 29, .45); }
.hv img { width: 100%; height: 100%; object-fit: cover; }
.hv-main { left: 8%; top: 0; width: 76%; height: 78%; }
.hv-a { right: 0; top: 46%; width: 42%; height: 44%; border: 6px solid var(--paper); }
.hv-b { left: 0; bottom: 0; width: 36%; height: 34%; border: 6px solid var(--paper); }
.hv-badge { position: absolute; left: 40%; bottom: 3%; background: var(--ink); color: #fff; padding: 16px 20px; border-radius: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.hv-badge strong { font: 700 16px/1.2 var(--serif); }
.hv-badge span { font-size: 12.5px; color: #cfc8bc; letter-spacing: .06em; }
.hv-credit { position: absolute; right: 0; top: -26px; font-size: 11.5px; color: var(--muted); margin: 0; }
.hv-credit a, figcaption a, .page-head-credit a, .credits a { text-decoration: underline; text-underline-offset: 2px; }

/* Cards */
.card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 21px; line-height: 1.42; margin-bottom: 12px; }
.card-title a:hover { color: var(--accent); }
.card-excerpt { color: var(--ink-2); font-size: 15.5px; line-height: 1.75; margin-bottom: 16px; }
.meta { margin: auto 0 0; display: flex; gap: 16px; font-size: 13px; color: var(--muted); }
.meta span { display: inline-flex; gap: 5px; align-items: center; }

/* Latest */
.latest { padding: 96px 0; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.latest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.latest-grid .card { background: var(--paper); }
.card-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; }
.card-feature .card-media { aspect-ratio: auto; min-height: 420px; }
.card-feature .card-body { padding: 48px 50px; justify-content: center; }
.card-feature .card-title { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.32; margin-bottom: 18px; }
.card-feature .card-excerpt { font-size: 17px; }
.card-feature .meta { margin-top: 10px; }

/* Topics */
.topics { padding: 96px 0; }
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.topic { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; color: #fff; isolation: isolate; }
.topic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s; }
.topic::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 25, 29, .05) 25%, rgba(22, 25, 29, .88)); }
.topic:hover img { transform: scale(1.06); }
.topic:hover { color: #fff; }
.topic-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.topic-en { font: 700 11.5px/1 var(--sans); letter-spacing: .22em; color: #f4c9b8; }
.topic strong { font: 700 26px/1.2 var(--serif); }
.topic-desc { font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.topic-count { margin-top: 8px; display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 700; }

/* Guide (home text) */
.guide { padding: 96px 0; background: var(--paper-2); }
.guide-grid { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: start; }
.guide-side { position: sticky; top: 140px; }
.guide-title { font: 900 30px/1.35 var(--serif); margin-bottom: 26px; }
.guide-photo { margin: 0; }
.guide-photo img { border-radius: 16px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.guide-photo figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }
.guide-body { background: var(--card); border-radius: 22px; padding: 56px 60px; box-shadow: var(--shadow); }

/* Principles */
.principles { padding: 96px 0 40px; }
.pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pr { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 34px 32px; }
.pr .ico { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: rgba(200, 67, 43, .1); color: var(--accent); margin-bottom: 20px; }
.pr h3 { font-size: 21px; margin-bottom: 10px; }
.pr p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

/* CTA */
.cta { padding: 56px 0 100px; }
.cta-box { background: var(--ink); color: #fff; border-radius: 26px; padding: 56px 64px; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 67, 43, .55), transparent 70%); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 12px; }
.cta-box p:not(.eyebrow) { color: #cfc8bc; max-width: 40em; margin: 0; }

/* Page / archive head */
.page-head { position: relative; padding: 64px 0 56px; border-bottom: 1px solid var(--line); background: var(--paper); }
.page-head.has-photo { color: #fff; padding: 110px 0 90px; border: 0; isolation: isolate; }
.page-head-bg { position: absolute; inset: 0; z-index: -1; }
.page-head-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-head-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 25, 29, .55), rgba(22, 25, 29, .78)); }
.page-head.has-photo .eyebrow { color: #f4c9b8; }
.page-head.has-photo .post-lead { color: rgba(255, 255, 255, .88); }
.page-head.has-photo .crumbs, .page-head.has-photo .crumbs a { color: rgba(255, 255, 255, .78); }
.page-head-credit { position: absolute; right: 18px; bottom: 10px; margin: 0; font-size: 11.5px; color: rgba(255, 255, 255, .7); }
.page-title { font-size: clamp(32px, 4vw, 50px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 16px; }
.post-lead { font-size: 18.5px; color: var(--ink-2); line-height: 1.75; margin: 0; }
.post-lead p { margin: 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14.5px; font-weight: 500; }
.chip:hover, .chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.listing { padding: 64px 0 100px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.empty { background: var(--card); border: 1px dashed var(--line); padding: 40px; border-radius: 16px; text-align: center; }
.search-inline { margin-top: 26px; }
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.nav-links .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 700; font-size: 14.5px; }
.nav-links .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Single */
.post-head { padding: 56px 0 40px; }
.post-title { font-size: clamp(30px, 3.8vw, 46px); font-weight: 900; line-height: 1.3; letter-spacing: -.02em; margin-bottom: 20px; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); line-height: 1.6; }
.byline strong { color: var(--ink); font-weight: 700; }
.author-dot .brand-mark { width: 42px; height: 42px; }
.author-dot.big .brand-mark { width: 60px; height: 60px; }
.post-hero { margin: 0 auto 56px; max-width: 1100px; }
.post-hero img { width: 100%; max-height: 620px; object-fit: cover; border-radius: 22px; }
.post-hero figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; text-align: right; }
.post-note { margin: 56px 0 26px; padding: 20px 24px; border-radius: 14px; background: var(--paper-2); font-size: 14.5px; color: var(--ink-2); }
.post-note p { margin: 0; }
.post-note strong { color: var(--accent); margin-right: 6px; }
.author-box { display: flex; gap: 20px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); margin-bottom: 80px; font-size: 15px; color: var(--ink-2); }
.author-box p { margin: 0 0 8px; }
.ab-name { font: 700 18px/1.3 var(--serif); color: var(--ink); }
.author-box a { color: var(--accent); font-weight: 700; }
.related { padding: 80px 0 100px; background: var(--card); border-top: 1px solid var(--line); }

/* Entry typography */
.entry { font-size: 18px; line-height: 1.95; color: #23272d; }
.entry > * + * { margin-top: 0; }
.entry p { margin: 0 0 1.35em; }
.entry h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 2.2em 0 .8em; padding-top: .2em; scroll-margin-top: 140px; }
.entry h2::before { content: ""; display: block; width: 36px; height: 3px; background: var(--accent); margin-bottom: 18px; border-radius: 2px; }
.entry h3 { font-size: 21px; margin: 1.8em 0 .6em; scroll-margin-top: 140px; }
.entry a { color: var(--accent-d); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry a:hover { color: var(--accent); }
.entry ul, .entry ol { margin: 0 0 1.5em; padding-left: 1.3em; }
.entry li { margin: .45em 0; padding-left: .2em; }
.entry li::marker { color: var(--accent); font-weight: 700; }
.entry strong { font-weight: 700; color: var(--ink); }
.entry blockquote { margin: 2em 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--accent); font: 500 20px/1.7 var(--serif); }
.entry table { width: 100%; border-collapse: collapse; margin: 1.6em 0 2em; font-size: 15.5px; line-height: 1.6; background: var(--card); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.entry th { background: var(--ink); color: #fff; font-weight: 700; text-align: left; padding: 13px 16px; }
.entry td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.entry tr:nth-child(even) td { background: #fbf8f2; }
.entry figure { margin: 2.2em 0; }
.entry figure img { border-radius: 16px; width: 100%; }
.entry figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.wp-block-rank-math-toc-block { background: var(--paper-2); border-radius: 16px; padding: 26px 30px 18px; margin: 2em 0 2.4em; }
.entry .wp-block-rank-math-toc-block h2.toc-title, .entry .toc-title { font: 700 13px/1 var(--sans); letter-spacing: .2em; color: var(--accent); margin: 0 0 14px; padding: 0; }
.entry .toc-title::before { display: none; }
.wp-block-rank-math-toc-block nav ol, .wp-block-rank-math-toc-block nav ul { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 34px; font-size: 15.5px; line-height: 1.6; }
.wp-block-rank-math-toc-block li { break-inside: avoid; margin: 0 0 8px; }
.wp-block-rank-math-toc-block a { text-decoration: none; color: var(--ink-2); }
.wp-block-rank-math-toc-block a:hover { color: var(--accent); }
.guide-body.entry { font-size: 17px; }
.guide-body.entry h2:first-child { margin-top: 0; }

/* Contact form */
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px; margin: 1.5em 0 2em; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font: 400 16px/1.5 var(--sans); background: var(--paper); color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.contact-form .agree label { font-weight: 400; font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }
.contact-form .agree input { margin-top: 6px; }
.entry .contact-form button { text-decoration: none; }
.form-note { padding: 14px 18px; border-radius: 10px; margin: 1em 0; font-size: 15px; }
.form-note.ok { background: #e6f1ec; color: var(--jade); }
.form-note.err { background: #fbe9e4; color: var(--accent-d); }

/* Credits */
.credits { margin: 40px 0 90px; padding-top: 40px; border-top: 1px solid var(--line); }
.credits h2 { font-size: 26px; margin-bottom: 14px; }
.credits > p { color: var(--ink-2); }
.credits-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.credits-list li { display: flex; gap: 12px; align-items: center; }
.credits-list .thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.credits-list strong { color: var(--ink); font-weight: 700; }
.page-article .entry { padding: 56px 0 30px; }
.page-article .entry:last-child { padding-bottom: 90px; }

/* Footer */
.site-footer { background: #121417; color: #b9b3a8; padding: 80px 0 34px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.brand-light .brand-en { color: #fff; }
.brand-light .brand-ko { color: #8e887e; }
.foot-brand p { margin: 20px 0 0; line-height: 1.8; max-width: 30em; }
.foot-mail a { color: #fff; }
.foot-col h2 { font: 700 12px/1 var(--sans); letter-spacing: .22em; color: #fff; margin: 12px 0 20px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: 0 0 11px; }
.site-footer a:hover { color: #fff; }
.disclaimer { margin: 56px 0 0; padding: 22px 0; border-top: 1px solid #2a2d31; border-bottom: 1px solid #2a2d31; font-size: 13px; line-height: 1.75; color: #8e887e; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: 12.5px; color: #8e887e; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
	.primary-nav { display: none; }
	.js-menu { display: inline-grid; }
	.head-actions { margin-left: auto; }
	.hero-grid { grid-template-columns: 1fr; gap: 48px; }
	.hero-visual { height: 480px; }
	.latest-grid { grid-template-columns: repeat(2, 1fr); }
	.topic-grid { grid-template-columns: repeat(2, 1fr); }
	.guide-grid { grid-template-columns: 1fr; gap: 36px; }
	.guide-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
	.guide-side .eyebrow { grid-column: 1 / -1; margin: 0; }
	.foot-grid { grid-template-columns: 1fr 1fr 1fr; }
	.foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.topbar .topline { display: none; }
	.mainbar .wrap { height: 66px; }
	.brand-mark { width: 38px; height: 38px; }
	.brand-en { font-size: 21px; }
	.brand-ko { font-size: 10.5px; }
	.hero { padding: 44px 0 60px; }
	.hero .lead { font-size: 17px; }
	.hero-visual { height: 380px; }
	.hv-badge { left: auto; right: 4%; bottom: 0; padding: 12px 16px; }
	.latest, .topics, .guide, .principles { padding: 64px 0; }
	.latest-grid, .grid-3, .pr-grid { grid-template-columns: 1fr; }
	.card-feature { grid-template-columns: 1fr; }
	.card-feature .card-media { min-height: 0; aspect-ratio: 3 / 2; }
	.card-feature .card-body { padding: 26px 24px 28px; }
	.sec-head { grid-template-columns: 1fr; }
	.sec-head .more { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 12px; }
	.topic-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
	.topic { aspect-ratio: 4 / 5; }
	.topic-body { padding: 16px; }
	.topic strong { font-size: 20px; }
	.topic-desc { display: none; }
	.guide-side { grid-template-columns: 1fr; }
	.guide-photo { display: none; }
	.guide-body { padding: 32px 22px; border-radius: 18px; }
	.cta { padding: 30px 0 70px; }
	.cta-box { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
	.entry { font-size: 17px; }
	.wp-block-rank-math-toc-block nav ol, .wp-block-rank-math-toc-block nav ul { columns: 1; }
	.entry table { display: block; overflow-x: auto; white-space: nowrap; }
	.contact-form { padding: 22px; }
	.contact-form .row { grid-template-columns: 1fr; gap: 0; }
	.credits-list { grid-template-columns: 1fr; }
	.foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
	.foot-bottom { flex-direction: column; }
	.page-head.has-photo { padding: 70px 0 60px; }
	.post-hero img { border-radius: 0; }
	.post-hero.wrap { padding: 0; }
	.post-hero figcaption { padding: 0 20px; }
	.author-box { flex-direction: column; }
	.wrap { padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* Card excerpts: same height in grids */
.card-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-feature .card-excerpt { -webkit-line-clamp: 4; }
.wp-block-rank-math-toc-block nav ul { list-style: none; padding-left: 0; }
.wp-block-rank-math-toc-block nav ul li { padding-left: 16px; position: relative; }
.wp-block-rank-math-toc-block nav ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.bkf-source-url { overflow-wrap:anywhere; font-size:.85em; }
