/*-----------------------------------------------------
  お知らせ一覧（news）
  revA5-StableVisual / 2025-10-29
  既存デザイン完全維持版
------------------------------------------------------*/

.infohub-news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
  margin: 2rem auto;
  padding: 0 1rem 3rem;
}

.news-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.news-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-title-text {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.news-important {
  background: #d80c18;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.news-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-add,
.btn-edit,
.btn-hide {
  font-size: 0.8rem;
  line-height: 1.2;
  border: 1px solid #003f88;
  background: #fff;
  color: #003f88;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
}

.btn-add {
  margin-bottom: 8px;
}

.btn-add:hover,
.btn-edit:hover,
.btn-hide:hover {
  background: #003f88;
  color: #fff;
}

.form-hide {
  display: inline;
}

.news-body {
  margin-top: 8px;
  line-height: 1.6;
  font-size: 0.9rem;
  color: #333;
  white-space: pre-wrap;
}

.news-link {
  margin-top: 6px;
}

.news-link a {
  color: #003f88;
  text-decoration: underline;
  font-size: 0.85rem;
}

.news-item.draft {
  opacity: 0.5;
}
