/**
 * Popular Posts Redaktion - Frontend Stylesheet
 *
 * @version 1.0.0
 */

/* Wrapper für die gesamte Liste */
.ppr-wrapper {
    margin: 2em 0;
    padding: 1.5em;
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    border-radius: 4px;
}

/* Titel des Abschnitts */
.ppr-section-title {
    margin-top: 0;
    margin-bottom: 1em;
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5em;
}

/* Die Listen-Struktur */
.ppr-post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Ein einzelner Eintrag in der Liste */
.ppr-post-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1em;
    padding-bottom: 1em;
    border-bottom: 1px dotted #ccc;
}

.ppr-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Container für das Vorschaubild */
.ppr-post-thumbnail {
    margin-right: 15px;
    flex-shrink: 0;
}

.ppr-post-thumbnail img {
    max-width: 80px;
    height: auto;
    display: block;
    border-radius: 3px;
}

/* Container für den Inhalt (Titel, Meta, Auszug) */
.ppr-post-content {
    flex: 1;
}

/* Titel des Beitrags in der Liste */
.ppr-post-title {
    margin: 0 0 5px 0;
    font-size: 1em;
    font-weight: bold;
    line-height: 1.3;
}

.ppr-post-title a {
    text-decoration: none;
    color: #333;
}

.ppr-post-title a:hover {
    text-decoration: underline;
}

/* Meta-Informationen (Datum, Autor, etc.) */
.ppr-post-meta {
    font-size: 0.85em;
    color: #777;
    margin-bottom: 10px;
}

.ppr-post-meta span {
    margin-right: 10px;
}

/* Textauszug des Beitrags */
.ppr-post-excerpt {
    font-size: 0.9em;
    line-height: 1.5;
    color: #555;
}