/* Forum public styles */

.message-reply {
    margin-left: 20px;
    border-left: 3px solid #007bff;
    padding-left: 15px;
}

.message-content {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.message-meta {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.topic-card {
    transition: transform 0.2s;
}

.topic-card:hover {
    transform: translateY(-2px);
}

/* Forum home landing */

.forum-home-page .forum-home-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 60%, #7c3aed 100%);
    color: #fff;
    border-radius: 1.25rem;
    padding: 2rem 1.5rem;
}

.forum-home-page .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    padding: 0.25rem 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.forum-home-page .forum-home-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.forum-home-page .forum-home-hero .lead {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 640px;
}

.forum-home-page .btn-hero {
    padding: 0.75rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: transform 0.15s, box-shadow 0.15s;
}

.forum-home-page .btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.forum-home-page .hero-preview {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1rem;
    padding: 1.25rem;
}

.forum-home-page .hero-preview .step {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.6rem;
    padding: 0.55rem 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.forum-home-page .hero-preview .step:last-child {
    margin-bottom: 0;
}

.forum-home-page .forum-home-feature {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.07);
    transition: transform 0.18s, box-shadow 0.18s;
}

.forum-home-page .forum-home-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.13);
}

.forum-home-page .forum-home-stream-card {
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.07);
}

.forum-home-page .forum-home-stream-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.forum-home-page .stream-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.forum-home-page .stream-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.forum-home-page .stream-title {
    display: block;
    font-weight: 700;
    color: #1e3a5f;
    text-decoration: none;
    margin-bottom: 0.25rem;
}

.forum-home-page .stream-title:hover {
    color: #2563eb;
}

.forum-home-page .stream-preview {
    color: #6b7280;
    font-size: 0.92rem;
}

.forum-home-page .stream-meta {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #6b7280;
}

.forum-home-page .forum-home-cta {
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    border-radius: 1.25rem;
    color: #fff;
}

.forum-home-page .forum-home-cta-lead {
    opacity: 0.85;
}
