/*
Theme Name: Sentinel Construction
Theme URI: https://pacerstudios.com
Description: A Divi child theme for Sentinel Construction
Author: Pacer Studios
Author URI: https://pacerstudios.com
Template: Divi
Version: 1.0
*/


/* ==== Sentinel Project Gallery Styling ==== */
/* Applies ONLY to single project pages */

body.single-project .et_pb_gallery_grid {
  margin-left: -2px !important;
  margin-right: -2px !important;
}

body.single-project .et_pb_gallery_grid .et_pb_gallery_items {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}

body.single-project .et_pb_gallery_grid .et_pb_gallery_item {
  flex: 0 0 25% !important;
  max-width: 25% !important;
  padding: 2px !important;
  margin: 0 !important;
  box-sizing: border-box;
}

/* Tighten image container itself */
body.single-project .et_pb_gallery_grid .et_pb_gallery_image {
  margin: 0 !important;
}

/* Hover overlay + icon colors */
body.single-project .et_pb_gallery_grid .et_overlay {
  background-color: rgba(109,125,153,0.56) !important;
}
body.single-project .et_pb_gallery_grid .et_pb_gallery_item .et_overlay:before {
  color: #c8102e !important;
}

/* Hide pagination completely */
body.single-project .et_pb_gallery_grid .et_pb_gallery_pagination {
  display: none !important;
}

/* Hide filename/title in lightbox */
body.single-project .mfp-title {
  display: none !important;
}

/* Hide the extra ic-lightbox controls we saw */
body.single-project .ic-lightbox {
  display: none !important;
}

/* Hide Magnific Popup bottom bar / counter if they appear */
body.single-project .mfp-bottom-bar,
body.single-project .mfp-counter {
  display: none !important;
}

/* Disable Divi scroll/fade animations on project pages */
body.single-project .et_animated,
body.single-project .et-waypoint {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

