:root {
  --editorial-ink: #17212b;
  --editorial-muted: #5d6975;
  --editorial-paper: #f6f3ed;
  --editorial-accent: #b33a2b;
  --editorial-accent-dark: #87291f;
  --editorial-rule: #d9d3c8;
}

body {
  color: var(--editorial-ink);
  background: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

a {
  color: var(--editorial-accent-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--editorial-accent);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
  border-radius: 0.15rem;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--editorial-ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.site-header,
.navbar {
  background: var(--editorial-ink);
}

.navbar-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.navbar .nav-link {
  color: rgb(255 255 255 / 88%);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #fff;
}

.public-search-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.public-search-link svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-width: 2;
}

.site-main:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: -3px;
}

.home-hero {
  background: var(--editorial-paper);
}

.eyebrow {
  color: var(--editorial-accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.display-3,
.display-4,
.display-6 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.featured-story {
  background: #fff;
  border-top: 0.35rem solid var(--editorial-accent);
  border-radius: 0.35rem;
}

.featured-story__image {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.featured-story h2 a,
.news-card .card-title a {
  color: var(--editorial-ink);
  text-decoration: none;
}

.news-card {
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.news-card:hover {
  transform: translateY(-0.2rem);
}

.news-card .card-img-top {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.byline {
  color: var(--editorial-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.news-meta {
  color: var(--editorial-muted);
  font-size: 0.85rem;
}

.news-meta > div {
  display: flex;
  gap: 0.4rem;
}

.news-meta dt::after {
  content: ":";
}

.news-meta dd {
  margin-bottom: 0.2rem;
}

.news-meta--detail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-block: 1rem;
  border-block: 1px solid var(--editorial-rule);
}

.empty-state {
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
  background: var(--editorial-paper);
  border: 1px solid var(--editorial-rule);
  border-radius: 0.5rem;
}

.content-width {
  max-width: 48rem;
}

.article-header {
  text-align: center;
}

.article-featured-image {
  max-width: 75rem;
  margin-inline: auto;
}

.article-featured-image img,
.article-body figure img {
  display: block;
  width: 100%;
  height: auto;
}

.article-body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.75;
}

.article-body h2,
.article-body h3 {
  margin-top: 2.5rem;
}

.article-body blockquote {
  margin-block: 2rem;
  padding: 1rem 1.5rem;
  color: var(--editorial-muted);
  border-left: 0.3rem solid var(--editorial-accent);
}

.article-body .block-table {
  max-width: 100%;
  margin-block: 2rem;
  overflow-x: auto;
}

.article-body table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
}

.article-body table caption {
  padding-bottom: 0.75rem;
  font-weight: 700;
  text-align: start;
}

.article-body table :is(th, td) {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--editorial-rule);
  text-align: start;
  vertical-align: top;
}

.article-body table th {
  background: var(--editorial-paper);
  font-weight: 700;
}

.article-body iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

.article-featured-image figcaption,
.article-body figure figcaption {
  margin-bottom: 3rem;
  padding-top: 0.65rem;
  color: var(--editorial-muted);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.88rem;
}

.author-cards {
  border-top: 1px solid var(--bs-border-color);
}

.author-card {
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
}

.author-card__photo {
  width: 8rem;
  height: 8rem;
  object-fit: cover;
}

.author-card__position {
  color: var(--bs-secondary-color);
  font-size: 0.9rem;
}

.author-card__bio {
  max-width: 65ch;
}

.author-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
}

@media (max-width: 575.98px) {
  .author-card__photo {
    width: 6rem;
    height: 6rem;
  }
}

.image-credit {
  display: block;
  margin-top: 0.2rem;
}

.article-tags {
  border-top: 1px solid var(--editorial-rule);
}

.public-share {
  border-top: 1px solid var(--editorial-rule);
}

.public-share__heading {
  margin-bottom: 1rem;
  color: var(--editorial-accent-dark);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.public-share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
}

.public-share__action {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.55rem 0.85rem;
  color: var(--editorial-accent-dark);
  background: #fff;
  border: 1px solid var(--editorial-rule);
  border-radius: 0.25rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
}

.public-share__action:hover {
  color: var(--editorial-accent);
  background: var(--editorial-paper);
}

.public-share__notification {
  position: fixed;
  z-index: 1500;
  right: 1rem;
  bottom: 1rem;
  width: min(28rem, calc(100vw - 2rem));
  padding: 1rem;
  color: #fff;
  background: var(--editorial-ink);
  border: 1px solid var(--editorial-rule);
  border-radius: 0.4rem;
  box-shadow: 0 0.75rem 2rem rgb(23 33 43 / 25%);
}

.public-share__notification-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.public-share__status {
  margin: 0;
}

.public-share__close {
  flex: 0 0 auto;
  padding: 0.2rem 0.35rem;
  color: #fff;
  background: transparent;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 0.25rem;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.public-share__close:hover {
  background: rgb(255 255 255 / 12%);
}

.public-share__manual {
  margin-top: 0.85rem;
}

.public-share__manual label,
.public-share__manual span {
  display: block;
}

.public-share__manual span {
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.public-share__manual input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--editorial-muted);
  border-radius: 0.25rem;
}

.public-share__noscript {
  margin-block: 0.75rem 0;
}

.site-footer {
  padding-block: 2rem;
  color: rgb(255 255 255 / 82%);
  background: var(--editorial-ink);
}

.site-footer a {
  color: #fff;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-block: 1rem;
  }

  .featured-story__image {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-card {
    transition: none;
  }
}
