/* ==========================================================================
   TSV 1919 – Sportanlage
   Ausgelagert aus Page-Code-Injection (head) am 2026-08-15.
   Verbatim übernommen: bestehendes body.page-sportanlage-Scoping unverändert,
   keine Deduplizierung, keine Designänderung, keine Selektoren umgeschrieben,
   keine Breakpoints verändert.
   ========================================================================== */


/* =========================
   /sportanlage/ – STYLE
   ========================= */

/* Casper Page-Header aus */
body.page-sportanlage .article-header,
body.page-sportanlage .article-header *{
  display:none !important;
}

/* Full width raus aus Casper Container */
body.page-sportanlage #site-main,
body.page-sportanlage .site-main,
body.page-sportanlage .article,
body.page-sportanlage .post,
body.page-sportanlage .gh-content,
body.page-sportanlage .gh-content.gh-canvas{
  max-width:none !important;
  width:100% !important;
  padding-left:0 !important;
  padding-right:0 !important;
}

/* NUR unseren Block anzeigen */
body.page-sportanlage .gh-content.gh-canvas{ display:block !important; }
body.page-sportanlage .gh-content.gh-canvas > :not(.tsv-anlage){
  display:none !important;
}

/* Wrapper full-bleed */
body.page-sportanlage .tsv-anlage{
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  color: rgba(255,255,255,.92);
}

/* ================= HERO ================= */
body.page-sportanlage .tsv-anlage-hero{
  position: relative !important;
  height: clamp(420px, 64vh, 760px) !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background: #111 !important;
}

body.page-sportanlage .tsv-anlage-hero-img{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit: cover !important;
  object-position: center 28% !important;
  transform: scale(1.02) !important;
  z-index:0 !important;
}

body.page-sportanlage .tsv-anlage-hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.10) 0%,
    rgba(0,0,0,.10) 55%,
    rgba(0,0,0,.52) 82%,
    rgba(0,0,0,.76) 100%
  );
}

body.page-sportanlage .tsv-anlage-hero-title{
  position:absolute;
  top: clamp(86px, 13vh, 160px);
  left: 50%;
  transform: translateX(-50%);
  z-index:2;
  width: min(1100px, calc(100% - 40px));
  text-align:center;
  color:#fff;
  text-shadow: 0 14px 40px rgba(0,0,0,.70);
}

body.page-sportanlage .tsv-anlage-hero-title h1{
  margin:0 !important;
  font-weight: 950;
  font-size: clamp(28px, 3.8vw, 52px);
  letter-spacing: .2px;
}

body.page-sportanlage .tsv-anlage-hero-title p{
  margin: 10px 0 0 !important;
  font-weight: 700;
  font-size: clamp(13px, 1.35vw, 16px);
  opacity: .92;
}

/* ================= PANEL / GRID ================= */
body.page-sportanlage .tsv-anlage-panel{
  padding: 22px 0 54px !important;
}

body.page-sportanlage .tsv-anlage-wrap{
  width: min(1100px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
}

body.page-sportanlage .tsv-anlage-grid{
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 18px !important;
  align-items: stretch !important;
}

@media (max-width: 900px){
  body.page-sportanlage .tsv-anlage-wrap{
    width: calc(100% - 32px) !important;
  }
  body.page-sportanlage .tsv-anlage-grid{
    grid-template-columns: 1fr !important;
  }
}

/* ================= CARDS ================= */
body.page-sportanlage .tsv-anlage-card{
  background: rgba(12,12,14,.62);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  position: relative;
  overflow: hidden;
}

body.page-sportanlage .tsv-anlage-card::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:-10px;
  height:18px;
  border-radius:999px;
  background: radial-gradient(
    60% 120% at 50% 40%,
    rgba(255,70,70,.55),
    rgba(196,0,20,.35),
    transparent 70%
  );
  filter: blur(4px);
  pointer-events:none;
}

/* Card header */
body.page-sportanlage .tsv-anlage-card__top{
  display:flex;
  align-items:flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

body.page-sportanlage .tsv-anlage-ico{
  width: 38px;
  height: 38px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 18px;
  flex: 0 0 auto;
}

body.page-sportanlage .tsv-anlage-card h3{
  margin: 0 !important;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .2px;
}

body.page-sportanlage .tsv-anlage-sub{
  margin-top: 4px;
  font-size: 13px;
  font-weight: 650;
  opacity: .82;
}

body.page-sportanlage .tsv-anlage-text{
  font-size: 14px;
  line-height: 1.55;
  opacity: .95;
}

body.page-sportanlage .tsv-anlage-text p{
  margin: 0 0 12px !important;
}

body.page-sportanlage .tsv-anlage-text p:last-child{
  margin-bottom: 0 !important;
}

body.page-sportanlage .tsv-anlage-list{
  margin: 0 0 12px 18px !important;
  padding: 0 !important;
}
body.page-sportanlage .tsv-anlage-list li{
  margin: 6px 0 !important;
}

/* LIGHT MODE */
html:not(.dark-mode) body.page-sportanlage .tsv-anlage{
  color: rgba(0,0,0,.88);
}
html:not(.dark-mode) body.page-sportanlage .tsv-anlage-card{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
}
html:not(.dark-mode) body.page-sportanlage .tsv-anlage-card *{
  color: rgba(0,0,0,.88);
}
html:not(.dark-mode) body.page-sportanlage .tsv-anlage-ico{
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.08);
}

