:root {
  --bg: #fff;
  --ink: #15171c;
  --muted: #5b626e;
  --faint: #68707c;
  --line: #e7e9ee;
  --surface: #f6f7f9;
  --accent: #2438e0;
  --read: 680px;
  --max: 1280px;
  --gutter: 20px;
  font-family:
    "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.wrap {
  max-width: var(--max);
  margin: auto;
  padding: 0 var(--gutter);
}
.skip {
  position: absolute;
  left: -9999px;
}
.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fffffff2;
  border-bottom: 1px solid var(--line);
}
.head-in {
  height: 64px;
  display: flex;
  align-items: center;
}
.brand {
  font-size: 23px;
  font-weight: 800;
}
.brand b {
  color: var(--accent);
}
.nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
}
.nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.listing {
  padding-top: 38px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.card h2 {
  font-size: 20px;
  line-height: 1.35;
}
.card p {
  color: var(--muted);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--read)) 500px;
  gap: 40px;
  align-items: start;
}
.article {
  padding: 38px 0;
}
.article h1 {
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.meta {
  display: flex;
  gap: 14px;
  color: var(--faint);
  font-size: 13px;
  margin-bottom: 24px;
}
.hero-media,
.article-media img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.hero-media img,
.article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
figcaption {
  font-size: 12.5px;
  color: var(--faint);
  margin-top: 7px;
}
.summary {
  font-size: 19px;
  font-weight: 650;
}
.prose p {
  margin: 0 0 21px;
}
.prose h2 {
  font-size: 25px;
  margin: 36px 0 12px;
}
.article-media {
  margin: 32px 0;
}
.sources {
  border-top: 1px solid var(--line);
  margin-top: 42px;
}
.article-rail {
  position: relative;
  margin-top: 92px;
  will-change: transform;
}
.article-rail > h2 {
  font-size: 18px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
}
.rail-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 14px;
}
.rail-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.rail-item h3 {
  font-size: 15px;
  line-height: 1.35;
}
.next-sep {
  border-top: 1px solid var(--line);
  margin: 60px 0 24px;
  text-align: center;
}
.after-stream {
  border-top: 3px solid var(--ink);
  margin-top: 60px;
}
.after-stream-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 18px;
}
.after-card img {
  aspect-ratio: 16/9;
  object-fit: cover;
}
.after-card h3 {
  font-size: 18px;
}
.site-foot {
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding: 34px 0;
  color: var(--muted);
  font-size: 13px;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 12px 0;
}
.foot-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.doc {
  max-width: var(--read);
  padding-top: 40px;
  padding-bottom: 40px;
}
.doc a {
  color: var(--accent);
  text-decoration: underline;
}
.empty-news {
  min-height: 52vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  padding: 70px 0;
}
.empty-news span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.empty-news h1 {
  margin: 14px 0;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}
.empty-news p {
  color: var(--muted);
  font-size: 18px;
}
@media (max-width: 1199px) {
  .article-layout {
    display: block;
  }
  .article-rail {
    display: none;
  }
}
@media (max-width: 700px) {
  :root {
    --gutter: 16px;
  }
  .grid,
  .after-stream-grid {
    grid-template-columns: 1fr;
  }
  .article h1 {
    font-size: 30px;
  }
  .hero-media,
  .article-media img {
    margin-left: calc(-1 * var(--gutter));
    width: calc(100% + 2 * var(--gutter));
    max-width: none;
  }
  .nav {
    gap: 12px;
  }
}
