/* Defend.ink Practice Community */
.fc-page { padding: 2rem 0 4rem; }
.fc-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a6f 100%);
    color: #fff;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}
.fc-hero h1 { font-size: 1.75rem; font-weight: 700; margin: 0 0 0.5rem; }
.fc-hero p { margin: 0; opacity: 0.9; font-size: 1rem; }

.fc-section { margin-bottom: 2rem; }
.fc-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fc-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.fc-card:hover { border-color: #cbd5e1; box-shadow: 0 4px 12px rgba(15,23,42,0.06); }
.fc-card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}
.fc-card-title a { color: #0f172a; text-decoration: none; }
.fc-card-title a:hover { color: #1e40af; text-decoration: underline; }
.fc-card-meta {
    font-size: 0.8125rem;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}
.fc-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #e0e7ff;
    color: #3730a3;
}
.fc-tag { font-size: 0.75rem; color: #64748b; }
.fc-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #1e3a5f;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.fc-btn-primary:hover { background: #172d4a; color: #fff; text-decoration: none; }

/* Sidebar */
.fc-sidebar-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}
.fc-sidebar-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}
.fc-sidebar-list { list-style: none; padding: 0; margin: 0; }
.fc-sidebar-list li { margin-bottom: 0.75rem; }
.fc-sidebar-list li:last-child { margin-bottom: 0; }
.fc-sidebar-list a {
    font-size: 0.9375rem;
    color: #334155;
    text-decoration: none;
}
.fc-sidebar-list a:hover { color: #1e40af; text-decoration: underline; }

/* Thread */
.fc-thread-title { font-size: 1.5rem; font-weight: 700; color: #0f172a; margin-bottom: 1rem; }
.fc-thread-body {
    font-size: 1rem;
    line-height: 1.65;
    color: #334155;
    white-space: pre-wrap;
}
.fc-reply {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.fc-reply.is-best { border-color: #22c55e; background: #f0fdf4; }
.fc-reply-best-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #15803d;
    margin-bottom: 0.5rem;
}
.fc-reply-content { font-size: 0.9375rem; line-height: 1.6; color: #334155; margin-bottom: 1rem; }
.fc-reply-content pre { white-space: pre-wrap; background: #f1f5f9; padding: 0.75rem; border-radius: 6px; overflow-x: auto; }
.fc-lawyer-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.fc-lawyer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.fc-lawyer-ph {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a5f, #334155);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}
.fc-lawyer-info { flex: 1; min-width: 0; }
.fc-lawyer-name { font-weight: 600; color: #0f172a; margin: 0 0 0.25rem; }
.fc-lawyer-meta { font-size: 0.8125rem; color: #64748b; margin: 0; }
.fc-lawyer-cta { flex-shrink: 0; }
.fc-reply-actions { display: flex; align-items: center; gap: 1rem; margin-top: 0.75rem; font-size: 0.875rem; }
.fc-upvote-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0;
}
.fc-upvote-btn:hover { color: #1e40af; }
.fc-upvote-btn.voted { color: #1e40af; font-weight: 600; }

/* Form */
.fc-form-group { margin-bottom: 1.25rem; }
.fc-form-label { display: block; font-weight: 600; font-size: 0.9375rem; color: #334155; margin-bottom: 0.4rem; }
.fc-form-control {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #d4d0c9;
    border-radius: 6px;
    font-size: 1rem;
}
.fc-form-control:focus { outline: none; border-color: #1e3a5f; box-shadow: 0 0 0 2px rgba(30,58,95,0.15); }
textarea.fc-form-control { min-height: 140px; resize: vertical; }
.fc-categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.fc-cat-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
}
.fc-cat-link:hover { background: #f1f5f9; border-color: #cbd5e1; color: #1e40af; text-decoration: none; }
.fc-reputation-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e3a5f;
    background: #e0e7ff;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}
.pagination { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 1.5rem; }
.pagination a, .pagination span {
    padding: 0.4rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #475569;
    text-decoration: none;
}
.pagination a:hover { background: #f1f5f9; color: #1e40af; }
.pagination .active { background: #1e3a5f; color: #fff; border-color: #1e3a5f; }
