/* The Shepherd Friends | Phase 1G
   NAKEF-style hero/action-strip overlap and matching header/footer emblem sizes.
   Deliberately limited to these two visual corrections. */

/* The four action cards straddle the hero's bottom edge, as in NAKEF.
   Raise pagination into the image so it stays above the overlapping strip. */
.hero-carousel .hero-dots {
  bottom: 122px;
  z-index: 6;
}
.action-wrap {
  position: relative;
  z-index: 8;
  margin-top: -64px !important;
}
.action-wrap .action-strip {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  box-shadow: 0 20px 38px rgba(20,43,54,.16);
}

/* Match the emblem as displayed in the header, including responsive sizes. */
.site-footer .footer-brand img {
  display: block;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  object-fit: contain;
  border-radius: 50%;
}
@media (max-width: 1370px) {
  .site-footer .footer-brand img { width: 61px; height: 61px; flex-basis: 61px; }
}
@media (max-width: 1000px) {
  .action-wrap { margin-top: -44px !important; }
  .hero-carousel .hero-dots { bottom: 105px; }
  .action-wrap .action-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  /* Compact phones: a smaller overlap keeps slider controls and CTA rows separate. */
  .action-wrap { margin-top: -24px !important; }
  .hero-carousel .hero-dots { bottom: 48px; }
  .site-footer .footer-brand img { width: 49px; height: 49px; flex-basis: 49px; }
}
@media (max-width: 380px) {
  .site-footer .footer-brand img { width: 43px; height: 43px; flex-basis: 43px; }
}
