#hero {
  position: relative;
  overflow: hidden;
}

#video-header-bg,
#hero #bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#hero .h-section-content,
#hero .colibri-section-content,
#hero .hero-content,
#hero .h-section-grid-container,
#hero .h-section-boxed-container {
  position: relative;
  z-index: 1;
}

#onetap, #oneTap, #accessibility, #accessibility-widget,
[class*="onetap"], [id*="onetap"],
[class*="accessib"], [id*="accessib"] {
  z-index: 2147483647 !important;
}

/* Scrolled (sticky) header: smaller side-by-side logo with breathing room - added Oct 31 2026 */
.h-navigation_sticky img.h-logo__alt-image {
  max-height: 70px !important;
  width: auto !important;
  height: auto !important;
}


/* Phone spacing fixes - added Oct 31 2026. Phones only (767px and narrower); desktop and tablet unchanged. */
@media (max-width: 767px) {
  /* More room between text and the screen edges / block edges */
  .h-section .h-column__inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
  /* More room above and below text inside colored bands */
  .h-section .h-row-container {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
  /* Letters to Families: stack the quote mark above the letter so the text uses the full width */
  .style-local-1333-c7 .h-row > .h-column {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* Phone fix for decorative section shapes (dividers) - added Oct 31 2026. Phones only. */
@media (max-width: 767px) {
  /* Slimmer shapes so they don't cover headings or pile into each other */
  .h-section .h-separator { height: 40px !important; max-height: 40px !important; }
  .h-section .h-separator svg { height: 100% !important; }
  /* Extra room above/below content in sections that have shapes */
  .h-section:has(.h-separator) { padding-top: 60px !important; padding-bottom: 60px !important; }
}

/* Care & Cost page, "warning signs" icon labels: center under the icons on phones - added Oct 31 2026 */
@media (max-width: 767px) {
  .h-heading.style-960,
  .h-heading.style-960 h1, .h-heading.style-960 h2, .h-heading.style-960 h3,
  .h-heading.style-960 h4, .h-heading.style-960 h5, .h-heading.style-960 h6 { text-align: center !important; }
}

/* Home page, Meet Pamela (phones): hide the floating curved shape above the green band, keep "Meet Pamela Clark" on one line - added Oct 31 2026 */
@media (max-width: 767px) {
  .h-section.style-local-5-c77 .h-separator { display: none !important; }
  .h-section.style-local-5-c77 { padding-top: 30px !important; }
  .style-local-5-c108 h2 { font-size: min(42px, 8.6vw) !important; white-space: nowrap; }
}

/* Care & Cost page, "what care includes" icons (Personal Care, Health...): center on phones - added Oct 31 2026 */
@media (max-width: 767px) {
  .h-icon.style-1630 { text-align: center !important; }
}

/* Match section-divider colors so neighboring shapes flow as one band (all screen sizes) - added Oct 31 2026 */
/* Care & Cost page: "Simple Placement Process" top + bottom shapes olive -> dark green to match neighbors */
.h-section.style-local-1329-c109 > .h-separator path { fill: rgb(47, 64, 56) !important; }
/* Home page: "Simple Process" top shape olive -> grey-green to match the shape above it */
.h-section.style-local-5-c26 > .h-separator:nth-child(2) path { fill: rgb(122, 134, 118) !important; }

/* Care & Cost page, warning signs: keep the stethoscope icon beside "Medication Management Difficulties" on laptops/tablets like the other five - added Oct 31 2026 */
@media (min-width: 768px) {
  .h-row-container.style-local-1329-c41 > .h-row { flex-wrap: nowrap !important; align-items: center; }
  .h-row-container.style-local-1329-c41 > .h-row > .h-column:last-child { flex: 1 1 0% !important; min-width: 0 !important; max-width: none !important; }
}


/* MFIR paragraph spacing on blog posts */
.colibri-post-content p { margin-bottom: 1.25em; }
.colibri-post-content h2, .colibri-post-content h3 { margin-top: 1.5em; }
