/* ============================================================================
   RPG INDEX POSTS — LA MIDNIGHT BRUTALIST
   Author: Rogue RPG BB
   Prefix: .rpgindexpost-* (Plugin-Klassen, HTML kommt vom Plugin)

   Wird im Index-Stats-Modul-Grid neben "The Crew" gerendert.
   Style angeglichen an .lam-idx-stats__module (Crew-Modul).
   ============================================================================ */


/* ============================================
   CONTAINER — wirkt als Modul im Stats-Grid
   ============================================ */
.rpgindexpost-wrap {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}


/* ============================================
   ÜBERSCHRIFT — analog zu Module-Title
   Bebas Neue groß, mit border-bottom
   ============================================ */
.rpgindexpost-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--text);
    text-transform: none;
    margin: 0;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--text-dark);
}


/* ============================================
   LISTE
   ============================================ */
.rpgindexpost-list {
    display: flex;
    flex-direction: column;
}


/* ============================================
   EINZELNE POST-ZEILE
   Layout: Thread-Titel (Bebas) links, Meta (Mono) rechts
   ============================================ */
.rpgindexpost-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--text-dark);
    min-width: 0;
}

.rpgindexpost-row:last-child {
    border-bottom: none;
}


/* ============================================
   THREAD-TITEL — Bebas Neue, klickbar
   ============================================ */
.rpgindexpost-thread {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.01em;
    color: var(--text);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
    transition: color 0.2s var(--ease);
}

.rpgindexpost-thread:hover {
    color: var(--accent);
    text-decoration: none;
}


/* ============================================
   META-INFO (Author · Zeit)
   Mono, kleiner, dim
   ============================================ */
.rpgindexpost-meta {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.rpgindexpost-meta a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

.rpgindexpost-meta a:hover {
    color: var(--accent);
}