/* Haenginro Lab section pages — shared hierarchy and reading layout. */
:root {
  --bg: #05070a;
  --panel: #0a101a;
  --blue: #105bd8;
  --text: #f8fafc;
  --muted: #a7afbd;
  --line: rgba(220, 235, 255, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at top right, rgba(16, 91, 216, 0.16), transparent 34rem), var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.section-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  color: var(--text);
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(18px);
}

.section-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.section-nav-links a:hover,
.section-nav-links a[aria-current="page"] { color: var(--text); }
.section-nav-links a[aria-current="page"] { font-weight: 700; }

.page {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

main { padding: 84px 0 110px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(46px, 8vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.intro {
  max-width: 650px;
  margin: 24px 0 56px;
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card, .list-row {
  border: 1px solid var(--line);
  background: rgba(10, 16, 26, 0.65);
}

.card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 20px;
}

.card h2 { margin: 14px 0 10px; font-size: 23px; letter-spacing: -0.035em; line-height: 1.1; }
.card p, .list-row p { margin: 0; color: var(--muted); font-size: 14px; }
.label, .status { font-size: 11px; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.label { color: var(--blue); }
.status { margin-top: auto; padding-top: 24px; color: var(--muted); }

.list { display: grid; }
.list-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-bottom: 0;
}
.list-row:first-child { border-radius: 18px 18px 0 0; }
.list-row:last-child { border-radius: 0 0 18px 18px; border-bottom: 1px solid var(--line); }
.list-row strong { font-size: 17px; letter-spacing: -0.02em; }
.list-row span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }

.notice {
  margin-top: 40px;
  padding: 22px 24px;
  border-left: 2px solid var(--blue);
  color: var(--muted);
  background: rgba(16, 91, 216, 0.08);
}

.w-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(10, 16, 26, 0.65); }
.w-row { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 24px; border-bottom: 1px solid var(--line); transition: background 0.15s ease; }
.w-list a.w-row:last-child { border-bottom: 0; }
.w-row:hover { background: rgba(16, 91, 216, 0.08); }
.w-row time { color: var(--muted); font-size: 13px; letter-spacing: 0.02em; padding-top: 2px; }
.w-row h2 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.02em; line-height: 1.25; }
.w-row p { margin: 0; color: var(--muted); font-size: 14px; }

.article-date { display: block; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
h1.article-title { max-width: 720px; font-size: clamp(40px, 6.8vw, 72px); line-height: 1.06; }
.article-body { max-width: 740px; margin-top: 36px; font-size: 18px; line-height: 1.65; }
.article-body p { margin: 0 0 26px; color: #d7deea; }
.article-body h2 { margin: 52px 0 16px; font-size: 21px; letter-spacing: -0.02em; }
.article-body table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 14px; }
.article-body th, .article-body td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--muted); }
.article-body th { color: var(--text); font-weight: 700; }
.article-back { display: inline-block; margin-top: 8px; color: var(--blue); font-size: 14px; font-weight: 700; }

@media (max-width: 760px) {
  .w-row { grid-template-columns: 1fr; gap: 6px; }
  .section-nav .shell-top-inner { height: auto; flex-wrap: wrap; padding: 14px 0; }
  .section-nav-links { row-gap: 8px; }
  .grid { grid-template-columns: 1fr; }
  .list-row { grid-template-columns: 1fr; gap: 7px; }
}

@media (max-width: 560px) {
  .page, .shell-top-inner, .shell-footer { width: min(100% - 28px, 960px); }
  main { padding: 58px 0 76px; }
}
