:root {
  --ink: #111827;
  --muted: #5d6675;
  --line: #dfe3e8;
  --paper: #ffffff;
  --card: #f7f8fa;
  --green: #173b62;
  --signal: #e24b35;
  --sand: #eef3f8;
  --max: 1180px;
}

body {
  background: var(--paper);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

.masthead {
  max-width: none;
  padding: 17px max(24px, calc((100vw - var(--max)) / 2));
  border: 0;
  background: #111827;
  color: #fff;
  align-items: center;
}

.brand strong,
.hero h1,
.latest h2,
.care h2,
.listing h1,
.text-page h1,
.story h3,
.article > header h1,
.opening > p,
.body-copy h2,
.takeaway h2,
.source h2,
.principles h2,
.desk-note strong,
.care li {
  font-family: inherit;
}

.brand strong { font-size: 1.45rem; font-weight: 800; letter-spacing: -.045em; }
.brand small { color: #93b7dd; letter-spacing: .12em; }
.masthead nav a { color: #d9e2ec; font-weight: 650; }
.masthead nav a:hover { color: #fff; }
.status { color: #9fb0c2; }

main { padding: 0 24px; }
.topic-strip {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  white-space: nowrap;
  font-size: .88rem;
}
.topic-strip strong { color: var(--signal); }
.topic-strip a { text-decoration: none; font-weight: 650; }

.hero {
  padding: 34px 0 30px;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  gap: 44px;
  border-bottom: 0;
  align-items: stretch;
}
.hero-copy {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  max-width: 560px;
  margin: 12px 0 20px;
  font-size: clamp(2.65rem, 5vw, 4.9rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.065em;
}
.hero .hero-copy > p { margin: 0; max-width: 540px; color: var(--muted); font-size: 1.03rem; }
.hero-link { margin-top: 25px; color: var(--green); font-weight: 750; text-underline-offset: 5px; }
.hero figure { margin: 0; min-height: 340px; overflow: hidden; background: #e8edf2; }
.hero img { width: 100%; height: 100%; display: block; object-fit: cover; }

.priority { background: #173b62; }
.priority span { padding: 14px 22px; font-weight: 650; }
.priority b { margin-right: 8px; color: #8fc1f2; }

.latest { padding: 54px 0 66px; }
.latest > header {
  grid-template-columns: 90px minmax(0, 1fr) auto;
  align-items: end;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--ink);
}
.latest > header > a { color: var(--green); font-size: .88rem; font-weight: 750; }
.latest h2, .care h2, .listing h1, .text-page h1 {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -.055em;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  border-top: 0;
}
.story-grid .story {
  grid-template-columns: 45px 1fr;
  padding: 27px 0;
  border-top: 1px solid var(--line);
}
.story-grid .story.lead {
  grid-column: 1 / -1;
  grid-template-columns: 70px 1fr;
  border-top: 0;
  padding-top: 4px;
  padding-bottom: 34px;
}
.story-grid .story.lead h3 { max-width: 880px; font-size: clamp(2rem, 4vw, 3.45rem); }
.story > span { font-family: inherit; font-weight: 800; }
.story h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 750; letter-spacing: -.035em; }
.story h3 a:hover { color: var(--green); }
.story p { font-size: .96rem; }

.care { background: var(--sand); margin: 0 -24px; padding: 58px max(24px, calc((100vw - var(--max)) / 2)); }
.care li { font-weight: 700; }
.desk-note { border: 0; border-left: 5px solid var(--signal); background: #f7f8fa; }

.listing, .text-page { padding-top: 58px; }
.listing-feed { border-top: 3px solid var(--ink); }
.listing-feed .story { grid-template-columns: 70px 1fr; }
.pagination { display: flex; justify-content: center; gap: 8px; margin: 38px 0 0; }
.pagination a, .pagination span { min-width: 40px; padding: 8px 12px; text-align: center; border: 1px solid var(--line); text-decoration: none; }
.pagination span { background: var(--ink); color: #fff; border-color: var(--ink); }

.article > header h1 { font-weight: 800; }
.opening > p, .body-copy h2, .takeaway h2, .source h2, .principles h2 { font-weight: 700; }

@media (max-width: 800px) {
  .masthead { padding: 15px 18px; }
  .topic-strip { gap: 18px; }
  .hero { grid-template-columns: 1fr; gap: 8px; padding-top: 18px; }
  .hero-copy { padding: 20px 0; }
  .hero h1 { font-size: clamp(2.45rem, 13vw, 4.1rem); }
  .hero figure { min-height: 230px; order: -1; }
  .latest > header { grid-template-columns: 1fr; gap: 8px; }
  .latest > header > a { margin-top: 8px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-grid .story.lead { grid-column: auto; grid-template-columns: 45px 1fr; }
  .story-grid .story.lead h3 { font-size: 1.7rem; }
  .listing-feed .story { grid-template-columns: 45px 1fr; }
}
