/* Gualamba V29.9.2: densidad editorial responsive; no altera el resto del portal. */
#noticias .portal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
#noticias .portal-head h2{font-size:clamp(25px,3vw,36px)!important;line-height:1.05;margin:0}
#noticias .portal-head p{font-size:13px!important;line-height:1.35;margin:5px 0 0}
#noticias #refreshNews{min-width:0;white-space:nowrap;padding:10px 14px;font-weight:850}
#noticias .news-statusbar{margin:0 0 9px!important;box-shadow:none;gap:10px}
#noticias .news-filter-shell{margin:0 0 13px!important;min-width:0}
#noticias .news-filter-shell>.filter-label{display:none}
#noticias .news-primary{display:flex!important;overflow-x:auto!important;scrollbar-width:none;flex-wrap:nowrap!important;gap:7px;margin:0 0 8px!important;padding:2px 0 4px;max-width:100%}
#noticias .news-primary::-webkit-scrollbar{display:none}
#noticias .news-primary .news-filter{flex:0 0 auto;white-space:nowrap;padding:8px 12px!important;min-height:38px!important}
#noticias .news-topic-more{margin:0 0 3px;border:0;background:none;color:inherit}
#noticias .news-topic-more summary{cursor:pointer;font-size:12px;font-weight:800;color:#e6c989;list-style-position:inside;padding:7px 0}
#noticias .news-topic-more .news-secondary{margin:5px 0 4px!important;display:flex!important;flex-wrap:wrap!important;gap:6px}
#noticias .news-topic-more .news-secondary .news-filter{min-height:32px!important;padding:7px 10px!important;font-size:11px!important}
#noticias .news-source-diagnostics{border:1px solid #45644f;border-radius:10px;background:#13291f;color:#dceadf;padding:8px 12px;margin:3px 0 10px}
#noticias .news-source-diagnostics[hidden]{display:none!important}
#noticias .news-source-diagnostics summary{font-weight:850;font-size:12px;cursor:pointer}
#noticias .news-source-diagnostics ul{font-size:11px;line-height:1.5;overflow-wrap:anywhere;padding-left:18px;margin:8px 0 0}
#noticias .news-grid{gap:12px}
#noticias .news-card .news-image,#noticias .news-card.featured .news-image{display:block;aspect-ratio:16/9;object-fit:cover;max-height:215px}
#noticias .news-card h3,#noticias .news-card.featured h3{overflow-wrap:anywhere}
@media(max-width:760px){
  #noticias{padding:14px!important}
  #noticias .portal-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:10px!important;margin-bottom:9px!important}
  #noticias .portal-head h2{font-size:27px!important;line-height:1.05!important}
  #noticias .portal-head p{font-size:12px!important;max-width:235px;line-height:1.3!important}
  #noticias .portal-head #refreshNews{width:auto!important;padding:9px 11px!important;min-height:42px!important;font-size:12px!important}
  #noticias .news-statusbar{display:flex!important;flex-wrap:wrap!important;justify-content:space-between;align-items:center;padding:8px 10px!important;gap:6px!important;margin:0 0 8px!important}
  #noticias .news-status-main{gap:5px;min-width:0;font-size:11px!important}
  #noticias .news-new-badge{padding:3px 6px!important;font-size:10px!important}
  #noticias .news-sort{font-size:10px!important}
  #noticias .news-sort select{min-width:0!important;max-width:160px;padding:6px 8px!important}
  #noticias .news-filter-shell{padding:7px!important;margin:0 0 10px!important}
  #noticias .news-primary .news-filter{font-size:11px!important;min-height:34px!important}
  #noticias #newsGrid .news-card,#noticias #newsGrid .news-card.featured{padding:12px!important;min-height:0!important}
  #noticias #newsGrid .news-card .news-image,#noticias #newsGrid .news-card.featured .news-image,
  #noticias #newsGrid .news-card .news-image-fallback{height:auto!important;aspect-ratio:16/9!important;max-height:170px!important;margin:0 0 10px!important;object-fit:cover!important;display:flex!important;width:100%!important}
  #noticias #newsGrid .news-card h3,#noticias #newsGrid .news-card.featured h3{font-size:20px!important;line-height:1.19!important;margin:6px 0 8px!important;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
  #noticias #newsGrid .news-card .news-summary{font-size:13px!important;line-height:1.45!important;display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:10px!important}
  #noticias #newsGrid .news-card .news-meta{margin-bottom:6px!important}
  #noticias #newsGrid .news-card .news-source{font-size:11px!important;margin:0 0 10px!important}
  #noticias #newsGrid .news-card .news-source-row{gap:5px}
  #noticias .news-refresh-message{font-size:11px;padding:8px!important;margin:0 0 8px!important}
}
@media(max-width:385px){
  #noticias .portal-head{grid-template-columns:1fr auto!important}
  #noticias .portal-head p{font-size:11px!important;max-width:175px}
  #noticias .portal-head #refreshNews{font-size:11px!important}
}
