/*
 * Isolated preview only: Today cream foundation and raised hero mount.
 * The Today canvas uses a warmer cream from the same material family as the
 * lighter #fdf8f2 shared app-header face.
 */

/*
 * These two declarations must override the existing !important Today canvas
 * backgrounds in the inline `today-homepage-baby-blue-pass-1-css` block.
 */
html body #today.page {
  background: #f4ebe2 !important;
  padding-top: 33px !important;
}

html body main.app:has(> #today.page.on) {
  background: #f4ebe2 !important;
}

/*
 * The active V442 hero heights are all !important in page-hero-sizing.css,
 * so these Today-only corrections must match that priority to take effect.
 * Width, horizontal margins, radius and internal image treatment are untouched.
 *
 * The shadow stack builds one sculpted porcelain rim without changing layout:
 * an inner contact edge, a warm continuous rim, directional upper-left light,
 * a lower-right cream bevel, then tight and broad elevation shadows.
 */
html body #today > .today-v3-hero {
  height: 231px !important;
  min-height: 231px !important;
  border-color: rgba(91, 73, 55, 0.48);
  box-shadow:
    inset 0 0 0 1px rgba(49, 41, 33, 0.28),
    0 0 0 6px #f4eadf,
    -2px -2px 0 8px #fffdf9,
    2px 2px 0 8px #d7c7b5,
    0 7px 6px 8px rgba(57, 51, 45, 0.25),
    0 20px 34px 9px rgba(57, 51, 45, 0.18);
}

@media (max-width: 390px) {
  html body #today > .today-v3-hero {
    height: 218px !important;
    min-height: 218px !important;
  }
}

@media (max-width: 360px) {
  html body #today > .today-v3-hero {
    height: 212px !important;
    min-height: 212px !important;
  }
}

@media (min-width: 800px) {
  html body #today > .today-v3-hero {
    height: 279px !important;
    min-height: 279px !important;
  }
}
