.container_search_projects {
    width: 100%;
    padding: 30px 0px;
    max-width: 1200px;
    margin: 0 auto;
}

@media only screen and (max-width: 768px) {
    .container_search_projects {
        padding: 0px 20px;
        margin-bottom: 30px;
    }
}

@media only screen and (max-width: 580px) {
    .container_search_projects {
        padding: 0px 30px;
    }
}

@media only screen and (max-width: 375px) {
    .container_search_projects {
        padding: 0px 20px;
    }
}

.container_search_projects #search-form {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.container_search_projects #search-form .content_select_form {
    margin-right: 30px;
    padding: 0 !important;
}

.container_search_projects #search-form .content_select_form select {
    padding-bottom: 0 !important;
    border-radius: 8px !important;
    color: #323755;
    font-weight: 500;
     -webkit-appearance: none;  /* Safari */
    -moz-appearance: none;     /* Firefox */
    appearance: none;          /* Estilo moderno */
    padding-right: 30px;       /* Deja espacio para la nueva flecha */
    background-image: url('https://viventa.co/wp-content/uploads/icono-arrow-low.svg'); /* Flecha personalizada */
    background-position: right 10px center; /* Posiciona la flecha dentro del select */
    background-repeat: no-repeat;  /* Evita que la flecha se repita */
    background-size: 14px 14px;
}

.container_search_projects #search-form .search-submit {
    position: relative;
    height: 100%;
    top: 1px;
    background: #E60064;
    border: none;
    outline: none;
    transition: .1 ease-in;
}

.container_search_projects #search-form .search-submit:hover {
    background: #B80B56;
}

@media only screen and (max-width: 768px) {
    .container_search_projects #search-form {
        flex-direction: column;
    }

    .container_search_projects #search-form .content_select_form {
        width: 100%;
    }

    .container_search_projects #search-form .content_select_form select {
        width: 100%;
    }

    .container_search_projects #search-form .search-submit {
        width: 100%;
    }
}

.wrapper-projects-cover {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between; /* Para distribuir las cards equitativamente */
}

.service-item {
    overflow: hidden;
    border: 1px solid #CCCCCC;
    border-radius: 10px;
    /* flex: 1 1 300px;  */
    width: 370px;
    margin-bottom: 20px; /* Opcional, para espacio entre las cards */
}

@media only screen and (max-width: 1280px) {
    .wrapper-projects-cover {
        max-width: 100% !important;
        flex-wrap: no-wrap;
    }
    
    .service-item {
        width: 350px;
    }
}

@media only screen and (max-width: 990px) {
    .service-item {
        width: 400px;
    }
}

@media only screen and (max-width: 768px) {
    .service-item {
        width: 320px;
    }  
}

@media only screen and (max-width: 580px) {
    .service-item {
        width: 100%
    }  
}

.service-item:hover .project-slide-image img {
    transform: scale(1.3);
    transition: 1s ease;
}

.service-item .project-slide-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    transition: .1s ease;
}

.service-item .project-slide-image img {
    margin: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.7);
}

.service-item .project-slide-content {
    position: relative;
    padding: 20px;
    width: 100%;
    height: auto;
}

.service-item .project-slide-content .project-title-red {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.4;
    color: #494949;
    margin: 0;
    margin-bottom: 10px;
    padding: 0;
}

.service-item .project-slide-content .project-title {
    color: #323755;
    font-size: 25px;
    font-weight: semibold;
    line-height: 1.4;
    margin: 0;
    margin-bottom: 5px;
    padding: 0;
}

@media only screen and (max-width: 320px) {
    .service-item .project-slide-content .project-title-red {
        font-size: 14px;
    }

    .service-item .project-slide-content .project-title {
        font-size: 20px;
    }
}

.service-item .project-slide-content .project-info {
    background: rgba(204, 204, 204, 0.2);
    padding: 15px;
    width: 100%;
    border-radius: 5px;
}

.service-item .project-slide-content .project-info {
    display: flex;
    justify-content: space-between;
}

.service-item .project-slide-content .project-info div p {
    margin: 0;
}

.service-item .project-slide-content .project-info div:nth-child(1) {
    color: #323755;
    font-size: 18px;
    font-weight: 600;
}

.service-item .project-slide-content .project-info div:nth-child(2) {
    color: #E60064;
    font-size: 16px;
    font-weight: 500;
}

@media only screen and (max-width: 768px) {
    .service-item .project-slide-content .project-info {
        flex-direction: column;
        gap: 10px;
    }
}

#project-card-template {
    display: none;
}

.pagination-search {
    padding: 30px 0px;
    display: flex;
    justify-content: center;
    align-items: center; 
}

.active_paginador {
    color: red;
}

.content-project .pagination-search span.current {
    margin: 0 10px;
    color: #E60064;
    font-weight: 600;
    cursor: pointer;
}

.content-project .pagination-search span.inactive {
    margin: 0 10px;
    color: #323755;
    font-weight: 500;
    cursor: pointer;
}

#page-first, #page-prev, #page-last, #page-next {
    cursor: pointer;
}

.content-project .pagination-search span.arrows-search {
    margin: 0 5px;
    background: #E60064;
    border-radius: 5px;
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    padding-bottom: 2px;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.project-slide-image{
    background-color: #bbbbbb;
}