time.updated:not(.published) {
  display: none;
}

.site-info {
  display: none;
}

.site-branding {
    display: none;
}

body.home.page .entry-header {
    display: none;
}

body.home .entry-content > .wp-block-group:first-child {
    padding-bottom: 32px !important;
}

/* Tarjetas de categorías de la portada */
.avea-categorias .wp-block-column {
    background: #ffffff;
    border: 1px solid #d8e2e5;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(35, 79, 87, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Efecto al pasar el ratón */
.avea-categorias .wp-block-column:hover {
    transform: translateY(-5px) scale(1.025);
    box-shadow: 0 12px 24px rgba(35, 79, 87, 0.18);
}

/* Evita el efecto en pantallas táctiles */
@media (max-width: 781px) {
    .avea-categorias .wp-block-column:hover {
        transform: none;
    }
}

/* Separación entre las filas de tarjetas */
.avea-categorias .wp-block-columns {
    margin-bottom: 24px;
}

/* Enlaces de las tarjetas */
.avea-categorias .wp-block-column a {
    display: inline-block;
    color: #2f6670;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.avea-categorias .wp-block-column a:hover {
    color: #25aeb5;
    transform: translateX(4px);
    text-decoration: none;
}

/* ==================================================
   SECCIÓN «LO ÚLTIMO EN AVEA»
   ================================================== */

/* Espacio general de la sección */
.avea-ultimos {
    margin-top: 36px;
    margin-bottom: 48px;
}

/* Título principal de la sección */
.avea-ultimos > h2,
.avea-ultimos .wp-block-heading {
    margin-bottom: 28px;
    color: #234f57;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

/* Rejilla de artículos */
.avea-ultimos .wp-block-latest-posts,
.avea-ultimos .wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Tarjeta individual */
.avea-ultimos .wp-block-latest-posts > li,
.avea-ultimos .wp-block-post-template > li {
    overflow: hidden;
    margin: 0;
    padding: 0 0 22px;
    background: #ffffff;
    border: 1px solid #d8e2e5;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(35, 79, 87, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

/* Elevación suave de la tarjeta */
.avea-ultimos .wp-block-latest-posts > li:hover,
.avea-ultimos .wp-block-post-template > li:hover {
    transform: translateY(-5px);
    border-color: #9bcbd0;
    box-shadow: 0 14px 28px rgba(35, 79, 87, 0.16);
}

/* Contenedor de la imagen destacada */
.avea-ultimos .wp-block-latest-posts__featured-image,
.avea-ultimos .wp-block-post-featured-image {
    overflow: hidden;
    margin: 0 0 18px;
    border-radius: 14px 14px 0 0;
}

/* Enlace de la imagen */
.avea-ultimos .wp-block-latest-posts__featured-image a,
.avea-ultimos .wp-block-post-featured-image a {
    display: block;
}

/* Imágenes grandes, uniformes y sin deformarse */
.avea-ultimos .wp-block-latest-posts__featured-image img,
.avea-ultimos .wp-block-post-featured-image img {
    display: block;
    width: 100%;
    height: 290px;
    margin: 0;
    object-fit: cover;
    transition: transform 0.35s ease;
}

/* Zoom suave de la imagen */
.avea-ultimos li:hover
.wp-block-latest-posts__featured-image img,
.avea-ultimos li:hover
.wp-block-post-featured-image img {
    transform: scale(1.035);
}

/* Títulos de los artículos */
.avea-ultimos .wp-block-latest-posts__post-title,
.avea-ultimos .wp-block-post-title a {
    display: block;
    margin: 0;
    padding: 0 22px;
    color: #234f57;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Color del título al pasar el ratón */
.avea-ultimos .wp-block-latest-posts__post-title:hover,
.avea-ultimos .wp-block-post-title a:hover {
    color: #25aeb5;
    text-decoration: none;
}

/* Fecha de publicación */
.avea-ultimos .wp-block-latest-posts__post-date,
.avea-ultimos .wp-block-post-date {
    display: block;
    margin: 12px 0 0;
    padding: 0 22px;
    color: #62757b;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

/* Resumen del artículo, si está activado */
.avea-ultimos .wp-block-latest-posts__post-excerpt,
.avea-ultimos .wp-block-post-excerpt {
    margin: 14px 0 0;
    padding: 0 22px;
    color: #465b61;
    font-size: 16px;
    line-height: 1.65;
}

/* Enlace «Leer más», si aparece */
.avea-ultimos .wp-block-post-excerpt__more-link,
.avea-ultimos .wp-block-latest-posts__post-excerpt a {
    display: inline-block;
    margin-top: 12px;
    color: #2f6670;
    font-weight: 700;
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.avea-ultimos .wp-block-post-excerpt__more-link:hover,
.avea-ultimos .wp-block-latest-posts__post-excerpt a:hover {
    color: #25aeb5;
    text-decoration: none;
    transform: translateX(4px);
}

/* TABLET */
@media (max-width: 900px) {
    .avea-ultimos .wp-block-latest-posts,
    .avea-ultimos .wp-block-post-template {
        gap: 24px 20px;
    }

    .avea-ultimos
    .wp-block-latest-posts__featured-image img,
    .avea-ultimos
    .wp-block-post-featured-image img {
        height: 230px;
    }
}

/* MÓVIL */
@media (max-width: 781px) {
    .avea-ultimos {
        margin-top: 28px;
        margin-bottom: 36px;
    }

    .avea-ultimos > h2,
    .avea-ultimos .wp-block-heading {
        margin-bottom: 22px;
        font-size: 27px;
    }

    .avea-ultimos .wp-block-latest-posts,
    .avea-ultimos .wp-block-post-template {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .avea-ultimos
    .wp-block-latest-posts__featured-image img,
    .avea-ultimos
    .wp-block-post-featured-image img {
        height: 230px;
    }

    .avea-ultimos .wp-block-latest-posts__post-title,
    .avea-ultimos .wp-block-post-title a {
        padding: 0 18px;
        font-size: 19px;
    }

    .avea-ultimos .wp-block-latest-posts__post-date,
    .avea-ultimos .wp-block-post-date,
    .avea-ultimos .wp-block-latest-posts__post-excerpt,
    .avea-ultimos .wp-block-post-excerpt {
        padding-right: 18px;
        padding-left: 18px;
    }

    /* En pantallas táctiles no elevamos las tarjetas */
    .avea-ultimos .wp-block-latest-posts > li:hover,
    .avea-ultimos .wp-block-post-template > li:hover {
        transform: none;
    }
}

/* Efecto al pasar el ratón */
.avea-ultimos .wp-block-latest-posts__post-title:hover,
.avea-ultimos .wp-block-post-title a:hover {
    color: #25aeb5;
    text-decoration: none;
}

/* Tamaño adaptado para móvil */
@media (max-width: 781px) {
    .avea-ultimos .wp-block-latest-posts__post-title,
    .avea-ultimos .wp-block-post-title a {
        font-size: 19px;
    }
}

/* Ajuste final: artículos amplios, uno por fila */
.avea-ultimos .wp-block-latest-posts,
.avea-ultimos .wp-block-post-template {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
}

/* Mostrar las imágenes completas, sin recortarlas */
.avea-ultimos .wp-block-latest-posts__featured-image img,
.avea-ultimos .wp-block-post-featured-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}