@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap");

:root {
  --plp-red: #b23333;
  --plp-black: #111111;
  --plp-ink: #222222;
  --plp-muted: #767676;
  --plp-line: #e4e4e4;
  --plp-paper: #ffffff;
  --plp-soft: #f5f5f5;
}

body {
  background: var(--plp-soft);
  color: var(--plp-ink);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

a { color: var(--plp-black); }
a:hover { color: var(--plp-red); text-decoration: none; }

.container { width: min(1120px, calc(100% - 28px)); }
.top-strip { background: var(--plp-black); color: #fff; font-size: 0.7rem; }
.top-strip .container { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; }
.top-strip a { color: #fff; margin-left: 0.8rem; }

.masthead {
  background: var(--plp-paper);
  border-bottom: 1px solid var(--plp-line);
  padding: 1.7rem 1rem;
  text-align: center;
}
.brand { display: inline-flex; flex-direction: column; align-items: center; color: var(--plp-black); }
.brand-mark { font-family: Georgia, "Times New Roman", serif; font-size: 2.2rem; font-weight: 700; line-height: 1; text-transform: uppercase; }
.brand-subtitle { color: var(--plp-muted); font-size: 0.75rem; margin-top: 0.35rem; text-transform: uppercase; }

.primary-nav { background: var(--plp-black) !important; border-bottom: 3px solid var(--plp-red); }
.primary-nav .navbar-section { flex-wrap: wrap; min-width: 0; }
.primary-nav .btn.btn-link { height: 1.7rem; padding: 0.2rem 0.45rem; text-transform: uppercase; }
.primary-nav .nav-links { gap: 0.15rem; }

.site-main { padding: 1.4rem 0 2.5rem; }
.homepage, .article-layout, .listing-layout, .error-page {
  background: var(--plp-paper);
  border: 1px solid var(--plp-line);
  padding: 1.2rem;
}

.section-kicker {
  background: var(--plp-red);
  color: #fff;
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  margin: 0 0 0.7rem;
  padding: 0.18rem 0.5rem;
  text-transform: uppercase;
}

h1, h2, h3 {
  color: var(--plp-black);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}
h1 { font-size: 2rem; line-height: 1.12; margin-bottom: 1rem; }
h2 { border-top: 3px solid var(--plp-red); font-size: 1.25rem; padding-top: 0.45rem; }

.lead-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.lead-story { background: var(--plp-black); color: #fff; min-height: 260px; padding: 1.3rem; display: flex; flex-direction: column; justify-content: flex-end; }
.lead-story h1, .lead-story p { color: #fff; }
.lead-list { border-top: 3px solid var(--plp-red); display: grid; gap: 0.6rem; align-content: start; }
.lead-list a { border-bottom: 1px solid var(--plp-line); font-weight: 700; padding: 0.55rem 0; }

.story-card { border-radius: 0; border: 1px solid var(--plp-line); box-shadow: none; height: 100%; margin: 0 0.35rem 0.7rem; }
.story-card .card-body a { font-weight: 700; line-height: 1.25; }

.article-body { font-size: 0.92rem; line-height: 1.7; }
.article-body img, .home-archive img, .listing-content img { height: auto; max-width: 100%; }
.article-body table, .listing-content table { display: block; max-width: 100%; overflow-x: auto; }
.article-body th, .article-body td, .listing-content th, .listing-content td { overflow-wrap: anywhere; }
figure { margin: 1rem 0; }
figcaption { color: var(--plp-muted); font-size: 0.72rem; }
blockquote { border-left: 4px solid var(--plp-red); margin-left: 0; padding-left: 1rem; }

.editorial-sidebar { border-top: 3px solid var(--plp-red); padding-top: 0.6rem; }
.editorial-sidebar h3 { font-size: 1rem; text-transform: uppercase; }
.editorial-sidebar .nav-item a { border-bottom: 1px solid var(--plp-line); display: block; font-size: 0.78rem; line-height: 1.25; padding: 0.45rem 0; }

.outlink-preservation { border-top: 1px solid var(--plp-line); margin-top: 1.2rem; padding-top: 0.8rem; }
.outlink-preservation h2 { font-size: 1rem; }
.outlink-preservation ul { columns: 2; list-style: none; margin-left: 0; }
.outlink-preservation li { break-inside: avoid; font-size: 0.75rem; line-height: 1.25; margin-bottom: 0.35rem; }

.breadcrumb { margin-bottom: 1rem; }
.site-footer { background: var(--plp-black) !important; border-top: 4px solid var(--plp-red); color: #fff; padding: 1.8rem 0 !important; }
.site-footer h2, .site-footer h3, .site-footer a { color: #fff; }
.site-footer ul { list-style: none; margin: 0; }
.site-footer li { margin-bottom: 0.35rem; }

@media (max-width: 840px) {
  .top-strip .container { display: block; text-align: center; }
  .top-strip a { display: inline-block; margin: 0.2rem 0.35rem 0; }
  .brand-mark { font-size: 1.6rem; }
  .primary-nav .navbar-section { justify-content: center; }
  .primary-nav .btn.btn-link { white-space: normal; }
  .lead-grid { grid-template-columns: 1fr; }
  .homepage, .article-layout, .listing-layout, .error-page { padding: 0.9rem; }
  h1 { font-size: 1.55rem; }
}
