.page-news {
  --news-deep: #B8451A;
}

.page-news .news-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 32px 40px;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}

.page-news .news-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.92);
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(118deg, rgba(7, 26, 47, 0.96) 14%, rgba(7, 26, 47, 0.76) 54%, rgba(14, 42, 71, 0.46) 100%),
    radial-gradient(110% 80% at 84% 6%, rgba(255, 107, 44, 0.24), transparent 62%);
}

.page-news .news-hero__inner {
  position: relative;
}

.page-news .news-hero__eyebrow {
  margin-top: 18px;
}

.page-news .news-hero__title {
  margin: 12px 0 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 7vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-news .news-hero__lede {
  margin: 16px 0 0;
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.78;
  color: rgba(247, 250, 255, 0.82);
}

.page-news .news-hero__stats {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-news .news-hero__stat {
  padding: 12px 14px;
  background: rgba(7, 26, 47, 0.74);
}

.page-news .news-hero__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--orange);
}

.page-news .news-hero__label {
  display: block;
  margin-top: 5px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* 置顶公告 */
.page-news .news-pinned__panel {
  display: grid;
  gap: 16px;
}

.page-news .news-pinned__card {
  padding: 20px 18px 22px;
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-news .news-pinned__flag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 10px;
  border-radius: 1px;
  background: var(--orange);
  color: var(--brown);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.page-news .news-pinned__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--brown);
}

.page-news .news-pinned__lede {
  margin: 10px 0 0;
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(31, 26, 23, 0.8);
}

.page-news .news-pinned__list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: pin;
  display: grid;
  gap: 10px;
}

.page-news .news-pinned__list li {
  position: relative;
  padding-left: 32px;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--brown);
}

.page-news .news-pinned__list li::before {
  counter-increment: pin;
  content: counter(pin, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--news-deep);
}

.page-news .news-pinned__more {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(31, 26, 23, 0.25);
}

.page-news .news-pinned__more summary,
.page-news .news-item__more summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.page-news .news-pinned__more summary::-webkit-details-marker,
.page-news .news-item__more summary::-webkit-details-marker {
  display: none;
}

.page-news .news-pinned__more summary {
  color: var(--news-deep);
}

.page-news .news-pinned__more summary::before {
  content: "+ ";
}

.page-news .news-pinned__more[open] summary::before {
  content: "– ";
}

.page-news .news-pinned__full {
  margin: 12px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 7px;
  font-size: 0.9rem;
  line-height: 1.68;
  color: rgba(31, 26, 23, 0.82);
}

.page-news .news-pinned__link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--news-deep);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-news .news-pinned__media {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
}

.page-news .news-pinned__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 分类索引 */
.page-news .news-cats__title,
.page-news .news-timeline__title,
.page-news .news-route__title,
.page-news .news-guide__title,
.page-news .news-next__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.6vw, 1.9rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-news .news-cats__grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.page-news .news-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px 14px 17px;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.page-news .news-cat::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  transition: width 0.35s var(--ease);
}

.page-news .news-cat:hover,
.page-news .news-cat:focus-visible {
  border-color: var(--line-strong);
  background: rgba(14, 42, 71, 0.92);
}

.page-news .news-cat:hover::after,
.page-news .news-cat:focus-visible::after {
  width: 100%;
}

.page-news .news-cat__top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-news .news-cat__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 44, 0.16);
}

.page-news .news-cat--route .news-cat__dot {
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(51, 224, 200, 0.16);
}

.page-news .news-cat--guide .news-cat__dot {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 181, 68, 0.16);
}

.page-news .news-cat--insight .news-cat__dot {
  background: var(--mist);
  box-shadow: 0 0 0 3px rgba(159, 179, 200, 0.16);
}

.page-news .news-cat__name {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.page-news .news-cat__count {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.page-news .news-cat__desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(247, 250, 255, 0.66);
}

/* 常用入口专题 */
.page-news .news-quick__panel {
  position: relative;
  padding: 22px 18px 24px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
  border-radius: var(--radius);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(51, 224, 200, 0.12), transparent 58%),
    var(--ink-2);
}

.page-news .news-quick__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-news .news-quick__lede {
  margin: 10px 0 0;
  max-width: 56ch;
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(247, 250, 255, 0.76);
}

.page-news .news-quick__list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-news .news-quick__item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 14px 2px;
  background: rgba(7, 26, 47, 0.6);
}

.page-news .news-quick__idx {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  padding-top: 3px;
}

.page-news .news-quick__item-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.page-news .news-quick__item p {
  margin: 6px 0 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: rgba(247, 250, 255, 0.72);
}

.page-news .news-quick__actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 时间轴 */
.page-news .news-timeline__lede {
  margin: 10px 0 0;
  max-width: 60ch;
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(247, 250, 255, 0.74);
}

.page-news .news-timeline__list {
  position: relative;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-news .news-timeline__list::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--orange), rgba(51, 224, 200, 0.55) 46%, rgba(159, 179, 200, 0.14));
}

.page-news .news-item {
  position: relative;
  padding: 0 0 22px 30px;
}

.page-news .news-item:last-child {
  padding-bottom: 0;
}

.page-news .news-item__dot {
  position: absolute;
  left: 0;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 2px solid var(--ink);
  background: var(--orange);
  box-shadow: 0 0 0 1px var(--line-strong);
}

.page-news .news-item__dot--route {
  background: var(--cyan);
}

.page-news .news-item__dot--guide {
  background: var(--gold);
}

.page-news .news-item__dot--insight {
  background: var(--mist);
}

.page-news .news-item__body {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.page-news .news-item__meta {
  margin: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-news .news-item__time {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.page-news .news-tag {
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.7rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.page-news .news-tag--announce {
  color: var(--orange);
}

.page-news .news-tag--route {
  color: var(--cyan);
}

.page-news .news-tag--guide {
  color: var(--gold);
}

.page-news .news-tag--insight {
  color: var(--mist);
}

.page-news .news-item__title {
  margin: 0 0 8px;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--white);
}

.page-news .news-item__text {
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.75;
  color: rgba(247, 250, 255, 0.74);
}

.page-news .news-item__more {
  margin-top: 10px;
}

.page-news .news-item__more summary {
  color: var(--gold);
}

.page-news .news-item__more summary::before {
  content: "+ ";
}

.page-news .news-item__more[open] summary::before {
  content: "– ";
}

.page-news .news-item__list {
  margin: 10px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(247, 250, 255, 0.72);
}

.page-news .news-item__link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.page-news .news-item__link:hover,
.page-news .news-item__link:focus-visible {
  border-bottom-color: var(--cyan);
}

/* 线路笔记 */
.page-news .news-route__grid {
  display: grid;
  gap: 20px;
  align-items: center;
}

.page-news .news-route__media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-news .news-route__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-news .news-route__lede {
  margin: 10px 0 0;
  font-size: 0.94rem;
  line-height: 1.78;
  color: rgba(247, 250, 255, 0.76);
}

.page-news .news-route__points {
  margin: 16px 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-news .news-route__points li {
  position: relative;
  padding-left: 18px;
  font-size: 0.91rem;
  line-height: 1.7;
  color: rgba(247, 250, 255, 0.78);
}

.page-news .news-route__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 1px;
  background: var(--cyan);
}

/* 网页端常见说明 */
.page-news .news-guide__panel {
  display: grid;
  gap: 20px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
}

.page-news .news-guide__lede {
  margin: 10px 0 0;
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(247, 250, 255, 0.76);
}

.page-news .news-guide__steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.page-news .news-guide__steps li {
  counter-increment: step;
  position: relative;
  padding-left: 40px;
  font-size: 0.91rem;
  line-height: 1.72;
  color: rgba(247, 250, 255, 0.78);
}

.page-news .news-guide__steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  padding: 2px 5px;
  border-radius: 1px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  background: var(--gold);
  color: var(--brown);
}

.page-news .news-guide__note {
  margin: 16px 0 18px;
  padding-left: 12px;
  border-left: 2px solid var(--alert);
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(247, 250, 255, 0.72);
}

.page-news .news-guide__media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-news .news-guide__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 下一步入口 */
.page-news .news-next__panel {
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(255, 107, 44, 0.14), transparent 52%),
    var(--ink-2);
}

.page-news .news-next__lede {
  margin: 10px 0 0;
  max-width: 58ch;
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(247, 250, 255, 0.76);
}

.page-news .news-next__actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 720px) {
  .page-news .news-hero {
    padding-block: 52px 64px;
  }

  .page-news .news-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 620px;
  }

  .page-news .news-pinned__panel {
    grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
    align-items: stretch;
  }

  .page-news .news-pinned__card {
    padding: 26px 24px 28px;
  }

  .page-news .news-pinned__title {
    font-size: 1.6rem;
  }

  .page-news .news-quick__panel {
    padding: 28px 26px 30px;
  }

  .page-news .news-quick__item {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 16px 4px;
  }

  .page-news .news-route__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 30px;
  }

  .page-news .news-guide__panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
    gap: 28px;
    padding: 28px 26px;
  }

  .page-news .news-next__panel {
    padding: 30px 28px;
  }
}

@media (min-width: 1040px) {
  .page-news .news-hero__title {
    font-size: clamp(2.6rem, 4.1vw, 3.6rem);
  }

  .page-news .news-cats__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-news .news-item {
    padding-left: 36px;
  }

  .page-news .news-timeline__list::before {
    left: 8px;
  }

  .page-news .news-item__dot {
    left: 2px;
    width: 14px;
    height: 14px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-news .news-cat__dot {
    animation: news-pulse 2.4s var(--ease) infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-news .news-cat__dot {
    animation: none;
  }

  .page-news .news-cat,
  .page-news .news-cat::after,
  .page-news .news-item__link {
    transition: none;
  }
}

@keyframes news-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}
