/*
Theme Name: RSV Modern V3
Author: MitchForge
Version: 3.21.0
Description: Dynamisches WordPress-Theme für den Rödemisser SV.
Requires PHP: 8.1
*/
:root{--green:#006837;--red:#d71920;--dark:#0d2418;--cream:#f4f1e9;--white:#fff;--shadow:0 14px 35px rgba(0,0,0,.15)}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;color:#173224;background:var(--cream);padding-bottom:78px}a{color:inherit}.wrap{width:min(1180px,calc(100% - 36px));margin:auto}.site-header{position:sticky;top:0;z-index:1000;background:rgba(0,104,55,.97);box-shadow:0 4px 18px rgba(0,0,0,.18)}.header-inner{display:flex;align-items:center;gap:28px;min-height:82px}.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-weight:800}.brand img{width:58px;height:58px;object-fit:contain}.main-nav{margin-left:auto}.rsv-nav-list,.rsv-nav-list ul{list-style:none;margin:0;padding:0}.rsv-nav-list{display:flex;align-items:center;gap:4px}.rsv-nav-list>li{position:relative}.rsv-nav-list a{display:block;color:#fff;text-decoration:none;padding:28px 12px;font-weight:700}.rsv-nav-list a:hover{background:rgba(255,255,255,.1)}.sub-menu{display:none;position:absolute;top:100%;left:0;min-width:220px;background:#fff;box-shadow:var(--shadow);border-radius:0 0 14px 14px;overflow:hidden}.sub-menu a{color:#173224;padding:13px 18px}.menu-item-has-children:hover>.sub-menu{display:block}.member-btn{background:var(--red);color:#fff;text-decoration:none;padding:13px 18px;border-radius:12px;font-weight:800}.mobile-toggle{display:none;background:none;border:0;color:#fff;font-size:28px}.hero{min-height:620px;position:relative;display:flex;align-items:center;background:linear-gradient(90deg,rgba(8,35,23,.94),rgba(8,35,23,.42)),url('assets/images/tennisanlage.jpg') center/cover}.hero-content{position:relative;color:#fff;padding:78px 0}.hero-copy{max-width:660px}.eyebrow{font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#dcecdf}.hero h1{font-size:clamp(46px,7vw,86px);line-height:.98;margin:16px 0 22px;text-transform:uppercase}.hero h1 span{color:#7fd09f}.hero p{font-size:20px;line-height:1.65}.hero-logo{position:absolute;right:6%;top:50%;width:min(29vw,380px);transform:translateY(-50%) rotate(-7deg);filter:drop-shadow(0 22px 18px rgba(0,0,0,.45))}.btn{display:inline-block;padding:14px 22px;border-radius:13px;text-decoration:none;font-weight:800;margin-right:10px}.btn-green{background:var(--green);color:#fff}.btn-red{background:var(--red);color:#fff}.btn-light{background:#fff;color:var(--green)}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:-54px;position:relative;z-index:4}.quick-card{background:#fff;padding:24px;border-radius:18px;box-shadow:var(--shadow)}.quick-card h3{margin-top:0}.section{padding:80px 0}.section.white{background:#fff}.section-title{text-align:center;font-size:42px;margin:0 0 36px}.section-title span{color:var(--green)}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.news-card{background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 12px 30px rgba(0,0,0,.1)}.news-card img{width:100%;height:220px;object-fit:cover}.news-card .inside{padding:22px}.news-card h3{font-size:24px}.partner-section{background:#0d2418;color:#fff}.site-footer{background:#07170f;color:#fff;padding:42px 0 105px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.sticky-partners{position:fixed;left:0;right:0;bottom:0;z-index:999;background:#fff;box-shadow:0 -4px 18px rgba(0,0,0,.18)}.content-area{min-height:65vh;padding:60px 0}.content-card{background:#fff;padding:32px;border-radius:20px;box-shadow:0 10px 30px rgba(0,0,0,.08)}@media(max-width:980px){.main-nav{display:none;position:absolute;top:82px;left:0;right:0;background:var(--green);padding:16px}.main-nav.open{display:block}.rsv-nav-list{display:block}.rsv-nav-list a{padding:14px}.sub-menu{display:block;position:static;background:rgba(0,0,0,.12);box-shadow:none}.sub-menu a{color:#fff;padding-left:32px}.mobile-toggle{display:block;margin-left:auto}.member-btn{display:none}.hero-logo{opacity:.3;width:48vw}.quick-grid{grid-template-columns:repeat(2,1fr)}.news-grid{grid-template-columns:1fr 1fr}}@media(max-width:680px){body{padding-bottom:68px}.hero{min-height:560px}.hero-content{padding:54px 0}.hero h1{font-size:44px}.hero p{font-size:17px}.hero-logo{width:65vw;right:-10%}.quick-grid{grid-template-columns:1fr;margin-top:-32px}.section{padding:58px 0}.section-title{font-size:34px}.news-grid,.footer-grid{grid-template-columns:1fr}.brand span{display:none}}


/* Theme 3.3 – zweite Hauptaktion */
.header-actions{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.sponsor-btn,.member-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:18px;font-weight:900;text-decoration:none;white-space:nowrap}
.sponsor-btn{background:#fff;color:#08783e;border:2px solid rgba(255,255,255,.9)}
.sponsor-btn:hover{background:#f3f7f4;color:#075e32}
@media(max-width:1100px){.header-actions{gap:8px}.sponsor-btn,.member-btn{padding:0 16px;min-height:48px;font-size:.95rem}}
@media(max-width:850px){.header-actions{display:none}}


/* Theme 3.4 – bereinigter Hero und Footer */
.hero-copy .btn{display:none}
.footer-grid-compact{grid-template-columns:minmax(0,2fr) minmax(220px,1fr);align-items:start}
.footer-grid-compact>div:last-child{text-align:right}
.footer-grid-compact a{text-decoration:none}
.footer-grid-compact a:hover{text-decoration:underline}
@media(max-width:680px){.footer-grid-compact{grid-template-columns:1fr}.footer-grid-compact>div:last-child{text-align:left}}


/* Theme 3.5 – Schnellbereich mit nächstem und letztem Spiel */
.rsv-home-card__teams{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin:4px 0}
.rsv-home-card__team{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;gap:6px}
.rsv-home-card__team img{width:54px;height:54px;object-fit:contain;display:block;filter:drop-shadow(0 3px 5px rgba(0,0,0,.25))}
.rsv-home-card__team span{font-size:.85rem;font-weight:800;line-height:1.15;overflow-wrap:anywhere}
.rsv-home-card__versus{font-size:1.15rem;font-weight:1000;white-space:nowrap}
.rsv-home-card__details{display:flex;flex-direction:column;gap:3px;font-size:.84rem;line-height:1.25}
.rsv-home-card--last-game{background-color:#fff}
.rsv-home-card--last-game[style]{color:#fff}
@media(max-width:650px){.rsv-home-card__team img{width:48px;height:48px}.rsv-home-card__team span{font-size:.8rem}}

.rsv-single-hero{width:100%;max-height:520px;object-fit:cover;border-radius:22px;margin-bottom:24px}

/* Theme 3.8 – Bilder vollständig anzeigen, statt sie abzuschneiden */
.news-card img,
.rsv-news-card img,
.rsv-team-card img,
.rsv-person-card img,
.rsv-player-card img,
.rsv-person-image-link img,
.rsv-player-image img,
.rsv-person-profile-photo img,
.rsv-placeholder-image{
  object-fit:contain !important;
  object-position:center !important;
  background:linear-gradient(145deg,#f7faf8 0%,#e7f0ea 100%);
}
.news-card img,
.rsv-news-card img,
.rsv-team-card img{
  padding:10px;
}
.rsv-person-card img,
.rsv-player-card img,
.rsv-person-image-link img,
.rsv-player-image img{
  padding:6px;
}
.rsv-person-profile-photo{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:320px;
  border-radius:22px;
  overflow:hidden;
  background:linear-gradient(145deg,#f7faf8 0%,#e7f0ea 100%);
}
.rsv-person-profile-photo img{
  padding:10px;
  max-height:680px;
}
.rsv-placeholder-image{padding:0 !important}
@media(max-width:520px){
  .news-card img,.rsv-news-card img,.rsv-team-card img{padding:7px}
  .rsv-person-card img,.rsv-player-card img,.rsv-person-image-link img,.rsv-player-image img{padding:4px}
}

/* Theme 3.10 – getrennte Schnellkarten-Hintergründe und vollständige Bilddarstellung */
.rsv-home-card{
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:center!important;
  color:#fff!important;
  text-shadow:0 2px 8px rgba(0,0,0,.55);
}
.rsv-home-card--game{background-color:#075c35}
.rsv-home-card--last-game{background-color:#173c2a}
.rsv-home-card--event{background-color:#b91520}
.rsv-home-card--news{background-color:#08703e}

/* Kartenbilder nie abschneiden: komplette Grafik mit ruhigem Rahmen zeigen. */
.rsv-sport-card img,
.rsv-team-card img,
.rsv-news-card img,
.news-card img,
.rsv-social-card img,
.rsv-venue-card img,
.rsv-gallery-card img,
.rsv-chronicle-card img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:3/2!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:8px!important;
  background:linear-gradient(145deg,#f8faf8,#e9f1ec)!important;
}
.rsv-placeholder-image{padding:0!important;background:#075b32!important}

/* Personenfotos: vollständiges Hochformat statt quadratischem Beschnitt. */
.rsv-person-card img,
.rsv-player-card img,
.rsv-person-image-link img,
.rsv-player-image img{
  display:block!important;
  width:165px!important;
  height:auto!important;
  aspect-ratio:4/5!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:5px!important;
  background:linear-gradient(145deg,#f8faf8,#e9f1ec)!important;
  border-radius:14px!important;
}
.rsv-person-card,.rsv-player-card{align-items:flex-start!important;overflow:visible!important}
.rsv-person-image-link,.rsv-player-image{flex:0 0 165px!important}
.rsv-person-profile-photo img,.rsv-single-hero{
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
}
@media(max-width:800px){
  .rsv-person-card img,.rsv-player-card img,.rsv-person-image-link img,.rsv-player-image img{width:135px!important}
  .rsv-person-image-link,.rsv-player-image{flex-basis:135px!important}
}
@media(max-width:520px){
  .rsv-person-card img,.rsv-player-card img,.rsv-person-image-link img,.rsv-player-image img{width:100%!important;max-width:320px!important;margin-inline:auto!important}
  .rsv-person-image-link,.rsv-player-image{flex-basis:auto!important;width:100%!important}
}

/* Theme 3.10 – getrennte Schnellkarten-Hintergründe und vollständige Bilddarstellung */
.rsv-home-card{background-repeat:no-repeat!important;background-size:cover!important;background-position:center!important;color:#fff!important;text-shadow:0 2px 8px rgba(0,0,0,.55)}
.rsv-home-card--game{background-color:#075c35}.rsv-home-card--last-game{background-color:#173c2a}.rsv-home-card--event{background-color:#b91520}.rsv-home-card--news{background-color:#08703e}
.rsv-sport-card img,.rsv-team-card img,.rsv-news-card img,.news-card img,.rsv-social-card img,.rsv-venue-card img,.rsv-gallery-card img,.rsv-chronicle-card img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:3/2!important;object-fit:contain!important;object-position:center!important;padding:8px!important;background:linear-gradient(145deg,#f8faf8,#e9f1ec)!important}
.rsv-placeholder-image{padding:0!important;background:#075b32!important}
.rsv-person-card img,.rsv-player-card img,.rsv-person-image-link img,.rsv-player-image img{display:block!important;width:165px!important;height:auto!important;aspect-ratio:4/5!important;object-fit:contain!important;object-position:center!important;padding:5px!important;background:linear-gradient(145deg,#f8faf8,#e9f1ec)!important;border-radius:14px!important}
.rsv-person-card,.rsv-player-card{align-items:flex-start!important;overflow:visible!important}.rsv-person-image-link,.rsv-player-image{flex:0 0 165px!important}
.rsv-person-profile-photo img,.rsv-single-hero{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center!important}
@media(max-width:800px){.rsv-person-card img,.rsv-player-card img,.rsv-person-image-link img,.rsv-player-image img{width:135px!important}.rsv-person-image-link,.rsv-player-image{flex-basis:135px!important}}
@media(max-width:520px){.rsv-person-card img,.rsv-player-card img,.rsv-person-image-link img,.rsv-player-image img{width:100%!important;max-width:320px!important;margin-inline:auto!important}.rsv-person-image-link,.rsv-player-image{flex-basis:auto!important;width:100%!important}}

/* Theme 3.11 – einheitliche News-Karten wie die regulären Inhaltskarten */
.rsv-news-grid{align-items:stretch}
.rsv-news-card,.rsv-news-card-link{
  display:flex!important;flex-direction:column!important;height:100%!important;
  overflow:hidden!important;border-radius:22px!important;background:#fff!important;
  color:#102d20!important;text-decoration:none!important;
  box-shadow:0 14px 34px rgba(0,45,25,.12)!important
}
.rsv-news-card>img,.rsv-news-card-link>img{
  width:100%!important;aspect-ratio:3/2!important;height:auto!important;
  object-fit:contain!important;object-position:center!important;padding:0!important;
  background:linear-gradient(145deg,#f7faf8,#e8f0eb)!important;border-radius:0!important
}
.rsv-news-card>div,.rsv-news-card-link>div{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  gap:9px!important;flex:1 1 auto!important;padding:20px 22px 22px!important
}
.rsv-news-card time{font-size:.9rem!important;color:#587065!important}
.rsv-news-card h3{margin:0!important;font-size:1.32rem!important;line-height:1.18!important;color:#102d20!important}
.rsv-news-card p{margin:0!important;line-height:1.48!important;color:#233c30!important}
.rsv-news-card .rsv-video-badge{margin-top:auto!important}
.rsv-news-card>div>a,.rsv-news-card .inside>a,.news-card .inside>a{display:none!important}

/* Theme 3.12 – helle, einheitliche Schnellkarten und unbeschnittene Personenbilder */
.rsv-home-cards{align-items:stretch}
.rsv-home-card{
  min-height:300px!important;
  justify-content:flex-start!important;
  padding:30px 30px 92px!important;
  color:#103421!important;
  text-shadow:none!important;
  background-size:cover!important;
  background-position:center!important;
  border:1px solid rgba(0,104,55,.14)!important;
  box-shadow:0 18px 42px rgba(18,65,40,.14)!important;
}
.rsv-home-card--game,.rsv-home-card--last-game,.rsv-home-card--event,.rsv-home-card--news{color:#103421!important}
.rsv-home-card__label{font-size:1.52rem!important;line-height:1.12;color:#075f34!important;margin:0 46px 18px 0!important}
.rsv-home-card--event .rsv-home-card__label{color:#c51723!important}
.rsv-home-card__arrow{color:#075f34!important;text-shadow:none!important}
.rsv-home-card--event .rsv-home-card__arrow{color:#c51723!important}
.rsv-home-card__teams{margin:8px 0 16px!important}
.rsv-home-card__team img{width:66px!important;height:66px!important;object-fit:contain!important;filter:drop-shadow(0 4px 5px rgba(0,0,0,.12))!important}
.rsv-home-card__team span,.rsv-home-card__versus,.rsv-home-card strong,.rsv-home-card small,.rsv-home-card__details{color:#103421!important;text-shadow:none!important}
.rsv-home-card__details{margin-top:auto!important;font-weight:650!important}
.rsv-home-card strong{font-size:1.2rem!important;line-height:1.28!important}
.rsv-home-card small{font-size:.98rem!important;line-height:1.42!important}

/* Personen: Der Rahmen gibt das Format vor, das Bild selbst wird vollständig eingepasst. */
.rsv-person-image-link,.rsv-player-image{
  width:190px!important;height:238px!important;flex:0 0 190px!important;
  display:grid!important;place-items:center!important;overflow:hidden!important;
  border-radius:18px!important;background:linear-gradient(145deg,#f8fbf9,#e5efe9)!important;
}
.rsv-person-card img,.rsv-player-card img,.rsv-person-image-link img,.rsv-player-image img{
  width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;
  aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;
  padding:8px!important;margin:auto!important;border-radius:14px!important;background:transparent!important;
}
.rsv-person-card,.rsv-player-card{min-height:270px!important;align-items:center!important}
.rsv-person-profile-photo{min-height:0!important;aspect-ratio:4/5!important;padding:14px!important}
.rsv-person-profile-photo img{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;padding:0!important}
@media(max-width:800px){
 .rsv-person-image-link,.rsv-player-image{width:155px!important;height:194px!important;flex-basis:155px!important}
 .rsv-person-card,.rsv-player-card{min-height:225px!important}
}
@media(max-width:520px){
 .rsv-person-image-link,.rsv-player-image{width:min(100%,320px)!important;height:auto!important;aspect-ratio:4/5!important;flex-basis:auto!important;margin-inline:auto!important}
 .rsv-person-card,.rsv-player-card{align-items:flex-start!important}
 .rsv-home-card{min-height:270px!important;padding:26px 24px 84px!important}
}

/* Theme 3.13 – helle Schnellkarten und Personenbilder mit vollständiger Einpassung */
.rsv-home-card{
  isolation:isolate!important;
  background-color:#fff!important;
  color:#073b24!important;
  border:2px solid rgba(0,104,55,.42)!important;
  box-shadow:0 16px 36px rgba(0,70,40,.12)!important;
}
.rsv-home-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:rgba(255,255,255,.86);
  pointer-events:none;
}
.rsv-home-card--event{border-color:rgba(215,25,32,.48)!important}
.rsv-home-card--event::before{background:rgba(255,255,255,.84)}
.rsv-home-card__label,.rsv-home-card__team span,.rsv-home-card__versus,.rsv-home-card strong,.rsv-home-card small,.rsv-home-card__details,.rsv-home-card__arrow{color:#073b24!important;text-shadow:none!important}
.rsv-home-card--event .rsv-home-card__label,.rsv-home-card--event .rsv-home-card__arrow{color:#c91824!important}
.rsv-person-image-link,.rsv-player-image{display:flex!important;align-items:center!important;justify-content:center!important;width:190px!important;height:238px!important;flex:0 0 190px!important;padding:10px!important;overflow:hidden!important;border:2px solid rgba(0,104,55,.42)!important;border-radius:18px!important;background:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.8),0 8px 22px rgba(0,65,36,.08)!important}
.rsv-person-image-link img,.rsv-player-image img,.rsv-person-card img,.rsv-player-card img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;padding:0!important;margin:0!important;border-radius:12px!important;background:#fff!important}
.rsv-person-card,.rsv-player-card{background:#fff!important;border:1px solid rgba(0,104,55,.12)!important}
.rsv-person-profile-photo{background:#fff!important;border:2px solid rgba(0,104,55,.35)!important}
.rsv-person-profile-photo img{object-fit:contain!important;background:#fff!important}
@media(max-width:800px){.rsv-person-image-link,.rsv-player-image{width:155px!important;height:194px!important;flex-basis:155px!important}}
@media(max-width:520px){.rsv-person-image-link,.rsv-player-image{width:min(100%,320px)!important;height:auto!important;aspect-ratio:4/5!important;flex-basis:auto!important}}

/* Theme 3.14 – Galerie kompakt wie die Schnellkarten */
.rsv-gallery-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important;gap:20px!important}
.rsv-gallery-card{min-height:300px!important;max-height:340px!important;border-radius:24px!important}
.rsv-gallery-card>img,.rsv-gallery-placeholder{height:230px!important;min-height:230px!important;flex-basis:230px!important}
.rsv-gallery-card>span{min-height:70px!important;padding:14px 18px!important}
@media(max-width:700px){.rsv-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.rsv-gallery-card>img,.rsv-gallery-placeholder{height:180px!important;min-height:180px!important;flex-basis:180px!important}}
@media(max-width:440px){.rsv-gallery-grid{grid-template-columns:1fr!important}}


/* RSV Modern Theme 3.15 – Social-Media-Bereich auf der Startseite */
.rsv-home-social{background:linear-gradient(180deg,#fff 0%,#f5f8f6 100%)}
.rsv-home-social .rsv-social-channels{margin-bottom:4px}


/* RSV Modern Theme 3.16 – einheitliches Kartenraster und Social-Media-Link */
.rsv-section-heading-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:28px;
}
.rsv-section-heading-row .section-title{margin:0!important}
.rsv-section-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:13px 18px;
  border:2px solid #08723f;
  border-radius:999px;
  background:#fff;
  color:#075d35;
  font-weight:850;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:0 8px 22px rgba(0,70,40,.08);
  transition:transform .2s ease,background .2s ease,color .2s ease;
}
.rsv-section-link:hover,.rsv-section-link:focus-visible{
  transform:translateY(-2px);
  background:#08723f;
  color:#fff;
  outline:none;
}
.rsv-section-link-mobile{display:none;text-align:center;margin-top:24px}
.rsv-home-social .rsv-social-grid,
.rsv-home-social .rsv-news-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.rsv-home-social .rsv-social-card{
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
}
.rsv-home-social .rsv-social-card>img{
  aspect-ratio:3/2!important;
  width:100%!important;
  height:auto!important;
  object-fit:contain!important;
}
.rsv-home-social .rsv-social-card__body{
  min-height:160px!important;
}
@media(max-width:980px){
  .rsv-home-social .rsv-social-grid,.rsv-home-social .rsv-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  .rsv-section-heading-row{display:block;margin-bottom:22px}
  .rsv-section-heading-row>.rsv-section-link{display:none}
  .rsv-section-link-mobile{display:block}
  .rsv-home-social .rsv-social-grid,.rsv-home-social .rsv-news-grid{grid-template-columns:1fr!important}
}


/* Theme 3.18 – Sponsorlevel, Laufzeiten und Startseitensteuerung */
.rsv-sponsor-levels{display:flex;flex-direction:column;gap:42px}
.rsv-sponsor-level{text-align:center}
.rsv-sponsor-level>h3{display:inline-flex;align-items:center;gap:10px;margin:0 0 22px;padding:8px 18px;border-radius:999px;background:rgba(255,255,255,.08);font-size:1.15rem;letter-spacing:.04em}
.rsv-sponsor-level--partner>h3{border:1px solid rgba(46,160,94,.7);color:#dff7e7}
.rsv-sponsor-level--gold>h3{border:1px solid #d4af37;color:#f3d978}
.rsv-sponsor-level--silver>h3{border:1px solid #bac3ca;color:#e4e8eb}
.rsv-sponsor-level--bronze>h3{border:1px solid #b87333;color:#e3ae79}
.rsv-sponsor-level .rsv-sponsor-grid{display:flex!important;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:22px!important}
.rsv-sponsor-card{flex:0 0 auto!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;min-height:220px;padding:22px!important;background:#fff;border-radius:24px;box-shadow:0 14px 30px rgba(0,0,0,.14);transition:transform .2s ease,box-shadow .2s ease}
.rsv-sponsor-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(0,0,0,.2)}
.rsv-sponsor-card--partner{width:360px;border:3px solid rgba(40,160,85,.55)}
.rsv-sponsor-card--gold{width:330px;border:3px solid rgba(212,175,55,.62)}
.rsv-sponsor-card--silver{width:250px;border:3px solid rgba(184,195,202,.78)}
.rsv-sponsor-card--bronze{width:190px;border:3px solid rgba(184,115,51,.65)}
.rsv-sponsor-card img{width:100%!important;height:145px!important;object-fit:contain!important;padding:6px!important;background:#fff!important}
.rsv-sponsor-card--partner img{height:180px!important}.rsv-sponsor-card--gold img{height:165px!important}.rsv-sponsor-card--bronze img{height:115px!important}
.rsv-sponsor-card strong{color:#12291d;text-align:center;font-size:1.05rem;line-height:1.25;margin-top:10px}
.rsv-sponsor-since{display:block;margin-top:8px;color:#587064;font-weight:700}
.rsv-sponsor-cta{text-align:center;margin-top:42px}
.rsv-section-link--light{border-color:#fff!important;background:#fff!important;color:#08723f!important}
.rsv-section-link--light:hover{background:#eaf5ef!important;color:#07552f!important}
@media(max-width:760px){.rsv-sponsor-card--partner,.rsv-sponsor-card--gold{width:min(100%,330px)}.rsv-sponsor-card--silver{width:240px}.rsv-sponsor-card--bronze{width:180px}}
@media(max-width:520px){.rsv-sponsor-level .rsv-sponsor-grid{gap:16px!important}.rsv-sponsor-card--partner,.rsv-sponsor-card--gold,.rsv-sponsor-card--silver,.rsv-sponsor-card--bronze{width:min(100%,320px)}.rsv-sponsor-card img,.rsv-sponsor-card--partner img,.rsv-sponsor-card--gold img,.rsv-sponsor-card--bronze img{height:150px!important}}


/* Theme 3.19 - RSV CMS 4.0 Vereinsnetzwerk */
.rsv-sponsor-level>h3{display:none!important}
.rsv-sponsor-card{border-width:6px!important;border-style:solid!important}
.rsv-sponsor-card--partner{border-color:#178548!important}
.rsv-sponsor-card--gold{border-color:#c9a227!important}
.rsv-sponsor-card--silver{border-color:#aeb7bd!important}
.rsv-sponsor-card--bronze{border-color:#a86a3d!important}
.rsv-cooperation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.rsv-cooperation-card{background:#fff;border:3px solid rgba(0,104,55,.22);border-radius:20px;overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,.09)}
.rsv-cooperation-card>img{width:100%;aspect-ratio:3/2;object-fit:contain;background:#f5f8f6;padding:14px}
.rsv-cooperation-card>div{padding:20px}.rsv-cooperation-card h3{margin:.35rem 0 1rem}.rsv-cooperation-type{display:inline-block;background:#e8f4ed;color:#006837;border-radius:999px;padding:5px 10px;font-weight:800;font-size:.82rem}
.rsv-cooperation-clubs{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.rsv-cooperation-clubs span{display:flex;align-items:center;gap:7px;background:#f5f7f5;border-radius:12px;padding:7px 10px}.rsv-cooperation-clubs img{width:38px;height:38px;object-fit:contain}
@media(max-width:900px){.rsv-cooperation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.rsv-cooperation-grid{grid-template-columns:1fr}}


/* Theme 3.20 – kompakte Galerie-Karten und vollständig sichtbare Medien */
.rsv-gallery-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,190px)!important;
  justify-content:start!important;
  align-items:start!important;
  gap:18px!important;
}
.rsv-gallery-card{
  width:190px!important;
  min-width:190px!important;
  max-width:190px!important;
  min-height:245px!important;
  max-height:none!important;
  display:flex!important;
  flex-direction:column!important;
  border-radius:20px!important;
  overflow:hidden!important;
}
.rsv-gallery-card>img,
.rsv-gallery-card>.rsv-gallery-placeholder{
  width:100%!important;
  height:150px!important;
  min-height:150px!important;
  max-height:150px!important;
  flex:0 0 150px!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:8px!important;
  background:#fff!important;
}
.rsv-gallery-placeholder{
  padding:18px 14px!important;
  align-items:flex-start!important;
  justify-content:flex-end!important;
}
.rsv-gallery-placeholder__label{font-size:.64rem!important}
.rsv-gallery-placeholder strong{font-size:1.02rem!important;line-height:1.12!important}
.rsv-gallery-placeholder__icon{font-size:1.1rem!important;top:12px!important;right:12px!important}
.rsv-gallery-card>span{
  min-height:82px!important;
  padding:12px 14px 14px!important;
  justify-content:flex-start!important;
}
.rsv-gallery-card>span strong{font-size:1rem!important;line-height:1.2!important}
.rsv-gallery-card>span small{font-size:.78rem!important}

/* Galerie-Detailseite: kein News-Platzhalter, kompakter Galeriekopf */
.rsv-single-gallery-hero{
  width:100%!important;
  max-height:300px!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:12px!important;
  border-radius:20px!important;
  background:linear-gradient(145deg,#f8faf8,#e9f1ec)!important;
}
.rsv-single-gallery-placeholder{
  min-height:230px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  position:relative;
  overflow:hidden;
  padding:30px;
  margin-bottom:28px;
  border-radius:22px;
  color:#fff;
  background:linear-gradient(150deg,#08783e 0%,#006837 60%,#073b24 100%);
}
.rsv-single-gallery-placeholder::before{
  content:"";
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(135deg,transparent 0 26px,rgba(255,255,255,.045) 26px 28px);
}
.rsv-single-gallery-placeholder::after{
  content:"";
  position:absolute;
  left:-5%;right:-5%;bottom:28px;height:9px;
  background:#ed1c24;
  transform:rotate(-1.5deg);
}
.rsv-single-gallery-placeholder>*{position:relative;z-index:1}
.rsv-single-gallery-placeholder small{font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.rsv-single-gallery-placeholder strong{font-size:clamp(1.8rem,5vw,3.4rem);line-height:1.04;margin-top:12px;max-width:80%}

/* Bilder innerhalb einer Galerie wie Bronze-Sponsoren */
.rsv-gallery-lightbox-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,190px)!important;
  justify-content:start!important;
  gap:18px!important;
}
.rsv-gallery-image{
  width:190px!important;
  min-width:190px!important;
  max-width:190px!important;
  border:5px solid rgba(0,104,55,.34)!important;
  border-radius:18px!important;
  background:#fff!important;
  overflow:hidden!important;
  cursor:zoom-in!important;
}
.rsv-gallery-image img{
  display:block!important;
  width:100%!important;
  height:145px!important;
  min-height:145px!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:7px!important;
  background:#fff!important;
  transform:none!important;
}
.rsv-gallery-image:hover img{transform:none!important}
.rsv-gallery-image span{padding:8px 10px!important;font-size:.78rem!important;line-height:1.25!important}

/* In-Page-Lightbox */
.rsv-gallery-modal[hidden]{display:none!important}
.rsv-gallery-modal{
  position:fixed;
  inset:0;
  z-index:100000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
}
.rsv-gallery-modal__backdrop{position:absolute;inset:0;background:rgba(3,24,14,.88);backdrop-filter:blur(5px)}
.rsv-gallery-modal__dialog{
  position:relative;
  z-index:1;
  width:min(1100px,96vw);
  max-height:92vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.rsv-gallery-modal__image{display:block;max-width:100%;max-height:82vh;object-fit:contain;border-radius:18px;background:#fff;box-shadow:0 26px 70px rgba(0,0,0,.5)}
.rsv-gallery-modal__caption{margin:10px 52px 0;color:#fff;text-align:center}
.rsv-gallery-modal__close{position:absolute;right:0;top:-48px;width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:#073b24;font-size:28px;line-height:1;cursor:pointer}
body.rsv-gallery-modal-open{overflow:hidden}

@media(max-width:700px){
 .rsv-gallery-grid,.rsv-gallery-lightbox-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .rsv-gallery-card,.rsv-gallery-image{width:100%!important;min-width:0!important;max-width:none!important}
 .rsv-gallery-card>img,.rsv-gallery-card>.rsv-gallery-placeholder{height:135px!important;min-height:135px!important;max-height:135px!important;flex-basis:135px!important}
 .rsv-gallery-image img{height:135px!important;min-height:135px!important}
}
@media(max-width:420px){
 .rsv-gallery-grid,.rsv-gallery-lightbox-grid{grid-template-columns:1fr!important}
 .rsv-gallery-card,.rsv-gallery-image{max-width:280px!important;margin-inline:auto!important}
}

/* Theme 3.21 – lesbare Galerie-Karten und Bildnavigation */
.rsv-gallery-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(190px,190px))!important;justify-content:start!important;gap:18px!important}
.rsv-gallery-card{width:190px!important;min-width:190px!important;max-width:190px!important;min-height:250px!important;max-height:none!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border:1px solid rgba(0,104,55,.24)!important;border-radius:22px!important;background:#fff!important;box-shadow:0 12px 28px rgba(11,46,29,.11)!important}
.rsv-gallery-card>img,.rsv-gallery-card>.rsv-gallery-placeholder{width:100%!important;height:145px!important;min-height:145px!important;max-height:145px!important;flex:0 0 145px!important;border-radius:0!important}
.rsv-gallery-card>img{object-fit:contain!important;object-position:center!important;padding:8px!important;background:#f7faf8!important}
.rsv-gallery-card>.rsv-gallery-placeholder{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:18px!important;background:linear-gradient(145deg,#08783e,#004a29)!important;color:#fff!important;overflow:hidden!important}
.rsv-gallery-card>.rsv-gallery-placeholder::before{content:"";position:absolute;inset:auto -15% -45px -15%;height:85px;border-radius:50% 50% 0 0;background:#063d25;border-top:6px solid #ed1c24}
.rsv-gallery-card>.rsv-gallery-placeholder .rsv-gallery-placeholder__label{position:relative;z-index:1;font-size:.7rem!important;line-height:1.25!important;letter-spacing:.06em!important;text-align:center!important;white-space:normal!important}
.rsv-gallery-card>.rsv-gallery-placeholder strong{display:none!important}
.rsv-gallery-card>.rsv-gallery-placeholder .rsv-gallery-placeholder__icon{position:absolute!important;right:12px!important;top:10px!important;font-size:1rem!important;opacity:.55!important}
.rsv-gallery-card>span{display:flex!important;flex:1!important;flex-direction:column!important;gap:7px!important;min-height:104px!important;padding:14px!important;background:#fff!important}
.rsv-gallery-card>span strong{display:block!important;color:#153a27!important;font-size:1rem!important;line-height:1.2!important;overflow-wrap:anywhere!important}
.rsv-gallery-card>span small{margin-top:auto!important;color:#5d7065!important;font-size:.76rem!important;line-height:1.35!important}
.rsv-gallery-modal__dialog{width:min(1180px,96vw)!important;max-height:94vh!important;display:grid!important;grid-template-columns:64px minmax(0,1fr) 64px!important;grid-template-rows:minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important}
.rsv-gallery-modal__stage{grid-column:2;grid-row:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.rsv-gallery-modal__image{max-height:72vh!important}
.rsv-gallery-modal__nav{width:54px;height:54px;border:2px solid rgba(255,255,255,.75);border-radius:50%;background:rgba(255,255,255,.94);color:#075f36;font-size:42px;line-height:1;cursor:pointer;box-shadow:0 8px 28px rgba(0,0,0,.28)}
.rsv-gallery-modal__prev{grid-column:1;grid-row:1}.rsv-gallery-modal__next{grid-column:3;grid-row:1}
.rsv-gallery-modal__counter{margin-top:9px;color:#fff;font-weight:800}.rsv-gallery-modal__thumbs{grid-column:1/-1;grid-row:2;display:flex;gap:9px;max-width:100%;overflow-x:auto;padding:8px 4px 4px}.rsv-gallery-modal__thumb{flex:0 0 74px;width:74px;height:58px;padding:3px;border:3px solid transparent;border-radius:10px;background:#fff;cursor:pointer;opacity:.72}.rsv-gallery-modal__thumb.is-active{border-color:#ed1c24;opacity:1}.rsv-gallery-modal__thumb img{display:block;width:100%;height:100%;object-fit:contain;background:#fff;border-radius:6px}
@media(max-width:700px){.rsv-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.rsv-gallery-card{width:100%!important;min-width:0!important;max-width:none!important}.rsv-gallery-modal__dialog{grid-template-columns:46px minmax(0,1fr) 46px!important;gap:6px!important}.rsv-gallery-modal__nav{width:42px;height:42px;font-size:34px}.rsv-gallery-modal__image{max-height:66vh!important}}
@media(max-width:420px){.rsv-gallery-grid{grid-template-columns:1fr!important}.rsv-gallery-card{max-width:270px!important;margin-inline:auto!important}}
