/* Profiles Home Page Styles */

.profiles-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.profiles-header {
    margin-bottom: 30px;
    text-align: center;
}

.profiles-header h1 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.profiles-header p {
    color: #666;
    font-size: 1.1rem;
}

.letter-section {
    margin-bottom: 30px;
}

.letter-header {
    background: #D84315;
    color: white;
    padding: 10px 20px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.community-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    padding-left: 20px;
}

.community-link {
    color: #0066cc;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.2s;
}

.community-link:hover {
    color: #D84315;
    text-decoration: underline;
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: #666;
}

.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}
