@charset "UTF-8";
/* ==========================================================================
   Disaster Management Systems - portal theme (layout B / Bootstrap 5)
   Modeled on triagetags.com
   Upload: /css_themes/CSS_triagetags.css   (images still served from /css_new/triagetags/)
   Overrides tokens + a few selectors from /assets/css/portal_theme_b.css
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Palette (site + logo): black / charcoal #181818, grey text #808080, amber #ffb700, DMS red #d7261e */
:root {
  --portal-primary: #b52a1f;
  --portal-primary-hover: #8f2018;
  --portal-primary-soft: #fbecea;
  --portal-font: "Poppins", sans-serif;
  --portal-text: #262626;
  --portal-text-2: #555;
  --portal-radius-sm: 5px;
  --portal-logo-max-height: 52px;
}

h1, h2, h3, h4 { color: #000; font-weight: 600; }
.btn { font-weight: 500; text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; }
.btn-primary {
  --bs-btn-bg: #000; --bs-btn-color: #fff; --bs-btn-border-color: #000;
  --bs-btn-hover-bg: #ffb700; --bs-btn-hover-color: #000; --bs-btn-hover-border-color: #ffb700;
  --bs-btn-active-bg: #ffb700; --bs-btn-active-color: #000; --bs-btn-active-border-color: #ffb700; box-shadow: none;
}
.course-cta .btn-ghost {
  --bs-btn-bg: #fff; --bs-btn-color: #000; --bs-btn-border-color: #000;
  --bs-btn-hover-bg: #000; --bs-btn-hover-color: #ffb700; --bs-btn-hover-border-color: #000;
  --bs-btn-active-bg: #000; --bs-btn-active-color: #ffb700; --bs-btn-active-border-color: #000;
}

/* ---------- Logo (replaces the portal-name text; link keeps its aria-label) ---------- */
.site-brand {
  width: 214px; height: 52px;
  background: url(/css_themes/triagetags/dms-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: 165px; height: 40px; } }

/* ---------- Header ---------- */
.site-header { background: #fff; border-top: 4px solid #ffb700; border-bottom: 1px solid var(--portal-border); }
.site-nav .nav-link { color: #262626;  }
.site-nav .nav-link.active, .site-nav .nav-item.active > .nav-link { background: #000; color: #ffb700; }

/* ---------- Hero bands (catalog + content pages) ---------- */
.hero-b, .page-hero { background: #181818; border-bottom: 4px solid #ffb700; }
.hero-eyebrow { color: #ffb700; border-color: rgba(255, 183, 0, .45); }

/* ---------- Footer: dark ---------- */
.site-footer { background: #181818; border-top: 0; color: #a7a7a7; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #ffb700; }
.site-footer-name, .site-footer-heading { color: #fff; }
.site-footer-copy { color: #a7a7a7; border-top-color: rgba(255, 255, 255, .15); }
.site-footer-powered img { content: url(/images/ots-logo-foot-white.png); opacity: .9; }
