.wpjm-searchresults{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.wpjm-searchresults a:hover {
    text-decoration: none;
}

/* Load More button styling */
.wpjm-searchresults .serp-show-more, .wpjm-searchresults .serp-show-more-pro {
    width: 100%;
    height: 100%;
    background-color: var(--color-sub);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    min-width: 200px;
    border-top-left-radius: 20px !important;
}

.wpjm-load-more:hover , .serp-show-more-pro:hover{
    background-color: var(--color-sub);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Ensure the no-job-container and load-more span all columns */
.wpjm-searchresults .no-job-container{
    grid-column: 1 / -1; /* Span all columns */
    text-align: center;
    margin-top: 30px;
}

/* Load More button container inside the grid */
/* .wpjm-searchresults .wpjm-load-more-container {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
} */

@media (max-width: 1000px){
    .wpjm-searchresults{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 414px){
    .wpjm-searchresults{
        grid-template-columns: repeat(1, 1fr);
    }
}

.wpjm-searchresults__result{
    background: white;
    padding: 24px 28px;
    height: 100%;
    border-radius: 20px 0 0 0;
    display: flex;
    flex-direction: column;
}

.wpjm-searchresults__result p  {
    font-size: 14px;
    color: #000;
}

.wpjm-searchresults__result h2{
    margin-top: 0;
    font-size: 20px !important;
}

.job-info-container {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.job-info-container .location-icon {
    margin-right: 10px;
}

.job-info-container .vertical-line {
    width: 2px;
    height: 14px;
    margin: 0px 12px;
    background: var(--color-light);
}

.job-info-container p {
    color: var(--color-light);
    margin: 0;
}
.job-info-container p.job-art {
    padding-right: 5px;
}

.actions-container {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}

.no-job-container {
    display: grid;
    place-content: center;
    padding: 25px 0px;
    width: 100%;
}

/* Pagination styles */
.wpjm-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    grid-column: 1 / -1;
}

.wpjm-pagination a,
.wpjm-pagination span {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}

.wpjm-pagination a {
    background-color: #f5f5f5;
    color: #333;
    transition: all 0.3s ease;
}

.wpjm-pagination a:hover {
    background-color: var(--color-main);
    color: white;
}

.wpjm-pagination .pagination-current {
    background-color: var(--color-main);
    color: white;
    font-weight: bold;
}

.wpjm-pagination .pagination-prev,
.wpjm-pagination .pagination-next {
    font-weight: bold;
}

/* Load More button styles */
.wpjm-load-more-container {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpjm-load-more {
    width: 100%;
    height: 100%;
    background-color: var(--color-main);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    min-width: 200px;
    border-top-left-radius: 20px !important;
}

.wpjm-load-more:hover {
    background-color: var(--color-main-dark, #0056b3);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Loading spinner */
.wpjm-loading-spinner {
    margin-top: 15px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid var(--color-main);
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .wpjm-pagination {
        flex-wrap: wrap;
    }

    .wpjm-pagination a,
    .wpjm-pagination span {
        margin: 3px;
        padding: 6px 10px;
    }
}


div.gm-style-iw-d .h3{
    font-size: 18px!important;
    color: var(--body-text-color)!important;
}