:root {
  --primary: #1f5c99;
  --primary-dark: #16406b;
  --accent: #b23a2e;
  --accent-soft: #f5e3d0;
  --ink: #2b2620;
  --muted: #6f665a;
  --surface: #ffffff;
  --background: #faf4e8;
  --border: #e6d9c2;
}

html { font-size: 18px; }
body {
  font-family: 'Lora', Georgia, serif;
  font-size: 18px; line-height: 1.7; color: #2b2620;
  background-color: #faf4e8;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1 0 auto; }

h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', Georgia, serif; color: #1f5c99; font-weight: 700; line-height: 1.25; }
h1, .page-title { font-size: 40px; font-weight: 700; margin: .4em 0 .5em; }
h2, .block-heading { font-size: 30px; font-weight: 600; }
h3 { font-size: 22px; font-weight: 600; }
.section { padding: 40px 0; }

/* ── Header / nav ───────────────────────────────────── */
.site-header { background-color: #ffffff; border-bottom: 3px solid #1f5c99; }
.title-bar { background-color: #1f5c99; }
.title-bar-title .brand-link { color: #ffffff; font-family: 'Playfair Display', serif; font-weight: 700; }
.top-bar.site-nav { background-color: #1f5c99; padding: .5rem 1rem; }
.top-bar.site-nav .brand-text .brand-link { color: #ffffff; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.3rem; }
.top-bar.site-nav .menu { background: transparent; }
.top-bar.site-nav .menu > li > a { color: #ffffff; font-family: 'Source Sans 3', sans-serif; font-weight: 600; }
.top-bar.site-nav .menu > li > a:hover { color: #f5e3d0; }
.top-bar.site-nav .is-dropdown-submenu-parent { position: relative; }
.top-bar.site-nav .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  background: #fff;
  border: 1px solid var(--border);
  min-width: 220px;
}
.top-bar.site-nav .is-dropdown-submenu-parent:hover > .submenu,
.top-bar.site-nav .is-dropdown-submenu-parent:focus-within > .submenu,
.top-bar.site-nav .is-dropdown-submenu-parent.is-active > .submenu { display: block; }
.top-bar.site-nav .submenu li a { color: #2b2620; }
.top-bar.site-nav .submenu li a:hover { background: #faf4e8; color: #1f5c99; }
@media (min-width: 641px) {
  .top-bar.site-nav { display: flex; align-items: center; justify-content: space-between; }
  .top-bar.site-nav .dropdown.menu { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .15rem .35rem; }
}
@media (max-width: 640px) {
  .top-bar.site-nav .submenu { position: static; border: 0; min-width: 0; }
}

/* ── Hero ───────────────────────────────────────────── */
.hero { background: linear-gradient(135deg, #1f5c99 0%, #16406b 100%); color: #faf4e8; padding: 60px 0 68px; text-align: center; }
.hero-title { color: #ffffff; font-size: 40px; }
.hero-lead { color: #e7d9bd; font-family: 'Source Sans 3', sans-serif; font-size: 1.2rem; max-width: 720px; margin: 0 auto 1.4em; }
.hero-artwork { display: block; max-width: min(520px, 92vw); width: 100%; height: auto; margin: 0 auto 1.4rem; border-radius: 8px; }
.hero-btn-primary { background-color: #b23a2e; color: #fff; font-weight: 700; border-radius: 26px; padding: .9em 2em; }
.hero-btn-primary:hover { background-color: #9a3026; color: #fff; }

/* ── Cards / content ────────────────────────────────── */
.category-grid { margin: 1rem 0 2rem; }
.card, .category-card, .listing-card, .default-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.card-title a, .card-section h5 a { color: #1f5c99; }
.card-minimal { background: #fff; border-left: 3px solid #b23a2e; border-radius: 8px; padding: .9em 1.2em; }
.read-more-btn { background-color: #b23a2e; color: #fff; font-weight: 700; }
.read-more-btn:hover { background-color: #9a3026; }

.site-prose { color: #2b2620; }
.site-prose p, .block-paragraph { margin: 0 0 1.1em; }
.block-image, .article-main-image { max-width: 100%; height: auto; border-radius: 8px; margin: 1.1em 0; }
@media (min-width: 64em) { .article-main-image { float: right; max-width: 38%; margin: .2em 0 1em 1.6em; } }
.article-summary { border-left: 4px solid #b23a2e; background: #f5e3d0; padding: 1em 1.3em; border-radius: 0 8px 8px 0; }
.article-dates { color: #6f665a; font-family: 'Source Sans 3', sans-serif; font-size: .9rem; }
.block-quote { border-left: 4px solid #b23a2e; padding: .3em 0 .3em 1.3em; color: #6f665a; font-style: italic; font-size: 1.1rem; }
.block-list { margin-left: 1.3em; } .block-list li { list-style: disc; margin-bottom: .4em; }
.block-table { margin: 1.4em 0; }

.block-list-item { padding: 1em 0; border-bottom: 1px solid var(--border); }
.list-item-title-wrap a, .list-item-title a { font-weight: 700; color: #1f5c99; }
.list-item-excerpt { color: #6f665a; }

/* content body links — scoped, visible */
.site-prose a, .block-paragraph a, .block-list a, .list-item-title-wrap a {
  color: #1f5c99; text-decoration: underline; text-decoration-color: #b23a2e;
}
.site-prose a:hover, .block-paragraph a:hover { color: #16406b; }

/* ── Breadcrumbs ────────────────────────────────────── */
.breadcrumb-bar { background-color: #fff; border-bottom: 1px solid var(--border); padding: .6rem 0; }
.breadcrumbs a { color: #1f5c99; }

/* ── ToC ────────────────────────────────────────────── */
.toc-box { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 1em 1.2em; margin-bottom: 1.4em; }
.toc-box h6 { color: #1f5c99; margin-top: 0; }
.toc-box a { color: #2b2620; }
.toc-level-3 { padding-left: 1em; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer { background-color: #16406b; color: #d9cdb6; padding: 32px 0 0; margin-top: 2rem; font-family: 'Source Sans 3', sans-serif; }
.site-footer .footer-title { color: #fff; font-family: 'Playfair Display', serif; }
.site-footer a { color: #d9cdb6; }
.site-footer a:hover { color: #f5e3d0; }
.footer-links { list-style: none; margin-left: 0; column-count: 2; }
.footer-copyright { background: rgba(0,0,0,.22); padding: .9em 0; margin-top: 1.4rem; }
@media (max-width: 640px) { .footer-links { column-count: 1; } }
