/* === TIMELINE CONTAINER === */
#forum-timeline-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* === TIMELINE KARTE === */
.timeline-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-left: 4px solid #ccc;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* === TIMELINE HEADER (Avatar + Metadaten) === */
.timeline-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

/* Avatar */
.timeline-avatar img {
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    object-fit: cover;
    margin-right: 12px;
}

/* Benutzername + Datum */
.timeline-meta {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.4;
}

/* === TITEL + INHALT === */
.timeline-title {
    font-size: 1.3rem;
    margin: 0 0 8px;
    color: #222;
}

.timeline-entry-body {
    font-size: 1rem;
    color: #444;
    margin-bottom: 12px;
}

/* === BUTTON KOMMENTARE ANZEIGEN === */
.load-comments {
    display: inline-block;
    background-color: transparent;
    color: #333;
    padding: 6px 12px;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.load-comments:hover {
    background-color: #f0f0f0;
    border-color: #999;
    color: #000;
}

/* === KOMMENTAR BLOCK === */
.comments-container {
    margin-top: 15px;
    padding-left: 15px;
    border-left: 2px solid #ccc;
}

/* Einzelner Kommentar */
.comment-entry {
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-left: 4px solid #999;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 3px;
}

/* Kommentar Header (Avatar + Metadaten) */
.comment-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 12px;
}

.comment-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Kommentar Avatar */
.comment-avatar img {
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    object-fit: cover;
    margin-right: 10px;
}

/* Kommentar Metadaten */
.comment-meta {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.3;
}

.comment-reactions {
    margin-left: auto;
}

.comment-reactions .post-reactions {
    float: none;
}

/* Kommentartext */
.comment-content {
    font-size: 0.95rem;
    color: #333;
}

/* === LADEN === */
#forum-timeline-loader {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    padding: 15px;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
    .timeline-title {
        font-size: 1.1rem;
    }

    .timeline-entry-body,
    .comment-content {
        font-size: 0.95rem;
    }

    .timeline-avatar img,
    .comment-avatar img {
        width: 36px;
        height: 36px;
    }

    .load-comments {
        font-size: 0.85rem;
        padding: 5px 10px;
    }
}
.read-more-toggle {
    margin-top: 10px;
    display: inline-block;
    background-color: transparent;
    color: #0073aa;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
}

.read-more-toggle:hover {
    color: #005177;
}

.full-text {
    display: none;
}

.comment-form {
    margin-bottom: 20px;
}

.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    resize: vertical;
    font-size: 0.95rem;
    border-radius: 3px;
    margin-bottom: 8px;
}

.comment-form button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 6px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 3px;
}

.comment-form button:hover {
    background-color: #005177;
}

.timeline-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin-top: 30px;   /* vorher 15px */
    margin-bottom: 15px;
}

.read-more-toggle {
    display: inline-block;
    margin-bottom: 25px;  /* 👈 größerer Abstand zur Linie */
    color: #0073aa;
    font-size: 0.9rem;
    text-decoration: underline;
    border: none;
    background: none;
    cursor: pointer;
}

.hide-comments {
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    text-decoration: underline;
    color: #0073aa;
    cursor: pointer;
}

.hide-comments:hover {
    color: #005177;
}

.comment-actions {
    margin-top: 10px;
    font-size: 0.9rem;
}

.comment-actions a {
    text-decoration: none;
    color: #0073aa;
    cursor: pointer;
}

/* Reactions in der Timeline: Styles direkt an Asgaros angelehnt */
.timeline-post-reactions .post-reactions {
    float: right; /* Reaktionen in der Timeline rechts bündig */
    cursor: default;
}

.timeline-post-reactions .post-reactions .reaction {
    color: #888;
}

.timeline-post-reactions .post-reactions .reaction-icon:before {
    display: inline-block;
    min-width: 20px;
    font-size: 14px;
}

.timeline-post-reactions .post-reactions .reaction-number {
    display: inline-block;
    min-width: 20px;
    text-align: center;
    font-weight: bold;
    font-style: italic;
    margin-right: 8px;
}

/* Zusätzlicher Abstand speziell zwischen dem ersten (Like) und zweiten (Dislike) Icon */
.timeline-post-reactions .post-reactions .reaction.up {
    margin-right: 32px;
}

.timeline-post-reactions .post-reactions a {
    display: inline-block;
}

.timeline-post-reactions .post-reactions a:hover {
    transform: scale(1.3);
    transform-origin: center;
    transition: all 0.3s;
}

.timeline-post-reactions .post-reactions a:hover .down,
.timeline-post-reactions .post-reactions .down .reaction-number,
.timeline-post-reactions .post-reactions .down .reaction-active {
    color: rgba(255, 0, 0, 0.75);
}

.timeline-post-reactions .post-reactions a:hover .up,
.timeline-post-reactions .post-reactions .up .reaction-number,
.timeline-post-reactions .post-reactions .up .reaction-active {
    color: rgba(0, 128, 0, 0.75);
}

.comment-actions a:hover {
    color: #005177;
}

