.elementor-168 .elementor-element.elementor-element-6a0d2cd{--display:flex;--min-height:700px;--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;--justify-content:flex-end;--margin-top:-80px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:20px;--padding-right:20px;}.elementor-168 .elementor-element.elementor-element-6a0d2cd:not(.elementor-motion-effects-element-type-background), .elementor-168 .elementor-element.elementor-element-6a0d2cd > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#9C8A72C7;}.elementor-168 .elementor-element.elementor-element-a9bf679{--display:flex;--justify-content:space-between;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Serif;font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );color:var( --e-global-color-primary );}.elementor-168 .elementor-element.elementor-element-358cd44{width:var( --container-widget-width, 60% );max-width:60%;padding:0px 0px 60px 0px;--container-widget-width:60%;--container-widget-flex-grow:0;}.elementor-168 .elementor-element.elementor-element-358cd44 .elementor-heading-title{font-family:"ivypresto-display", Serif;font-size:83px;font-weight:300;line-height:110%;color:#FFFFFF;}.elementor-168 .elementor-element.elementor-element-928fb3f{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:60px;--padding-bottom:100px;--padding-left:20px;--padding-right:20px;}.elementor-widget-gallery .elementor-gallery-item__title{font-family:var( --e-global-typography-primary-font-family ), Serif;font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-gallery .elementor-gallery-item__description{font-family:var( --e-global-typography-text-font-family ), Serif;font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );}.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 ), Serif;font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );}.elementor-168 .elementor-element.elementor-element-12b1149{--titles-container-justify-content:flex-start;margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;--image-border-color:var( --e-global-color-secondary );--image-border-width:0px;--image-transition-duration:800ms;--content-text-align:center;--content-padding:20px;--content-transition-duration:800ms;--content-transition-delay:800ms;--galleries-title-color-normal:var( --e-global-color-text );--galleries-pointer-bg-color-hover:var( --e-global-color-secondary );--galleries-pointer-bg-color-active:var( --e-global-color-secondary );--galleries-pointer-border-width:1px;}.elementor-168 .elementor-element.elementor-element-12b1149 .elementor-gallery-title{font-family:"neue-haas-grotesk-text", Serif;font-size:16px;font-weight:300;line-height:110%;--space-between:53px;}.elementor-168 .elementor-element.elementor-element-12b1149 .elementor-gallery__titles-container{margin-bottom:64px;}body.elementor-page-168:not(.elementor-motion-effects-element-type-background), body.elementor-page-168 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-d2d9c2d );}@media(min-width:768px){.elementor-168 .elementor-element.elementor-element-a9bf679{--content-width:1200px;}}@media(max-width:1024px){.elementor-168 .elementor-element.elementor-element-6a0d2cd{--margin-top:-148px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:20px;--padding-right:20px;}.elementor-widget-heading .elementor-heading-title{line-height:var( --e-global-typography-primary-line-height );}.elementor-168 .elementor-element.elementor-element-358cd44{--container-widget-width:100%;--container-widget-flex-grow:0;width:var( --container-widget-width, 100% );max-width:100%;}.elementor-widget-gallery .elementor-gallery-item__title{line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-gallery .elementor-gallery-item__description{line-height:var( --e-global-typography-text-line-height );}.elementor-widget-gallery .elementor-gallery-title{line-height:var( --e-global-typography-primary-line-height );}}@media(max-width:767px){.elementor-168 .elementor-element.elementor-element-6a0d2cd{--min-height:400px;}.elementor-168 .elementor-element.elementor-element-a9bf679{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-heading .elementor-heading-title{line-height:var( --e-global-typography-primary-line-height );}.elementor-168 .elementor-element.elementor-element-358cd44{padding:0px 0px 30px 0px;}.elementor-168 .elementor-element.elementor-element-358cd44 .elementor-heading-title{font-size:50px;}.elementor-widget-gallery .elementor-gallery-item__title{line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-gallery .elementor-gallery-item__description{line-height:var( --e-global-typography-text-line-height );}.elementor-widget-gallery .elementor-gallery-title{line-height:var( --e-global-typography-primary-line-height );}}/* Start custom CSS for gallery, class: .elementor-element-12b1149 *//* ==========================================================================
   1. DESKTOP & TABLET LAYOUT: FILTER PANEL BACKGROUND (#9C8A72)
   ========================================================================== */
.elementor-168 .elementor-element.elementor-element-12b1149 .elementor-gallery_titles-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    background-color: #9C8A72 !important; 
    padding: 24px 30px !important;
    border-radius: 0px !important;
    margin-bottom: 40px !important;
    gap: 0px !important; /* Clears default layout gaps */
}

/* ==========================================================================
   2. DESKTOP BUTTONS: TEXT COLOR & TRANSLUCENT BORDERS
   ========================================================================== */
.elementor-168 .elementor-element.elementor-element-12b1149 .elementor-gallery-title {
    display: inline-block !important;
    padding: 12px 28px !important;
    
    /* Border set to #9C8A72 at 80% opacity */
    border: 1px solid rgba(156, 138, 114, 0.8) !important;
    background-color: transparent !important;
    
    /* Dark text color */
    color: #312F2D !important;
    
    font-family: 'quasimoda', sans-serif !important;
    font-size: 16px !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.25s ease-in-out !important;
    white-space: nowrap !important;
    
    /* Desktop margins for the wrapping grid layout */
    margin-right: 24px !important;
    margin-bottom: 18px !important;
    margin-left: 0px !important;
    margin-top: 0px !important;
}

/* ==========================================================================
   3. ACTIVE & HOVER STATES (#312F2D 100% Opacity)
   ========================================================================== */
.elementor-168 .elementor-element.elementor-element-12b1149 .elementor-gallery-title.elementor-active,
.elementor-168 .elementor-element.elementor-element-12b1149 .elementor-gallery-title:hover {
    background-color: #312F2D !important;
    border-color: #312F2D !important;
    color: #ffffff !important; /* White text over dark active background */
}

/* Wipe away default underline decoration lines */
.elementor-168 .elementor-element.elementor-element-12b1149 .elementor-item:after, 
.elementor-168 .elementor-element.elementor-element-12b1149 .elementor-item:before {
    display: none !important;
}

/* ==========================================================================
   4. CLEAN MOBILE WRAPPING & EXACT SPACING (Under 767px)
   ========================================================================== */
@media (max-width: 767px) {
    /* Allow safe wrapping so Elementor's engine doesn't glitch the layout */
    .elementor-168 .elementor-element.elementor-element-12b1149 .elementor-gallery_titles-container {
        display: block !important; /* Work seamlessly with Elementor's native mobile container rule */
        padding: 20px !important;
        margin-bottom: 25px !important;
        background-color: #9C8A72 !important; /* Keeps your signature background intact */
        text-align: left !important;
    }

    /* Force clean buttons that wrap gracefully with a tight, crisp 12px gap */
    .elementor-168 .elementor-element.elementor-element-12b1149 .elementor-gallery-title {
        display: inline-block !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: auto !important;
        
        font-size: 14px !important;
        padding: 10px 16px !important; 
        
        /* THE CRITICAL MOBILE SPACING: Snug gaps horizontally and vertically */
        margin-right: 12px !important; 
        margin-bottom: 12px !important; 
        margin-top: 0px !important;
        margin-left: 0px !important;
    }
}/* End custom CSS */