/*
 * ATC 1.3.0 - nur Sponsoren-Optik (öffentliche Sponsorenseite + Startseitenlogos).
 * Sponsorendaten, Stufen, Rotation, Links und die Vereinsverwaltung bleiben unverändert.
 * Die gesamte Website-Breite ist bereits durch die Hauptverwaltung festgelegt.
 */

/* Startseite: ruhige, gleich hohe Logoflächen. Unabhängig vom Dateiformat
   Logos vollständig erhalten und niemals verzerren oder abschneiden. */
html body .atc-approved-design .atc-home-sponsor-group .atc-home-sponsor-examples {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  min-width:0!important;
}
html body .atc-approved-design .atc-home-sponsor-group .atc-home-sponsor-examples > a,
html body .atc-approved-design .atc-home-sponsor-group .atc-home-sponsor-examples > span {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:102px!important;
  height:102px!important;
  padding:14px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  border:1px solid #d9e6ee!important;
  background:#fff!important;
  border-radius:12px!important;
}
html body .atc-approved-design .atc-home-sponsor-group .atc-home-sponsor-examples img {
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:72px!important;
  object-fit:contain!important;
}

/* Sponsorenseite: gleich hohe Oberkanten, ruhiger Zeilenrhythmus. */
html body.atc-public-unified-3536 .atc-public-inner .atc-sponsors-page .atc-sponsor-benefit-grid {
  display:grid!important;
  align-items:stretch!important;
  gap:12px!important;
}
html body.atc-public-unified-3536 .atc-public-inner .atc-sponsors-page .atc-sponsor-benefit-grid > article {
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  height:auto!important;
  box-sizing:border-box!important;
  padding:18px!important;
  border-radius:13px!important;
}
html body.atc-public-unified-3536 .atc-public-inner .atc-sponsors-page .atc-sponsor-benefit-grid h3 {
  margin:0 0 7px!important;
  font-weight:650!important;
  line-height:1.32!important;
}
html body.atc-public-unified-3536 .atc-public-inner .atc-sponsors-page .atc-sponsor-benefit-grid p {
  margin:0!important;
  line-height:1.5!important;
}

/* Sponsoren-Logokacheln: identische Fläche für jedes Logo, keine
   Unterschiede durch Originalbildformate, keine ausgeschnittenen Motive. */
html body.atc-public-unified-3536 .atc-public-inner .atc-sponsors-page .atc-sponsor-logo-grid {
  display:grid!important;
  align-items:stretch!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  width:100%!important;
  max-width:100%!important;
  margin:14px 0 27px!important;
}
html body.atc-public-unified-3536 .atc-public-inner .atc-sponsors-page .atc-sponsor-logo-grid > article.atc-sponsor-media-card {
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:154px!important;
  padding:18px!important;
  border-radius:13px!important;
  background:#fff!important;
  box-sizing:border-box!important;
}
html body.atc-public-unified-3536 .atc-public-inner .atc-sponsors-page .atc-sponsor-media-card a.atc-sponsor-external,
html body.atc-public-unified-3536 .atc-public-inner .atc-sponsors-page .atc-sponsor-media-visual {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  width:100%!important;
  height:109px!important;
  min-height:109px!important;
  max-height:109px!important;
  text-decoration:none!important;
}
html body.atc-public-unified-3536 .atc-public-inner .atc-sponsors-page .atc-sponsor-media-visual img {
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:96%!important;
  max-height:101px!important;
  object-fit:contain!important;
}

/* Link-Fokus sichtbar; keine zusätzlichen Sponsorstufen auf Logokacheln. */
html body.atc-public-unified-3536 .atc-public-inner .atc-sponsors-page .atc-sponsor-external:focus-visible,
html body .atc-approved-design .atc-home-sponsor-examples > a:focus-visible {
  outline:3px solid #2e82b2!important;
  outline-offset:2px!important;
}
@media (max-width: 760px) {
  html body.atc-public-unified-3536 .atc-public-inner .atc-sponsors-page .atc-sponsor-logo-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  html body.atc-public-unified-3536 .atc-public-inner .atc-sponsors-page .atc-sponsor-logo-grid > article.atc-sponsor-media-card {
    min-height:126px!important;
    padding:12px!important;
  }
  html body.atc-public-unified-3536 .atc-public-inner .atc-sponsors-page .atc-sponsor-media-card a.atc-sponsor-external,
  html body.atc-public-unified-3536 .atc-public-inner .atc-sponsors-page .atc-sponsor-media-visual {
    height:94px!important;
    min-height:94px!important;
    max-height:94px!important;
  }
  html body.atc-public-unified-3536 .atc-public-inner .atc-sponsors-page .atc-sponsor-media-visual img {
    max-height:85px!important;
  }
  html body.atc-public-unified-3536 .atc-public-inner .atc-sponsors-page .atc-sponsor-benefit-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  html body.atc-public-unified-3536 .atc-public-inner .atc-sponsors-page .atc-sponsor-benefit-grid > article:first-child {
    grid-column:1/-1!important;
  }
  html body.atc-public-unified-3536 .atc-public-inner .atc-sponsors-page .atc-sponsor-benefit-grid > article {
    padding:14px!important;
    min-height:0!important;
  }
  html body .atc-approved-design .atc-home-sponsor-group .atc-home-sponsor-examples > a,
  html body .atc-approved-design .atc-home-sponsor-group .atc-home-sponsor-examples > span {
    min-height:96px!important;
    height:96px!important;
    padding:12px!important;
  }
}
@media (max-width: 350px) {
  html body .atc-approved-design .atc-home-sponsor-group .atc-home-sponsor-examples {
    gap:8px!important;
  }
  html body .atc-approved-design .atc-home-sponsor-group .atc-home-sponsor-examples > a,
  html body .atc-approved-design .atc-home-sponsor-group .atc-home-sponsor-examples > span {
    padding:9px!important;
  }
}
