/* Knowledge Stack — an ivory, question-first reference forum. */
:root {
  --bg: #faf9f5;
  --ink: #302e2a;
  --muted: #7d776e;
  --accent: #a34220;
  --card: #fffefb;
  --line: #e1ddd4;
  --chip: #f1ece2;
  --radius: 2px;
  --max: 1260px;
  --sans: "Noto Sans KR", sans-serif;
  --serif: "Noto Serif KR", Georgia, serif;
}
body { font-size: 13px; }
.site-header { background: #fffefa; border-top: 4px solid #a34220; border-bottom: 1px solid #d8d3c8; }
.header-inner { min-height: 73px; gap: 24px; }
.brand-mark { border: 0; border-radius: 0; color: #a34220; font-family: Georgia, serif; font-size: 33px; font-weight: 400; width: 25px; }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: 400; letter-spacing: -.8px; }
.brand-type { font-size: 7px; letter-spacing: 1.8px; color: #867e70; }
.header-search { max-width: 340px; margin-left: auto; }
.header-search input { min-height: 34px; border-color: #d5d0c6; background: #fbfaf7; font-size: 11px; }
.header-search button { color: #a34220; font-size: 11px; }
.nav { gap: 20px; }
.nav a { color: #7d776e; font-size: 11px; }
.nav a.is-active { box-shadow: none; color: #a34220; }
.community-shell { display: grid; grid-template-columns: 160px minmax(0, 1fr) 235px; gap: 28px; align-items: start; padding-block: 27px 65px; }
.community-topics { min-width: 0; padding-top: 5px; }
.community-home { display: block; font-family: var(--serif); font-size: 14px; font-weight: 700; padding: 9px 10px; margin-bottom: 15px; border-left: 3px solid #a34220; background: #eee8dc; }
.community-topics .category-grid { display: flex; flex-direction: column; margin: 0 0 25px; border: 0; }
.community-topics .category-card { gap: 9px; align-items: center; padding: 11px 10px; border: 0; }
.community-topics .category-card:hover { background: #eee8dc; }
.community-topics .category-card h3 { font-size: 11px; font-weight: 400; margin: 0; }
.community-topics .category-icon { color: #a34220; min-width: 19px; font-size: 17px; font-family: Georgia, serif; }
.community-topics .category-card p, .community-topics .category-photo, .community-topics .category-arrow { display: none; }
.community-pages { display: flex; flex-direction: column; gap: 12px; padding: 18px 10px; border-top: 1px solid var(--line); color: #8e8577; font-size: 10px; }
.community-main { min-width: 0; border-left: 1px solid var(--line); padding-left: 25px; }
.question-welcome { display: grid; grid-template-columns: minmax(0, 1fr) 100px; gap: 20px; align-items: center; margin-bottom: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.community-heading .kicker { font-family: Georgia, serif; color: #a34220; font-size: 9px; letter-spacing: 1.4px; }
.community-heading h1 { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.6; letter-spacing: -.8px; margin: 8px 0 11px; }
.community-heading .lede { font-size: 10px; line-height: 1.9; }
.community-heading .hero-note { margin-top: 12px; font-size: 8px; }
.question-welcome .hero-visual { border: 1px solid #e2ddd3; padding: 4px; }
.question-welcome .hero-visual img { aspect-ratio: 1; width: 100px; }
.section-heading { padding-bottom: 13px; border-bottom: 1px solid #b9b1a2; margin-bottom: 15px; }
.section-heading h2 { font-family: var(--serif); font-size: 23px; font-weight: 400; }
.section-heading .kicker { font-family: Georgia, serif; font-size: 9px; color: #8b7c67; }
.section-heading p { font-size: 9px; }
.section-link { color: #a34220; font-size: 9px; }
.toolbar { margin-bottom: 0; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.search { padding: 3px 4px 3px 11px; border-color: #dad3c5; border-radius: 2px; background: #fffefb; }
.search input { min-height: 29px; font-size: 10px; }
.toolbar .search button { min-height: 28px; font-size: 10px; background: #ece5d8; border-radius: 1px; }
.content-list { grid-template-columns: 1fr; gap: 0; }
.content-entry { padding: 21px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.content-entry .card { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 13px; }
.question-marker { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #d9c7b2; color: #a34220; background: #f5eee2; font-family: Georgia, serif; font-size: 21px; line-height: 1; }
.content-entry h3 { font-family: var(--serif); color: #95401f; font-weight: 400; font-size: 17px; line-height: 1.75; letter-spacing: -.35px; margin: 5px 0 8px; }
.meta { font-size: 8px; color: #968979; gap: 6px 10px; }
.entry-topic { font-weight: 400; color: #7c705f; }
.excerpt { margin-bottom: 9px; font-size: 10px; line-height: 1.9; color: #81776a; }
.tag { background: #eee9df; color: #796a55; padding: 2px 6px; font-size: 8px; border: 1px solid #e5ded2; border-radius: 1px; }
.side-card { background: #f4efdf; border: 1px solid #e2d8bf; border-radius: 2px; padding: 20px; margin-bottom: 18px; }
.side-card > .kicker { color: #9a6b2b; font-family: Georgia, serif; letter-spacing: 1.5px; font-size: 8px; }
.side-card h2 { font-family: var(--serif); font-size: 17px; font-weight: 400; line-height: 1.7; }
.side-card p { color: #807359; font-size: 10px; line-height: 1.95; }
.side-card a { font-size: 10px; }
.topic-side { background: transparent; border: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
.topic-side h2 { font-size: 16px; }
.topic-side nav a { padding-block: 8px; font-size: 10px; }
.native-card { padding: 17px; border: 1px solid #dcd3c0; background: #f5f0e4; border-radius: 2px; }
.native-card img { width: 26%; aspect-ratio: 1; }
.native-card h3 { font-family: var(--serif); font-size: 16px; font-weight: 400; }
.native-card p { font-size: 10px; }
.native-sidebar .native-card { background: transparent; padding: 14px; }
.native-sidebar .native-card img { width: 100%; aspect-ratio: 16/9; }
.native-home-feed { padding-block: 17px; border-bottom: 1px solid var(--line); }
.pagination { justify-content: flex-start; margin-block: 22px; }
.pagination a, .pagination button { min-width: 29px; min-height: 29px; padding: 4px 8px; font-size: 10px; }
.pagination .page-summary { text-align: left; font-size: 10px; }
.content-shell { grid-template-columns: minmax(0, 1fr) 235px; gap: 30px; }
.topic-page .hero { padding-block: 25px; grid-template-columns: 1fr 200px; gap: 25px; }
.topic-page .hero h1 { font-family: var(--serif); font-size: 29px; font-weight: 400; }
.topic-page .hero .lede { font-size: 11px; }
.topic-page .hero-visual img { aspect-ratio: 2; }
.hero-actions a { border-color: #a34220; background: #a34220; font-size: 10px; padding: 7px 12px; }
.article { max-width: 850px; }
.article h1 { font-family: var(--serif); font-size: 34px; font-weight: 400; line-height: 1.65; letter-spacing: -1px; }
.article .body { font-size: 15px; line-height: 2; }
.article .body h2, .article .body h3 { font-family: var(--serif); font-weight: 400; }
.site-footer { background: #eee9df; }
.site-footer strong { font-family: Georgia, serif; font-size: 24px; font-weight: 400; }
@media (max-width: 1130px) {
  .community-shell { grid-template-columns: 140px minmax(0, 1fr) 205px; gap: 20px; }
  .community-main { padding-left: 20px; }
  .header-search { max-width: 240px; }
  .brand-name { font-size: 23px; }
  .nav { gap: 16px; }
  .community-heading h1 { font-size: 22px; }
}
@media (max-width: 950px) and (min-width: 761px) {
  .community-shell { grid-template-columns: 140px minmax(0, 1fr); }
  .community-shell > .sidebar { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .header-search { display: none; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 28px); }
  .header-inner { min-height: 65px; }
  .brand-name { font-size: 21px; }
  .brand-mark { font-size: 29px; width: 21px; }
  .brand-type { font-size: 6px; letter-spacing: 1.2px; }
  .menu-btn { min-height: 32px; padding: 5px 8px; font-size: 10px; }
  .nav.is-open { left: 14px; right: 14px; }
  .community-shell { grid-template-columns: 1fr; gap: 18px; padding-block: 15px 35px; }
  .community-topics { padding: 0; }
  .community-home, .community-pages { display: none; }
  .community-topics .category-grid { flex-direction: row; gap: 0; margin-bottom: 0; overflow-x: auto; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
  .community-topics .category-card { flex-shrink: 0; padding: 8px 12px; gap: 5px; border: 0; }
  .community-topics .category-card h3 { white-space: nowrap; font-size: 10px; }
  .community-topics .category-icon { min-width: 13px; font-size: 13px; }
  .community-main { border: 0; padding: 0; }
  .question-welcome { grid-template-columns: minmax(0, 1fr) 72px; gap: 14px; margin-bottom: 20px; padding-bottom: 19px; }
  .community-heading h1 { font-size: 23px; line-height: 1.65; letter-spacing: -.7px; }
  .community-heading .kicker { font-size: 8px; }
  .community-heading .lede { font-size: 10px; }
  .community-heading .hero-note { display: none; }
  .question-welcome .hero-visual img { width: 72px; }
  .section-heading h2 { font-size: 22px; }
  .section-heading p { font-size: 9px; }
  .content-entry { padding: 18px 0; }
  .content-entry .card { grid-template-columns: 27px minmax(0, 1fr); gap: 11px; }
  .question-marker { width: 26px; height: 28px; font-size: 18px; }
  .content-entry h3 { font-size: 16px; line-height: 1.8; margin: 5px 0 9px; }
  .excerpt { font-size: 10px; }
  .meta { font-size: 8px; }
  .community-shell > .sidebar { display: grid; grid-template-columns: 1fr; gap: 18px; }
  .side-card { margin: 0; }
  .topic-page .hero { grid-template-columns: 1fr; gap: 15px; }
  .article h1 { font-size: 27px; }
  .article .body { font-size: 14px; }
}
