/* Notizie: strumenti compatti e immagini editoriali dell'articolo.
   Caricare dopo gli stili generali; nessuna regola modifica altri pannelli. */
#panel-news .news-shell{
  container-type:inline-size;container-name:news;
  background:transparent;border:0;border-radius:0;box-shadow:none;padding:0!important;
  min-width:0;
}
#panel-news .news-shell>h1{
  font-family:var(--font-body);font-size:1.65rem;line-height:1.15;
  margin:0 0 14px;padding-bottom:10px;border-bottom:3px solid var(--ink);
  overflow-wrap:anywhere;
}
#panel-news .news-shell>h1::after{display:none}
#panel-news .news-list-view{min-width:0}
#panel-news .sub-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,7rem),1fr));gap:0;margin:0 0 12px;border-bottom:2px solid var(--line-strong,var(--line))}
#panel-news .sub-tabs .btn{
  min-width:0;min-height:48px;padding:10px 8px;border:0;border-radius:8px 8px 0 0;
  font-size:.95rem;line-height:1.3;white-space:normal;overflow-wrap:anywhere;
  background:transparent;color:var(--ink-2);box-shadow:none;
}
#panel-news .sub-tabs .btn[aria-pressed=true]{background:var(--ink);color:var(--paper);font-weight:800}
#panel-news .news-search-field{margin:0 0 8px}
#panel-news #news-search{width:100%;min-width:0;min-height:48px;border-color:var(--line-strong,var(--line));border-radius:8px;background:var(--paper)}
#panel-news #news-search::placeholder{color:var(--ink-2);opacity:1}
#panel-news .news-filters{margin:0 0 14px;padding:0;border:0;border-bottom:1px solid var(--line-strong,var(--line));background:transparent;min-width:0}
#panel-news .news-filters>summary{min-height:48px;padding:10px 2px;cursor:pointer;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
#panel-news .news-filter-state{font-size:.88rem;font-weight:400;color:var(--ink-2);margin-left:.45em}
#panel-news .news-filter-state:not([hidden])::before{content:'· ';font-weight:700}
#panel-news .news-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:4px 0 14px;min-width:0}
#panel-news .news-controls .news-catfield{margin:0;min-width:0;width:100%}
#panel-news .news-catfield .scelta-pulsante{width:100%;min-width:0;max-width:100%;border-color:var(--line-strong,var(--line));border-radius:8px}
#panel-news .news-filter-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:8px;min-width:0}
#panel-news .news-controls .btn.small{width:100%;min-width:0;max-width:100%;min-height:48px;height:auto;white-space:normal;overflow-wrap:anywhere;padding:10px 12px;font-size:.92rem;line-height:1.35;text-align:center}
#panel-news .news-controls .btn[aria-pressed=true]{border:2px solid var(--ink);font-weight:800}
#panel-news .news-list{gap:0;min-width:0}
#panel-news .news-list>li{min-width:0;padding:12px 0;border-bottom:1px solid var(--line-strong,var(--line))}
#panel-news .news-list>li:first-child{padding-top:0;border:0}
#panel-news .news-list .item-btn{
  display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%;min-width:0;
  padding:4px 0;border:0;border-radius:0;background:transparent;text-align:left;
  white-space:normal;overflow:visible;box-shadow:none;
}
#panel-news .news-list .item-body{display:block;min-width:0}
#panel-news .news-list .item-thumb{display:block;width:100%;height:auto;max-height:140px;aspect-ratio:3;object-fit:cover;border-radius:8px;background:var(--paper-2)}
#panel-news .news-list .item-title{font-family:var(--font-body);font-size:1.1rem;line-height:1.25;font-weight:750;letter-spacing:-.012em;overflow-wrap:anywhere}
#panel-news .news-list .item-meta{font-size:.8rem;line-height:1.4;margin:6px 0 0;font-weight:500;color:var(--ink-3);overflow-wrap:anywhere}
#panel-news .news-list .item-excerpt{font-size:.92rem;line-height:1.45;margin:8px 0 0;font-weight:400;color:var(--ink-2);overflow-wrap:anywhere}
#panel-news .news-list>li:first-child .item-btn{gap:0;padding:0;border:1px solid var(--line-strong,var(--line));border-bottom:4px solid var(--orange-deep);border-radius:10px 10px 3px 3px;background:var(--paper)}
#panel-news .news-list>li:first-child .item-thumb{aspect-ratio:2.4;max-height:220px;border-radius:9px 9px 0 0}
#panel-news .news-list>li:first-child .item-body{padding:14px}
#panel-news .news-list>li:first-child .item-title{font-size:1.25rem;line-height:1.22}
#panel-news :is(.news-filters>summary,.news-list .item-btn,.sub-tabs .btn):focus-visible{outline:3px solid var(--ring);outline-offset:3px}
@container news (min-width:20rem){
  #panel-news .news-list>li:not(:first-child) .has-thumb{grid-template-columns:88px minmax(0,1fr);gap:12px}
  #panel-news .news-list>li:not(:first-child) .item-thumb{width:88px;height:72px;aspect-ratio:auto}
}
@container news (min-width:32rem){
  #panel-news .news-list>li:first-child .has-thumb{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)}
  #panel-news .news-list>li:first-child .item-thumb{height:100%;aspect-ratio:auto;max-height:240px;border-radius:9px 0 0 0}
}
@media(prefers-contrast:more){
  #panel-news :is(.news-filter-state,.news-list .item-meta,.news-list .item-excerpt){color:var(--ink)}
}
@media(forced-colors:active){
  #panel-news .sub-tabs .btn[aria-pressed=true]{border:2px solid Highlight}
}
