.news-page-wrap {
  --news-bg: #f4f7fb;
  --news-surface: #ffffff;
  --news-text: #0f172a;
  --news-muted: #64748b;
  --news-border: #dce5f1;
  --news-accent: #e11d48;
  --news-accent-dark: #be123c;
  --news-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at 15% 0, rgba(204, 238, 255, 0.65), rgba(204, 238, 255, 0) 42%),
    radial-gradient(circle at 95% 8%, rgba(255, 230, 220, 0.7), rgba(255, 230, 220, 0) 35%),
    var(--news-bg);
  min-height: calc(100vh - 70px);
  padding: 24px 20px 40px;
}

.news-shell {
  max-width: 1280px;
  margin: 0 auto;
}

.news-hero {
  background: linear-gradient(130deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  border-radius: 20px;
  padding: 28px;
  color: #fff;
  box-shadow: var(--news-shadow);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.news-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -70px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.news-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

.news-hero h1 {
  margin: 14px 0 8px;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.news-hero p {
  margin: 0;
  max-width: 760px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
}

.news-hero-links {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  transition: all 0.2s ease;
}

.news-hero-link.primary {
  background: var(--news-accent);
  color: #fff;
  box-shadow: 0 10px 18px rgba(225, 29, 72, 0.3);
}

.news-hero-link.primary:hover {
  color: #fff;
  background: var(--news-accent-dark);
  transform: translateY(-2px);
}

.news-hero-link.soft {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #fff;
}

.news-hero-link.soft:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.23);
}

.news-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: #475569;
  font-size: 13px;
}

.news-breadcrumb a {
  color: #334155;
  text-decoration: none;
}

.news-breadcrumb a:hover {
  color: var(--news-accent);
}

.news-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.news-topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--news-border);
  background: #ecf2fa;
  color: #334155;
  font-size: 13px;
  padding: 8px 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.news-topic-chip.active,
.news-topic-chip:hover {
  color: #fff;
  background: #0f172a;
  border-color: #0f172a;
}

.news-panel {
  background: var(--news-surface);
  border: 1px solid var(--news-border);
  border-radius: 18px;
  box-shadow: var(--news-shadow);
  padding: 18px;
}

.news-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.news-panel-head h2 {
  margin: 0;
  color: var(--news-text);
  font-size: 24px;
  letter-spacing: -0.01em;
}

.news-panel-sub {
  color: var(--news-muted);
  font-size: 13px;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.news-thumb {
  display: block;
  min-height: 190px;
  background: #dfe7f3;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-body {
  padding: 14px 16px 14px 0;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.news-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  color: #be123c;
  background: #ffe4ec;
  padding: 4px 10px;
}

.news-date {
  color: var(--news-muted);
  font-size: 12px;
}

.news-body h3 {
  margin: 0;
  line-height: 1.4;
  font-size: 22px;
}

.news-body h3 a {
  color: var(--news-text);
  text-decoration: none;
}

.news-body h3 a:hover {
  color: var(--news-accent);
}

.news-body p {
  margin: 10px 0 14px;
  color: #334155;
  font-size: 14px;
  line-height: 1.75;
}

.news-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.news-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #be123c;
  background: #ffe8ef;
}

.news-read:hover {
  color: #fff;
  background: #be123c;
}

.news-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  border: 1px solid #d8e1ee;
  text-decoration: none;
}

.news-arrow:hover {
  color: #fff;
  background: #0f172a;
  border-color: #0f172a;
}

.news-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  color: #64748b;
  text-align: center;
  font-size: 14px;
  padding: 30px 16px;
}

.news-pagination {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.news-pagination .pagination {
  margin: 0;
  gap: 6px;
}

.news-pagination .page-link {
  border-radius: 10px;
  border-color: #d7e2ef;
  color: #334155;
  min-width: 40px;
  text-align: center;
}

.news-pagination .page-item.active .page-link,
.news-pagination .page-link:hover {
  color: #fff;
  background: #0f172a;
  border-color: #0f172a;
}

.news-products {
  margin-top: 20px;
}

.news-products-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.news-products-head h2 {
  margin: 0;
  font-size: 22px;
  color: var(--news-text);
}

.news-products-head a {
  text-decoration: none;
  color: #be123c;
  font-weight: 700;
  font-size: 13px;
}

.news-products-head a:hover {
  color: #881337;
}

.news-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.news-product-card {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid #dce5f1;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
}

.news-product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #e2e8f0;
}

.news-product-title {
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.5;
}

@media (max-width: 1199px) {
  .news-card {
    grid-template-columns: 1fr;
  }

  .news-thumb {
    min-height: 220px;
  }

  .news-body {
    padding: 0 14px 14px;
  }

  .news-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .news-page-wrap {
    padding: 14px 12px 24px;
  }

  .news-hero {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .news-hero h1 {
    font-size: 25px;
  }

  .news-panel {
    padding: 14px;
    border-radius: 14px;
  }

  .news-panel-head h2,
  .news-products-head h2 {
    font-size: 20px;
  }

  .news-body h3 {
    font-size: 19px;
  }

  .news-products-grid {
    grid-template-columns: 1fr;
  }
}
