/* Schritt 4: ausschließlich Ergebnis- und Mannschaftsbereich. */
#newsGrid,
#teamGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
#newsGrid > .empty-state,
#teamGrid > .empty-state,
#newsGrid > .error-state,
#teamGrid > .error-state { grid-column: 1 / -1; }

#newsGrid .result-card,
#teamGrid .team-card { min-height: 0; padding: 16px; }
#newsGrid .result-card { display: block; }
#newsGrid .result-card-head { display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: center; gap: 0 10px; }
#newsGrid .team-badge { width: 32px; height: 32px; font-size: 13px; border-radius: 9px; grid-row: 1 / 3; }
#newsGrid .result-card h3 { margin: 0; font-size: 16px; line-height: 1.3; letter-spacing: -.02em; overflow-wrap: anywhere; }
#newsGrid .result-card time { grid-column: 2; font-size: 12px; line-height: 1.5; }
#newsGrid .result-match { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; margin-top: 10px; }
#newsGrid .result-copy { min-width: 0; }
#newsGrid .result-opponent { font-size: 14px; line-height: 1.4; color: var(--ink); overflow-wrap: anywhere; }
#newsGrid .result-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin-top: 4px; }
#newsGrid .venue-badge { display: inline-flex; align-items: center; gap: 4px; color: var(--navy-700); font-size: 12px; font-weight: 650; white-space: nowrap; }
#newsGrid .venue-badge--away { color: #69562e; }
#newsGrid .venue-badge svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
#newsGrid .result-score-row { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; margin: 0; padding: 0; }
#newsGrid .result-score-row strong { font-size: 28px; letter-spacing: -.025em; font-variant-numeric: tabular-nums; line-height: 1.1; }
#newsGrid .outcome { gap: 4px; font-size: 11px; white-space: nowrap; }
#newsGrid .outcome::before { width: 6px; height: 6px; }
#newsGrid .result-card .text-link { min-height: 28px; margin: 0; padding: 0; border: 0; font-size: 12px; }
#newsGrid .result-card--empty .result-opponent { margin-top: 12px; color: var(--muted); }

#teamGrid .team-card-head { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: start; gap: 10px; }
#teamGrid .team-card-index { width: 36px; height: 36px; border-radius: 10px; font-size: 14px; }
#teamGrid .team-card-title { min-width: 0; }
#teamGrid .team-card h3 { margin: 0; white-space: normal; overflow-wrap: anywhere; font-size: 16px; line-height: 1.3; letter-spacing: -.02em; }
#teamGrid .team-league { min-height: 0; margin: 4px 0 0; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
#teamGrid .team-position { min-width: 35px; }
#teamGrid .team-position b { font-size: 28px; line-height: 1; }
#teamGrid .team-position span { font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; }
#teamGrid .team-stats { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; margin: 14px 0 6px; padding-top: 12px; border-top: 1px solid var(--line); }
#teamGrid .team-stats div { display: flex; flex-direction: column; padding: 0 4px; border: 0; border-radius: 0; background: transparent; }
#teamGrid .team-stats div + div { border-left: 1px solid var(--line); }
#teamGrid .team-stats dt { margin-top: 3px; font-size: 11px; line-height: 1.4; color: var(--muted-light); }
#teamGrid .team-stats dd { order: -1; margin: 0; font-size: 20px; line-height: 1.1; font-weight: 800; color: var(--navy-900); font-variant-numeric: tabular-nums; }
#teamGrid .team-details-unavailable { color: var(--muted); display: inline-flex; align-items: center; }
#teamGrid .team-details-unavailable,
#teamGrid .team-card .text-link { align-self: flex-end; min-height: 32px; margin-top: auto; padding: 0; font-size: 12px; }

/* Breitere statt fünf schmaler Karten; mobile Begegnungen als kurze Zeilen. */
@media (max-width: 1100px) {
  #newsGrid, #teamGrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  #newsGrid, #teamGrid { grid-template-columns: minmax(0,1fr); gap: 10px; }
  #newsGrid .result-card, #teamGrid .team-card { padding: 14px; }
  #newsGrid .result-card-head { grid-template-columns: 30px minmax(0,1fr) auto; gap: 8px; }
  #newsGrid .team-badge { width: 30px; height: 30px; grid-row: 1; }
  #newsGrid .result-card h3 { font-size: 14px; }
  #newsGrid .result-card time { grid-column: 3; font-size: 11px; }
  #newsGrid .result-match { margin-top: 8px; }
}
@media (max-width: 359px) {
  #newsGrid .result-card-head { grid-template-columns: 30px minmax(0,1fr); gap: 0 8px; }
  #newsGrid .team-badge { grid-row: 1 / 3; }
  #newsGrid .result-card time { grid-column: 2; }
}

#teamGrid .team-stats abbr[title] { text-decoration: none; }
#newsGrid .skeleton-card { min-height: 140px; }
#teamGrid .skeleton-card { min-height: 200px; }
