/* ═══════════════════════════════════════════
   BOARDS — 청년오늘연구소 게시판 공통 스타일
   AOC 포스터 브랜딩 + 클린 리스트
   ═══════════════════════════════════════════ */

:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --surface-2: #F3F1EA;
  --ink: #1A1A1A;
  --ink-soft: #2C2C2C;
  --muted: #6E6A62;
  --muted-2: #9A968D;
  --line: #E9E6DD;
  --line-strong: #D4D0C4;
  --accent: #E4002B;
  --accent-soft: #FDECEE;
  --sky: #00A9E0;
  --sky-soft: #E1F4FB;
  --sky-deep: #0079A6;
  --poster-black: #0A0A0A;
  --highlight: #FFF4B8;
  --serif: "Fraunces", ui-serif, Georgia, serif;
  --sans: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px;
  --shadow-1: 0 1px 2px rgba(20,20,20,0.04), 0 2px 8px rgba(20,20,20,0.03);
  --shadow-2: 0 2px 6px rgba(20,20,20,0.06), 0 12px 32px rgba(20,20,20,0.05);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--highlight); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

/* NAV — mockup.html 포스터 스타일 */
nav.top { position: sticky; top: 0; z-index: 100; background: #FFF; border-bottom: 3px solid var(--poster-black); }
nav.top .inner { max-width: 1440px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
nav.top .brand { font-family: var(--sans); font-weight: 900; font-size: 20px; letter-spacing: -0.02em; color: var(--poster-black); display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; }
nav.top .brand .logo-img { height: 36px; width: auto; display: block; }
@media (max-width: 720px) { nav.top .brand .logo-img { height: 28px; } }
nav.top .menu { display: flex; gap: 2px; align-items: center; }
nav.top .menu a { padding: 10px 14px; font-size: 13px; font-weight: 800; color: var(--poster-black); letter-spacing: 0.08em; text-transform: uppercase; transition: all 160ms var(--ease); }
nav.top .menu a:hover, nav.top .menu a.on { background: var(--poster-black); color: #FFF; }
nav.top .cta { padding: 10px 18px; background: var(--accent); color: #FFF; font-size: 13px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; border: 3px solid var(--poster-black); transition: all 180ms var(--ease); }
nav.top .cta:hover { background: var(--poster-black); }
@media (max-width: 900px) { nav.top .menu { display: none; } }

/* BREADCRUMB */
.crumb { padding: 20px 0 0; }
.crumb .row { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.crumb .row a:hover { color: var(--accent); }
.crumb .row .sep { color: var(--muted-2); }

/* HERO */
.board-hero { padding: 40px 0 56px; border-bottom: 3px solid var(--poster-black); background: var(--surface); }
.board-hero .tag { display: inline-block; font-family: var(--sans); font-weight: 900; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #FFF; padding: 6px 12px; margin-bottom: 20px; border: 3px solid var(--poster-black); }
.board-hero .tag.accent { background: var(--accent); }
.board-hero .tag.sky { background: var(--sky-deep); }
.board-hero .tag.black { background: var(--poster-black); }
.board-hero h1 { font-family: var(--sans); font-weight: 900; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.035em; color: var(--poster-black); margin-bottom: 16px; }
.board-hero h1 em { font-style: normal; background: linear-gradient(180deg, transparent 55%, var(--highlight) 55%); padding: 0 4px; }
.board-hero .lead { font-size: 17px; line-height: 1.65; color: var(--ink-soft); max-width: 720px; }
.board-hero .lead strong { font-weight: 700; color: var(--poster-black); }

/* STATS — 발간 주기, 표본, 다음 발간 */
.board-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 32px; }
.board-stats .s { border: 3px solid var(--poster-black); background: #FFF; padding: 16px 18px; }
.board-stats .s.filled { background: var(--sky-soft); }
.board-stats .s.accent { background: var(--accent); color: #FFF; }
.board-stats .s .k { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.board-stats .s.accent .k { color: rgba(255,255,255,0.85); }
.board-stats .s .v { font-family: var(--sans); font-size: 22px; font-weight: 900; letter-spacing: -0.02em; color: var(--poster-black); line-height: 1.1; }
.board-stats .s.accent .v { color: #FFF; }
.board-stats .s .sub { font-size: 12px; color: #555; margin-top: 4px; }
.board-stats .s.accent .sub { color: rgba(255,255,255,0.85); }
@media (max-width: 720px) { .board-stats { grid-template-columns: 1fr 1fr; } }

/* BOARD SECTION */
.board { padding: 56px 0 96px; }
.board-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid var(--poster-black); }
.board-head h2 { font-family: var(--sans); font-weight: 900; font-size: 22px; letter-spacing: -0.02em; color: var(--poster-black); }
.board-head .count { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.06em; }

/* FILTER BAR */
.board-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.board-filter .chip { padding: 8px 14px; background: #FFF; border: 2px solid var(--poster-black); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--poster-black); cursor: pointer; transition: all 160ms; }
.board-filter .chip:hover { background: var(--sky-soft); }
.board-filter .chip.on { background: var(--poster-black); color: #FFF; }

/* POST TABLE — 게시판 리스트 */
.post-list { border: 3px solid var(--poster-black); background: #FFF; overflow: hidden; }
.post-list .head-row, .post-list .row {
  display: grid;
  grid-template-columns: 88px 1fr 140px 100px 120px;
  gap: 16px;
  align-items: center;
  padding: 14px 22px;
}
.post-list .head-row {
  background: var(--poster-black); color: #FFF;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.post-list .row { border-top: 1px solid var(--line); font-size: 15px; transition: all 140ms; }
.post-list .row:hover { background: var(--sky-soft); }
.post-list .row .no { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--muted); }
.post-list .row .title { font-weight: 600; color: var(--poster-black); }
.post-list .row .title .badge { display: inline-block; margin-right: 8px; padding: 2px 8px; background: var(--accent); color: #FFF; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: middle; }
.post-list .row .title .badge.upcoming { background: var(--muted); }
.post-list .row .title .badge.new { background: var(--accent); }
.post-list .row .cat { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; color: var(--muted); }
.post-list .row .date { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.03em; }
.post-list .row .dl { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); text-align: right; }
.post-list .row .dl.ready { color: var(--accent); }
.post-list .row .dl.ready:hover { text-decoration: underline; }

/* EMPTY STATE */
.post-empty { padding: 72px 22px; text-align: center; border-top: 1px solid var(--line); }
.post-empty .icon { font-size: 42px; margin-bottom: 16px; opacity: 0.5; }
.post-empty h3 { font-family: var(--sans); font-weight: 900; font-size: 20px; color: var(--poster-black); margin-bottom: 10px; letter-spacing: -0.02em; }
.post-empty p { font-size: 14px; color: var(--muted); max-width: 480px; margin: 0 auto 20px; line-height: 1.6; }
.post-empty .schedule { display: inline-block; padding: 8px 16px; background: var(--sky-soft); border: 2px solid var(--poster-black); font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--poster-black); letter-spacing: 0.06em; }

@media (max-width: 900px) {
  .post-list .head-row, .post-list .row {
    grid-template-columns: 56px 1fr 100px;
    gap: 12px;
    padding: 14px 16px;
  }
  .post-list .head-row .h-cat, .post-list .head-row .h-dl,
  .post-list .row .cat, .post-list .row .dl { display: none; }
}

/* SIDE NOTES — 이 게시판이 뭘 다루는지 */
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.notes .note { border: 3px solid var(--poster-black); background: #FFF; padding: 24px 26px; box-shadow: 6px 6px 0 var(--poster-black); }
.notes .note .k { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky-deep); margin-bottom: 10px; }
.notes .note h3 { font-family: var(--sans); font-weight: 900; font-size: 18px; letter-spacing: -0.02em; margin-bottom: 12px; color: var(--poster-black); }
.notes .note p { font-size: 14px; line-height: 1.7; color: #333; }
.notes .note p + p { margin-top: 8px; }
.notes .note strong { color: var(--poster-black); }
@media (max-width: 720px) { .notes { grid-template-columns: 1fr; } }

/* CONTACT / FOOTER */
.contact { background: var(--poster-black); color: #EEE; padding: 72px 0; margin-top: 64px; }
.contact .k { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #B8B4AA; margin-bottom: 14px; }
.contact h2 { font-family: var(--sans); font-weight: 900; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.025em; color: #FFF; margin-bottom: 20px; }
.contact h2 em { color: #FFF; background: var(--accent); padding: 0 8px; font-style: normal; }
.contact p { color: #B8B4AA; font-size: 15px; max-width: 520px; margin-bottom: 24px; }
.contact .ch { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: rgba(255,255,255,0.06); border: 2px solid rgba(255,255,255,0.14); color: #FFF; font-size: 13px; font-weight: 600; transition: all 200ms var(--ease); margin-right: 10px; }
.contact .ch:hover { background: var(--accent); border-color: var(--accent); }
footer.site { background: var(--poster-black); color: #6B6B6B; padding: 24px 0 40px; font-size: 11px; display: flex; justify-content: center; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
footer.site a { color: #B8B4AA; margin: 0 10px; }
footer.site a:hover { color: #FFF; }
