/*
  WP Zoom & Pan Lightbox
  你可以在这里做一些小的视觉优化（不影响 PhotoSwipe 本体功能）
*/

/* 让鼠标悬停缩略图更像“可点击” */
.entry-content a.wpzplb-item img,
.wpzplb-gallery a.wpzplb-item img {
  cursor: zoom-in;
}

/* 可选：给图片加一点 hover 效果 */
.entry-content a.wpzplb-item:hover img,
.wpzplb-gallery a.wpzplb-item:hover img {
  filter: brightness(1.02);
}

/* PDF.js 容器 */
.wpzplb-pdf-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  background: #111;
}

.wpzplb-pdf-inner {
  position: relative;
  display: inline-block;
  padding: 16px;
}

.wpzplb-pdf-inner canvas {
  display: block;
  max-width: 100%;
  height: auto;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}

.wpzplb-pdf-loading {
  color: #fff;
  font-size: 14px;
  padding: 16px 20px;
  opacity: 0.85;
}

/* 工具栏按钮（PhotoSwipe） */
button.wpzplb-pswp-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 0;
  background: rgba(0,0,0,0.35);
  color: #fff;
  border-radius: 10px;
  margin: 0 4px;
  cursor: pointer;
  font-size: 16px;
  line-height: 36px;
}

button.wpzplb-pswp-btn:hover {
  background: rgba(0,0,0,0.55);
}
