/* Belinda Broadnax Ministries | coordinated motion, version 1.1.0 */
@keyframes bbm-motion-rise {
  from { opacity: .28; translate: 0 var(--bbm-motion-distance, 18px); }
  to { opacity: 1; translate: 0 0; }
}
@keyframes bbm-motion-panel {
  from { opacity: .2; translate: 0 -6px; }
  to { opacity: 1; translate: 0 0; }
}
/* Script-enhanced elements remain readable before and after animation. */
html body[data-bbm-motion-ready] .bb-ministry .bbm-reveal {
  animation: none !important;
  transform: none;
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  html body[data-bbm-motion-ready] [data-bbm-motion].bbm-motion-enter {
    animation: bbm-motion-rise 640ms cubic-bezier(.22,.68,.24,1) var(--bbm-motion-delay,0ms) both !important;
  }
  html body .bb-ministry :is(.action,.arrow-link,.bbmg-button,.bbbs-read,.bbmn-booking),
  html body #bbm-global-footer a {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 220ms ease, translate 220ms ease;
  }
  html body .bb-ministry :is(.archive-card,.bbbs-card,.bbm-book-feature,.bbm-letter-feature,.bbm-path) {
    transition: translate 300ms cubic-bezier(.22,.68,.24,1), box-shadow 300ms ease, border-color 220ms ease;
  }
  html body .bb-ministry :is(.bbbs-card-image,.archive-card)>img,
  html body .bb-ministry :is(.bbbs-card-image,.archive-card a,.bbm-home-book-cover) img,
  html body .bb-ministry .lead-reading a>img {
    transition: scale 500ms cubic-bezier(.22,.68,.24,1);
  }
  html body .bb-ministry .bbbs-card-image { overflow: hidden; }
  html body .bbmn-group[open]>.bbmn-panel,
  html body .bb-ministry details[open]>.detail-body,
  html body .bb-ministry .letter-sample>details[open]>article {
    animation: bbm-motion-panel 220ms ease-out both;
  }
  html body .bbmn-chevron { transition: transform 200ms ease; }
  html body[data-bbm-motion-ready] .bb-ministry [data-bbm-parallax] {
    animation: none !important;
    transform: translate3d(0,var(--bbm-parallax-y,0px),0) !important;
  }
  @media (hover: hover) and (pointer: fine) {
    html body .bb-ministry :is(.action,.bbmg-button,.bbbs-read,.bbmn-booking):hover {
      translate: 0 -2px;
      box-shadow: 0 7px 18px rgb(58 16 31 / 12%);
    }
    html body .bb-ministry .action:hover { transform: none; }
    html body .bb-ministry :is(.archive-card,.bbbs-card,.bbm-book-feature,.bbm-letter-feature):hover {
      translate: 0 -4px;
      box-shadow: 0 14px 30px rgb(58 16 31 / 9%);
    }
    html body .bb-ministry .bbm-path:hover { translate: 0 -3px; }
    html body .bb-ministry :is(.archive-card,.bbbs-card):hover img,
    html body .bb-ministry .bbm-home-book-cover:hover img,
    html body .bb-ministry .lead-reading a:hover>img { scale: 1.025; }
  }
  @media (max-width: 760px) {
    html body[data-bbm-motion-ready] [data-bbm-motion].bbm-motion-enter {
      --bbm-motion-distance: 10px;
      animation-duration: 420ms !important;
      animation-delay: 0ms !important;
    }
  }
  @media (max-width: 1000px) {
    html body .bbmn-toggle[aria-expanded="true"]+.bbmn-nav {
      animation: bbm-motion-panel 200ms ease-out both;
    }
    html body[data-bbm-motion-ready] .bb-ministry [data-bbm-parallax] {
      transform: none !important;
    }
  }
}
html body [data-bbm-motion]:focus-within {
  animation: none !important;
  opacity: 1 !important;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  html body .bb-ministry *, html body .bb-ministry *::before,
  html body .bb-ministry *::after, html body #bbm-global-footer * {
    animation: none !important;
    transition: none !important;
  }
  html body [data-bbm-motion], html body [data-bbm-parallax] {
    opacity: 1 !important;
    translate: none !important;
    scale: none !important;
    transform: none !important;
  }
  html body .bb-ministry :is(.action,.archive-card,.bbbs-card):hover {
    transform: none !important;
  }
}
@media print {
  html body [data-bbm-motion], html body [data-bbm-parallax] {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    translate: none !important;
    transform: none !important;
  }
}
