/* Opportunity header: keep crest, level, monthly sales and next-level copy in separate rows. */
.sgl-heading-level {
  box-sizing: border-box;
  width: 330px;
  min-width: 330px !important;
  min-height: 134px !important;
  grid-template-columns: 84px minmax(0, 1fr) !important;
  grid-template-rows: 1fr !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 13px 17px 13px 12px !important;
  overflow: hidden;
}

.sgl-heading-level::before {
  grid-row: 1 !important;
  align-self: center;
  width: 84px !important;
  height: 92px !important;
}

.sgl-heading-level > span {
  box-sizing: border-box;
  display: block !important;
  align-self: stretch !important;
  min-width: 0;
  padding: 1px 0 42px;
  color: #a9c8e6 !important;
  font-size: 10px !important;
  line-height: 1.2;
  white-space: normal;
}

.sgl-heading-level > span > b {
  display: block !important;
  width: max-content;
  margin: 4px 0 0 !important;
  color: #fff !important;
  font-size: 31px !important;
  line-height: 1 !important;
  text-shadow: 0 3px 0 #001129, 0 0 12px rgba(67, 210, 255, .55);
}

.sgl-heading-level > span > small {
  display: flex !important;
  align-items: baseline;
  gap: 4px;
  width: 100%;
  margin: 8px 0 0 !important;
  color: #b7d8f5 !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  white-space: nowrap;
}

.sgl-heading-level [data-sgl-level-sales] {
  flex: 0 0 auto;
  color: #54e4ff;
  font-size: 15px;
  font-weight: 950;
}

.sgl-heading-level::after {
  box-sizing: border-box;
  left: 112px !important;
  right: 17px;
  bottom: 12px !important;
  min-height: 31px;
  padding-top: 7px;
  border-top: 1px solid rgba(102, 200, 255, .25);
  color: #82b7df !important;
  font-size: 9px !important;
  line-height: 1.3;
  letter-spacing: .065em !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .sgl-heading-level {
    width: 292px;
    min-width: 292px !important;
    grid-template-columns: 74px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .sgl-heading-level::before {
    width: 74px !important;
    height: 82px !important;
  }

  .sgl-heading-level::after {
    left: 98px !important;
  }
}

@media (max-width: 760px) {
  .sgl-page-heading .sgl-heading-level {
    width: 100%;
    min-width: 0 !important;
    max-width: none;
  }
}
