* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: transparent;
    color: #1a1a2e;
}

.noticias-wrapper { padding: 16px; }

/* Tarjetas en lista vertical, cada una horizontal */
.noticia-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    margin-bottom: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    min-height: 140px;
    border-left: 5px solid #F5C200;
    transition: box-shadow .2s;
}
.noticia-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.14); }

/* Área de media — ancho fijo, siempre igual */
.noticia-media {
    width: 180px;
    flex-shrink: 0;
    background: #edf0f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.noticia-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.noticia-media-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #b0bac5;
    padding: 12px;
    text-align: center;
}
.noticia-media-placeholder i    { font-size: 40px; }
.noticia-media-placeholder span { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; }

/* Contenido de la tarjeta */
.noticia-body {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.noticia-titulo {
    font-size: 15px;
    font-weight: 700;
    color: #0F1B2D;
    margin-bottom: 6px;
    line-height: 1.4;
}
.noticia-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.55;
    flex: 1;
}
.noticia-footer {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}
.noticia-link {
    font-size: 13px;
    font-weight: 600;
    color: #0F1B2D;
    text-decoration: none;
    background: #F5C200;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.noticia-link:hover { background: #e0b000; }

.sin-noticias { text-align: center; padding: 40px 20px; color: #aaa; }
.sin-noticias i { font-size: 32px; margin-bottom: 10px; display: block; }
.cargando { text-align: center; padding: 32px; color: #aaa; }

@media (max-width: 500px) {
    .noticia-card { flex-direction: column; }
    .noticia-media { width: 100%; height: 120px; }
}
