/*
Theme Name: Astra Cero Enganos Child
Template: astra
Version: 1.0.0
*/

/* Logo junto al titulo - tamaño 95px */
.cero-logo-inline {
    height: 95px !important;
    width: auto !important;
    margin-right: 12px !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

/* Estilos Landing - Secciones de categorias */
.site-main .cero-seccion {
    margin-bottom: 40px !important;
    padding: 0 20px !important;
}

.site-main .cero-seccion-titulo {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 3px solid #e0e0e0 !important;
}

.site-main .cero-seccion-titulo a {
    color: #333 !important;
    text-decoration: none !important;
}

.site-main .cero-seccion-titulo a:hover {
    color: #c00 !important;
}

/* Grid de posts: 3 columnas en desktop, 1 en movil */
.site-main .cero-posts-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 15px !important;
}

@media (max-width: 768px) {
    .site-main .cero-posts-grid {
        grid-template-columns: 1fr !important;
    }
}

.site-main .cero-post-card {
    background: #fff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.site-main .cero-post-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}

.site-main .cero-post-link {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    padding: 0 0 15px 0 !important;
}

.site-main .cero-post-thumb {
    width: 100% !important;
    height: 180px !important;
    overflow: hidden !important;
    background: #f5f5f5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.site-main .cero-post-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.site-main .cero-no-thumb {
    background: linear-gradient(135deg, #c00 0%, #900 100%) !important;
    color: #fff !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
}

.site-main .cero-post-titulo {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin: 15px 15px 10px !important;
    line-height: 1.3 !important;
    color: #222 !important;
}

.site-main .cero-post-excerpt {
    font-size: 0.9rem !important;
    color: #555 !important;
    margin: 0 15px 10px !important;
    line-height: 1.5 !important;
}

.site-main .cero-post-fecha {
    font-size: 0.8rem !important;
    color: #999 !important;
    margin: 0 15px !important;
    display: block !important;
}

.site-main .cero-ver-mas {
    text-align: right !important;
    margin-top: 10px !important;
    padding-right: 5px !important;
}

.site-main .cero-ver-mas a {
    color: #c00 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
}

.site-main .cero-ver-mas a:hover {
    text-decoration: underline !important;
}
.cero-posts-grid { background: red !important; }
