/*!
Theme Name:  TV Welle
Author:      https://designburg.net
Author URI:  https://designburg.net
Description: Wordpress TV Welle
Version:     1.0.0
License:     GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Template:    page-builder-framework
Text Domain: page-builder-framework-child
*/

/* ropa-sans-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Ropa Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/ropa-sans-v15-latin-regular.woff2') format('woff2'),
       url('fonts/ropa-sans-v15-latin-regular.ttf') format('truetype');
}

/* alex-brush-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Alex Brush';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/alex-brush-v22-latin-regular.woff2') format('woff2'), 
       url('fonts/alex-brush-v22-latin-regular.ttf') format('truetype'); 
}

body {
  font-family: sans-serif;
}

.nopad {padding:0; margin:0 }

.elementor-posts .elementor-post__excerpt p {color:#000;font-size: 16px;}


.fas {color:#c90c0f}
/* Custom Accent Color */
:root {
    --accent-color: #000; /* Replace with your desired color */
}

.lefti {background-color:#c90c0f;}

.elementor-location-footer h3 {font-family: "Ropa Sans", sans-serif}
.alex-brush p{font-family: "Alex Brush", Sans-serif;
  transform: rotate(-5deg);
  margin-bottom: -45px;}

  .elementor a {text-decoration: underline;font-weight:bold}
   .elementor a.sportstaette-block {text-decoration: none;}

h1 {
  font-size: 55px;
  margin-top: 30px;
  text-align: center;
  display: inline-block;
  position: relative;
  color: #000;
  padding-bottom: 10px;
  font-weight:500;
}

 h1.headline-slider 
{margin-top:20px;margin-bottom:0;padding-bottom:0; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);}

.redtext {color:#c90c0f} 

h2 {
  font-size: 42px;
  color: #000;
  padding-bottom: 10px;
  font-weight:500;
}
h3 {color:#000;}
h2.termintitel {margin-bottom:0;padding-bottom:10px}

.entry-content h1,h2,h3,h4,h5,h6 {
font-family: "Ropa Sans", sans-serif !important
}

.whity {color:#fff !important}



@media (max-width: 768px) {
  h1 { font-size: 32px;}
  .wirsind p {margin-top:10px;margin-bottom:10px;}
}

h1::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 60%;
  height: 6px;
  background: linear-gradient(to right, #b3100b, #c90c10);
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.headlineline::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 60%;
  height: 6px;
  background: linear-gradient(to right, #b3100b, #c90c10);
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.headline::after  {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px; /* leave space below the text */
  width: 60%;
  height: 6px;
  background: linear-gradient(to right, #b3100b, #c90c10);
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: block;
}
.headline {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  width:100%;
}


.red {background:#c90c0f}
.redfont {color:#c90c0f;text-transform: uppercase}
.timetable-wrapper {
  overflow-x: auto;
  width: 100%;
  margin-bottom:50px;
}

.timetable-grid {
  position: relative;
  display: grid;
  grid-template-columns: 150px repeat(auto-fill, minmax(150px, 1fr));
  grid-auto-rows: 40px;
  font-size: 12px;
  min-width: 300px;
}

.timetable-grid .header {
  padding: 0px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
  white-space: normal;
  word-wrap: break-word;
  background: #f8f8f8;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
  border: 1px solid #ccc;
  box-sizing: border-box;
}



.time-label {
  font-size: 1em;
  line-height: 1;
  display: grid !important;
  align-items: center;
  height: 100%; /* optional */
  border: 1px solid #eee;
  font-weight:bold
}


.timetable-cell {
  border: 1px solid #eee;
  background: #fff;
  min-width: 140px;
}

.termin-block {
  background: #ffffff;
  border-left: 6px solid #c90c0f; /* Standardgrau – überschreibbar pro Sportart */
  border-radius: 12px;
  padding: 2px 12px;
  margin: 2px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  
  position: relative;
  overflow: hidden;
}

.termin-block.shifted {
  margin-left: 20%;
  z-index:2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-left: 4px solid #dc2626; /* kräftiges Rot links */
  background-color: #fff;
  opacity:0.8;
}

.termin-block.shifted:hover {
    opacity:1;
}
.trainer-card.sommer::after,
.trainer-card.winter::after,
.trainer-card.sommerundwinter::after,
.termin-block.sommer::after,
.termin-block.winter::after,
.termin-block.sommerundwinter::after, .tfd-block.sommer::after, .tfd-block.winter::after, .tfd-block.sommerundwinter::after {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 1.2rem;
  z-index: 10;
}

.termin-block.sommer::after,.tfd-block.sommer::after,.trainer-card.sommer::after{
  content: "☀️";
}

.termin-block.winter::after, .tfd-block.winter::after, .trainer-card.winter::after{
  content: "❄️";
}

.termin-block.sommerundwinter::after, .tfd-block.sommerundwinter::after, .trainer-card.sommerundwinter::after {
  content: "";
}




.hideme {background:#eee;height:1px;font-size:0;color:#fff}

.termin-block:hover {
  transform: scale(1.015);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  z-index: 10;
}



/* Sportart-Titel */
.termin-block h3.sportart {
  margin: 0;
  color: #111827;
  display: flex;
  align-items: center;
  padding-bottom:0;
  
}

/* Zeitangabe */
.termin-block .time {
  font-size: 0.875rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0px;
}

.termin-block .time::before {
  content: "🕒";
  font-size: 0.9em;
}

/* Name/Trainer fett */
.termin-block strong {
  font-weight: 700;
  color: #1f2937;
}


span.time {font-weight:bold;}
span.time::before {
  content: "🕒";
  margin-right: 6px;
  font-size: 1em;
  }


h3.sportart {font-size: 11px;padding-bottom:0;margin-bottom:0;}
h3.headsport {margin-bottom:0;padding-bottom:0;color:#fffefa;}
.sportstaette-adresse {color:#fffefa}
h3.timetable {margin-bottom:0;padding-bottom:0;font-weight:bold}

/* Shared Grid Layout */
.team-grid, .news-grid, .trainer-grid, .trainer-termine-list   {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  margin-bottom: 2rem;
}

@media screen and (max-width: 764px) {
  .team-grid,
  .news-grid,
  .trainer-grid,
  .trainer-termine-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 2fr));
     gap: 5px;
  }
}





/* Force square images in team, news, and trainer cards */
.team-image img,
.news-image img,
.trainer-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  object-position: center;

}

.trainer-card, .team-card {
  position:relative;
    display: inline-block;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #eee; /* TV Welle red */
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 5px;
    border-left: 6px solid #c90c0f; /* Standardgrau – überschreibbar pro Sportart */
}


 



.trainer-termine-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
}

.trainer-termine-grid .trainer-card {
  background: #fff;
  border: 1px solid #c90c0f; /* TV Welle red */
  border-radius: 10px;
  padding: 1rem;
  
 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.trainer-termine-grid .trainer-card:hover {
  transform: translateY(-4px);
}

.termin-title {
  color: #c90c0f;
  margin-top: 0;
}

.news-card {box-shadow: 0 0 10px 0 rgba(0, 0, 0, .15);padding:15px;border-radius:15px;margin: 5px;}  

.team-card:hover, .news-card:hover, .trainer-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Headings and Text */
.team-name, .news-title, .trainer-name {
  font-size: 1.2rem;
  margin: 10px 0;
}



.team-trainers, .news-date, .trainer-lizenz {
  font-size: 0.9rem;
  color: #666;
}

.news-excerpt, .trainer-info {
  font-size: 1rem;
  color: #444;
}

.trainer-info p {
  margin: 5px 0;
}

.external-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  color: #0066cc;
  text-decoration: underline;
}

/* Image Styling */
.team-image img, .news-image img, .trainer-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Sportarten Liste */
.sportarten-list {
  font-size: 1.2em;
  list-style-type: none;
  padding: 0;
}

.sportarten-list li {
  margin-bottom: 10px;
}

.sportarten-list li a {
  color: #0073e6;
  text-decoration: none;
  font-weight: bold;
}

.sportarten-list li a:hover {
  text-decoration: underline;
}

/* Sportarten Liste Ende */  


.timetable-grid_tw {
  display: grid;
  font-size: 11px;
  min-width: 200px;
}


.timetable-grid_tw > .header {
  min-height: 80px;
  text-align: center;
  font-weight: bold;
  color: #fff;
  padding: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background:#e4e4e2
}

 div.timetable-grid_tw div.header.fixed-column {

  background: #0073e6; /* or any theme color */
  
} 


.timetable-filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0px 20px;
  margin-bottom: 20px;
  align-items: end;
  height:auto !important; 
}

.filter-group,
.filter-status-box {
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .filter-group,
  .filter-status-box {
    display: block;
    flex-direction: column;
  }
}

.filter-select {
  width: 100%;
  padding: 6px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#reset-filters {
  padding:0;
  background:#c90c0f;
    color:#fff;
     border: none;
  border-radius: 0px;
  cursor: pointer;
}

#reset-filters:hover {
  background-color: #b3100b;
}

/* Basis-Design für Checkboxen */
input[type="checkbox"]#filter-sommer,
input[type="checkbox"]#filter-winter {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #ccc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  
  vertical-align: middle;
}

/* CHECKED Style */
input[type="checkbox"]#filter-sommer:checked {
  background-color: #fde68a; /* hellgelb */
  border-color: #facc15;
}

input[type="checkbox"]#filter-winter:checked {
  background-color: #bae6fd; /* hellblau */
  border-color: #38bdf8;
}

/* Icon: Sommer ☀️ */
input#filter-sommer:checked::after {
  content: '☀️';
  position: absolute;
  
  top: 2px;
  left: 0px;
}

/* Icon: Winter ❄️ */
input#filter-winter:checked::after {
  content: '❄️';
  position: absolute;
  
  top: 2px;
  left: 0px;
}

/* Optional: Styling für zugehörige Label */
#filter-sommer + label,
#filter-winter + label {
  
  margin-right: 5px;
  cursor: pointer;
  user-select: none;
  
}






ul.termine-sportart li {color:#fff;}
.termine-sportart {
    list-style: none;
    padding-left: 0;
}

.termine-sportart li {
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.termine-sportart a {color:#fff !important}

h2.trainingszeiten {color:#fff;font-size:28px;font-weight: bold;}

.team-trainingszeiten a {color:#fff;}

.header-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
}

.header-tag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #c90c0f, #b3100b);
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;55px
}

.header-tag-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

.header-venue-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px;
  border-radius: 2px;
  text-align: center;
  line-height: 1.2;
  position: relative;
  min-width: 60px;
  box-sizing: border-box;
}


.header-venue-label::before {
  font-family: 'Dashicons';
  content: "\f230"; /* WordPress location icon */
  font-size: 2em;
  margin-bottom: 4px;
  color: #fff;
  opacity: 0.8;
  line-height: 1;
}





/* Base venue styles */
/* Turnhalle Handeloh – Deep Green */

/* Default fallback style */
div.header span.header-venue-label {
  background-color: #ccc;
  color: #333;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}


/* Turnhalle Handeloh – Deep Forest */
div.header.venue-turnhalle-handeloh span.header-venue-label {
  background-color: #844a97;
  color: #fff;
  border: 1px solid #844a97;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Turnhalle TV Welle – Primary Red */
div.header.venue-turnhalle-welle span.header-venue-label {
  background-color: #c90c0f;
  color: #fff;
  border: 1px solid #a20a0c;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Turnhalle Otter – Olive Green */
div.header.venue-turnhalle-otter span.header-venue-label {
  background-color: #65d542;
  color: #222;
  border: 1px solid #65d542;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Online – Cool Slate */
div.header.venue-online span.header-venue-label {
  background-color: #666;
  color: #fff;
  border: 1px solid #555;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Sportplatz TV Welle – green Accent */
div.header.venue-sportplatz-welle span.header-venue-label {
  background-color: #3d7c41;
  color: #fff;
  border: 1px solid #2e6232;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Sportplatz TV Welle – Magenta Accent */
div.header.venue-tennisanlage-tv-welle span.header-venue-label {
  background-color: #cc5c2b;
  color: #fff;
  border: 1px solid #cc5c2b;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Vereinsheim TV Welle -vereinsheim-tv-welle */
div.header.venue-vereinsheim-tv-welle span.header-venue-label {
  background-color: #666;
  color: #fff;
  border: 1px solid #555;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* YohaRaum venue-yoga-raum*/
div.header.venue-yoga-raum span.header-venue-label {
  background-color: #d9aa7a;
  color: #fff;
  border: 1px solid #d9aa7a;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Indoor Cycling venue-indoor-cycling-raum*/
div.header.venue-indoor-cycling-raum span.header-venue-label {

  background-color: #d600a3;
  color: #fff;
  border: 1px solid #a1007d;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

div.header.venue-heidjerswohl-schneverdingen span.header-venue-label {

  background-color: #00a7e2;
  color: #fff;
  border: 1px solid #00a7e2;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}



div.header.day-montag div.header-badge span.header-tag-icon {
  background: #d32f2f; /* Red - energetic Monday */
}

div.header.day-dienstag div.header-badge span.header-tag-icon {
  background: #f57c00; /* Orange - productive Tuesday */
}

div.header.day-mittwoch div.header-badge span.header-tag-icon {
  background: #fbc02d; /* Yellow - midweek brightness */
}

div.header.day-donnerstag div.header-badge span.header-tag-icon {
  background: #388e3c; /* Green - going strong! */
}

div.header.day-freitag div.header-badge span.header-tag-icon {
  background: #1976d2; /* Blue - nearly weekend */
}

div.header.day-samstag div.header-badge span.header-tag-icon {
  background: #7b1fa2; /* Purple - creative Saturday */
}

div.header.day-sonntag div.header-badge span.header-tag-icon {
  background: #c2185b; /* Pinkish-red - relaxed Sunday */
}

/* Thick right border for last columns */
.header.last-column {
  border-right: 4px solid #000;
}


.tvw-timetable-grid {
  display: grid;
  grid-auto-rows: 30px;
  min-width:200px;
  border-collapse: collapse;
}

.tvw-header {
  background: #f0f0f0;
  font-weight: bold;
  padding: 5px;
  text-align: center;
  border: 1px solid #ccc;
  line-height: 1.3;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  word-wrap: break-word;
}

.tvw-time-label {
  background: #f9f9f9;
  padding: 4px;
  border: 1px solid #ddd;
  text-align: right;
  font-weight: bold;
}

.tvw-cell {
  border: 1px solid #eee;
  background-color: #fff;
}

.tvw-termin-block {
  background-color: #def;
  border: 1px solid #999;
  padding: 6px;
  overflow: hidden;
  z-index: 10;
  font-size: 12px;
}

.external-link {
  color: #0073e6;
  text-decoration: none;
  position: relative;
  padding-left: 20px;
}

.external-link::before {
  content: "🔗";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.9em;
}

.external-link:hover {
  color: #005bb5;
  text-decoration: underline;
}
.sportarten-item {
  background-color: #fff; /* statt #fff → weicher, weniger grell */
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); /* kräftigerer Schatten */
  transition: all 0.25s ease-in-out;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #e2e8f0; /* leicht dunkleres Grau */
  transition: all 0.3s ease;
  transform: translateY(0);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border-radius:12px;
  position: relative;
  z-index: 1; /* Box liegt über dem Schatten */
}

.sportarten-item::after {
  content: '';
  position: absolute;
  bottom: -10px;  /* unter der Box sichtbar */
  left: 10px;
  right: 10px;
  height: 8px;
  background-color: #222; /* satter, harter Schatten */
  z-index: 0;
  border-radius: 4px;
}



@media (min-width: 768px) {
.sportarten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 2rem;
  text-align: center;
}
}
@media (max-width: 768px) {
  .sportarten-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    }
    .sportarten-item {
      padding:1rem;
    }
    h1.sportart-bezeichnung {
    color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); /* soft white glow */}

}

.sportart-row {
  display: flex;
  align-items: center; /* ⬅️ Vertically center everything */
  
  margin-bottom:10px;
 
}

.sportart-icon, .sportart-icon-bigger {
   object-fit: contain;
  display: block; /* ⬅️ Prevents baseline alignment issues */
  position: relative;
  top: 1px;
}



.sportart-row .sportart {
  margin: 0;
  line-height: 1;
}

.sportart-row-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  
}

.sportart-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.sportart-icon-bigger {
width:100px;
height:100px;

}

.sportart-row-vertical .sportart {
  margin: 0;
  text-align: center;
  font-size: 1rem;
  line-height: 1.2;
}


.tfd-row-hidden {
  pointer-events: none;
  user-select: none;
}




img.sportart-icon {border-width:1px;
  border-radius:100%;
  border-color:#b91c1c;
  padding:5px;  
  background:#f9fafb;
    box-shadow: 0 4px 8px rgba(185, 28, 28, 0.2); /* sanfter roter Schimmer */
  height:40px;width:40px;}

  img.sportart-icon-bigger {border-width:1px;
  border-radius:100%;
  border-color:#b91c1c;
  padding:5px;  
  background:#f9fafb;
    box-shadow: 0 4px 8px rgba(185, 28, 28, 0.2); /* sanfter roter Schimmer */
  height:100px;width:100px;}


.sportarten-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  background-color: #fefefe;
}

/* 🔴 Roter Balken links */
.sportarten-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(to bottom, #b91c1c, #dc2626);
  opacity: 0.9;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

/* Icon */
.sportarten-item img,
.sportarten-item svg {
  width: 58px;
  height: 58px;
  color: #b91c1c;
  margin-bottom: 0.5rem;
  border-style: solid;
  border-width:1px;
  border-radius:100%;
  border-color:#b91c1c;
  padding:5px;  
  background:#f9fafb;
    box-shadow: 0 4px 8px rgba(185, 28, 28, 0.2); /* sanfter roter Schimmer */
}

/* Link / Titel */
.sportarten-item a {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.2px;
  color: #111827;
  text-decoration: none;
  transition: color 0.2s ease, border-bottom 0.2s ease;
  border-bottom: 2px solid transparent;
}

.sportarten-item a:hover {
  color: #b91c1c;
  border-bottom: 2px solid #b91c1c;
}

h3.oberkategorie-title {
  font-weight: 600;
  text-transform: uppercase;
  color: #b91c1c;
  margin-bottom: 0.75rem;
  border-left: 4px solid #b91c1c;
  padding-left: 0.75rem;
 border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}




.headline-sportart .sportart-icon {
  background: rgba(255, 255, 255, 1);
  padding:5px;
  border-radius:100%;
}

.headline-sportart h1 { color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); /* soft white glow */}

/* Sponsor Grid (same base layout as sportarten-grid) */
.sponsoren-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 2rem;
  text-align: center;
}

.sponsor-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.sponsor-item:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sponsor-logo-wrapper {
  margin-bottom: 10px;
}

.sponsor-logo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
}

.sponsor-name {
  font-size: 1rem;
  font-weight: bold;
  color: #222;
}

.no-sponsoren {
  text-align: center;
  color: #888;
}

/* Filter buttons */
.filter-btn {
  display: inline-block;
  margin: 5px 5px 5px 0;
  padding: 6px 12px;
  border: 1px solid #ccc;
  background-color: #f8f8f8;
  color: #333;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background-color: #eaeaea;
  border-color: #999;
}

.filter-btn.active {
  background-color: #0073aa;
  border-color: #0073aa;
  color: #fff;
  font-weight: bold;
}

/* Filter group headings */
.timetable-filters strong {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 5px;
  font-size: 15px;
  color: #333;
}

/* Filter status ("Filter ausgewählt") */
.status-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0px;
  align-items: center;
 
}

#filter-status {
  font-style: italic;
  background-color: #f0f8ff;
  padding: 2px 10px;
  border-left: 4px solid #0073aa;
  border-radius: 4px;
  font-size: 10px;
  color: #333;
  min-height:25px;
}


.sticky {
  position: fixed;
  top: 30px;
  right:0;
  background:#fff;
  border-style: none;
  transition: all 0.3s ease;

}

.menu-item-type-post_type.menu-item-object-page.parent.uael-creative-menu a.uael-menu-item {
  color:#000 !important;padding:10px;border-bottom:solid;border-width:0px 0px 1px 0px; border-color:#000
}
.uael-creative-menu a.uael-sub-menu-item {color:#000 !important;}




.sportstaetten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.sportstaette-block {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  gap: 12px; /* spacing between icon and text */
}

.headsport {
  margin-top: 0;
  font-size: 1.2em;
  color: #333;
}
.sportstaette-adresse {
  display: block;
  margin-top: 8px;
  color: #fff;
}

.sportstaette-icon::before {
  font-family: 'Dashicons';
  content: "\f230"; /* location icon */
  font-size: 2em;
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  opacity: 0.8;
}

.galerie-uebersicht {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px;
}

@media (min-width: 768px) {
  .galerie-uebersicht {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 767px) {
  .galerie-uebersicht {
    grid-template-columns: repeat(2, 1fr);
  }
}

.galerie-card {
  text-align: center;
}

.galerie-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.galerie-card img:hover {
  transform: scale(1.03);
}

.galerie-card h3 {
  margin-top: 10px;
  font-size: 1rem;
}

.sponsor-slide {
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sponsor-logo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  max-width: 120px;
  height: auto;
}


.typewriter-ticker {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  background: #f9f9f9;
  border-top: 2px solid #c90c0f;
  border-bottom: 2px solid #c90c0f;
  font-family: monospace;
  font-weight: bold;
  font-size: 1.1rem;
  color: #c90c0f;
  overflow: hidden;
  padding: 0 20px;
}

.typewriter-ticker .typewriter-link {
  text-decoration: none;
  color: inherit;
  border-right: 2px solid #c90c0f;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: blinkCursor 0.7s infinite;
}

/* Blinking cursor effect */
@keyframes blinkCursor {
  0% { border-color: transparent; }
  50% { border-color: #c90c0f; }
  100% { border-color: transparent; }
}

@media (min-width: 768px) {

.logo-wrap {min-height:135px;}

}
.single-team-info.layout-2col {
    display: flex;
    flex-direction: row;
   
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.trainingszeitenbox {
  position: relative;
  background: #c90c0f; /* red */
  color:#fff !important;
  border-radius: 0; /* optional */
  overflow: hidden;
  padding:15px;
}

.trainingszeitenbox em, .trainingszeitenbox strong {
   color:#fff !important;
}


/* White top-right corner cutout */
.trainingszeitenbox::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0px;
  width: 50px;  /* size of the cut corner */
  height: 50px;
  background: #fff;
  z-index: 1;
clip-path: polygon(0 0, 100% 0, 0 100%);
border-style:solid;
border: width 2px;
border-color:#c90c0f;
  
}


.team-info-left {
    flex: 0 0 66.66%;
    max-width: 66.66%;
}

.team-info-right {
    flex: 0 0 30.33%;
    max-width: 30.33%;
    text-align: right;
}

.team-foto {
  margin-top:30px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
     padding: 10px;
    background-color: #fff;
    border: 4px solid #c90c0f; /* TV Welle red */
    border-radius: 16px;
    text-align: center;
}

@media (max-width: 768px) {
    .single-team-info.layout-2col {
        flex-direction: column;
    }

    .team-info-left,
    .team-info-right {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
}


#righti {
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
/* ::before — LEFT TRIANGLE with SHADOW */
#righti::before {
  content: '';
  position: absolute;
  top: 0;
  left: -1px;
  width: 100%;
  height: 100%;
  background: #c90c0f;
  clip-path: polygon(0 100%, 12% 0, 0 0);
  z-index: 2;
  pointer-events: none;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.3); /* simulates shadow on right side */
}

#righti::after {
  content: '';
  position: absolute;
  top: 0;
  right: -1px;
  width: 100%;
  height: 100%;
  background: #c90c0f;
  clip-path: polygon(100% 100%, 100% 0, 88% 100%); /* mirrored right-side triangle */
  z-index: 2;
  pointer-events: none;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.3); /* shadow to the left */
}
}

.webling-birthday-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.birthday-entry {
  background: #fff;
  border: 2px solid #c90c0f;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.birthday-entry:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.birthday-entry .emoji {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 8px;
}

.birthday-entry strong {
  display: block;
  font-size: 1.1rem;
  color: #c90c0f;
  margin-bottom: 4px;
}

.birthday-entry span {
  font-size: 0.95rem;
  color: #333;
}


.timetable-loading {
  text-align: center;
  padding: 1rem;
  font-weight: bold;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.loader-spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 3px solid #ccc;
  border-top-color: #c00;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 0.5em;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hidden {
  display: none !important;
}


.simple-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.day-heading {
  font-size: 1.5rem;
  margin-top: 2rem;
  border-bottom: 2px solid #ccc;
}

.timetable-grid.stacked-view {
  display: grid;
  grid-template-columns: 100px repeat(5, 1fr); /* 5 columns for overlapping slots */
  gap: 4px;
}
.grid-row-hidden {
  display: none !important;
}
.timetable-grid.stacked-view {
  display: grid;
  grid-template-columns: 100px repeat(10, 1fr);
  grid-auto-rows: auto; /* 👈 ensure rows collapse naturally */
  gap: 4px;
}

.timetable-flexday-wrapper {
  overflow-x: auto;
  padding-bottom: 2rem;
  
}

.timetable-flexday-container {
  display: flex;
  gap: 0.2rem;
  min-width: max-content;
}

.timetable-flexday-day {
  flex: 0 0 auto;
 
}

.timetable-flexday-heading {
  text-align: center;
  font-weight: bold;
  background: #f5f5f5;
  padding: 6px;
  border-bottom: 2px solid #ccc;
}

.timetable-flexday-row {
  display: flex;
  position: relative;
  background:#f5f5f5;
}

.timetable-flexday-times {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timetable-flexday-times .time-label {
  height: 40px;
  font-size: 0.85rem;
  padding-right: 8px;
  text-align: right;
  color: #666;
  line-height: 40px;
  border-right: 1px solid #ddd;
  min-width: 55px;
}

.timetable-flexday-termins {
  position: relative;
  min-height: calc(40px * 60); /* ensure enough space */
  padding-left: 10px;
}
.tfd-block {
  position: absolute;
  width: 150px;
  background: #fff;
  border-left: 4px solid #c90c10;
  border-right:1px solid #ddd;
  border-bottom:1px solid #ddd;
  border-top:1px solid #ddd;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 0.85rem;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1; /* 👈 NEU */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);

}
.tfd-block:hover {
transform: scale(1.015);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

.tfd-corner-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 58px;
  height: 58px;
  overflow: hidden;
  z-index: 10;
}

.tfd-corner-icon::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-bottom: 58px solid #c90c10; /* Triangle background */
  border-left: 58px solid transparent;
  z-index: 10;
}

.tfd-corner-icon::after {
  content: '';
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 33px;
  height: 33px;
  background-image: var(--icon-url);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0) invert(1);
  pointer-events: none;
  z-index: 20; /* Higher than triangle */
}



.tfd-inner {
  position: relative;
  z-index: 2;
}


.tfd-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tfd-block h3 {
  margin: 0;
  font-size: 0.95rem;
}

.tfd-block .zeit {
  font-size: 0.85rem;
  color: #666;
}



.uael-flyout-content {padding:15px !important;}
 ul#menu-1-c0a72c6 ul.sub-menu ul.sub-menu {padding-left:15px;}
.custom-flyout-extra {padding-top:30px;text-align:center !important}
.custom-flyout-extra img {max-width:50%;text-align:center;height:auto;}
.elementor-element-123eb66.elementor-widget.elementor-widget-theme-site-logo.elementor-widget-image div.elementor-widget-container {text-align: center !important;}


.webling-form, .elementor-form-fields-wrapper {
  
  margin: 0rem auto;
  padding: 0rem 2rem;
  background-color: #fff;
  border: 1px solid #eee;
  border-left: 6px solid #c90c0f; /* TV Welle Rot */
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: sans-serif;
}
.webling-form__group,
.elementor-field-group {
  margin-bottom: 1.5rem;
}

.webling-form__label,
.elementor-field-label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.webling-form__required {
  color: #c90c0f;
}

.webling-form__input,
.webling-form__select,
.webling-form__field textarea,
.elementor-field {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #fafafa;
  transition: border-color 0.2s ease-in-out;
}

.webling-form__input:focus,
.webling-form__select:focus,
.webling-form__field textarea:focus,
.elementor-field:focus {
  border-color: #c90c0f;
  outline: none;
  background-color: #fff;
}

.webling-form__description {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.25rem;
}

/* Submit Button */
.webling-form__submit,
.elementor-button {
  background-color: #c90c0f;
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  text-align: center;
  display: inline-block;
}

.webling-form__submit:hover,
.elementor-button:hover {
  background-color: #a30b0c;
}

/* Responsive */
@media screen and (max-width: 600px) {
  .webling-form,
  .elementor-form-fields-wrapper {
    padding: 1rem;
  }

  .sportarten-name {
    
    font-size: 75%; /* optional, für typografischen Effekt */
}


}

.elementor-lightbox .elementor-lightbox-navigation {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}


.elementor-lightbox .elementor-lightbox-button {
    display: block !important;
    opacity: 1 !important;
    z-index: 9999 !important;
}
.sportarten-name::first-letter {
    text-transform: uppercase;
    font-size: 150%; /* optional, für typografischen Effekt */
}


.commentlist,
.comment-respond,
.comments-area,
#comments {
   max-width:1400px;
   margin:0 auto;
}

/* Testimonials als Div-Grid */
.testimonials-grid {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
  grid-template-columns: 1fr;
  max-width:1400px; margin:0 auto;
}

/* Tablet: 2 Spalten */
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 3 Spalten */
@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Einzelne Testimonial-Box */
.testimonial-item {
  background: #fafafa;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Avatar */
.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
}

/* Text-Container */
.testimonial-content {
  max-width: 280px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.testimonial-author {
  font-weight: bold;
  color: #333;
}


h3#reply-title {margin-top:20px;}


.event-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.event-item {
    display: flex;
    background: #f1f1f1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.event-date {
    background: #e0e0e0;
    padding: 0.5rem 1rem;
    text-align: center;
    flex-shrink: 0;
    min-width: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date .day {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
}

.event-date .weekday {
    font-size: 0.9rem;
    color: #666;
}

.event-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #999;
	
}

.event-month {
	padding-top:15px;
}

.event-content {
    padding: 0.75rem 1rem;
    flex-grow: 1;
}

.event-content strong {
   
    margin-bottom: 0.25rem;
    font-weight:bold;
}

.event-description {
    font-size: 0.9rem;
    color: #333;
    margin-top: 0.25rem;
}
.event-description p {margin-bottom:0;padding-bottom:0;}

#pwa-install-btn {
    display: none;
    background: linear-gradient(135deg, #007bff, #00c6ff);
    color: white;
    border: none;
    padding: 0.75em 1.5em;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 9999;
}

#pwa-install-btn:hover {
    background: linear-gradient(135deg, #0056b3, #0086d1);
    transform: scale(1.05);
}

#pwa-install-btn:active {
    transform: scale(0.97);
}

table {
      border-collapse: collapse;
      width: 100%;
    }

    th, td {
      border: 1px solid #ccc;
      padding: 8px;
      text-align: left;
    }

    tr:nth-child(odd) {
      background-color: #efefef;
    }

    tr:nth-child(even) {
      background-color: #ffffff;
    }

    th {
      background-color: #e0e0e0;
    }
