/*
 * ============================================================================
 *  TÜRLER — STİL               Yol: /modules/turler/turler.css
 *  Önek: .szg-*   Posterli tür kutucukları (her türe otomatik renk tonu)
 *  Bu dosya ana sayfada da yüklenir (Türlere Göz At rafı için).
 * ============================================================================
 */
.szg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.szg-tile {
  --szg-h: 260; position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 16/10; padding: 18px;
  border-radius: var(--sz-r-lg); overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, hsl(var(--szg-h) 70% 38%), hsl(calc(var(--szg-h) + 40) 70% 18%));
  box-shadow: 0 0 0 1px rgba(255,255,255,.08); transition: transform .35s var(--sz-ease), box-shadow .35s;
}
.szg-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; z-index: -2; opacity: 0; mix-blend-mode: luminosity; transition: transform .7s var(--sz-ease), opacity .4s; }
.szg-tile img.is-loaded { opacity: .55; }
.szg-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(20deg, hsl(var(--szg-h) 80% 12% / .96) 10%, hsl(var(--szg-h) 70% 35% / .35) 100%); }
.szg-tile__name { font-size: clamp(18px, 1.6vw, 23px); font-weight: 800; letter-spacing: -.02em; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.szg-tile__count { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 2px; }
.szg-tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px hsl(var(--szg-h) 80% 65% / .7), 0 20px 40px -18px hsl(var(--szg-h) 80% 50% / .8); }
.szg-tile:hover img { transform: scale(1.08); }
.sz-row__track:has(.szg-rowfix) { grid-auto-columns: clamp(190px, 17vw, 260px); }
.szg-rowfix { display: none; }
@media (max-width: 600px) {
  .szg-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .szg-tile { padding: 12px; border-radius: 14px; }
  .szg-tile__name { font-size: 16px; } .szg-tile__count { font-size: 11.5px; }
  .sz-row__track:has(.szg-rowfix) { grid-auto-columns: 160px; }
}
