.news {
  padding-inline: 5%;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: var(--section-gap);
}

.news__header-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 3rem;
  row-gap: 1rem;
}

.news__header {
  line-height: 1.2;
}

.news__title {
  display: block;
  font-size: 3rem;
  white-space: nowrap;
  margin: 0;
}

.news__title-en {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--main-color);
}

.news__body {
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
}

.news__list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #ccc;
  max-width: 1000px;
  list-style: none;
}





.news__item {
  list-style: none;
}

.news__link {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-decoration: none;
  color: inherit;
  padding: 0.8rem 0;
  border-bottom: 1px solid #ddd;
  transition: background-color 0.2s;
  padding-block: 1rem;
}

.news__link:hover {
  background-color: #f8f8f8;
}

.news__meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  white-space: nowrap; /* 改行防止 */
  padding-left: 0.5rem;
}

.news__date {
  font-size: 0.9rem;
  color: #666;
}

.news__category {
  font-size: 0.9rem;
  color: #fff;
  background-color: var(--main-color);
  padding: 0.1rem 0.6rem;
  border-radius: 4px;
}

.news__message {
  flex: 1;
  font-size: 1rem;
  margin: 0;
}

/* @media (max-width: 678px) {

  .news__list {
    padding: 0;
  }
  .news__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .news__meta {
    order: 1;
  }

  .news__message {
    order: 2;
  }
} */








.news__footer {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  box-sizing: border-box;
}

.news__button {
  display: block;
  width: 240px;
  padding: 0.2rem 1rem;
  text-align: center;
  border: 1px solid var(--text-color);
  border-radius: 0.3rem;
  color: var(--text-color);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.news__button:hover {
  background-color: #f0f0f0;
}

.news__button-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
  .news__header-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .news__title {
    text-align: center;
  }

  .news__footer {
    justify-content: center;
  }

  .news__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding-block: 0.5rem;
  }
}