.page-news {
  --news-accent-green: #00FF9D;
  --news-accent-purple: #9D00FF;
  --news-accent-blue: #00E5FF;
  --news-card-bg: rgba(255, 255, 255, 0.03);
  --news-card-border: rgba(255, 255, 255, 0.08);
  --news-text-secondary: rgba(255, 255, 255, 0.65);
  --news-text-body: rgba(255, 255, 255, 0.78);
  background-color: var(--color-space);
  background-image:
    radial-gradient(1100px 480px at 82% -2%, rgba(157, 0, 255, 0.18), transparent 62%),
    radial-gradient(900px 420px at 0% 26%, rgba(0, 255, 157, 0.08), transparent 58%),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  overflow-x: hidden;
}

.news-hero {
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + 48px);
  position: relative;
}

.news-hero .container {
  position: relative;
  z-index: 1;
}

.news-hero__content {
  max-width: 860px;
  margin-bottom: 32px;
}

.news-hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  line-height: 1.2;
  color: var(--color-white);
  margin: 16px 0 18px;
  letter-spacing: 0.01em;
}

.news-hero__lead {
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--news-text-body);
  max-width: 680px;
  margin: 0 0 20px;
}

.news-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-caption);
  color: var(--color-gray);
  letter-spacing: 0.04em;
}

.news-hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 40px rgba(0, 255, 157, 0.06);
}

.news-hero__visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 220px;
}

.news-hero__visual-tag {
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--color-white);
  background: rgba(5, 8, 20, 0.72);
  border: 1px solid rgba(0, 255, 157, 0.45);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.news-hero__stream {
  position: relative;
  height: 2px;
  margin-top: 28px;
  background: linear-gradient(90deg, transparent, var(--color-neon), var(--color-electric), transparent);
  border-radius: 999px;
  overflow: hidden;
}

.news-hero__stream::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -40px;
  width: 44px;
  height: 8px;
  background: var(--color-neon);
  border-radius: 50%;
  filter: blur(8px);
  animation: news-stream-flow 3.2s linear infinite;
}

@keyframes news-stream-flow {
  0% { left: -44px; }
  100% { left: 100%; }
}

.news-section {
  padding: 72px 0 24px;
}

.news-section__desc {
  color: var(--news-text-secondary);
  font-size: var(--fs-body);
  line-height: 1.65;
  margin: 10px 0 0;
  max-width: 640px;
}

.news-latest__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.news-masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}

.news-card {
  position: relative;
  background: var(--news-card-bg);
  border: 1px solid var(--news-card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}

.news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-neon), var(--color-purple));
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.news-card:hover {
  border-color: rgba(0, 255, 157, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 24px rgba(0, 255, 157, 0.06);
}

.news-card:hover::before {
  opacity: 1;
}

.news-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.news-card__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.32);
}

.news-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--color-white);
  margin: 0 0 10px;
}

.news-card__brief {
  font-size: var(--fs-caption);
  line-height: 1.65;
  color: var(--news-text-secondary);
  margin: 0 0 18px;
  flex: 1;
}

.news-card__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  color: var(--color-electric);
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.news-card__trigger:hover {
  color: var(--color-neon);
}

.news-card__icon {
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  position: relative;
  transition: transform 0.3s var(--ease);
}

.news-card__icon::before,
.news-card__icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 1.5px;
  background: currentColor;
}

.news-card__icon::before {
  transform: rotate(90deg);
}

.news-card__trigger[aria-expanded="true"] .news-card__icon::before {
  transform: rotate(0deg);
}

.news-card__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.news-card__panel[data-open="true"] {
  grid-template-rows: 1fr;
}

.news-card__content {
  overflow: hidden;
  color: var(--news-text-body);
  font-size: var(--fs-caption);
  line-height: 1.75;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.news-card--feature {
  background: linear-gradient(150deg, rgba(0, 255, 157, 0.09), rgba(255, 255, 255, 0.02) 60%);
  border-color: rgba(0, 255, 157, 0.22);
}

.news-card--feature .news-card__title {
  font-size: 1.3rem;
}

.chip--green {
  background: rgba(0, 255, 157, 0.12);
  color: var(--color-neon);
  border-color: rgba(0, 255, 157, 0.35);
}

.news-sidebar {
  position: relative;
}

.news-tags {
  background: linear-gradient(160deg, rgba(157, 0, 255, 0.12), rgba(0, 255, 157, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.news-tags h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  color: var(--color-white);
  margin: 10px 0 8px;
}

.news-sidebar__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--color-neon);
  text-transform: uppercase;
}

.news-sidebar__note {
  font-size: var(--fs-caption);
  color: var(--news-text-secondary);
  line-height: 1.6;
  margin: 0 0 20px;
}

.news-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-tags__item {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.news-tags__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 255, 157, 0.12);
}

.news-tags__item--green {
  border-color: rgba(0, 255, 157, 0.34);
  color: rgba(0, 255, 157, 0.92);
}

.news-tags__item--green:hover {
  border-color: var(--color-neon);
  color: var(--color-neon);
  box-shadow: 0 8px 26px rgba(0, 255, 157, 0.2);
}

.news-tags__item--purple {
  border-color: rgba(157, 0, 255, 0.38);
  color: rgba(200, 125, 255, 0.92);
}

.news-tags__item--purple:hover {
  border-color: var(--color-purple);
  color: var(--color-white);
  box-shadow: 0 8px 26px rgba(157, 0, 255, 0.22);
}

.news-tags__item--blue {
  border-color: rgba(0, 229, 255, 0.34);
  color: rgba(0, 229, 255, 0.9);
}

.news-tags__item--blue:hover {
  border-color: var(--color-electric);
  color: var(--color-electric);
  box-shadow: 0 8px 26px rgba(0, 229, 255, 0.18);
}

.news-version {
  position: relative;
}

.news-version__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 32px;
}

.version-timeline {
  position: relative;
  padding-left: 30px;
}

.version-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-neon), var(--color-purple), var(--color-electric), rgba(255, 255, 255, 0.08));
  border-radius: 999px;
}

.version-timeline__item {
  position: relative;
  margin-bottom: 28px;
}

.version-timeline__item:last-child {
  margin-bottom: 0;
}

.version-timeline__node {
  position: absolute;
  left: -30px;
  top: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-space);
  border: 2px solid var(--color-neon);
  box-shadow: 0 0 14px rgba(0, 255, 157, 0.5);
}

.version-timeline__item--active .version-timeline__node {
  background: var(--color-neon);
  box-shadow: 0 0 0 5px rgba(0, 255, 157, 0.12), 0 0 20px rgba(0, 255, 157, 0.5);
}

.version-timeline__item:not(.version-timeline__item--active) .version-timeline__node {
  border-color: var(--color-electric);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.version-timeline__card {
  background: var(--news-card-bg);
  border: 1px solid var(--news-card-border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.version-timeline__card:hover {
  border-color: rgba(0, 255, 157, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 20px rgba(0, 255, 157, 0.05);
}

.version-timeline__card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  color: var(--color-white);
  margin: 12px 0 10px;
}

.version-timeline__card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.version-timeline__card ul li {
  position: relative;
  padding-left: 16px;
  color: var(--news-text-body);
  font-size: var(--fs-caption);
  line-height: 1.65;
}

.version-timeline__card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-neon);
}

.news-version__media {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.news-version__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(157, 0, 255, 0.35);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.4), 0 0 30px rgba(157, 0, 255, 0.1);
  width: 600px;
  max-width: 100%;
}

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

.news-version__frame-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--color-white);
  background: rgba(5, 8, 20, 0.7);
  border: 1px solid rgba(157, 0, 255, 0.4);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.news-strategy {
  position: relative;
}

.news-strategy__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 32px;
}

.news-strategy__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-strategy__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 255, 157, 0.28);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.42), 0 0 34px rgba(0, 255, 157, 0.08);
  width: 800px;
  max-width: 100%;
}

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

.news-strategy__frame-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--color-white);
  background: rgba(5, 8, 20, 0.7);
  border: 1px solid rgba(0, 255, 157, 0.4);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.news-strategy__content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.news-strategy__lead {
  color: var(--news-text-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  margin: 0;
  max-width: 560px;
}

.strategy-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.strategy-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 4px;
  padding: 18px 20px;
  background: var(--news-card-bg);
  border: 1px solid var(--news-card-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.strategy-card:hover {
  border-color: rgba(0, 229, 255, 0.45);
  transform: translateX(6px);
  box-shadow: 0 8px 28px rgba(0, 229, 255, 0.08);
}

.strategy-card__index {
  grid-row: 1 / 3;
  align-self: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--color-neon);
  letter-spacing: 0.12em;
}

.strategy-card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.strategy-card__desc {
  grid-column: 2;
  font-size: var(--fs-caption);
  color: var(--news-text-secondary);
  line-height: 1.5;
}

.news-feature__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 32px;
}

.news-feature__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-feature__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.28);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.42), 0 0 34px rgba(0, 229, 255, 0.08);
  width: 700px;
  max-width: 100%;
}

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

.news-feature__frame-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--color-white);
  background: rgba(5, 8, 20, 0.7);
  border: 1px solid rgba(0, 229, 255, 0.4);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.news-feature__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-card {
  background: var(--news-card-bg);
  border: 1px solid var(--news-card-border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.feature-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.feature-card__index {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.3);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  color: var(--color-white);
  margin: 0 0 8px;
}

.feature-card__brief {
  font-size: var(--fs-caption);
  line-height: 1.65;
  color: var(--news-text-secondary);
  margin: 0 0 16px;
}

.feature-card__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  color: var(--color-neon);
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.feature-card__trigger:hover {
  color: var(--color-white);
}

.feature-card__icon {
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  position: relative;
  transition: transform 0.3s var(--ease);
}

.feature-card__icon::before,
.feature-card__icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 1.5px;
  background: currentColor;
}

.feature-card__icon::before {
  transform: rotate(90deg);
}

.feature-card__trigger[aria-expanded="true"] .feature-card__icon::before {
  transform: rotate(0deg);
}

.feature-card__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.feature-card__panel[data-open="true"] {
  grid-template-rows: 1fr;
}

.feature-card__content {
  overflow: hidden;
  color: var(--news-text-body);
  font-size: var(--fs-caption);
  line-height: 1.75;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.feature-card__content p {
  margin: 0;
}

.feature-card__steps {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-card__steps li::marker {
  color: var(--color-neon);
}

@media (min-width: 768px) {
  .news-section {
    padding: 88px 0 28px;
  }

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

  .news-card:nth-child(1) {
    grid-column: span 2;
  }

  .news-card:nth-child(8) {
    grid-column: span 2;
  }

  .news-version__layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .news-strategy__layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .news-strategy__content {
    order: -1;
  }

  .news-feature__layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .strategy-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .news-latest__layout {
    grid-template-columns: 1fr 300px;
    gap: 36px;
    align-items: start;
  }

  .news-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .news-masonry {
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
  }

  .news-card:nth-child(1) {
    grid-column: span 7;
  }

  .news-card:nth-child(2) {
    grid-column: span 5;
  }

  .news-card:nth-child(3) {
    grid-column: span 4;
  }

  .news-card:nth-child(4) {
    grid-column: span 4;
  }

  .news-card:nth-child(5) {
    grid-column: span 4;
  }

  .news-card:nth-child(6) {
    grid-column: span 5;
  }

  .news-card:nth-child(7) {
    grid-column: span 7;
  }

  .news-card:nth-child(8) {
    grid-column: span 3;
  }

  .news-card:nth-child(9) {
    grid-column: span 4;
  }

  .news-card:nth-child(10) {
    grid-column: span 5;
  }

  .news-version__layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }

  .news-strategy__layout {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
  }

  .news-strategy__content {
    order: 0;
  }

  .news-feature__layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
  }

  .news-feature__media {
    align-items: flex-start;
  }
}

@media (min-width: 1200px) {
  .strategy-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
