/* Tennis Schweiz Web-App: Turnierfokus (ab 10.32, 5.12.2026; 10.33 zum Auf- und Zuklappen; 10.34 kompakte Liste, 6.12.2026).
   Zu: eine knappe Zeile pro Turnier. Offen: Kopf in der Grundfarbe des Belags wie auf tennisschweiz.ch, darunter alle Angaben. */

.st-fokus { margin: 0 0 24px; scroll-margin-top: 80px; }
.st-fokus-h { margin: 0 0 8px; }

.st-fokus--hart { --f-grund: #0B1533; }
.st-fokus--sand { --f-grund: #1E100B; }
.st-fokus--rasen { --f-grund: #0E2118; }
.st-fokus--sonst { --f-grund: #1A3A32; }

/* Liste: eine Karte, Turniere als Zeilen */
.st-fokus-liste { border: 1px solid var(--hs-linie, #E4E1DA); border-radius: var(--hs-radius, 16px); background: #fff; overflow: hidden; }
.st-fokus-liste > * + *,
.st-fokus-weitere > .st-fokus-karte { border-top: 1px solid var(--hs-linie, #E4E1DA); }
.st-fokus-karte { scroll-margin-top: 80px; }

.st-fokus-kopf,
.st-fokus-weitere-kopf { cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.st-fokus-kopf::-webkit-details-marker,
.st-fokus-weitere-kopf::-webkit-details-marker { display: none; }
.st-fokus-kopf::marker,
.st-fokus-weitere-kopf::marker { content: ""; }
@media (hover: hover) {
  .st-fokus-kopf:hover,
  .st-fokus-weitere-kopf:hover { background: var(--hs-creme, #F6F4EF); }
  .st-fokus-karte[open] > .st-fokus-kopf:hover { background: var(--f-grund, #0F1526); }
}
.st-fokus-kopf:focus-visible,
.st-fokus-weitere-kopf:focus-visible { outline: 2px solid var(--navy, #0F1526); outline-offset: -4px; border-radius: 12px; }

.st-fokus-kopf { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; min-height: 58px; padding: 9px 16px; transition: background-color .15s ease; }
.st-fokus-titel { grid-column: 1; margin: 0; font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.2; color: var(--navy, #0F1526); overflow-wrap: anywhere; }
.st-fokus-kurzinfo { grid-column: 1; display: flex; align-items: center; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--sec, #4A5060); }
.st-fokus-kurzinfo .st-punkt { flex: none; }
.st-fokus-pfeil { grid-column: 2; grid-row: 1 / span 2; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: var(--sec, #4A5060); }
.st-fokus-pfeil::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }

/* Offene Zeile: Kopf und Band in der Grundfarbe des Belags */
.st-fokus-karte[open] > .st-fokus-kopf { background: var(--f-grund, #0F1526); }
.st-fokus-karte[open] > .st-fokus-kopf .st-fokus-titel { color: #fff; }
.st-fokus-karte[open] > .st-fokus-kopf .st-fokus-kurzinfo,
.st-fokus-karte[open] > .st-fokus-kopf .st-fokus-pfeil { color: rgba(243, 238, 226, .85); }
.st-fokus-karte[open] > .st-fokus-kopf:focus-visible { outline-color: #F3EEE2; }
.st-fokus-karte[open] > .st-fokus-kopf .st-fokus-pfeil::before,
.st-fokus-weitere[open] > .st-fokus-weitere-kopf .st-fokus-pfeil::before { transform: translateY(2px) rotate(-135deg); }
.st-fokus-band { padding: 0 16px 12px; background: var(--f-grund, #0F1526); color: #F3EEE2; }
.st-fokus-band > p { margin: 0; }
.st-fokus-band > .st-fokus-phase { padding-top: 4px; font-size: 14px; font-weight: 600; }
.st-fokus-band > .st-fokus-meta { margin-top: 2px; font-size: 13px; opacity: .85; }
.st-fokus-band > .st-fokus-daten { margin-top: 2px; font-size: 13px; opacity: .78; }

/* «N weitere Turniere» mit den Namen, damit man sieht, was dahinter steht */
.st-fokus-weitere-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 16px; }
.st-fokus-weitere-text { display: flex; flex-direction: column; min-width: 0; }
.st-fokus-weitere-zahl { font-size: 14px; font-weight: 600; color: var(--navy, #0F1526); }
.st-fokus-weitere-namen { overflow: hidden; font-size: 13px; color: var(--sec, #4A5060); white-space: nowrap; text-overflow: ellipsis; }
.st-fokus-weitere[open] .st-fokus-weitere-namen { display: none; }

.st-fokus-inhalt > p { margin: 0; }
.st-fokus-intro { padding: 14px 16px 2px; font-size: 15px; line-height: 1.5; color: var(--navy); }
.st-fokus-leer { margin: 14px 16px 0 !important; padding: 14px 16px; border-radius: 12px; background: var(--hs-creme, #F6F4EF); color: var(--sec); font-size: 14px; line-height: 1.5; }
.st-fokus-gruppe { margin-top: 14px; }
.st-fokus-gh { margin: 0 16px 2px; font-family: var(--sans); font-size: 15px; font-weight: 700; color: var(--navy); }
.st-fokus-gh span { margin-left: 4px; font-weight: 600; color: var(--sec); }
.st-fokus-gruppe .st-t-spieler { margin-top: 8px; border-top: 1px solid var(--hs-linie, #E4E1DA); }
.st-fokus-gruppe .st-p:first-child { border-top: 0; }
.st-fokus-naechste { margin: 8px 16px 0; padding: 10px 12px; border-radius: 12px; background: var(--hs-creme, #F6F4EF); font-size: 14px; line-height: 1.45; }
.st-fokus-naechste span:first-child { display: block; font-size: 12px; font-weight: 700; color: var(--sec); }

.st-fokus-neu { margin: 16px 16px 0; padding-top: 12px; border-top: 1px solid var(--hs-linie, #E4E1DA); }
.st-fokus-neu .st-fokus-gh { margin: 0 0 2px; }
.st-fokus-neu .st-kurz a { padding: 9px 0; }
.st-fokus-neu .st-kurz-zeit { font-size: 12px; color: var(--sec); }
.st-fokus-neu .st-kurz-titel { font-weight: 600; font-size: 15px; line-height: 1.35; }
.st-fokus-neu .st-kurz-score { font-size: 13px; color: var(--sec); }
.st-fokus-links { display: flex; flex-wrap: wrap; column-gap: 18px; padding: 4px 16px 6px; }
.st-fokus-partner { padding: 0 16px 14px; font-size: 12px; color: var(--sec); }
.st-fokus-partner span:first-child { font-weight: 700; }
.st-fokus-inhalt::after { content: ""; display: block; height: 10px; }

.st-fokus-filterzeile { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 10px; padding: 8px 14px; border-radius: 12px; background: var(--hs-navy-hell, #ECEDF1); font-size: 14px; font-weight: 600; }
.st-fokus-filterzeile .hs-link { min-height: 32px; }

/* Startseite: Hinweis auf das wichtigste Fokus-Turnier */
.st-fokus-teaser { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--f-grund, #0F1526); color: #F3EEE2; text-decoration: none; }
.st-fokus-teaser-kicker { display: flex; align-items: center; font-size: 12px; font-weight: 700; opacity: .85; }
.st-fokus-teaser-titel { font-family: var(--serif); font-size: 21px; line-height: 1.2; color: #fff; }
.st-fokus-teaser-info { font-size: 13px; opacity: .85; }
.st-fokus-teaser:hover .st-fokus-teaser-titel,
.st-fokus-teaser:focus-visible .st-fokus-teaser-titel { text-decoration: underline; text-underline-offset: 3px; }
.st-fokus-teaser:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* Schweizer-Tennis-Seite: Suche auf einer Zeile, auf dem Handy knapperer Kopf, damit Turniere und Meldungen früher kommen */
body.st-seite .st-suche input { flex: 1 1 0; min-width: 0; }
@media (max-width: 719px) {
  body.st-seite .st-kopf { margin-bottom: 14px; }
  body.st-seite .st-kopf .st-lead { display: none; }
  body.st-seite .st-tabs { margin-bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .st-fokus-kopf { transition: none; }
  .st-fokus-pfeil::before { transition: none; }
}

@media (min-width: 720px) {
  .st-fokus-kopf { min-height: 64px; padding: 11px 22px; }
  .st-fokus-titel { font-size: 22px; }
  .st-fokus-band { padding: 0 22px 16px; }
  .st-fokus-weitere-kopf { padding: 10px 22px; }
  .st-fokus-intro { padding: 16px 22px 2px; }
  .st-fokus-gh { margin-left: 22px; margin-right: 22px; }
  .st-fokus-gruppe .st-p { padding-left: 22px; padding-right: 22px; }
  .st-fokus-naechste { margin-left: 22px; margin-right: 22px; }
  .st-fokus-leer { margin-left: 22px !important; margin-right: 22px !important; }
  .st-fokus-neu { margin-left: 22px; margin-right: 22px; }
  .st-fokus-links, .st-fokus-partner { padding-left: 22px; padding-right: 22px; }
}
