/* =============================================
   Areas Grid Styles
   ============================================= */

/* Areas Section */
.areas-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #00A0E9;
}

/* Areas Grid Layout */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Area Card */
.area-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #f1f3f4;
}

.area-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.area-link {
    display: block;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
}

.area-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Area Name */
.area-name {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
    transition: color 0.3s;
}

.area-card:hover .area-name {
    color: #00A0E9;
}

/* Area Stats */
.area-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.area-count {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

.area-count::before {
    content: "📍";
    margin-right: 0.25rem;
}

/* Related Areas Section */
.related-areas-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.related-areas-section .section-title {
    border-bottom-color: #28a745;
}

/* Responsive Design */
@media (max-width: 768px) {
    .areas-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }
    
    .area-link {
        padding: 1rem;
    }
    
    .area-name {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .area-link {
        padding: 0.75rem;
    }
    
    .area-name {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .area-count {
        font-size: 0.8125rem;
    }
}