/* Berlin Echo — Son Sayımız CSS */

/* Buton */
.bss-btn {
  display: inline-block;
  padding: 9px 20px;
  border: 2px solid #eb2026 !important;
  color: #eb2026 !important;
  background: transparent !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 3px;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .18s, color .18s;
  white-space: nowrap;
  font-family: inherit;
  line-height: normal;
  box-shadow: none !important;
}
.bss-btn:hover,
.bss-btn:focus {
  background: #eb2026 !important;
  color: #ffffff !important;
}

/* Popup — kapalıyken visibility:hidden + pointer-events:none */
.bss-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s, visibility .2s;
}
.bss-popup.bss-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.bss-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.bss-box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 12px;
  width: min(500px, 94vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(0,0,0,.3);
  overflow: hidden;
}

.bss-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid #ebebeb;
  flex-shrink: 0;
  background: #fff;
}
.bss-head-l { display: flex; align-items: center; gap: 9px; }
.bss-head-r { display: flex; align-items: center; gap: 8px; }

.bss-num {
  font-size: 10px;
  font-weight: 800;
  color: #eb2026 !important;
  background: #fee2e2;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bss-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}
.bss-dl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #eb2026 !important;
  text-decoration: none !important;
  border: 1.5px solid #eb2026 !important;
  padding: 5px 11px;
  border-radius: 4px;
  background: transparent !important;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.bss-dl:hover { background: #eb2026 !important; color: #fff !important; }

.bss-close {
  background: transparent !important;
  border: none !important;
  color: #888 !important;
  padding: 5px;
  cursor: pointer;
  border-radius: 5px;
  display: flex;
  align-items: center;
  transition: color .15s, background .15s;
  box-shadow: none !important;
}
.bss-close:hover { color: #eb2026 !important; background: #fee2e2 !important; }

.bss-body {
  overflow-y: auto;
  flex: 1;
  padding: 14px;
  background: #f5f5f5;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}
.bss-body::-webkit-scrollbar { width: 4px; }
.bss-body::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

.bss-pages { display: flex; flex-direction: column; gap: 8px; }

.bss-page {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  cursor: zoom-in;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .18s, box-shadow .18s;
}
.bss-page:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.13); }
.bss-page img { display: block; width: 100%; height: auto; pointer-events: none; }
.bss-pg {
  position: absolute; bottom: 6px; left: 8px;
  font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,.9);
  background: rgba(0,0,0,.45);
  padding: 1px 6px; border-radius: 3px;
}

/* Lightbox — kapalıyken visibility:hidden */
.bss-lb {
  position: fixed;
  inset: 0;
  z-index: 1000001;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s, visibility .15s;
}
.bss-lb.bss-lb-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.bss-lb-ov {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.93);
  cursor: zoom-out;
}
.bss-lb-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: linear-gradient(to bottom, rgba(0,0,0,.7), transparent);
}
.bss-lb-cap { font-size: 12px; color: rgba(255,255,255,.6); }
.bss-lb-ctrl { display: flex; align-items: center; gap: 6px; }

.bss-lb-btn {
  background: rgba(255,255,255,.12) !important;
  border: none !important;
  color: #fff !important;
  width: 32px; height: 32px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
  box-shadow: none !important;
}
.bss-lb-btn:hover { background: rgba(255,255,255,.25) !important; color: #fff !important; }
.bss-lb-zlv { font-size: 12px; color: rgba(255,255,255,.5); min-width: 36px; text-align: center; }

.bss-lb-stage {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.bss-lb-wrap {
  cursor: grab;
  transform-origin: center;
  user-select: none;
  touch-action: none;
}
.bss-lb-wrap.gr { cursor: grabbing; }
.bss-lb-wrap.an { transition: transform .2s ease; }
.bss-lb-img {
  display: block;
  max-width: 90vw; max-height: 86vh;
  object-fit: contain;
  pointer-events: none;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
  border-radius: 2px;
}

.bss-lb-prev, .bss-lb-next {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 2;
  background: rgba(255,255,255,.1) !important;
  border: none !important;
  color: #fff !important;
  font-size: 28px;
  width: 44px; height: 66px;
  border-radius: 5px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
  box-shadow: none !important;
}
.bss-lb-prev { left: 10px; }
.bss-lb-next { right: 10px; }
.bss-lb-prev:hover, .bss-lb-next:hover {
  background: rgba(255,255,255,.2) !important;
  color: #fff !important;
}

@media (max-width: 480px) {
  .bss-box { width: 100vw; max-height: 92dvh; border-radius: 14px 14px 0 0; }
  .bss-popup { align-items: flex-end; }
  .bss-lb-prev { left: 4px; }
  .bss-lb-next { right: 4px; }
}
