:root {
  --news-ink: #071721;
  --news-navy: #08283b;
  --news-blue: #075da8;
  --news-red: #d9312b;
  --news-copper: #c3773b;
  --news-line: #d7dee1;
  --news-paper: #f4f6f5;
  --news-muted: #66757d;
}

.news-system-v8 {
  color: var(--news-ink);
  background: var(--news-paper);
}

.news-system-v8 main {
  overflow: hidden;
}

.news-v8-intro,
.news-v8-index,
.news-v8-contact,
.news-v8-detail-head,
.news-v8-detail-body,
.news-v8-related {
  width: min(1600px, calc(100% - 96px));
  margin-inline: auto;
}

.news-v8-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, .55fr);
  gap: clamp(48px, 8vw, 150px);
  align-items: end;
  min-height: 520px;
  padding: 190px 0 78px;
}

.news-v8-label {
  margin: 0 0 26px;
  color: var(--news-blue);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .12em;
}

.news-v8-intro h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(58px, 6.2vw, 112px);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: .98;
}

.news-v8-intro-note {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  padding-top: 22px;
  border-top: 2px solid var(--news-ink);
}

.news-v8-intro-note span {
  color: var(--news-red);
  font: 500 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.news-v8-intro-note p {
  margin: 0;
  color: var(--news-muted);
  font-size: 17px;
  line-height: 1.85;
}

.news-v8-feature-zone {
  padding: 0 0 140px;
}

.news-v8-feature-shell {
  width: min(1760px, calc(100% - 48px));
  min-height: 690px;
  margin-inline: auto;
  background: var(--news-navy);
}

.news-v8-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(420px, .68fr);
  min-height: 690px;
  color: #fff;
  text-decoration: none;
}

.news-v8-feature-media,
.news-v8-card-media,
.news-v8-related-media {
  overflow: hidden;
  background: #dfe5e7;
}

.news-v8-feature-media img,
.news-v8-card-media img,
.news-v8-related-media img,
.news-v8-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .65, .25, 1);
}

.news-v8-feature:hover .news-v8-feature-media img,
.news-v8-card:hover .news-v8-card-media img,
.news-v8-related-card:hover .news-v8-related-media img {
  transform: scale(1.06);
}

.news-v8-feature-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(50px, 5vw, 86px);
  background:
    linear-gradient(120deg, rgba(255,255,255,.04), transparent 48%),
    var(--news-navy);
}

.news-v8-feature-copy::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--news-red);
}

.news-v8-feature-index,
.news-v8-card-index,
.news-v8-detail-index {
  color: #8ec4e9;
  font: 500 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
}

.news-v8-feature-category,
.news-v8-card-category {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #93c8e8;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}

.news-v8-feature-category::before,
.news-v8-card-category::before {
  width: 34px;
  height: 2px;
  background: var(--news-red);
  content: "";
}

.news-v8-feature-copy h2 {
  max-width: 650px;
  margin: 28px 0;
  color: #fff;
  font-size: clamp(40px, 4vw, 68px);
  font-weight: 620;
  letter-spacing: -.04em;
  line-height: 1.14;
}

.news-v8-feature-copy p {
  max-width: 570px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 17px;
  line-height: 1.85;
}

.news-v8-feature-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.82);
  font-size: 14px;
}

.news-v8-feature-arrow,
.news-v8-card-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid currentColor;
  transition: color .25s ease, background .25s ease;
}

.news-v8-feature:hover .news-v8-feature-arrow {
  color: var(--news-ink);
  background: #fff;
}

.news-v8-empty {
  display: grid;
  min-height: 430px;
  padding: 64px;
  place-content: center;
  color: #fff;
  text-align: center;
}

.news-v8-empty h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 42px;
}

.news-v8-empty p {
  max-width: 580px;
  margin: 0;
  color: rgba(255,255,255,.68);
  line-height: 1.8;
}

.news-v8-index {
  padding-bottom: 150px;
}

.news-v8-index-head {
  display: grid;
  grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 54px;
}

.news-v8-index-head h2,
.news-v8-related-head h2 {
  margin: 0;
  font-size: clamp(40px, 4.2vw, 68px);
  font-weight: 620;
  letter-spacing: -.04em;
  line-height: 1.1;
}

.news-v8-filter {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  border-bottom: 1px solid var(--news-line);
}

.news-v8-filter button {
  position: relative;
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  color: var(--news-muted);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.news-v8-filter button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--news-red);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s ease;
}

.news-v8-filter button[aria-pressed="true"] {
  color: var(--news-ink);
  font-weight: 700;
}

.news-v8-filter button[aria-pressed="true"]::after,
.news-v8-filter button:hover::after {
  transform: scaleX(1);
}

.news-v8-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--news-line);
  border-left: 1px solid var(--news-line);
}

.news-v8-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: inherit;
  border-right: 1px solid var(--news-line);
  border-bottom: 1px solid var(--news-line);
  background: #fff;
  text-decoration: none;
}

.news-v8-card[hidden] {
  display: none;
}

.news-v8-card-media {
  aspect-ratio: 16 / 10;
  margin: 0;
}

.news-v8-card-copy {
  display: flex;
  min-height: 340px;
  flex: 1;
  flex-direction: column;
  padding: 34px 34px 30px;
}

.news-v8-card .news-v8-card-category {
  color: var(--news-blue);
}

.news-v8-card h3 {
  margin: 30px 0 18px;
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 620;
  letter-spacing: -.025em;
  line-height: 1.3;
}

.news-v8-card p {
  margin: 0;
  color: var(--news-muted);
  line-height: 1.8;
}

.news-v8-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 32px;
  color: var(--news-muted);
  font-size: 13px;
}

.news-v8-card-arrow {
  width: 38px;
  height: 38px;
  color: var(--news-ink);
}

.news-v8-card:hover .news-v8-card-arrow {
  color: #fff;
  background: var(--news-red);
  border-color: var(--news-red);
}

.news-v8-contact {
  display: grid;
  grid-template-columns: .65fr 1fr auto;
  gap: 50px;
  align-items: center;
  margin-bottom: 90px;
  padding: 66px clamp(34px, 5vw, 80px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4,24,35,.98), rgba(4,24,35,.82)),
    url("public/generated/home-project-start-ai-v1.webp") center / cover;
}

.news-v8-contact-index {
  align-self: start;
  color: #7fb4d7;
  font: 500 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .08em;
}

.news-v8-contact .news-v8-label {
  color: #91c7e8;
}

.news-v8-contact h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 620;
  letter-spacing: -.04em;
  line-height: 1.15;
}

.news-v8-contact-link {
  display: flex;
  width: 220px;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  color: var(--news-ink);
  background: #fff;
  text-decoration: none;
  transition: color .25s ease, background .25s ease;
}

.news-v8-contact-link:hover {
  color: #fff;
  background: var(--news-red);
}

/* 详情页 */
.news-v8-detail {
  min-height: 70vh;
  padding-top: 170px;
}

.news-v8-detail-head {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) minmax(260px, .42fr);
  gap: clamp(34px, 5vw, 90px);
  padding-bottom: 70px;
}

.news-v8-detail-title h1 {
  max-width: 1000px;
  margin: 22px 0 0;
  font-size: clamp(52px, 6vw, 96px);
  font-weight: 640;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.news-v8-detail-summary {
  align-self: end;
  margin: 0;
  padding-top: 22px;
  color: var(--news-muted);
  border-top: 2px solid var(--news-ink);
  font-size: 17px;
  line-height: 1.85;
}

.news-v8-detail-cover {
  width: min(1760px, calc(100% - 48px));
  height: min(68vw, 780px);
  margin: 0 auto;
  overflow: hidden;
  background: #dfe5e7;
}

.news-v8-detail-body {
  display: grid;
  grid-template-columns: 160px minmax(0, 780px) minmax(220px, 1fr);
  gap: clamp(34px, 5vw, 90px);
  padding-top: 90px;
  padding-bottom: 140px;
}

.news-v8-detail-meta {
  position: sticky;
  top: 120px;
  align-self: start;
  padding-top: 18px;
  border-top: 1px solid var(--news-line);
}

.news-v8-detail-meta dt {
  margin-top: 22px;
  color: var(--news-muted);
  font-size: 12px;
}

.news-v8-detail-meta dd {
  margin: 5px 0 0;
  color: var(--news-ink);
  font-size: 14px;
  line-height: 1.6;
}

.news-v8-article {
  font-size: 19px;
  line-height: 2;
}

.news-v8-article p {
  margin: 0 0 1.75em;
}

.news-v8-article h2 {
  margin: 2.2em 0 .8em;
  font-size: clamp(27px, 2.2vw, 36px);
  line-height: 1.35;
}

.news-v8-article figure {
  margin: 2.4em 0;
}

.news-v8-article figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #e6ebed;
}

.news-v8-article figcaption {
  padding-top: 11px;
  color: var(--news-muted);
  font-size: 13px;
  line-height: 1.7;
}

.news-v8-article-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 2.4em 0;
}

.news-v8-article-gallery figure {
  margin: 0;
}

.news-v8-article-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.news-v8-article p:first-child {
  font-size: 25px;
  font-weight: 520;
  line-height: 1.75;
}

.news-v8-article p:first-child::first-letter {
  float: left;
  margin: .08em .14em 0 0;
  color: var(--news-red);
  font-size: 4.5em;
  font-weight: 650;
  line-height: .75;
}

.news-v8-detail-aside {
  align-self: start;
  padding: 30px;
  border-top: 3px solid var(--news-blue);
  background: #fff;
}

.news-v8-detail-aside strong {
  display: block;
  margin-bottom: 14px;
  font-size: 18px;
}

.news-v8-detail-aside p {
  margin: 0;
  color: var(--news-muted);
  font-size: 14px;
  line-height: 1.8;
}

.news-v8-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: var(--news-ink);
  font-weight: 700;
  text-decoration: none;
}

.news-v8-related {
  padding: 90px 0 140px;
  border-top: 1px solid var(--news-line);
}

.news-v8-related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
}

.news-v8-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--news-line);
  border-left: 1px solid var(--news-line);
}

.news-v8-related-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 190px;
  color: inherit;
  border-right: 1px solid var(--news-line);
  border-bottom: 1px solid var(--news-line);
  background: #fff;
  text-decoration: none;
}

.news-v8-related-card div:last-child {
  padding: 24px;
}

.news-v8-related-card span {
  color: var(--news-blue);
  font-size: 12px;
  font-weight: 700;
}

.news-v8-related-card h3 {
  margin: 14px 0 0;
  font-size: 20px;
  line-height: 1.45;
}

.news-v8-missing {
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  padding: 160px 0 220px;
  text-align: center;
}

.news-v8-missing h1 {
  margin: 0 0 20px;
  font-size: 52px;
}

.news-v8-missing p {
  color: var(--news-muted);
}

@media (max-width: 1100px) {
  .news-v8-feature {
    grid-template-columns: 1.25fr .75fr;
  }

  .news-v8-feature-copy {
    padding: 46px;
  }

  .news-v8-grid,
  .news-v8-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-v8-detail-head,
  .news-v8-detail-body {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .news-v8-detail-summary,
  .news-v8-detail-aside {
    grid-column: 2;
  }

  .news-v8-related-card:last-child {
    display: none;
  }
}

@media (max-width: 760px) {
  .news-v8-intro,
  .news-v8-index,
  .news-v8-contact,
  .news-v8-detail-head,
  .news-v8-detail-body,
  .news-v8-related {
    width: min(100% - 32px, 1600px);
  }

  .news-v8-intro {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: 0;
    padding: 132px 0 56px;
  }

  .news-v8-label {
    margin-bottom: 18px;
    font-size: 13px;
  }

  .news-v8-intro h1,
  .news-v8-feature-copy h2,
  .news-v8-index-head h2,
  .news-v8-contact h2,
  .news-v8-detail-title h1,
  .news-v8-related-head h2 {
    font-size: 34px;
    letter-spacing: -.035em;
    line-height: 1.18;
  }

  .news-v8-intro-note {
    grid-template-columns: 36px 1fr;
    gap: 14px;
  }

  .news-v8-intro-note p {
    font-size: 15px;
  }

  .news-v8-feature-zone {
    padding-bottom: 88px;
  }

  .news-v8-feature-shell {
    width: 100%;
    min-height: 0;
  }

  .news-v8-feature {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .news-v8-feature-media {
    aspect-ratio: 4 / 3;
  }

  .news-v8-feature-copy {
    min-height: 430px;
    padding: 34px 24px 30px;
  }

  .news-v8-feature-copy p {
    font-size: 15px;
  }

  .news-v8-feature-foot {
    margin-top: 38px;
  }

  .news-v8-index {
    padding-bottom: 90px;
  }

  .news-v8-index-head {
    display: block;
    margin-bottom: 34px;
  }

  .news-v8-filter {
    justify-content: flex-start;
    margin: 32px -16px 0;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .news-v8-filter::-webkit-scrollbar {
    display: none;
  }

  .news-v8-filter button {
    min-width: max-content;
    min-height: 50px;
    padding: 0 16px;
  }

  .news-v8-grid,
  .news-v8-related-grid {
    grid-template-columns: 1fr;
  }

  .news-v8-card-copy {
    min-height: 315px;
    padding: 28px 24px 24px;
  }

  .news-v8-card h3 {
    font-size: 27px;
  }

  .news-v8-contact {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 52px;
    padding: 44px 28px;
  }

  .news-v8-contact-link {
    width: 100%;
  }

  .news-v8-detail {
    padding-top: 126px;
  }

  .news-v8-detail-head,
  .news-v8-detail-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .news-v8-detail-head {
    padding-bottom: 44px;
  }

  .news-v8-detail-summary,
  .news-v8-detail-aside {
    grid-column: auto;
  }

  .news-v8-detail-cover {
    width: 100%;
    height: 72vw;
    min-height: 290px;
  }

  .news-v8-detail-body {
    padding-top: 54px;
    padding-bottom: 88px;
  }

  .news-v8-detail-meta {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
  }

  .news-v8-detail-meta dt {
    margin-top: 0;
  }

  .news-v8-article {
    font-size: 17px;
    line-height: 1.9;
  }

  .news-v8-article-gallery {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .news-v8-article p:first-child {
    font-size: 20px;
  }

  .news-v8-detail-aside {
    padding: 24px;
  }

  .news-v8-related {
    padding: 70px 0 90px;
  }

  .news-v8-related-head {
    display: block;
  }

  .news-v8-related-head .news-v8-back {
    margin-top: 24px;
  }

  .news-v8-related-card {
    grid-template-columns: 38% 1fr;
  }

  .news-v8-related-card:last-child {
    display: grid;
  }

  .news-v8-missing h1 {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-v8-feature-media img,
  .news-v8-card-media img,
  .news-v8-related-media img,
  .news-v8-filter button::after {
    transition: none;
  }
}
