/*highlights.css*/
/* Scrollbarer Bereich für vergangene Highlights */
.highlight-container {
    overflow-y: visible;   /* oder einfach: overflow: visible; */
    height: auto;          /* wichtig: keine feste Höhe */
    max-height: none;      /* falls irgendwo geerbt/gesetzt */
    padding: 10px;
    color: #004d26;
}
.tile-highlight {
    height: auto;
    max-height: none;
}
/* Webkit-basiertes Styling (Chrome, Edge, Safari) */
/*.highlight-container::-webkit-scrollbar {*/
/*    width: 8px;*/
/*}*/

.highlight-container::-webkit-scrollbar-track {
    background: #e0f2e9; /* Sanftes Grün als inaktiver Hintergrund */
    border-radius: 4px;
}

.highlight-container::-webkit-scrollbar-thumb {
    background: #008f5a; /* Aktiver Griff in dunklem Grün */
    border-radius: 4px;
    border: 2px solid #e0f2e9; /* Kleiner Rand für besseren Look */
}

.highlight-container::-webkit-scrollbar-thumb:hover {
    background: #006837; /* Etwas helleres Grün beim Hover */
}


/* Einzelner Chronik-Eintrag */
.chronik-entry {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.chronik-entry h4 {
    margin: 5px 0;
    font-size: 18px;
}

.chronik-entry p {
    text-align: center;
    margin: 5px 0;
    font-size: 18px;
    color: #6c757d; /* Schönes Grau für Texte */
}

/* Bilder im Eintrag */
.chronik-images {
    margin-top: 10px;
}

.chronik-images img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    margin: 0 auto 5px auto; /* ⬅️ horizontal zentriert */
}

.load-more-btn {
    background: #008f5a;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    width: 100%;
    text-align: center;
}

.load-more-btn:hover {
    background: #006837;
}

@media screen and (max-width: 600px) {
    .tile-highlight {
        width: 100%; /* Volle Breite nutzen */
        max-width: 100%; /* Sicherstellen, dass nichts begrenzt */
        margin: 0; /* Falls es außen Platz gibt, diesen entfernen */
    }
}