.elementor-49 .elementor-element.elementor-element-916f0cf{--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;}/* Start custom CSS for html, class: .elementor-element-ba3a4e2 *//* ---------- Gallery Hero ---------- */
#gallery-hero {
  background: url('/wp-content/uploads/gallery/gallery-hero.jpg') center center/cover no-repeat;
  position: relative;
  padding: 110px 20px;
  color: #ffffff;
}

#gallery-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.gallery-hero-inner {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

#gallery-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

#gallery-hero p {
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- Filter buttons ---------- */
#gallery-filters {
  padding: 40px 20px 30px;
  background: #ffffff;
}

.gallery-filters-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.gallery-filters-inner p {
  margin-bottom: 10px;
  color: #4a4a4a;
}

.gallery-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.gallery-filter-buttons a {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #d4b98a;
  font-size: 13px;
  text-decoration: none;
  color: #333333;
  background: #fff;
  transition: 0.2s;
}

.gallery-filter-buttons a:hover {
  background: #d4b98a;
  color: #000;
}

/* ---------- Gallery sections ---------- */
.gallery-section {
  padding: 50px 20px 60px;
  background: #ffffff;
}

.gallery-section:nth-of-type(even) {
  background: #f7f5f2;
}

.gallery-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-section-inner h2 {
  font-size: 24px;
  margin-bottom: 22px;
}

/* ---------- Gallery grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.35));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 0.92;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ---------- Final CTA ---------- */
#gallery-final-cta {
  padding: 60px 20px 70px;
  background: #111111;
  color: #ffffff;
  text-align: center;
}

.gallery-final-inner {
  max-width: 650px;
  margin: 0 auto;
}

#gallery-final-cta h2 {
  margin-bottom: 10px;
}

#gallery-final-cta p {
  margin-bottom: 18px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #gallery-hero {
    padding: 85px 18px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}/* End custom CSS */