:root {
  --primary: #2C6E80;
  --primary-dark: #1F5260;
  --accent: #243137;
  --accent-soft: #F3E3DB;
  --ink: #243137;
  --muted: #6E7A80;
  --surface: #ffffff;
  --background: #F7F4EC;
  --border: #E2DDD0;
}

.jz-body {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 17px; line-height: 1.65; color: #243137;
  background-color: #F7F4EC;
  display: flex; flex-direction: column; min-height: 100vh;
}
.site-main { flex: 1 0 auto; }

h1, h2, h3, h4, h5, h6 { font-family: 'Lora', Georgia, serif; color: #2C6E80; font-weight: 600; line-height: 1.25; }
h1, .page-title { font-size: 40px; font-weight: 700; margin: .3em 0 .5em; }
h2, .block-heading { font-size: 28px; font-weight: 600; margin: 1em 0 .4em; }
h3 { font-size: 21px; font-weight: 600; }

/* ── Header / nav ───────────────────────────────────── */
.site-header { background-color: #ffffff; color: #243137; border-bottom: 3px solid #2C6E80; }
.site-brand { font-family: 'Lora', Georgia, serif; font-weight: 700; font-size: 1.5rem; color: #2C6E80; }
.site-nav .nav-link { color: #243137; font-weight: 600; }
.site-nav .nav-link:hover { color: #2C6E80; }
.nav-toggle { color: #2C6E80; }
@media (min-width: 1024px) { .site-nav .nav-link { display: inline-block; } }

/* dropdown menus */
.nav-item { position: relative; }
.nav-item > .dropdown-menu { display: none; }
.dropdown-menu { list-style: none; margin: 0; padding: .4rem 0; background: #ffffff; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 20px rgba(42,36,48,.12); min-width: 230px; }
.dropdown-menu li a { display: block; padding: .5rem 1rem; color: #243137; font-weight: 600; white-space: nowrap; }
.dropdown-menu li a:hover { background: #F7F4EC; color: #2C6E80; }
@media (min-width: 1024px) {
  .nav-item:hover > .dropdown-menu, .nav-item:focus-within > .dropdown-menu { display: block; position: absolute; top: 100%; left: 0; z-index: 50; }
}
@media (max-width: 1023px) {
  .nav-item > .dropdown-menu { display: block; padding-left: 1rem; box-shadow: none; border: 0; }
}

/* ── Hero ───────────────────────────────────────────── */
.hero { background: linear-gradient(135deg, rgba(140,15,66,.78), rgba(42,36,48,.72)); color: #fff; padding: 72px 0 80px; background-size: cover; background-position: center; }
.hero-title { color: #ffffff; font-size: 44px; }
.hero-title .accent { color: #D98E73; }
.hero-lead { color: #EFEAE0; font-size: 1.15rem; margin-top: 1rem; }
.hero-btn { display: inline-block; margin-top: 1.4rem; background: #2C6E80; color: #fff; font-weight: 700; padding: .7em 1.6em; border-radius: 999px; }
.hero-btn:hover { background: #1F5260; }

/* ── Nav cards / homepage ───────────────────────────── */
.nav-card { background: #ffffff; border: 1px solid var(--border); border-radius: 14px; padding: 1.4rem; text-align: center; box-shadow: 0 4px 12px rgba(42,36,48,.06); }
.nav-card:hover { border-color: #243137; }
.nav-card .card-title a { color: #2C6E80; }

/* ── Content ────────────────────────────────────────── */
.site-prose { color: #243137; }
.site-prose p, .block-paragraph { margin: 0 0 1.1em; }
.block-image, .article-main-image { max-width: 100%; height: auto; border-radius: 10px; margin: 1.1em 0; }
.article-summary { border-left: 4px solid #243137; background: #F3E3DB; padding: 1em 1.3em; border-radius: 0 8px 8px 0; }
.article-dates { color: #6E7A80; font-size: .9rem; }
.block-quote { border-left: 4px solid #243137; padding: .3em 0 .3em 1.3em; color: #6E7A80; font-style: italic; font-size: 1.1rem; }
.block-list { margin-left: 1.3em; list-style: disc; } .block-list li { margin-bottom: .4em; }
.block-table-wrap { margin: 1.4em 0; }
.block-table { min-width: 100%; border-collapse: collapse; background: #fff; }
.block-table th { background: #2C6E80; color: #fff; text-align: left; padding: .6em .8em; }
.block-table td { border-top: 1px solid var(--border); padding: .6em .8em; }
.block-separator { border: 0; border-top: 1px solid var(--border); margin: 1.6em 0; }

/* content body links — scoped, visible */
.site-prose a, .block-paragraph a, .block-list a, .list-item-title a {
  color: #2C6E80; text-decoration: underline; text-decoration-color: rgba(194,24,91,.5);
}
.site-prose a:hover, .block-paragraph a:hover { color: #243137; }

/* ── Listing cards ──────────────────────────────────── */
.listing-card, .cat-card, .card-minimal { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 12px rgba(42,36,48,.06); }
.listing-card-img, .cat-card-img { width: 100%; height: 180px; object-fit: cover; }
.listing-card-body, .card-body { padding: 1rem; }
.card-title a, .listing-card .card-title a { color: #2C6E80; }
.listing-card-excerpt, .category-description { color: #6E7A80; }
.card-minimal { border-left: 3px solid #243137; padding: .9em 1.2em; }
.read-more-btn { background: #243137; color: #fff; font-weight: 700; padding: .4em 1em; border-radius: 6px; }
.read-more-btn:hover { background: #1A2429; }
.block-list-item { display: flex; gap: 1rem; padding: 1em 0; border-bottom: 1px solid var(--border); }
.list-item-thumb { width: 110px; height: auto; border-radius: 6px; flex: 0 0 auto; }
.list-item-title a { color: #2C6E80; font-weight: 700; }

/* ── Breadcrumbs ────────────────────────────────────── */
.breadcrumb-bar { color: #6E7A80; }
.breadcrumb-bar a { color: #2C6E80; }

/* ── 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: #2C6E80; margin-top: 0; font-weight: 700; }
.toc-box a { color: #243137; }
.sticky-toc { position: sticky; top: 20px; align-self: flex-start; }
.toc-level-3 { padding-left: 1em; }

/* ── Related ────────────────────────────────────────── */
.related-links { margin-top: 2rem; padding-top: 1.2rem; border-top: 2px solid var(--border); }
.related-list a { color: #2C6E80; text-decoration: underline; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer { background-color: #1F5260; color: #EDE7DA; padding: 40px 0 0; margin-top: 2rem; }
.site-footer .footer-title { color: #fff; font-family: 'Lora', Georgia, serif; margin-bottom: .5rem; }
.site-footer a { color: #EDE7DA; }
.site-footer a:hover { color: #243137; }
.footer-links { list-style: none; }
.footer-copyright { background: rgba(0,0,0,.22); padding: .9em 0; margin-top: 1.6rem; text-align: center; }
