/**
 * /cost/news.html — hub + article chrome (tokens via seo-platform / design-tokens).
 * Scope: `<html class="cost-news-page">`.
 */
html.cost-news-page {
  scroll-behavior: smooth;
}

.cost-news-page .container {
  position: relative;
  z-index: 2;
}

.cost-news-page #articleView {
  display: none;
  max-width: 760px;
  padding: 24px 0 48px;
}

.cost-news-page #articleView.active {
  display: block;
}

.cost-news-page #hubView.hidden {
  display: none;
}

.cost-news-page .article-back {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 14px;
  text-decoration: none;
  opacity: 0.85;
  color: var(--text-sub, #a7b7da);
}

.cost-news-page .article-meta {
  font-size: 13px;
  opacity: 0.78;
  margin: 8px 0 18px;
}

.cost-news-page .article-body {
  line-height: 1.75;
  white-space: pre-wrap;
}

@media (min-width: 761px) {
  .cost-news-page .site-standard-footer .footer-row {
    grid-template-columns: 1fr auto 1fr !important;
    text-align: center !important;
  }

  .cost-news-page .site-standard-footer .footer-left {
    justify-content: flex-start !important;
  }

  .cost-news-page .site-standard-footer .footer-center {
    align-items: center !important;
    justify-content: center !important;
  }

  .cost-news-page .site-standard-footer .footer-right {
    justify-content: flex-end !important;
  }
}

.cost-news-page .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cost-news-page .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.cost-news-page .back-to-top {
  position: fixed;
  right: 18px;
  bottom: 96px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  box-shadow: var(--shadow-card-hover);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.cost-news-page .back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
