/* Hwalteo (활터) Pages Styles */
.map-container {
    margin-bottom: 40px;
}

#map {
    width: 100%;
    height: 600px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.hwalteo-map {
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    /* 최소 높이 보장 */
}

.hwalteo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.hwalteo-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border-left: 4px solid #4caf50;
    /* Green */
}

.hwalteo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hwalteo-card h3 {
    color: #2e7d32;
    /* Dark Green */
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hwalteo-card h3 i {
    color: #ff9800;
    /* Orange Icon - Keep valid for visibility */
}

.hwalteo-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
}

.hwalteo-btn {
    flex: 1;
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
}

.hwalteo-btn.view-map {
    background: #66bb6a;
    /* Medium Green */
    color: white;
}

.hwalteo-btn.view-map:hover {
    background: #43a047;
    /* Green */
}

.hwalteo-btn.call {
    background: #4caf50;
    /* Green */
    color: white;
}

.hwalteo-btn.call:hover {
    background: #388e3c;
    /* Darker Green */
}

/* Leaflet Popup Custom Style */
.custom-popup h4 {
    color: #2e7d32;
    /* Dark Green */
    margin-bottom: 10px;
}

.custom-popup p {
    margin: 5px 0;
    font-size: 14px;
}

.custom-popup i {
    margin-right: 5px;
    color: #4caf50;
    /* Green */
}

/* Responsive */
@media (max-width: 768px) {
    #map {
        height: 400px;
    }

    .hwalteo-grid {
        grid-template-columns: 1fr;
    }

    .hwalteo-actions {
        flex-direction: column;
    }
}