/*
Theme Name: TTF Ispringen Vereinsportal
Theme URI: https://ttf-ispringen.de
Author: TTF Ispringen
Description: Individuelles WordPress-Theme für die Tischtennisfreunde Ispringen 1955 e.V.
Version: 31.0.0
Text Domain: ttf-ispringen
*/

/* Version 8.4 */

/* v10.1 Sponsor cleanup */
.ttf-sponsor-page-card{text-decoration:none;color:inherit;}
.ttf-admin-inline-action{margin:18px 0 0;}
.ttf-admin-inline-action .btn{display:inline-flex;align-items:center;justify-content:center;}

/* v10.4: Footer bereinigt, Badminton-Link zentral korrigiert */

/* v10.6: Aktuelles ohne alte Teamleiste, Footer ohne Badminton, Quickbars bereinigt */

/* v11.0 Final Edition: originale SVG-Social-Icons und Feinschliff */

/* v11.1: Kader-Vorschau und Live-Quelle synchronisiert */

/* v11.3.1: Startseiten-Karten editierbar, Hero-Schrift korrigiert */

/* v11.5 Sponsor text editor + sponsor page cleanup */
body.ttf-ispringen_page_ttf-sponsors .ttf-sponsor-text-editor textarea{min-height:90px;}
.ttf-sponsor-showcase{margin-top:0;}

/* v11.7 Verwaltung + Mannschaften-Menü */
/* v11.8 Verwaltungsseite aufgeräumt */

/* v12.2 Verwaltungsseite im TTF-Backend bearbeitbar */

/* v13.0 FINAL */
.ttf-footer-credit{display:inline-block;margin-top:6px;color:#8fa19a;font-size:12px;letter-spacing:.02em;}

/* v13.2 – Termin-Detailseite */
.ttf-event-info-box{background:#f3faef;border:1px solid rgba(87,194,32,.16);border-radius:18px;padding:18px 22px;margin:22px 0;color:#163022}
.ttf-event-info-box p{margin:6px 0}
.ttf-event-single .ttf-modern-featured-image{margin-bottom:18px}

/* v14.0: Startseite mit Neuester Beitrag, Training, Mitglied werden; interne Event-Detailseite stabilisiert */

/* v14.2 – click-TT Tabellenlinks pro Mannschaft im TTF-Editor */

/* v14.3 – neue Menüreihenfolge und modernisierte Hauptnavigation */

/* v14.5 FINAL: mobile Feinschliff auf Basis v14.4; Desktop-Navigation unverändert. */

/* v15.5: Globaler Hero-Hintergrund aus dem Startseiten-Editor für allgemeine Seiten. */

/* v21.0: Veranstaltungsbereiche zeigen nur öffentliche, zukünftige Termine; sauberer Leerzustand ohne veralteten Fallback. */
.event-empty{display:flex;flex-direction:column;gap:7px;padding:18px 0;color:#d8e5dd}.event-empty strong{color:#fff;font-size:16px}.event-empty span{font-size:13px;line-height:1.55;color:#a9bbb1}


/* v24.0 – moderne Spielvorschau und Ergebnisse */
.match-preview-section{position:relative;overflow:hidden;background:linear-gradient(180deg,#f5f8f6 0%,#eef4f0 100%);padding:78px 0}.match-preview-section:before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;right:-260px;top:-290px;background:radial-gradient(circle,rgba(91,210,35,.15),rgba(91,210,35,0) 68%);pointer-events:none}.match-section-head{align-items:end;position:relative;z-index:1}.match-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:22px;align-items:stretch}.next-match-card{position:relative;overflow:hidden;min-height:370px;border-radius:28px;padding:34px;color:#fff;background:linear-gradient(135deg,rgba(2,31,18,.98),rgba(6,57,31,.94));box-shadow:0 24px 58px rgba(3,39,21,.18);display:flex;flex-direction:column;justify-content:space-between}.next-match-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 88% 14%,rgba(107,231,47,.25),transparent 36%);pointer-events:none}.next-match-card>*{position:relative;z-index:1}.match-topline{display:flex;justify-content:space-between;align-items:center;gap:16px}.match-badge{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.match-badge.home{background:#dff8d1;color:#276d08}.match-badge.away{background:#e5eff7;color:#245a79}.next-match-card .match-badge.home,.next-match-card .match-badge.away{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.16)}.match-team-tag{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.09em;color:#91e760}.next-match-versus{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:22px;margin:30px 0}.next-match-team{font-size:clamp(24px,3vw,38px);font-weight:900;line-height:1.08}.next-match-team:last-child{text-align:right}.next-match-vs{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);font-weight:900;color:#9bea6c}.match-meta{display:flex;flex-wrap:wrap;gap:10px 18px;color:#d8e6de;font-size:14px}.match-meta span{display:inline-flex;align-items:center;gap:7px}.match-countdown{margin-top:24px;padding-top:20px;border-top:1px solid rgba(255,255,255,.13);display:flex;align-items:baseline;gap:8px}.match-countdown strong{font-size:24px;color:#9bea6c}.match-countdown span{font-size:13px;color:#c7d8cf}.more-matches{display:grid;gap:12px}.mini-match-card{background:#fff;border:1px solid rgba(10,55,31,.09);border-radius:20px;padding:18px 19px;box-shadow:0 10px 28px rgba(7,37,22,.055);display:grid;grid-template-columns:70px 1fr;gap:16px;align-items:center;transition:transform .2s ease,box-shadow .2s ease}.mini-match-card:hover{transform:translateY(-2px);box-shadow:0 15px 34px rgba(7,37,22,.09)}.mini-match-date{text-align:center;border-right:1px solid #e4ebe6;padding-right:15px}.mini-match-date strong{display:block;font-size:22px;line-height:1;color:#173525}.mini-match-date span{display:block;margin-top:5px;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#738178}.mini-match-info{min-width:0}.mini-match-info .match-badge{padding:4px 8px;font-size:9px}.mini-match-info h3{font-size:15px;line-height:1.3;margin:8px 0 4px;color:#10281c}.mini-match-info p{margin:0;font-size:12px;color:#66766d}.match-empty{background:#fff;border-radius:18px;padding:24px;display:flex;flex-direction:column;gap:5px}.match-empty span{color:#65756c}.recent-results{margin-top:22px;background:#fff;border:1px solid rgba(10,55,31,.09);border-radius:22px;padding:22px 24px;box-shadow:0 12px 32px rgba(7,37,22,.05)}.recent-results-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.recent-results-head h3{margin:0;font-size:18px}.result-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.result-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#f5f8f6;border-radius:14px;font-size:13px}.result-item strong{color:#173525}.result-score{font-size:17px;font-weight:900;white-space:nowrap}.result-item.win .result-score{color:#3b8f17}.result-item.loss .result-score{color:#a43e3e}.result-item.draw .result-score{color:#8a6b13}
@media(max-width:900px){.match-layout{grid-template-columns:1fr}.next-match-card{min-height:330px}.more-matches{grid-template-columns:repeat(2,minmax(0,1fr))}.result-list{grid-template-columns:1fr}}
@media(max-width:620px){.match-preview-section{padding:54px 0}.match-section-head{align-items:flex-start}.next-match-card{padding:25px 21px;min-height:355px}.next-match-versus{grid-template-columns:1fr;gap:11px;margin:24px 0}.next-match-team,.next-match-team:last-child{text-align:left;font-size:27px}.next-match-vs{width:auto;height:auto;display:block;background:none;border:0;color:#9bea6c}.more-matches{grid-template-columns:1fr}.mini-match-card{grid-template-columns:62px 1fr}.match-countdown{display:block}.match-countdown strong{display:block;margin-bottom:3px}.recent-results{padding:19px}}



/* v25.0 – kompakte moderne Spielvorschau */
.match-preview-section{position:relative;overflow:hidden;background:linear-gradient(180deg,#f7faf8 0%,#eef4f0 100%);padding:76px 0}.match-preview-section:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 8%,rgba(99,210,42,.10),transparent 34%),radial-gradient(circle at 90% 70%,rgba(4,55,31,.07),transparent 36%);pointer-events:none}.match-preview-section .wrap{position:relative;z-index:1}.match-section-head{align-items:flex-end;margin-bottom:26px}.match-modern-grid{display:grid;grid-template-columns:minmax(300px,.82fr) minmax(0,1.45fr);gap:20px;align-items:stretch}.match-featured-card{position:relative;overflow:hidden;min-height:360px;padding:30px;border-radius:26px;color:#fff;background:linear-gradient(145deg,rgba(3,35,20,.98),rgba(5,67,35,.96)),url('assets/images/news-halle.jpg') center/cover;box-shadow:0 24px 58px rgba(4,42,23,.18);display:flex;flex-direction:column;justify-content:space-between}.match-featured-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 10%,rgba(112,230,53,.25),transparent 38%);pointer-events:none}.match-featured-card>*{position:relative;z-index:1}.match-featured-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.match-status-pill,.match-team-pill{display:inline-flex;align-items:center;border-radius:999px;font-weight:850;text-transform:uppercase;letter-spacing:.07em}.match-status-pill{padding:8px 13px;font-size:10px;background:#73d92f;color:#103019;box-shadow:0 8px 20px rgba(95,205,35,.25)}.match-status-pill.away{background:#e7efe9;color:#244335}.match-featured-team{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#9ce96f}.match-featured-date{display:flex;flex-direction:column;gap:3px;margin-top:30px}.match-featured-date span{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#aeda94}.match-featured-date strong{font-size:clamp(27px,3vw,38px);line-height:1.05}.match-featured-date em{font-style:normal;font-size:17px;font-weight:800;color:#9bea69}.match-featured-pairing{padding-top:22px;border-top:1px solid rgba(255,255,255,.16);display:flex;flex-direction:column;gap:7px}.match-featured-pairing strong{font-size:clamp(20px,2.1vw,28px);line-height:1.12}.match-featured-pairing span{color:#8ee25d;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.match-compact-list{display:grid;gap:12px}.match-compact-card{min-height:78px;display:grid;grid-template-columns:82px minmax(0,1fr) 72px;align-items:center;background:#fff;border:1px solid rgba(10,54,31,.08);border-radius:19px;box-shadow:0 11px 30px rgba(5,42,24,.06);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}.match-compact-card:hover{transform:translateY(-2px);box-shadow:0 17px 38px rgba(5,42,24,.10)}.match-date-block{height:100%;padding:11px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid #e8eeea;background:#fafcfb}.match-date-block span,.match-date-block small{text-transform:uppercase;letter-spacing:.09em;color:#64756b;font-weight:750}.match-date-block span{font-size:9px}.match-date-block strong{font-size:27px;line-height:1;color:#112d1e;margin:2px 0}.match-date-block small{font-size:9px}.match-compact-main{min-width:0;padding:12px 18px}.match-team-pill{padding:4px 8px;font-size:8px;background:#e6f8dc;color:#357913}.match-compact-main h3{margin:6px 0 3px;font-size:15px;line-height:1.25;color:#12291c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.match-compact-main h3 span{color:#5bc924}.match-compact-main p{margin:0;font-size:12px;color:#6d7b73}.match-home-away{height:100%;border-left:1px solid #e8eeea;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#5fc82d}.match-home-away.away{color:#203b2c}.match-home-away span{font-size:22px;line-height:1}.match-home-away small{font-size:8px;font-weight:850;text-transform:uppercase;letter-spacing:.07em}.match-empty{background:#fff;border-radius:18px;padding:24px;box-shadow:0 12px 30px rgba(5,42,24,.06)}
@media(max-width:900px){.match-modern-grid{grid-template-columns:1fr}.match-featured-card{min-height:300px}.match-compact-list{grid-template-columns:repeat(2,minmax(0,1fr))}.match-compact-card{grid-template-columns:68px minmax(0,1fr)}.match-home-away{display:none}}
@media(max-width:680px){.match-preview-section{padding:54px 0}.match-section-head{align-items:flex-start}.match-section-head .section-link{margin-top:8px}.match-featured-card{padding:24px;min-height:290px;border-radius:22px}.match-compact-list{grid-template-columns:1fr}.match-compact-card{grid-template-columns:64px minmax(0,1fr);min-height:76px}.match-compact-main{padding:11px 13px}.match-compact-main h3{font-size:14px;white-space:normal}.match-date-block strong{font-size:24px}}


/* v28.0 – Spielvorschau im modernen Screenshot-Design */
.match-preview-section{
  background:
    radial-gradient(circle at 18% 12%,rgba(111,224,48,.12),transparent 30%),
    radial-gradient(circle at 88% 80%,rgba(35,120,69,.20),transparent 35%),
    linear-gradient(135deg,#061d12 0%,#082719 55%,#04140d 100%);
  color:#fff;
  padding:78px 0 84px;
}
.match-preview-section:before{display:none}
.match-preview-section .eyebrow{color:#83df43}
.match-preview-section h2{color:#fff;font-size:clamp(32px,4vw,48px);text-transform:uppercase;letter-spacing:-.02em}
.match-preview-section .section-link{color:#8ee44f;font-weight:800}
.match-section-head{margin-bottom:30px}
.match-modern-grid{grid-template-columns:minmax(330px,.88fr) minmax(0,1.45fr);gap:28px}
.match-featured-card{
  min-height:510px;
  padding:34px 38px 38px;
  border:1px solid rgba(132,222,74,.30);
  border-radius:24px;
  background:
    linear-gradient(180deg,rgba(4,31,19,.58),rgba(2,22,14,.92)),
    url('assets/images/news-halle.jpg') center/cover;
  box-shadow:0 24px 60px rgba(0,0,0,.30),inset 0 1px rgba(255,255,255,.04);
}
.match-featured-card:before{background:linear-gradient(180deg,rgba(95,211,39,.13),transparent 28%,rgba(0,0,0,.18))}
.match-featured-head{justify-content:center;position:relative}
.match-status-pill{position:absolute;top:-34px;left:50%;transform:translateX(-50%);min-width:150px;justify-content:center;border-radius:0 0 15px 15px;padding:11px 18px;font-size:11px}
.match-featured-team{margin-top:34px;padding:7px 14px;border-radius:999px;background:#7142b8;color:#fff;font-size:10px;box-shadow:0 8px 20px rgba(62,25,115,.28)}
.match-featured-date{order:3;margin:0;padding-top:24px;border-top:1px solid rgba(255,255,255,.15);display:grid;grid-template-columns:1fr 1fr;gap:10px 18px}
.match-featured-date span{grid-column:1/-1;color:#8ee34f;font-size:11px}
.match-featured-date strong{font-size:18px;line-height:1.2}
.match-featured-date em{font-size:18px;color:#fff;text-align:right}
.match-featured-pairing{order:2;flex:1;justify-content:center;align-items:center;text-align:center;border:0;padding:26px 0 32px;gap:10px}
.match-featured-pairing strong{font-size:clamp(25px,2.7vw,37px);max-width:420px}
.match-featured-pairing span{font-size:23px;color:#70d42d;letter-spacing:.04em}
.match-compact-list{gap:16px}
.match-compact-card{
  min-height:108px;
  grid-template-columns:102px minmax(0,1fr) 86px;
  border:0;
  border-radius:17px;
  box-shadow:0 14px 34px rgba(0,0,0,.22);
}
.match-date-block{padding:14px 16px;background:#fff;border-right:1px solid #dfe6e1}
.match-date-block span{font-size:10px;color:#34463c}
.match-date-block strong{font-size:36px;color:#071d12;margin:4px 0}
.match-date-block small{font-size:10px;color:#34463c}
.match-compact-main{padding:16px 22px}
.match-team-pill{padding:5px 10px;font-size:9px;background:#66c82d;color:#fff}
.match-compact-main h3{font-size:18px;margin:8px 0 5px;color:#0a2116}
.match-compact-main h3 span{color:#5ac72a}
.match-compact-main p{font-size:13px;color:#68766e}
.match-home-away{background:#fff;border-left:1px solid #e1e7e3;color:#63c92d}
.match-home-away.away{color:#10281b}
.match-home-away span{font-size:27px}
.match-home-away small{font-size:9px}
.match-empty{color:#12291d}
@media(max-width:900px){
  .match-modern-grid{grid-template-columns:1fr}
  .match-featured-card{min-height:410px}
  .match-compact-list{grid-template-columns:1fr 1fr}
  .match-compact-card{grid-template-columns:78px minmax(0,1fr)}
}
@media(max-width:680px){
  .match-preview-section{padding:56px 0 62px}
  .match-preview-section h2{font-size:32px}
  .match-featured-card{min-height:390px;padding:30px 24px 28px}
  .match-featured-date{grid-template-columns:1fr}
  .match-featured-date em{text-align:left}
  .match-compact-list{grid-template-columns:1fr}
  .match-compact-card{grid-template-columns:74px minmax(0,1fr);min-height:92px}
  .match-date-block strong{font-size:30px}
  .match-compact-main h3{font-size:15px}
}

/* v28.0 marker – finale Spielvorschau, Hauptregeln in assets/css/main.css */

/* v30.1: Überschrift der Spielvorschau an die übrigen Startseiten-Überschriften angepasst */
.match-preview-section h2,
.match-preview-section #ttf-next-matches-title{
  font-size:42px;
  line-height:1.08;
  text-transform:none;
  letter-spacing:normal;
}
@media(max-width:560px){
  .match-preview-section h2,
  .match-preview-section #ttf-next-matches-title{font-size:34px;}
}

/* v31.0 – Professional Finish */
.ttf-icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block}
.ttf-page-loader{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;background:radial-gradient(circle at center,#123b24 0,#06170e 58%,#020b06 100%);opacity:1;visibility:visible;transition:opacity .42s ease,visibility .42s ease}
.ttf-page-loader.is-hidden{opacity:0;visibility:hidden;pointer-events:none}
.ttf-loader-inner{display:grid;justify-items:center;gap:12px;color:#fff;text-align:center}.ttf-loader-inner img{width:92px;height:92px;object-fit:contain;filter:drop-shadow(0 12px 24px rgba(0,0,0,.4));animation:ttfLogoPulse 1.1s ease-in-out infinite alternate}.ttf-loader-inner strong{font-size:14px;letter-spacing:.05em}.ttf-loader-ball{width:13px;height:13px;border-radius:50%;background:#7dda35;box-shadow:0 0 20px rgba(125,218,53,.65);animation:ttfBallBounce .7s cubic-bezier(.4,0,.2,1) infinite alternate}
@keyframes ttfLogoPulse{to{transform:scale(1.035)}}@keyframes ttfBallBounce{to{transform:translateY(-12px)}}
.ttf-reveal{opacity:0;transform:translateY(22px);transition:opacity .55s ease var(--ttf-reveal-delay,0ms),transform .55s cubic-bezier(.2,.7,.25,1) var(--ttf-reveal-delay,0ms)}.ttf-reveal.is-visible{opacity:1;transform:none}
.ttf-404-hero{min-height:720px}.ttf-404-inner{max-width:760px;text-align:center;margin-inline:auto;align-items:center}.ttf-404-inner h1{max-width:720px}.ttf-404-ball{width:126px;height:126px;border-radius:50%;display:grid;place-items:center;margin:0 auto 22px;background:radial-gradient(circle at 35% 30%,#fff 0,#e9efe9 45%,#b8c5bb 100%);color:#0b2b19;font-size:38px;font-weight:950;box-shadow:0 22px 55px rgba(0,0,0,.35),inset -12px -14px 28px rgba(0,0,0,.13);transform:rotate(-8deg)}.ttf-404-links .team-next-card{min-height:150px}.ttf-404-links .team-next-card .ttf-icon{width:30px;height:30px;color:#72d433;margin-bottom:12px}
@media(max-width:680px){.ttf-page-loader .ttf-loader-inner img{width:76px;height:76px}.ttf-404-hero{min-height:650px}.ttf-404-ball{width:102px;height:102px;font-size:31px}}
@media(prefers-reduced-motion:reduce){.ttf-page-loader,.ttf-loader-inner img,.ttf-loader-ball,.ttf-reveal{animation:none!important;transition:none!important}.ttf-reveal{opacity:1;transform:none}}
