.elementor-11422 .elementor-element.elementor-element-d08e340{--display:flex;--min-height:30vh;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11422 .elementor-element.elementor-element-d08e340:not(.elementor-motion-effects-element-type-background), .elementor-11422 .elementor-element.elementor-element-d08e340 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F3F8F2;background-image:url("https://v2.revitaoil.com/wp-content/uploads/2024/03/Layer_1.png");background-position:top right;background-repeat:no-repeat;}.elementor-11422 .elementor-element.elementor-element-b761ddd > .elementor-widget-container{margin:0px 0px 0px -40px;padding:55px 0px 0px 45px;}.elementor-11422 .elementor-element.elementor-element-b761ddd.elementor-element{--align-self:center;}.elementor-11422 .elementor-element.elementor-element-b761ddd .elementor-heading-title{font-family:"Andes Rounded", Sans-serif;font-size:55px;font-weight:500;text-transform:uppercase;line-height:60px;color:#546122;}.elementor-11422 .elementor-element.elementor-element-ba68310{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-11422 .elementor-element.elementor-element-fd8d601 .gallery-item{padding:0 20px 20px 0;}.elementor-11422 .elementor-element.elementor-element-fd8d601 .gallery{margin:0 -20px -20px 0;}.elementor-11422 .elementor-element.elementor-element-fd8d601 .gallery-item img{border-radius:6px 6px 6px 6px;}.elementor-11422 .elementor-element.elementor-element-fd8d601 .gallery-item .gallery-caption{text-align:center;}.elementor-11422 .elementor-element.elementor-element-b06d73d .gallery-item img{border-radius:6px 6px 6px 6px;}.elementor-11422 .elementor-element.elementor-element-b06d73d .gallery-item .gallery-caption{text-align:center;}@media(max-width:1024px){.elementor-11422 .elementor-element.elementor-element-b761ddd > .elementor-widget-container{margin:0px 0px 0px 0px;padding:30px 0px 0px 30px;}.elementor-11422 .elementor-element.elementor-element-b761ddd .elementor-heading-title{font-size:40px;}}@media(max-width:767px){.elementor-11422 .elementor-element.elementor-element-d08e340{--min-height:15vh;}.elementor-11422 .elementor-element.elementor-element-b761ddd > .elementor-widget-container{margin:0px 0px 0px -5px;padding:35px 0px 0px 20px;}.elementor-11422 .elementor-element.elementor-element-b761ddd{text-align:center;}.elementor-11422 .elementor-element.elementor-element-b761ddd .elementor-heading-title{font-size:35px;line-height:50px;}.elementor-11422 .elementor-element.elementor-element-ba68310{--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}}/* Start custom CSS for image-gallery, class: .elementor-element-fd8d601 *//* Base style for gallery items */
.gallery-item {
  position: relative !important;
  overflow: hidden !important;
  
}

/* Style for the overlay and caption text, ensuring interaction isn't blocked */
.gallery-item .wp-caption-text {
  position: absolute !important;
  width: calc(100% - 20px) !important; /* Reduced width for padding effect */
  height: calc(50% - 20px) !important; /* Reduced height for padding effect */
  top: 25% !important;

  bottom: 50% !important;
  background-color: rgba(243, 248, 242, 0.9) !important; /* Light off-white with 0.5 opacity */
  color: #5F9820 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2 !important;
  opacity: 1 !important; /* Full visibility by default */
  transition: opacity 0.5s ease !important;
  pointer-events: none !important; /* Allows clicks to pass through to links */
  font-weight: 800;
 
}

/* Image styles, ensuring full coverage and zoom effect */
.gallery-item img {
  transition: transform 0.5s ease !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* Hover effects to remove the caption and zoom image */
.gallery-item:hover .wp-caption-text {
  opacity: 0 !important; /* Fully transparent on hover */
}
@media only screen and (max-width: 768px) {
  .gallery-item .wp-caption-text {
    width: calc(100%) !important; /* Takes full width of the container */
    height: calc(50%) !important; /* Takes half the height of the container */
  }
}/* End custom CSS */