.cedim-noticias-portada {
    padding: 80px 20px;
    color: #14363c;
    background:
        linear-gradient(
            135deg,
            #edf7f6 0%,
            #ffffff 100%
        );
}

.cedim-noticias-contenedor {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.cedim-noticias-cabecera {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.cedim-noticias-etiqueta {
    display: block;
    margin-bottom: 9px;
    color: #075d69;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cedim-noticias-cabecera h2 {
    margin: 0;
    color: #14363c;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.cedim-noticias-cabecera p {
    max-width: 650px;
    margin: 15px 0 0;
    color: #607579;
    font-size: 1rem;
    line-height: 1.7;
}

.cedim-noticias-ver-todas {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    padding: 10px 20px;
    border: 1px solid #075d69;
    border-radius: 999px;
    color: #ffffff;
    background: #075d69;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.cedim-noticias-ver-todas:hover {
    background: #064b55;
    transform: translateY(-2px);
}

.cedim-noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cedim-noticia-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d7e5e3;
    border-radius: 22px;
    background: #ffffff;
    box-shadow:
        0 14px 38px rgba(14, 53, 59, 0.09);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.cedim-noticia-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 22px 48px rgba(14, 53, 59, 0.14);
}

.cedim-noticia-imagen-enlace {
    display: block;
    overflow: hidden;
    background: #e4f2f1;
}

.cedim-noticia-imagen {
    width: 100%;
    height: 230px;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cedim-noticia-card:hover
.cedim-noticia-imagen {
    transform: scale(1.04);
}

.cedim-noticia-sin-imagen {
    height: 230px;
    display: grid;
    place-items: center;
    color: #075d69;
    background:
        linear-gradient(
            135deg,
            #dceeed,
            #f5faf9
        );
    font-size: 1.2rem;
    font-weight: 700;
}

.cedim-noticia-contenido {
    padding: 23px;
}

.cedim-noticia-fecha {
    display: block;
    margin-bottom: 10px;
    color: #607579;
    font-size: 0.78rem;
}

.cedim-noticia-contenido h3 {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.35;
}

.cedim-noticia-contenido h3 a {
    color: #14363c;
    text-decoration: none;
}

.cedim-noticia-contenido h3 a:hover {
    color: #075d69;
}

.cedim-noticia-contenido p {
    display: -webkit-box;
    margin: 13px 0 20px;
    overflow: hidden;
    color: #607579;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.cedim-noticia-leer {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #075d69;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
}

.cedim-noticia-leer:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {

    .cedim-noticias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {

    .cedim-noticias-portada {
        padding: 60px 16px;
    }

    .cedim-noticias-cabecera {
        display: block;
    }

    .cedim-noticias-ver-todas {
        margin-top: 22px;
    }

    .cedim-noticias-grid {
        grid-template-columns: 1fr;
    }

    .cedim-noticia-imagen {
        height: 220px;
    }
}