/*
  Shit Creek Consulting controlled component header
  Revision 1.6.4-alpha.2 — Development
*/

.sc-controlled-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sc-controlled-brand .brand-link {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
}

.sc-controlled-brand .sc-site-logo {
  display: block !important;
  width: min(390px, 34vw) !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

.sc-controlled-brand .sc-controlled-revision {
  display: block !important;
  position: static !important;
  float: none !important;
  clear: both !important;

  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;

  margin: 2px 0 0 0 !important;
  padding: 0 !important;

  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  color: #f1ce7f !important;
  -webkit-text-fill-color: #f1ce7f !important;

  font-family: "Segoe UI", Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  font-style: normal !important;
  line-height: 1.15 !important;
  letter-spacing: 0.025em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;

  white-space: nowrap !important;
  overflow: visible !important;
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;

  flex: 0 0 auto !important;
}

.sc-controlled-brand .sc-controlled-revision *,
.sc-controlled-brand .sc-controlled-revision:hover,
.sc-controlled-brand .sc-controlled-revision:focus,
.sc-controlled-brand .sc-controlled-revision:visited {
  color: #f1ce7f !important;
  -webkit-text-fill-color: #f1ce7f !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.site-header .header-inner,
.topbar .topbar-inner {
  align-items: center !important;
}

.topbar .brand {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
}

@media (max-width: 900px) {
  .sc-controlled-brand .sc-site-logo {
    width: min(280px, 55vw) !important;
  }

  .sc-controlled-brand .sc-controlled-revision {
    font-size: 8px !important;
    letter-spacing: 0.015em !important;
  }
}

@media (max-width: 600px) {
  .sc-controlled-brand {
    width: auto !important;
    max-width: 100% !important;
  }

  .sc-controlled-brand .sc-site-logo {
    width: min(210px, 58vw) !important;
  }

  .sc-controlled-brand .sc-controlled-revision {
    width: max-content !important;
    min-width: max-content !important;
    max-width: none !important;
    font-size: 7px !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }
}

/* =========================================================
   SHIT CREEK CONTROLLED LIVE HEADER LOGO
   ========================================================= */

.sc-controlled-brand .sc-live-logo,
.sc-brand-group .sc-live-logo,
.topbar .sc-live-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;

  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  color: #f4f6f8 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.sc-live-logo-mark {
  display: block !important;
  flex: 0 0 auto !important;

  width: 38px !important;
  height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;

  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sc-live-logo-text {
  display: inline-block !important;
  flex: 0 0 auto !important;

  margin: 0 !important;
  padding: 0 !important;

  color: #f4f6f8 !important;
  -webkit-text-fill-color: #f4f6f8 !important;

  font-family: "Segoe UI", Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  letter-spacing: -0.015em !important;
  text-transform: none !important;

  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}

.sc-controlled-brand .sc-controlled-revision {
  margin-top: 6px !important;
}

@media (max-width: 720px) {
  .sc-live-logo-mark {
    width: 30px !important;
    height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
  }

  .sc-live-logo-text {
    font-size: 16px !important;
  }
}

/* =========================================================
   SHIT CREEK STICKY HEADER BRAND LOCK
   Keeps logo visible and prevents name wrapping on scroll.
   ========================================================= */

.sc-theme .site-header,
.sc-theme .site-header.is-scrolled,
.sc-theme .site-header.scrolled,
.sc-theme .site-header.sticky,
.sc-theme header.site-header {
  overflow: visible !important;
}

.sc-theme .site-header .header-inner,
.sc-theme .site-header.is-scrolled .header-inner,
.sc-theme .site-header.scrolled .header-inner,
.sc-theme .site-header.sticky .header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  overflow: visible !important;
}

.sc-theme .sc-brand-group,
.sc-theme .sc-controlled-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;

  flex: 0 0 auto !important;
  width: auto !important;
  min-width: max-content !important;
  max-width: none !important;

  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.sc-theme .sc-live-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;

  flex: 0 0 auto !important;
  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;

  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.sc-theme .sc-live-logo-mark {
  display: block !important;
  flex: 0 0 38px !important;

  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;

  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.sc-theme .sc-live-logo-text {
  display: inline-block !important;
  flex: 0 0 auto !important;

  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;

  white-space: nowrap !important;
  overflow: visible !important;
  overflow-wrap: normal !important;
  word-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;

  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.sc-theme .sc-controlled-revision {
  display: block !important;
  flex: 0 0 auto !important;

  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;

  white-space: nowrap !important;
  overflow: visible !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;

  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Override scroll-state rules that shrink or hide the brand. */

.sc-theme .site-header.is-scrolled .sc-brand-group,
.sc-theme .site-header.is-scrolled .sc-controlled-brand,
.sc-theme .site-header.is-scrolled .sc-live-logo,
.sc-theme .site-header.is-scrolled .sc-live-logo-mark,
.sc-theme .site-header.is-scrolled .sc-live-logo-text,
.sc-theme .site-header.is-scrolled .sc-controlled-revision,
.sc-theme .site-header.scrolled .sc-brand-group,
.sc-theme .site-header.scrolled .sc-controlled-brand,
.sc-theme .site-header.scrolled .sc-live-logo,
.sc-theme .site-header.scrolled .sc-live-logo-mark,
.sc-theme .site-header.scrolled .sc-live-logo-text,
.sc-theme .site-header.scrolled .sc-controlled-revision {
  display: inherit !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.sc-theme .site-header.is-scrolled .sc-live-logo,
.sc-theme .site-header.scrolled .sc-live-logo {
  display: inline-flex !important;
}

.sc-theme .site-header.is-scrolled .sc-live-logo-mark,
.sc-theme .site-header.scrolled .sc-live-logo-mark {
  display: block !important;
}

.sc-theme .site-header.is-scrolled .sc-live-logo-text,
.sc-theme .site-header.scrolled .sc-live-logo-text {
  display: inline-block !important;
}

.sc-theme .site-header.is-scrolled .sc-controlled-revision,
.sc-theme .site-header.scrolled .sc-controlled-revision {
  display: block !important;
}

/* Keep navigation from forcing the logo into a narrow column. */

.sc-theme .main-nav {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

@media (max-width: 1100px) {
  .sc-theme .site-header .header-inner {
    align-items: flex-start !important;
  }

  .sc-theme .sc-live-logo-mark {
    flex-basis: 32px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
  }

  .sc-theme .sc-live-logo-text {
    font-size: 17px !important;
  }
}

@media (max-width: 760px) {
  .sc-theme .site-header .header-inner,
  .sc-theme .site-header.is-scrolled .header-inner,
  .sc-theme .site-header.scrolled .header-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
  }

  .sc-theme .sc-brand-group,
  .sc-theme .sc-controlled-brand,
  .sc-theme .sc-live-logo {
    width: max-content !important;
    min-width: max-content !important;
    max-width: 100% !important;
  }

  .sc-theme .sc-live-logo-text {
    font-size: 16px !important;
    white-space: nowrap !important;
  }

  .sc-theme .main-nav {
    width: 100% !important;
  }
}

/* =========================================================
   SHIT CREEK TWO-STATE HEADER LOGO
   Large at page top, compact after scrolling.
   ========================================================= */

/* Normal page-top size */

.sc-theme .site-header:not(.is-scrolled):not(.scrolled) .sc-live-logo-mark {
  flex: 0 0 42px !important;

  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;

  transition:
    width 180ms ease,
    height 180ms ease,
    min-width 180ms ease,
    min-height 180ms ease,
    max-width 180ms ease,
    max-height 180ms ease,
    flex-basis 180ms ease !important;
}

.sc-theme .site-header:not(.is-scrolled):not(.scrolled) .sc-live-logo-text {
  font-size: 20px !important;
  line-height: 1 !important;

  transition:
    font-size 180ms ease,
    line-height 180ms ease !important;
}

.sc-theme .site-header:not(.is-scrolled):not(.scrolled) .sc-controlled-revision {
  margin-top: 6px !important;
  font-size: 10px !important;

  transition:
    font-size 180ms ease,
    margin-top 180ms ease !important;
}

/* Compact scrolled-header size */

.sc-theme .site-header.is-scrolled .sc-live-logo-mark,
.sc-theme .site-header.scrolled .sc-live-logo-mark {
  display: block !important;
  flex: 0 0 27px !important;

  width: 27px !important;
  height: 27px !important;
  min-width: 27px !important;
  min-height: 27px !important;
  max-width: 27px !important;
  max-height: 27px !important;
}

.sc-theme .site-header.is-scrolled .sc-live-logo-text,
.sc-theme .site-header.scrolled .sc-live-logo-text {
  display: inline-block !important;
  font-size: 15px !important;
  line-height: 1 !important;

  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;

  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}

.sc-theme .site-header.is-scrolled .sc-controlled-revision,
.sc-theme .site-header.scrolled .sc-controlled-revision {
  display: block !important;
  margin-top: 3px !important;
  font-size: 7px !important;

  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;

  white-space: nowrap !important;
}

/* Tighten the sticky header vertically like Precision. */

.sc-theme .site-header.is-scrolled .header-inner,
.sc-theme .site-header.scrolled .header-inner {
  padding-top: 7px !important;
  padding-bottom: 7px !important;
  min-height: 0 !important;
}

/* Keep the full-size header more open. */

.sc-theme .site-header:not(.is-scrolled):not(.scrolled) .header-inner {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

/* Preserve the two-state sizing on medium screens. */

@media (max-width: 1100px) {
  .sc-theme .site-header:not(.is-scrolled):not(.scrolled) .sc-live-logo-mark {
    flex-basis: 36px !important;

    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
  }

  .sc-theme .site-header:not(.is-scrolled):not(.scrolled) .sc-live-logo-text {
    font-size: 18px !important;
  }

  .sc-theme .site-header.is-scrolled .sc-live-logo-mark,
  .sc-theme .site-header.scrolled .sc-live-logo-mark {
    flex-basis: 25px !important;

    width: 25px !important;
    height: 25px !important;
    min-width: 25px !important;
    min-height: 25px !important;
    max-width: 25px !important;
    max-height: 25px !important;
  }

  .sc-theme .site-header.is-scrolled .sc-live-logo-text,
  .sc-theme .site-header.scrolled .sc-live-logo-text {
    font-size: 14px !important;
  }
}

/* Mobile still alternates, but remains readable. */

@media (max-width: 760px) {
  .sc-theme .site-header:not(.is-scrolled):not(.scrolled) .sc-live-logo-mark {
    flex-basis: 32px !important;

    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
  }

  .sc-theme .site-header:not(.is-scrolled):not(.scrolled) .sc-live-logo-text {
    font-size: 16px !important;
  }

  .sc-theme .site-header.is-scrolled .sc-live-logo-mark,
  .sc-theme .site-header.scrolled .sc-live-logo-mark {
    flex-basis: 23px !important;

    width: 23px !important;
    height: 23px !important;
    min-width: 23px !important;
    min-height: 23px !important;
    max-width: 23px !important;
    max-height: 23px !important;
  }

  .sc-theme .site-header.is-scrolled .sc-live-logo-text,
  .sc-theme .site-header.scrolled .sc-live-logo-text {
    font-size: 13px !important;
  }

  .sc-theme .site-header.is-scrolled .sc-controlled-revision,
  .sc-theme .site-header.scrolled .sc-controlled-revision {
    font-size: 6px !important;
  }
}

/* =========================================================
   SHIT CREEK EXPLICIT EXPANDED / COMPACT HEADER STATES
   ========================================================= */

/* Base header */

.sc-theme .site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: #0b1016 !important;
  transition:
    min-height 180ms ease,
    padding 180ms ease,
    box-shadow 180ms ease !important;
}

.sc-theme .site-header .header-inner {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  width: 100% !important;
  max-width: none !important;
  transition:
    padding 180ms ease,
    min-height 180ms ease !important;
}

.sc-theme .sc-brand-group,
.sc-theme .sc-controlled-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;
  overflow: visible !important;
}

.sc-theme .sc-live-logo {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;
  white-space: nowrap !important;
}

.sc-theme .sc-live-logo-text,
.sc-theme .sc-controlled-revision {
  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;
}

/* =========================================================
   EXPANDED STATE — PAGE TOP
   Matches the larger Precision header presentation.
   ========================================================= */

.sc-theme .site-header.sc-header-expanded .header-inner {
  min-height: 260px !important;
  padding: 30px 34px 20px !important;
  align-items: flex-start !important;
  position: relative !important;
}

.sc-theme .site-header.sc-header-expanded .sc-brand-group {
  position: absolute !important;
  top: 30px !important;
  left: 34px !important;
}

.sc-theme .site-header.sc-header-expanded .sc-live-logo {
  gap: 14px !important;
}

.sc-theme .site-header.sc-header-expanded .sc-live-logo-mark {
  display: block !important;
  flex: 0 0 68px !important;
  width: 68px !important;
  height: 68px !important;
  min-width: 68px !important;
  min-height: 68px !important;
  max-width: 68px !important;
  max-height: 68px !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.sc-theme .site-header.sc-header-expanded .sc-live-logo-text {
  display: inline-block !important;
  font-size: 25px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.sc-theme .site-header.sc-header-expanded .sc-controlled-revision {
  display: block !important;
  margin-top: 10px !important;
  font-size: 10px !important;
  line-height: 1.15 !important;
}

.sc-theme .site-header.sc-header-expanded .main-nav {
  position: absolute !important;
  left: 34px !important;
  right: 34px !important;
  bottom: 0 !important;

  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  flex-wrap: nowrap !important;

  width: auto !important;
  min-width: 0 !important;
  padding: 18px 0 12px !important;
  border-top: 1px solid rgba(255,255,255,0.15) !important;
}

/* =========================================================
   COMPACT STATE — AFTER SCROLLING
   ========================================================= */

.sc-theme .site-header.sc-header-compact {
  box-shadow: 0 8px 24px rgba(0,0,0,0.28) !important;
}

.sc-theme .site-header.sc-header-compact .header-inner {
  min-height: 82px !important;
  padding: 10px 24px !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.sc-theme .site-header.sc-header-compact .sc-brand-group {
  position: static !important;
}

.sc-theme .site-header.sc-header-compact .sc-live-logo {
  gap: 9px !important;
}

.sc-theme .site-header.sc-header-compact .sc-live-logo-mark {
  display: block !important;
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.sc-theme .site-header.sc-header-compact .sc-live-logo-text {
  display: inline-block !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.sc-theme .site-header.sc-header-compact .sc-controlled-revision {
  display: block !important;
  margin-top: 5px !important;
  font-size: 7px !important;
}

.sc-theme .site-header.sc-header-compact .main-nav {
  position: static !important;
  display: flex !important;
  flex: 1 1 auto !important;
  justify-content: flex-end !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  border-top: 0 !important;
}

/* Transitions */

.sc-theme .sc-live-logo-mark,
.sc-theme .sc-live-logo-text,
.sc-theme .sc-controlled-revision {
  transition:
    width 180ms ease,
    height 180ms ease,
    min-width 180ms ease,
    min-height 180ms ease,
    max-width 180ms ease,
    max-height 180ms ease,
    font-size 180ms ease,
    margin 180ms ease !important;
}

/* Medium screens */

@media (max-width: 1100px) {
  .sc-theme .site-header.sc-header-expanded .header-inner {
    min-height: 225px !important;
  }

  .sc-theme .site-header.sc-header-expanded .sc-live-logo-mark {
    flex-basis: 56px !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
  }

  .sc-theme .site-header.sc-header-expanded .sc-live-logo-text {
    font-size: 22px !important;
  }

  .sc-theme .site-header.sc-header-expanded .main-nav {
    justify-content: flex-start !important;
    overflow-x: auto !important;
  }
}

/* Mobile */

@media (max-width: 760px) {
  .sc-theme .site-header.sc-header-expanded .header-inner {
    min-height: 210px !important;
    padding: 22px 18px 16px !important;
  }

  .sc-theme .site-header.sc-header-expanded .sc-brand-group {
    top: 22px !important;
    left: 18px !important;
  }

  .sc-theme .site-header.sc-header-expanded .main-nav {
    left: 18px !important;
    right: 18px !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
  }

  .sc-theme .site-header.sc-header-expanded .sc-live-logo-mark {
    flex-basis: 46px !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    max-width: 46px !important;
    max-height: 46px !important;
  }

  .sc-theme .site-header.sc-header-expanded .sc-live-logo-text {
    font-size: 19px !important;
  }

  .sc-theme .site-header.sc-header-compact .header-inner {
    padding: 8px 14px !important;
  }

  .sc-theme .site-header.sc-header-compact .sc-live-logo-mark {
    flex-basis: 28px !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
  }

  .sc-theme .site-header.sc-header-compact .sc-live-logo-text {
    font-size: 15px !important;
  }

  .sc-theme .site-header.sc-header-compact .main-nav {
    overflow-x: auto !important;
  }
}

/* =========================================================
   SHIT CREEK STABLE EXPANDED HEADER R3
   Hysteresis controller: compact 260px / expand 40px
   ========================================================= */

/*
   Expanded header at page top.
   Give the logo a clearly larger visual presentation.
*/

.sc-theme .site-header.sc-header-expanded {
  min-height: 290px !important;
}

.sc-theme .site-header.sc-header-expanded .header-inner {
  position: relative !important;

  display: flex !important;
  align-items: flex-start !important;

  min-height: 290px !important;
  padding: 30px 36px 22px !important;

  overflow: visible !important;
}

.sc-theme .site-header.sc-header-expanded .sc-brand-group {
  position: absolute !important;
  top: 30px !important;
  left: 36px !important;

  display: block !important;

  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;

  overflow: visible !important;
}

.sc-theme .site-header.sc-header-expanded .sc-controlled-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;

  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;

  overflow: visible !important;
}

.sc-theme .site-header.sc-header-expanded .sc-live-logo {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;

  gap: 18px !important;

  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;

  white-space: nowrap !important;
  overflow: visible !important;
}

.sc-theme .site-header.sc-header-expanded .sc-live-logo-mark {
  display: block !important;

  flex: 0 0 92px !important;

  width: 92px !important;
  height: 92px !important;

  min-width: 92px !important;
  min-height: 92px !important;

  max-width: 92px !important;
  max-height: 92px !important;

  opacity: 1 !important;
  visibility: visible !important;
}

.sc-theme .site-header.sc-header-expanded .sc-live-logo-text {
  display: inline-block !important;

  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;

  color: #f4f6f8 !important;
  -webkit-text-fill-color: #f4f6f8 !important;

  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -0.025em !important;

  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;
}

.sc-theme .site-header.sc-header-expanded .sc-controlled-revision {
  display: block !important;

  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;

  margin: 11px 0 0 0 !important;

  font-size: 10px !important;
  line-height: 1.15 !important;

  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}

/*
   Expanded navigation stays at the bottom of the large header.
*/

.sc-theme .site-header.sc-header-expanded .main-nav {
  position: absolute !important;

  left: 36px !important;
  right: 36px !important;
  bottom: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;

  width: auto !important;
  min-width: 0 !important;

  padding: 18px 0 12px !important;

  border-top:
    1px solid rgba(255,255,255,0.15) !important;
}

/*
   Compact sticky state.
*/

.sc-theme .site-header.sc-header-compact {
  min-height: 82px !important;

  box-shadow:
    0 8px 24px rgba(0,0,0,0.30) !important;
}

.sc-theme .site-header.sc-header-compact .header-inner {
  position: relative !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;

  min-height: 82px !important;

  padding: 9px 24px !important;
}

.sc-theme .site-header.sc-header-compact .sc-brand-group {
  position: static !important;

  display: block !important;

  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;
}

.sc-theme .site-header.sc-header-compact .sc-live-logo {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;

  gap: 9px !important;

  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;

  white-space: nowrap !important;
}

.sc-theme .site-header.sc-header-compact .sc-live-logo-mark {
  display: block !important;

  flex: 0 0 34px !important;

  width: 34px !important;
  height: 34px !important;

  min-width: 34px !important;
  min-height: 34px !important;

  max-width: 34px !important;
  max-height: 34px !important;

  opacity: 1 !important;
  visibility: visible !important;
}

.sc-theme .site-header.sc-header-compact .sc-live-logo-text {
  display: inline-block !important;

  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;

  font-size: 18px !important;
  line-height: 1 !important;

  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}

.sc-theme .site-header.sc-header-compact .sc-controlled-revision {
  display: block !important;

  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;

  margin-top: 4px !important;

  font-size: 7px !important;

  white-space: nowrap !important;
}

.sc-theme .site-header.sc-header-compact .main-nav {
  position: static !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;

  flex: 1 1 auto !important;

  width: auto !important;
  min-width: 0 !important;

  padding: 0 !important;
  border-top: 0 !important;
}

/*
   Prevent old shared scroll classes from overriding
   the explicit Shit Creek state.
*/

.sc-theme .site-header.sc-header-expanded.is-scrolled,
.sc-theme .site-header.sc-header-expanded.scrolled {
  min-height: 290px !important;
}

.sc-theme .site-header.sc-header-expanded.is-scrolled
.sc-live-logo-mark,
.sc-theme .site-header.sc-header-expanded.scrolled
.sc-live-logo-mark {
  width: 92px !important;
  height: 92px !important;
  min-width: 92px !important;
  min-height: 92px !important;
  max-width: 92px !important;
  max-height: 92px !important;
  flex-basis: 92px !important;
}

.sc-theme .site-header.sc-header-expanded.is-scrolled
.sc-live-logo-text,
.sc-theme .site-header.sc-header-expanded.scrolled
.sc-live-logo-text {
  font-size: 30px !important;
}

/*
   Keep transitions smooth, but do not animate header height.
   Animating header height can recreate scroll oscillation.
*/

.sc-theme .sc-live-logo-mark,
.sc-theme .sc-live-logo-text,
.sc-theme .sc-controlled-revision {
  transition:
    width 160ms ease,
    height 160ms ease,
    min-width 160ms ease,
    min-height 160ms ease,
    max-width 160ms ease,
    max-height 160ms ease,
    font-size 160ms ease,
    margin 160ms ease !important;
}

.sc-theme .site-header,
.sc-theme .site-header .header-inner {
  transition:
    box-shadow 160ms ease,
    background-color 160ms ease !important;
}

/*
   Medium displays.
*/

@media (max-width: 1100px) {
  .sc-theme .site-header.sc-header-expanded {
    min-height: 255px !important;
  }

  .sc-theme .site-header.sc-header-expanded .header-inner {
    min-height: 255px !important;
  }

  .sc-theme .site-header.sc-header-expanded .sc-live-logo-mark {
    flex-basis: 76px !important;

    width: 76px !important;
    height: 76px !important;

    min-width: 76px !important;
    min-height: 76px !important;

    max-width: 76px !important;
    max-height: 76px !important;
  }

  .sc-theme .site-header.sc-header-expanded .sc-live-logo-text {
    font-size: 26px !important;
  }

  .sc-theme .site-header.sc-header-expanded .main-nav {
    justify-content: flex-start !important;
    overflow-x: auto !important;
  }
}

/*
   Mobile displays.
*/

@media (max-width: 760px) {
  .sc-theme .site-header.sc-header-expanded {
    min-height: 220px !important;
  }

  .sc-theme .site-header.sc-header-expanded .header-inner {
    min-height: 220px !important;
    padding: 22px 18px 16px !important;
  }

  .sc-theme .site-header.sc-header-expanded .sc-brand-group {
    top: 22px !important;
    left: 18px !important;
  }

  .sc-theme .site-header.sc-header-expanded .sc-live-logo-mark {
    flex-basis: 54px !important;

    width: 54px !important;
    height: 54px !important;

    min-width: 54px !important;
    min-height: 54px !important;

    max-width: 54px !important;
    max-height: 54px !important;
  }

  .sc-theme .site-header.sc-header-expanded .sc-live-logo-text {
    font-size: 20px !important;
  }

  .sc-theme .site-header.sc-header-expanded .main-nav {
    left: 18px !important;
    right: 18px !important;

    justify-content: flex-start !important;
    overflow-x: auto !important;
  }

  .sc-theme .site-header.sc-header-compact .header-inner {
    padding: 8px 14px !important;
  }

  .sc-theme .site-header.sc-header-compact .sc-live-logo-mark {
    flex-basis: 28px !important;

    width: 28px !important;
    height: 28px !important;

    min-width: 28px !important;
    min-height: 28px !important;

    max-width: 28px !important;
    max-height: 28px !important;
  }

  .sc-theme .site-header.sc-header-compact .sc-live-logo-text {
    font-size: 15px !important;
  }

  .sc-theme .site-header.sc-header-compact .main-nav {
    overflow-x: auto !important;
  }
}
