/* 로고 원본을 받으면 이 색만 바꾸면 사이트 전체가 따라온다. */
:root {
  --brand: #512977;
  --brand-2: #68347b;
  --brand-3: #7e4281;
  --brand-4: #986b9c;
  --brand-tint: #dccde6;
  --deep: #2b1643;
  --deep-2: #3a1f58;
  --ink: #16121f;
  --ink-2: #5a5468;
  --line: #e3dfe9;
  --ground: #ffffff;
  --ground-2: #f4f2f7;
  --warn: #9a3412;
  --warn-bg: #fdeee6;
  --ok: #0c6b4e;
  --ok-bg: #e3f2ec;
  --on-dark: #ffffff;
  --on-dark-2: #d7cce3;
  --font: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 450;
  letter-spacing: -0.012em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.hero :focus-visible, .sec-dark :focus-visible, .site-footer :focus-visible, .cta :focus-visible { outline-color: var(--brand-tint); }

.wrap { max-width: 1320px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ground); padding: 8px 16px; }
.muted { color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px;
  border: 1px solid transparent; border-radius: 0;
  background: none; cursor: pointer;
  font-size: 16px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--deep); }
.hero .btn-primary, .cta-dark .btn-primary { background: #fff; color: var(--brand); }
.hero .btn-primary:hover { background: var(--brand-tint); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--brand); border-color: #fff; }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.text-link { display: inline-block; font-size: 16px; font-weight: 650; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--brand); }
.sec-dark .text-link:hover { color: var(--brand-tint); }
.link-danger { background: none; border: 0; padding: 0; color: var(--warn); font-size: 15px; font-weight: 600; text-decoration: underline; cursor: pointer; }

.arrow { display: block; width: 26px; height: 12px; position: relative; flex: none; }
.arrow::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; }
.arrow::after { content: ''; position: absolute; right: 0; top: 50%; width: 9px; height: 9px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(-50%) rotate(45deg); }

/* 상단 메뉴 */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--ground); border-bottom: 1px solid var(--line); }
.site-header-in { display: flex; align-items: center; gap: 40px; min-height: 76px; }
.brand { display: flex; flex-direction: column; text-decoration: none; flex: none; }
.brand img { width: clamp(240px, 24vw, 340px); height: auto; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex: 1; }
.site-nav > ul { display: flex; gap: 36px; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a { display: block; padding: 25px 0; font-size: 16px; font-weight: 600; text-decoration: none; }
.site-nav > ul > li > a:hover, .site-nav > ul > li > a[aria-current] { color: var(--brand); }
.site-nav li ul { display: none; position: absolute; left: -20px; top: 100%; min-width: 170px; padding: 10px 0; background: var(--ground); border: 1px solid var(--line); border-top: 0; }
.site-nav li:hover > ul, .site-nav li:focus-within > ul { display: block; }
.site-nav li ul a { display: block; padding: 8px 20px; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.site-nav li ul a:hover { color: var(--brand); }
.site-actions { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 550; }
.site-actions a { text-decoration: none; }
.site-actions a:hover { color: var(--brand); }
.site-actions button { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 550; color: var(--ink-2); }
.site-actions .btn-mini { padding: 8px 14px; background: var(--brand); color: #fff; }
.site-actions .btn-mini:hover { background: var(--deep); color: #fff; }
.nav-toggle { display: none; margin-left: auto; padding: 8px 0; background: none; border: 0; font-weight: 650; cursor: pointer; }

/* 메인 첫 화면 */
.hero { position: relative; overflow: hidden; background: var(--deep); color: var(--on-dark); display: flex; flex-direction: column; min-height: min(86vh, 860px); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scene { object-position: 72% 50%; animation: drift 24s ease-in-out infinite alternate; }
.hero.has-scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 12, 40, .9) 0%, rgba(24, 12, 40, .7) 38%, rgba(24, 12, 40, .15) 72%, rgba(24, 12, 40, 0) 100%), linear-gradient(0deg, rgba(24, 12, 40, .75) 0%, rgba(24, 12, 40, 0) 30%); }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  .hero-scene { animation: none; }
}
.hero.has-photo::after { content: ''; position: absolute; inset: 0; background: rgba(43, 22, 67, .62); }
.hero-in, .hero-notices { position: relative; z-index: 1; width: 100%; }
.hero-in { flex: 1; padding-block: clamp(56px, 9vh, 104px) 56px; }
.hero-kicker { font-size: 16px; font-weight: 600; color: var(--on-dark-2); margin-bottom: 28px; }
.hero h1 { font-size: clamp(38px, 6.1vw, 92px); line-height: 1.14; font-weight: 750; letter-spacing: -0.042em; }
.hero-sub { margin-top: 28px; max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); color: var(--on-dark-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-notices ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .28); }
.hero-notices li + li { border-left: 1px solid rgba(255, 255, 255, .28); }
.hero-notices a { display: block; height: 100%; padding: 20px 24px 26px; text-decoration: none; }
.hero-notices li:first-child a { padding-left: 0; }
.hero-notices time { display: block; font-size: 14px; color: var(--on-dark-2); margin-bottom: 4px; }
.hero-notices span { display: block; font-size: 17px; font-weight: 600; line-height: 1.45; }
.hero-notices a:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* 구역 */
.sec { padding-block: clamp(64px, 9vw, 128px); }
.sec-line { border-top: 1px solid var(--line); }
.sec-grid { display: grid; grid-template-columns: 3fr 9fr; gap: 24px clamp(24px, 4vw, 56px); }
.sec-grid > * { min-width: 0; }
.sec-label { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.6; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.2; font-weight: 720; letter-spacing: -0.035em; }
.statement { font-size: clamp(27px, 3.7vw, 50px); line-height: 1.32; font-weight: 680; letter-spacing: -0.036em; margin-bottom: 36px; text-wrap: pretty; }

.biz-list { border-top: 1px solid var(--ink); }
.biz-row { display: grid; grid-template-columns: 4fr 7fr 26px; align-items: center; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: color .15s, padding .2s; }
a.biz-row:hover { color: var(--brand); padding-left: 12px; }
.biz-row strong { font-size: clamp(21px, 2.1vw, 28px); font-weight: 680; letter-spacing: -0.03em; line-height: 1.3; }
.biz-row p { color: var(--ink-2); font-size: 17px; }
.biz-list-page .biz-row { grid-template-columns: 4fr 8fr; align-items: start; padding: 40px 0; }

/* 회원사 카드 */
.co-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 24px; }
.co-card { display: block; text-decoration: none; min-width: 0; }
.co-image { aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.co-image img { width: 100%; height: 100%; object-fit: contain; padding: 12%; transition: transform .35s; }
.co-card:hover img { transform: scale(1.03); }
.co-image span { padding: 16px; text-align: center; font-size: 20px; font-weight: 700; letter-spacing: -0.03em; color: var(--brand); }
.co-text { padding-top: 14px; }
.co-tag { display: block; font-size: 14px; font-weight: 650; color: var(--brand); margin-bottom: 2px; }
.co-text strong { display: block; font-size: 20px; line-height: 1.35; font-weight: 680; letter-spacing: -0.025em; }
.co-card:hover strong { color: var(--brand); }
.co-text p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* 제휴 혜택 */
.sec-dark { background: var(--deep); color: var(--on-dark); }
.benefit-list { border-top: 1px solid rgba(255, 255, 255, .28); margin-bottom: 32px; }
.benefit-row { display: grid; grid-template-columns: 90px minmax(0, 4fr) minmax(0, 6fr) 26px; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); text-decoration: none; }
.benefit-cat { font-size: 14px; font-weight: 600; color: var(--on-dark-2); }
.benefit-name { font-size: 21px; font-weight: 660; letter-spacing: -0.025em; line-height: 1.35; }
.benefit-text { font-size: 18px; font-weight: 600; color: var(--brand-tint); line-height: 1.45; }
.benefit-row:hover .benefit-name { text-decoration: underline; text-underline-offset: 5px; }
.benefit-light { border-top-color: var(--ink); }
.benefit-light .benefit-row { border-bottom-color: var(--line); }
.benefit-light .benefit-cat { color: var(--ink-2); }
.benefit-light .benefit-text { color: var(--brand); }
.benefit-big { font-size: clamp(25px, 3vw, 38px); line-height: 1.3; font-weight: 700; letter-spacing: -0.03em; color: var(--brand); margin-block: 16px 28px; }
.partner-head { display: flex; align-items: center; gap: 24px; margin-top: 16px; }
.partner-head img { width: 120px; height: 80px; object-fit: contain; border: 1px solid var(--line); padding: 8px; }

/* 활동 사진 */

.cta { background: var(--ground-2); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 56px; }
.cta p { font-size: clamp(23px, 2.7vw, 34px); font-weight: 680; letter-spacing: -0.03em; line-height: 1.3; }

/* 맨 아래 */
.site-footer { background: var(--deep); color: var(--on-dark-2); padding-block: 64px; }
.footer-logo { width: min(340px, 100%); height: auto; margin-bottom: 20px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-info strong { display: block; color: #fff; font-size: 18px; font-weight: 650; margin-bottom: 8px; }
.footer-info p { font-size: 15px; }
.footer-links { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 40px; font-size: 15px; }
.footer-links a { text-decoration: none; color: #fff; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 내부 페이지 */
.page-head { padding-block: clamp(48px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(36px, 5vw, 68px); line-height: 1.15; font-weight: 730; letter-spacing: -0.04em; }
.page-head p { margin-top: 14px; max-width: 42em; color: var(--ink-2); font-size: 18px; }
.page-head .wrap { padding-bottom: 36px; }
.page-head .wrap:has(.tabs) { padding-bottom: 0; }
.tabs { display: flex; gap: 28px; margin-top: 40px; overflow-x: auto; }
.tabs a { flex: none; padding-bottom: 14px; font-size: 16px; font-weight: 600; color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.page-body { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 112px); }

.prose { max-width: 42em; }
.prose p + p { margin-top: 1em; }
.prose h2 { margin-block: 1.8em .5em; font-size: 22px; font-weight: 680; letter-spacing: -0.025em; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose-offset { margin-left: 25%; }
.about-values { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--ink); }
.value-list { display: flex; flex-wrap: wrap; gap: 8px 40px; font-size: clamp(20px, 2vw, 26px); font-weight: 640; letter-spacing: -0.025em; }

.greeting { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.greeting > :only-child { grid-column: 1 / -1; }
.greeting img { width: 100%; }
.greeting h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.3; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 28px; }
.sign { margin-top: 36px; color: var(--ink-2); }
.sign strong { color: var(--ink); font-size: 21px; font-weight: 680; margin-left: 8px; }

.org { display: flex; flex-direction: column; gap: 36px; }
.org-tier { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 1px solid var(--ink); }
.org-tier:first-child { grid-template-columns: minmax(0, 340px); border-top: 0; }
.org-node { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.org-tier:first-child .org-node { padding: 24px; background: var(--brand); color: #fff; border: 0; }
.org-tier:first-child .org-node span { color: var(--brand-tint); }
.org-tier:first-child .org-node small { color: var(--on-dark-2); }
.org-tier:first-child .org-node strong { font-size: 30px; }
.org-node span { font-size: 14px; font-weight: 650; color: var(--brand); }
.org-node strong { font-size: 22px; font-weight: 680; letter-spacing: -0.025em; line-height: 1.4; }
.org-node small { font-size: 14px; color: var(--ink-2); }

.info-list { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 16px; margin-block: 24px; }
.info-list dt { font-size: 15px; font-weight: 600; color: var(--ink-2); padding-top: 1px; }
.info-list dd { font-size: 16px; font-weight: 520; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; border-top: 1px solid var(--ink); margin-bottom: 72px; }
.steps li { counter-increment: step; padding: 22px 24px 0 0; }
.steps li::before { content: counter(step); display: block; font-size: 15px; font-weight: 700; color: var(--brand); margin-bottom: 18px; }
.steps strong { display: block; font-size: 22px; font-weight: 680; letter-spacing: -0.025em; }
.steps p { margin-top: 6px; font-size: 16px; color: var(--ink-2); }
.join-sec { padding-block: 32px; border-top: 1px solid var(--line); }
.fee-table { width: 100%; max-width: 640px; border-collapse: collapse; }
.fee-table th, .fee-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 550; }
.fee-table td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; }
.join-cta { padding-top: 32px; border-top: 1px solid var(--line); }

.list-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
.list-tools-end { display: flex; align-items: stretch; gap: 8px; }
.filter { display: flex; flex-wrap: wrap; gap: 6px 22px; flex: 1 1 500px; margin-bottom: 8px; }
.filter a { font-size: 16px; font-weight: 600; color: var(--ink-2); text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.filter a:hover { color: var(--ink); }
.filter a[aria-current] { color: var(--ink); border-bottom-color: var(--brand); }
.search { display: flex; border: 1px solid var(--line); }
.search input { width: 180px; min-height: 42px; border: 0; padding: 0 12px; background: none; font-size: 15px; }
.search button { border: 0; background: none; padding: 0 12px; font-size: 15px; font-weight: 600; cursor: pointer; }
.empty { padding: 56px 0; color: var(--ink-2); font-size: 18px; }
.pager { display: flex; gap: 4px; margin-top: 48px; }
.pager a, .pager span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: 15px; font-weight: 600; }
.pager span { background: var(--ink); color: #fff; }

.back { display: inline-block; margin-bottom: 28px; font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.back::before { content: '←'; margin-right: 8px; }
.back:hover { color: var(--ink); }
.co-detail-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.co-detail h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.2; font-weight: 720; letter-spacing: -0.035em; }
.co-summary { margin-top: 12px; font-size: 19px; color: var(--ink-2); }
.co-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.co-about { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--ink); }
.co-edit { display: flex; gap: 16px; margin-top: 18px; font-size: 15px; }
.co-edit a { color: var(--brand); font-weight: 600; }

/* 회사 소개: 블로그처럼 쌓은 글·사진·파일 */
.story { display: flex; flex-direction: column; gap: 36px; max-width: 900px; }
.story-text h3, .story-file h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.story-text p + p { margin-top: 12px; }
.story-image { margin: 0; }
.story-image img { display: block; width: 100%; height: auto; background: var(--ground-2); }
.story-image figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.story-file { display: flex; flex-direction: column; gap: 12px; }
.file-card { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; max-width: 560px; }
.file-card:hover { border-color: var(--brand); }
.file-ext { flex: none; min-width: 52px; padding: 6px 8px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; text-align: center; }
.file-name { flex: 1; font-weight: 600; overflow-wrap: anywhere; }
.file-down { flex: none; font-size: 14px; color: var(--brand); font-weight: 600; }

/* 회사 소개 꾸미기 편집 화면 */
.story-link { margin-bottom: 24px; }
.story-list { display: flex; flex-direction: column; gap: 20px; margin: 28px 0 0; padding: 0; list-style: none; }
.story-item { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; padding: 20px; border: 1px solid var(--line); }
.story-item .story-image img { max-height: 320px; width: auto; max-width: 100%; }
.story-tools { display: flex; flex-direction: column; gap: 12px; }
.story-tools summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.story-tools details .form-grid { margin-top: 12px; grid-template-columns: minmax(0, 1fr); }
.story-move { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.story-add-title { margin-top: 48px; font-size: 22px; font-weight: 700; }
.story-add { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 16px; }
.story-add form { margin: 0; padding: 20px; background: var(--ground-2); grid-template-columns: minmax(0, 1fr); align-content: start; }
.story-add h3 { font-size: 18px; font-weight: 700; }
@media (max-width: 900px) {
  .story-item, .story-add { grid-template-columns: minmax(0, 1fr); }
}

.post-list { border-top: 1px solid var(--ink); }
.post-list a { display: flex; align-items: center; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.post-list strong { flex: 1; min-width: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.post-list a:hover strong { color: var(--brand); }
.post-list time, .file-count { flex: none; font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.badge { flex: none; padding: 1px 8px; font-size: 13px; font-weight: 650; color: var(--brand); border: 1px solid var(--brand); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.gallery-grid a { text-decoration: none; min-width: 0; }
.gallery-thumb { aspect-ratio: 3 / 2; background: var(--ground-2); overflow: hidden; margin-bottom: 12px; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid strong { display: block; font-size: 18px; font-weight: 620; letter-spacing: -0.02em; line-height: 1.4; }
.gallery-grid time { font-size: 15px; color: var(--ink-2); }
.post h1 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.25; font-weight: 720; letter-spacing: -0.035em; max-width: 24em; }
.post > time { display: block; margin-block: 12px 36px; color: var(--ink-2); font-size: 15px; }
.post-images { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; max-width: 900px; }
.file-list { margin-top: 28px; border-top: 1px solid var(--line); max-width: 760px; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.file-list span { flex: none; font-size: 14px; color: var(--ink-2); }

/* 폼 */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.form-grid + .form-grid { margin-top: 28px; }
.form-wide { max-width: 860px; }
.form-stack { display: flex; flex-direction: column; gap: 18px; }
.full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label { font-size: 15px; font-weight: 620; }
.field-label em { font-style: normal; font-size: 13px; color: var(--brand); margin-left: 4px; }
.field small { font-size: 14px; color: var(--ink-2); }
.field input:not([type='checkbox']), .field select, .field textarea, .admin-table input, .admin-table select, .inline-form input, .admin-filter input, .admin-filter select {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #a4adc1; border-radius: 0; background: var(--ground); font-size: 16px;
}
.field input[type='file'] { padding: 10px; font-size: 15px; }
.field textarea { resize: vertical; line-height: 1.6; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--brand); flex: none; }
.check-row { display: flex; flex-wrap: wrap; gap: 20px; }
.form-end { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.auth { display: flex; justify-content: center; padding: clamp(40px, 8vw, 96px) var(--gutter); }
.auth-box { width: 100%; max-width: 440px; }
.auth-box h1 { font-size: 38px; font-weight: 730; letter-spacing: -0.035em; line-height: 1.2; margin-bottom: 28px; }
.auth-sub { margin-top: -18px; margin-bottom: 28px; color: var(--ink-2); }
.auth-foot { font-size: 15px; color: var(--ink-2); }

.flash { padding: 13px var(--gutter); text-align: center; font-size: 16px; font-weight: 600; background: var(--ok-bg); color: var(--ok); }
.flash-warn { background: var(--warn-bg); color: var(--warn); }

/* 마이페이지 */
.progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 40px; }
.progress li { padding-top: 10px; border-top: 3px solid var(--line); font-size: 15px; font-weight: 600; color: var(--ink-2); }
.progress li.done { border-top-color: var(--brand); color: var(--ink); }
.panel { padding: 28px; background: var(--ground-2); margin-bottom: 48px; }
.panel h2 { font-size: 24px; font-weight: 690; letter-spacing: -0.03em; }
.panel p { margin-block: 6px 16px; color: var(--ink-2); }
.panel p:last-child { margin-bottom: 0; }
.panel-warn { background: var(--warn-bg); }
.my-section { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ink); }
.my-section > h2, .row-head h2 { font-size: 24px; font-weight: 690; letter-spacing: -0.03em; margin-bottom: 20px; }
.row-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 8px; }
.row-head h2 { margin: 0; }
.my-section .link-danger { margin-top: 32px; }
.my-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.my-list strong { display: block; font-size: 19px; font-weight: 650; }
.my-list span { font-size: 15px; color: var(--ink-2); }
.my-actions { display: flex; gap: 16px; font-size: 15px; font-weight: 600; flex: none; }

/* 팝업 */
.popups { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; padding: 20px; background: rgba(16, 22, 38, .55); overflow-y: auto; }
.popups[hidden] { display: none; }
.popup { width: 100%; max-width: 440px; background: var(--ground); padding: 32px 28px 0; }
.popup[hidden] { display: none; }
.popup h2 { font-size: 26px; font-weight: 720; letter-spacing: -0.03em; line-height: 1.3; margin-bottom: 14px; }
.popup-body { font-size: 16px; color: var(--ink-2); }
.popup-body p + p { margin-top: .7em; }
.popup-link { display: inline-block; margin-top: 18px; font-weight: 650; }
.popup-foot { display: flex; justify-content: space-between; margin: 24px -28px 0; border-top: 1px solid var(--line); }
.popup-foot button { flex: 1; padding: 14px; background: none; border: 0; font-size: 15px; font-weight: 600; cursor: pointer; }
.popup-foot button + button { border-left: 1px solid var(--line); }

/* 관리자 */
.is-bare .flash { position: sticky; top: 0; z-index: 5; }
.admin { display: grid; grid-template-columns: 228px minmax(0, 1fr); min-height: 100vh; }
.admin-side { background: var(--deep); color: var(--on-dark-2); padding: 24px 0; display: flex; flex-direction: column; }
.admin-brand { padding: 0 24px 20px; font-size: 19px; font-weight: 750; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.admin-side nav { display: flex; flex-direction: column; flex: 1; }
.admin-side nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 24px; color: var(--on-dark-2); font-size: 16px; font-weight: 550; text-decoration: none; }
.admin-side nav a:hover { color: #fff; }
.admin-side nav a[aria-current] { background: var(--brand); color: #fff; }
.admin-side nav b { background: #fff; color: var(--brand); font-size: 13px; padding: 0 8px; }
.admin-me { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px 0; font-size: 14px; }
.admin-me a, .admin-me button { background: none; border: 0; padding: 0; color: #fff; font-size: 14px; cursor: pointer; text-align: left; }
.admin-main { padding: 32px clamp(20px, 3vw, 44px) 80px; min-width: 0; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.admin-head h1 { font-size: 30px; font-weight: 720; letter-spacing: -0.03em; line-height: 1.25; }
.admin-sub { margin-block: 36px 12px; font-size: 20px; font-weight: 680; letter-spacing: -0.02em; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.admin-tabs a { padding-bottom: 8px; font-weight: 600; font-size: 16px; color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.admin-tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tiles a { background: var(--ground); padding: 18px 20px; text-decoration: none; }
.tiles a:hover { background: var(--ground-2); }
.tiles span { display: block; font-size: 15px; color: var(--ink-2); font-weight: 550; }
.tiles strong { font-size: 36px; font-weight: 720; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.admin-table th { text-align: left; padding: 8px 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--ink); white-space: nowrap; }
.admin-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table input, .admin-table select { min-height: 40px; padding: 6px 8px; font-size: 15px; min-width: 96px; }
.admin-table input[type='checkbox'] { width: 18px; height: 18px; min-height: 0; min-width: 0; accent-color: var(--brand); }
input.short, .admin-table input.short { width: 76px; min-width: 76px; }
.tag { display: inline-block; padding: 0 7px; font-size: 13px; font-weight: 650; background: var(--ground-2); color: var(--ink-2); }
.tag.warn { background: var(--warn-bg); color: var(--warn); }
.tag.ok { background: var(--ok-bg); color: var(--ok); }
.log-list li { display: grid; grid-template-columns: 150px 100px 150px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.log-list time { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.admin-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; align-items: center; }
.admin-filter input, .admin-filter select { width: 200px; min-height: 42px; font-size: 15px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-top: 16px; }
.inline-form .field { min-width: 150px; }
.inline-form input:not(.short) { width: 180px; min-height: 42px; font-size: 15px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 32px; }
.review { display: grid; grid-template-columns: auto minmax(0, 480px); gap: 40px; align-items: start; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--ink); }
.review .btn { align-self: flex-start; }
.temp-password { margin-block: 16px; padding: 16px 20px; background: var(--ground-2); font-size: 24px; font-weight: 700; letter-spacing: .02em; word-break: break-all; }
.inquiry-list li { padding-block: 20px; border-bottom: 1px solid var(--line); }
.inquiry-list li.done { opacity: .6; }
.inquiry-head { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; margin-bottom: 8px; }
.inquiry-head span, .inquiry-head time { font-size: 15px; color: var(--ink-2); }
.inquiry-list .btn { margin-top: 12px; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.category-box .admin-sub { margin-top: 0; }
.category-list li { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.category-list .inline-form { margin-top: 8px; }

/* 연혁·자료실 */
.history { border-top: 1px solid var(--ink); }
.history li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.history time { font-size: 18px; font-weight: 680; color: var(--brand); font-variant-numeric: tabular-nums; }
.history p { font-size: 18px; font-weight: 550; }
.doc-view h1 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.25; font-weight: 720; letter-spacing: -0.035em; }
.doc-meta { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 24px; }
.doc-note { margin-top: 24px; }
.doc-list .badge { min-width: 76px; text-align: center; }
.pdf { display: flex; flex-direction: column; gap: 12px; padding: 12px; background: var(--ground-2); max-width: 924px; }
.pdf canvas { display: block; width: 100%; height: auto; background: #fff; box-shadow: 0 1px 3px rgba(43, 22, 67, .18); }
.pdf-state { padding: 32px; color: var(--ink-2); text-align: center; }
.doc-image { max-width: 900px; }

/* 관리자 추가 */
.tiles-small { margin-bottom: 24px; }
.tiles-small div { background: var(--ground); padding: 14px 18px; }
.tiles-small span { display: block; font-size: 14px; color: var(--ink-2); font-weight: 550; }
.tiles-small strong { font-size: 24px; font-weight: 720; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.head-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.notice-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 18px; background: var(--ground-2); margin-bottom: 20px; font-weight: 600; font-size: 15px; }
.notice-bar input, .pay-form input, .inline-form input.amount { min-height: 40px; padding: 6px 8px; border: 1px solid #aca5ba; font-size: 15px; }
input.amount { width: 130px; }
.admin-tools { margin-bottom: 4px; }
.admin-tabs-flat { border-bottom: 0; margin-bottom: 8px; }
.pay-form { display: flex; gap: 6px; align-items: center; }
.pay-form input[type='date'] { width: 150px; min-width: 0; }
.review-form { flex-wrap: wrap; }
.review-form input[name='keyword'] { width: 150px; min-width: 0; }
.review-form .check input { min-height: 0; }
.admin-table .pay-form input.amount { width: 120px; min-width: 0; }
.admin-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.admin-table small { font-size: 13px; }
.ledger-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.ledger-summary .admin-sub { margin-top: 8px; }
.share-box { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.share-box input { flex: 1 1 320px; min-height: 42px; padding: 8px 10px; border: 1px solid #aca5ba; font-size: 15px; background: var(--ground-2); }
.doc-delete { margin-top: 32px; }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--ground); border-bottom: 1px solid var(--line); }
  .nav-open .site-nav { display: flex; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li > a { padding: 12px 0; font-size: 19px; }
  .site-nav li ul { display: block; position: static; border: 0; padding: 0 0 8px; min-width: 0; }
  .site-nav li ul a { padding: 5px 0; color: var(--ink-2); }
  .site-actions { padding-top: 16px; }
  .co-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .sec-grid, .co-detail-top, .greeting { grid-template-columns: minmax(0, 1fr); }
  .prose-offset { margin-left: 0; }
  .hero { min-height: 0; }
  .hero-notices ul { grid-template-columns: minmax(0, 1fr); }
  .hero-notices li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .28); }
  .hero-notices a, .hero-notices li:first-child a { padding: 14px 0; }
  .biz-row { grid-template-columns: minmax(0, 1fr) 26px; padding: 22px 0; gap: 6px 16px; }
  .biz-row p { grid-column: 1; grid-row: 2; }
  .biz-row .arrow { grid-column: 2; grid-row: 1; }
  .biz-list-page .biz-row { grid-template-columns: minmax(0, 1fr); padding: 24px 0; }
  .co-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .benefit-row { grid-template-columns: minmax(0, 1fr) 26px; gap: 2px 16px; padding: 18px 0; }
  .benefit-cat, .benefit-name, .benefit-text { grid-column: 1; }
  .benefit-row .arrow { grid-column: 2; grid-row: 1 / span 3; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  .footer-links { grid-template-columns: repeat(2, auto); }
  .list-tools-end { width: 100%; }
  .search { flex: 1; }
  .search input { width: 100%; min-width: 0; }
  .admin { grid-template-columns: minmax(0, 1fr); }
  .admin-side { padding: 16px 0 12px; }
  .admin-side nav { flex-direction: row; overflow-x: auto; flex: none; }
  .admin-side nav a { flex: none; padding: 8px 14px; gap: 6px; }
  .admin-me { flex-direction: row; flex-wrap: wrap; gap: 4px 16px; padding-top: 10px; }
  .review, .category-grid, .ledger-summary { grid-template-columns: minmax(0, 1fr); }
  .history li { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 16px 0; }
  .log-list li { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { flex: 1 1 130px; padding-inline: 12px; }
  .sec-head { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 28px; }
  .progress { font-size: 14px; }
  .progress li { font-size: 13px; }
  .post-list a { flex-wrap: wrap; gap: 4px 10px; }
  .post-list strong { flex-basis: 100%; order: 1; }
  .post-list time { order: 2; }
  .file-count { order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

.ticker-sec .sec-head { margin-bottom: 28px; }
.ticker { overflow: hidden; }
.ticker-track { display: flex; gap: 16px; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-card { position: relative; flex: none; display: block; width: 260px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--deep-2); color: var(--on-dark); text-decoration: none; }
.ticker-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ticker-card:hover img { transform: scale(1.04); }
.ticker-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 15px; font-weight: 600; line-height: 1.4; background: linear-gradient(to top, rgba(43, 22, 67, .88), rgba(43, 22, 67, 0)); }
@keyframes ticker { to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; }
  .ticker-track { animation: none; }
  .ticker-card[aria-hidden] { display: none; }
}

.stage-band { background: var(--deep); color: var(--on-dark); padding: 8px 8px 14px; }
.scene-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.scene-card { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--deep-2); }
.scene-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.scene-card:hover img { transform: scale(1.05); }
.scene-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; font-size: clamp(15px, 1.25vw, 18px); font-weight: 650; background: linear-gradient(to top, rgba(24, 12, 40, .85), rgba(24, 12, 40, 0)); }
.scene-note { margin-top: 10px; padding-inline: 10px; font-size: 13px; color: var(--on-dark-2); text-align: right; }
@media (max-width: 900px) {
  .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.prose + .form-grid { margin-top: 28px; }

/* 집행부 업무실 */
.exec-alert { padding: 16px 20px; background: var(--warn-bg); margin-bottom: 8px; }
.exec-alert .admin-sub { margin-top: 0; color: var(--warn); }
.exec-alert li { margin-top: 6px; }
.exec-alert a { color: var(--ink); font-weight: 600; }
.exec-events { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.exec-event { display: grid; grid-template-columns: 170px minmax(0, 1fr) 200px; gap: 16px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.exec-event:hover { background: var(--ground-2); }
.exec-date { font-weight: 650; }
.exec-date b { margin-left: 8px; color: var(--brand); }
.exec-title { font-size: 17px; font-weight: 650; }
.exec-title small { display: block; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.exec-progress { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.exec-progress progress { width: 140px; height: 8px; appearance: none; border: 0; background: var(--line); }
.exec-progress progress::-webkit-progress-bar { background: var(--line); }
.exec-progress progress::-webkit-progress-value { background: var(--brand); }
.exec-progress progress::-moz-progress-bar { background: var(--brand); }
.exec-past { margin-top: 20px; }
.exec-past summary, .exec-edit summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.exec-kinds li { margin-top: 6px; }
.exec-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.exec-tasks { border-top: 1px solid var(--line); }
.exec-tasks li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.exec-tasks li.is-late .exec-task-title { color: var(--warn); }
.exec-tasks li.is-done .exec-task-title { color: var(--ink-2); text-decoration: line-through; }
.exec-check { width: 30px; height: 30px; border: 2px solid var(--brand); background: #fff; color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.is-done .exec-check { background: var(--brand); }
.exec-task { display: flex; flex-direction: column; gap: 2px; }
.exec-task-title { font-weight: 650; }
.exec-note { font-size: 14px; color: var(--ink-2); }
.exec-edit { margin-top: 32px; }
@media (max-width: 900px) {
  .exec-event { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
.ai-teaser { display: flex; flex-direction: column; gap: 4px; margin-top: 32px; padding: 18px 20px; border: 1px dashed var(--brand-4); color: var(--ink); text-decoration: none; }
.ai-teaser:hover { background: var(--ground-2); }
.ai-teaser strong { font-size: 18px; }
.ai-badge { align-self: flex-start; padding: 2px 10px; background: var(--ground-2); color: var(--ink-2); font-size: 13px; font-weight: 700; border: 1px solid var(--line); }
.ai-off { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; background: var(--ground-2); }
.ai-docs li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ai-docs span { color: var(--ink-2); font-size: 15px; }
.ai-preview { opacity: .55; pointer-events: none; }
.ai-agenda { white-space: pre-wrap; padding: 20px; background: var(--ground-2); font-family: inherit; font-size: 15px; line-height: 1.7; max-width: 820px; }
.doc-rule { padding: 12px 16px; background: var(--ground-2); font-size: 14px; margin-bottom: 16px; }
.doc-rule code { font-size: 13px; }
.doc-filter { margin-bottom: 8px; flex-wrap: wrap; }
.doc-current { padding: 16px 20px; border: 1px solid var(--line); }
.exec-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.exec-docs a { display: flex; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.exec-docs a:hover { border-color: var(--brand); }
.exec-docs span { color: var(--ink-2); }
.org-registered { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.org-registered h2 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }

/* 오시는 길: 주소 그래픽 + 메일 */
.loc-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.loc-map { display: block; width: 100%; height: auto; background: var(--ground-2); }
.loc-map .road { stroke: #fff; stroke-width: 18; stroke-linecap: round; fill: none; }
.loc-map .road-sm { stroke: #fff; stroke-width: 9; stroke-linecap: round; fill: none; }
.loc-map .river { fill: none; stroke: #d6cde2; stroke-width: 34; stroke-linecap: round; }
.loc-map .block { fill: #e7e1ee; }
.loc-map .pin { fill: var(--brand); }
.loc-map .pin-dot { fill: #fff; }
.loc-map .label-bg { fill: var(--deep); }
.loc-map .label { fill: #fff; font-size: 22px; font-weight: 700; }
.loc-map .label-sub { fill: var(--brand-tint); font-size: 15px; }
.loc-map .street { fill: var(--ink-2); font-size: 14px; }
.loc-mail { padding: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.loc-mail h2 { font-size: 20px; font-weight: 700; }
.loc-mail a.mail-addr { font-size: 18px; font-weight: 650; color: var(--brand); overflow-wrap: anywhere; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: minmax(0, 1fr); } }
.vision { display: flex; flex-direction: column; gap: 18px; }
.vision-line { font-size: clamp(20px, 2vw, 26px); font-weight: 680; letter-spacing: -0.02em; }
.vision-line small { display: block; font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .08em; }
.core-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; counter-reset: core; }
.core-list li { padding: 20px; background: var(--ground-2); display: flex; flex-direction: column; gap: 6px; }
.core-list strong { font-size: 18px; }
.core-list span { color: var(--ink-2); font-size: 15px; }
.keywords { font-weight: 700; color: var(--brand); letter-spacing: .04em; }
.about-ci { margin-top: 56px; }
.ci { display: flex; flex-direction: column; gap: 20px; }
.ci-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ci-logos figure { margin: 0; padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.ci-logos figure.on-dark { background: var(--deep); border-color: var(--deep); color: var(--on-dark-2); }
.ci-logos img { max-width: 100%; height: 56px; object-fit: contain; }
.ci-logos figcaption { font-size: 13px; }
.ci-colors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 0; list-style: none; }
.ci-colors li { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.ci-colors small { color: var(--ink-2); font-size: 12px; }
.swatch { display: block; height: 56px; margin-bottom: 6px; }
.swatch-512977 { background: #512977; } .swatch-68347b { background: #68347b; } .swatch-7e4281 { background: #7e4281; }
.swatch-895a8d { background: #895a8d; } .swatch-986b9c { background: #986b9c; }
@media (max-width: 900px) { .core-list, .ci-logos { grid-template-columns: minmax(0, 1fr); } .ci-colors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.doc-vis { display: flex; gap: 10px; margin-top: 4px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand); font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.logo-preview { display: block; max-width: 320px; max-height: 160px; margin-top: 10px; padding: 16px; background: #fff; border: 1px solid var(--line); object-fit: contain; }
.logo-note { margin-top: 6px; font-size: 14px; }

/* 관리자: 게시글 사진 판 — 보면서 순서 바꾸기·대표 사진·삭제 */
.admin-sub small { margin-left: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.photo-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; max-width: 1100px; list-style: none; padding: 0; }
.photo-board li { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; scroll-margin-top: 80px; }
.photo-board li.is-cover { border: 2px solid var(--brand, #512977); }
.photo-thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #f2f0f5; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-meta { font-size: 14px; color: var(--ink-2); }
.photo-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.photo-actions form { margin: 0; }
.tag.cover { background: var(--brand); color: #fff; }
.share-row { display: flex; align-items: center; gap: 12px; margin: 12px 0 4px; flex-wrap: wrap; }
.photo-bulk { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; padding: 10px 14px; background: var(--ground-2); border-radius: 8px; max-width: 1100px; }
.photo-bulk .check { align-items: center; }
.btn-danger { background: #b3261e; border-color: #b3261e; color: #fff; }
.btn-danger:disabled { opacity: 0.4; cursor: not-allowed; }
.photo-thumb { position: relative; cursor: pointer; }
.photo-thumb input { position: absolute; top: 8px; left: 8px; width: 22px; height: 22px; accent-color: #b3261e; z-index: 1; }
.photo-board li.is-picked { outline: 3px solid #b3261e; outline-offset: -1px; }
.photo-board li.is-picked .photo-thumb img { opacity: 0.6; }
.photo-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.photo-meta a { margin-left: auto; font-size: 13px; }
.photo-editor { max-width: 1000px; }
.editor-tools { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-bottom: 8px; }
.tool-group { display: flex; align-items: center; gap: 8px; }
.tool-group > span, .tool-group > label { font-weight: 650; font-size: 15px; }
.tool-group input[type=range] { width: 160px; accent-color: var(--brand); }
.tool-group output { min-width: 32px; font-variant-numeric: tabular-nums; }
.editor-help { margin: 4px 0 12px; font-size: 14px; }
.editor-canvas { display: block; max-width: 100%; height: auto; background: #f2f0f5; touch-action: none; cursor: crosshair; }
.restore-form { margin-top: 24px; }
