/*
 * PickleZone – Rubrik „Turniere“ (ergänzt travel.css, das für Filter, Karte und Eckdaten mitgeladen wird).
 * Turnierfarbe: Marine mit Neon-Ballgelb als Akzent.
 */
.kind-tournament { --kind: var(--ink); --kind-ink: var(--ball); }
.tour-head { border-bottom-color: var(--ink); }

/* Flaggen (gleiche Größe wie im Club-Verzeichnis; coaches.css wird hier nicht geladen) */
.country-flag { flex: none; width: 21px; height: 14px; box-shadow: 0 0 0 1px rgba(19, 34, 56, .18); }
.destination-list .destination-name { display: flex; align-items: center; gap: 8px; }
.destination-list .destination-name .country-flag { width: 24px; height: 16px; }

/* Filter: fünf Felder + Knopf */
.tour-filter { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 0.8fr) auto; }
.tour-filter input[type="search"] {
    width: 100%; min-height: 44px; padding: 8px 10px; font: inherit; font-size: 16px;
    color: var(--ink); background: var(--white); border: 1px solid #9AA8BC; border-radius: 0;
}

/* Monatsgruppen */
.tour-month-group { margin-bottom: 36px; }
.tour-month-title {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
    font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 14px; padding-bottom: 8px; border-bottom: 3px solid var(--ink);
}
.tour-month-title .muted { font-size: 15px; font-weight: 500; font-stretch: 100%; }

/* Turnierkarte: Datumsblock links, Text rechts */
.tour-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tour-card {
    display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 0;
    border: 1px solid var(--line); background: var(--white); min-height: 96px;
}
.tour-card:hover { border-color: var(--court); }
.tour-date {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    background: var(--ink); color: var(--white); text-decoration: none; padding: 10px 4px;
}
.tour-day { font-size: 26px; font-weight: 800; font-stretch: 85%; line-height: 1; color: var(--ball); white-space: nowrap; }
.tour-day-end { font-size: 18px; }
.tour-month { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.tour-body { padding: 12px 16px 14px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.tour-body h3 { margin: 0; font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
.tour-body h3 a { color: var(--ink); text-decoration: none; }
.tour-body h3 a:hover { color: var(--court); text-decoration: underline; }
.tour-place { margin: 0; display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 15px; }
.tour-place .country-flag { width: 20px; height: 13px; }
.tour-meta { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 14px; }
.tour-badge {
    display: inline-block; padding: 1px 8px; font-size: 12px; font-weight: 800; font-stretch: 112%;
    text-transform: uppercase; letter-spacing: 0.02em; background: var(--mist); color: var(--ink); border: 1px solid var(--line);
}
.tour-badge-cancelled { background: #B42318; color: var(--white); border-color: #B42318; }
.tour-badge-postponed { background: var(--ball); color: var(--ink); border-color: var(--ink); }
.tour-card.is-cancelled .tour-body h3 a { text-decoration: line-through; }

.tour-inline-cta { margin: 18px 0 0; padding: 14px 18px; background: var(--mist); border-left: 5px solid var(--ball); display: flex; flex-wrap: wrap; gap: 6px 12px; }
.tour-inline-cta a { font-weight: 700; }

/* Turnierseite */
.tour-poster img { width: 100%; height: auto; max-height: 720px; object-fit: contain; background: var(--mist); }
.tour-club .club-card { max-width: 520px; }
.tour-ics { margin-top: 10px; }
.offer-main > section + section, .offer-main > section + .travel-map, .offer-main > .travel-map + .fine-print { margin-top: 28px; }

/* Clubseite: kommende Turniere */
.club-tournaments { margin-top: 32px; }
.club-tournaments .tour-list { grid-template-columns: minmax(0, 1fr); }

/* Formular */
.tour-form .grid-dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
/* Club-Suche im Formular: volle Breite wie die übrigen Felder (Button „In meiner Nähe“ bündig rechts) */
.tour-form .loc-picker { max-width: none; margin-bottom: 14px; }

@media (max-width: 1100px) {
    .tour-filter { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .tour-list { grid-template-columns: minmax(0, 1fr); }
    .tour-filter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .tour-filter .travel-filter-actions { grid-column: 1 / -1; }
    .tour-card { grid-template-columns: 64px minmax(0, 1fr); }
    .tour-day { font-size: 22px; }
    .tour-form .grid-dates { grid-template-columns: minmax(0, 1fr); }
}
/* „Über das Turnier“ beginnt auf einer Höhe mit dem Kasten rechts */
.tour-about > h2:first-child { margin-top: 0; }
