/* =============================================================================
   SITEWIDE FIXED HEADER
   Keeps the social/contact strip and navigation bar visible at the top while
   the page body scrolls underneath.
   ============================================================================= */

:root {
  --sticky-header-height: 136px;
}

html {
  scroll-padding-top: var(--sticky-header-height);
}

html body {
  padding-top: var(--sticky-header-height) !important;
}

#header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1200 !important;
  background: #fff;
  background: var(--light);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

#header .header-top,
#header .header-main {
  background: #fff;
  background: var(--light);
}

#header .header-main {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: none;
}

#header .header-main .container,
#header .header-main .container > .d-flex,
#header .header-main .header-container,
#header .header-main .header-row {
  position: relative;
}

/* Replace fragile icon-font markers in paper headings with a consistent badge. */
.paper-box h4 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.paper-box h4 i {
  display: none !important;
}

.paper-box h4::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 0.35em;
  flex: 0 0 12px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(236, 79, 79, 0.14);
}

@media (max-width: 991px) {
  :root {
    --sticky-header-height: 122px;
  }

  #header {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  }
}
