/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Estilos para los resultados de búsqueda en grilla */
.search-results-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Espacio entre los elementos */
    margin-top: 30px;
}

.grid-item {
    width: calc(33.333% - 13.333px); /* 3 columnas en desktop */
    box-sizing: border-box;
    text-align: center;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    transition: transform 0.3s ease;
    padding-bottom: 20px;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.grid-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.grid-item-image {
    width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.grid-item-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.grid-item:hover .grid-item-image img {
    transform: scale(1.05);
}

.grid-item-title {
    font-size: 1.2em;
    margin: 0;
    padding: 0 10px;
}

/* Media Queries para diseño responsivo */
@media (max-width: 768px) {
    .grid-item {
        width: calc(33.333% - 13.333px); /* Mantiene 3 columnas en tablet */
    }
}

@media (max-width: 480px) {
    .grid-item {
        width: 100%; /* 1 columna en móviles */
    }
}