@charset "UTF-8";
/* ==========================================================================
   Health & Safety Plans Online (HASP Online) - portal theme (layout B / Bootstrap 5)
   Modeled on hasponline.com (reviewed Oct 2026)
   Upload: /css_themes/CSS_hasponline.css   (images in /css_themes/hasponline/)
   Overrides tokens + a few selectors from /assets/css/portal_theme_b.css
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* Palette (site)
   forest   #1b4332   hero, footer, "Create Free Account"
   gold     #b8860b   "Build Your First HASP Free" (square-ish, lifts on hover)
   cream    #ede8e0 / #f7f4f0   page + nav bar
   ink      #3d3530   body text, #6b5f56 nav links */
:root {
  --portal-primary: #1b4332;
  --portal-primary-hover: #143326;
  --portal-primary-soft: #e6eee9;
  --portal-soft-bg: #f7f4f0;
  --portal-text: #3d3530;
  --portal-text-2: #6b5f56;
  --portal-font: "Source Sans 3", "Segoe UI", sans-serif;
  --portal-radius: 6px;
  --portal-radius-sm: 4px;
  --portal-logo-max-height: 52px;
}

body { background: #ede8e0; }
h1, h2, h3, h4 { color: #1b4332; font-weight: 700; }
.hero-title, .page-hero h1 { font-family: "Bitter", Georgia, serif; }   /* site uses Bitter for display headlines only */

/* ---------- Buttons ---------- */
.btn { font-weight: 700; border-radius: 4px; letter-spacing: .02em; }
/* Sign up = gold "Build Your First HASP Free": darkens and lifts */
.btn-primary {
  --bs-btn-bg: #b8860b; --bs-btn-border-color: #b8860b; --bs-btn-color: #fff;
  --bs-btn-hover-bg: #9a7009; --bs-btn-hover-border-color: #9a7009; --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #8a6508; --bs-btn-active-border-color: #8a6508; --bs-btn-active-color: #fff;
  box-shadow: none; transition: background-color .2s, border-color .2s, transform .15s;
}
.btn-primary:hover, .btn-primary:focus-visible { transform: translateY(-1px); }
.btn-primary:active { transform: none; }
/* Demo = forest-green "Create Free Account" */
.course-cta .btn-ghost,
.btn-info {
  --bs-btn-bg: #fff; --bs-btn-color: #1b4332; --bs-btn-border-color: #1b4332;
  --bs-btn-hover-bg: #1b4332; --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #1b4332;
  --bs-btn-active-bg: #143326; --bs-btn-active-color: #fff; --bs-btn-active-border-color: #143326;
  transition: background-color .2s, border-color .2s, color .2s;
}

/* ---------- Logo ---------- */
.site-brand {
  width: 163px; height: 52px;
  background: url(/css_themes/hasponline/HASP_Logo.png) left center / contain no-repeat;
}
.site-brand img { display: none; }
.site-brand-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 575.98px) { .site-brand { width: 132px; height: 42px; } }

/* ---------- Header: warm off-white bar, muted brown links ---------- */
.site-header { background: #f7f4f0; border-top: 4px solid #1b4332; border-bottom: 1px solid #e2dbd1; }
.site-nav .nav-link { color: #6b5f56; font-weight: 600; }
.site-nav .nav-link:hover { color: #1b4332; background: #ede8e0; }
.site-nav .nav-link.active,
.site-nav .nav-item.active > .nav-link { color: #fff; background: #1b4332; }
.site-actions .btn-ghost {
  --bs-btn-color: #1b4332; --bs-btn-border-color: #cfc6b9;
  --bs-btn-hover-bg: #1b4332; --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #1b4332;
}

/* ---------- Hero: solid forest green ---------- */
.hero-b,
.page-hero { background: #1b4332; border-bottom: 4px solid #b8860b; }
.hero-eyebrow { color: #fff; background: rgba(184, 134, 11, .25); border-color: rgba(184, 134, 11, .6); }

/* ---------- Footer: forest green ---------- */
.site-footer { background: #1b4332; border-top: 0; color: rgba(255, 255, 255, .75); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #e3b546; }
.site-footer-name, .site-footer-heading { color: #fff; }
.site-footer-copy { color: rgba(255, 255, 255, .6); border-top-color: rgba(255, 255, 255, .15); }
.site-footer-powered img { content: url(/images/ots-logo-foot-white.png); opacity: .9; }
