/* 공개 웹 — 앱(public/app.css)의 "여름 사탕" 토큰을 그대로 옮긴 작은 판. 디자인팀 시안이 오면 바꾼다 */
:root { --bg: #fff7e6; --surface: #fff; --text: #3a2a20; --muted: #9a8574; --ink: #3a2a20; --butter: #ffd45c; --pink-deep: #e2557d; --pink-soft: #ffe3ea; --line: #f1e3c8; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 17px/1.7 "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif; }
a { color: var(--pink-deep); }
img { max-width: 100%; height: auto; display: block; border: 2px solid var(--ink); border-radius: 14px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 2px solid var(--ink); background: var(--surface); }
.top nav a, .foot nav a { margin-left: 14px; color: var(--text); text-decoration: none; display: inline-block; min-height: 40px; line-height: 40px; }
.brand { font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; }
main { max-width: 760px; margin: 0 auto; padding: 16px; }
h1 { font-size: 28px; line-height: 1.3; margin: 8px 0 12px; }
h2 { font-size: 21px; margin: 32px 0 8px; }
.meta, .byline, .sub { color: var(--muted); font-size: 14px; margin: 0; }
.lead { color: var(--muted); }
figure { margin: 16px 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.stop .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--butter); border: 2px solid var(--ink); font-size: 16px; }
.tip { background: var(--pink-soft); border: 2px solid var(--ink); border-radius: 12px; padding: 10px 12px; }
.toc { background: var(--surface); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 12px 12px 36px; box-shadow: 3px 3px 0 var(--ink); }
.tags a, .tags span { margin-right: 8px; }
.credits { font-size: 14px; color: var(--muted); border-top: 2px dashed var(--line); margin-top: 32px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { display: block; background: var(--surface); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 3px 3px 0 var(--ink); padding: 10px; color: var(--text); text-decoration: none; }
.card img { border-radius: 10px; margin-bottom: 8px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.card img.whole { object-fit: contain; background: var(--line); } /* 공공누리 3유형: 자르지 않음 */
.card b { display: block; font-size: 17px; line-height: 1.4; }
.pager { display: flex; justify-content: center; gap: 16px; margin: 24px 0; }
.pager a, .pager span { min-height: 40px; line-height: 40px; }
.foot { text-align: center; color: var(--muted); font-size: 13px; padding: 24px 16px; border-top: 2px solid var(--ink); margin-top: 40px; }
.foot nav a { margin: 0 8px; }
/* 약관 · 처리방침 표: 390px 에서 표만 옆으로 밀고 페이지는 안 넘침 */
.doc .table { overflow-x: auto; margin: 12px 0; border: 2px solid var(--ink); border-radius: 12px; background: var(--surface); }
.doc table { border-collapse: collapse; font-size: 14px; line-height: 1.55; min-width: 560px; }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--pink-soft); white-space: nowrap; }
.doc a { overflow-wrap: anywhere; }

/* A4 공공 사진: 자르지 않음 (공공누리 3유형 변경 금지) */
.kto-photos figure{margin:0 0 12px}
.kto-pic{display:block;width:100%;height:auto;object-fit:contain}
.kogl,.note{font-size:13px;color:#6b5a52}
.places{padding-left:18px}
