.elementor-594 .elementor-element.elementor-element-c650395{--display:flex;}.elementor-594 .elementor-element.elementor-element-6c4cfd2{margin:2em 0em calc(var(--kit-widget-spacing, 0px) + 2em) 0em;text-align:center;}.elementor-594 .elementor-element.elementor-element-6269af2{--display:flex;--margin-top:0em;--margin-bottom:2em;--margin-left:0em;--margin-right:0em;}.elementor-594 .elementor-element.elementor-element-a9bf9cd .e-gallery-item:hover .elementor-gallery-item__overlay, .elementor-594 .elementor-element.elementor-element-a9bf9cd .e-gallery-item:focus .elementor-gallery-item__overlay{background-color:rgba(0,0,0,0.5);}.elementor-594 .elementor-element.elementor-element-a9bf9cd{--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;}/* Start custom CSS for gallery, class: .elementor-element-a9bf9cd *//* =========================================================
   DABBERS GALLERY — MIXED-SIZE MASONRY LAYOUT
   Paste this after the main gallery CSS
   ========================================================= */

/* Turn the Elementor gallery into a dense masonry-style grid */
.ddp-wow-gallery .elementor-gallery__container,
.ddp-wow-gallery .e-gallery-container,
.ddp-wow-gallery .gallery {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-rows: 105px !important;
  grid-auto-flow: dense;
  gap: clamp(12px, 1.6vw, 22px) !important;
  height: auto !important;
}

/* Reset Elementor's automatic item positioning */
.ddp-wow-gallery .e-gallery-item,
.ddp-wow-gallery .elementor-gallery-item,
.ddp-wow-gallery .gallery-item {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  transform: none;
}

/* Standard small tile */
.ddp-wow-gallery .e-gallery-item,
.ddp-wow-gallery .elementor-gallery-item,
.ddp-wow-gallery .gallery-item {
  grid-column: span 1;
  grid-row: span 2;
}

/* Large feature image */
.ddp-wow-gallery .e-gallery-item:nth-child(10n + 1),
.ddp-wow-gallery .elementor-gallery-item:nth-child(10n + 1),
.ddp-wow-gallery .gallery-item:nth-child(10n + 1) {
  grid-column: span 2;
  grid-row: span 4;
}

/* Wide landscape image */
.ddp-wow-gallery .e-gallery-item:nth-child(10n + 4),
.ddp-wow-gallery .elementor-gallery-item:nth-child(10n + 4),
.ddp-wow-gallery .gallery-item:nth-child(10n + 4) {
  grid-column: span 2;
  grid-row: span 2;
}

/* Tall portrait image */
.ddp-wow-gallery .e-gallery-item:nth-child(10n + 6),
.ddp-wow-gallery .elementor-gallery-item:nth-child(10n + 6),
.ddp-wow-gallery .gallery-item:nth-child(10n + 6) {
  grid-column: span 1;
  grid-row: span 3;
}

/* Second large feature image */
.ddp-wow-gallery .e-gallery-item:nth-child(10n + 8),
.ddp-wow-gallery .elementor-gallery-item:nth-child(10n + 8),
.ddp-wow-gallery .gallery-item:nth-child(10n + 8) {
  grid-column: span 2;
  grid-row: span 3;
}

/* Occasional extra-wide photograph */
.ddp-wow-gallery .e-gallery-item:nth-child(10n + 10),
.ddp-wow-gallery .elementor-gallery-item:nth-child(10n + 10),
.ddp-wow-gallery .gallery-item:nth-child(10n + 10) {
  grid-column: span 2;
  grid-row: span 2;
}

/* Make all image types completely fill their tile */
.ddp-wow-gallery .e-gallery-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding-bottom: 0 !important;
  background-position: center !important;
  background-size: cover !important;
}

.ddp-wow-gallery .gallery-icon {
  width: 100%;
  height: 100%;
}

.ddp-wow-gallery .gallery-icon a {
  display: block;
  width: 100%;
  height: 100%;
}

.ddp-wow-gallery .gallery-icon img,
.ddp-wow-gallery .elementor-gallery-item img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

/* Restore the hover lift without disturbing grid positioning */
.ddp-wow-gallery .e-gallery-item:hover,
.ddp-wow-gallery .gallery-item:hover,
.ddp-wow-gallery .elementor-gallery-item:hover {
  z-index: 5;
  border-color: var(--ddp-gold);
  box-shadow:
    0 26px 55px rgba(23, 63, 53, 0.25),
    0 7px 18px rgba(23, 63, 53, 0.12);
  transform: translateY(-8px) scale(1.015);
}

/* Remove the old staggered positioning */
@media (min-width: 768px) {
  .ddp-wow-gallery .e-gallery-item:nth-child(3n + 2),
  .ddp-wow-gallery .gallery-item:nth-child(3n + 2),
  .ddp-wow-gallery .elementor-gallery-item:nth-child(3n + 2) {
    transform: none;
  }

  .ddp-wow-gallery .e-gallery-item:nth-child(3n + 2):hover,
  .ddp-wow-gallery .gallery-item:nth-child(3n + 2):hover,
  .ddp-wow-gallery .elementor-gallery-item:nth-child(3n + 2):hover {
    transform: translateY(-8px) scale(1.015);
  }
}

/* Tablet: two-column masonry */
@media (min-width: 768px) and (max-width: 1024px) {
  .ddp-wow-gallery .elementor-gallery__container,
  .ddp-wow-gallery .e-gallery-container,
  .ddp-wow-gallery .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: 115px !important;
  }

  .ddp-wow-gallery .e-gallery-item:nth-child(10n + 1),
  .ddp-wow-gallery .elementor-gallery-item:nth-child(10n + 1),
  .ddp-wow-gallery .gallery-item:nth-child(10n + 1) {
    grid-column: span 2;
    grid-row: span 3;
  }

  .ddp-wow-gallery .e-gallery-item:nth-child(10n + 8),
  .ddp-wow-gallery .elementor-gallery-item:nth-child(10n + 8),
  .ddp-wow-gallery .gallery-item:nth-child(10n + 8) {
    grid-column: span 2;
    grid-row: span 3;
  }
}

/* Mobile: one column with alternating image heights */
@media (max-width: 767px) {
  .ddp-wow-gallery .elementor-gallery__container,
  .ddp-wow-gallery .e-gallery-container,
  .ddp-wow-gallery .gallery {
    grid-template-columns: 1fr !important;
    grid-auto-rows: 90px !important;
    gap: 14px !important;
  }

  .ddp-wow-gallery .e-gallery-item,
  .ddp-wow-gallery .elementor-gallery-item,
  .ddp-wow-gallery .gallery-item {
    grid-column: span 1 !important;
    grid-row: span 3;
  }

  /* Larger mobile feature images */
  .ddp-wow-gallery .e-gallery-item:nth-child(5n + 1),
  .ddp-wow-gallery .elementor-gallery-item:nth-child(5n + 1),
  .ddp-wow-gallery .gallery-item:nth-child(5n + 1) {
    grid-row: span 5;
  }

  /* Wide-style mobile images */
  .ddp-wow-gallery .e-gallery-item:nth-child(5n + 3),
  .ddp-wow-gallery .elementor-gallery-item:nth-child(5n + 3),
  .ddp-wow-gallery .gallery-item:nth-child(5n + 3) {
    grid-row: span 3;
  }

  /* Taller portrait-style mobile images */
  .ddp-wow-gallery .e-gallery-item:nth-child(5n + 4),
  .ddp-wow-gallery .elementor-gallery-item:nth-child(5n + 4),
  .ddp-wow-gallery .gallery-item:nth-child(5n + 4) {
    grid-row: span 4;
  }
}/* End custom CSS */