/* Community Groups Page Styles */

.breadcrumb {
    margin-bottom: 30px;
}

.breadcrumb a {
    color: #2a5298;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #1e3c72;
}

/* Groups Grid */
.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.group-card {
    background: white;
    border: 2px solid #1e3c72;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.group-card:hover {
    box-shadow: 0 8px 20px rgba(30, 60, 114, 0.15);
    transform: translateY(-3px);
    border-color: #2a5298;
}

.group-card.coming-soon {
    background: #f9fafb;
    opacity: 0.8;
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.group-header h3 {
    font-size: 18px;
    color: #1e3c72;
    font-weight: 700;
    margin: 0;
    flex: 1;
}

.postcode {
    display: inline-block;
    background: #1e3c72;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 10px;
    white-space: nowrap;
}

.group-stats {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.member-count {
    font-size: 14px;
    font-weight: 600;
    color: #2a5298;
    margin: 5px 0;
}

.group-type {
    font-size: 12px;
    color: #999;
    margin: 5px 0;
}

.group-description {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.group-link {
    display: inline-block;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.group-link:hover {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.25);
    transform: translateY(-1px);
}

.group-card.coming-soon .group-link {
    background: #ccc;
    color: #666;
}

.group-card.coming-soon .group-link:hover {
    background: #999;
    color: white;
    box-shadow: none;
    transform: none;
}

/* Responsive */
@media (max-width: 768px) {
    .groups-grid {
        grid-template-columns: 1fr;
    }

    .group-header {
        flex-direction: column;
    }

    .postcode {
        margin-left: 0;
        margin-top: 8px;
    }
}
