/* =====================================================================
   BIOHEAL PILLAR BITMAP HEROES + WAX-SEAL BADGES
   2026-05-26 — replaces v7 inline SVG hero illustrations and ornate
   SVG stamp medallions with Nano Banana Pro vintage watercolor assets.
   ===================================================================== */

/* Hero illustration container — now wraps <picture>/<img>, not SVG */
body.cms-home .bh-pillar-hero {
  width: 100%;
  aspect-ratio: 320 / 180;
  margin: .4rem 0 .8rem;
  border-radius: 12px;
  overflow: hidden;
  display: block !important;
  background: var(--paper, #FAF8F2);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 4px 14px rgba(45, 90, 61, .06);
}
body.cms-home .bh-pillar-hero picture,
body.cms-home .bh-pillar-hero img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
}
body.cms-home .bh-pillar:hover .bh-pillar-hero {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(45, 90, 61, .12);
}

/* Stamp medallions — replaced with bitmap wax-seal badges */
body.cms-home .bh-pillar-stamp {
  width: 84px !important;
  height: 84px !important;
  background: transparent !important;
  border: 0 !important;
  display: grid !important;
  place-items: center !important;
  transform: rotate(-6deg);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
  /* Subtle physical drop-shadow under the wax seal */
  filter: drop-shadow(0 3px 6px rgba(42, 53, 40, .22));
}
body.cms-home .bh-pillar-stamp picture,
body.cms-home .bh-pillar-stamp img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  display: block;
}
/* Hide the leftover SVG ring + text-label nodes from v7 (kept in DOM as
   sr-only content via <picture><img alt> — the alt provides accessible
   text). */
body.cms-home .bh-pillar-stamp .bh-pillar-stamp-ring,
body.cms-home .bh-pillar-stamp .bh-pillar-stamp-txt {
  display: none !important;
}
body.cms-home .bh-pillar:hover .bh-pillar-stamp {
  transform: rotate(-3deg) scale(1.06);
}

@media (max-width: 480px) {
  body.cms-home .bh-pillar-stamp {
    width: 68px !important;
    height: 68px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.cms-home .bh-pillar:hover .bh-pillar-hero,
  body.cms-home .bh-pillar:hover .bh-pillar-stamp {
    transform: none !important;
  }
}
