#wpim-map {
    max-width: 1200px;
    margin: auto;
    margin-bottom: 60px;
}

#wpim-map svg {
    width: 100% !important;
}

#wpim-tooltip{
    position:absolute;
    display:none;
    background:#000;
    color:#fff;
    padding:6px 10px;
    font-size:13px;
    border-radius:4px;
    pointer-events:none;
    z-index:999;
}

#wpim-country-name{
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: bolder;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 810px) {
    #wpim-map svg{
        height: 350px !important;
    }
}

.wpim-project-grid {

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;

}

.wpim-project-card {

    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: 0.3s;

}

.wpim-project-card:hover {

    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);

}

.wpim-image {

    height: 220px;
    background-size: cover;
    background-position: center;

}

.wpim-content {

    padding: 25px;

}

.wpim-content h3 {

    font-size: 20px;
    margin-bottom: 15px;

}

.wpim-project-card h3 {

    font-size: 20px !important;
    line-height: 1.5em !important;

}


#wpim-map path:hover {
    opacity: 0.8;
    cursor: pointer;
}


.wpim-content p {

    color: #666;
    font-size: 14px;
    line-height: 1.6;

}

.wpim-more {

    color: #ff6600;
    font-weight: bold;
    font-size: 13px;

}

.wpim-date {

    border-top: 1px solid #eee;
    padding: 15px 25px;
    font-size: 13px;
    color: #999;

}


.wpim-pagination {

    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;

}

.wpim-page {

    padding: 8px 14px;
    border: 1px solid #ddd;
    cursor: pointer;
    background: white;

}

.wpim-page:hover {

    background: #ff6600;
    color: white;

}

#wpim-map {
    display: flex;
    justify-content: center;
}

#wpim-tooltip {
    position: fixed;
    display: none;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 6px;
    pointer-events: none;
    z-index: 9999;
}

@media (min-width: 811px) {
    #wpim-map svg {
        height: 70vh; 
    }
}

/* MOBILE */
@media (max-width: 810px) {
    #wpim-map svg {
        height: 320px;
    }
}