/* FCG Termine – Frontend-Tabelle
   Stil: exakt wie fcg-riedlingen.de/angebote/termine/
   – keine Rahmen, abwechselnde Zeilen hellgrau
*/

.fcg-termine-wrap {
    overflow-x: auto;
    margin: 0;
    padding: 0;
}

.fcg-termine-table {
    width: 100%;
    border-collapse: collapse;
    border: none;
    font-size: inherit;
    line-height: 1.5;
}

/* Kopfzeile */
.fcg-termine-table thead th {
    text-align: left;
    padding: 8px 14px 8px 0;
    border: none;
    border-bottom: 2px solid #d0d0d0;
    font-weight: bold;
    background: transparent;
    white-space: nowrap;
}

/* Zellen – KEINE Rahmen */
.fcg-termine-table tbody td {
    padding: 7px 14px 7px 0;
    border: none;
    vertical-align: middle;
}

/* Letzte Spalte (Name) braucht kein Padding rechts */
.fcg-termine-table tbody td:last-child {
    padding-right: 0;
}

/* Jede zweite Zeile: ganz leichtes Grau – genau wie auf der Website */
.fcg-termine-table tbody tr:nth-child(even) td {
    background-color: #f7f7f7;
}
.fcg-termine-table tbody tr:nth-child(odd) td {
    background-color: transparent;
}

/* Hover */
.fcg-termine-table tbody tr:hover td {
    background-color: #eeeeee;
}

/* Links: Farbe von Theme erben, kein blaues Unterstreichen */
.fcg-termine-table a {
    color: inherit;
    text-decoration: none;
}
.fcg-termine-table a:hover {
    text-decoration: underline;
}

/* Spaltenbreiten */
.fcg-termine-table .fcg-datum   { white-space: nowrap; min-width: 100px; }
.fcg-termine-table .fcg-uhrzeit { white-space: nowrap; min-width: 160px; }
.fcg-termine-table .fcg-anlass  { min-width: 180px; }
.fcg-termine-table .fcg-name    { color: #555; }

/* Fallback-Nachricht */
.fcg-keine-termine {
    padding: 1em;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    margin: 1em 0;
}

/* Responsive */
@media (max-width: 600px) {
    .fcg-termine-table .fcg-uhrzeit { min-width: 120px; }
    .fcg-termine-table .fcg-anlass  { min-width: 130px; }
}
