/* Match Photo Gallery heading typography to the existing Statistics heading */
#cugb-photo-gallery .cugb-gallery-accent{
  width:4px !important;
  height:42px !important;
  flex-basis:4px !important;
}

#cugb-photo-gallery .cugb-gallery-title-wrap{
  gap:12px !important;
}

#cugb-photo-gallery .cugb-gallery-title-wrap h2{
  font-family:Heebo,Arial,sans-serif !important;
  font-size:24px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  letter-spacing:0 !important;
  color:#0f1e4a !important;
}

#cugb-photo-gallery .cugb-gallery-title-wrap p{
  margin:3px 0 0 !important;
  font-family:Heebo,Arial,sans-serif !important;
  font-size:14px !important;
  font-weight:400 !important;
  line-height:1.4 !important;
  color:#8090aa !important;
}

/* Compact black title strip over the large image */
#cugb-photo-gallery .cugb-gallery-main::after{
  height:22% !important;
}

#cugb-photo-gallery .cugb-gallery-image-title{
  min-height:40px !important;
  padding:9px 95px 9px 18px !important;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:1.25 !important;
  background:linear-gradient(
    90deg,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.56) 60%,
    rgba(0,0,0,.38) 100%
  ) !important;
}

#cugb-photo-gallery .cugb-gallery-counter{
  bottom:12px !important;
  right:18px !important;
  font-size:13px !important;
}

@media(max-width:480px){
  #cugb-photo-gallery .cugb-gallery-title-wrap h2{
    font-size:22px !important;
  }

  #cugb-photo-gallery .cugb-gallery-image-title{
    min-height:36px !important;
    padding:8px 72px 8px 12px !important;
    font-size:12px !important;
  }

  #cugb-photo-gallery .cugb-gallery-counter{
    bottom:11px !important;
    right:12px !important;
    font-size:11px !important;
  }
}
