/* Homepage hero redesign — intentionally loaded after the legacy homepage CSS. */
body.home-page.light-theme .hp-dashboard-hero {
  width: min(1450px, calc(100% - 48px)) !important;
  min-height: 0 !important;
  margin: 30px auto 0 !important;
  padding: 34px 14px 22px !important;
  display: grid !important;
  grid-template-columns: minmax(0, .94fr) minmax(520px, 1.06fr) !important;
  grid-template-rows: auto auto auto auto auto auto auto auto !important;
  column-gap: clamp(58px, 7vw, 110px) !important;
  row-gap: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.home-page.light-theme .hp-hero-main {
  display: contents !important;
}

body.home-page.light-theme .hp-status-row {
  grid-column: 1 / -1;
  grid-row: 1;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.home-page.light-theme .hp-status-cluster {
  gap: 13px !important;
  color: #343244 !important;
}

body.home-page.light-theme .hp-status-label,
body.home-page.light-theme .hp-db-status,
body.home-page.light-theme .hp-last-update {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #444253 !important;
  font-size: .72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.home-page.light-theme .hp-status-cluster > * + *::before {
  content: "•";
  margin-right: 13px;
  color: #7770c9;
}

body.home-page.light-theme .hp-db-status i {
  width: 17px !important;
  height: 17px !important;
  margin-right: 7px !important;
  display: inline-grid !important;
  place-items: center;
  border: 0 !important;
  border-radius: 50%;
  color: #6159bd !important;
  background: #f0edff !important;
  font-size: .62rem;
  font-style: normal;
  box-shadow: none !important;
}

body.home-page.light-theme .hp-last-update {
  display: none !important;
}

body.home-page.light-theme .hp-hero-eyebrow {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  margin: 28px 0 18px;
  color: #6b5bd5;
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .14em;
}

body.home-page.light-theme .hp-hero-main > h1 {
  grid-column: 1;
  grid-row: 3;
  max-width: 650px !important;
  margin: 0 !important;
  color: #171522 !important;
  font-size: clamp(3.15rem, 4.15vw, 4.55rem) !important;
  font-weight: 900 !important;
  letter-spacing: -.065em !important;
  line-height: .99 !important;
}

body.home-page.light-theme .hp-hero-main > h1 span {
  display: block;
  color: #6655cb !important;
}

body.home-page.light-theme .hp-hero-main > p {
  grid-column: 1;
  grid-row: 4;
  max-width: 540px !important;
  margin: 26px 0 27px !important;
  color: #5f5c6b !important;
  font-size: 1rem !important;
  line-height: 1.62 !important;
}

body.home-page.light-theme .hp-search {
  grid-column: 1;
  grid-row: 5;
  width: 100% !important;
  max-width: 610px !important;
  min-height: 58px !important;
  padding: 0 7px 0 18px !important;
  border: 1px solid rgba(101, 88, 194, .18) !important;
  border-radius: 11px !important;
  background: rgba(255, 255, 255, .84) !important;
  box-shadow: 0 10px 28px rgba(64, 58, 111, .08) !important;
}

body.home-page.light-theme .hp-search label {
  top: -25px !important;
  left: 0 !important;
}

body.home-page.light-theme .hp-search > button {
  width: 45px !important;
  height: 45px !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #7767f3, #5e55e7) !important;
  box-shadow: 0 8px 18px rgba(91, 79, 218, .25) !important;
}

body.home-page.light-theme .hp-quick-links {
  grid-column: 1;
  grid-row: 6;
  margin-top: 18px !important;
  gap: 9px !important;
}

body.home-page.light-theme .hp-quick-links button {
  min-height: 30px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 7px !important;
  color: #6255ad !important;
  background: #f3efff !important;
  box-shadow: none !important;
}

body.home-page.light-theme .hp-featured-find {
  grid-column: 2;
  grid-row: 2 / 7;
  align-self: start;
  display: grid !important;
  grid-template-columns: minmax(0, 1.62fr) minmax(230px, .92fr) !important;
  grid-template-rows: auto 340px !important;
  gap: 14px 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.home-page.light-theme .hp-featured-head {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0 !important;
  padding: 0 2px !important;
}

body.home-page.light-theme .hp-featured-head span {
  color: #6c659f !important;
}

body.home-page.light-theme .hp-featured-head a {
  padding: 10px 14px !important;
  border: 0 !important;
  border-radius: 9px !important;
  color: #4e477f !important;
  background: #f0ecff !important;
}

body.home-page.light-theme .hp-featured-image {
  grid-column: 1;
  grid-row: 2;
  height: 340px !important;
  min-height: 0 !important;
  padding: 18px !important;
  border: 1px solid rgba(94, 81, 190, .12) !important;
  border-right: 0 !important;
  border-radius: 18px 0 0 18px !important;
  background: rgba(255, 255, 255, .72) !important;
  box-shadow: 0 16px 40px rgba(54, 48, 101, .08) !important;
}

body.home-page.light-theme .hp-featured-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  background: #f6f5f3;
}

body.home-page.light-theme .hp-featured-body {
  position: static !important;
  grid-column: 2;
  grid-row: 2;
  width: auto !important;
  height: 340px !important;
  margin: 0 !important;
  padding: 22px 20px 18px !important;
  display: flex !important;
  flex-direction: column;
  border: 1px solid rgba(94, 81, 190, .12) !important;
  border-left: 0 !important;
  border-radius: 0 18px 18px 0 !important;
  background: rgba(255, 255, 255, .88) !important;
  box-shadow: 12px 16px 40px rgba(54, 48, 101, .08) !important;
  transform: none !important;
}

body.home-page.light-theme .hp-featured-body h2 {
  margin: 16px 0 !important;
  font-size: 1.42rem !important;
  line-height: 1.13 !important;
}

body.home-page.light-theme .hp-featured-stats {
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

body.home-page.light-theme .hp-featured-body .hp-featured-stats > div {
  min-height: 58px !important;
  padding: 8px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: #f5f2ff !important;
}

body.home-page.light-theme .hp-featured-bottom {
  margin-top: auto !important;
  padding-top: 14px !important;
}

body.home-page.light-theme .hp-featured-bottom a {
  min-height: 44px !important;
  padding: 0 17px !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #7767f3, #5e55e7) !important;
}

body.home-page.light-theme .hp-live-metrics {
  grid-column: 1 / -1;
  grid-row: 7;
  width: 100% !important;
  margin: 55px 0 0 !important;
  min-height: 94px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(92, 79, 183, .1) !important;
  border-radius: 15px !important;
  background: rgba(255, 255, 255, .72) !important;
  box-shadow: 0 15px 38px rgba(57, 50, 104, .07) !important;
}

body.home-page.light-theme .hp-live-metrics article {
  min-height: 64px !important;
  padding: 0 clamp(20px, 3vw, 44px) !important;
  border: 0 !important;
  border-right: 1px solid rgba(77, 70, 121, .1) !important;
  background: transparent !important;
}

body.home-page.light-theme .hp-live-metrics article:last-child {
  border-right: 0 !important;
}

body.home-page.light-theme .hp-metric-icon {
  width: 43px !important;
  height: 43px !important;
  color: #6857d9 !important;
  background: #f0ecff !important;
}

body.home-page.light-theme .hp-metric-copy strong {
  font-size: 1.5rem !important;
}

body.home-page.light-theme .hp-browse-note {
  grid-column: 1 / -1;
  grid-row: 8;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: #666372;
  font-size: .82rem;
}

body.home-page.light-theme .hp-browse-note > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #6657d7;
  background: #eeeaff;
  font-size: 1.15rem;
}

body.home-page.light-theme .hp-browse-note strong {
  color: #494655;
}

body.home-page.light-theme .hp-browse-note p {
  margin: 0;
}

body.home-page.light-theme .hp-featured-meta-row {
  display: block !important;
}

body.home-page.light-theme .hp-featured-date {
  display: none !important;
}

body.home-page.light-theme .hp-featured-body h2 {
  margin: 16px 0 17px !important;
  font-size: 1.38rem !important;
}

body.home-page.light-theme .hp-featured-list {
  display: grid;
  gap: 13px;
}

body.home-page.light-theme .hp-featured-list-row {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #54515f;
  font-size: .89rem;
  line-height: 1.2;
}

body.home-page.light-theme .hp-featured-list-row svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: #555267;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.home-page.light-theme .hp-featured-list-row strong {
  color: #302d3b !important;
  font-size: inherit !important;
}

body.home-page.light-theme .hp-featured-list-row:nth-child(3) strong {
  color: #19c96b !important;
  font-weight: 850;
}

body.home-page.light-theme .hp-featured-bottom {
  margin-top: 17px !important;
  padding-top: 14px !important;
  display: block !important;
  border-top: 1px solid rgba(77, 70, 121, .11) !important;
}

body.home-page.light-theme .hp-featured-review {
  display: grid;
  gap: 4px;
  margin-bottom: 15px;
}

body.home-page.light-theme .hp-featured-review strong {
  color: #292632 !important;
  font-size: .95rem !important;
}

body.home-page.light-theme .hp-featured-review i {
  color: #ffb800;
  font-size: 1.1rem;
  font-style: normal;
}

body.home-page.light-theme .hp-featured-review small {
  color: #8a8794 !important;
  font-size: .75rem !important;
  text-transform: none !important;
}

body.home-page.light-theme .hp-featured-bottom a {
  width: 100% !important;
  min-height: 45px !important;
  justify-content: center !important;
}

@media (max-width: 1050px) {
  body.home-page.light-theme .hp-dashboard-hero {
    width: min(760px, calc(100% - 30px)) !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.home-page.light-theme .hp-status-row,
  body.home-page.light-theme .hp-hero-eyebrow,
  body.home-page.light-theme .hp-hero-main > h1,
  body.home-page.light-theme .hp-hero-main > p,
  body.home-page.light-theme .hp-search,
  body.home-page.light-theme .hp-quick-links,
  body.home-page.light-theme .hp-featured-find,
  body.home-page.light-theme .hp-live-metrics,
  body.home-page.light-theme .hp-browse-note {
    grid-column: 1 !important;
  }

  body.home-page.light-theme .hp-featured-find {
    grid-row: 7 !important;
    margin-top: 42px !important;
  }

  body.home-page.light-theme .hp-live-metrics {
    grid-row: 8 !important;
  }

  body.home-page.light-theme .hp-browse-note {
    grid-row: 9 !important;
  }
}

@media (max-width: 650px) {
  body.home-page.light-theme .hp-dashboard-hero {
    width: calc(100% - 20px) !important;
    padding-inline: 0 !important;
  }

  body.home-page.light-theme .hp-status-row {
    margin-bottom: 34px !important;
    overflow-x: auto;
  }

  body.home-page.light-theme .hp-status-cluster {
    width: max-content;
  }

  body.home-page.light-theme .hp-hero-main > h1 {
    font-size: clamp(2.65rem, 14vw, 3.5rem) !important;
  }

  body.home-page.light-theme .hp-featured-find {
    display: block !important;
  }

  body.home-page.light-theme .hp-featured-head {
    margin-bottom: 12px !important;
  }

  body.home-page.light-theme .hp-featured-image {
    height: 300px !important;
    border-right: 1px solid rgba(94, 81, 190, .12) !important;
    border-radius: 16px 16px 0 0 !important;
  }

  body.home-page.light-theme .hp-featured-body {
    height: auto !important;
    min-height: 310px;
    border-top: 0 !important;
    border-left: 1px solid rgba(94, 81, 190, .12) !important;
    border-radius: 0 0 16px 16px !important;
  }

  body.home-page.light-theme .hp-live-metrics {
    grid-template-columns: 1fr 1fr !important;
    padding: 10px !important;
  }

  body.home-page.light-theme .hp-live-metrics article {
    border-right: 0 !important;
  }

  body.home-page.light-theme .hp-browse-note {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}
