@charset "UTF-8";
/* ==========================================================================
   Environmental Regulatory Compliance, LLC - portal theme (layout B / Bootstrap 5)
   Modeled on erc-llc.us (reviewed Oct 2026)
   Upload: /css_themes/CSS_ercllc.css   (images still served from /css_new/ercllc/)
   Overrides tokens + a few selectors from /assets/css/portal_theme_b.css
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

/* Palette (site + logo): black / charcoal #1b1b1b, greys #5e5e5e / #757574, off-white #f6f6f5,
   globe green #0b3a24, leaf green #5bb340 */
:root {
  --portal-primary: #0b3a24;
  --portal-primary-hover: #000;
  --portal-primary-soft: #eef5ea;
  --portal-font: "Open Sans", sans-serif;
  --portal-text: #1b1b1b;
  --portal-text-2: #5e5e5e;
  --portal-muted: #757574;
  --portal-soft-bg: #f6f6f5;
  --portal-radius-sm: 0;
  --portal-logo-max-height: 64px;
  --header-h: 84px;
}
@media (max-width: 991.98px) { :root { --header-h: 68px; } }
@media (max-width: 575.98px) { :root { --header-h: 64px; } }

h1, h2, h3, h4 { color: #1b1b1b; font-weight: 400; letter-spacing: .06em; }
.cat-header h2, .hero-title, .page-hero h1 { text-transform: uppercase; letter-spacing: .12em; }
a { color: #0b3a24; }
a:hover { color: #5bb340; }
/* Black "LEARN MORE" buttons: square, bold, widely spaced capitals */
.btn { text-transform: uppercase; font-weight: 700; letter-spacing: .2em; font-size: .8rem; }
.btn-primary {
  --bs-btn-bg: #000; --bs-btn-color: #fff; --bs-btn-border-color: #000;
  --bs-btn-hover-bg: #0b3a24; --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #0b3a24;
  --bs-btn-active-bg: #0b3a24; --bs-btn-active-color: #fff; --bs-btn-active-border-color: #0b3a24; box-shadow: none;
}
.course-cta .btn-ghost, .site-actions .btn-ghost {
  --bs-btn-bg: #fff; --bs-btn-color: #1b1b1b; --bs-btn-border-color: #1b1b1b;
  --bs-btn-hover-bg: #e2e2e2; --bs-btn-hover-color: #1b1b1b; --bs-btn-hover-border-color: #1b1b1b;
  --bs-btn-active-bg: #e2e2e2; --bs-btn-active-color: #1b1b1b; --bs-btn-active-border-color: #1b1b1b;
}

/* ---------- Logo (replaces the portal-name text; link keeps its aria-label) ---------- */
.site-brand {
  width: 128px; height: 64px;
  background: url(/css_themes/ercllc/erc-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: 104px; height: 52px; } }

/* ---------- Header ---------- */
.site-header { background: #fff; border-top: 0; border-bottom: 1px solid #e2e2e2; }
.site-nav .nav-link { color: #1b1b1b; text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; }
@media (min-width: 992px) {   /* current page: accent underline */
  .site-nav .nav-link { color: #1b1b1b; border-radius: 0; border-bottom: 3px solid transparent; }
  .site-nav .nav-link:hover { background: transparent; color: #1b1b1b; border-bottom-color: color-mix(in srgb, #5bb340 45%, transparent); }
  .site-nav .nav-link.active, .site-nav .nav-item.active > .nav-link { background: transparent; color: #1b1b1b; border-bottom-color: #5bb340; }
}

/* ---------- Hero bands: light, like the site ---------- */
.hero-b, .page-hero { background: #f6f6f5; color: #5e5e5e; border-bottom: 4px solid #5bb340; }
.hero-title, .page-hero h1 { color: #1b1b1b; }
.hero-lead, .page-lead { color: #5e5e5e; }
.page-lead a { color: #1b1b1b; }
.hero-eyebrow, .page-meta { background: #0b3a24; border-color: #0b3a24; color: #fff; }
.hero-title, .page-hero h1 { font-weight: 400; }

/* ---------- Footer ---------- */
.site-footer { background: #f4f4f3; border-top: 4px solid #0b3a24; color: #5e5e5e; }
.site-footer a { color: #1b1b1b; }
.site-footer a:hover { color: #0b3a24; }
.site-footer-copy { color: #5e5e5e; }
