:root {
  --primary: #0c9cc4;
  --primary-dark: #0a7596;
  --accent: #5cb85c;
  --accent-soft: #dff3df;
  --ink: #243239;
  --muted: #647179;
  --surface: #ffffff;
  --background: #f1fafc;
  --border: #d4e9ef;
  /* Pico overrides */
  --pico-primary: #0c9cc4;
  --pico-primary-hover: #0a7596;
  --pico-primary-background: #0c9cc4;
  --pico-primary-hover-background: #0a7596;
  --pico-font-family: 'Open Sans', system-ui, sans-serif;
}

body { background-color: #f1fafc; color: #243239; font-family: 'Open Sans', system-ui, sans-serif; }
.site-main { min-height: 60vh; }
.section { padding: 2.5rem 0; }

h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; color: #0c9cc4; line-height: 1.25; }
h1, .page-title { font-size: 40px; font-weight: 700; }
h2, .block-heading { font-size: 30px; font-weight: 600; }
h3 { font-size: 22px; font-weight: 600; }

/* ── Header / nav ───────────────────────────────────── */
.site-header { background: #fff; border-bottom: 3px solid #0c9cc4; }
.site-navbar { display: flex; flex-wrap: wrap; align-items: center; }
.site-brand strong { color: #0c9cc4; font-family: 'Poppins', sans-serif; font-size: 1.3rem; }
.site-menu { display: flex; flex-wrap: wrap; margin-left: auto; gap: .2rem; }
.site-menu li { position: relative; list-style: none; }
.site-menu .nav-link { color: #243239; font-weight: 600; padding: .4rem .7rem; border-radius: 6px; }
.site-menu .nav-link:hover { color: #0c9cc4; background: #eaf7fb; }
.site-menu .submenu { display: none; position: absolute; right: 0; top: 100%; min-width: 280px; max-height: 70vh; overflow: auto; background: #fff; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 10px 24px rgba(12,156,196,.16); padding: .4rem; margin: 0; z-index: 40; }
.site-menu .has-children:hover .submenu, .site-menu .has-children:focus-within .submenu { display: block; }
.site-menu .submenu a { display: block; padding: .45rem .65rem; color: #243239; text-decoration: none; border-radius: 6px; }
.site-menu .submenu a:hover { background: #eaf7fb; color: #0c9cc4; }
.nav-burger { display: none; font-size: 1.6rem; cursor: pointer; color: #0c9cc4; margin-left: auto; }
.nav-toggle-cb { display: none; }
@media (max-width: 768px) {
  .nav-burger { display: block; }
  .site-menu { display: none; flex-direction: column; flex-basis: 100%; width: 100%; }
  .nav-toggle-cb:checked ~ .site-menu { display: flex; }
  .site-menu .submenu { display: block; position: static; max-height: none; box-shadow: none; border: 0; padding-left: 1rem; }
}

/* ── Hero ───────────────────────────────────────────── */
.site-hero { background: linear-gradient(135deg, rgba(12,156,196,.9) 0%, rgba(10,117,150,.9) 100%), url('/assets/images/img_04373628d2f6.png') center/cover no-repeat; color: #fff; padding: 56px 0 60px; margin-bottom: 0; }
.site-hero .hero-title { color: #fff; font-size: 42px; }
.site-hero .hero-lead { color: #d6f1f8; font-size: 1.2rem; }
.hero-btn { background: #5cb85c; border-color: #5cb85c; color: #fff; --pico-background-color: #5cb85c; --pico-border-color: #5cb85c; font-weight: 700; }
.hero-btn:hover { background: #4ca54c; border-color: #4ca54c; }

/* ── Benefit cards ──────────────────────────────────── */
.benefit-cards { margin: 1rem 0 2rem; gap: 1rem; }
.benefit-card { background: #fff; border: 1px solid var(--border); border-top: 3px solid #5cb85c; border-radius: 10px; padding: 1.2rem; margin: 0; }
.benefit-card .card-title { font-size: 1.1rem; margin: 0; }
.benefit-card .card-title a { color: #0c9cc4; }

/* ── Content ────────────────────────────────────────── */
.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; }
.article-summary { border-left: 4px solid #5cb85c; background: #dff3df; padding: 1em 1.3em; border-radius: 0 8px 8px 0; }
.article-dates { color: #647179; font-size: .9rem; }
.block-quote { border-left: 4px solid #0c9cc4; padding-left: 1.2em; color: #647179; font-style: italic; }
.block-list { margin-left: 1.3em; } .block-list li { margin-bottom: .4em; }
.block-table { margin: 0; }
.block-list-item { padding: 1em 0; border-bottom: 1px solid var(--border); }
.list-item-title a { color: #0c9cc4; }

/* content body links — scoped, visible */
.site-prose a, .block-paragraph a, .block-list a, .list-item-title a {
  color: #0a7596; text-decoration: underline; text-decoration-color: rgba(12,156,196,.4);
}
.site-prose a:hover, .block-paragraph a:hover { color: #0c9cc4; }

/* ── Cards / category ───────────────────────────────── */
.card-grid { gap: 1.2rem; }
.cat-card, .card-minimal { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin: 0; }
.card-body { padding: 1rem; }
.card-title a, .horizontal-card h5 a, .card-minimal h5 a { color: #0c9cc4; }
.card-minimal { border-left: 3px solid #5cb85c; padding: .9em 1.2em; }
.read-more-btn { --pico-background-color: #5cb85c; --pico-border-color: #5cb85c; background: #5cb85c; color: #fff; }

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

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

/* ── Breadcrumbs ────────────────────────────────────── */
.breadcrumb-bar a { color: #0c9cc4; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer { background-color: #0a7596; color: #d3edf4; padding: 2rem 0 1rem; margin-top: 2rem; }
.site-footer .footer-title { color: #fff; font-family: 'Poppins', sans-serif; }
.site-footer a { color: #d3edf4; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; }
.footer-copyright { margin-top: 1.2rem; opacity: .85; }
