/* =============================================
   Discourse Posts – Komplettes CSS für 4future
   ============================================= */

/* Listen-Container */
.discourse-latest-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Einzelner Post */
.discourse-post {
    border-bottom: 1px solid #d6d6d6; /* helle Trennung */
    padding: 12px 0;
    font-family: 'Poppins', sans-serif;
    color: #333333;
    background-color: #ffffff;
}

/* =============================================
   Erste Zeile: Avatar + Username + Datum nebeneinander
   ============================================= */
.discourse-post-avatar-wrapper,
.discourse-post-username,
.discourse-post-date {
    display: inline-block;
    vertical-align: middle;
}

.discourse-post-avatar-wrapper {
    margin-right: 10px; /* Abstand zum Username */
}

.discourse-post-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.discourse-post-username {
    font-weight: 500;
    font-size: 12px; /* kleiner als Blurb */
    margin-right: 6px;
    color: #333333;
}

.discourse-post-date {
    font-size: 12px; /* kleiner als Blurb */
    color: #898989;
}
}

/* Clearfix für die erste Zeile */
.discourse-post::after {
    content: "";
    display: table;
    clear: both;
}

/* =============================================
   Post-Titel
   ============================================= */
.discourse-post-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.4;
    color: #333333;
    margin: 6px 0;
}

.discourse-post-title a {
    color: inherit;
    text-decoration: none;
}

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

/* =============================================
   Textauszug / Blurb
   ============================================= */
.discourse-post-blurb {
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 6px;
}

/* "Read more"-Link */
.discourse-post-readmore {
    display: block;       /* in eigene Zeile */
    margin-top: 4px;  
    font-size: 14px;
    color: #1a92f6;
    text-decoration: none;
}

.discourse-post-readmore:hover {
    text-decoration: underline;
}

/* =============================================
   Kategorie / Subkategorie
   ============================================= */
.discourse-post-category,
.discourse-post-subcategory {
    font-size: 14px;
    color: #898989;
    margin-bottom: 4px;
}

.discourse-post-category a,
.discourse-post-subcategory a {
    color: #1a92f6;
    text-decoration: none;
}

.discourse-post-category a:hover,
.discourse-post-subcategory a:hover {
    text-decoration: underline;
}

/* =============================================
   Responsive für Smartphones
   ============================================= */
@media screen and (max-width: 600px) {
    .discourse-post-avatar-wrapper {
        margin-right: 6px;
    }

    .discourse-post-avatar {
        width: 35px;
        height: 35px;
    }

    .discourse-post-username,
    .discourse-post-date {
        font-size: 14px;
    }

    .discourse-post-title {
        font-size: 18px;
    }

    .discourse-post-blurb {
        font-size: 14px;
    }
}
