
.work {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.project-title, .portfolio-category {
    font-family: 'verlag-bold', 'arial-bold';
    text-transform: uppercase;
    font-weight: 400;
    font-style: italic;
    display: block; /* Necesario para ellipsis */
    white-space: nowrap; /* Solo una línea de texto */
    overflow: hidden; /* Ocultar cualquier texto que desborde */
    text-overflow: ellipsis; /* Mostrar los tres puntos */
    max-width: 100%; /* Asegura que use todo el ancho disponible */
    padding-left: 10px; /* Pequeño margen derecho */
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 0;
}

.portfolio-category{
    color: #aaa;
    font-style: normal;
}

.work-item{
    margin-bottom: 10px;
}



.search-bar {
    width: 60%;
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.search-bar input {
    width: 100%;
    font-size: 16px;
    color: #000;
    border: none;
    border-bottom: #000 solid thin;
    border-radius: 0;
    font-size: 1.6rem;
    line-height: 2.24rem;
    margin: 0;
    height: 30px;
    padding-left: 0
}

/* Móviles */
@media (max-width: 600px) {
    .gallery-container {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(1, minmax(200px, 1fr));
        gap: 10px;
        padding: 20px;
    }
    
    img {
        width: 100%;
        height: auto;
        /* border-radius: 10px; */
    }

    #w-node-e5c5e245-dac0-6b2c-8e18-4f1b2bce84d0-2bce84cc .widget{
        margin: 0 auto;
    }

    

}

/* Tablets */
@media (min-width: 601px) and (max-width: 1024px) {
    .gallery-container {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(200px, 1fr));
        gap: 10px;
        padding: 20px;
    }
    
    img {
        width: 100%;
        height: auto;
        /* border-radius: 10px; */
    }

    /* Logo de guggenheim */
    #w-node-e5c5e245-dac0-6b2c-8e18-4f1b2bce84d0-2bce84cc .widget{
        margin: 0 auto;
    }

    

}

/* Escritorio */
@media (min-width: 1025px) {
    .gallery-container {
        width: 80%;
        display: grid;
        grid-template-columns: repeat(3, minmax(200px, 1fr));
        gap: 10px;
        padding: 20px;
    }
    
    img {
        width: 100%;
        height: auto;
        /* border-radius: 10px; */
    }
}

.gallery-container{
    min-height: 300px;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.pagination-btn {
    background-color: #fff;
    border: 2px solid #000;
    color: #000;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 40px;
}

.pagination-btn:hover:not(:disabled) {
    background-color: #000;
    color: #fff;
}

.pagination-btn.active {
    background-color: #000;
    color: #fff;
}

.pagination-btn:disabled {
    background-color: #f5f5f5;
    border-color: #ddd;
    color: #999;
    cursor: not-allowed;
}

.pagination-ellipsis {
    padding: 8px 4px;
    color: #666;
    font-size: 14px;
}

/* Responsive pagination */
@media (max-width: 600px) {
    .pagination-container {
        gap: 5px;
        margin: 20px 0;
    }
    
    .pagination-btn {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 35px;
    }
}

@media (max-width: 768px) {
    .project-title {
        font-size: 20px;
        line-height: 15px;
    }

    .portfolio-category {
        font-size: 15px;
        line-height: 0px;
    }
}

@media (max-width: 480px) {
    .work-item-wrapper {
        margin-bottom: 0px;
    }

    .project-title {
        margin-bottom: 0px;
    }
}