.page-news {
  --news-accent: #00FF9D;
  --news-accent-purple: #B537F2;
  --news-card-bg: rgba(255, 255, 255, 0.06);
  --news-card-border: rgba(255, 255, 255, 0.12);
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
  color: var(--light-gray);
  font-family: var(--font-body);
  font-size: var(--font-body-size);
  line-height: 1.6;
  background:
    radial-gradient(1200px 600px at 85% 0%, rgba(181, 55, 242, 0.1), transparent 50%),
    radial-gradient(900px 500px at -10% 30%, rgba(0, 255, 157, 0.07), transparent 45%),
    transparent;
}

.page-news .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  color: rgba(245, 247, 250, 0.55);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.page-news .breadcrumb a {
  color: var(--neon-green);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.page-news .breadcrumb a:hover {
  color: var(--pure-white);
}

.page-news .news-hero {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.page-news .news-hero .section__label {
  color: var(--news-accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
}

.page-news .news-hero h1 {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  color: var(--pure-white);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.page-news .news-hero__lead {
  color: rgba(245, 247, 250, 0.78);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  max-width: 60ch;
  margin-bottom: 1.25rem;
}

.page-news .news-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.page-news .news-hero__visual {
  position: relative;
  overflow: hidden;
  border-radius: 18px 18px 18px 4px;
  background: var(--mid-blue);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%);
}

.page-news .news-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 255, 157, 0.25), transparent 40%, rgba(181, 55, 242, 0.2));
  pointer-events: none;
}

.page-news .news-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-news .section {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.page-news .section__head {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.page-news .section__label {
  color: var(--news-accent);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.page-news .section__head h2 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  color: var(--pure-white);
  margin: 0.25rem 0 0.75rem;
}

.page-news .section__lead {
  color: rgba(245, 247, 250, 0.72);
  font-weight: 300;
  margin: 0;
}

.page-news .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
}

.page-news .tag--green {
  color: var(--news-accent);
  background: rgba(0, 255, 157, 0.12);
  border-color: rgba(0, 255, 157, 0.3);
}

.page-news .tag--purple {
  color: #c27ef8;
  background: rgba(181, 55, 242, 0.14);
  border-color: rgba(181, 55, 242, 0.35);
}

.page-news .tag--amber {
  color: var(--alert-amber);
  background: rgba(255, 179, 0, 0.12);
  border-color: rgba(255, 179, 0, 0.3);
}

.page-news .news-feed__list {
  display: grid;
  gap: 0.5rem;
}

.page-news .news-feed__row {
  display: grid;
  gap: 2rem;
}

.page-news .news-card {
  position: relative;
  margin: 0 0 0.5rem 0.75rem;
  padding: 1.25rem 1.25rem 1.25rem 1.75rem;
  border-left: 2px solid rgba(0, 255, 157, 0.35);
  background: var(--news-card-bg);
  border-radius: 0 18px 18px 4px;
  backdrop-filter: blur(8px);
  transition:
    background var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-base);
}

.page-news .news-card::before {
  content: "";
  position: absolute;
  left: -0.55rem;
  top: 1.4rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--news-accent);
  border: 3px solid var(--deep-space-blue);
  box-shadow: 0 0 0 1px rgba(0, 255, 157, 0.45), 0 0 18px rgba(0, 255, 157, 0.35);
}

.page-news .news-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--news-accent);
  transform: translateY(-3px);
}

.page-news .news-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.page-news .news-card__time {
  margin-left: auto;
  color: rgba(245, 247, 250, 0.5);
  font-size: 0.8rem;
}

.page-news .news-card h3 {
  font-family: var(--font-title);
  color: var(--pure-white);
  font-size: 1.1rem;
  line-height: 1.35;
  margin: 0 0 0.5rem;
}

.page-news .news-card p {
  color: rgba(245, 247, 250, 0.78);
  margin: 0 0 0.5rem;
}

.page-news .news-card__more {
  margin-top: 0.5rem;
}

.page-news .news-card__more summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--news-accent);
  cursor: pointer;
  font-size: 0.9rem;
  list-style: none;
}

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

.page-news .news-card__more summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: rgba(0, 255, 157, 0.15);
  color: var(--news-accent);
  transition: transform var(--transition-fast);
}

.page-news .news-card__more[open] summary::before {
  content: "−";
}

.page-news .news-card__more > p {
  margin-top: 0.6rem;
  font-size: 0.9rem;
}

.page-news .news-card__more a {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--news-accent);
  text-decoration: none;
  font-size: 0.85rem;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast);
}

.page-news .news-card__more a:hover {
  border-color: currentColor;
}

.page-news .news-history__layout {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.page-news .news-history__track {
  position: relative;
  padding-left: 1rem;
}

.page-news .history-item {
  position: relative;
  padding: 0 0 2rem 2.5rem;
  border-left: 1px solid rgba(181, 55, 242, 0.45);
  margin-left: 0.75rem;
}

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

.page-news .history-item__version {
  position: absolute;
  left: -1.1rem;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-size: 0.75rem;
  background: rgba(181, 55, 242, 0.2);
  border: 1px solid rgba(181, 55, 242, 0.6);
  color: #c27ef8;
}

.page-news .history-item--current .history-item__version {
  background: var(--news-accent);
  border-color: var(--news-accent);
  color: var(--deep-space-blue);
}

.page-news .history-item h3 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--pure-white);
  margin: 0 0 0.4rem;
}

.page-news .history-item p {
  color: rgba(245, 247, 250, 0.75);
  margin: 0;
  font-size: 0.95rem;
}

.page-news .history-item a {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--news-accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.page-news .news-history__figure {
  margin: 0;
  background: var(--mid-blue);
  border-radius: 22px 22px 22px 4px;
  padding: 0.75rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

.page-news .news-history__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
}

.page-news .news-history__figure figcaption {
  text-align: center;
  padding: 0.6rem 0 0.25rem;
  color: rgba(245, 247, 250, 0.6);
  font-size: 0.85rem;
}

.page-news .news-topics__grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.page-news .topic-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
  border-radius: 22px 22px 22px 4px;
  background: linear-gradient(145deg, rgba(30, 58, 110, 0.55), rgba(11, 27, 61, 0.65));
  border: 1px solid var(--news-card-border);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.page-news .topic-card:hover {
  border-color: rgba(0, 255, 157, 0.4);
  transform: translateY(-4px);
}

.page-news .topic-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 3px;
  background: var(--news-accent);
  border-radius: 0 3px 3px 0;
}

.page-news .topic-card--faq::before {
  background: var(--news-accent-purple);
}

.page-news .topic-card h3 {
  font-family: var(--font-title);
  color: var(--pure-white);
  font-size: 1.5rem;
  margin: 0.75rem 0 0.5rem;
}

.page-news .topic-card p {
  color: rgba(245, 247, 250, 0.8);
  margin: 0 0 0.75rem;
}

.page-news .topic-card__speed {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--news-accent);
  margin: 1rem 0 0.75rem;
}

.page-news .topic-card__speed span {
  font-size: 0.35em;
  color: rgba(245, 247, 250, 0.6);
  margin-left: 0.5rem;
}

.page-news .topic-card__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.page-news .topic-card__list li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(245, 247, 250, 0.85);
}

.page-news .topic-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--news-accent);
  transform: rotate(45deg);
}

.page-news .topic-card--faq .topic-card__list li::before {
  background: var(--news-accent-purple);
}

.page-news .topic-card .btn {
  margin-top: 0.25rem;
}

.page-news .topic-card__phone {
  max-width: 200px;
  margin: 1.5rem auto 0;
  padding: 0.5rem;
  background: #0a142e;
  border: 1px solid rgba(181, 55, 242, 0.45);
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.page-news .topic-card__phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 5;
  object-fit: cover;
  border-radius: 18px;
}

.page-news .news-updates__grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.page-news .update-channel {
  position: relative;
  padding: 1.5rem;
  border-radius: 18px 18px 18px 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--news-card-border);
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.page-news .update-channel:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 255, 157, 0.4);
  transform: translateY(-3px);
}

.page-news .update-channel__num {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: rgba(0, 255, 157, 0.4);
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.page-news .update-channel h3 {
  color: var(--pure-white);
  font-family: var(--font-title);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.page-news .update-channel p {
  color: rgba(245, 247, 250, 0.74);
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}

.page-news .update-channel a {
  color: var(--news-accent);
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast);
}

.page-news .update-channel a:hover {
  border-color: currentColor;
}

.page-news .news-updates__note {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, rgba(181, 55, 242, 0.1), rgba(0, 255, 157, 0.04));
  border: 1px solid rgba(181, 55, 242, 0.25);
  border-radius: 22px 22px 22px 4px;
}

.page-news .news-updates__copy h3 {
  font-family: var(--font-title);
  color: var(--pure-white);
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
}

.page-news .news-updates__copy p {
  color: rgba(245, 247, 250, 0.8);
  margin: 0 0 0.75rem;
}

.page-news .news-updates__copy a {
  color: var(--news-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast);
}

.page-news .news-updates__copy a:hover {
  border-color: currentColor;
}

.page-news .news-updates__visual {
  margin: 0;
}

.page-news .news-updates__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

@media (min-width: 900px) {
  .page-news .news-hero {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
  }

  .page-news .news-feed__list {
    gap: 2.5rem;
  }

  .page-news .news-feed__row {
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
  }

  .page-news .news-history__layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
  }

  .page-news .news-topics__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
  }

  .page-news .news-updates__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .page-news .news-updates__note {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 2.25rem;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .page-news .topic-card--faq {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 1.5rem;
    align-items: center;
  }

  .page-news .topic-card--faq .topic-card__phone {
    margin: 0;
  }
}
