/* ZN Organizasyon - Mobil görsel uyum düzeltmesi, 2026-10 */
@media (max-width: 700px) {
  html, body { max-width: 100%; overflow-x: clip; }
  img { max-width: 100%; }
  .wrap, .section, .service-focus, .split, .content-grid { min-width: 0; }
  /* Fotoğrafları telefonda kırpmadan ve yatay taşırmadan göster */
  .gallery, .mini-gallery, .zn-photo-gallery { grid-template-columns: minmax(0,1fr) !important; }
  .gallery > *, .mini-gallery > *, .zn-photo-gallery > *, .gallery img:first-child,
  .mini-gallery img:last-child { grid-column: auto !important; grid-row: auto !important; }
  .tile, .tile.wide, .big-photo, .zn-photo-gallery figure { aspect-ratio: auto !important; height: auto !important; }
  .tile img, .gallery img, .mini-gallery img, .big-photo img, .zn-photo-gallery img,
  .card img, .split img { display:block; width:100% !important; height:auto !important;
    max-height:none !important; aspect-ratio:auto !important; object-fit:contain !important; }
  .tile .cap { position:static; background:#231f1b; padding:10px 13px; }
  .zn-photo-gallery img { transform:none; }
  /* Ana kapak görselinin tamamını mobilde göster, metni görselin altında tut */
  .hero:has(> img.hero-bg) { display:flex; flex-direction:column; align-items:stretch;
    min-height:0 !important; height:auto !important; }
  .hero > img.hero-bg { position:relative !important; inset:auto !important;
    width:100% !important; height:auto !important; max-height:none !important;
    object-fit:contain !important; }
  .hero:has(> img.hero-bg)::after { display:none !important; }
  .hero:has(> img.hero-bg) .hero-content { padding:26px 0 44px !important; }
  .hero:has(> img.hero-bg) .hero-content h1 { overflow-wrap:anywhere; }
}
