.elementor-853 .elementor-element.elementor-element-9df8c19{--display:flex;--padding-top:0px;--padding-bottom:50px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for html, class: .elementor-element-98a06c6 *//* =========================
   GALLERY SECTION ONLY
========================= */

.kad4u-gallery-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.kad4u-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.kad4u-gallery-head {
  margin-bottom: 18px;
}

.kad4u-h1 {
  color: #292856;
  margin: 0 0 10px;
  line-height: 1.15;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.kad4u-lead {
  color: #51576a;
  margin: 0;
  line-height: 1.7;
  font-size: 1rem;
  max-width: 760px;
}

/* =========================
   FILTER BUTTONS
========================= */

.kad4u-gallery-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.kad4u-filter-btn {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(41, 40, 86, 0.15);
  background: #ffffff;
  color: #292856;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  transition:
    background .25s ease,
    color .25s ease,
    border-color .25s ease,
    transform .2s ease,
    box-shadow .25s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .05);
}

.kad4u-filter-btn:hover {
  background: #292856;
  border-color: #292856;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
}

.kad4u-filter-btn.is-active {
  background: #59BB4F;
  border-color: #59BB4F;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .14);
}

/* =========================
   GRID
========================= */

.kad4u-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* =========================
   GALLERY ITEMS
========================= */

.kad4u-gallery-item {
  border: none;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .08);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
  position: relative;
  display: block;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.kad4u-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .14);
}

.kad4u-gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.kad4u-gallery-item:hover img {
  transform: scale(1.04);
}

/* Badge */
.kad4u-gallery-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  width: fit-content;
  max-width: calc(100% - 24px);
  background: rgba(41, 40, 86, .82);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.3;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: normal;
  word-break: break-word;
  text-align: left;
}

/* =========================
   LIGHTBOX
========================= */

.kad4u-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.kad4u-lightbox.is-open {
  display: block;
}

.kad4u-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .75);
}

.kad4u-lightbox-panel {
  position: relative;
  max-width: 900px;
  width: calc(100% - 28px);
  margin: 6vh auto 0;
  background: #111;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

.kad4u-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: #59BB4F;
  width: auto;
  height: auto;
  border-radius: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
  z-index: 2;
  padding: 0;
  box-shadow: none;
}

.kad4u-lightbox-close:hover {
  background: transparent;
  color: #7ad46f;
  transform: scale(1.08);
}

.kad4u-lightbox-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #111;
  display: block;
}

.kad4u-lightbox-caption {
  padding: 12px;
  color: #fff;
  background: #111;
  border-top: 1px solid rgba(255, 255, 255, .1);
  line-height: 1.5;
  font-size: 0.95rem;
}

/* =========================
   TABLET
========================= */

@media (max-width: 980px) {
  .kad4u-gallery-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .kad4u-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .kad4u-gallery-filters {
    gap: 8px;
    margin-bottom: 18px;
  }

  .kad4u-filter-btn {
    padding: 9px 14px;
    font-size: 0.9rem;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {
  .kad4u-gallery-section {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .kad4u-container {
    width: min(100%, 94%);
  }

  .kad4u-gallery-head {
    margin-bottom: 16px;
  }

  .kad4u-h1 {
    margin-bottom: 8px;
    font-size: clamp(1.5rem, 7vw, 2.1rem);
    line-height: 1.15;
  }

  .kad4u-lead {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .kad4u-gallery-filters {
    gap: 8px;
    margin-bottom: 16px;
  }

  .kad4u-filter-btn {
    padding: 9px 12px;
    font-size: 0.85rem;
    border-radius: 999px;
  }

  .kad4u-gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .kad4u-gallery-item {
    border-radius: 16px;
  }

  .kad4u-gallery-item:hover {
    transform: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .08);
  }

  .kad4u-gallery-item:hover img {
    transform: none;
  }

  .kad4u-gallery-badge {
    bottom: 10px;
    left: 10px;
    right: 10px;
    max-width: calc(100% - 20px);
    font-size: 0.74rem;
    padding: 6px 9px;
  }

  .kad4u-lightbox-panel {
    width: calc(100% - 16px);
    height: 100dvh;
    max-height: 100dvh;
    margin: 0 auto;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #111;
  }

  .kad4u-lightbox-close {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 30px;
  }

  .kad4u-lightbox-img {
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 90px);
    object-fit: contain;
    margin: 0 auto;
    flex: 1 1 auto;
  }

  .kad4u-lightbox-caption {
    padding: 10px 12px 14px;
    font-size: 0.9rem;
    text-align: center;
  }
}

/* =========================
   VERY SMALL PHONES
========================= */

@media (max-width: 420px) {
  .kad4u-container {
    width: 94%;
  }

  .kad4u-h1 {
    font-size: 1.35rem;
  }

  .kad4u-lead {
    font-size: 0.92rem;
  }

  .kad4u-gallery-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .kad4u-filter-btn {
    width: 100%;
    text-align: center;
    padding: 10px 8px;
    font-size: 0.82rem;
  }

  .kad4u-gallery-badge {
    font-size: 0.7rem;
  }

  .kad4u-lightbox-close {
    top: 10px;
    right: 12px;
    font-size: 28px;
  }

  .kad4u-lightbox-img {
    max-height: calc(100dvh - 84px);
  }
}/* End custom CSS */