/* 
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 */

/* Main grid container for posts */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Tres columnas */
    gap: 20px;
    margin: 40px 0;
    padding: 20px;
}

/* Individual post container */
.grid-item {
    background: linear-gradient(135deg, #f0f8ff, #e6f7ff); /* Degradado de fondo */
    padding: 30px;
    border-radius: 25px; /* Bordes redondeados */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Sombra suave */
    font-family: 'Montserrat', sans-serif; /* Fuente moderna */
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #555; /* Color del texto */
}

.grid-item:hover {
    transform: translateY(-5px); /* Efecto de hover */
}

/* Post title styles */
.post-title a {
    color: #222; /* Color de título oscuro */
    text-decoration: none;
    font-size: 1.25rem; /* Tamaño del título */
    font-weight: 700; /* Negrita */
    margin-bottom: 15px;
}

/* Thumbnail styles */
.post-image {
    margin-bottom: 20px;
    max-width: 100%; /* Asegura que la imagen no exceda el contenedor */
    height: auto;
    border-radius: 15px; /* Borde redondeado para las imágenes */
}

/* Excerpt styles */
.post-excerpt {
    font-size: 1em; /* Tamaño del texto */
    line-height: 1.8; /* Mayor espaciado entre líneas */
    margin-top: 15px;
    color: #555; /* Color de texto */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* Dos columnas en pantallas medianas */
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr; /* Una columna en pantallas pequeñas */
    }
}
