/**
 * 最新消息 — Figma node 1:280，武志風格微調
 */

.pub-section--news-v2 {
  padding: clamp(64px, 8vw, 80px) var(--wuji-content-rail);
  background: var(--color-bg-default);
}

.pub-section--news-v2 .pub-section__inner--news {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.pub-news-v2 {
  display: grid;
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 32px);
  align-items: start;
  width: 100%;
}

/* ── 左欄標題 ── */
.pub-news-v2__head {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 20px;
}

.pub-news-v2__eyebrow {
  margin: 0 0 4px;
}

.pub-news-v2__title {
  margin: 0;
  font-family: var(--wuji-font-serif);
  font-size: clamp(28px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.375;
  color: var(--color-ink);
}

/* ── 右欄列表 ── */
.pub-news-v2__body {
  max-width: 680px;
  width: 100%;
  justify-self: end;
}

.pub-news-v2__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pub-news-v2__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 12px 8px 13px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.pub-news-v2__item:hover {
  background: rgba(45, 139, 78, 0.04);
  text-decoration: none;
}

.pub-news-v2__item:hover .pub-news-v2__item-title {
  color: var(--color-sustain-emphasis);
}

.pub-news-v2__item:hover .pub-news-v2__arrow {
  color: var(--color-sustain);
  transform: translateX(2px);
}

.pub-news-v2__date {
  font-family: 'Roboto', var(--wuji-font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: rgba(17, 17, 17, 0.6);
  white-space: nowrap;
}

.pub-news-v2__main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pub-news-v2__tag {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 30px;
  font-family: var(--wuji-font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
}

.pub-news-v2__tag--company {
  background: var(--color-sustain-subtle);
  color: var(--color-sustain-emphasis);
}

.pub-news-v2__tag--product {
  background: var(--color-kraft-subtle);
  color: var(--color-kraft-deep);
}

.pub-news-v2__tag--partner {
  background: var(--color-primary-subtle);
  color: var(--color-primary-emphasis);
}

.pub-news-v2__tag--sustain {
  background: rgba(45, 139, 78, 0.12);
  color: var(--color-sustain);
}

.pub-news-v2__item-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding-top: 4px;
  font-family: var(--wuji-font-sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
  color: var(--color-ink);
  transition: color 0.15s ease;
}

.pub-news-v2__arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: rgba(45, 139, 78, 0.75);
  transition: color 0.15s ease, transform 0.15s ease;
}

/* ── 了解更多 CTA ── */
.pub-news-v2__footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 32px;
}

.pub-news-v2__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 24px;
  border: none;
  border-radius: var(--btn-radius);
  background: var(--color-sustain);
  font-family: var(--wuji-font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease;
}

.pub-news-v2__more:hover {
  background: var(--color-sustain-emphasis);
  color: #fff;
  text-decoration: none;
}

.pub-news-v2__more-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .pub-news-v2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pub-news-v2__body {
    max-width: none;
    justify-self: stretch;
  }

  .pub-news-v2__head {
    padding-bottom: 0;
  }
}

@media (max-width: 575px) {
  .pub-section--news-v2 .pub-section__inner--news {
    padding: 0;
  }

  .pub-news-v2__item {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    padding-right: 0;
  }

  .pub-news-v2__date {
    grid-column: 1;
    grid-row: 1;
  }

  .pub-news-v2__arrow {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .pub-news-v2__main {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .pub-news-v2__item-title {
    font-size: 16px;
    line-height: 1.5;
    padding-top: 0;
  }

  .pub-news-v2__footer {
    justify-content: stretch;
  }

  .pub-news-v2__more {
    width: 100%;
    justify-content: center;
  }
}
