/* 기존 첫 화면(projects/site-migration/home) 디자인을 옮겨 온 공통 스타일 */
:root { color-scheme: light; --paper: #fff; --ink: #263d35; --muted: #58665f; --line: #dcded5; }
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 18px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #234fbc; outline-offset: 5px; }
.wrap { width: min(1440px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; left: 20px; top: -100px; background: white; padding: 12px 20px; z-index: 2; }
.skip:focus { top: 16px; }
.masthead { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 12px 22px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 25px; font-weight: 800; letter-spacing: -.8px; }
.brand svg { width: 38px; height: 38px; }
.brand { flex-shrink: 0; }
.brand-description { border-left: 1px solid #bdc7bc; padding-left: 22px; font-size: 16px; color: var(--muted); word-break: keep-all; }
.intro { display: grid; grid-template-columns: 1fr 260px; gap: 40px; align-items: center; padding-block: 60px 42px; }
.eyebrow { margin: 0 0 12px; color: #50634a; font-size: 15px; font-weight: 700; letter-spacing: 2px; }
h1 { margin: 0; font-size: clamp(34px, 3.5vw, 54px); line-height: 1.3; letter-spacing: -2px; font-weight: 750; word-break: keep-all; }
.intro p:last-child { margin: 20px 0 0; color: var(--muted); }
.illustration { width: 260px; height: 180px; }
.category-nav { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.category-nav a { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #cdd2c6; background: #fffef9; border-radius: 999px; padding: 9px 19px; font-size: 16px; font-weight: 650; min-height: 46px; }
.category-nav a:hover { background: #e9ede2; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.pe { --accent: #356949; --tint: #eaf1e6; }
.learn { --accent: #475ca0; --tint: #edf0fa; }
.vacation { --accent: #865823; --tint: #faf0dc; }
.local { --accent: #286c70; --tint: #e7f2ef; }
.classroom { --accent: #965044; --tint: #faede6; }
main { padding-bottom: 64px; }
h2 { display: flex; align-items: center; gap: 11px; margin: 0; font-size: 23px; letter-spacing: -.6px; }
h2::before { content: ""; width: 5px; height: 22px; border-radius: 4px; background: var(--accent); }
.count { color: var(--muted); font-size: 15px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fffefa; border: 1px solid var(--line); border-radius: 16px; transition: border-color .15s, box-shadow .15s; }
.card:hover, .card:focus-within { border-color: var(--accent); box-shadow: 0 4px 16px #263d350a; }
.card-link { display: flex; flex: 1; flex-direction: column; padding: 25px 26px 22px; border-radius: 16px; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; }
.icon { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 13px; background: var(--tint); color: var(--accent); }
.icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.arrow { color: var(--accent); font-size: 25px; }
h3 { margin: 0; font-size: 21px; line-height: 1.5; letter-spacing: -.65px; word-break: keep-all; overflow-wrap: anywhere; }
.card p { margin: 9px 0 0; font-size: 16px; color: var(--muted); word-break: keep-all; overflow-wrap: anywhere; }
.guide { align-self: flex-start; margin: 0 26px 22px; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; padding-block: 8px; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 25px 35px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
footer p { margin: 0; }
footer a { padding-block: 10px; text-decoration: underline; text-underline-offset: 4px; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
@media (min-width: 1800px) { body { font-size: 22px; } .wrap { width: min(1800px, calc(100% - 160px)); } h3 { font-size: 26px; } .card p, .category-nav a { font-size: 20px; } h2 { font-size: 28px; } .card-link { padding: 30px; } }
@media (max-width: 1050px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .intro { grid-template-columns: 1fr 200px; gap: 20px; } .illustration { width: 200px; } }
@media (max-width: 620px) { .wrap { width: calc(100% - 40px); } .masthead { padding-block: 20px; } .brand-description { flex-basis: 100%; border-left: 0; padding-left: 0; font-size: 15px; } .intro { display: block; padding-block: 36px 28px; } .illustration { display: none; } h1 { font-size: 35px; letter-spacing: -1.5px; } .intro p:last-child { font-size: 17px; } .category-nav { gap: 8px; padding-bottom: 26px; } .category-nav a { padding: 8px 14px; font-size: 15px; } .cards { grid-template-columns: minmax(0, 1fr); gap: 14px; } h2 { font-size: 22px; } .card-link { padding: 22px; } .card-top { margin-bottom: 14px; } .guide { margin-left: 22px; } footer { align-items: flex-start; flex-direction: column; gap: 8px; } }
.subject-help { margin: 0 0 20px; color: var(--muted); font-size: 16px; }
.subject { margin-top: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fffefa; }
.subject summary { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 16px; cursor: pointer; list-style: none; }
.subject summary::-webkit-details-marker { display: none; }
.subject summary:hover { background: var(--tint); }
.subject summary:focus-visible { outline: 3px solid #234fbc; outline-offset: 3px; }
.subject summary .icon { flex-shrink: 0; width: 42px; height: 42px; }
.subject-name { flex: 1; min-width: 0; font-size: 21px; font-weight: 700; letter-spacing: -.6px; word-break: keep-all; overflow-wrap: anywhere; }
.subject-count { flex-shrink: 0; color: var(--muted); font-size: 15px; }
.chevron { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.subject[open] > summary { background: var(--tint); border-radius: 16px 16px 0 0; border-bottom: 1px solid var(--line); }
.subject[open] > summary .chevron { transform: rotate(180deg); }
.subject > .cards { padding: 20px; }
@media (min-width: 1800px) { .subject summary { padding: 22px 28px; } .subject-name { font-size: 26px; } .subject-count, .subject-help { font-size: 20px; } }
@media (max-width: 620px) { .subject summary { gap: 10px; padding: 15px 14px; } .subject summary .icon { width: 34px; height: 34px; } .subject summary .icon svg { width: 23px; height: 23px; } .subject-name { font-size: 18px; } .subject-count { font-size: 13px; } .subject > .cards { padding: 14px; } .chevron { width: 18px; height: 18px; } }
.area { margin-top: 32px; border-top: 2px solid var(--accent); }
.area-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 22px 16px; background: var(--tint); border-radius: 0 0 12px 12px; cursor: pointer; list-style: none; }
.area-heading::-webkit-details-marker { display: none; }
.area-heading:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.area-heading:focus-visible { outline: 3px solid #234fbc; outline-offset: 4px; }
.area-heading h2 { flex: 1; min-width: 0; font-size: 28px; font-weight: 800; word-break: keep-all; overflow-wrap: anywhere; }
.area-heading h2::before { flex-shrink: 0; height: 26px; }
.area-heading .count { flex-shrink: 0; }
.area[open] > .area-heading .chevron { transform: rotate(180deg); }
.area-content { padding-top: 22px; }
.empty-subject { margin: 0; padding: 22px; color: var(--muted); font-size: 16px; }
@media (min-width: 1800px) { .area-heading { padding: 28px 24px; } .area-heading h2 { font-size: 34px; } .count, .empty-subject, .brand-description { font-size: 20px; } }
@media (max-width: 620px) { .area { margin-top: 26px; } .area-heading { gap: 8px; padding: 18px 12px; } .area-heading h2 { font-size: 23px; gap: 8px; } .area-heading .count { font-size: 13px; } .area-content { padding-top: 16px; } .empty-subject { padding: 18px 14px; } }
@media (prefers-reduced-motion: reduce) { .card, .chevron { transition: none; } }

/* ── 회원·관리자 기능용 기본 스타일 (디자인 다듬기 전) ── */
.top-nav { display: flex; gap: 6px; margin-left: auto; }
.top-nav a { padding: 8px 14px; border-radius: 999px; font-weight: 650; font-size: 16px; }
.top-nav a:hover { background: #e9ede2; }
.account { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.who { color: var(--muted); font-size: 15px; }
.notice { flex-basis: 100%; margin: 4px 0 0; padding: 12px 16px; border-radius: 12px; background: #fff6dc; color: #5b4a1c; font-size: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 7px 16px; border: 1px solid #314f3f; border-radius: 10px; background: #314f3f; color: #fff; font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; }
.btn:hover { background: #263d35; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-quiet { background: #fffef9; color: var(--ink); border-color: #cdd2c6; }
.btn-quiet:hover { background: #e9ede2; }
.btn-danger { background: #9b3b2e; border-color: #9b3b2e; }
.btn:focus-visible { outline: 3px solid #234fbc; outline-offset: 3px; }
.badge { display: inline-block; padding: 1px 9px; border-radius: 999px; background: #e7ece3; color: #2f4d3c; font-size: 13px; font-weight: 700; vertical-align: middle; }
.badge-draft { background: #f6e3c9; color: #6e4614; }
.state-box { margin-block: 32px; padding: 28px; border: 1px dashed #c4cabd; border-radius: 16px; text-align: center; color: var(--muted); }
.state-box p { margin: 0 0 12px; }

.recent { padding-block: 10px 48px; }
.recent-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.recent-head a { text-decoration: underline; text-underline-offset: 4px; font-size: 16px; }
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 16px 6px; }
.post-list a:hover .post-title { text-decoration: underline; }
.post-title { flex: 1; min-width: 12em; font-weight: 700; word-break: keep-all; }
.post-date { color: var(--muted); font-size: 15px; }
.post-empty { padding: 18px 6px; color: var(--muted); }

.page { padding-block: 32px 64px; min-height: 50vh; }
.page-title { font-size: clamp(28px, 3vw, 40px); letter-spacing: -1px; margin: 0 0 18px; }
.page-note { color: var(--muted); }
.post { max-width: 820px; }
.post-meta { color: var(--muted); font-size: 15px; }
.post-meta a { text-decoration: underline; text-underline-offset: 3px; }
.post-body { font-size: 18px; line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
.post-body img { display: block; max-width: 100%; height: auto; border-radius: 12px; margin-block: 12px; }
.post-body a { color: #234fbc; text-decoration: underline; }
.post-body blockquote { margin: 16px 0; padding: 4px 18px; border-left: 4px solid #b7c4b0; color: var(--muted); }
.embed { position: relative; aspect-ratio: 16 / 9; margin-block: 18px; border-radius: 12px; overflow: hidden; background: #e6e8dc; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-doc { aspect-ratio: 4 / 3; }
.attachments ul { list-style: none; padding: 0; }
.attachments li { margin-bottom: 16px; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tabs a { padding: 9px 18px; border: 1px solid #cdd2c6; border-radius: 999px; font-weight: 650; background: #fffef9; }
.tabs a[aria-current="page"] { background: #314f3f; color: #fff; border-color: #314f3f; }
.flash { padding: 12px 16px; border-radius: 12px; background: #e7f2ea; }
.flash-error { background: #fbe4df; color: #7a2a1f; }
.rows { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); }
.row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.row .icon { width: 38px; height: 38px; }
.row .icon svg { width: 22px; height: 22px; }
.row-title { flex: 1; min-width: 10em; font-weight: 700; }
.row-title small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.row-meta { color: var(--muted); font-size: 14px; }
.depth-1 { padding-left: 40px; }
.vis-public { border-color: #356949; color: #356949; }
.confirm { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 15px; }
.form { display: grid; gap: 14px; max-width: 760px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fffefa; }
.form h2 { margin: 0; }
.form label { display: grid; gap: 6px; font-weight: 650; font-size: 16px; }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea { font: inherit; font-size: 16px; padding: 9px 12px; border: 1px solid #c4cabd; border-radius: 10px; background: #fff; min-width: 0; }
.form fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; display: grid; gap: 6px; }
.form legend { font-weight: 700; padding-inline: 6px; }
.form .check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.check-sub { padding-left: 28px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hint { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 6px; }
.editor { min-height: 260px; padding: 16px; border: 1px solid #c4cabd; border-radius: 12px; background: #fff; }
.editor:focus { outline: 3px solid #234fbc; outline-offset: 2px; }
.attach-row { display: grid; grid-template-columns: 1fr 2fr auto; gap: 8px; margin-bottom: 8px; }
@media (max-width: 620px) {
  .top-nav { margin-left: 0; }
  .attach-row { grid-template-columns: 1fr; }
  .form { padding: 16px; }
}

/* 공통 블로그 레이아웃 */
body { font-size: 15px; background: #fff; overflow-wrap: anywhere; }
.wrap { width: min(1180px, calc(100% - 64px)); }
:focus-visible { outline: 3px solid #234fbc; outline-offset: 3px; }
.masthead { display: block; padding: 28px 0 0; border: 0; }
.blog-cover { display: flex; align-items: center; justify-content: space-between; min-height: 238px; padding: 28px 64px; background: #edf2e9; border-top: 4px solid #314f3f; }
.blog-title { font-size: clamp(36px, 4vw, 52px); line-height: 1.2; font-weight: 800; letter-spacing: -2px; }
.blog-cover p { margin: 12px 0 0; color: #435e4d; }
.blog-cover .cover-note { margin: 0 0 16px; font-size: 12px; letter-spacing: 2px; }
.blog-cover .illustration { display: block; flex-shrink: 0; width: 260px; height: 180px; }
.top-nav { gap: 0; margin: 0; padding: 6px 14px; border-bottom: 1px solid #aab7aa; }
.top-nav a { padding: 10px 24px; border-radius: 0; font-size: 14px; }
.top-nav a[aria-current] { color: #314f3f; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.top-nav a + a::before { content: ''; position: absolute; margin-left: -24px; height: 14px; margin-top: 5px; border-left: 1px solid var(--line); }
.blog-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 44px; padding-top: 32px; align-items: start; }
.blog-sidebar { min-width: 0; font-size: 14px; }
.profile { border: 1px solid var(--line); padding: 24px 20px; background: #fafcf9; }
.profile .brand { display: flex; align-items: flex-start; flex-direction: column; gap: 12px; font-size: 21px; }
.profile .brand svg { width: 64px; height: 64px; }
.profile p { color: var(--muted); margin: 14px 0 20px; line-height: 1.8; }
.account { align-items: stretch; }
.account .who { flex-basis: 100%; margin-bottom: 5px; }
.account .btn { flex: 1; padding-inline: 10px; }
.profile .notice { font-size: 13px; margin-bottom: 0; padding: 12px; }
.sidebar-fold { margin-top: 28px; border-block: 1px solid var(--line); padding-block: 14px; }
.sidebar-fold > summary { font-weight: 750; cursor: pointer; padding: 7px 0; }
#blog-categories { padding-top: 12px; }
#blog-categories a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 3px; }
#blog-categories a:hover, #blog-categories a[aria-current] { background: #eaf0e6; color: #294b36; }
#blog-categories a[aria-current] { font-weight: 750; box-shadow: inset 3px 0 #314f3f; }
.category-count { color: var(--muted); flex-shrink: 0; font-size: 12px; }
.category-area { margin-top: 8px; }
.category-area > a { font-weight: 650; }
.category-branch { margin-left: 12px; }
.category-branch summary { font-size: 12px; color: var(--muted); cursor: pointer; padding: 7px 8px; }
.category-branch ul { list-style: none; padding: 0 0 0 10px; margin: 0; border-left: 1px solid var(--line); }
.sidebar-recent { margin-top: 26px; }
.sidebar-recent h2 { font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.sidebar-recent ul { list-style: none; margin: 8px 0; padding: 0; }
.sidebar-recent a { display: block; padding: 8px 0; }
.sidebar-recent a:hover { text-decoration: underline; }
.muted { color: var(--muted); padding-block: 8px; }
.blog-main { min-width: 0; width: 100%; padding: 0 0 64px; min-height: 55vh; }
.category-heading { border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.eyebrow { font-size: 12px; letter-spacing: 1px; margin: 0 0 8px; }
.page-title { font-size: 27px; letter-spacing: -1px; line-height: 1.5; }
.page-title .count { margin-left: 8px; white-space: nowrap; font-weight: 400; font-size: 13px; }
h2 { font-size: 19px; }
h2::before { display: none; }
.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: #fff; border-radius: 6px; --accent: #314f3f; --tint: #edf2e9; }
.card-link { padding: 20px; border-radius: 6px; }
.card-top { margin-bottom: 14px; }
.card h3 { font-size: 18px; }
.card p { font-size: 14px; }
.icon { width: 42px; height: 42px; border-radius: 8px; }
.guide { margin: 0 20px 14px; font-size: 13px; }
.app-group { margin-top: 28px; }
.app-group h2 { margin-bottom: 14px; }
.app-group h2 a:hover { text-decoration: underline; }
.empty-subject { font-size: 14px; padding: 18px 0; }
.state-box { border-radius: 4px; background: #fafbf9; margin: 24px 0 32px; padding: 36px 20px; }
.btn { border-radius: 4px; font-size: 14px; }
.btn-quiet { background: #fff; }
.recent { padding-top: 30px; margin-top: 36px; border-top: 2px solid #314f3f; }
.recent-head a { font-size: 13px; }
.post-title { min-width: 0; overflow-wrap: anywhere; }
.post-date { font-size: 12px; }
.post-list a { padding: 20px 4px; }
.blog-feed a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
.blog-feed .post-title { font-size: 19px; }
.post-badges { grid-column: 1 / -1; display: flex; gap: 6px; }
.post-badges:empty { display: none; }
.post-excerpt { grid-column: 1 / -1; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--muted); margin: 0; font-size: 14px; line-height: 1.8; }
.post-excerpt:empty { display: none; }
.post { max-width: 820px; margin-inline: auto; }
.post > .page-title { padding-bottom: 24px; border-bottom: 1px solid var(--line); font-size: 32px; }
.post-body { padding-top: 14px; font-size: 17px; line-height: 1.95; }
.post-body pre { white-space: pre-wrap; }
.post-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; }
.form { width: 100%; border-radius: 6px; background: #fafbf9; }
.form, .form fieldset, .form label, .form input, .form select, .form textarea, .editor { min-width: 0; max-width: 100%; }
.form fieldset, .form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea, .editor { border-radius: 4px; }
.row-title { overflow-wrap: anywhere; min-width: min(10em, 100%); }
.tabs a { border-radius: 4px; font-size: 14px; }
footer { font-size: 12px; }
@media (max-width: 960px) {
  .wrap { width: calc(100% - 40px); }
  .blog-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 28px; }
  .blog-cover { padding-inline: 36px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .masthead { padding-top: 16px; }
  .blog-cover { min-height: 190px; padding: 24px; position: relative; overflow: hidden; }
  .blog-cover > div { position: relative; z-index: 1; }
  .blog-cover .illustration { position: absolute; width: 140px; height: 110px; right: -24px; top: -12px; opacity: .32; }
  .blog-title { font-size: 38px; }
  .blog-cover p { font-size: 13px; }
  .top-nav { justify-content: center; }
  .blog-layout { display: block; padding-top: 20px; }
  .profile { padding: 16px; }
  .profile .brand { flex-direction: row; align-items: center; font-size: 19px; }
  .profile .brand svg { width: 40px; height: 40px; }
  .profile > p { margin-block: 10px; font-size: 13px; }
  .profile > p br { display: none; }
  .account { justify-content: flex-start; }
  .account .btn { flex: none; }
  .sidebar-fold { margin-top: 16px; margin-bottom: 28px; padding-block: 6px; }
  .sidebar-recent { display: none; }
  .page-title { font-size: 23px; }
  .page-title .count { font-size: 12px; }
  .post > .page-title { font-size: 27px; }
  .blog-feed a { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .blog-feed .post-title { font-size: 18px; }
  .post-list a { align-items: flex-start; }
  .post-list .post-title { flex-basis: 100%; }
  .post-body { font-size: 16px; }
  .post-body ul, .post-body ol { padding-left: 24px; }
  .form { padding: 14px; }
  .attach-row { grid-template-columns: minmax(0, 1fr); }
  .form fieldset { padding: 10px; }
  .blog-main { padding-bottom: 40px; }
}

/* ── 관리자가 올린 대문·배경 사진, 게시판 ── */
.blog-cover.has-photo { background-size: cover; background-position: center; position: relative; }
.blog-cover.has-photo .illustration { display: none; }
.blog-cover.has-photo > div { background: rgba(255, 255, 255, .86); padding: 18px 24px; border-radius: 14px; max-width: min(560px, 100%); }
body.has-background { background-size: cover; background-attachment: fixed; background-position: center; }
body.has-background .blog-layout, body.has-background .masthead, body.has-background footer { background: rgba(255, 255, 255, .94); }
.sidebar-boards { padding-block: 18px; border-top: 1px solid var(--line); }
.sidebar-boards h2 { font-size: 16px; margin: 0 0 8px; }
.sidebar-boards ul { list-style: none; margin: 0; padding: 0; }
.sidebar-boards a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 15px; }
.sidebar-boards a:hover, .sidebar-boards a[aria-current="page"] { background: #e9ede2; font-weight: 700; }
.post-board { color: #356949; font-size: 14px; font-weight: 700; }
.site-image { margin-bottom: 20px; }
.site-image-preview { display: block; max-width: 100%; max-height: 260px; border-radius: 12px; border: 1px solid var(--line); object-fit: cover; }

/* 관리자 · 사이트 잠금 · 사람별 로그인 */
.row:has(.people) { flex-wrap: wrap; }
.people-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0; }
.people-table th, .people-table td { text-align: left; padding: 4px 6px; border-bottom: 1px solid #e3e7ee; }
.people-table input { font-size: 14px; padding: 4px 6px; }

/* 자료실 파일 (2026-11-23) */
.file-list { list-style: none; margin: 8px 0; padding: 0; }
.file-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.file-list li > span { flex: 1 1 220px; word-break: break-all; }
.file-list small { color: var(--muted); margin-left: 4px; }
.file-preview { flex-basis: 100%; }
.file-preview img, .file-preview video { max-width: 100%; max-height: 70vh; border-radius: 10px; display: block; }
.file-preview audio { width: 100%; }
.file-err { flex-basis: 100%; margin: 0; color: #7a2a1f; }
.upl-row { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: 14px; }
.upl-row progress { flex: 1; max-width: 300px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.page-title .btn { font-size: 15px; vertical-align: middle; margin-left: 8px; }
.prog-meta { margin: 8px 0 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.card-program .card-link { cursor: pointer; }
