:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #4b5651;
  --accent: #a12f22;
  --line: #d9dfda;
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; padding: .75rem; background: white; transform: translateY(-150%); z-index: 1; }
.skip:focus { transform: none; }
.edition, footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; color: var(--muted); font-size: .875rem; }
.edition { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.masthead { display: block; width: fit-content; margin: .7rem auto 1.1rem; font: 700 clamp(3.25rem, 9vw, 6.25rem)/1 Georgia, serif; letter-spacing: -.075em; text-decoration: none; }
.masthead span { color: var(--accent); }
nav { display: flex; justify-content: center; flex-wrap: wrap; column-gap: clamp(.8rem, 4vw, 3rem); border-block: 1px solid var(--ink); }
nav a { padding: .75rem 0; font-size: .9rem; font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--accent); }
main { padding-block: 2rem 3rem; }
.top-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2rem; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { word-break: keep-all; overflow-wrap: anywhere; }
h1 { margin: .55rem 0 .85rem; font-size: clamp(2rem, 4.7vw, 4rem); line-height: 1.16; letter-spacing: -.065em; }
h2 { font-size: 1.25rem; letter-spacing: -.025em; }
h3 { font-size: 1.15rem; line-height: 1.4; letter-spacing: -.03em; }
p { color: var(--muted); line-height: 1.65; }
.label { color: var(--accent); font-size: .875rem; font-weight: 750; }
.intro { max-width: 42rem; font-size: 1.0625rem; }
.lead-art { position: relative; isolation: isolate; overflow: hidden; margin-top: 1.35rem; aspect-ratio: 2 / 1; background: linear-gradient(155deg, #f5c58a, #e88358 72%); }
.lead-art span { position: absolute; display: block; }
.sun { width: 25%; aspect-ratio: 1; border-radius: 50%; top: 9%; right: 14%; background: #ffe2a4; }
.building { bottom: 0; background: repeating-linear-gradient(90deg, transparent 0 13%, #ffffff21 13% 19%, transparent 19% 24%), repeating-linear-gradient(0deg, #0000 0 12%, #260f172e 12% 16%), #703c3a; }
.building-one { left: 3%; width: 24%; height: 76%; clip-path: polygon(0 19%, 74% 0, 100% 9%, 100% 100%, 0 100%); }
.building-two { left: 27%; width: 21%; height: 53%; background-color: #a25343; clip-path: polygon(0 0, 100% 13%, 100% 100%, 0 100%); }
.building-three { right: 0; width: 26%; height: 38%; background-color: #9a5446; clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%); }
.shadow { inset: auto 0 0; height: 32%; background: #3a262b; clip-path: polygon(0 0, 61% 43%, 94% 100%, 0 100%); }
.world { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.world ul { list-style: none; padding: 0; margin: 0; }
.world li, .reports article { padding-block: .8rem; border-top: 1px solid var(--line); }
.world h2, .reports h2 { margin-bottom: .65rem; }
.world h3, .reports h3 { margin-bottom: .2rem; }
.opinion { display: grid; grid-template-columns: 1fr 3fr; gap: 1rem; margin-block: 2rem; padding: 1.5rem; border-top: 2px solid var(--accent); background: #f6f7f4; }
.opinion h3 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin-bottom: .45rem; }
.opinion .label { margin-top: .65rem; }
.reports { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.reports section { border-top: 2px solid var(--ink); padding-top: .8rem; }
footer { padding-block: 1rem 1.5rem; border-top: 1px solid var(--line); }

@media (max-width: 46rem) {
  .wrap { width: calc(100% - 2rem); }
  .top-grid, .reports, .opinion { grid-template-columns: 1fr; }
  .world { border-left: 0; border-top: 2px solid var(--ink); padding: .85rem 0 0; }
  nav a { padding-block: .65rem; }
}

.article-body { margin-top: 1.5rem; max-width: 42rem; white-space: pre-wrap; overflow-wrap: anywhere; }

:root { --accent: #172b4d; }
.korean-name { text-align: center; margin: -.9rem 0 1rem; }
.nav-search, .search-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding-block: .65rem; }
.nav-search input { width: 8rem; }
input, select, button { font: inherit; }
.search-filters label { display: grid; gap: .3rem; }
.story-list { list-style: none; padding: 0; }
.story-list li { border-top: 1px solid var(--line); padding-block: 1rem; }
.top-grid { grid-template-areas: "lead world opinion"; grid-template-columns: 4fr 2fr 2fr; }
.top-grid.wide-opinion { grid-template-columns: 4fr 2fr 3fr; }
.lead { grid-area: lead; min-width: 0; }
.world { grid-area: world; min-width: 0; }
.opinion { grid-area: opinion; display: block; margin: 0; min-width: 0; }
.opinion h2 { margin-bottom: .75rem; }
.publication-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.reports { margin-top: 2rem; }

@media (max-width: 56rem) {
  .top-grid, .top-grid.wide-opinion { grid-template-areas: "lead" "opinion" "world"; grid-template-columns: 1fr; }
}
.tip-form { display: grid; gap: .85rem; max-width: 42rem; margin-block: 1rem; }
.tip-form label { display: grid; gap: .3rem; }
.tip-form textarea { font: inherit; }
.tip-form button { justify-self: start; }
.ticker { flex-wrap: nowrap; justify-content: flex-start; white-space: nowrap; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; }
th, td { padding: .5rem; border-bottom: 1px solid var(--line); }
th { background: #f6f7f4; }
