/* Keep the existing theme intact: these overrides apply only when this theme is active. */
:root {
  --navy: #35383d;
  --navy-deep: #282b30;
  --blue: #606368;
  --blue-soft: #f3f2ef;
  --orange: #c89145;
  --ink: #292c30;
  --muted: #74777c;
  --line: #dedfdf;
  --canvas: #fff;
}
body { background: #fff; }
.topline { border-bottom: 1px solid var(--line); background: #f7f7f5; color: #686b70; }
.topline-inner { min-height: 27px; }
.topline-inner > span, .topline-inner > a { padding: 1px 0; background: none; color: #686b70; }
.masthead { min-height: 115px; padding-block: 12px; }
.brand img { width: 76px; max-height: 105px; }
.brand-copy strong { font-size: clamp(1.6rem, 2.8vw, 2.8rem); font-weight: 750; letter-spacing: -.05em; }
.brand-copy small { color: #74777c; font-size: .68rem; }
.site-header { box-shadow: none; }
.site-search { border-radius: 0; }
.site-search input { background: #fff; }
.site-search button { background: #e9e8e5; color: #343536; }
.site-search button:hover { background: #dcd6cd; }
.subscribe-link { font-weight: 600; }
.main-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fafaf9; }
.nav-inner { min-height: 38px; gap: 0 23px; }
.main-nav a { padding-block: 9px; color: #393b40; font-size: .72rem; letter-spacing: .02em; }
.main-nav a:hover, .main-nav a:focus-visible { color: #9d6830; }
.page-layout { padding-top: 18px; }
.section-nav, .main-content, .side-panel { border-radius: 0; box-shadow: none; }
.section-nav { background: #fafaf9; }
.section-heading { padding-bottom: 15px; border-bottom: 1px solid #c9c9c6; }
.section-heading h1, .main-content h1, .main-content h2, .main-content h3 { color: #343536; }
.eyebrow { color: #9a774f; }
.main-content { background: #fff; }
.main-content input[type="submit"], .side-panel input[type="submit"], .main-content .button,
.catalog-listing #block-modanews-modern-content > form button {
  border: 1px solid #aeb0b1;
  border-radius: 0;
  background: #e9e8e5;
  color: #343536;
}
.main-content input[type="submit"]:hover, .side-panel input[type="submit"]:hover,
.catalog-listing #block-modanews-modern-content > form button:hover { background: #dcd6cd; }
.pager__item a, .book-card, .journal-page .journal-cover { border-radius: 0; }
.pager__item a:hover, .pager__item.is-active a { border-color: #888; background: #e9e8e5; color: #343536; }
.side-panel h2 { border-bottom: 1px solid var(--line); color: #38393a; }
.side-panel a, .main-content a { color: #414448; }
.side-panel a:hover, .main-content a:hover { color: #95662e; }
.categories-panel, .forum-preview-container { border-radius: 0; background: #3a3b3b; }
.categories-panel .eyebrow, .forum-preview-container .eyebrow { color: #dfc09c; }
.article-kicker span, .forum-topic-label, .article-teaser-meta span { color: #9a774f; }
.legacy-news .NewsTaxonomy a, .forum-thread-content .field--name-field-forum a,
.catalog-listing .modanews-catalog-categories a { border-color: var(--line); border-radius: 0; background: #f3f2ef; color: #414448; }
.site-footer { border-top: 1px solid #bbb; background: #fff; color: #626568; }
.footer-inner { gap: 13px; padding-block: 26px; }
.footer-legal { padding: 0; background: none; }
.footer-inner a, .cookie-settings { color: #414448; }
.footer-inner a:hover, .cookie-settings:hover { color: #9d6830; }
.footer-brand span, .footer-nav span { color: #a87539; }
.cookie-consent { border-radius: 0; }
.cookie-consent-actions button { border-radius: 0; }

/* Preserve the front page's feature layout while keeping the same palette. */
.front-site .front-layout .front-content { border: 0; }
.front-site .masthead { min-height: 128px; }
.front-site .brand-copy { display: none; }
.front-site .site-footer { background: #fff; }

@media (max-width: 760px) {
  .masthead { min-height: 0; }
  .brand img { width: 65px; }
  .nav-inner { gap: 0 16px; }
}
