
.wts-comment-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.wts-comment-lightbox-overlay.active { display: flex; }
.wts-comment-lightbox-box {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}
.wts-comment-lightbox-box img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}
.wts-comment-lightbox-caption {
  color: #fff;
  margin-top: 10px;
  font-size: 14px;
}
.wts-comment-lightbox-close {
  position: fixed;
  top: 16px; right: 20px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  z-index: 10000;
}
.wts-comment-lightbox-prev,
.wts-comment-lightbox-next {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  color: #fff;
  font-size: 42px;
  cursor: pointer;
  padding: 0 16px;
  user-select: none;
  z-index: 10000;
}
.wts-comment-lightbox-prev { left: 10px; }
.wts-comment-lightbox-next { right: 10px; }
.wts-comment-lightbox-counter {
  position: fixed;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: 13px;
}

/* ============================================================
   WTS Comment Media Gallery (wcm-)
   ============================================================ */

.wcm-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

/* Her bir galeri öğesi — sabit kare */
.wcm-item {
  position: relative;
  display: block;
  width: 80px;
  height: 80px;
  flex: 0 0 80px;       /* büyümez, küçülmez, tam 80px */
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, .1);
  background-color: #f0f0f0;
  cursor: pointer;
  text-decoration: none;
  /* Responsive: ekran küçülünce tile de küçülsün */
  /* Sabit boyut yerine fluid isterseniz aşağıdaki bloku kullanın:
     flex: 0 0 calc(20% - 6px);
     width: calc(20% - 6px);
     aspect-ratio: 1 / 1;
     height: auto;
  */
}

.wcm-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .25s ease, filter .25s ease;
}

/* Overlay — varsayılan görünmez */
.wcm-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  transition: opacity .25s ease;
  border-radius: inherit;
}

.wcm-item-icon {
  font-style: normal;
  font-size: 22px;
  color: #fff;
  line-height: 1;
  /* Unicode ✤ (&#10052;) yerine + işareti tercih ederseniz:
     content: "+"; veya font-size büyütün */
}

/* Hover efektleri */
.wcm-item:hover img {
  transform: scale(1.08);
  filter: brightness(.75);
}

.wcm-item:hover .wcm-item-overlay {
  opacity: 1;
}

/* ============================================================
   Responsive kırılma noktaları
   ============================================================ */

/* Tablet */
@media (max-width: 768px) {
  .wcm-item {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
  }
  .wcm-item-icon {
    font-size: 18px;
  }
}

/* Mobil */
@media (max-width: 480px) {
  .wcm-item {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
  }
  .wcm-gallery {
    gap: 4px;
  }
  .wcm-item-icon {
    font-size: 16px;
  }
}