/* Today page news section. SCOPE: .news-*.
   ROLLBACK: remove this file, assets/js/news.js, the #todayNews section and its two tags in index.html, and the renderTodayNews line in professional.js. */
.news-section {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid var(--line, #ddd9cf);
  border-radius: 12px;
  background: var(--surface, #fff);
}
.news-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.news-head h2 {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted, #777a71);
}
.news-toggle {
  display: inline-flex;
  border: 1px solid var(--line, #ddd9cf);
  border-radius: 8px;
  overflow: hidden;
}
.news-toggle button {
  border: 0;
  background: transparent;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--muted, #777a71);
  cursor: pointer;
}
.news-toggle button + button {
  border-left: 1px solid var(--line, #ddd9cf);
}
.news-toggle button[aria-checked="true"] {
  background: var(--maroon, #7a1f2b);
  color: #fff;
}
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-list li + li {
  border-top: 1px solid var(--line, #ddd9cf);
}
.news-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 2px;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
}
button.news-item {
  cursor: pointer;
}
button.news-item:hover strong {
  text-decoration: underline;
}
.news-tag {
  flex: none;
  min-width: 78px;
  padding: 2px 8px;
  border-radius: 6px;
  background: #e4e1da;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  color: #4d4f48;
}
.news-tag.overdue {
  background: #f7e4e2;
  color: #b3261e;
}
.news-text strong {
  display: block;
  font-weight: 500;
}
.news-text small {
  color: var(--muted, #777a71);
  font-size: 12px;
}
.news-note {
  margin: 6px 0 2px;
  font-size: 13px;
  color: var(--muted, #777a71);
}
.news-place {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 10px 0 2px;
  font-size: 13px;
  color: var(--muted, #777a71);
}
.news-place .secondary-btn {
  font-size: 13px;
  padding: 6px 12px;
}
.news-place .link-btn {
  border: 0;
  background: transparent;
  color: var(--muted, #777a71);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}
