.elementor-852 .elementor-element.elementor-element-8caab57{--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;--padding-top:5vw;--padding-bottom:5vw;--padding-left:1vw;--padding-right:1vw;}.elementor-852 .elementor-element.elementor-element-8caab57:not(.elementor-motion-effects-element-type-background), .elementor-852 .elementor-element.elementor-element-8caab57 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#D9D3C7;}.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-852 .elementor-element.elementor-element-76d7604 .e-gallery-item:hover .elementor-gallery-item__overlay, .elementor-852 .elementor-element.elementor-element-76d7604 .e-gallery-item:focus .elementor-gallery-item__overlay{background-color:rgba(0,0,0,0.5);}.elementor-852 .elementor-element.elementor-element-76d7604{--image-transition-duration:800ms;--overlay-transition-duration:800ms;--content-text-align:center;--content-padding:20px;--content-transition-duration:800ms;--content-transition-delay:800ms;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-852 .elementor-element.elementor-element-8caab57{--padding-top:6vw;--padding-bottom:6vw;--padding-left:6vw;--padding-right:6vw;}}@media(min-width:768px){.elementor-852 .elementor-element.elementor-element-8caab57{--content-width:90vw;}}/* Start custom CSS for gallery, class: .elementor-element-76d7604 */.elementor-852 .elementor-element.elementor-element-76d7604 .elementor-slideshow__title{
    display: none;
}


/* Step 1: Make the gallery container flex */
.elementor-852 .elementor-element.elementor-element-76d7604 .e-gallery-grid {
  display: flex !important;
  flex-wrap: wrap !important;
}

/* Step 2: Reset all items */
.elementor-852 .elementor-element.elementor-element-76d7604 .e-gallery-grid .e-gallery-item {
  width: 100% !important;
  box-sizing: border-box;
  margin: 0 !important;
}

/* 1st and 2nd items in each 5-item group: 50% */
.elementor-852 .elementor-element.elementor-element-76d7604 .e-gallery-grid .e-gallery-item:nth-child(5n+1),
.elementor-852 .elementor-element.elementor-element-76d7604 .e-gallery-grid .e-gallery-item:nth-child(5n+2) {
  width: 49% !important;
  aspect-ratio: 14 / 9;
}

/* 3rd item: full width */
.elementor-852 .elementor-element.elementor-element-76d7604 .e-gallery-grid .e-gallery-item:nth-child(5n+3) {
  width: 100% !important;
  aspect-ratio: 20 / 9;
}

/* 4th and 5th items: 30% + 70% */
.elementor-852 .elementor-element.elementor-element-76d7604 .e-gallery-grid .e-gallery-item:nth-child(5n+4) {
  width: 30% !important;
}

.elementor-852 .elementor-element.elementor-element-76d7604 .e-gallery-grid .e-gallery-item:nth-child(5n+5) {
  width: 68% !important;
}





/* Step 1: Make the gallery items a flex row for 4th & 5th */
.elementor-852 .elementor-element.elementor-element-76d7604 .e-gallery-grid .e-gallery-item:nth-child(5n+4),
.elementor-852 .elementor-element.elementor-element-76d7604 .e-gallery-grid .e-gallery-item:nth-child(5n+5) {
  display: flex !important;
  align-items: stretch !important;
}

/* Step 2: Make sure their inner content fills height */
.elementor-852 .elementor-element.elementor-element-76d7604 .e-gallery-grid .e-gallery-item:nth-child(5n+4) .elementor-gallery-item__content,
.elementor-852 .elementor-element.elementor-element-76d7604 .e-gallery-grid .e-gallery-item:nth-child(5n+5) .elementor-gallery-item__content {
  height: 100% !important;
}

/* Step 3: Standardize background size if using background images */
.elementor-852 .elementor-element.elementor-element-76d7604 .e-gallery-grid .e-gallery-item .e-gallery-image {
  background-size: cover !important;
  background-position: center !important;
  height: 100% !important;
}



@media only screen and (max-width: 600px) {
  /* 1st and 2nd items in each 5-item group: 50% */
.elementor-852 .elementor-element.elementor-element-76d7604 .e-gallery-grid .e-gallery-item:nth-child(5n+1),
.elementor-852 .elementor-element.elementor-element-76d7604 .e-gallery-grid .e-gallery-item:nth-child(5n+2) {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: initial;
}

/* 3rd item: full width */
.elementor-852 .elementor-element.elementor-element-76d7604 .e-gallery-grid .e-gallery-item:nth-child(5n+3) {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: initial;
}

/* 4th and 5th items: 30% + 70% */
.elementor-852 .elementor-element.elementor-element-76d7604 .e-gallery-grid .e-gallery-item:nth-child(5n+4) {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: initial;
}

.elementor-852 .elementor-element.elementor-element-76d7604 .e-gallery-grid .e-gallery-item:nth-child(5n+5) {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: initial;
}
}/* End custom CSS */