/* One homepage opening rhythm across the five personal REBUILD sections. */
html body #today {
  padding-top: 18px !important;
}

html body #recovery .recoveryTop,
html body #rebuild .rebuild-v3-hero {
  margin-top: 18px !important;
}

html body #mental .mental-approved-home,
html body #active .active-approved-home {
  padding-top: 18px !important;
}

html body #today .today-v3-hero,
html body #recovery .recoveryTop,
html body #mental .mental-home-hero,
html body #active .active-approved-top,
html body #rebuild .rebuild-v3-hero {
  height: 282px !important;
  min-height: 282px !important;
}

@media (max-width: 390px) {
  html body #today { padding-top: 15px !important; }
  html body #recovery .recoveryTop,
  html body #rebuild .rebuild-v3-hero { margin-top: 15px !important; }
  html body #mental .mental-approved-home,
  html body #active .active-approved-home { padding-top: 15px !important; }
  html body #today .today-v3-hero,
  html body #recovery .recoveryTop,
  html body #mental .mental-home-hero,
  html body #active .active-approved-top,
  html body #rebuild .rebuild-v3-hero {
    height: 266px !important;
    min-height: 266px !important;
  }
}

@media (max-width: 360px) {
  html body #today { padding-top: 12px !important; }
  html body #recovery .recoveryTop,
  html body #rebuild .rebuild-v3-hero { margin-top: 12px !important; }
  html body #mental .mental-approved-home,
  html body #active .active-approved-home { padding-top: 12px !important; }
  html body #today .today-v3-hero,
  html body #recovery .recoveryTop,
  html body #mental .mental-home-hero,
  html body #active .active-approved-top,
  html body #rebuild .rebuild-v3-hero {
    height: 258px !important;
    min-height: 258px !important;
  }
}

/* Use one bottom-left text anchor and one type rhythm on phone homepages. */
@media (max-width: 799px) {
  html body #today .today-v3-copy,
  html body #mental .mental-home-hero-copy,
  html body #active .active-approved-top > div,
  html body #rebuild .rebuild-v3-hero-copy {
    position: absolute !important;
    top: auto !important;
    right: 20px !important;
    bottom: 20px !important;
    left: 20px !important;
    max-width: 330px !important;
    margin: 0 !important;
  }

  html body #recovery .recoveryTop {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: stretch !important;
    padding: 20px !important;
  }

  html body #recovery .recoveryTop > .k,
  html body #recovery .recoveryTop > h1,
  html body #recovery .recovery-page-intro {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    max-width: 330px !important;
  }

  html body #recovery .sober-priority {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
  }

  html body #recovery .recoveryTop > .k,
  html body #mental .mental-home-kicker,
  html body #active .active-hero-kicker,
  html body #rebuild .rebuild-v2-eyebrow {
    display: block !important;
    margin: 0 0 8px !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    letter-spacing: .14em !important;
  }

  html body #today .today-personal-greeting,
  html body #recovery .recoveryTop > h1,
  html body #mental .mental-home-hero h1,
  html body #active .active-approved-top h1,
  html body #rebuild .rebuild-v3-hero h1 {
    margin: 0 !important;
    font-size: clamp(34px, 9.8vw, 40px) !important;
    line-height: .9 !important;
    letter-spacing: -.055em !important;
  }

  html body #recovery .recovery-page-intro,
  html body #mental .mental-home-hero p,
  html body #active .active-approved-top p,
  html body #rebuild .rebuild-v3-hero p {
    margin: 10px 0 0 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  html body #today .today-app-daily-quote {
    margin: 0 0 8px !important;
  }

  html body #today .today-v3-quote-meta {
    margin: 9px 0 0 !important;
  }
}

@media (min-width: 800px) {
  html body #today .today-v3-hero,
  html body #recovery .recoveryTop,
  html body #mental .mental-home-hero,
  html body #active .active-approved-top,
  html body #rebuild .rebuild-v3-hero {
    height: 340px !important;
    min-height: 340px !important;
  }
}
