/* Kadro: kurucu üstte, ekip altında dengeli ve responsive bir piramit. */
.team-card::before { content: none !important; display: none !important; }

@media (min-width: 861px) {
  .team-section { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; align-items: stretch !important; gap: 28px !important; }
  .team-card { grid-column: span 3 !important; min-width: 0 !important; height: 100% !important; grid-template-columns: minmax(190px, 40%) 1fr !important; gap: 26px !important; padding: 28px !important; }
  .team-card.image-right { grid-template-columns: 1fr minmax(190px, 40%) !important; }
  .team-card:first-child { grid-column: 2 / span 4 !important; width: 100% !important; justify-self: center !important; grid-template-columns: minmax(360px, 46%) 1fr !important; border: 2px solid #d4aa67 !important; background: linear-gradient(135deg, #fffdf8 0%, #f8edda 100%) !important; }
  .team-card:nth-child(2):last-child,
  .team-card:nth-child(4):last-child { grid-column: 2 / span 4 !important; width: 100% !important; justify-self: center !important; }
  .team-card:first-child .team-card__media { height: 500px !important; display: grid !important; place-items: center !important; background: linear-gradient(145deg,#f7ecd9,#fffdf8) !important; }
  .team-card:first-child .team-card__media img { width: 100% !important; height: 100% !important; transform: none !important; object-fit: contain !important; object-position: center center !important; }
  .team-card:not(:first-child) .team-card__media { height: 280px !important; }
  .team-card:not(:first-child) .team-card__media img { object-position: center 58% !important; }
}

.team-card:first-child .team-card__role { font-size: 0 !important; margin-bottom: 10px !important; }
.team-card:first-child .team-card__role::after { content: "KURUCU • 3. KADEME ANTRENÖR"; display: inline-flex; align-items: center; padding: 7px 11px; border-radius: 999px; background: #ead3a8; color: #493018; font-size: 12px; font-weight: 800; letter-spacing: .08em; }

@media (max-width: 860px) {
  .team-section { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 20px !important; }
  .team-card,
  .team-card.image-right { grid-column: 1 !important; grid-template-columns: minmax(0, 1fr) !important; gap: 20px !important; padding: 20px !important; }
  .team-card:first-child { border: 2px solid #d4aa67 !important; }
  .team-card:first-child .team-card__media { height: min(510px,118vw) !important; display: grid !important; place-items: center !important; background: linear-gradient(145deg,#f7ecd9,#fffdf8) !important; }
  .team-card:first-child .team-card__media img { width: 100% !important; height: 100% !important; transform: none !important; object-fit: contain !important; object-position: center center !important; }
  .team-card:not(:first-child) .team-card__media { height: 260px !important; }
  .team-card:not(:first-child) .team-card__media img { object-position: center 58% !important; }
}
