/* KUMA CardTest Manager - News (お知らせ) */
/* シンプル＆スタイリッシュ。罫線 #eee / 文字 #333 基調。 */

.kctm-news {
  max-width: 960px;
  margin: 48px auto;
  padding: 24px 20px;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
  box-sizing: border-box;
}

.kctm-news__heading {
  margin: 0 0 16px;
  padding: 0 0 10px;
  border-bottom: 1px solid #eee;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #333;
}

.kctm-news__empty {
  margin: 0;
  color: #888;
  font-size: 14px;
}

.kctm-news__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kctm-news__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  border-bottom: 1px solid #eee;
}
.kctm-news__item:last-child {
  border-bottom: 0;
}

.kctm-news__date {
  color: #888;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  min-width: 88px;
}

.kctm-news__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid #eee;
  background: #fafafa;
  color: #555;
  white-space: nowrap;
}
.kctm-news__tag--list {
  border-color: #cfe3f5;
  background: #eef6fd;
  color: #2e6fa8;
}
.kctm-news__tag--test,
.kctm-news__tag--test_done {
  border-color: #d4ead4;
  background: #effaef;
  color: #2f7a3a;
}
.kctm-news__tag--feature {
  border-color: #e2d6f3;
  background: #f4eefb;
  color: #6a3fb1;
}

.kctm-news__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.kctm-news__badge--new {
  background: #fdecec;
  color: #c0392b;
  border: 1px solid #f3c8c4;
}

.kctm-news__title {
  flex: 1 1 auto;
  color: #333;
  word-break: break-word;
}

@media (max-width: 600px) {
  .kctm-news {
    margin: 32px auto;
    padding: 16px 14px;
  }
  .kctm-news__heading {
    font-size: 18px;
  }
  .kctm-news__item {
    gap: 8px;
    padding: 10px 2px;
  }
  .kctm-news__date {
    min-width: 0;
    order: 3;
    flex-basis: 100%;
    font-size: 12px;
  }
  .kctm-news__title {
    flex-basis: 100%;
  }
}
