:root {
  --page-bg: #ffffff;
  --surface: #ffffff;
  --banner-bg: #55bceb;
  --banner-bg-strong: #55bceb;
  --banner-edge: #d3a22e;
  --line: #d3a22e;
  --line-strong: #d3a22e;
  --text: #000000;
  --muted: #646464;
  --link: #55bceb;
  --link-hover: #096abf;
  --accent: #1d1dba;
  --brand-dark: #002d62;
  --title-gold: #ffc433;
  --footer-bg: #f6f3ed;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-family: "Times New Roman", serif;
  color: #222222;
  line-height: 1.25;
  font-weight: normal;
}

.page-backdrop {
  display: none;
}

#page-wrapper {
  width: min(calc(100% - 2rem), 1760px);
  margin: 0.75rem auto 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
}

.section-shell,
.page-header,
.article-shell,
.footer-inner {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(180deg, var(--banner-bg) 0%, var(--banner-bg-strong) 100%);
  border-bottom: 1px solid var(--banner-edge);
}

.topbar-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: stretch;
  gap: 0;
  padding: 0;
}

.brandmark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  min-height: 240px;
  padding: 1.1rem;
  background: var(--brand-dark);
  color: #ffffff;
}

.brandmark:hover {
  color: #ffffff;
  text-decoration: none;
}

.wordmark-logo {
  width: auto;
  max-width: 185px;
  max-height: 185px;
  height: auto;
  object-fit: contain;
  border: 3px solid var(--banner-edge);
}

.topic-nav {
  display: grid;
  grid-template-columns: repeat(5, max-content);
  justify-content: center;
  align-content: center;
  justify-items: center;
  align-items: center;
  column-gap: 2.8rem;
  row-gap: 2.6rem;
  min-height: 240px;
  padding: 1.1rem 2.6rem;
  font-size: 1.08rem;
}

.topic-nav a {
  color: #000000;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.05;
}

.topic-nav a.is-active {
  color: var(--accent);
  font-weight: 700;
}

.site-main {
  min-height: 50vh;
}

.section-shell {
  padding: 1.9rem 0;
}

.page-header {
  padding: 2.2rem 0 1rem;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.eyebrow {
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.front-copy {
  width: min(calc(100% - 2rem), 980px);
  padding-top: 0.75rem;
}

.home-hero {
  width: min(calc(100% - 2rem), 980px);
  padding-top: 4.4rem;
  padding-bottom: 0.9rem;
}

.home-title-ribbon {
  padding: 0.45rem 1.25rem 0.75rem;
  border: 1px solid var(--banner-edge);
  background: var(--brand-dark);
  color: var(--title-gold);
  text-align: center;
  font-size: clamp(2.8rem, 4.6vw, 4.1rem);
  line-height: 1.05;
}

.home-welcome-panel {
  margin-top: 1.35rem;
  padding: 1.5rem 2.9rem 1.55rem;
  border: 1px solid var(--banner-edge);
  background: var(--banner-bg);
  font-size: 1.08rem;
  line-height: 1.9;
  font-weight: 700;
}

.home-welcome-panel p:last-child {
  margin-bottom: 0;
}

.entry-content h2,
.related-shell h2,
.article-section h2,
.category-list-entry h2,
.category-card h3 {
  font-size: 1.65rem;
}

.page-home .entry-content h2 {
  margin: 1.6rem 0 0.95rem;
  font-size: clamp(2.7rem, 4vw, 3.3rem);
  color: #2b2b2b;
}

.site-latest-posts,
.archive-post-list,
.category-archive-list,
.source-list,
.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-latest-posts li,
.archive-post-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.site-latest-posts li:last-child,
.archive-post-list li:last-child {
  border-bottom: 0;
}

.wp-block-latest-posts__post-title {
  display: block;
  font-size: 1rem;
  color: #222222;
}

a.wp-block-latest-posts__post-title:hover {
  color: var(--link-hover);
}

.latest-empty {
  color: var(--muted);
  font-size: 1rem;
}

.wp-block-latest-posts__post-date,
.post-topic-inline,
.category-count {
  color: var(--muted);
  font-size: 0.84rem;
}

.post-topic-inline a {
  color: var(--muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.filters input,
.filters select {
  flex: 1 1 280px;
  min-height: 2.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  font: inherit;
}

.archive-list {
  display: block;
}

.archive-entry {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.archive-entry:first-child {
  padding-top: 0;
}

.archive-entry:last-child {
  border-bottom: 0;
}

.archive-entry-header {
  margin-bottom: 0.4rem;
}

.entry-title {
  margin: 0;
  font-size: 1.7rem;
}

.entry-title a {
  color: #222222;
}

.entry-title a:hover {
  color: var(--link-hover);
}

.entry-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.entry-byline-block {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.entry-byline-label {
  font-weight: 700;
  color: #5d5d5d;
}

.entry-summary p:last-child {
  margin-bottom: 0;
}

.entry-subtitle {
  margin-bottom: 0.45rem;
}

.entry-sources {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
}

.entry-sources-label {
  margin-bottom: 0.15rem;
  font-weight: 700;
  display: block;
}

.more-link {
  white-space: nowrap;
}

.dek,
.empty-state,
.category-question,
.category-question-inline {
  color: #5d5d5d;
}

.category-archive-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.category-list-entry {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.category-list-entry h2 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}

.category-list-entry p:last-child {
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.category-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
}

.category-card h3 {
  margin: 0.45rem 0 0.6rem;
  font-size: 1.25rem;
}

.article-shell {
  width: min(calc(100% - 2rem), 860px);
  padding: 2.2rem 0 1rem;
}

.article-header {
  margin-bottom: 1.4rem;
}

.article-copy h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.article-body {
  font-size: 1.02rem;
}

.article-section + .article-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.article-section h2 {
  margin-bottom: 0.8rem;
  font-size: 1.52rem;
}

.source-item {
  padding: 0;
}

.source-item + .source-item {
  margin-top: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-list li {
  padding: 0.22rem 0.6rem;
  border: 1px solid var(--line);
  background: #f7f7f7;
  color: #4d4d4d;
  font-size: 0.84rem;
}

.related-shell h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: var(--footer-bg);
}

.footer-inner {
  padding: 1rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner p {
  margin: 0.2rem 0;
}

.footer-inner p + p {
  font-size: 0.84rem;
}

@media (max-width: 980px) {
  .topbar-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .category-archive-list,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .topic-nav {
    grid-template-columns: repeat(3, max-content);
    min-height: 0;
    row-gap: 1.5rem;
    column-gap: 1.8rem;
    padding: 1.4rem 1.25rem 1.6rem;
  }

  .home-hero {
    padding-top: 2.4rem;
  }
}

@media (max-width: 720px) {
  #page-wrapper {
    width: 100%;
    margin: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  .section-shell,
  .page-header,
  .article-shell,
  .footer-inner {
    width: min(calc(100% - 1.25rem), var(--content));
  }

  .topbar-inner {
    width: 100%;
  }

  .brandmark {
    width: 100%;
    min-height: 0;
    padding: 0.75rem;
  }

  .wordmark-logo {
    max-width: 118px;
    max-height: 118px;
  }

  .topic-nav {
    grid-template-columns: repeat(2, max-content);
    row-gap: 1rem;
    column-gap: 1.35rem;
    padding: 1rem 0.9rem 1.2rem;
  }

  .home-title-ribbon {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    font-size: clamp(2.3rem, 9vw, 3rem);
  }

  .home-welcome-panel {
    padding: 1.1rem 1rem 1.2rem;
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .filters input,
  .filters select {
    flex-basis: 100%;
  }

  .entry-title {
    font-size: 1.45rem;
  }
}
