/* Published article page, laid out like a journal full-text record. */

.nla-article-page {
  background: #f4f6f8;
}

.nla-article {
  --nla-art-ink: #1c1c1c;
  --nla-art-muted: #5c6560;
  --nla-art-line: #d7dee2;
  --nla-art-link: #0b5f2a;
  --nla-art-bar: #12305a;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
  color: var(--nla-art-ink);
}

.nla-article-crumb {
  font-size: 0.86rem;
  color: var(--nla-art-muted);
  margin-bottom: 1rem;
}
.nla-article-crumb a { color: var(--nla-art-link); text-decoration: none; }
.nla-article-crumb a:hover { text-decoration: underline; }

.nla-article-head {
  background: #fff;
  border: 1px solid var(--nla-art-line);
  border-bottom: 0;
  padding: 1.5rem 1.5rem 1rem;
}
.nla-article-type {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nla-art-link);
}
.nla-article-head h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.4vw, 2.25rem);
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 0.85rem;
}
.nla-article-authors {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}
.nla-article-authors a { color: var(--nla-art-link); text-decoration: none; }
.nla-article-authors a:hover { text-decoration: underline; }
.nla-article-corr { color: var(--nla-art-muted); font-size: 0.92rem; }
.nla-article-meta {
  margin: 0;
  color: var(--nla-art-muted);
  font-size: 0.92rem;
}
.nla-article-meta a { color: var(--nla-art-link); }

.nla-article-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  background: var(--nla-art-bar);
  color: #fff;
  padding: 0.55rem 1rem;
}
.nla-article-tools a {
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.nla-article-tools a:hover { text-decoration: underline; }
.nla-article-pdf {
  margin-left: auto;
  background: #1b7a32 !important;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 4px;
  padding: 0.4rem 0.85rem;
}
.nla-article-pdf:hover { background: #146326 !important; }

.nla-article-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 260px;
  gap: 0;
  background: #fff;
  border: 1px solid var(--nla-art-line);
  border-top: 0;
}
.nla-article-toc,
.nla-article-side {
  padding: 1.25rem 1rem;
}
.nla-article-toc {
  border-right: 1px solid var(--nla-art-line);
}
.nla-article-side {
  border-left: 1px solid var(--nla-art-line);
  background: #f8faf9;
}
.nla-article-toc h2,
.nla-article-side h2 {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nla-art-muted);
  margin: 0 0 0.75rem;
}
.nla-article-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nla-article-toc li { border-top: 1px solid var(--nla-art-line); }
.nla-article-toc a {
  display: block;
  padding: 0.55rem 0.15rem;
  color: var(--nla-art-link);
  text-decoration: none;
  font-size: 0.95rem;
}
.nla-article-toc a:hover,
.nla-article-toc a[aria-current="true"] { font-weight: 700; }

.nla-article-main { padding: 1.5rem 1.6rem 2rem; }
.nla-article-main h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.nla-article-abstract p {
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}
.nla-article-kicker {
  font-weight: 700;
  margin: 1.25rem 0 0.45rem;
}
.nla-article-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nla-article-keywords li {
  border: 1px solid #c5d4ea;
  background: #f4f8ff;
  color: #163a66;
  border-radius: 6px;
  padding: 0.28rem 0.7rem;
  font-size: 0.95rem;
}

.nla-article-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  margin-top: 1.5rem;
}
.nla-article-pager a {
  flex: 1 1 180px;
  border: 1px solid var(--nla-art-line);
  border-radius: 4px;
  padding: 0.7rem 0.85rem;
  text-decoration: none;
  color: var(--nla-art-ink);
  background: #fff;
}
.nla-article-pager a strong { display: block; color: var(--nla-art-link); font-size: 0.85rem; }
.nla-article-pager .is-next { text-align: right; }

.nla-article-cite {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--nla-art-line);
}
.nla-article-cite pre {
  white-space: pre-wrap;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  background: #f6f7f8;
  border: 1px solid var(--nla-art-line);
  padding: 0.9rem 1rem;
  margin: 0 0 0.6rem;
}
.nla-article-html {
  font-size: 1.05rem;
  line-height: 1.7;
}
.nla-article-html h2,
.nla-article-html h3,
.nla-article-html h4 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.25rem;
}
.nla-article-html p { margin: 0 0 0.9rem; }
.nla-article-html ul,
.nla-article-html ol { margin: 0 0 0.9rem; padding-left: 1.25rem; }
.nla-article-html table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.nla-article-html th,
.nla-article-html td { border: 1px solid var(--nla-art-line); padding: 0.4rem 0.55rem; vertical-align: top; }
.nla-article-html blockquote { margin: 0 0 0.9rem; padding-left: 0.9rem; border-left: 3px solid #15803d; }
.nla-article-frame {
  width: 100%;
  height: 80vh;
  min-height: 520px;
  border: 1px solid var(--nla-art-line);
  background: #fafafa;
}
.nla-article-side dl { margin: 0; }
.nla-article-side dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--nla-art-muted);
  margin-top: 0.75rem;
}
.nla-article-side dd { margin: 0.15rem 0 0; }
.nla-article-side a { color: var(--nla-art-link); }

@media (max-width: 991px) {
  .nla-article-grid { grid-template-columns: 1fr; }
  .nla-article-toc,
  .nla-article-side { border: 0; }
  .nla-article-toc ol { display: flex; gap: 0.75rem; overflow-x: auto; }
  .nla-article-toc li { border: 0; white-space: nowrap; }
  .nla-article-pdf { margin-left: 0; }
}
