:root {
  --hf-teal: #1f7a8c;
  --hf-deep: #0f4c5c;
  --hf-blue: #3d9bb5;
  --hf-red: #d64545;
  --hf-bg: #f6f9fa;
  --hf-white: #ffffff;
  --hf-ink: #1f2a2e;
  --hf-muted: #5f6e72;
  --hf-radius: 12px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1f2a2e;
  background-color: #f6f9fa;
  line-height: 1.6;
}
h1, h2, h3, h4, .site-brand, .footer-brand, .section-title, .article-title, .hero-title, .topic-card-title {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  color: #0f4c5c;
}

/* header */
.site-header { background: #ffffff; box-shadow: 0 2px 12px rgba(15,76,92,.1); }
.site-nav { padding-top: .55rem; padding-bottom: .55rem; }
.site-brand { color: #1f7a8c !important; font-size: 1.5rem; font-weight: 700; }
.site-nav .nav-link { color: #1f2a2e; font-weight: 500; }
.site-nav .nav-link:hover, .site-nav .nav-link:focus { color: #1f7a8c; }
.site-nav .dropdown-menu { border: none; border-radius: var(--hf-radius); box-shadow: 0 8px 30px rgba(15,76,92,.15); }
.site-nav .dropdown-item:hover { background: #eaf4f6; color: #1f7a8c; }
.navbar-toggler { border-color: rgba(31,122,140,.4); }

/* hero */
.hero--home { background: linear-gradient(135deg, #f6f9fa 0%, #eaf4f6 100%); padding: 4.5rem 0; }
.hero-copy { color: #0f4c5c; }
.hero-title { color: #0f4c5c; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.08; margin-bottom: 1rem; }
.hero-title { background: none; }
.hero-sub { font-size: 1.12rem; color: #5f6e72; }
.eyebrow { color: #d64545; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; font-weight: 700; display: block; }
.hero-img { width: 100%; border-radius: 16px; box-shadow: 0 12px 32px rgba(15,76,92,.18); }

/* sections */
.section { padding: 4rem 0; }
.section--intro { background: #fff; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 2rem; text-align: center; }
.section-title::after { content:''; display:block; width:60px; height:3px; background:#3d9bb5; margin:.75rem auto 0; border-radius:3px; }

/* topic cards */
.topic-card { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 96px; background: #fff; border: 1px solid #dce8ea; border-radius: var(--hf-radius); padding: 1.25rem; color: #0f4c5c; font-weight: 600; text-decoration: none; box-shadow: 0 4px 16px rgba(15,76,92,.06); transition: transform .2s, box-shadow .2s, border-color .2s; }
.topic-card:hover { transform: translateY(-3px); border-color: #1f7a8c; color: #1f7a8c; box-shadow: 0 8px 24px rgba(31,122,140,.16); }
.topic-card-full { background:#fff; border:1px solid #dce8ea; border-radius:var(--hf-radius); overflow:hidden; box-shadow:0 4px 16px rgba(15,76,92,.06); transition: transform .3s, box-shadow .3s; }
.topic-card-full:hover { transform: translateY(-4px); box-shadow:0 10px 28px rgba(31,122,140,.14); }
.topic-card-img { width:100%; height:190px; object-fit:cover; }
.topic-card-body { padding:1.2rem 1.4rem; }
.topic-card-title a { color:#0f4c5c; text-decoration:none; }
.topic-card-title a:hover { color:#1f7a8c; }

/* prose */
.site-prose { max-width: 820px; }
.article-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 1.5rem; }
.site-prose img, .site-block--image img, .site-block--gallery img { max-width: 100%; height: auto; border-radius: 10px; }
.site-block--paragraph { margin-bottom: 1.1rem; }
.site-block--image { margin: 1.5rem 0; }
.article-summary { color: #5f6e72; border-left: 4px solid #3d9bb5; padding-left: 1rem; }

/* content links scoped */
.site-prose a, .site-block--paragraph a, .article-body a, .category-desc a {
  color: #1f7a8c; text-decoration: underline; text-decoration-color: #3d9bb5;
}
.site-prose a:hover, .site-block--paragraph a:hover, .article-body a:hover { color: #d64545; }

/* category card reuse */
.route-card { background:#fff; border:1px solid #dce8ea; border-radius:var(--hf-radius); overflow:hidden; box-shadow:0 4px 16px rgba(15,76,92,.06); }
.route-card-img { width:100%; height:190px; object-fit:cover; }
.route-card-body { padding:1.2rem 1.4rem; }
.route-card-title a { color:#0f4c5c; text-decoration:none; }
.route-card-link { color:#1f7a8c; font-weight:600; text-decoration:none; }
.route-card--minimal { border:none; border-left:3px solid #3d9bb5; border-radius:0; box-shadow:none; }

/* breadcrumbs */
.site-breadcrumbs { background: #eaf4f6; padding: .6rem 0; }
.site-breadcrumbs .breadcrumb { margin: 0; }
.site-breadcrumbs a { color: #1f7a8c; text-decoration: none; }

/* ToC */
.article-toc { background: #eaf4f6; border-radius: var(--hf-radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.article-toc a { color: #1f7a8c; text-decoration: none; }

/* footer */
.site-footer { background: #0f4c5c; color: rgba(255,255,255,.85); padding: 3.5rem 0 1.5rem; }
.footer-brand { color: #ffffff; font-size: 1.5rem; margin-bottom: .75rem; }
.footer-tagline { color: rgba(255,255,255,.72); }
.footer-col-title { color: #3d9bb5; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: 1rem; }
.footer-links { list-style: none; padding-left: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer-links a:hover { color: #3d9bb5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; color: rgba(255,255,255,.65); }
