:root {
  --ink: #111;
  --muted: #4a4a4a;
  --rule: #111;
  --link: #0072B2;
  --paper: #fff;
  --serif: "Times New Roman", Times, "Liberation Serif", "Nimbus Roman", serif;
  --sans: Arial, Helvetica, "Liberation Sans", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
}
.wrap, .wide { max-width: 900px; margin: 0 auto; padding: 0 16px; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* Masthead with tab navigation */
.masthead { border-bottom: 1px solid var(--rule); font-family: var(--sans); }
.masthead .bar {
  max-width: 900px; margin: 0 auto; padding: 0 16px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap;
}
.masthead .name {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 12px 0 9px;
}
.masthead .name img { width: 40px; height: 36px; display: block; }
.tabs { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.tabs a {
  display: block;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  padding: 16px 0 9px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }

/* Page heading */
.title { padding-top: 40px; }
h1 {
  font-family: var(--sans);
  font-size: 40px; line-height: 1.15; font-weight: 700;
  margin: 0 0 12px;
}
.dek { font-size: 21px; color: var(--muted); margin: 0 0 24px; }
h2 { font-family: var(--sans); font-size: 25px; font-weight: 700; margin: 40px 0 12px; }
p { margin: 0 0 14px; }
.lead-rule::before { content: ""; display: block; border-top: 1px solid var(--rule); margin-bottom: 18px; }

/* Figures */
figure { margin: 28px 0 8px; }
figure picture { display: block; }
figure video, figure img { display: block; width: 100%; height: auto; background: #fff; }
figcaption {
  font-size: 15.5px; line-height: 1.45;
  margin: 10px auto 0;
}
figcaption b { font-family: var(--sans); font-size: 14.5px; }

/* Author biographies, as at the end of a journal article */
.bio {
  display: grid; grid-template-columns: 132px 1fr; gap: 20px;
  padding: 20px 0; border-bottom: 0.75px solid var(--rule);
}
.bio:first-of-type { border-top: 1.5px solid var(--rule); }
.bio:last-of-type { border-bottom: 1.5px solid var(--rule); }
.bio img { width: 132px; height: 132px; object-fit: cover; display: block; }
.bio p { margin: 0; }
.bio .who { font-family: var(--sans); font-weight: 700; font-size: 16.5px; }
.bio .page { font-size: 15.5px; margin-top: 6px; }

footer {
  margin-top: 56px;
  border-top: 1px solid var(--rule);
  font-size: 14.5px; color: var(--muted);
  padding: 12px 0 40px;
}
footer p { margin: 0 0 6px; }

@media (max-width: 640px) {
  body { font-size: 17px; line-height: 1.6; }
  .wrap, .wide, .masthead .bar { padding: 0 20px; }
  .title { padding-top: 28px; }
  h1 { font-size: 30px; }
  h2 { font-size: 22px; margin-top: 32px; }
  .dek { font-size: 17.5px; }
  figcaption { font-size: 15px; }
  .masthead .bar { gap: 0; }
  .masthead .name { padding: 10px 0 4px; font-size: 13px; }
  .masthead .name img { width: 32px; height: 29px; }
  .tabs { width: 100%; flex-wrap: wrap; gap: 2px 13px; }
  .tabs a { font-size: 11.5px; letter-spacing: 0.04em; padding: 6px 0 8px; white-space: nowrap; }
  .bio { grid-template-columns: 1fr; gap: 12px; }
  .bio img { width: 120px; height: 120px; }
}

/* News */
.news::before, .news::after { content: ""; display: block; border-top: 1px solid var(--rule); }
.news::before { margin-bottom: 12px; }
.news::after { margin-top: 14px; }
.news { margin-bottom: 4px; }
.news h2 { margin: 0 0 8px; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; }
.news ul { list-style: none; margin: 0; padding: 0; }
.news li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; }
.news .date { font-family: var(--sans); font-size: 14.5px; font-weight: 700; padding-top: 3px; }
@media (max-width: 640px) { .news li { grid-template-columns: 1fr; gap: 0; } }
