@font-face{font-family:"Jua";src:url(/static/jua.ecbb4e8a35.woff2) format("woff2");font-weight:400;font-display:swap}@font-face{font-family:"Gowun Dodum";src:url(/static/gowun.ddd1aea670.woff2) format("woff2");font-weight:400;font-display:swap}
/* 메모장만개 테마 — 손그림 종이 질감
   팔레트: 브랜드 시트의 6색. 제목 Jua, 본문 고운돋움. */
:root {
	--cream: #F7EEDB;
	--paper: #FCF6E8;
	--yellow: #F2C45E;
	--orange: #E99435;
	--sky: #BFDDE2;
	--green: #8EA36B;
	--green-d: #566B43;
	--ink: #30342F;
	--ink-soft: #5b5f57;
	--accent: var(--yellow);
	--accent-d: var(--orange);
	--accent-soft: #FBE7AE;
	--font-head: "Jua", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
	--font-body: "Gowun Dodum", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
	--r1: 22px 16px 24px 14px / 16px 24px 14px 22px;
	--r2: 14px 20px 12px 18px / 18px 12px 20px 14px;
	--shadow: 4px 5px 0 rgba(48, 52, 47, .14);
	--paper-noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45 0 0 0 0 .36 0 0 0 0 .22 0 0 0 .1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
	--wave: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='8' viewBox='0 0 40 8'><path d='M0 4 Q5 0 10 4 T20 4 T30 4 T40 4' fill='none' stroke='%23E99435' stroke-width='2.4' stroke-linecap='round'/></svg>");
}

.program--memo { --accent: var(--yellow); --accent-d: var(--orange); --accent-soft: #FBE7AE; }
.program--brand { --accent: var(--green); --accent-d: var(--green-d); --accent-soft: #DDE8CB; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
	margin: 0;
	background-color: var(--cream);
	background-image: var(--paper-noise);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.85;
	word-break: keep-all;
	overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--green-d); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--yellow); border: 2px solid var(--ink); padding: 8px 14px; z-index: 100; font-family: var(--font-head); }
.skip-link:focus { top: 8px; }
.muted { color: var(--ink-soft); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.3; letter-spacing: -.005em; margin: 0 0 .5em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 32px); }
.wrap--video { width: min(900px, 100% - 32px); }
.section { padding: clamp(36px, 6vw, 72px) 0; }
.section__title { font-size: clamp(1.6rem, 3.2vw, 2.1rem); display: inline-block; background: linear-gradient(transparent 62%, rgba(242,196,94,.7) 62% 92%, transparent 92%); padding: 0 .15em; margin-bottom: .3em; }
.section__sub { margin: 0 0 28px; color: var(--ink-soft); }
.empty { padding: 28px; text-align: center; color: var(--ink-soft); border: 2px dashed rgba(48,52,47,.35); border-radius: var(--r1); background: rgba(255,255,255,.35); }

/* ---------- 손그림 테두리 ---------- */
.sketch { position: relative; background: var(--paper); border-radius: var(--r1); box-shadow: var(--shadow); }
.sketch::before { content: ""; position: absolute; inset: 0; border: 2.6px solid var(--ink); border-radius: inherit; filter: url(#memo-wobble); pointer-events: none; z-index: 2; }
.tape { position: absolute; top: -13px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgba(142,163,107,.55); border-left: 2px dashed rgba(48,52,47,.18); border-right: 2px dashed rgba(48,52,47,.18); z-index: 3; }
.hl { background: linear-gradient(transparent 58%, rgba(242,196,94,.85) 58% 90%, transparent 90%); padding: 0 .1em; }

.btn { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head); font-size: 1.05rem; line-height: 1; padding: .75em 1.25em; border: 2.5px solid var(--ink); border-radius: 999px 900px 999px 940px / 900px 999px 940px 999px; color: var(--ink); text-decoration: none; box-shadow: 3px 4px 0 rgba(48,52,47,.85); transition: transform .12s, box-shadow .12s; background: var(--paper); }
.btn:hover { color: var(--ink); transform: translate(1px, 2px); box-shadow: 2px 2px 0 rgba(48,52,47,.85); }
.btn--yellow { background: var(--yellow); }
.btn--ghost { background: transparent; }

.chip { display: inline-block; font-family: var(--font-head); font-size: .86rem; line-height: 1; padding: .42em .8em; border: 2px solid var(--ink); border-radius: 999px; background: var(--accent); color: var(--ink); text-decoration: none; }
a.chip:hover { color: var(--ink); background: var(--accent-soft); }

/* ---------- 머리말 ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 2.6px solid var(--ink); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 8px; background: var(--wave) repeat-x; opacity: .9; pointer-events: none; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand .custom-logo-link { display: block; line-height: 0; }
.brand .custom-logo { height: 52px; width: auto; transition: transform .2s; }
.brand .custom-logo-link:hover .custom-logo { transform: rotate(-6deg) scale(1.04); }
.brand__name { display: inline-flex; align-items: flex-end; gap: 2px; text-decoration: none; color: var(--ink); }
.brand__word { font-family: var(--font-head); font-size: 1.75rem; letter-spacing: -.02em; line-height: 1; padding-bottom: 3px; background: linear-gradient(transparent 86%, var(--orange) 86% 94%, transparent 94%); }
.brand__flower { display: inline-block; margin-bottom: 6px; transform: rotate(8deg); }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.site-nav__list a { display: block; font-family: var(--font-head); font-size: 1.08rem; color: var(--ink); text-decoration: none; padding: .45em .85em; border-radius: 999px; border: 2px solid transparent; }
.site-nav__list a:hover, .site-nav__list .current-menu-item a, .site-nav__list .current-cat a { background: var(--accent-soft); border-color: var(--ink); color: var(--ink); }
.search-form { display: flex; align-items: center; border: 2.4px solid var(--ink); border-radius: 999px; background: #fff9; padding: 2px 4px 2px 14px; }
.search-form__field { border: 0; background: transparent; font: inherit; font-size: .95rem; padding: 6px 0; width: 9em; color: var(--ink); min-width: 0; }
.search-form__field:focus { outline: none; }
.search-form:focus-within { box-shadow: 0 0 0 3px rgba(233,148,53,.5); }
.search-form__btn { border: 0; background: transparent; color: var(--ink); padding: 6px 8px; cursor: pointer; line-height: 0; }
.nav-toggle { display: none; background: var(--yellow); border: 2.4px solid var(--ink); border-radius: 14px 10px 14px 10px; width: 46px; height: 42px; cursor: pointer; padding: 0; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 22px; height: 2.6px; background: var(--ink); border-radius: 2px; position: relative; margin: 0 auto; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; } .nav-toggle__bars::after { top: 7px; }

@media (max-width: 820px) {
	.nav-toggle { display: block; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 2.6px solid var(--ink); padding: 14px 16px 18px; flex-direction: column; align-items: stretch; gap: 12px; }
	.site-nav.is-open { display: flex; }
	.site-nav__list { flex-direction: column; }
	.search-form__field { width: 100%; }
	.brand__word { font-size: 1.5rem; }
}


/* ---------- 홈 ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(20px, 4vw, 40px); background: radial-gradient(900px 340px at 85% 20%, rgba(191,221,226,.55), transparent 70%); }
.hero__inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: center; }
.hero__kicker { display: inline-block; font-family: var(--font-head); background: var(--sky); border: 2px solid var(--ink); border-radius: 999px; padding: .2em .9em; margin: 0 0 14px; font-size: .95rem; }
.hero__title { font-size: clamp(2.1rem, 5.6vw, 3.7rem); line-height: 1.18; margin-bottom: .4em; }
.hero__lead { font-size: 1.1rem; max-width: 34em; color: var(--ink-soft); margin: 0 0 24px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 0; }
.hero__art { display: flex; justify-content: center; }
.hero__memo { width: min(300px, 100%); padding: 26px 20px 20px; text-align: center; transform: rotate(2.2deg); background: #fffaf0; }
.hero__memo::after { content: ""; position: absolute; right: 0; bottom: 0; width: 46px; height: 46px; background: linear-gradient(135deg, transparent 50%, #efe0bd 50%); border-top-left-radius: 8px; box-shadow: -2px -2px 0 rgba(48,52,47,.15); z-index: 1; }
.hero__memo img { display: block; margin: 0 auto 6px; }
.hero__memo-text { font-family: var(--font-head); font-size: 1.6rem; margin: 0; }
@media (max-width: 820px) { .hero__inner { grid-template-columns: 1fr; } .hero__art { order: -1; } .hero__memo { width: 190px; padding: 14px; } .hero__memo img { width: 110px; height: 110px; } }

.programs__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
@media (max-width: 860px) { .programs__grid { grid-template-columns: 1fr; } }
.program { padding: 34px 28px 26px; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--accent-soft), var(--paper) 55%); }
.program__kicker { font-family: var(--font-head); font-size: .85rem; letter-spacing: .12em; color: var(--ink-soft); margin: 0 0 4px; }
.program__name { font-size: clamp(1.5rem, 2.8vw, 1.9rem); margin: 0 0 6px; }
.program__name a { color: var(--ink); text-decoration: none; }
.program__name a:hover { color: var(--accent-d); }
.program__tagline { font-family: var(--font-head); font-size: 1.12rem; margin: 0 0 12px; color: var(--accent-d); }
.program--memo .program__tagline { color: #b0661a; }
.program__desc { font-size: 1rem; margin: 0 0 16px; color: var(--ink-soft); }
.program__sig { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.program__sig li { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: .9rem; background: #fffbf0; border: 2px solid var(--ink); border-radius: 999px; padding: .2em .8em .2em .3em; }
.program__sig .num { display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--accent); border: 1.8px solid var(--ink); font-size: .78rem; }
.program__recent { margin: 0 0 18px; padding-left: 1.3em; flex: 1; }
.program__recent li { margin: .2em 0; }
.program__empty { color: var(--ink-soft); flex: 1; }
.program__more { font-family: var(--font-head); font-size: 1.05rem; text-decoration: none; color: var(--ink); align-self: flex-start; border-bottom: 3px solid var(--accent-d); }

.about__inner { padding: clamp(26px, 5vw, 48px); max-width: 860px; background: #fffaf0; transform: rotate(-.5deg); }
.about__inner .section__title { margin-bottom: .6em; }

/* ---------- 카드 ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.card { display: flex; flex-direction: column; overflow: visible; transition: transform .18s; }
.card:hover { transform: translateY(-3px) rotate(-.4deg); }
.card__media { position: relative; display: block; aspect-ratio: 16 / 9; margin: 10px 10px 0; border: 2.2px solid var(--ink); border-radius: var(--r2); overflow: hidden; background: var(--accent-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; }
.card__placeholder img { width: 84px; height: 84px; object-fit: contain; }
.card__play { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); border: 2.2px solid var(--ink); }
.card__play::after { content: ""; position: absolute; left: 14px; top: 9px; border-left: 12px solid var(--ink); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.card__body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__prog { margin: 0; }
.card__title { font-size: 1.3rem; margin: 0; line-height: 1.35; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--orange); }
.card__excerpt { margin: 0; font-size: .96rem; color: var(--ink-soft); line-height: 1.7; }
.card__meta { margin: auto 0 0; padding-top: 6px; font-size: .86rem; color: var(--ink-soft); }

/* ---------- 보관함 머리 ---------- */
.archive-head { padding: clamp(28px, 5vw, 56px) 0 clamp(16px, 3vw, 28px); background: linear-gradient(180deg, var(--accent-soft), transparent); }
.archive-head__kicker { font-family: var(--font-head); letter-spacing: .12em; color: var(--ink-soft); margin: 0 0 4px; font-size: .9rem; }
.archive-head__title { font-size: clamp(2rem, 4.8vw, 3rem); margin-bottom: .2em; }
.archive-head__lead { font-family: var(--font-head); font-size: 1.25rem; color: var(--accent-d); margin: 0 0 8px; }
.archive-head__desc { max-width: 40em; color: var(--ink-soft); margin: 0 0 14px; }
.crumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-soft); }
.navigation.pagination { margin-top: 36px; display: flex; justify-content: center; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.page-numbers { font-family: var(--font-head); min-width: 2.6em; text-align: center; padding: .4em .8em; border: 2.2px solid var(--ink); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--paper); }
.page-numbers.current, .page-numbers:hover { background: var(--yellow); color: var(--ink); }

/* ---------- 글 ---------- */
.entry__head { padding-top: clamp(24px, 4vw, 48px); }
.entry__prog { margin: 0 0 10px; }
.entry__title { font-size: clamp(1.9rem, 4.6vw, 2.9rem); line-height: 1.25; margin-bottom: .35em; text-wrap: balance; }
.entry__meta { color: var(--ink-soft); font-size: .95rem; margin: 0 0 22px; }

.answer-box { padding: 22px 24px 20px 28px; margin: 0 0 30px; background: var(--accent-soft); }
.answer-box::after { content: ""; position: absolute; right: 0; bottom: 0; width: 38px; height: 38px; background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,.75) 50%); border-top-left-radius: 8px; z-index: 1; }
.answer-box__label { font-family: var(--font-head); font-size: .95rem; display: inline-block; background: var(--ink); color: var(--cream); padding: .15em .8em; border-radius: 999px; margin: 0 0 8px; }
.answer-box__text, .answer-box > p:not(.answer-box__label) { font-family: var(--font-head); font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.6; margin: 0; }
.answer-box.wp-block-group { position: relative; border: 2.6px solid var(--ink); border-radius: var(--r1); padding: 22px 24px; background: var(--accent-soft); }

.video { margin: 0 0 34px; padding: 12px 12px 8px; background: #fffaf0; }
.video__frame { position: relative; aspect-ratio: 16 / 9; border: 2.4px solid var(--ink); border-radius: var(--r2); overflow: hidden; background: #000; }
.video__frame iframe, .video__poster, .video__poster img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; display: block; }
.video__play { position: absolute; left: 50%; top: 50%; width: 82px; height: 82px; margin: -41px 0 0 -41px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); box-shadow: 3px 4px 0 rgba(48,52,47,.85); transition: transform .15s; }
.video__play::after { content: ""; position: absolute; left: 31px; top: 22px; border-left: 28px solid var(--ink); border-top: 18px solid transparent; border-bottom: 18px solid transparent; }
.video__poster:hover .video__play { transform: scale(1.08) rotate(-4deg); }
.video__cap { font-size: .92rem; color: var(--ink-soft); padding: 8px 6px 2px; line-height: 1.6; }

.entry__layout { display: grid; grid-template-columns: 240px minmax(0, 760px); justify-content: center; gap: 0 40px; }
.entry__toc { grid-column: 1; grid-row: 1; justify-self: end; width: 100%; max-width: 240px; align-self: start; position: sticky; top: 96px; font-size: 1.05rem; line-height: 1.45; }
.entry__main { grid-column: 2; min-width: 0; }
@media (max-width: 1180px) {
	.entry__layout { display: block; width: min(760px, 100% - 32px); }
	.entry__toc { position: static; max-width: none; margin-bottom: 28px; }
}
.toc { padding: 16px 18px; background: #fffaf0; border: 2.2px solid var(--ink); border-radius: var(--r2); }
.toc__title { font-family: var(--font-head); margin: 0 0 8px; font-size: 1.15rem; }
.toc__list { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc__item { counter-increment: t; margin-top: 6px; }
.toc__item > a::before { content: counter(t) ". "; color: var(--orange); font-family: var(--font-head); }
.toc__item--h3 { padding-left: 1.2em; font-size: .88em; opacity: .85; }
.toc a { color: var(--ink); text-decoration: none; display: block; padding: 3px 0; }
.toc a:hover, .toc a.is-active { color: var(--orange); }

.entry-content { font-size: 1.08rem; }
.entry-content > * { margin-top: 0; margin-bottom: 1.25em; }
.entry-content h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 2.1em; margin-bottom: .6em; padding-bottom: .22em; background: var(--wave) repeat-x left bottom; background-size: 40px 8px; scroll-margin-top: 96px; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.7em; padding-left: 1.4em; position: relative; scroll-margin-top: 96px; }
.entry-content h3::before { content: "✿"; position: absolute; left: 0; top: .02em; color: var(--orange); }
.entry-content p { margin-bottom: 1.15em; }
.entry-content strong { background: linear-gradient(transparent 62%, rgba(242,196,94,.6) 62%); font-weight: 400; font-family: var(--font-head); }
.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content li { margin: .3em 0; }
.entry-content blockquote { position: relative; margin: 1.8em 0; padding: 20px 24px; background: #fffaf0; border: 2.2px solid var(--ink); border-radius: var(--r2); transform: rotate(-.4deg); font-size: 1.02rem; }
.entry-content blockquote::before { content: ""; position: absolute; top: -11px; left: 28px; width: 70px; height: 22px; background: rgba(191,221,226,.8); transform: rotate(-2deg); border-left: 2px dashed rgba(48,52,47,.18); border-right: 2px dashed rgba(48,52,47,.18); }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; font-size: .88rem; color: var(--ink-soft); margin-top: .5em; font-style: normal; }
.entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; border: 2.2px solid var(--ink); border-radius: 12px; overflow: hidden; font-size: .98rem; background: #fffaf0; }
.entry-content th, .entry-content td { padding: 10px 14px; border-bottom: 1.6px solid rgba(48,52,47,.3); text-align: left; vertical-align: top; }
.entry-content th { background: var(--accent-soft); font-family: var(--font-head); font-weight: 400; }
.entry-content tr:last-child td { border-bottom: 0; }
.entry-content hr { border: 0; height: 8px; background: var(--wave) repeat-x center; margin: 2.4em 0; }
.entry-content code { background: rgba(48,52,47,.08); padding: .1em .35em; border-radius: 4px; font-size: .92em; }
.entry-content .is-style-highlight { background: var(--accent-soft); border-left: 6px solid var(--accent-d); padding: .8em 1em; border-radius: 4px 14px 14px 4px; }

/* 그림·인포그래픽·4컷 */
.entry-content figure { margin: 2em 0; }
.entry-content figure img { display: block; width: 100%; height: auto; border: 2.4px solid var(--ink); border-radius: var(--r2); background: #fffaf0; box-shadow: var(--shadow); }
.entry-content figcaption, .wp-element-caption { font-family: var(--font-body); font-size: .92rem; line-height: 1.6; color: var(--ink-soft); text-align: left; margin-top: .7em; padding-left: 1.5em; position: relative; }
.entry-content figcaption::before { content: "✎"; position: absolute; left: 0; color: var(--orange); }
.entry-content figure.is-style-infographic { margin-inline: 0; }
@media (min-width: 1000px) { .entry-content figure.is-style-infographic, .entry-content figure.alignwide { margin-inline: -70px; } }
.entry-content figure.is-style-comic img { border-width: 3px; background: #fff; }
.entry-content figure img[data-zoom] { cursor: zoom-in; }
.entry-content .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.entry-content .wp-block-gallery figure { margin: 0; }
.entry-content .wp-block-embed, .entry-content .wp-block-video { margin: 2em 0; }
.entry-content .wp-block-embed__wrapper { position: relative; border: 2.4px solid var(--ink); border-radius: var(--r2); overflow: hidden; }
.entry-content iframe { max-width: 100%; }

/* 메모 카드 */
.memo-card { position: relative; padding: 26px 26px 20px; margin: 2.2em 0; background: #fffaf0; border: 2.6px solid var(--ink); border-radius: var(--r1); box-shadow: var(--shadow); }
.memo-card::before { content: ""; position: absolute; top: -13px; left: 40px; width: 96px; height: 26px; background: var(--accent); opacity: .85; transform: rotate(-2.5deg); border-left: 2px dashed rgba(48,52,47,.18); border-right: 2px dashed rgba(48,52,47,.18); }
.memo-card::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 44px; height: 44px; background: linear-gradient(135deg, transparent 50%, #eadcb8 50%); border-top-left-radius: 8px; }
.memo-card h2 { margin: 0 0 .5em; background: none; padding: 0; }
.memo-card ol { list-style: none; counter-reset: m; padding: 0; margin: 0; }
.memo-card ol li { counter-increment: m; display: flex; gap: 12px; align-items: baseline; padding: .55em 0; border-bottom: 1.6px dashed rgba(48,52,47,.28); margin: 0; }
.memo-card ol li:last-child { border-bottom: 0; }
.memo-card ol li::before { content: counter(m); flex: none; display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); font-family: var(--font-head); font-size: .9rem; transform: translateY(.1em); }
.memo-card ol li strong { flex: none; min-width: 6.2em; background: none; font-family: var(--font-head); letter-spacing: .04em; }
.memo-card--three ol li strong { min-width: 3.4em; }
.memo-card__my { margin: .9em 0 0; padding: .6em .9em; background: var(--accent-soft); border: 2px solid var(--ink); border-radius: var(--r2); }

/* FAQ */
.entry-content .faq-item, .entry-content details { background: #fffaf0; border: 2.2px solid var(--ink); border-radius: var(--r2); padding: 12px 16px; margin: 0 0 12px; }
.entry-content details summary { font-family: var(--font-head); cursor: pointer; }

/* 확인한 자료 */
.sources { padding: 18px 22px; margin: 2.4em 0 1.4em; background: rgba(255,255,255,.55); border: 2px dashed var(--ink-soft); border-radius: var(--r1); font-size: .96rem; }
.sources h2 { font-size: 1.25rem; margin: 0 0 .4em; background: none; padding: 0; }
.sources__note { color: var(--ink-soft); margin: .6em 0 0; }
.checked { color: var(--ink-soft); font-size: .92rem; }
.entry__tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0; font-size: .92rem; }
.entry__tags a { border: 1.8px solid var(--ink); border-radius: 999px; padding: .15em .8em; text-decoration: none; color: var(--ink); background: #fffbf0; }
.entry__tags a::before { content: "#"; color: var(--orange); }

.next-up { padding: 26px 26px 22px; margin: 36px 0 0; text-align: center; background: var(--accent-soft); }
.next-up__label { font-family: var(--font-head); font-size: 1.3rem; margin: 0 0 4px; }
.next-up__text { margin: 0 0 16px; color: var(--ink-soft); }

.related { background: rgba(255,255,255,.35); border-top: 2.4px dashed rgba(48,52,47,.35); margin-top: 48px; }

/* 댓글 */
.comments { margin: 48px 0; }
.comments__title, .comment-reply-title { font-size: 1.4rem; }
.comments__list { list-style: none; padding: 0; }
.comments__list .comment-body { background: #fffaf0; border: 2px solid var(--ink); border-radius: var(--r2); padding: 14px 18px; margin: 0 0 14px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; font: inherit; padding: 10px 12px; border: 2.2px solid var(--ink); border-radius: 12px; background: #fffbf2; }
.comment-form .submit { font-family: var(--font-head); font-size: 1.05rem; padding: .7em 1.4em; background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 999px; cursor: pointer; box-shadow: 3px 4px 0 rgba(48,52,47,.85); }

/* 404 */
.notfound__box { padding: 40px 28px; text-align: center; }
.notfound__box .search-form { max-width: 360px; margin: 18px auto; }

/* ---------- 꼬리말 ---------- */
.site-footer { margin-top: 40px; background: var(--ink); color: var(--cream); padding: 44px 0 26px; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; background: var(--wave) repeat-x; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--yellow); }
.site-footer__inner { display: grid; gap: 28px; }
.site-footer__brand { display: flex; gap: 16px; align-items: center; }
.site-footer__brand .custom-logo { height: 60px; width: auto; }
.site-footer__name { font-family: var(--font-head); font-size: 1.6rem; margin: 0; line-height: 1.2; }
.site-footer__tag { margin: 0; opacity: .8; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.site-footer__h { font-family: var(--font-head); margin: 0 0 6px; color: var(--yellow); }
.site-footer ul { list-style: none; margin: 0; padding: 0; line-height: 1.9; }
.site-footer__copy { margin: 0; font-size: .85rem; opacity: .65; border-top: 1.5px dashed rgba(247,238,219,.3); padding-top: 16px; }

/* 확대 보기 */
.zoom { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.zoom::backdrop { background: rgba(32,34,30,.88); }
.zoom__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 18px; }
.zoom__img { max-width: 100%; max-height: calc(100vh - 90px); border: 3px solid var(--cream); border-radius: 12px; background: #fff; }
.zoom__cap { color: var(--cream); font-size: .95rem; margin: 10px 0 0; text-align: center; max-width: 900px; }
.zoom__close { position: absolute; right: 18px; top: 14px; font-family: var(--font-head); font-size: 1rem; background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 999px; padding: .5em 1.1em; cursor: pointer; }

/* 정적 사이트 추가 */
.video__frame iframe { background: #20211e; }
.video__notice { margin: 0 0 8px; padding: .5em .8em; background: var(--accent-soft); border: 2px solid var(--ink); border-radius: var(--r2); font-size: .95rem; }
.video__notice[hidden] { display: none; }
.search-form--wide { max-width: 420px; margin: 0 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.chips a { font-family: var(--font-head); font-size: .95rem; text-decoration: none; color: var(--ink); background: #fffbf0; border: 2px solid var(--ink); border-radius: 999px; padding: .3em .9em; }
.chips a[aria-current="page"], .chips a:hover { background: var(--accent-soft); }
.draft-banner { background: #ffe9a8; border-bottom: 2.4px dashed var(--ink); text-align: center; padding: .4em 1em; font-family: var(--font-head); }
.entry__tags a { }
.figure-original { display: inline-block; margin-left: .6em; font-size: .85rem; }
.about-box { padding: clamp(22px, 4vw, 40px); background: #fffaf0; max-width: 860px; }
