/* ITpedia — a compact developer community, with a real three-column feed. */
:root {
  --bg: #f1f2f3;
  --ink: #222426;
  --muted: #717479;
  --accent: #8b5308;
  --card: #fff;
  --line: #dedfe0;
  --chip: #f7f0e4;
  --radius: 5px;
  --max: 1250px;
  --sans: "IBM Plex Sans KR", sans-serif;
}
body { font-size: 14px; }
.site-header { position: sticky; top: 0; background: #fff; border-bottom: 1px solid #d9dadb; box-shadow: 0 1px 5px #00000008; }
.header-inner { min-height: 65px; gap: 25px; }
.brand { gap: 8px; }
.brand-mark { border: 0; width: 29px; height: 31px; background: #292b2d; color: #f4c577; font-size: 20px; font-family: monospace; font-weight: 700; border-radius: 4px; }
.brand-name { font-family: "Courier New", monospace; font-size: 27px; letter-spacing: -1.4px; font-weight: 700; }
.brand-type { display: none; }
.header-search { margin-right: auto; max-width: 360px; }
.header-search input { border-color: #d5d7d9; background: #fafafa; min-height: 35px; }
.nav { gap: 20px; }
.nav a { font-size: 11px; color: #4a4c50; }
.nav a.is-active { box-shadow: none; background: #fff5e2; color: #8b5308; padding-inline: 11px; border-radius: 4px; }
.community-shell { display: grid; grid-template-columns: 165px minmax(0, 1fr) 260px; gap: 24px; align-items: start; padding-block: 25px 65px; }
.community-topics { min-width: 0; padding-top: 5px; }
.community-home { display: block; padding: 10px 11px; margin-bottom: 10px; border-radius: 4px; background: #e8e9eb; font-weight: 600; font-size: 13px; }
.community-topics .category-grid { display: flex; flex-direction: column; border: 0; margin: 0 0 25px; }
.community-topics .category-card { align-items: center; padding: 10px 8px; gap: 10px; border: 0; border-radius: 4px; }
.community-topics .category-card:hover { background: #e8e9eb; }
.community-topics .category-icon { width: 22px; font-size: 17px; color: #8b5308; }
.community-topics .category-card h3 { margin: 0; font-size: 12px; font-weight: 500; }
.community-topics .category-card p, .community-topics .category-photo, .community-topics .category-arrow { display: none; }
.community-pages { display: flex; flex-direction: column; gap: 10px; padding: 15px 10px; border-top: 1px solid #d9dadb; color: var(--muted); font-size: 11px; }
.community-main { min-width: 0; }
#latest { scroll-margin-top: 85px; }
.community-welcome { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 20px; align-items: center; margin-bottom: 20px; padding: 20px; border: 1px solid #e5d3b4; background: #fff5e5; border-radius: 6px; }
.community-heading .kicker { font-family: "Courier New", monospace; font-size: 9px; letter-spacing: 1px; color: #8b5308; }
.community-heading h1 { font-size: 22px; font-weight: 600; line-height: 1.5; margin: 8px 0; letter-spacing: -.7px; }
.community-heading .lede { font-size: 11px; line-height: 1.8; }
.community-heading .hero-note { margin: 10px 0 0; font-size: 9px; }
.community-welcome .hero-visual { border-radius: 5px; }
.community-welcome .hero-visual img { width: 128px; aspect-ratio: 1; object-fit: cover; }
.section-heading { padding: 0 0 13px; margin-bottom: 15px; border-bottom: 0; }
.section-heading h2 { font-size: 22px; font-weight: 600; }
.section-heading .kicker { font-family: "Courier New", monospace; color: #888; font-size: 9px; margin-bottom: 4px; }
.section-heading p { font-size: 10px; }
.toolbar { margin-bottom: 13px; }
.search { background: #fff; border-radius: 4px; }
.search input { min-height: 30px; font-size: 11px; }
.toolbar .search button { min-height: 30px; }
.list-heading { display: none; }
.content-list { grid-template-columns: 1fr; gap: 10px; }
.content-entry { padding: 22px 25px; border-color: #dedfe0; border-radius: 5px; box-shadow: 0 1px 1px #00000002; }
.content-entry h3 { font-size: 21px; font-weight: 600; line-height: 1.5; letter-spacing: -.5px; margin: 9px 0 11px; }
.content-entry .meta { font-size: 10px; }
.content-entry .entry-topic { padding-left: 18px; position: relative; color: #5c6166; font-weight: 400; }
.content-entry .entry-topic:before { position: absolute; content: ""; width: 11px; height: 11px; top: 3px; left: 0; border-radius: 50%; background: #b19a77; }
.excerpt { font-size: 12px; line-height: 1.8; margin-bottom: 12px; }
.tag { background: transparent; color: #77674f; padding: 2px 0; margin-right: 7px; font-size: 10px; }
.tag:before { content: "#"; color: #b08b51; margin-right: 1px; }
.side-card { padding: 20px; background: #fff; border: 1px solid #dedfe0; border-radius: 5px; margin-bottom: 15px; }
.side-card > .kicker { font-family: "Courier New", monospace; font-size: 8px; margin-bottom: 11px; }
.side-card h2 { font-size: 19px; font-weight: 600; }
.side-card p { font-size: 11px; line-height: 1.9; }
.side-card a { font-size: 10px; }
.topic-side { background: #f8f8f8; }
.topic-side h2 { font-size: 16px; }
.native-card { background: #fff; border: 1px solid #dedfe0; padding: 20px; border-radius: 5px; }
.native-card h3 { font-size: 18px; font-weight: 600; }
.native-card p { font-size: 11px; }
.native-home-feed .native-card { border-left: 4px solid #bc8a3f; }
.native-sidebar .native-card { background: #fff9ed; }
.native-sidebar .native-card img { aspect-ratio: 16/9; border-radius: 3px; }
.content-shell { gap: 25px; grid-template-columns: minmax(0, 1fr) 260px; }
.topic-page .hero { padding-block: 30px; }
.topic-page .hero h1 { font-size: 31px; }
.topic-page .hero-visual img { aspect-ratio: 2.4; }
.article { max-width: 900px; margin-top: 25px; margin-bottom: 45px; padding: 35px 55px 50px; background: #fff; border: 1px solid #dedfe0; border-radius: 6px; }
.article h1 { font-size: 35px; font-weight: 600; }
.article .body { font-size: 16px; }
.article .body h2 { font-weight: 600; }
.site-footer { background: #e5e7e9; border: 0; }
.site-footer strong { font-family: "Courier New", monospace; font-size: 23px; }
@media (max-width: 1120px) {
  .community-shell { grid-template-columns: 145px minmax(0, 1fr) 220px; gap: 18px; }
  .header-search { max-width: 280px; }
  .community-welcome { grid-template-columns: 1fr 105px; padding: 17px; gap: 15px; }
  .community-welcome .hero-visual img { width: 105px; }
  .community-heading h1 { font-size: 20px; }
  .community-heading .hero-note { display: none; }
}
@media (max-width: 950px) and (min-width: 761px) {
  .community-shell { grid-template-columns: 145px minmax(0, 1fr); }
  .community-shell > .sidebar { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
  .header-search { display: none; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 24px); }
  .header-inner { min-height: 57px; }
  .brand-name { font-size: 25px; }
  .brand-mark { width: 26px; height: 28px; font-size: 18px; }
  .menu-btn { min-height: 33px; border-color: #ddd; font-size: 10px; }
  .nav.is-open { left: 12px; right: 12px; }
  .community-shell { grid-template-columns: 1fr; gap: 15px; padding-block: 15px 35px; }
  .community-topics { padding: 0; }
  .community-home, .community-pages { display: none; }
  .community-topics .category-grid { flex-direction: row; gap: 7px; margin: 0; overflow-x: auto; padding-bottom: 3px; }
  .community-topics .category-card { flex-shrink: 0; padding: 7px 11px; border: 1px solid #ddd; background: #fff; gap: 6px; }
  .community-topics .category-card h3 { font-size: 10px; white-space: nowrap; }
  .community-topics .category-icon { width: auto; min-width: 14px; font-size: 13px; }
  .community-welcome { grid-template-columns: minmax(0, 1fr) 80px; padding: 16px; gap: 13px; margin-bottom: 20px; }
  .community-heading h1 { font-size: 20px; letter-spacing: -.7px; margin: 7px 0; }
  .community-heading .kicker { font-size: 8px; }
  .community-heading .lede { font-size: 10px; }
  .community-heading .hero-note { display: none; }
  .community-welcome .hero-visual img { width: 80px; aspect-ratio: 1; }
  .section-heading { padding-inline: 4px; margin-bottom: 12px; }
  .section-heading h2 { font-size: 21px; }
  .section-heading p { font-size: 9px; }
  .content-entry { padding: 19px; }
  .content-entry h3 { font-size: 20px; line-height: 1.55; }
  .excerpt { font-size: 11px; }
  .content-entry .meta { font-size: 9px; }
  .tag { font-size: 9px; }
  .community-shell > .sidebar { display: grid; grid-template-columns: 1fr; gap: 15px; }
  .side-card { margin: 0; }
  .article { margin-top: 15px; padding: 25px 20px 35px; }
  .article h1 { font-size: 28px; }
  .article .body { font-size: 14px; }
  .topic-page .hero h1 { font-size: 28px; }
}
