/* =========================================================
   LONDON BABY 2026 — Hero Date Masthead Upgrade
   Purpose: make the hero date/day read as the section masthead
   for each day's hero card, visually outranking Time & Weather.
   Scope: hero cards + slight Time & Weather hierarchy reduction only.
========================================================= */

/* Slightly calm the utility module so it does not outrank the day masthead. */
html body #app.app-shell .dashboard .panel h3 {
  font-size: clamp(1.55rem, 5.7vw, 2.25rem) !important;
  letter-spacing: -0.035em !important;
}

@media (max-width: 720px) {
  html body #app.app-shell .dashboard .panel {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  html body #app.app-shell .dashboard .panel h3 {
    font-size: clamp(1.42rem, 6.25vw, 1.92rem) !important;
    margin-bottom: 12px !important;
  }
}

/* Hero card: create room for a real section masthead. */
html body #app.app-shell .hero {
  border-color: var(--lb-baby-gold-medium, rgba(201,154,51,.64)) !important;
}

html body #app.app-shell .hero .hero-copy {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  padding-top: clamp(18px, 3.5vw, 28px) !important;
}

/* Date masthead: full-width, more present, still restrained glass/gold. */
html body #app.app-shell .hero .hero-pill {
  box-sizing: border-box !important;
  align-self: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: clamp(54px, 7vw, 70px) !important;
  margin: 0 0 clamp(24px, 4.5vw, 34px) 0 !important;
  padding: clamp(14px, 2.4vw, 20px) clamp(18px, 4vw, 34px) !important;
  border-radius: clamp(18px, 4vw, 28px) !important;
  border: 1.5px solid var(--lb-baby-gold-medium, rgba(201,154,51,.70)) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,250,255,.80)),
    linear-gradient(90deg, rgba(201,154,51,.16), rgba(255,255,255,.56), rgba(201,154,51,.13)) !important;
  color: var(--lb-glass-ink, #0b1730) !important;
  -webkit-text-fill-color: var(--lb-glass-ink, #0b1730) !important;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif !important;
  font-size: clamp(1.02rem, 2.75vw, 1.34rem) !important;
  font-weight: 900 !important;
  letter-spacing: .16em !important;
  line-height: 1.05 !important;
  text-transform: uppercase !important;
  text-align: center !important;
  white-space: nowrap !important;
  text-shadow: none !important;
  box-shadow:
    0 16px 34px rgba(27, 45, 75, .14),
    0 4px 12px rgba(201,154,51,.10),
    0 0 0 1px rgba(255,255,255,.62),
    inset 0 1px 0 rgba(255,255,255,.98),
    inset 0 -1px 0 rgba(201,154,51,.18) !important;
}

html body #app.app-shell .hero h2 {
  margin-top: 0 !important;
}

@media (max-width: 720px) {
  html body #app.app-shell .hero {
    min-height: 380px !important;
  }

  html body #app.app-shell .hero .hero-copy {
    left: 22px !important;
    right: 22px !important;
    bottom: 26px !important;
    max-width: calc(100% - 44px) !important;
    padding-top: 22px !important;
  }

  html body #app.app-shell .hero .hero-pill {
    min-height: 58px !important;
    margin-bottom: 24px !important;
    padding: 15px 16px !important;
    border-radius: 22px !important;
    font-size: clamp(1.02rem, 4.75vw, 1.34rem) !important;
    letter-spacing: .145em !important;
  }
}

@media (max-width: 430px) {
  html body #app.app-shell .hero {
    min-height: 370px !important;
  }

  html body #app.app-shell .hero .hero-copy {
    left: 20px !important;
    right: 20px !important;
    bottom: 24px !important;
    max-width: calc(100% - 40px) !important;
  }

  html body #app.app-shell .hero .hero-pill {
    min-height: 56px !important;
    margin-bottom: 22px !important;
    padding: 14px 14px !important;
    border-radius: 21px !important;
    font-size: clamp(.96rem, 4.45vw, 1.16rem) !important;
    letter-spacing: .13em !important;
  }
}
