#fw-section-custom-html-aa729ba8-5bb2-453f-8144-a5d1343c08bd {

.fw-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}
.fw-tile {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eee;
  border-radius: 6px;
  cursor: zoom-in;
}
.fw-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, opacity .35s ease;
}
.fw-tile:hover img { transform: scale(1.05); opacity: .9; }

.fw-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .92);
}
.fw-lightbox:target { display: flex; }
.fw-backdrop {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
}
.fw-full {
  position: relative;
  max-width: 88vw;
  max-height: 86vh;
  object-fit: contain;
  animation: fwFade .25s ease;
}
@keyframes fwFade { from { opacity: 0; } to { opacity: 1; } }
.fw-counter {
  position: absolute;
  top: 18px;
  left: 20px;
  color: #fff;
  font: 14px system-ui, sans-serif;
  opacity: .8;
}
.fw-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff !important;
  font: 40px/1 system-ui, sans-serif;
  text-decoration: none !important;
  padding-bottom: 6px;
  box-sizing: border-box;
  transition: background .2s ease;
}
.fw-btn:hover { background: rgba(255, 255, 255, .3); }
.fw-prev  { left: 16px;  top: 50%; transform: translateY(-50%); }
.fw-next  { right: 16px; top: 50%; transform: translateY(-50%); }
.fw-close { top: 12px; right: 12px; width: 46px; height: 46px; font-size: 32px; }

@media (max-width: 600px) {
  .fw-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .fw-btn { width: 44px; height: 44px; font-size: 32px; }
  .fw-prev { left: 6px; }
  .fw-next { right: 6px; }
}
}