* { box-sizing: border-box; }

:root {
  --ink: #17202a;
  --muted: #66717d;
  --line: #d9dee3;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --navy: #102a43;
  --red: #a52a2a;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a { color: inherit; }

.utility-bar {
  background: #0b1724;
  color: #dfe7ee;
  font-size: 0.78rem;
}

.utility-inner, .masthead, .main-nav, main, .site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.utility-inner {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
}

.utility-inner nav, .main-nav, .footer-links {
  display: flex;
  gap: 22px;
}

.utility-inner a, .main-nav a, .footer-links a, .brand, .account-link {
  text-decoration: none;
}

.masthead {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 440px) auto;
  gap: 24px;
  align-items: center;
  min-height: 96px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
}

.brand-mark { font-size: 2rem; }

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
}

.site-search { display: flex; }

.site-search input {
  width: 100%;
  border: 1px solid #aeb8c2;
  border-right: 0;
  padding: 12px 13px;
  font-size: 0.95rem;
}

.site-search button, .search-card button {
  border: 0;
  background: var(--navy);
  color: white;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
}

.account-link {
  font-weight: 700;
  color: var(--navy);
}

.main-nav {
  gap: 29px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 3px solid var(--navy);
  overflow-x: auto;
}

.main-nav a {
  white-space: nowrap;
  color: #293746;
  font-weight: 700;
  font-size: 0.9rem;
}

.author-hero {
  display: grid;
  grid-template-columns: 112px 1fr 300px;
  gap: 32px;
  align-items: start;
  padding: 55px 0 44px;
  border-bottom: 1px solid var(--line);
}

.author-avatar {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
}

.eyebrow, .story-label {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.72rem;
  font-weight: 800;
}

.author-copy h1 {
  margin: 3px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 6vw, 4.3rem);
  line-height: 1;
}

.role {
  margin: 12px 0 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.location {
  margin: 6px 0 18px;
  color: var(--muted);
}

.location::before {
  content: "●";
  color: var(--red);
  margin-right: 8px;
  font-size: 0.72rem;
}

.bio {
  max-width: 680px;
  margin: 0;
  color: #46515c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.author-actions {
  display: flex;
  gap: 10px;
  margin-top: 23px;
}

.primary-button, .secondary-button {
  display: inline-block;
  padding: 10px 17px;
  border: 1px solid var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-button {
  background: var(--navy);
  color: white;
}

.secondary-button { color: var(--navy); }

.author-facts {
  margin: 0;
  border-top: 3px solid var(--navy);
}

.author-facts div, .coverage-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.author-facts dt {
  color: var(--muted);
  font-size: 0.86rem;
}

.author-facts dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.profile-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.overview-card {
  padding: 26px 20px;
  border-right: 1px solid var(--line);
}

.overview-card:last-child { border-right: 0; }

.overview-number {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 700;
}

.overview-label {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 52px;
  padding: 48px 0 70px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 20px;
}

.section-heading h2, .sidebar-card h2 {
  margin: 3px 0 0;
  font-family: Georgia, "Times New Roman", serif;
}

.section-heading h2 { font-size: 2rem; }
.result-count { color: var(--muted); font-size: 0.86rem; }

.filter-bar {
  display: flex;
  gap: 14px;
  padding: 16px;
  margin-bottom: 28px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.filter-bar label {
  flex: 1;
  color: #4b5762;
  font-size: 0.78rem;
  font-weight: 700;
}

.filter-bar select {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 9px;
  border: 1px solid #b9c1c8;
  background: white;
}

.featured-story {
  margin-bottom: 12px;
  border-top: 4px solid var(--navy);
  border-bottom: 1px solid var(--line);
}

.story-copy {
  padding: 28px 0 30px;
}

.story-copy h3, .archive-details h3 {
  margin: 7px 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.16;
}

.story-copy h3 { font-size: 1.75rem; }

.story-copy h3 a, .archive-details h3 a {
  text-decoration: none;
}

.story-copy h3 a:hover, .archive-details h3 a:hover {
  text-decoration: underline;
}

.story-copy p {
  max-width: 720px;
  color: #52606b;
}

.story-meta {
  color: #7b858e;
  font-size: 0.79rem;
}

.archive-list {
  border-top: 1px solid var(--line);
}

.archive-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.archive-row time {
  padding-top: 3px;
  text-align: center;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.72rem;
}

.archive-row time strong {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1;
}

.archive-details h3 {
  font-size: 1.25rem;
  color: #313c46;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}

.pagination a, .pagination span {
  min-width: 38px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  text-align: center;
  text-decoration: none;
}

.pagination .current-page {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.pagination .next-page {
  margin-left: 8px;
  padding-left: 17px;
  padding-right: 17px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  padding: 22px;
  border-top: 4px solid var(--navy);
  background: var(--soft);
}

.sidebar-card h2 { font-size: 1.3rem; }
.coverage-list { margin-top: 13px; }
.coverage-list span { color: #4f5c67; }
.coverage-list strong { color: var(--navy); }

.year-list {
  margin-top: 12px;
}

.year-list a {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.tag-list a {
  padding: 7px 9px;
  border: 1px solid #b8c1c9;
  background: white;
  font-size: 0.78rem;
  text-decoration: none;
}

.search-card form {
  display: flex;
  margin-top: 14px;
}

.search-card input {
  width: 100%;
  min-width: 0;
  padding: 10px;
  border: 1px solid #abb5be;
  border-right: 0;
}

.search-card button {
  min-width: 78px;
}

.search-hint {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.site-footer {
  padding: 34px 0 45px;
  border-top: 4px solid var(--navy);
  color: #65717c;
  font-size: 0.82rem;
}

.footer-brand {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-links {
  flex-wrap: wrap;
  margin: 14px 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (max-width: 850px) {
  .masthead { grid-template-columns: 1fr auto; }
  .site-search { grid-column: 1 / -1; grid-row: 2; margin-bottom: 15px; }
  .author-hero { grid-template-columns: 90px 1fr; }
  .author-avatar { width: 82px; height: 82px; }
  .author-facts { grid-column: 1 / -1; }
  .profile-overview { grid-template-columns: repeat(2, 1fr); }
  .page-grid { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .utility-inner, .masthead, .main-nav, main, .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .utility-inner nav { display: none; }
  .masthead { min-height: 78px; gap: 12px; }
  .brand-name { font-size: 1.45rem; }

  .author-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 34px;
  }

  .author-avatar { width: 76px; height: 76px; }
  .author-facts { grid-column: auto; }
  .profile-overview { grid-template-columns: 1fr 1fr; }
  .filter-bar { flex-direction: column; }
  .sidebar { display: flex; }
}


.footer-divider {
  width: 100%;
  height: 1px;
  margin: 20px 0;
  background: var(--line);
}

.site-footer p {
  max-width: 760px;
  margin: 10px 0;
}

.site-footer strong {
  color: var(--ink);
}
