.home-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 1.65rem 1.8rem;
}

@media (min-width: 68rem) {
  .home-news-layout { grid-template-columns: minmax(0, 1fr) minmax(15.5rem, 19.5rem); }
}

.security-news-panel {
  min-width: 0;
  padding: 0.8rem 1rem 0.55rem;
  border: 1px solid var(--rule);
  border-radius: 0.55rem;
  background: var(--panel);
  font-size: 0.875rem;
}

.security-news-page { font-size: 1rem; }
.security-news-page .news-heading { float: inline-end; margin-inline-start: 0.5rem; }

.news-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.news-heading h2 { font-size: 1.05rem; }

.news-heading svg {
  display: block;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.news-rss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
}

.news-description { margin: 0.28rem 0 0; }
.news-updated, .news-status, .news-meta {
  color: var(--secondary);
  font-size: 0.82rem;
}

.news-updated { margin: 0.42rem 0 0; }
.news-status { margin: 0.6rem 0 0; }
.news-status:empty { margin: 0; }

.news-items {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}

.news-item {
  position: relative;
  padding: 0.65rem 0 0.65rem 0.72rem;
  border-top: 1px solid var(--rule);
}

.news-item[data-indicator]::before {
  position: absolute;
  inset-block: 0.72rem;
  inset-inline-start: 0;
  width: 2px;
  background: var(--control-border);
  content: "";
}

.news-item[data-indicator="critical"]::before { background: #c66360; }
.news-item[data-indicator="confirmed"]::before { background: #b77935; }
.news-item[data-indicator="high"]::before { background: #ad862a; }
.news-item[data-indicator="threat-research"]::before { background: #54849a; }
.news-item[data-indicator="ai-security"]::before { background: #8274a1; }

.news-headline {
  color: var(--ink);
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.news-headline:hover, .news-headline:focus-visible { text-decoration: underline; }
.news-meta { margin: 0.2rem 0 0; }
.security-news-panel .news-items { margin-top: 0.45rem; }
.security-news-panel .news-item { padding: 0.62rem 0; }
.security-news-panel .news-headline { display: block; font-weight: 700; }
.security-news-panel .news-meta { font-size: 0.76rem; }
.news-view-all { flex: none; font-size: 0.76rem; white-space: nowrap; }

.news-filters {
  margin: 1.3rem 0 0;
  padding: 0 0 0.9rem;
  border: 0;
  min-inline-size: 0;
}

.news-filters:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.news-filters legend { margin-bottom: 0.5rem; font-weight: 650; }
.news-filters label { display: grid; gap: 0.2rem; font-size: 0.83rem; }
.news-filters select, .news-more {
  max-width: 100%;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--control-border);
  border-radius: 0.2rem;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.news-more { margin-top: 0.9rem; cursor: pointer; font-size: 0.88rem; }
