/**
 * Feminism Magazine - Community Styles
 * Tasks 251-275: Community Features CSS
 */

/* ============================================
   COMMUNITY VARIABLES
   ============================================ */
:root {
    --fem-community-primary: #D4486D;
    --fem-community-secondary: #8B5CF6;
    --fem-community-success: #10B981;
    --fem-community-warning: #F59E0B;
    --fem-community-danger: #EF4444;
    --fem-community-info: #3B82F6;
    --fem-community-gray-100: #F3F4F6;
    --fem-community-gray-200: #E5E7EB;
    --fem-community-gray-300: #D1D5DB;
    --fem-community-gray-400: #9CA3AF;
    --fem-community-gray-500: #6B7280;
    --fem-community-gray-600: #4B5563;
    --fem-community-gray-700: #374151;
    --fem-community-gray-800: #1F2937;
    --fem-community-gray-900: #111827;
    --fem-community-radius: 12px;
    --fem-community-shadow: 0 1px 3px rgba(0,0,0,0.1);
    --fem-community-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --fem-community-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
}

/* ============================================
   COMMUNITY NAVIGATION
   ============================================ */
.fem-community-nav {
    display: flex;
    gap: var(--space-xs);
    padding: var(--space-md);
    background: white;
    border-radius: var(--fem-community-radius);
    margin-bottom: var(--space-lg);
    overflow-x: auto;
    box-shadow: var(--fem-community-shadow);
}

.fem-community-nav__item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border-radius: 99px;
    color: var(--fem-community-gray-600);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
}

.fem-community-nav__item:hover {
    background: var(--fem-community-gray-100);
    color: var(--fem-community-gray-900);
}

.fem-community-nav__item.active {
    background: var(--fem-community-primary);
    color: white;
}

/* ============================================
   USER PROFILES V2 (Task 251)
   ============================================ */
.fem-profile-header {
    background: white;
    border-radius: var(--fem-community-radius);
    overflow: hidden;
    margin-bottom: var(--space-lg);
    box-shadow: var(--fem-community-shadow);
}

.fem-profile-cover {
    height: 200px;
    background: linear-gradient(135deg, var(--fem-community-primary) 0%, var(--fem-community-secondary) 100%);
    position: relative;
}

.fem-profile-cover__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3));
}

.fem-profile-header__content {
    display: flex;
    gap: var(--space-lg);
    padding: 0 var(--space-lg) var(--space-lg);
    position: relative;
}

.fem-profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid white;
    overflow: hidden;
    margin-top: -70px;
    flex-shrink: 0;
    position: relative;
    background: white;
}

.fem-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fem-profile-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--fem-community-success);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.fem-profile-info {
    flex: 1;
    padding-top: var(--space-md);
}

.fem-profile-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.fem-profile-pronouns {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--fem-community-gray-500);
}

.fem-profile-occupation {
    color: var(--fem-community-gray-600);
    margin-bottom: var(--space-xs);
}

.fem-profile-location {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--fem-community-gray-500);
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
}

.fem-profile-stats {
    display: flex;
    gap: var(--space-lg);
}

.fem-profile-stats span {
    color: var(--fem-community-gray-600);
}

.fem-profile-stats strong {
    color: var(--fem-community-gray-900);
    font-weight: 700;
}

.fem-profile-actions {
    display: flex;
    gap: var(--space-sm);
    padding-top: var(--space-md);
}

.fem-profile-social {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--fem-community-gray-200);
}

.fem-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fem-community-gray-100);
    color: var(--fem-community-gray-600);
    transition: all 0.2s;
}

.fem-social-link:hover {
    background: var(--fem-community-primary);
    color: white;
    transform: translateY(-2px);
}

.fem-profile-nav {
    display: flex;
    gap: var(--space-xs);
    padding: 0 var(--space-lg) var(--space-md);
    border-bottom: 1px solid var(--fem-community-gray-200);
}

.fem-profile-nav__item {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--fem-community-radius);
    color: var(--fem-community-gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.fem-profile-nav__item:hover,
.fem-profile-nav__item.active {
    background: var(--fem-community-gray-100);
    color: var(--fem-community-primary);
}

/* ============================================
   ACTIVITY FEED (Task 257)
   ============================================ */
.fem-activity-stream {
    background: white;
    border-radius: var(--fem-community-radius);
    padding: var(--space-lg);
    box-shadow: var(--fem-community-shadow);
}

.fem-activity-filters {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--fem-community-gray-200);
}

.fem-activity-filter {
    padding: var(--space-xs) var(--space-md);
    border-radius: 99px;
    border: none;
    background: var(--fem-community-gray-100);
    color: var(--fem-community-gray-600);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.fem-activity-filter:hover,
.fem-activity-filter.active {
    background: var(--fem-community-primary);
    color: white;
}

.fem-activity-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--fem-community-gray-200);
}

.fem-activity-item:last-child {
    border-bottom: none;
}

.fem-activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--fem-community-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fem-activity-content {
    flex: 1;
}

.fem-activity-text {
    color: var(--fem-community-gray-800);
    margin-bottom: var(--space-xs);
}

.fem-activity-text a {
    color: var(--fem-community-primary);
    font-weight: 600;
}

.fem-activity-time {
    font-size: 0.875rem;
    color: var(--fem-community-gray-500);
}

.fem-load-more {
    width: 100%;
    padding: var(--space-md);
    margin-top: var(--space-md);
    border: 1px solid var(--fem-community-gray-300);
    border-radius: var(--fem-community-radius);
    background: white;
    color: var(--fem-community-gray-600);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.fem-load-more:hover {
    background: var(--fem-community-gray-100);
}

/* ============================================
   USER DIRECTORY (Task 253)
   ============================================ */
.fem-user-directory {
    max-width: 1200px;
    margin: 0 auto;
}

.fem-directory-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.fem-directory-header h2 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.fem-directory-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: white;
    border-radius: var(--fem-community-radius);
    box-shadow: var(--fem-community-shadow);
}

.fem-directory-search {
    display: flex;
    flex: 1;
    min-width: 250px;
}

.fem-directory-search input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--fem-community-gray-300);
    border-radius: var(--fem-community-radius) 0 0 var(--fem-community-radius);
    border-right: none;
}

.fem-directory-search button {
    border-radius: 0 var(--fem-community-radius) var(--fem-community-radius) 0;
}

.fem-directory-filter-group {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.fem-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.fem-directory-card {
    background: white;
    border-radius: var(--fem-community-radius);
    overflow: hidden;
    box-shadow: var(--fem-community-shadow);
    transition: all 0.2s;
}

.fem-directory-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fem-community-shadow-lg);
}

.fem-directory-card__header {
    padding: var(--space-lg);
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--fem-community-primary) 0%, var(--fem-community-secondary) 100%);
}

.fem-directory-card__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
}

.fem-directory-card__expert-badge {
    position: absolute;
    bottom: var(--space-md);
    right: calc(50% - 50px);
    width: 28px;
    height: 28px;
    background: var(--fem-community-success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.fem-directory-card__content {
    padding: var(--space-lg);
    text-align: center;
}

.fem-directory-card__name {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.fem-directory-card__name a {
    color: var(--fem-community-gray-900);
    text-decoration: none;
}

.fem-directory-card__occupation {
    color: var(--fem-community-gray-600);
    font-size: 0.875rem;
    margin-bottom: var(--space-xs);
}

.fem-directory-card__expertise {
    color: var(--fem-community-primary);
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
}

.fem-directory-card__location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    color: var(--fem-community-gray-500);
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
}

.fem-directory-card__stats {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    font-size: 0.875rem;
    color: var(--fem-community-gray-500);
    margin-bottom: var(--space-md);
}

.fem-directory-card__actions {
    display: flex;
    gap: var(--space-sm);
    padding: 0 var(--space-lg) var(--space-lg);
}

.fem-directory-card__actions .fem-btn {
    flex: 1;
}

/* ============================================
   GROUPS (Task 254)
   ============================================ */
.fem-groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.fem-group-card {
    background: white;
    border-radius: var(--fem-community-radius);
    overflow: hidden;
    box-shadow: var(--fem-community-shadow);
    transition: all 0.2s;
}

.fem-group-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--fem-community-shadow-lg);
}

.fem-group-card__header {
    position: relative;
    height: 150px;
}

.fem-group-card__header img,
.fem-group-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--fem-community-primary) 0%, var(--fem-community-secondary) 100%);
}

.fem-group-card__privacy {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(0,0,0,0.6);
    color: white;
}

.fem-group-card__content {
    padding: var(--space-lg);
}

.fem-group-card__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.fem-group-card__title a {
    color: var(--fem-community-gray-900);
    text-decoration: none;
}

.fem-group-card__excerpt {
    color: var(--fem-community-gray-600);
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
}

.fem-group-card__meta {
    display: flex;
    gap: var(--space-md);
    font-size: 0.875rem;
    color: var(--fem-community-gray-500);
}

.fem-group-card__actions {
    padding: 0 var(--space-lg) var(--space-lg);
}

/* ============================================
   CHAT/MESSAGING (Task 256)
   ============================================ */
.fem-chat-container {
    display: flex;
    height: calc(100vh - 200px);
    background: white;
    border-radius: var(--fem-community-radius);
    overflow: hidden;
    box-shadow: var(--fem-community-shadow);
}

.fem-chat-sidebar {
    width: 300px;
    border-right: 1px solid var(--fem-community-gray-200);
    overflow-y: auto;
}

.fem-chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fem-chat-header {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--fem-community-gray-200);
}

.fem-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.fem-message {
    display: flex;
    gap: var(--space-md);
    max-width: 70%;
}

.fem-message--sent {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.fem-message__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
}

.fem-message__content {
    background: var(--fem-community-gray-100);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--fem-community-radius);
    border-bottom-left-radius: 4px;
}

.fem-message--sent .fem-message__content {
    background: var(--fem-community-primary);
    color: white;
    border-bottom-left-radius: var(--fem-community-radius);
    border-bottom-right-radius: 4px;
}

.fem-message__time {
    font-size: 0.75rem;
    color: var(--fem-community-gray-500);
    margin-top: var(--space-xs);
}

.fem-message--sent .fem-message__time {
    color: rgba(255,255,255,0.7);
}

.fem-message__status {
    margin-left: var(--space-xs);
}

.fem-chat-form {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--fem-community-gray-200);
}

.fem-chat-input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--fem-community-gray-300);
    border-radius: var(--fem-community-radius);
    resize: none;
}

/* ============================================
   ACHIEVEMENTS & REPUTATION (Task 258)
   ============================================ */
.fem-achievements__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
}

.fem-achievement-card {
    background: white;
    border-radius: var(--fem-community-radius);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: var(--fem-community-shadow);
    border: 2px solid transparent;
    transition: all 0.2s;
}

.fem-achievement-card--common { border-color: var(--fem-community-gray-300); }
.fem-achievement-card--rare { border-color: var(--fem-community-secondary); }
.fem-achievement-card--epic { border-color: #9333EA; }
.fem-achievement-card--legendary { border-color: var(--fem-community-warning); }

.fem-achievement-card__icon {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.fem-achievement-card__name {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.fem-achievement-card__description {
    font-size: 0.875rem;
    color: var(--fem-community-gray-600);
    margin-bottom: var(--space-sm);
}

.fem-achievement-card__date {
    font-size: 0.75rem;
    color: var(--fem-community-gray-500);
}

/* Reputation Widget */
.fem-reputation-widget {
    background: white;
    border-radius: var(--fem-community-radius);
    padding: var(--space-lg);
    box-shadow: var(--fem-community-shadow);
}

.fem-reputation-widget__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.fem-reputation-widget__level-icon {
    font-size: 2rem;
}

.fem-reputation-widget__level {
    font-weight: 700;
}

.fem-reputation-widget__points {
    font-size: 0.875rem;
    color: var(--fem-community-gray-500);
}

.fem-reputation-widget__progress {
    height: 8px;
    background: var(--fem-community-gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.fem-reputation-widget__progress-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s;
}

/* Leaderboard */
.fem-leaderboard__tabs {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.fem-leaderboard__tab {
    padding: var(--space-sm) var(--space-md);
    border: none;
    background: var(--fem-community-gray-100);
    border-radius: var(--fem-community-radius);
    cursor: pointer;
    font-weight: 500;
}

.fem-leaderboard__tab.active {
    background: var(--fem-community-primary);
    color: white;
}

.fem-leaderboard__item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: white;
    border-radius: var(--fem-community-radius);
    margin-bottom: var(--space-sm);
    box-shadow: var(--fem-community-shadow);
}

.fem-leaderboard__item--rank-1 { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); color: white; }
.fem-leaderboard__item--rank-2 { background: linear-gradient(135deg, #C0C0C0 0%, #A0A0A0 100%); color: white; }
.fem-leaderboard__item--rank-3 { background: linear-gradient(135deg, #CD7F32 0%, #B87333 100%); color: white; }

.fem-leaderboard__rank {
    font-weight: 700;
    font-size: 1.25rem;
    width: 40px;
}

.fem-leaderboard__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.fem-leaderboard__user {
    flex: 1;
}

.fem-leaderboard__name {
    font-weight: 600;
}

.fem-leaderboard__points {
    font-weight: 700;
}

/* ============================================
   EVENTS (Task 262)
   ============================================ */
.fem-events-calendar {
    background: white;
    border-radius: var(--fem-community-radius);
    padding: var(--space-lg);
    box-shadow: var(--fem-community-shadow);
}

.fem-events-calendar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.fem-calendar-nav {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--fem-community-gray-100);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
}

.fem-events-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: var(--fem-community-gray-200);
    border: 1px solid var(--fem-community-gray-200);
    border-radius: var(--fem-community-radius);
    overflow: hidden;
}

.fem-events-calendar__day-name {
    background: var(--fem-community-gray-100);
    padding: var(--space-sm);
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.fem-events-calendar__day {
    background: white;
    min-height: 100px;
    padding: var(--space-sm);
    position: relative;
}

.fem-events-calendar__day--empty {
    background: var(--fem-community-gray-50);
}

.fem-events-calendar__day--today {
    background: #FFF5F7;
}

.fem-events-calendar__day--today .fem-events-calendar__day-number {
    background: var(--fem-community-primary);
    color: white;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.fem-events-calendar__day-number {
    font-weight: 600;
    margin-bottom: var(--space-xs);
    display: inline-block;
}

.fem-events-calendar__event {
    display: block;
    padding: 2px 6px;
    background: var(--fem-community-primary);
    color: white;
    font-size: 0.75rem;
    border-radius: 4px;
    margin-bottom: 2px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fem-event-card {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: white;
    border-radius: var(--fem-community-radius);
    margin-bottom: var(--space-md);
    box-shadow: var(--fem-community-shadow);
}

.fem-event-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--fem-community-primary);
    color: white;
    border-radius: var(--fem-community-radius);
    flex-shrink: 0;
}

.fem-event-card__day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.fem-event-card__month {
    font-size: 0.875rem;
    text-transform: uppercase;
}

.fem-event-card__content {
    flex: 1;
}

.fem-event-card__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.fem-event-card__title a {
    color: var(--fem-community-gray-900);
    text-decoration: none;
}

.fem-event-card__meta {
    display: flex;
    gap: var(--space-md);
    font-size: 0.875rem;
    color: var(--fem-community-gray-500);
    margin-bottom: var(--space-sm);
}

.fem-event-card__meta span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.fem-event-rsvp {
    display: flex;
    gap: var(--space-sm);
}

/* ============================================
   Q&A (Task 260)
   ============================================ */
.fem-questions-list {
    background: white;
    border-radius: var(--fem-community-radius);
    padding: var(--space-lg);
    box-shadow: var(--fem-community-shadow);
}

.fem-questions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.fem-questions-filters {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--fem-community-gray-200);
}

.fem-filter-link {
    color: var(--fem-community-gray-600);
    text-decoration: none;
    font-weight: 500;
}

.fem-filter-link:hover,
.fem-filter-link.active {
    color: var(--fem-community-primary);
}

.fem-question-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--fem-community-gray-200);
}

.fem-question-item__stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
    min-width: 80px;
}

.fem-question-item__stats span {
    padding: var(--space-sm);
    border-radius: var(--fem-community-radius);
    font-size: 0.75rem;
}

.fem-question-item__stats strong {
    display: block;
    font-size: 1.125rem;
}

.fem-question-item__votes {
    background: var(--fem-community-gray-100);
    color: var(--fem-community-gray-700);
}

.fem-question-item__answers {
    background: var(--fem-community-gray-100);
    color: var(--fem-community-gray-700);
}

.fem-question-item__answers.has-answers {
    background: var(--fem-community-success);
    color: white;
}

.fem-question-item__answers.has-best {
    background: var(--fem-community-primary);
    color: white;
}

.fem-question-item__content {
    flex: 1;
}

.fem-question-item__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.fem-question-item__title a {
    color: var(--fem-community-gray-900);
    text-decoration: none;
}

.fem-question-item__meta {
    display: flex;
    gap: var(--space-md);
    font-size: 0.875rem;
    color: var(--fem-community-gray-500);
    align-items: center;
}

.fem-question-item__author {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.fem-question-item__author img {
    border-radius: 50%;
}

.fem-question-item__solved {
    color: var(--fem-community-success);
    font-weight: 600;
}

/* Answers */
.fem-answers {
    margin-top: var(--space-xl);
}

.fem-answer {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: white;
    border-radius: var(--fem-community-radius);
    margin-bottom: var(--space-md);
    box-shadow: var(--fem-community-shadow);
}

.fem-answer--best {
    border: 2px solid var(--fem-community-success);
}

.fem-answer__votes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.fem-vote-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--fem-community-gray-100);
    border-radius: var(--fem-community-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.fem-vote-btn:hover {
    background: var(--fem-community-gray-200);
}

.fem-vote-btn.voted {
    background: var(--fem-community-primary);
    color: white;
}

.fem-answer__vote-count {
    font-weight: 700;
    font-size: 1.25rem;
}

.fem-answer__content {
    flex: 1;
}

.fem-answer__body {
    margin-bottom: var(--space-md);
}

.fem-answer__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fem-answer__author {
    display: flex;
    gap: var(--space-sm);
}

.fem-answer__author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.fem-answer__expert-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--fem-community-secondary);
    color: white;
    font-size: 0.75rem;
    border-radius: 99px;
    margin-left: var(--space-xs);
}

.fem-answer__best-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--fem-community-success);
    font-weight: 600;
}

/* ============================================
   POLLS (Task 261)
   ============================================ */
.fem-poll {
    background: white;
    border-radius: var(--fem-community-radius);
    padding: var(--space-lg);
    box-shadow: var(--fem-community-shadow);
}

.fem-poll__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
}

.fem-poll__options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.fem-poll__option {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--fem-community-radius);
    cursor: pointer;
    transition: all 0.2s;
}

.fem-poll__option:hover {
    background: var(--fem-community-gray-100);
}

.fem-poll__option input {
    width: 20px;
    height: 20px;
}

.fem-poll__result {
    margin-bottom: var(--space-md);
}

.fem-poll__result-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.fem-poll__result-bar {
    height: 32px;
    background: var(--fem-community-gray-200);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: var(--space-xs);
}

.fem-poll__result-fill {
    height: 100%;
    background: var(--fem-community-primary);
    border-radius: 16px;
    transition: width 0.5s ease;
}

.fem-poll__result-count {
    font-size: 0.875rem;
    color: var(--fem-community-gray-500);
}

/* ============================================
   BUTTONS & UTILITIES
   ============================================ */
.fem-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    border: none;
    border-radius: var(--fem-community-radius);
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.fem-btn--primary {
    background: var(--fem-community-primary);
    color: white;
}

.fem-btn--primary:hover {
    background: #B83A5A;
}

.fem-btn--secondary {
    background: var(--fem-community-gray-100);
    color: var(--fem-community-gray-700);
}

.fem-btn--secondary:hover {
    background: var(--fem-community-gray-200);
}

.fem-btn.active {
    background: var(--fem-community-success);
    color: white;
}

/* Modal */
.fem-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fem-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.fem-modal__content {
    position: relative;
    background: white;
    border-radius: var(--fem-community-radius);
    padding: var(--space-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.fem-modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 32px;
    height: 32px;
    border: none;
    background: var(--fem-community-gray-100);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
}

/* Welcome Modal */
.fem-welcome-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fem-welcome-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.fem-welcome-modal__content {
    position: relative;
    background: white;
    border-radius: var(--fem-community-radius);
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.fem-welcome-modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 32px;
    height: 32px;
    border: none;
    background: var(--fem-community-gray-100);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1;
}

.fem-welcome-modal__header {
    padding: var(--space-xl);
    text-align: center;
    background: linear-gradient(135deg, var(--fem-community-primary) 0%, var(--fem-community-secondary) 100%);
    color: white;
}

.fem-welcome-modal__header h2 {
    color: white;
    margin-bottom: var(--space-sm);
}

.fem-welcome-modal__steps {
    padding: var(--space-xl);
    display: grid;
    gap: var(--space-lg);
}

.fem-welcome-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-lg);
    background: var(--fem-community-gray-50);
    border-radius: var(--fem-community-radius);
}

.fem-welcome-step__number {
    width: 40px;
    height: 40px;
    background: var(--fem-community-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.fem-welcome-modal__footer {
    padding: var(--space-lg);
    text-align: center;
    border-top: 1px solid var(--fem-community-gray-200);
}

/* Responsive */
@media (max-width: 768px) {
    .fem-profile-header__content {
        flex-direction: column;
        text-align: center;
    }
    
    .fem-profile-avatar {
        margin: -70px auto 0;
    }
    
    .fem-profile-stats {
        justify-content: center;
    }
    
    .fem-profile-actions {
        justify-content: center;
    }
    
    .fem-chat-container {
        flex-direction: column;
        height: auto;
    }
    
    .fem-chat-sidebar {
        width: 100%;
        max-height: 200px;
    }
    
    .fem-events-calendar__grid {
        font-size: 0.75rem;
    }
    
    .fem-events-calendar__day {
        min-height: 60px;
    }
}
