/* Normale Tabellen (per Text-Editor eingefügt) */
table {
  border-collapse: collapse;
}

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

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

/* ClubDesk Kontaktlisten-Blöcke */
.cd-contactlist-table .cd-tr-value:nth-child(even) {
  background-color: #ECF0F1 !important;
}

.cd-contactlist-table .cd-tr-value:nth-child(odd) {
  background-color: #ffffff !important;
}


/* ==================================================
   TSV Montlingen - News Kachel-Design
   ================================================== */

/* 1. Gesamte Karte (Schatten & Grundform) */
.cd-tile-v-box {
    border-radius: 15px !important;
    overflow: hidden !important;
    background-color: #ffffff !important; /* Hintergrundfarbe für den Textbereich */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important; /* Optionaler Weichzeichner-Schatten */
}

/* 2. Bildbereich: Nur oben links & oben rechts abrunden */
.cd-tile-v-box .cd-image-wrapper-3_2,
.cd-tile-v-box .cd-image-content,
.cd-tile-v-box img {
    border-radius: 15px 15px 0 0 !important;
}

/* 3. Textbereich unten: Nur unten links & unten rechts abrunden */
.cd-tile-v-box .cd-tile-v-main-area {
    border-radius: 0 0 15px 15px !important;
    padding: 15px !important; /* Sorgt dafür, dass der Text nicht am Rand klebt */
}

/* Instagram-Widget abrunden */
.instagram-media,
.instagram-media iframe {
    border-radius: 15px !important;
    overflow: hidden !important;
}


/* ==================================================
   TSV Montlingen - Tabellen (Natürliche Breite mit Schatten & Rundung)
   ================================================== */

table {
    border-radius: 14px !important;
    overflow: hidden !important; /* Saubere Ecken ohne Doppel-Effekt */
    border-collapse: separate !important;
    border-spacing: 0 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important; /* Schöner Schatten */
    margin-bottom: 20px !important;
    /* width-Angabe entfernt, damit kleine Tabellen nicht mehr aufgezogen werden */
}

@media (max-width: 767px) {
  #block_100249_content {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  #block_100249_content table {
    width: auto !important;
    min-width: 650px !important;
  }
  #block_100249_content td,
  #block_100249_content th {
    white-space: nowrap !important;
  }
}
