body:not(.single-request) #job_listings:not(.cards) {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

body:not(.single-request) #job_listings .hs-request>.ui.grid{
    flex-direction: column !important;
}

body:not(.single-request) #job_listings .hs-request>.ui.grid .wide.column{
    width: 100% !important;
    display: block;
}

body:not(.single-request) #job_listings .hs-request>.ui.grid .wide.column.four{
    border-top: 1px solid rgba(34, 36, 38, 0.1);
}

body:not(.single-request) #job_listings .hs-request>.ui.grid .wide.column.ten{
    padding-top: 0px;
}

body:not(.single-request) #job_listings .hs-request>.ui.grid .wide.column.two{
    padding-bottom: 5px;
}

body:not(.single-request) #job_listings:not(.cards) .request-job-wrapper .author-link{
    font-size: 12px;
}
body:not(.single-request) #job_listings:not(.cards) .request-content-title a{
    font-size: 16px;
    font-weight: 600;
}

body:not(.single-request) #job_listings:not(.cards) .hs-request .request-view-more-link,
body:not(.single-request) #job_listings:not(.cards) .hs-request .login-link,
body:not(.post-type-archive-request):not(.home) #job_listings .hs-budget,
body:not(.post-type-archive-request):not(.home) .fiverr-gig-image{
    display: none !important;
}

body:not(.single-request) #job_listings .hs-request{
    margin: 0px !important;
    flex: 1 1 calc(33.333% - 20px); /* 3 cards per row with space between */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    transition: transform 0.3s ease;
    max-width: 265px; /* Set a fixed width for consistency */
    /* min-width: 280px;  */
}
/* body.post-type-archive-request #job_listings .hs-request:hover {
    transform: translateY(-10px);
} */

/* Image styling */
.fiverr-gig-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}
a.ui.primary.button.hs-login-link {
    background-color: #003366 !important;
}

/* Responsive design for smaller screens */
@media (max-width: 1024px) {
    body:not(.single-request) #job_listings .hs-request{
        flex: 1 1 calc(50% - 20px); /* 2 cards per row */
    }
}

@media (max-width: 768px) {
    body:not(.single-request) #job_listings .hs-request{
        flex: 1 1 100%; /* 1 card per row on small screens */
    }
    body:not(.single-request) #job_listings{
        justify-content: center;
    }
}

@media (max-width: 480px){
    body:not(.single-request) #job_listings {
        padding-left: 0;
        padding-right: 0;
    }
    body:not(.single-request) #job_listings .hs-request{
        max-width: 365px;
        min-width: 280px;
    }
}