/* 最新消息內頁 */
.news-page {
  --news-page-accent-gradient: linear-gradient(
    90deg,
    #0997f7 0%,
    #029ef5 7.14%,
    #00a4f2 14.29%,
    #00abf0 21.43%,
    #00b1ed 28.57%,
    #00b8ea 35.71%,
    #00bee8 42.86%,
    #00c4e5 50%,
    #00cae2 57.14%,
    #00d0de 64.29%,
    #00d6db 71.43%,
    #00dcd8 78.57%,
    #00e2d4 85.71%,
    #00e8d0 92.86%,
    #09eecc 100%
  );
  position: relative;
  width: 100%;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 5rem)
    clamp(4rem, 8vw, 6rem);
  overflow-x: clip;
}

.news-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 14% 20%, 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 48% 78%, rgba(255, 255, 255, 0.28), transparent);
}

.news-page__inner {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  margin: 0 auto;
}

.news-page__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}

.news-page__breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-page__breadcrumb a:hover {
  color: #fff;
}

.news-page__breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.75);
}

.news-page__head {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  text-align: left;
}

.news-page__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: #63c0ae;
}

.news-page__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.news-page__line {
  display: block;
  width: min(7.5rem, 40%);
  height: 3px;
  margin: 0 0 1rem;
  border: none;
  border-radius: 999px;
  background: var(--news-page-accent-gradient);
}

.news-page__intro {
  margin: 0;
  max-width: 40rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.news-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}

.news-page__content {
  min-width: 0;
}

.news-page__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-page__item {
  border: 1px solid #0997f733;
  border-radius: 0.75rem;
  background: #15324e4d;
  overflow: hidden;
}

.news-page__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);
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.news-page__link:hover {
  background: rgba(9, 151, 247, 0.08);
}

.news-page__link:focus-visible {
  outline: 2px solid rgba(9, 151, 247, 0.55);
  outline-offset: 2px;
}

.news-page__date {
  flex-shrink: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #9fa0a3;
  white-space: nowrap;
}

.news-page__item-title {
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  font-weight: 600;
  line-height: 1.5;
  color: #ecf2f7;
}

.news-page__chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
}

.news-page__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-page__meta {
  margin-bottom: 0.875rem;
}

.news-page__article-date {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.45);
}

.news-page__article-title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.news-page__article-line {
  display: block;
  width: min(7.5rem, 40%);
  height: 3px;
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
  border: none;
  border-radius: 999px;
  background: var(--news-page-line-color, #0997f7);
}

.news-page__article p {
  margin: 0 0 1rem;
  font-size: clamp(0.875rem, 3.8vw, 1.5rem);
  font-weight: 400;
  line-height: 1.75;
  color: #D1D5DC;
}

.news-page__article p:last-child {
  margin-bottom: 0;
}

.news-page__gallery {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.news-page__gallery-title {
  margin: 0 0 clamp(0.875rem, 2vw, 1rem);
  font-size: clamp(1rem, 3.8vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.news-page__gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-page__gallery-item {
  min-width: 0;
}

.news-page__gallery-figure {
  margin: 0;
  overflow: hidden;
  background: #15324e4d;
}

.news-page__gallery-zoom {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
}

.news-page__gallery-zoom:focus-visible {
  outline: 2px solid rgba(9, 151, 247, 0.55);
  outline-offset: 2px;
}

.news-page__gallery-zoom img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.news-page__lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 1.5rem);
  background: rgba(0, 0, 0, 0.92);
}

.news-page__lightbox[hidden] {
  display: none;
}

.news-page__lightbox-img {
  max-width: min(92vw, 56rem);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 0.5rem;
}

.news-page__lightbox-caption {
  position: absolute;
  bottom: clamp(1rem, 4vw, 1.5rem);
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
}

.news-page__lightbox-close {
  position: absolute;
  top: clamp(0.75rem, 3vw, 1rem);
  right: clamp(0.75rem, 3vw, 1rem);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.news-page__lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.news-page__lightbox-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.news-page__figure {
  margin: 0;
  min-width: 0;
}

.news-page__photo {
  display: block;
  width: 100%;
  height: auto;
}

.news-page__back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: min(100%, 14rem);
  margin: clamp(1.75rem, 4vw, 2.5rem) auto 0;
  padding: 0.65rem 1.25rem;
  border: 1px solid #0997f74d;
  border-radius: 999px;
  background: #0997f71a;
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.news-page__back:hover {
  color: #ecf2f7;
  border-color: #0997f766;
  background: #0997f733;
}

.news-page__back:focus-visible {
  outline: 2px solid rgba(9, 151, 247, 0.55);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .news-page__head {
    text-align: center;
  }

  .news-page__intro {
    margin-inline: auto;
  }

  .news-page__line {
    margin-inline: auto;
  }

  .news-page__layout {
    grid-template-columns: 1fr;
  }

  .news-page__figure {
    display: none;
  }

  .news-page__gallery-grid {
    grid-template-columns: 1fr;
  }
}
