/* Hội Mẹ Hằng Cứu Giúp: approved two-slide homepage hero (2026-11-20). */
body.home .hmhcg-featured,
body.home .hmhcg-featured .tp-banner-container,
body.home .hmhcg-featured .tp-banner,
body.home .hmhcg-featured .tp-banner ul {
  background-color: #59402E !important;
}
body.home .hmhcg-featured .tp-banner-container {
  border-top: 2px solid #C58A32;
  border-bottom: 2px solid #C58A32;
  box-sizing: border-box;
}
/* Ensure the photo and its baked-in lettering stay fully visible. */
body.home .hmhcg-featured .tp-banner li:not(.site-youtube-slide) .slotholder .defaultimg {
  background-position: center center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-color: #59402E !important;
}
/* Match the YouTube treatment on chuyenthatcothat.net with deep brown side gutters. */
body.home .hmhcg-featured .tp-banner .site-youtube-slide {
  background: #59402E !important;
}
body.home .hmhcg-featured .tp-banner .site-youtube-caption {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #59402E !important;
}
body.home .hmhcg-featured .tp-banner .site-youtube-caption iframe {
  position: absolute !important;
  display: block !important;
  top: 0 !important;
  left: 20% !important;
  width: 60% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  transform: none !important;
}
/* Avoid poster flash when the video stops or changes slides. */
body.home .hmhcg-featured .tp-banner li.site-youtube-slide .slotholder {
  opacity: 0 !important;
  visibility: hidden !important;
}
body.home .hmhcg-featured .tp-bullets .bullet {
  background: #C58A32 !important;
  transition: background-color .15s ease-out;
}
body.home .hmhcg-featured .tp-bullets .bullet.selected,
body.home .hmhcg-featured .tp-bullets .bullet:hover {
  background: #762C24 !important;
}
@media screen and (max-width: 890px) {
  body.home .hmhcg-featured .tp-banner .site-youtube-caption iframe {
    left: 10% !important;
    width: 80% !important;
  }
}
@media screen and (max-width: 590px) {
  body.home .hmhcg-featured .tp-banner .site-youtube-caption iframe {
    left: 0 !important;
    width: 100% !important;
  }
}

/* Let the slider establish its own natural responsive height; old theme hardcodes 350-450px. */
body.home .hmhcg-featured { height: auto !important; min-height: 0 !important; }

/* Third slide: wide group photograph, filling banner without cropping either side. */
body.home .hmhcg-featured .tp-banner li.site-group-photo-slide .slotholder .defaultimg {
  background-size: cover !important;
  background-position: center 68% !important;
  background-repeat: no-repeat !important;
  background-color: #59402E !important;
}
