.menu-hero {
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #ececec;
}

.menu-card {
    border-radius: 14px;
}

.menu-card .card-body {
    line-height: 1.7;
}

.lead-sm {
    font-size: 1.05rem;
    color: #4d4d4d;
}

.quick-links .btn {
    border-radius: 999px;
    font-weight: 600;
}

/* Imágenes de noticias: centradas en la card, hasta 500×700px, responsive */
.noticia-card-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    padding: 0.75rem 1rem 1rem;
}

.noticia-card-img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, 500px);
    max-height: min(700px, 88vh);
    object-fit: contain;
    object-position: center;
    margin-left: auto;
    margin-right: auto;
}

/* Sin imagen propia: logo institucional centrado, misma altura de zona */
.noticia-card-img-wrap--placeholder {
    background: linear-gradient(180deg, #f8f9fa 0%, #eceff3 100%);
}

.noticia-card-img--placeholder {
    max-width: min(55%, 220px);
    max-height: 140px;
    opacity: 0.92;
}

/* Pantallas bajas (móvil horizontal, etc.): no ocupar casi toda la altura */
@media (max-height: 560px) {
    .noticia-card-img {
        max-height: min(500px, 72vh);
    }
}

/* Lista de noticias: 2 columnas en desktop; cuerpo un poco más compacto */
.noticias-list .menu-card .card-body {
    padding: 1rem 1.1rem 1.15rem;
}

.noticias-list .lead-sm {
    font-size: 0.95rem;
}

/* Misma altura de zona de imagen (solo ≥lg, 2 columnas) → títulos y textos alineados.
   No se alteran max-width/max-height globales de .noticia-card-img; solo se acota al alto del contenedor con min(..., 100%). */
.noticias-list .menu-card {
    display: flex;
    flex-direction: column;
}

.noticias-list .noticia-card-body {
    flex: 1 1 auto;
}

/* Quill 2: viñetas llegan como <ol><li data-list="bullet"> y el navegador las numera */
.noticia-card-body ol {
    list-style: none;
    padding-left: 1.35rem;
    margin-bottom: 0.75rem;
}

.noticia-card-body ol > li[data-list="bullet"] {
    list-style-type: disc;
    display: list-item;
}

.noticia-card-body ol > li[data-list="ordered"] {
    list-style-type: decimal;
    display: list-item;
}

.noticia-card-body .ql-ui {
    display: none !important;
}

.noticia-card-body ul {
    padding-left: 1.35rem;
    margin-bottom: 0.75rem;
    list-style-type: disc;
}

@media (min-width: 992px) {
    .noticias-list .lead-sm {
        font-size: 1rem;
    }

    .noticias-list .noticia-card-img-wrap {
        flex-shrink: 0;
        height: 420px;
        box-sizing: border-box;
    }

    .noticias-list .noticia-card-img-wrap > .noticia-card-img {
        max-height: min(100%, 700px, 88vh);
    }
}

@media (max-height: 560px) and (min-width: 992px) {
    .noticias-list .noticia-card-img-wrap > .noticia-card-img {
        max-height: 420px;
    }
}
