/* 치유선교학회 — site.css */
:root {
  --ink: #0f3324;
  --ink-2: #1a4a35;
  --teal: #2a6a4f;
  --mist: #e6f1eb;
  --mist-2: #f2f7f4;
  --paper: #fbfcfb;
  --white: #ffffff;
  --line: #d2e0d8;
  --line-2: #e3ece7;
  --amber: #b5802c;
  --amber-ink: #6e4b12;
  --text: #1c2628;
  --muted: #5a6a6d;
  --ok: #2f6b45;
  --warn-bg: #fff3d4;
  --warn: #8a5a00;
  --err: #a3392a;
  --err-bg: #fbebe7;
  --serif: 'Gowun Batang', 'Noto Serif KR', 'Apple SD Gothic Neo', serif;
  --sans: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --r: 6px;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.75 var(--sans); word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--ink); line-height: 1.35; letter-spacing: -0.01em; }
code { background: var(--mist); padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.inline { display: inline; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.warn-text { color: var(--warn); }

/* ── header ── */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.util { background: var(--ink); color: #cfe2d8; font-size: .82rem; }
.util-inner { display: flex; justify-content: flex-end; align-items: center; gap: 18px; min-height: 34px; flex-wrap: wrap; }
.util a, .util .linklike { color: #e7f0ee; text-decoration: none; }
.util a:hover, .util .linklike:hover { color: #fff; text-decoration: underline; }
.util-name { color: #a9c4bf; }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.badge { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--amber); color: #fff; font-size: .72rem; line-height: 18px; text-align: center; font-weight: 600; }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.emblem { width: auto; height: 58px; flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--serif); font-size: 1.62rem; letter-spacing: .02em; }
.brand-text small { font-size: .74rem; color: var(--muted); letter-spacing: .01em; margin-top: 3px; }
.gnb > ul { display: flex; list-style: none; margin: 0; padding: 0; }
.gnb-item { position: relative; }
.gnb-top { display: block; padding: 34px 20px; font-size: 1.06rem; font-weight: 600; color: var(--text); text-decoration: none; }
.gnb-item:hover .gnb-top, .gnb-item:focus-within .gnb-top { color: var(--teal); }
.gnb-sub { list-style: none; margin: 0; padding: 10px 0; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); min-width: 190px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--teal); box-shadow: 0 10px 24px rgba(15, 51, 36, .10); opacity: 0; visibility: hidden; transition: opacity .15s ease; }
.gnb-item:hover .gnb-sub, .gnb-item:focus-within .gnb-sub { opacity: 1; visibility: visible; }
.gnb-sub a { display: block; padding: 7px 20px; color: var(--text); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.gnb-sub a:hover, .gnb-sub a:focus { background: var(--mist); color: var(--ink); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r); width: 46px; height: 46px; cursor: pointer; position: relative; }
.bars, .bars::before, .bars::after { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--ink); content: ''; transition: transform .2s; }
.bars { top: 22px; } .bars::before { left: 0; top: -6px; } .bars::after { left: 0; top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

.flash { background: #e3f1e8; color: var(--ok); border-bottom: 1px solid #c7e1d0; padding: 12px 0; font-weight: 500; }
.flash.is-error { background: var(--err-bg); color: var(--err); border-color: #f0cfc7; }

/* ── home hero ── */
.hero { position: relative; overflow: hidden; color: #eef6f1; background: var(--ink) url(../img/hero-campus.jpg) center 42% / cover no-repeat; isolation: isolate; }
/* 사진 위에 짙은 녹색 유리를 한 장 덮은 효과: 흐림 + 색 + 빛 반사 */
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(9, 38, 26, .9) 0%, rgba(11, 45, 31, .78) 42%, rgba(13, 52, 36, .5) 100%);
  -webkit-backdrop-filter: blur(3px) saturate(115%); backdrop-filter: blur(3px) saturate(115%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,0) 32%), linear-gradient(180deg, rgba(255,255,255,0) 70%, rgba(255,255,255,.06) 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.38; margin: 0 0 24px; letter-spacing: -0.02em; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero-copy p { max-width: 36em; margin: 0 0 22px; color: #d3e6dc; font-size: 1.04rem; }
.hero-links { display: flex; gap: 22px; }
.hero-links a { color: #fff; font-weight: 500; }
.hero-credit { position: absolute; right: 24px; bottom: 10px; margin: 0; font-size: .72rem; color: rgba(255,255,255,.55); }
/* 원고 모집 카드: 투명한 유리판 */
.cfp { position: relative; padding: 0 26px 22px; border-radius: 10px; color: #f3f9f5;
  background: linear-gradient(150deg, rgba(255,255,255,.22), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.32); box-shadow: 0 24px 50px -18px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.cfp::before { content: ''; display: block; height: 4px; margin: 0 -26px 22px; background: var(--amber); border-radius: 10px 10px 0 0; }
.cfp-journal { font-family: var(--serif); font-size: 1.32rem; color: #fff; margin: 0 0 4px; font-weight: 700; }
.cfp h2 { font-size: 1.06rem; font-family: var(--sans); font-weight: 600; color: #fff; margin: 0 0 16px; }
.cfp .small { color: #d3e6dc; }
.cfp-dates { margin: 0 0 20px; border-top: 1px solid rgba(255,255,255,.25); }
.cfp-dates div { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.cfp-dates dt { color: #c9ded3; font-size: .9rem; }
.cfp-dates dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; }
.cfp .dday { background: rgba(255, 236, 190, .92); }
.dday { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 3px; background: var(--warn-bg); color: var(--amber-ink); font-size: .78rem; font-weight: 600; }
.dday.late { background: var(--err-bg); color: var(--err); }
.cfp-sub { display: flex; justify-content: center; gap: 16px; margin: 14px 0 0; font-size: .88rem; }
.cfp-sub a { color: #e6f3ec; }
.cfp-sub a:hover { color: #fff; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .cfp { background: rgba(16, 58, 41, .92); }
}

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; border-radius: var(--r); border: 1px solid var(--teal); background: var(--teal); color: #fff; font: 600 .95rem/1.4 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.ghost { background: transparent; color: var(--teal); }
.btn.ghost:hover { background: var(--mist); color: var(--ink); }
.btn.amber { background: var(--amber); border-color: var(--amber); color: #fff; }
.btn.amber:hover { background: #9a6b20; border-color: #9a6b20; }
.btn.danger { background: transparent; color: var(--err); border-color: #e2b7ae; }
.btn.danger:hover { background: var(--err-bg); }
.btn.small { padding: 5px 12px; font-size: .84rem; }
.btn.block { display: flex; width: 100%; padding: 13px 20px; font-size: 1.02rem; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 22px 0 0; }

/* ── home sections ── */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-top: 0; background: var(--white); }
.quick a { padding: 22px 24px; text-decoration: none; color: var(--text); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.quick a:first-child { border-left: 0; }
.quick a:hover { background: var(--mist-2); }
.quick strong { color: var(--ink); font-size: 1.02rem; }
.quick span { color: var(--muted); font-size: .86rem; }
.home-grid > *, .quick > * { min-width: 0; }
.home-grid { display: grid; grid-template-columns: 1fr 1fr 300px; gap: 40px; margin-top: 56px; }
.home-board header, .home-articles header, .home-gallery header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 4px; }
.home-board h2, .home-articles h2, .home-gallery h2 { margin: 0; font-size: 1.3rem; }
.more { font-size: .85rem; color: var(--muted); text-decoration: none; }
.more:hover { color: var(--teal); text-decoration: underline; }
.post-mini { list-style: none; margin: 0; padding: 0; }
.post-mini li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.post-mini a { color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-mini a:hover { color: var(--teal); text-decoration: underline; }
.post-mini time { color: var(--muted); font-size: .84rem; flex: none; font-variant-numeric: tabular-nums; }
.pin { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--amber-ink); background: var(--warn-bg); padding: 0 6px; border-radius: 3px; margin-right: 6px; }
.home-board.rules { background: var(--mist); padding: 20px 22px; border-radius: var(--r); }
.home-board.rules header { border-color: var(--teal); }
.rule-links { list-style: none; padding: 0; margin: 10px 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.rule-links a { display: block; padding: 5px 0; color: var(--ink); font-weight: 500; text-decoration: none; }
.rule-links a:hover { text-decoration: underline; }
.contact h3 { font-size: 1rem; margin: 0 0 4px; font-family: var(--sans); }
.contact p { margin: 0; font-size: .88rem; color: var(--muted); }
.home-articles, .home-gallery { margin-top: 56px; }
.article-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.article-list li a { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; }
.a-title { font-family: var(--serif); color: var(--ink); font-size: 1.06rem; font-weight: 700; }
.a-meta { color: var(--muted); font-size: .86rem; }
.home-gallery ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.home-gallery a { text-decoration: none; color: var(--text); font-size: .9rem; }
.home-gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-radius: 4px; display: block; margin-bottom: 6px; }
body.home main { padding-bottom: 80px; }

/* ── sub pages ── */
.subvisual { background: var(--mist); border-bottom: 1px solid var(--line); }
.subvisual .wrap { padding-top: 34px; padding-bottom: 26px; }
.sv-section { margin: 0; color: var(--teal); font-weight: 600; font-size: .9rem; }
.sv-title { margin: 2px 0 8px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.crumbs { font-size: .82rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs i { font-style: normal; color: #9aaeaa; }
.subwrap { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 48px; padding-top: 40px; padding-bottom: 96px; }
.subwrap.noside { grid-template-columns: minmax(0, 1fr); }
.lnb h2 { font-size: 1.15rem; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.lnb ul { list-style: none; margin: 0; padding: 0; }
.lnb a { display: block; padding: 9px 4px 9px 12px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-2); border-left: 3px solid transparent; font-size: .95rem; }
.lnb a:hover { color: var(--teal); background: var(--mist-2); }
.lnb a[aria-current="page"] { border-left-color: var(--amber); color: var(--ink); font-weight: 600; background: var(--mist-2); }
.content { min-width: 0; }
.content > h2:first-child { margin-top: 0; }

/* prose */
.prose { max-width: 46em; }
.prose h2 { font-size: 1.32rem; margin: 2.1em 0 .7em; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.prose h3 { font-size: 1.1rem; margin: 1.7em 0 .5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { line-height: 1.85; }
.prose ol, .prose ul { padding-left: 1.4em; }
.prose li { margin: .2em 0; }
.prose blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 3px solid var(--teal); background: var(--mist-2); color: var(--text); }
.prose blockquote p { margin: 0; }
.prose strong { color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
mark.todo { background: var(--warn-bg); color: var(--amber-ink); padding: 0 3px; border-radius: 3px; border-bottom: 1px dashed var(--amber); }
.page-updated { margin-top: 48px; font-size: .82rem; color: var(--muted); }
.admin-edit { float: right; margin: 0 0 8px 16px; }
.table-scroll { overflow-x: auto; margin: 1em 0; }
.prose table, table.data, table.board { border-collapse: collapse; width: 100%; font-size: .93rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--mist); font-weight: 600; }

/* tables */
table.data th, table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
table.data thead th { background: var(--mist-2); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); font-size: .86rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
table.data.compact th, table.data.compact td { padding: 4px 8px; font-size: .86rem; }
table.board { border-top: 2px solid var(--ink); }
table.board th { background: var(--mist-2); font-size: .86rem; color: var(--muted); font-weight: 600; padding: 11px 8px; border-bottom: 1px solid var(--line); }
table.board td { padding: 13px 8px; border-bottom: 1px solid var(--line-2); text-align: center; color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
table.board td.t { text-align: left; color: var(--text); font-size: 1rem; }
table.board td.t a { color: var(--text); text-decoration: none; }
table.board td.t a:hover { color: var(--teal); text-decoration: underline; }
table.board .no { width: 72px; } table.board .w { width: 110px; } table.board .d { width: 110px; } table.board .v { width: 64px; }
tr.pinned td { background: #fbf8ef; }
.clip { font-size: .72rem; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 0 4px; margin-left: 4px; }
.board-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.pager { display: flex; justify-content: center; gap: 4px; margin: 28px 0 0; flex-wrap: wrap; }
.pager a, .pager span { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; color: var(--text); font-size: .9rem; }
.pager span[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty-state { padding: 48px 20px; text-align: center; color: var(--muted); background: var(--mist-2); border-radius: var(--r); }

/* post */
.post-head { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: 18px 4px 14px; }
.post-head h2 { margin: 0 0 6px; font-size: 1.45rem; }
.post-meta { margin: 0; display: flex; gap: 16px; color: var(--muted); font-size: .86rem; flex-wrap: wrap; }
.attach { list-style: none; margin: 0; padding: 12px 16px; background: var(--mist-2); border-bottom: 1px solid var(--line-2); font-size: .92rem; }
.post-body { padding: 28px 4px 36px; min-height: 160px; border-bottom: 1px solid var(--line); }
.post-images { display: grid; gap: 14px; padding: 24px 4px 0; }
.post-images img { border-radius: 4px; }
.post-nav { display: grid; border-bottom: 1px solid var(--line); }
.post-nav a { display: flex; gap: 18px; padding: 12px 4px; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--line-2); }
.post-nav a span { color: var(--muted); font-size: .86rem; width: 56px; flex: none; }
.gallery-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 20px; }
.gallery-grid a { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.gallery-grid img, .gallery-grid .noimg { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-radius: 4px; background: var(--mist); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .85rem; margin-bottom: 8px; }
.gallery-grid time { color: var(--muted); font-size: .82rem; }

/* forms */
.form { display: grid; gap: 16px; max-width: 880px; }
.form.narrow { max-width: 420px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .94rem; color: var(--text); }
.form label small { font-weight: 400; color: var(--muted); font-size: .82rem; }
.form label.check { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 400; }
.form label.check input { margin-top: 6px; flex: none; }
.form label.mid { align-self: end; padding-bottom: 10px; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #b9c8c4; border-radius: var(--r); background: var(--white); color: var(--text); font: 400 1rem/1.5 var(--sans); }
textarea { resize: vertical; line-height: 1.7; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42, 106, 79, .2); }
input[type=file] { font: inherit; font-size: .9rem; padding: 8px; border: 1px dashed #b9c8c4; border-radius: var(--r); background: var(--mist-2); }
input.todo-input { background: var(--warn-bg); }
fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px 20px; margin: 0; display: grid; gap: 14px; background: var(--white); }
legend { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 1.08rem; padding: 0 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.checks-inline { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.alert { padding: 12px 16px; border-radius: var(--r); margin: 0 0 18px; }
.alert.error { background: var(--err-bg); color: var(--err); border: 1px solid #f0cfc7; }
.alert.ok { background: #e3f1e8; color: var(--ok); border: 1px solid #c7e1d0; }
.alert.warn { background: var(--warn-bg); color: var(--warn); border: 1px solid #f0dca6; }
.searchbar { display: flex; gap: 8px; margin: 0 0 22px; max-width: 640px; flex-wrap: wrap; }
.searchbar input { flex: 1 1 220px; }
.searchbar select { width: auto; }
.searchbar.small { margin: 0 0 16px; }
.searchbar.small input, .searchbar.small select { padding: 6px 10px; font-size: .9rem; }
.auth-box { max-width: 420px; }
.auth-links { display: flex; gap: 20px; font-size: .9rem; }
.two-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.two-forms h2 { margin: 0; font-size: 1.15rem; }
.lead { font-size: 1.02rem; }

/* panels — submission system */
.panel { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; margin: 0 0 22px; background: var(--white); }
.panel > h2 { font-size: 1.18rem; margin: 0 0 14px; }
.panel.action { border-color: var(--teal); border-width: 1px 1px 1px 4px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel-head h2 { margin: 0; font-size: 1.18rem; }
.editor-strip { background: var(--mist-2); }
.stat-row { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-row a { display: flex; flex-direction: column; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); text-decoration: none; color: var(--text); }
.stat-row b { font-size: 1.7rem; color: var(--ink); font-family: var(--serif); font-variant-numeric: tabular-nums; }
.stat-row span { font-size: .84rem; color: var(--muted); }
.sub-head { margin: 0 0 18px; }
.sub-head h2 { margin: 8px 0 2px; font-size: 1.45rem; }
.badge-status { display: inline-block; padding: 2px 10px; border-radius: 3px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.tone-wait { background: #eef1f6; color: #3b4d6b; }
.tone-active { background: var(--mist); color: var(--ink); }
.tone-warn { background: var(--warn-bg); color: var(--amber-ink); }
.tone-ok { background: #e3f1e8; color: var(--ok); }
.tone-end { background: #efefef; color: #555; }
.stepper { list-style: none; display: flex; margin: 0 0 26px; padding: 0; counter-reset: s; }
.stepper li { flex: 1; position: relative; text-align: center; font-size: .82rem; color: var(--muted); counter-increment: s; padding-top: 34px; }
.stepper li::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); line-height: 22px; font-weight: 600; z-index: 1; }
.stepper li::after { content: ''; position: absolute; top: 12px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.stepper li:first-child::after { display: none; }
.stepper li.done { color: var(--teal); }
.stepper li.done::before { background: var(--teal); border-color: var(--teal); color: #fff; content: '✓'; }
.stepper li.done::after, .stepper li.now::after { background: var(--teal); }
.stepper li.now { color: var(--ink); font-weight: 600; }
.stepper li.now::before { border-color: var(--amber); background: var(--amber); color: #fff; }
.stepper.ended li.now::before { background: #888; border-color: #888; }
.meta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; margin: 0 0 16px; }
.meta-grid div { padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.meta-grid dt { font-size: .8rem; color: var(--muted); }
.meta-grid dd { margin: 0; font-weight: 500; }
.abs { background: var(--mist-2); border-radius: var(--r); padding: 16px 20px; }
.abs h3 { margin: 0; font-size: 1.15rem; }
.abs h4 { margin: 14px 0 4px; font-size: .95rem; font-family: var(--sans); color: var(--muted); }
.abs p { margin: 0; }
.art-en { color: var(--muted); font-style: italic; margin: 2px 0 0; }
.kw { font-size: .9rem; margin-top: 6px !important; } .kw b { color: var(--muted); margin-right: 6px; }
.review-card { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin: 12px 0; }
.review-card header h4 { margin: 0; font-size: 1.02rem; }
.review-card header p { margin: 2px 0 8px; font-size: .9rem; }
.review-card h5 { margin: 12px 0 4px; font-size: .86rem; color: var(--muted); }
.quote { background: var(--mist-2); border-left: 3px solid var(--teal); padding: 10px 14px; font-size: .95rem; }
.quote.private { border-left-color: var(--amber); background: #fbf8ef; }
.decision { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.decision:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.decision h3 { margin: 0; font-size: 1.1rem; }
.rule-hint { background: var(--warn-bg); padding: 10px 14px; border-radius: var(--r); }
.timeline { list-style: none; margin: 14px 0 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 14px 6px; }
.timeline li::before { content: ''; position: absolute; left: -24px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.timeline li.internal::before { background: var(--amber); }
.timeline time { display: block; font-size: .8rem; color: var(--muted); }
.timeline p { margin: 2px 0 0; font-size: .92rem; color: var(--muted); }
.tag { display: inline-block; font-size: .72rem; padding: 0 6px; border-radius: 3px; background: var(--warn-bg); color: var(--amber-ink); font-family: var(--sans); vertical-align: middle; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 18px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 9px 14px; text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; font-size: .92rem; }
.tabs a b { font-weight: 600; color: var(--text); margin-left: 3px; }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.ed-nav { border-bottom: 2px solid var(--ink); }
.ed-nav a { font-size: 1rem; }
.pledge { border-left: 3px solid var(--teal); padding: 6px 0 6px 16px; }
.pledge h3 { margin: 0 0 4px; font-size: 1rem; }
.pledge p { margin: 0 0 8px; font-size: .92rem; color: var(--muted); }
.author-row { background: var(--mist-2); }
.score-table { max-width: 520px; }
.score-table input { width: 90px !important; display: inline-block; }
.score-table tr.total td, .score-table tr.total th { font-weight: 700; font-size: 1.05rem; }
.inline-form { display: flex; gap: 10px; align-items: end; margin-top: 12px; flex-wrap: wrap; }
.inline-form label { display: flex; gap: 8px; align-items: center; font-size: .9rem; }
.inline-form select { width: auto; }
.pick { list-style: none; padding: 0; } .pick li { padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.kv { margin: 0 0 6px; } .kv span { display: inline-block; width: 110px; color: var(--muted); font-size: .9rem; }
.notes { list-style: none; padding: 0; margin: 10px 0 0; }
.notes li { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.notes li.unread strong::after { content: ' 새 알림'; font-size: .72rem; color: var(--amber-ink); background: var(--warn-bg); padding: 0 5px; border-radius: 3px; margin-left: 6px; font-weight: 600; }
.notes time { display: block; font-size: .8rem; color: var(--muted); }
.notes p { margin: 2px 0; font-size: .92rem; }
.sub-intro .flow { list-style: none; padding: 0; margin: 24px 0; counter-reset: f; display: grid; gap: 0; border-top: 1px solid var(--line); }
.sub-intro .flow li { counter-increment: f; display: grid; grid-template-columns: 52px 200px 1fr; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sub-intro .flow li::before { content: counter(f); font-family: var(--serif); font-size: 1.5rem; color: var(--amber); font-weight: 700; }
.sub-intro .flow strong { color: var(--ink); }
.sub-intro .flow span { color: var(--muted); font-size: .94rem; }
pre.log { background: #0b281c; color: #d6e6e2; padding: 16px; border-radius: var(--r); overflow-x: auto; font-size: .8rem; line-height: 1.6; }
.page-editor textarea { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .9rem; }

/* journal */
.issue-list { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.issue-list a { display: flex; flex-direction: column; padding: 18px 20px; border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: 3px; text-decoration: none; background: var(--white); }
.issue-list strong { font-family: var(--serif); color: var(--ink); font-size: 1.1rem; }
.issue-list span { color: var(--muted); font-size: .88rem; }
.issue-head small { display: block; font-family: var(--sans); font-size: .88rem; color: var(--muted); font-weight: 400; margin-top: 4px; }
.art-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.art { padding: 18px 4px; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 2px; }
.art-title { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; color: var(--ink); text-decoration: none; }
.art-title:hover { text-decoration: underline; }
.art-meta { color: var(--muted); font-size: .9rem; }
.art-pdf { font-size: .86rem; align-self: flex-start; margin-top: 4px; }
.article-view h2 { font-size: 1.6rem; margin: 6px 0 4px; }
.art-issue { color: var(--teal); font-weight: 600; margin: 0; font-size: .92rem; }
.art-authors { font-weight: 500; margin: 14px 0; } .art-authors span { display: block; color: var(--muted); font-weight: 400; font-size: .9rem; }
.article-view section { margin-top: 28px; }
.article-view h3 { font-size: 1.1rem; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.result { padding-left: 1.2em; } .result li { margin: 4px 0; }
.result-count { font-weight: 600; }
.sitemap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.sitemap h2 { font-size: 1.1rem; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.sitemap ul { list-style: none; padding: 0; margin: 0; } .sitemap li { padding: 4px 0; }

/* footer */
.site-footer { background: #0b281c; color: #a6bfb2; padding: 40px 0 34px; font-size: .86rem; }
.footer-inner { display: grid; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #e8f1ef; }
.footer-brand .emblem { height: 46px; filter: drop-shadow(0 0 1px rgba(255,255,255,.55)); }
.footer-brand strong { display: block; font-family: var(--serif); font-size: 1.15rem; }
.footer-brand span { font-size: .78rem; color: #8aa49f; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 14px 0; border-top: 1px solid #224a37; border-bottom: 1px solid #224a37; }
.footer-links a { color: #d5e4e1; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-info { font-style: normal; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.copyright { margin: 0; color: #6f8d88; font-size: .8rem; }

/* ── responsive ── */
@media (max-width: 1080px) {
  .gnb-top { padding: 34px 12px; font-size: 1rem; }
  .home-grid { grid-template-columns: 1fr 1fr; }
  .home-board.rules { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .head-inner { min-height: 72px; }
  .brand-text strong { font-size: 1.35rem; }
  .emblem { height: 48px; }
  .gnb { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px rgba(0,0,0,.08); max-height: calc(100vh - 110px); overflow-y: auto; }
  .gnb.open { display: block; }
  .gnb > ul { flex-direction: column; padding: 8px 24px 18px; }
  .gnb-top { padding: 14px 0 6px; font-family: var(--serif); font-size: 1.1rem; color: var(--ink); border-top: 1px solid var(--line-2); }
  .gnb-item:first-child .gnb-top { border-top: 0; }
  .gnb-sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 8px; display: flex; flex-wrap: wrap; gap: 0 4px; min-width: 0; }
  .gnb-sub a { padding: 5px 10px 5px 0; font-size: .92rem; color: var(--muted); }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; padding-bottom: 56px; }
  .cfp { max-width: 420px; }
  .quick { grid-template-columns: 1fr 1fr; }
  .quick a:nth-child(3) { border-left: 0; }
  .quick a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .subwrap { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .lnb { margin: 0 -24px 28px; background: var(--white); border-bottom: 1px solid var(--line); overflow-x: auto; }
  .lnb h2 { display: none; }
  .lnb ul { display: flex; padding: 0 16px; white-space: nowrap; }
  .lnb a { border: 0; border-bottom: 3px solid transparent; padding: 12px 10px; background: none !important; }
  .lnb a[aria-current="page"] { border-bottom-color: var(--amber); }
  .row3 { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .sitemap { grid-template-columns: repeat(2, 1fr); }
  .meta-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero h1 br { display: none; }
  .hero-inner { padding-top: 40px; padding-bottom: 48px; }
  .subwrap { padding-bottom: 64px; }
  .lnb { margin: 0 -16px 24px; }
  .util-inner { justify-content: flex-start; gap: 12px; }
  .home-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 40px; }
  .article-list { grid-template-columns: 1fr; }
  .home-gallery ul { grid-template-columns: 1fr 1fr; }
  .row2, .row3, .two-forms { grid-template-columns: 1fr; }
  .panel { padding: 18px 16px; }
  fieldset { padding: 14px 14px 16px; }
  table.board .w, table.board .v, table.board .no { display: none; }
  table.board .d { width: 84px; }
  table.data { display: block; overflow-x: auto; }
  .stepper li { font-size: .7rem; }
  .meta-grid { grid-template-columns: 1fr; }
  .sub-intro .flow li { grid-template-columns: 36px 1fr; }
  .sub-intro .flow li span { grid-column: 2; }
  .post-head h2 { font-size: 1.25rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .admin-edit { float: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .site-header, .site-footer, .lnb, .subvisual .crumbs, .actions, .admin-edit { display: none !important; }
  .subwrap { display: block; padding: 0; }
  body { background: #fff; }
}
.past-round { margin: 14px 0; border: 1px solid var(--line-2); border-radius: var(--r); padding: 10px 14px; background: var(--mist-2); }
.past-round summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.panel > h3 { font-size: 1.02rem; margin: 18px 0 4px; }
[hidden] { display: none !important; }
.form > .btn, .form > button.btn, fieldset > .btn, fieldset > button.btn { justify-self: start; }
.form > .btn.block { justify-self: stretch; }
.prose img { display: block; width: 100%; max-width: 760px; border-radius: 4px; margin: 1.6em 0 .2em; }
.prose p > img ~ em { display: block; font-style: normal; font-size: .84rem; color: var(--muted); margin-bottom: 1.4em; }

/* 로고설명 */
.logo-hero { background: var(--mist-2); border: 1px solid var(--line); border-radius: 10px; padding: 28px; text-align: center; margin: 0 0 1.6em; }
.logo-hero img { width: 220px; max-width: 60%; height: auto; margin: 0 auto; display: inline-block; border-radius: 0; }
.prose .logo-hero img { margin: 0 auto; }
.prose .logo-figure { float: right; width: 210px; margin: 4px 0 18px 28px; }
.prose .logo-figure img { width: 100%; height: auto; margin: 0; border-radius: 12px; box-shadow: 0 10px 24px -14px rgba(15, 51, 36, .55); }
.prose h2 { clear: both; }
@media (max-width: 640px) { .prose .logo-figure { float: none; width: 60%; margin: 0 auto 16px; } }
