.page-news {
  --filter-w: 200px;
  --card-radius: 18px;
  --line-cyan: rgba(0, 229, 255, 0.32);
  --line-purple: rgba(157, 78, 221, 0.35);
  --glass-card: rgba(18, 59, 110, 0.42);
  --glass-deep: rgba(10, 30, 60, 0.72);
  --gold-glow: rgba(212, 175, 55, 0.22);

  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  color: var(--white);
  font-family: var(--font-serif);
  line-height: 1.8;
  overflow-x: hidden;
  background: linear-gradient(180deg, var(--deep-space) 0%, rgba(10, 30, 60, 0.66) 44%, var(--ocean) 100%);
}

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

.page-news .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 20px 0 4px;
  font-size: 13px;
  color: rgba(230, 233, 239, 0.6);
}

.page-news .breadcrumb a {
  color: var(--electric);
  text-decoration: none;
}

.page-news .breadcrumb a:hover {
  text-decoration: underline;
}

.page-news .crumb-current {
  color: rgba(230, 233, 239, 0.8);
}

.page-news .news-hero {
  position: relative;
  padding: 32px 0 44px;
}

.page-news .news-hero::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -20px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.14) 0%, transparent 68%);
  pointer-events: none;
}

.page-news .news-hero::after {
  content: "";
  position: absolute;
  left: 12%;
  bottom: -20px;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-news .hero-badges {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.page-news .news-hero h1 {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(28px, 4.6vw, 44px);
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, var(--white) 55%, var(--champagne) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-news .hero-subtitle {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--electric);
  margin: 0 0 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-news .hero-desc {
  position: relative;
  z-index: 1;
  max-width: 720px;
  font-size: 15px;
  color: rgba(230, 233, 239, 0.86);
  margin: 0 0 28px;
}

.page-news .chapter-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-news .preview-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-card);
  border: 1px solid var(--line-cyan);
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-news .preview-mini span {
  color: var(--gold);
  font-weight: 700;
}

.page-news .preview-mini:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-glow);
}

.page-news .news-section {
  padding: 36px 0;
  scroll-margin-top: 80px;
}

.page-news .section-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(230, 233, 239, 0.12);
}

.page-news .section-index {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-right: 2px;
}

.page-news .section-head h2 {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 26px;
  margin: 0;
  color: var(--white);
}

.page-news .section-note {
  margin-left: auto;
  font-size: 13px;
  color: rgba(230, 233, 239, 0.6);
}

.page-news .latest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.page-news .filter-panel {
  order: 2;
  background: var(--glass-card);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 16px;
  padding: 16px;
}

.page-news .latest-stack {
  order: 1;
  min-width: 0;
}

.page-news .filter-label {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  color: var(--electric);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.page-news .filter-panel .toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.page-news .filter-panel .toc a {
  display: inline-block;
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: rgba(157, 78, 221, 0.16);
  border: 1px solid rgba(157, 78, 221, 0.35);
  text-decoration: none;
  transition: 0.3s ease;
}

.page-news .filter-panel .toc a:hover {
  background: rgba(157, 78, 221, 0.32);
  border-color: var(--neon);
}

.page-news .filter-tip {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(230, 233, 239, 0.5);
}

.page-news .feature-card {
  background: linear-gradient(140deg, rgba(18, 59, 110, 0.9), rgba(10, 30, 60, 0.82));
  border: 1px solid var(--gold);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.page-news .feature-media img {
  width: 100%;
  height: auto;
}

.page-news .feature-body {
  padding: 22px;
}

.page-news .feature-body h3 {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 21px;
  line-height: 1.3;
  margin: 12px 0;
}

.page-news .feature-body p {
  font-size: 14px;
  color: rgba(230, 233, 239, 0.82);
  margin: 0 0 20px;
}

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

.page-news .badge-purple {
  background: rgba(157, 78, 221, 0.18);
  color: #C77DFF;
  border: 1px solid rgba(157, 78, 221, 0.4);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  text-decoration: none;
  transition: 0.3s ease;
}

.page-news .badge-purple:hover {
  background: rgba(157, 78, 221, 0.34);
}

.page-news .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: 0.3s ease;
}

.page-news .btn-gold {
  background: linear-gradient(135deg, var(--gold), #B8912E);
  color: var(--deep-space);
}

.page-news .btn-gold:hover {
  box-shadow: 0 0 24px var(--gold-glow), 0 0 48px rgba(212, 175, 55, 0.18);
}

.page-news .btn-cyan {
  background: linear-gradient(135deg, var(--electric), #4CC9F0);
  color: var(--deep-space);
}

.page-news .btn-cyan:hover {
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.4);
}

.page-news .btn-ghost {
  border-color: rgba(0, 229, 255, 0.45);
  color: var(--electric);
  background: rgba(0, 229, 255, 0.05);
}

.page-news .btn-ghost:hover {
  background: rgba(0, 229, 255, 0.14);
}

.page-news .timeline {
  margin-top: 8px;
}

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

.page-news .timeline-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.18), 0 0 16px rgba(0, 229, 255, 0.4);
  z-index: 1;
}

.page-news .timeline-item::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 28px;
  bottom: -2px;
  width: 2px;
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.45), rgba(157, 78, 221, 0.3));
}

.page-news .timeline-item:last-child::after {
  display: none;
}

.page-news .time-note {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 6px;
}

.page-news .timeline-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 4px;
  line-height: 1.4;
}

.page-news .timeline-text {
  font-size: 13px;
  color: rgba(230, 233, 239, 0.7);
  margin: 0 0 8px;
}

.page-news .text-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--electric);
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 229, 255, 0.4);
  padding-bottom: 2px;
}

.page-news .text-link:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.page-news .news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-news .news-card {
  display: flex;
  flex-direction: column;
  background: var(--glass-card);
  border: 1px solid rgba(230, 233, 239, 0.1);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.page-news .news-card:hover {
  box-shadow: 0 18px 44px rgba(0, 229, 255, 0.15);
  transform: translateY(-2px);
}

.page-news .news-media img {
  width: 100%;
  height: auto;
}

.page-news .card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-news .card-body h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.35;
  margin: 12px 0 10px;
}

.page-news .card-body p {
  font-size: 14px;
  color: rgba(230, 233, 239, 0.78);
  margin: 0 0 16px;
  line-height: 1.75;
}

.page-news .card-body .text-link {
  margin-top: auto;
}

.page-news .guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-news .guide-card {
  display: flex;
  flex-direction: column;
  background: var(--glass-card);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: 0.3s ease;
}

.page-news .guide-card:hover {
  box-shadow: 0 18px 44px rgba(157, 78, 221, 0.18);
  transform: translateY(-2px);
}

.page-news .guide-media img {
  width: 100%;
  height: auto;
}

.page-news .guide-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-news .guide-body h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 18px;
  margin: 12px 0 10px;
}

.page-news .guide-body p {
  font-size: 14px;
  color: rgba(230, 233, 239, 0.78);
  margin: 0 0 14px;
}

.page-news .step-list {
  margin: 0 0 16px;
  padding-left: 18px;
}

.page-news .step-list li {
  font-size: 14px;
  color: rgba(230, 233, 239, 0.78);
  margin-bottom: 6px;
}

.page-news .feature-list {
  list-style: none;
  margin: 14px 0 16px;
  padding: 0;
}

.page-news .feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: rgba(230, 233, 239, 0.8);
  margin-bottom: 6px;
}

.page-news .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--gold), var(--champagne));
}

.page-news .guide-body .text-link {
  margin-top: auto;
}

.page-news .industry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-news .industry-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, rgba(18, 59, 110, 0.4), rgba(10, 30, 60, 0.62));
  border: 1px solid rgba(157, 78, 221, 0.3);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: 0.3s ease;
}

.page-news .industry-card:hover {
  box-shadow: 0 18px 44px rgba(157, 78, 221, 0.2);
  transform: translateY(-2px);
}

.page-news .industry-media img {
  width: 100%;
  height: auto;
}

.page-news .industry-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-news .industry-body h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 18px;
  margin: 12px 0 10px;
}

.page-news .industry-body p {
  font-size: 14px;
  color: rgba(230, 233, 239, 0.78);
  margin: 0 0 16px;
}

.page-news .industry-body .text-link {
  margin-top: auto;
}

.page-news .news-contact {
  padding: 32px 0 48px;
}

.page-news .contact-banner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(157, 78, 221, 0.14));
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 20px;
  padding: 28px;
}

.page-news .contact-text {
  max-width: 640px;
}

.page-news .contact-banner h2 {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 22px;
  margin: 0 0 8px;
}

.page-news .contact-banner p {
  font-size: 14px;
  margin: 0;
  color: rgba(230, 233, 239, 0.8);
}

.page-news .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 768px) {
  .page-news .latest-grid {
    grid-template-columns: var(--filter-w) minmax(0, 1fr);
    gap: 32px;
  }

  .page-news .filter-panel {
    order: 1;
    position: sticky;
    top: 90px;
    padding: 20px;
  }

  .page-news .filter-panel .toc {
    flex-direction: column;
    align-items: stretch;
  }

  .page-news .filter-panel .toc a {
    text-align: left;
  }

  .page-news .latest-stack {
    order: 2;
  }

  .page-news .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-news .guide-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-news .industry-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-news .contact-banner {
    flex-direction: row;
    align-items: center;
    padding: 36px 40px;
  }
}
