/* ---------------------------------------------------------
   Silent Veil – Modern Forumbit Layout
   (nutzt Farben aus :root im Haupt-CSS)
--------------------------------------------------------- */

/* Gesamte Forensektion */
.silent-forum-wrapper {
    width: 80%;
    max-width: 1250px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}


/* -----------------------------------------------
   Kategorie-Block
----------------------------------------------- */

.silent-forum-category {
    position: relative;
    background: var(--silent-bg-darker) url(/images/circusbg.png);
    background-size: cover;
    background-position: center center;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 24px 28px;
    overflow: hidden;
}

.silent-forum-category::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45); /* Stärke der Abdunklung */
    pointer-events: none;
    z-index: 0;
}

.silent-forum-category > * {
    position: relative;
    z-index: 1;
}

.silent-forum-category-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}

.silent-forum-category-header img.expander {
    width: 22px;
    height: 22px;
    cursor: pointer;
    opacity: 0.7;
}

.silent-forum-category-title a {
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--silent-text-light);
    text-decoration: none;
}

.silent-forum-category-desc {
    margin-top: 4px;
    color: var(--silent-text-mid);
    font-size: 0.9rem;
}


/* -----------------------------------------------
   Forumbit: neue Aufteilung
----------------------------------------------- */

.silent-forum-card {
    background: var(--silent-bg-dark);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 18px 22px;

    display: grid;
    grid-template-columns: 55px 1fr 260px; /* ICON | FORUM | LASTPOST */
    align-items: center;
    gap: 18px;
}

.silent-forum-card:hover {
    background: rgba(10,10,12,0.8);
}

/* Links: Status-Icon */
.forum-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Forumname & Beschreibung */
.silent-forum-card .forum-main a {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--silent-link);
    text-decoration: none;
}

.silent-forum-card .forum-main a:hover {
    color: var(--silent-link-hover);
}

.silent-forum-card .forum-desc {
    margin-top: 4px;
    color: var(--silent-text-mid);
    font-size: 0.9rem;
}

/* -------------------------------
   Subforums – Moderner Dark-Strip
------------------------------- */

.forum-subforums {
    margin-top: 0px;
    padding: 10px 0 6px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.25); /* dezente Abdunklung */
    backdrop-filter: blur(2px); /* moderner Touch */
    font-size: 0.78rem;
    color: transparent;

    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
}

/* Prefix "Unterforen:" etwas edler */
.forum-subforums strong {
    font-weight: 500;
    color: var(--silent-text-mid);
    margin-right: 6px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Einzelne Subforum-Links → kleine elegante Badges */
.forum-subforums a {
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 3px;
    background: rgba(255,255,255,0.05);
    color: var(--silent-text-mid);
    transition: background 0.2s ease, color 0.2s ease;
    font-size: 0.78rem;
}

.forum-subforums a:hover {
    background: rgba(255,255,255,0.12);
    color: var(--silent-text-light);
}


/* Rechts: Letzter Beitrag */
.silent-forum-card .forum-lastpost {
    text-align: right;
    font-size: 0.85rem;
    color: var(--silent-text-mid);
    line-height: 1.3;
}

.silent-forum-card .forum-lastpost strong {
    color: var(--silent-text-light);
}

.lastpost-location {
    display: inline-block;
    margin-bottom: 2px;
    font-size: 0.75rem;
    color: var(--silent-text-low);
    text-transform: lowercase;
}

.lastpost-location .lastpost-forum {
    color: var(--silent-bg-darker);
	background: var(--silent-link);
	padding:2px;
}

/* Mobile */
@media (max-width: 900px) {
    .silent-forum-card {
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto;
        gap: 14px;
    }

    .silent-forum-card .forum-lastpost {
        text-align: left;
        grid-column: 1 / span 2;
    }
}
