/*
Theme Name: Inicianet Child Theme
Theme URI: https://inicianet.com/
Author: Inicianet
Author URI: https://inicianet.com/
Description: Un theme hijo de Inicianet Exclusive Theme, creado para personalizar y extender las funcionalidades del theme principal.
Template: inicianet
Version: 1.0
Text Domain: inicianet-child
*/

/* Aquí puedes añadir tus estilos personalizados */

/* ── Últimas novedades: Posts widget — 2 cols, layout horizontal ─────────── */

.elementor-element-e94102e .elementor-posts-container {
    grid-template-columns: repeat(2, 1fr) !important;
}

.elementor-element-e94102e .elementor-post {
    display: flex !important;
    flex-direction: row !important;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    min-height: 180px;
}

.elementor-element-e94102e .elementor-post__thumbnail__link {
    flex-shrink: 0 !important;
    width: 220px !important;
    height: auto !important;
    display: block;
}

.elementor-element-e94102e .elementor-post__thumbnail__link img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.elementor-element-e94102e .elementor-post__text {
    flex: 1;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.elementor-element-e94102e .elementor-post__title a {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1c2023;
    text-decoration: none;
    line-height: 1.3;
}

.elementor-element-e94102e .elementor-post__meta-data {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #13243e;
    margin-bottom: 4px;
}

.elementor-element-e94102e .elementor-post__excerpt p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.elementor-element-e94102e .elementor-post__read-more {
    display: none;
}

/* Limitar a 4 posts (2x2) */
.elementor-element-e94102e .elementor-post:nth-child(n+5) {
    display: none !important;
}

@media (max-width: 768px) {
    .elementor-element-e94102e .elementor-posts-container {
        grid-template-columns: 1fr !important;
    }
    .elementor-element-e94102e .elementor-post {
        flex-direction: column !important;
    }
    .elementor-element-e94102e .elementor-post__thumbnail__link {
        width: 100% !important;
        height: 180px !important;
    }
}
