/* 最新消息 */
.news {
  position: relative;
  width: 100%;
  padding: clamp(3rem, 8vw, 10rem) clamp(1.25rem, 4vw, 5rem);
  overflow-x: clip;
  isolation: isolate;
}

.news::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: clamp(1.5rem, 3vw, 2.5rem);
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  left: 50%;
  width: min(1598px, 100%);
  border-radius: 150px;
  background: #2B7FFF17;
  transform: translateX(-50%) rotate(-180deg);
  pointer-events: none;
}

.news::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: clamp(1.5rem, 3vw, 2.5rem);
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  left: 50%;
  width: min(1598px, 100%);
  transform: translateX(-50%);
  border-radius: 150px;
  pointer-events: none;
  background: url("../images/news/background.png") no-repeat right bottom / min(42vw, 420px) auto;
}

.news__inner::before {
  content: "";
  position: absolute;
  inset: -clamp(3rem, 8vw, 10rem) -clamp(1.25rem, 4vw, 5rem);
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 10% 22%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 82% 16%, rgba(120, 180, 255, 0.4), transparent),
    radial-gradient(1px 1px at 42% 78%, rgba(255, 255, 255, 0.28), transparent),
    radial-gradient(1px 1px at 90% 72%, rgba(255, 120, 180, 0.3), transparent);
}

.news__inner {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  margin: 0 auto;
}

.news__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}

.news__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.news__head {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.news__title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.news__line {
  display: block;
  width: min(7.5rem, 55%);
  height: 3px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6900 0%, #fe9a00 100%);
}

.news__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news__item {
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.news__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  width: 100%;
  margin: 0;
  padding: clamp(0.875rem, 2vw, 1rem) clamp(1rem, 2.5vw, 1.25rem);
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.news__link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.news__link:focus-visible {
  outline: 2px solid #2b7fff;
  outline-offset: 2px;
}

.news__date {
  flex-shrink: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.news__item-title {
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
}

.news__chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
}

.news__chevron::before {
  content: "";
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid rgba(255, 255, 255, 0.45);
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
  transform: rotate(-45deg);
  transition: transform 0.25s ease;
}

.news__more {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 0.35rem;
  margin-top: clamp(1.25rem, 3vw, 1.5rem);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.news__more:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* 右側圖片 */
.news__figure {
  margin: 0;
  min-width: 0;
}

.news__photo {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

@media (max-width: 768px) {
  .news::before,
  .news::after {
    width: 100%;
    border-radius: 0;
  }

  .news::after {
    display: none;
  }

  .news__layout {
    grid-template-columns: 1fr;
  }

  .news__head {
    text-align: center;
  }

  .news__line {
    width: min(7.5rem, 40%);
    margin-inline: auto;
  }

  .news__figure {
    display: none;
  }

  .news__panel-inner p {
    padding-left: clamp(1rem, 2.5vw, 1.25rem);
  }
}
