/* Haber detay: video + galeri + lightbox (harici bağımlılık yok) */
.hm-video { margin: 28px 0 0; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; position: relative; }
.hm-video video { width: 100%; height: 100%; display: block; background: #000; object-fit: contain; }
.hm-yt a { display: block; width: 100%; height: 100%; position: relative; }
.hm-yt img, .hm-yt iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.hm-play {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; margin: -25px 0 0 -36px;
  background: #e62117; border-radius: 14px; transition: transform .15s;
}
.hm-play::after { content: ""; position: absolute; left: 29px; top: 14px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.hm-yt a:hover .hm-play, .hm-yt a:focus-visible .hm-play { transform: scale(1.08); }

.hm-gallery { margin-top: 32px; }
.hm-title { font-size: 16px; font-weight: 800; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--brand, #e87722); }
.hm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.hm-grid a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: #eef2f7; }
.hm-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.hm-grid a:hover img, .hm-grid a:focus-visible img { transform: scale(1.06); }
.hm-grid a:focus-visible { outline: 3px solid var(--brand, #e87722); outline-offset: 2px; }

/* Lightbox */
.hm-lb { position: fixed; inset: 0; z-index: 9999; background: rgba(8, 10, 16, .94); display: none; align-items: center; justify-content: center; touch-action: pan-y; }
.hm-lb.open { display: flex; }
.hm-lb-img { max-width: 94vw; max-height: 84vh; object-fit: contain; border-radius: 6px; user-select: none; -webkit-user-drag: none; }
.hm-lb button {
  position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; width: 48px; height: 48px;
  border-radius: 50%; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.hm-lb button:hover, .hm-lb button:focus-visible { background: rgba(255, 255, 255, .3); outline: none; }
.hm-lb-x { top: 14px; right: 14px; }
.hm-lb-p { left: 14px; top: 50%; margin-top: -24px; }
.hm-lb-n { right: 14px; top: 50%; margin-top: -24px; }
.hm-lb-cap { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #e5e7eb; font-size: 14px; padding: 0 70px; }
.hm-lb-cap small { display: block; opacity: .7; margin-top: 2px; }
body.hm-lb-lock { overflow: hidden; }
@media (max-width: 640px) {
  .hm-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .hm-lb-p, .hm-lb-n { width: 40px; height: 40px; margin-top: -20px; }
  .hm-lb-cap { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) { .hm-grid img, .hm-play { transition: none; } }
