/* Reduziert den riesigen Abstand am Anfang und Ende jedes Beitrags */
#sp-main-body {
    padding: 20px 0 !important;
}


/* Basis-Stil: Buttonfarbe perfekt auf das bestehende Farbschema abgestimmt */
.custom-btn.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: #1b759e; /* Seriöseres, dunkleres Blau – passend zu #26aae1 */
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #1b759e; /* Rahmen im passenden Blau */
    border-radius: 50px;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 140px;
    box-sizing: border-box;

    /* Abstand zwischen den Buttons */
    margin-right: 15px;
    margin-bottom: 10px; /* Schutz für die mobile Ansicht */
}

/* Hover-Effekt: Füllt den Button beim Drüberfahren mit dem Blau aus */
.custom-btn.btn-primary:hover {
    background-color: #1b759e; /* Wird vollflächig dunkelblau */
    color: #ffffff;             /* Schrift wird weiß */
    text-decoration: none;
}

/* Styling für Links innerhalb der Terminliste */
a.custom-event-link {
    color: #1b759e; /* Ihr abgestimmtes Blau */
    font-weight: 600;
    transition: color 0.2s ease;
}

a.custom-event-link:hover {
    color: #26aae1; /* Leuchtet im Hellblau des aktiven Menüpunkts auf */
    text-decoration: none;
}



/* Erzeugt die Trennlinie am PC (ab 768px Displaybreite) */
@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid #dee2e6 !important;
    }
}

/* Greift NUR auf großen Bildschirmen (ab 992px) innerhalb der Terminliste */
@media (min-width: 992px) {

    /* Das Datum (ursprünglich col-lg-2) bekommt etwas mehr Platz */
    .termin-liste .col-lg-2 {
        flex: 0 0 auto !important;
        width: 20% !important; /* Von 16.66% auf 20% erhöht */
    }

    /* Der Text (ursprünglich col-lg-10) wird entsprechend angepasst */
    .termin-liste .col-lg-10 {
        flex: 0 0 auto !important;
        width: 80% !important; /* Von 83.33% auf 80% verringert */
    }
}

/* Optional: Das gleiche Spiel für mittlere Bildschirme (Tablets ab 768px) */
@media (min-width: 768px) {
    .termin-liste .col-md-2 {
        flex: 0 0 auto !important;
        width: 25% !important; /* Mehr Platz auf Tablets */
    }
    .termin-liste .col-md-10 {
        flex: 0 0 auto !important;
        width: 75% !important;
    }
}
