/* Article-specific styles */

nav {
  margin-bottom: 3rem;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
}

nav a:hover {
  color: var(--text);
}

article header {
  margin-bottom: 2.5rem;
}

article header h1 {
  font-size: 1.75rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

article section {
  margin-bottom: 2rem;
}

article h2 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text);
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}

article h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

article p {
  margin-bottom: 1rem;
}

article ul,
article ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

article li {
  margin-bottom: 0.5rem;
}

.abstract {
  border-left: 3px solid var(--border);
  padding-left: 1.25rem;
  margin-bottom: 2.5rem;
}

.abstract p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.875rem;
}

th, td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

td:first-child {
  font-weight: 500;
}

.caption {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: -0.5rem;
  font-style: italic;
}

/* Figures */
figure {
  margin: 2rem 0;
}

figure img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

figcaption {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

/* Article footer */
article footer {
  margin-top: 3rem;
}

article footer hr {
  margin-bottom: 1.5rem;
}

article footer p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

article footer a {
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

article footer a:hover {
  color: var(--text);
}
