.gallery-lightbox-grid button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}
.gallery-lightbox-grid button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-lightbox-grid button:hover img { transform: scale(1.025); }
.media-modal-image { cursor: zoom-out; }
.home-video-player {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(260px, .75fr);
  gap: 18px;
  align-items: stretch;
}
.home-video-main {
  min-width: 0;
  background: #02070a;
  aspect-ratio: 16 / 9;
}
.home-video-main iframe { width: 100%; height: 100%; border: 0; display: block; }
.home-video-thumbs {
  display: grid;
  align-content: start;
  gap: 10px;
  max-height: min(56vw, 620px);
  overflow: auto;
  padding-right: 4px;
}
.home-video-thumb {
  display: grid;
  grid-template-columns: 116px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 8px;
  border: 1px solid rgba(8,36,56,.14);
  background: rgba(255,255,255,.72);
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.home-video-thumb.is-active { border-color: #98785f; background: #fff; box-shadow: inset 4px 0 #98785f; }
.home-video-thumb img { width: 116px; aspect-ratio: 16/9; object-fit: cover; display: block; }
.home-video-thumb span { display: grid; gap: 4px; min-width: 0; }
.home-video-thumb b,.home-video-thumb small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 900px) {
  .home-video-player { grid-template-columns: 1fr; }
  .home-video-thumbs { display: flex; max-height: none; overflow-x: auto; padding: 0 0 8px; }
  .home-video-thumb { flex: 0 0 min(78vw,320px); }
}
@media (max-width: 560px) {
  .home-video-thumb { grid-template-columns: 96px minmax(0,1fr); }
  .home-video-thumb img { width: 96px; }
}
