/* Eltaris — forum */

.homepage--forum .content {
    min-height: 100vh;
}

.homepage--forum .background__overlay {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 28%,
        rgba(0, 0, 0, 0.45) 45%,
        rgba(0, 0, 0, 0.88) 75%,
        #000 92%
    );
}

.forum-hero {
    text-align: center;
    padding: clamp(0.75rem, 2vh, 1.5rem) 1.5rem 0;
}

.forum-hero__title {
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: clamp(1.35rem, 2.8vw, 2.1rem);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.forum-hero__quote {
    margin: 0.55rem auto 0;
    max-width: 520px;
    font-family: "Cinzel", serif;
    font-style: italic;
    font-size: clamp(0.8rem, 1.3vw, 0.95rem);
    color: rgba(255, 255, 255, 0.82);
}

.forum {
    flex: 1;
    width: min(920px, 92vw);
    margin: 0 auto;
    padding: clamp(1.25rem, 3vh, 2rem) 0 clamp(1.5rem, 4vh, 2.5rem);
}

.forum__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.forum__stats {
    margin: 0;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.forum__new-topic {
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
}

.forum__new-topic:hover {
    background: rgba(212, 175, 55, 0.12);
}

.forum-category {
    margin-bottom: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.55);
}

.forum-category__head {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    background: rgba(212, 175, 55, 0.06);
}

.forum-category__title {
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: clamp(0.85rem, 1.4vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.forum-category__desc {
    margin: 0.2rem 0 0;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.45);
}

.forum-threads {
    list-style: none;
    margin: 0;
    padding: 0;
}

.forum-thread {
    border-left: 3px solid rgba(255, 255, 255, 0.12);
}

.forum-thread--light { border-left-color: var(--gold); }
.forum-thread--balance { border-left-color: var(--silver); }
.forum-thread--shadow { border-left-color: var(--purple); }

.forum-thread + .forum-thread {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.forum-thread__link {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.forum-thread__link:hover {
    background: rgba(255, 255, 255, 0.04);
}

.forum-thread__title {
    display: block;
    font-family: "Cinzel", serif;
    font-size: clamp(0.78rem, 1.2vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.92);
}

.forum-thread__meta {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.58rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
}

.forum-thread__meta strong {
    color: rgba(212, 175, 55, 0.75);
    font-weight: 400;
}

@media (max-width: 900px) {
    .forum__toolbar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .forum__new-topic {
        text-align: center;
    }
}
