/* SpVgg Langenneufnach – eigene Stile (Mannschaftsseiten) */
.spv-teamfoto{margin:0 0 1.75rem}
.spv-teamfoto img{width:100%;height:auto;border-radius:.75rem;box-shadow:0 8px 28px rgba(0,0,0,.14)}
.spv-cards{margin-bottom:2rem}
.spv-box{background:#f5f6f7;border-radius:.75rem;padding:1.25rem 1.5rem;height:100%;border-left:4px solid #4a6c85}
.spv-box h2,.spv-section{font-size:1.05rem;text-transform:uppercase;letter-spacing:.06em;font-weight:700;margin:0 0 .9rem}
.spv-section{padding-bottom:.4rem;border-bottom:2px solid #4a6c85;display:inline-block}
.spv-list{list-style:none;padding:0;margin:0}
.spv-list li{padding:.5rem 0;border-bottom:1px solid rgba(0,0,0,.08)}
.spv-list li:last-child{border-bottom:0}
.spv-muted{font-size:.88rem;opacity:.7}
.spv-trainer .personlist{display:flex;flex-wrap:wrap;gap:1rem 2rem}
.spv-trainer .te{margin:0!important}
.spv-trainer .person{display:block;width:auto!important;margin:0!important;float:none!important}
.spv-trainer .innerperson{display:flex;align-items:center;gap:.8rem}
.spv-trainer .picture img{width:64px!important;height:64px!important;border-radius:50%;object-fit:cover;background:#ddd}
.spv-trainer .vcard,.spv-trainer .category,.spv-trainer .picture_veil,.spv-trainer .text_veil{display:none!important}
.spv-trainer .fieldname{font-weight:700}
.spv-trainer .fieldposition{font-size:.88rem;opacity:.7}
.spv-acc{border:1px solid rgba(0,0,0,.1);border-radius:.6rem;margin-bottom:.75rem;overflow:hidden;background:#fff}
.spv-acc>summary{cursor:pointer;padding:.85rem 1.15rem;font-weight:600;background:#f5f6f7;list-style:none;position:relative}
.spv-acc>summary::-webkit-details-marker{display:none}
.spv-acc>summary::after{content:"+";position:absolute;right:1.15rem;font-weight:700}
.spv-acc[open]>summary::after{content:"–"}
.spv-acc-body{padding:1rem 1.15rem;overflow-x:auto}

/* Termin-Module (Seitenleiste + Mannschaftsseiten): nicht über den Rand laufen */
.spv-termine table{table-layout:fixed;width:100%!important}
.spv-termine .spv-ev{min-width:0}
.spv-termine .spv-info{flex:1 1 auto;min-width:0;overflow:hidden}
.spv-termine .spv-t{overflow-wrap:anywhere;hyphens:auto}
.spv-termine .spv-loc{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Trainer ohne Foto: runder Kreis mit Personen-Symbol statt Silhouette */
.spv-trainer .personpicture,.spv-trainer .personinfo{margin:0!important;padding:0!important;float:none!important}
.spv-trainer .picture{position:relative;width:64px;height:64px;flex:0 0 64px;border-radius:50%;overflow:hidden;background:#e4e6e8}
.spv-trainer .picture img[src*="silhouette"]{visibility:hidden}
.spv-trainer .picture:has(img[src*="silhouette"])::after{content:"\f007";font-family:"Font Awesome 6 Free","Font Awesome 5 Free";font-weight:900;position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:1.6rem;color:#9aa0a6}

/* Helix-Seitenkopf: ruhiger dunkler Balken statt Foto (Foto steht im Beitrag) */
#sp-title .sp-page-title{background:#222 !important;background-image:none !important;padding:2.2rem 0 1.9rem;margin-bottom:0}
#sp-title .sp-page-title-heading{color:#fff;margin:0;font-size:2rem;font-weight:700}
#sp-title .sp-page-title-sub-heading{color:rgba(255,255,255,.75);font-size:1rem;font-weight:400;margin:.4rem 0 0}
#sp-title .sp-page-title .mod-breadcrumbs__wrapper{display:none}
.spv-termine table,.spv-termine tr,.spv-termine td{width:100%;border:0!important;background:none!important;padding:0!important}
.spv-ev{display:flex;gap:.75rem;align-items:flex-start;padding:.6rem 0;border-bottom:1px solid rgba(0,0,0,.08)}
.spv-termine tr:last-child .spv-ev{border-bottom:0}
.spv-date{flex:0 0 3.2rem;text-align:center;border:1px solid rgba(0,0,0,.15);border-radius:.4rem;overflow:hidden;line-height:1.1;background:#fff}
.spv-m{display:block;background:#4a6c85;color:#fff;font-size:.7rem;text-transform:uppercase;letter-spacing:.03em;padding:.15rem 0}
.spv-d{display:block;font-size:1.35rem;font-weight:700;padding:.2rem 0}
.spv-t{font-weight:600;line-height:1.3}
.spv-t a{text-decoration:none}
.spv-time,.spv-loc{font-size:.85rem;opacity:.75}
.spv-loc:empty{display:none}


/* ===== Übrige Seiten (23.11.) ===== */
/* Personen-Raster */
.spv-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem;margin:0 0 2rem}
.spv-people .te{margin:0!important;height:100%}
.spv-people .person{width:auto!important;float:none!important;margin:0!important;height:100%;background:#f5f6f7;border-radius:.75rem;padding:1rem 1.1rem;border-left:4px solid #4a6c85}
.spv-people .innerperson{display:flex;align-items:center;gap:.9rem}
.spv-people .personpicture,.spv-people .personinfo{margin:0!important;padding:0!important;float:none!important}
.spv-people .picture{position:relative;width:72px;height:72px;flex:0 0 72px;border-radius:50%;overflow:hidden;background:#e4e6e8}
.spv-people .picture img{width:72px!important;height:72px!important;object-fit:cover}
.spv-people .picture img[src*="silhouette"]{visibility:hidden}
.spv-people .picture:has(img[src*="silhouette"])::after{content:"\f007";font-family:"Font Awesome 6 Free","Font Awesome 5 Free";font-weight:900;position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:1.8rem;color:#9aa0a6}
.spv-people .vcard,.spv-people .category,.spv-people .picture_veil,.spv-people .text_veil{display:none!important}
.spv-people .fieldname{font-weight:700}
.spv-people .fieldposition{font-size:.88rem;opacity:.7}
.spv-people .personfield{margin:.1rem 0}
/* Kacheln (Übersichtsseiten) */
.spv-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1.25rem}
.spv-tile{display:block;border-radius:.75rem;overflow:hidden;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.08);text-decoration:none!important;color:inherit;transition:transform .15s,box-shadow .15s}
.spv-tile:hover{transform:translateY(-3px);box-shadow:0 10px 26px rgba(0,0,0,.14)}
.spv-tile-img{display:block;aspect-ratio:16/9;overflow:hidden;background:#e4e6e8}
.spv-tile-img img{width:100%;height:100%;object-fit:cover}
.spv-tile-name{display:block;padding:.8rem 1rem;font-weight:700;border-top:3px solid #4a6c85}
/* Bilder & Galerie */
.spv-img{margin:1rem 0}.spv-img img,.spv-gallery img{width:100%;height:auto;border-radius:.6rem}
.spv-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin:1rem 0}
.spv-gallery img{aspect-ratio:4/3;object-fit:cover}
.spv-text{margin-bottom:1.5rem}
.spv-chronik td:first-child{white-space:nowrap;width:9.5rem;font-variant-numeric:tabular-nums}
.spv-map iframe,.spv-map .phocamaps{max-width:100%;border-radius:.5rem}
/* Zeitstrahl (Geschichte) */
.spv-timeline{position:relative;margin:2rem 0;padding-left:1.75rem;border-left:3px solid #4a6c85}
.spv-tl-item{position:relative;margin:0 0 2.5rem}
.spv-tl-item::before{content:"";position:absolute;left:calc(-1.75rem - 9px);top:.35rem;width:15px;height:15px;border-radius:50%;background:#fff;border:3px solid #4a6c85}
.spv-tl-year{display:inline-block;background:#4a6c85;color:#fff;font-weight:700;padding:.2rem .7rem;border-radius:.35rem;margin-bottom:.8rem;letter-spacing:.03em}
.spv-tl-body h3{font-size:1.1rem;margin:1.25rem 0 .5rem}
/* Beitrags-Listen (Aktuelles, Startseite) als Karten */
.blog .blog-item.article,.blog-featured .blog-item.article{background:#fff;border-radius:.75rem;box-shadow:0 4px 16px rgba(0,0,0,.08);padding:1.25rem 1.5rem;margin-bottom:1.5rem}
.blog .featured-article-badge,.blog-featured .featured-article-badge{display:none}
.blog .article-header h2,.blog-featured .article-header h2{font-size:1.35rem;margin-bottom:.35rem}
.blog .article-header h2 a,.blog-featured .article-header h2 a{text-decoration:none}
.blog .article-info,.blog-featured .article-info{font-size:.85rem;opacity:.7;margin-bottom:.75rem}
.blog .article-introtext img,.blog-featured .article-introtext img{width:100%;height:auto;border-radius:.6rem;float:none!important;margin:0 0 1rem}

/* Trombinoscope setzt Stile per #te_ID – daher !important */
.spv-people .person{background:#f5f6f7!important;border-radius:.75rem!important;padding:1rem 1.1rem!important;border-left:4px solid #4a6c85!important;box-sizing:border-box}
.spv-people .picture,.spv-trainer .picture{width:72px!important;height:72px!important;min-width:72px;border-radius:50%!important;overflow:hidden!important;padding:0!important;margin:0!important;border:0!important}
.spv-trainer .picture{width:64px!important;height:64px!important;min-width:64px}
.spv-people .picture img,.spv-trainer .picture img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center 20%}
.spv-people .personpicture,.spv-trainer .personpicture{width:auto!important;height:auto!important}
.spv-people .personinfo,.spv-trainer .personinfo{width:auto!important;min-width:0}
.spv-people .personfield .fieldvalue{word-break:break-word}
.spv-termine .spv-t{overflow-wrap:break-word;word-break:normal;hyphens:manual}

/* Personenkarten v2: breiter, Foto oben im Hochformat (23.11.) */
.spv-people{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))!important;gap:1.25rem!important}
.spv-people .person{border-left:0!important;border-top:4px solid #4a6c85!important;padding:1.25rem!important;text-align:center}
.spv-people .innerperson{flex-direction:column!important;align-items:center!important;gap:.75rem!important}
.spv-people .picture{width:140px!important;height:175px!important;min-width:140px;border-radius:.6rem!important}
.spv-people .picture img{object-position:center top!important}
.spv-people .picture:has(img[src*="silhouette"])::after{font-size:3rem}
.spv-people .personinfo{text-align:center}
.spv-people .fieldname{font-size:1.1rem}
.spv-people .personfield{justify-content:center}
.spv-people .personfield .fieldvalue{overflow-wrap:anywhere}

/* Trainerkarten v2: Hochformat wie Personenkarten (23.11.) */
.spv-trainer .person,.spv-people .person{min-width:0!important;width:auto!important;margin:0!important}
.spv-trainer{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}
.spv-trainer .te,.spv-trainer .personlist{display:contents!important}
.spv-trainer .person{background:#fff!important;border-radius:.6rem!important;padding:.9rem .75rem!important;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.06)}
.spv-trainer .innerperson{flex-direction:column!important;align-items:center!important;gap:.6rem!important}
.spv-trainer .picture{width:110px!important;height:138px!important;min-width:110px;border-radius:.5rem!important}
.spv-trainer .picture img{object-position:center top!important}
.spv-trainer .picture:has(img[src*="silhouette"])::after{font-size:2.4rem}
.spv-trainer .personinfo{text-align:center}
.spv-trainer .personfield{justify-content:center}
.spv-trainer .personfield .fieldvalue{overflow-wrap:anywhere;font-size:.85rem}

.spv-box .spv-trainer .picture,.spv-people .te .picture{border-radius:.5rem!important}
.spv-trainer .picture img,.spv-people .picture img{border-radius:0!important}
.spv-trainer .person{border-top:3px solid #4a6c85!important}

/* BFV-Einträge "SPIELFREI" ausblenden */
.spv-termine tr:has(a[href*="spielfrei" i]),.spv-termine .spv-ev:has(a[href*="spielfrei" i]){display:none!important}

/* Sportart + Mannschaft in "Nächste Spiele" (Text = Kalendername) */
.spv-info{min-width:0}
.spv-cat{display:inline-block;max-width:100%;font-size:.72rem;font-weight:700;line-height:1.25;padding:.2rem .55rem;border-radius:1rem;margin-bottom:.3rem;background:#e4e6e8;color:#333}
.spv-cat::before{margin-right:.3rem}
.spv-cat[data-cal^="Fußball"]{background:#4a6c85;color:#fff}
.spv-cat[data-cal^="Fußball"]::before{content:"⚽"}
.spv-cat[data-cal^="Tischtennis"]{background:#fff;color:#4a6c85;box-shadow:inset 0 0 0 1px #4a6c85}
.spv-cat[data-cal^="Tischtennis"]::before{content:"🏓"}

/* Seitenspalte bei mittlerer Breite breiter (sonst nur ~210px) */
@media (min-width:992px) and (max-width:1399.98px){
#sp-main-body #sp-component.col-lg-9{flex:0 0 66.6667%;max-width:66.6667%;width:66.6667%}
#sp-main-body #sp-right.col-lg-3{flex:0 0 33.3333%;max-width:33.3333%;width:33.3333%}
}
#sp-right .sp-module.spv-termine{padding:20px}

/* Restseiten (23.11. b): Downloads, Mitgliedschaft, Trainingszeiten */
.spv-intro{font-size:1.1rem;color:#444;margin:0 0 1.5rem}
.spv-section{margin-top:.5rem}
.spv-docs{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:.75rem;margin:0 0 2rem}
.spv-doc{display:flex;align-items:center;gap:.9rem;padding:.8rem 1rem;background:#fff;border:1px solid rgba(0,0,0,.1);border-radius:.6rem;text-decoration:none!important;color:inherit!important;transition:border-color .15s,box-shadow .15s,transform .15s}
.spv-doc:hover{border-color:#4a6c85;box-shadow:0 6px 18px rgba(0,0,0,.1);transform:translateY(-2px)}
.spv-doc-ic{flex:0 0 auto;width:2.6rem;height:2.6rem;border-radius:.4rem;background:#4a6c85;color:#fff;font-size:.7rem;font-weight:700;letter-spacing:.05em;display:flex;align-items:center;justify-content:center}
.spv-doc-txt{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}
.spv-doc-txt small{color:#777}
.spv-doc-dl{flex:0 0 auto;font-size:1.2rem;font-weight:700;color:#4a6c85}
.spv-prices{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.75rem;margin:0 0 2rem}
.spv-price{background:#f5f6f7;border-radius:.6rem;padding:1rem 1.15rem;border-top:3px solid #4a6c85;display:flex;flex-direction:column;justify-content:space-between;gap:.5rem}
.spv-price-l{font-weight:600;line-height:1.3}.spv-price-l small{display:block;font-weight:400;color:#777}
.spv-price-v{font-size:1.5rem;font-weight:700;line-height:1.2}.spv-price-v.sm{font-size:1rem}
.spv-price-v small{font-size:.8rem;font-weight:400;color:#777;margin-left:.3rem}
.spv-times{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem;margin:0 0 2rem}
.spv-time-card{background:#f5f6f7;border-radius:.75rem;padding:1.25rem;border-top:3px solid #4a6c85;display:flex;flex-direction:column;gap:.3rem}
.spv-time-grp{text-transform:uppercase;letter-spacing:.06em;font-weight:700;font-size:.85rem}
.spv-time-val{font-size:1.2rem;font-weight:700;white-space:nowrap}
.spv-img figcaption,.spv-teamfoto figcaption{text-align:center;color:#666;font-size:.9rem;margin-top:.5rem}

/* JEvents-Monatskalender: Farben wie BFV-Widget (#4a6c85) belassen */
#jevents .new-navigation .nav-items>div a{border-radius:.3rem}
#jevents .cal_daysoutofmonth{background:#f5f6f7!important}
#jevents .cal_today{background:#f5f6f7!important;box-shadow:inset 0 0 0 2px #4a6c85}
#jevents .cal_today .cal_daylink{font-weight:700}
#jevents .eventstyle{border-radius:.3rem;background:#fafafa;padding:.25rem .4rem;margin-bottom:.3rem}

/* Vereinsblau #4a6c85 einheitlich (23.11.) */
:root{--bs-primary:#4a6c85;--bs-primary-rgb:74,108,133;--bs-link-color:#4a6c85;--bs-link-color-rgb:74,108,133;--bs-link-hover-color:#344d60}
#sp-top-bar{background:#4a6c85!important}
#sp-main-body a:not(.btn):not(.spv-tile):not(.spv-doc),.breadcrumb a,.offcanvas-menu .menu-child a,.offcanvas-menu a{color:#4a6c85}
#sp-main-body a:not(.btn):not(.spv-tile):not(.spv-doc):hover,.breadcrumb a:hover{color:#344d60}
.btn-primary{--bs-btn-bg:#4a6c85;--bs-btn-border-color:#4a6c85;--bs-btn-hover-bg:#344d60;--bs-btn-hover-border-color:#344d60;--bs-btn-active-bg:#344d60;--bs-btn-active-border-color:#344d60;background-color:#4a6c85!important;border-color:#4a6c85!important}
.btn-primary:hover,.btn-primary:focus{background-color:#344d60!important;border-color:#344d60!important}
#sp-main-body .article-can-edit a{color:#fff!important;background-color:#4a6c85!important;border-color:#4a6c85!important}
.spv-doc-txt strong{overflow-wrap:break-word;hyphens:auto}

/* Gruppenkarten (Kinderturnen) */
.spv-groups{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:1.25rem;margin:0 0 2rem}
.spv-group{background:#f5f6f7;border-radius:.75rem;border-top:3px solid #4a6c85;padding:1.25rem}
.spv-group h3{font-size:1.05rem;font-weight:700;margin:0 0 .75rem}
.spv-group-body{display:flex;gap:1rem;align-items:flex-start}
.spv-group-body .spv-list{flex:1;min-width:0}
.spv-group-body .spv-list li{border:0;padding:0}
.spv-group-body .spv-trainer{flex:0 0 165px}
.spv-group-body .spv-trainer .personlist{display:block!important}
