/* Start custom CSS for shortcode, class: .elementor-element-2560f5f */.books-search {
    display: flex;
    justify-content: center;
    padding: 20px;
    background-color: #f5f5f5; /* Puedes cambiarlo o eliminarlo si usas fondo oscuro */
}

#books-search-input {
    display: flex;
    width: 100%;
    max-width: 600px;
}

#books-search-input input[type="text"] {
    flex: 1;
    padding: 10px 15px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 6px 0 0 6px;
    outline: none;
}

#books-search-button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#books-search-button:hover {
    background-color: #333;
}



.books-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas iguales */
    gap: 20px; /* espacio entre tarjetas */
    padding: 20px;
}

/* Adaptación responsiva (opcional) */
@media (max-width: 1024px) {
    .books-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .books-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .books-container {
        grid-template-columns: 1fr;
    }
}

.book-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    color: #000;
    padding: 10px 15px
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.book-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.book-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-top: 10px;
    border: 1.5px solid #ccc;
    border-radius: 5px
}

.card-info {
    padding: 0px;
}

.card-title-holder p {
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0 0 10px;
    color: #333;
}

.card-author-holder p {
    font-size: 1rem;
    color: #444;
    font-weight: 500;
    margin: 0;
}/* End custom CSS */