.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  text-align: center;
  flex-direction: column;
  overflow: hidden;
}
.lightbox-overlay img {
  max-width: 99vw;
  max-height: 80vh;
  cursor: zoom-in;
  transition: transform 0.25s ease;
  display: block;
  margin: 2% auto;
  /*margin-top:10%;*/
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  bottom: 25px;
  font-size: 34px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
  user-select: none;
  background: rgba(0,0,0,0.35);
  padding: 8px 16px;
  border-radius: 50px;
  transition: background 0.2s;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.2);
}
.lightbox-prev  { left: 35%; transform: translateX(-50%); }
.lightbox-next  { right: 35%; transform: translateX(50%); }
.lightbox-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  z-index: 10000;
}
/*@media(max-width:600px){
  .lightbox-close,.lightbox-prev,.lightbox-next{font-size:26px;}
}*/
.lightbox-tip {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #ccc;
  font-size: 15px;
  text-shadow: 0 0 5px rgba(0,0,0,0.8);
  user-select: none;
}
@media (max-width:600px){
  .lightbox-prev, .lightbox-next {
    font-size: 26px;
    bottom: 18px;
    padding: 6px 12px;
  }
  .lightbox-prev  { left: 30%; transform: translateX(-50%); }
  .lightbox-next  { right: 30%; transform: translateX(50%); }
  .lightbox-tip { font-size: 13px; bottom: 55px; }
}
@media (max-width:1000px){
  .lightbox-overlay img { margin-top:15%; }
}
/* === Hint below auto-scroll gallery === */
.gallery-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  user-select: none;
}
.share-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
    float:right;
}
.share-label {
    font-weight: 600;
    font-size: 14px;
}
.share-btn {
    width: 34px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: #f3f3f3;
    transition: 0.2s;
    text-decoration: none;
}
.share-btn svg {
    width: 18px;
    fill: #444;
}
.share-btn:hover {
    background: #ff572238;
    transform: translateY(-2px);
}