.page-news {
  --cat-color: var(--purple);
  background:
    radial-gradient(circle at 92% 4%, rgba(217, 166, 46, 0.1), transparent 26%),
    linear-gradient(180deg, var(--cream) 0%, #e8e5dc 100%);
  padding-bottom: 48px;
}

.page-news [hidden] {
  display: none !important;
}

.page-news .breadcrumbs {
  width: min(1200px, 100%);
  margin: 0 auto 18px;
  padding-top: 16px;
}

.page-news .news-announce {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--purple);
  border-radius: 24px 8px 24px 8px;
  margin: 0 auto 36px;
  width: min(1200px, 100%);
  isolation: isolate;
}

.page-news .news-announce::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 72px;
  height: 72px;
  border: 3px solid var(--gold);
  border-radius: 8px 20px 8px 20px;
  z-index: 1;
  opacity: 0.75;
  pointer-events: none;
}

.page-news .news-announce::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(75, 53, 118, 0.25) 0%, rgba(31, 41, 55, 0.78) 100%);
  z-index: 1;
  pointer-events: none;
}

.page-news .news-announce-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-news .news-announce-inner {
  position: relative;
  z-index: 2;
  padding: 28px 20px 26px;
  color: #fff;
}

.page-news .news-announce-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.page-news .news-new-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background-color: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.08em;
  animation: news-blink 1.4s steps(2, start) infinite;
}

@keyframes news-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.page-news .news-system-line {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  opacity: 0.82;
}

.page-news .news-announce-inner h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 10px 0 12px;
  max-width: 920px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.page-news .news-announce-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.page-news .news-latest,
.page-news .news-hardware-section {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding: 0 16px;
}

.page-news .news-block-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.page-news .news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-news .news-filter-btn {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 6px 14px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}

.page-news .news-filter-btn:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translate(-1px, -1px);
}

.page-news .news-filter-btn--active {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 2px 2px 0 var(--gold);
}

.page-news .news-list {
  display: grid;
  gap: 16px;
  margin-top: 4px;
}

.page-news .news-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-left: 6px solid var(--cat-color, var(--purple));
  border-radius: var(--radius);
  padding: 16px;
  transition: border-left-width 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.page-news .news-card:hover {
  border-left-width: 12px;
  transform: translateY(-3px);
  box-shadow: 4px 4px 0 rgba(31, 41, 55, 0.08);
}

.page-news .news-card--news {
  --cat-color: var(--purple);
}

.page-news .news-card--fee {
  --cat-color: var(--red);
}

.page-news .news-card--guide {
  --cat-color: var(--green);
}

.page-news .news-card--device {
  --cat-color: var(--blue);
}

.page-news .news-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-bottom: 6px;
}

.page-news .news-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
  background: var(--cat-color, var(--purple));
}

.page-news .news-card-id {
  color: rgba(31, 41, 55, 0.55);
}

.page-news .news-card-date {
  color: rgba(31, 41, 55, 0.45);
}

.page-news .news-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 6px 0 8px;
  color: var(--ink);
}

.page-news .news-card-summary {
  font-size: 0.925rem;
  line-height: 1.65;
  color: #3a4452;
  margin: 0;
}

.page-news .news-card-more {
  margin-top: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #3a4452;
  border-top: 1px dashed rgba(31, 41, 55, 0.18);
  padding-top: 8px;
}

.page-news .news-card-more summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 700;
  font-family: var(--font-mono);
  list-style: none;
  font-size: 0.8rem;
}

.page-news .news-card-more summary::-webkit-details-marker {
  display: none;
}

.page-news .news-card-more p {
  margin: 8px 0 2px;
}

.page-news .news-fee-section {
  margin-top: 44px;
  padding: 28px 16px;
  background: var(--ink);
}

.page-news .news-fee-shell {
  display: grid;
  gap: 22px;
  align-items: center;
  width: min(1100px, 100%);
  margin-inline: auto;
}

.page-news .news-fee-img {
  width: min(100%, 280px);
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-mini);
  border: 2px solid var(--gold);
  justify-self: center;
}

.page-news .news-fee-content {
  color: var(--cream);
}

.page-news .news-eyebrow--light {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}

.page-news .news-fee-content h2,
.page-news .news-collect-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 900;
  line-height: 1.25;
  margin: 6px 0 12px;
  color: #fff;
}

.page-news .news-fee-lead,
.page-news .news-collect-lead {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 14px;
}

.page-news .news-fee-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.page-news .news-fee-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.page-news .news-fee-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-family: var(--font-mono);
}

.page-news .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.page-news .btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.page-news .news-device-section {
  margin-top: 44px;
  padding: 28px 16px;
  background: var(--blue);
}

.page-news .news-device-shell {
  display: grid;
  gap: 22px;
  align-items: center;
  width: min(1100px, 100%);
  margin-inline: auto;
}

.page-news .news-device-content {
  color: var(--cream);
}

.page-news .news-device-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 900;
  line-height: 1.25;
  margin: 6px 0 16px;
  color: #fff;
}

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

.page-news .news-steps li {
  counter-increment: news-step;
  position: relative;
  padding-left: 44px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.page-news .news-steps li::before {
  content: counter(news-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--ink);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
}

.page-news .news-wine-note {
  background: var(--wine);
  color: #fff;
  border-radius: var(--radius-mini);
  padding: 12px 14px;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0 0 16px;
}

.page-news .news-wine-note a {
  color: var(--gold);
  text-decoration: underline;
}

.page-news .news-device-section .btn--secondary {
  background: transparent;
  border: 2px solid var(--cream);
  color: var(--cream);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.page-news .news-device-img {
  width: min(100%, 360px);
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  justify-self: center;
}

.page-news .news-collect-section {
  margin-top: 44px;
  padding: 28px 16px;
  background: var(--red);
}

.page-news .news-collect-shell {
  display: grid;
  gap: 22px;
  align-items: center;
  width: min(1100px, 100%);
  margin-inline: auto;
}

.page-news .news-collect-img {
  width: min(100%, 360px);
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  justify-self: center;
}

.page-news .news-collect-content {
  color: #fff;
}

.page-news .news-collect-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.page-news .news-collect-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.page-news .news-collect-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-family: var(--font-mono);
}

.page-news .news-collect-section .btn {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
}

.page-news .news-hardware-section {
  margin-top: 44px;
}

.page-news .news-hardware-more {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.page-news .news-hardware-more:hover {
  color: var(--red);
}

.page-news .news-hw-grid {
  display: grid;
  gap: 14px;
}

.page-news .news-hw-card {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(31, 41, 55, 0.1);
  border-top: 6px solid var(--ink);
  border-radius: 8px 20px 8px 20px;
  padding: 18px 16px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-top-width 0.2s ease;
}

.page-news .news-hw-card:hover {
  transform: translateY(-3px);
  box-shadow: 4px 4px 0 rgba(31, 41, 55, 0.08);
  border-top-width: 10px;
}

.page-news .news-hw-card--guide {
  border-top-color: var(--green);
}

.page-news .news-hw-card--device {
  border-top-color: var(--blue);
}

.page-news .news-hw-index {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--wine);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 10px;
}

.page-news .news-hw-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 6px 0 8px;
  color: var(--ink);
}

.page-news .news-hw-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #3a4452;
  margin: 0;
}

@media (min-width: 720px) {
  .page-news .news-announce {
    min-height: 360px;
  }

  .page-news .news-announce-inner {
    padding: 36px 40px 32px;
  }

  .page-news .news-latest,
  .page-news .news-hardware-section {
    padding: 0 24px;
  }

  .page-news .news-block-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .page-news .news-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-news .news-fee-shell {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .page-news .news-device-shell {
    grid-template-columns: 1.4fr 0.6fr;
  }

  .page-news .news-collect-shell {
    grid-template-columns: 0.6fr 1.4fr;
  }

  .page-news .news-hw-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-news .news-announce {
    min-height: 420px;
  }

  .page-news .news-announce-inner {
    padding: 44px 48px 40px;
  }

  .page-news .news-fee-section,
  .page-news .news-device-section,
  .page-news .news-collect-section {
    padding: 36px 32px;
  }

  .page-news .news-card {
    padding: 18px;
  }

  .page-news .news-card-title {
    font-size: 1.2rem;
  }
}
