.elementor-widget-gallery .elementor-gallery-item__title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-gallery .elementor-gallery-item__description{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-gallery{--galleries-title-color-normal:var( --e-global-color-primary );--galleries-title-color-hover:var( --e-global-color-secondary );--galleries-pointer-bg-color-hover:var( --e-global-color-accent );--gallery-title-color-active:var( --e-global-color-secondary );--galleries-pointer-bg-color-active:var( --e-global-color-accent );}.elementor-widget-gallery .elementor-gallery-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-10909 .elementor-element.elementor-element-21efa39 .e-gallery-item:hover .elementor-gallery-item__overlay, .elementor-10909 .elementor-element.elementor-element-21efa39 .e-gallery-item:focus .elementor-gallery-item__overlay{background-color:rgba(0,0,0,0.5);}.elementor-10909 .elementor-element.elementor-element-21efa39{--image-transition-duration:800ms;--overlay-transition-duration:800ms;--content-text-align:center;--content-padding:20px;--content-transition-duration:800ms;--content-transition-delay:800ms;--galleries-title-color-normal:#000000;--galleries-title-color-hover:#000000;--gallery-title-color-active:#000000;}/* Start custom CSS for gallery, class: .elementor-element-21efa39 */.elementor-slideshow__title {display:none;}

.elementor-gallery-title {
    position: relative;
    display: inline-block; /* or 'block', depending on your layout */
    z-index: 1; /* Ensures the text is above the pseudo-element */
    
}

.elementor-gallery-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 8px; /* Adjust this value for vertical offset */
    width: 100%;
    height: 12px; /* Adjust this value for border thickness */
    background-color: yellow !important;    z-index: -1; /* Ensures the pseudo-element is below the text */
}/* End custom CSS */