.news-public-page {
  --service-accent: #0284c7;
  --service-secondary: #7c3aed;
  --service-accent-rgb: 2, 132, 199;
  background:
    linear-gradient(180deg, rgba(240, 249, 255, 0.72), rgba(255, 255, 255, 0.95) 44%),
    #fff;
  border-radius: 8px;
  margin: -0.5rem auto 0;
  padding: clamp(1rem, 2.4vw, 1.6rem);
}

.news-public-hero {
  align-items: stretch;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  margin-bottom: 1.1rem;
  min-height: 360px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.news-list-hero {
  min-height: 330px;
}

.news-public-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 32px);
  bottom: 0;
  content: "";
  left: 0;
  opacity: 0.4;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}

.news-public-hero-copy {
  align-self: center;
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.news-public-hero .service-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.news-public-hero .service-subtitle {
  font-size: 1.06rem;
}

.news-public-hero .service-action,
.news-detail-actions .service-action {
  border-radius: 8px;
  min-height: 44px;
}

.news-public-panel {
  align-self: stretch;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
  color: #0f172a;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

.news-panel-kicker {
  align-items: center;
  color: #0284c7;
  display: flex;
  font-size: 0.78rem;
  font-weight: 850;
  gap: 0.45rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-stat-list,
.news-step-list {
  display: grid;
  gap: 0.75rem;
}

.news-stat-card,
.news-step-card {
  background: #f8fafc;
  border: 1px solid #dce8f2;
  border-radius: 8px;
  color: #172033;
  display: grid;
  gap: 0.18rem;
  min-height: 104px;
  padding: 0.9rem;
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.news-stat-card:hover,
.news-stat-card:focus,
.news-step-card:hover,
.news-step-card:focus {
  background: #fff;
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
  color: #172033;
  transform: translateY(-2px);
}

.news-stat-card i {
  align-items: center;
  background: #e0f2fe;
  border-radius: 8px;
  color: #0284c7;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.news-stat-card strong,
.news-step-card strong {
  color: #0f172a;
  font-size: 0.98rem;
}

.news-stat-card small,
.news-step-card small {
  color: #64748b;
  display: block;
  font-size: 0.78rem;
  line-height: 1.4;
  margin-top: 0.18rem;
}

.news-private-card {
  background: #f5f3ff;
  border-color: #ddd6fe;
}

.news-private-card i {
  background: #ede9fe;
  color: #6d28d9;
}

.news-support-strip {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.6rem;
}

.news-support-strip a {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe7f2;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  color: #334155;
  display: flex;
  font-weight: 820;
  gap: 0.7rem;
  min-height: 64px;
  padding: 0.85rem 1rem;
  text-decoration: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.news-support-strip a:hover,
.news-support-strip a:focus {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
  color: #0f172a;
  transform: translateY(-2px);
}

.news-support-strip i {
  align-items: center;
  background: linear-gradient(135deg, #0284c7, #7c3aed);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.news-content-grid {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
}

.news-content-main,
.news-public-rail {
  min-width: 0;
}

.news-story-link {
  color: inherit;
  display: block;
  height: 100%;
  text-decoration: none;
}

.news-story-card {
  background: #fff;
  border: 1px solid #dbe7f2;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
  display: flex;
  flex-direction: column;
  min-height: 292px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.news-story-card::after,
.news-detail-card::before {
  background: linear-gradient(90deg, #0284c7, #7c3aed, #059669);
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.news-story-card:hover,
.news-story-card:focus-within {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.12);
  transform: translateY(-3px);
}

.news-story-media {
  background: #f1f5f9;
  height: 190px;
  overflow: hidden;
  position: relative;
}

.news-story-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  width: 100%;
}

.news-story-card:hover .news-story-media img,
.news-story-card:focus-within .news-story-media img {
  transform: scale(1.045);
}

.news-story-placeholder {
  align-items: center;
  color: #0284c7;
  display: flex;
  font-size: 2.1rem;
  height: 100%;
  justify-content: center;
}

.news-story-date {
  background: #0284c7;
  border-radius: 8px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
  left: 0.75rem;
  padding: 0.42rem 0.58rem;
  position: absolute;
  top: 0.75rem;
}

.news-story-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.1rem;
}

.news-card-meta {
  color: #0284c7;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.74rem;
  font-weight: 820;
  gap: 0.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-card-meta span {
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  padding: 0.28rem 0.5rem;
}

.news-story-body h2,
.news-story-body h3 {
  color: #0f172a;
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.3;
  margin: 0.75rem 0 0.4rem;
}

.news-story-body p {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.62;
}

.news-public-rail {
  background: #fff;
  border: 1px solid #dbe7f2;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
  padding: 1rem;
  position: sticky;
  top: 1rem;
}

.news-rail-heading {
  align-items: start;
  margin: 0 0 0.9rem;
}

.news-rail-heading h2 {
  font-size: 1.18rem;
}

.news-rail-heading p {
  font-size: 0.88rem;
}

.news-step-card {
  align-items: start;
  grid-template-columns: 38px minmax(0, 1fr);
  min-height: auto;
}

.news-step-card > span {
  align-items: center;
  background: #e0f2fe;
  border-radius: 8px;
  color: #0284c7;
  display: inline-flex;
  font-weight: 850;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.news-detail-shell {
  margin: 0 auto;
  max-width: 1120px;
}

.news-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.news-back-link {
  align-items: center;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  color: #0284c7;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 820;
  gap: 0.42rem;
  padding: 0.6rem 0.8rem;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.news-back-link:hover,
.news-back-link:focus {
  background: #0284c7;
  color: #fff;
  transform: translateY(-1px);
}

.news-detail-card {
  background: #fff;
  border: 1px solid #dbe7f2;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.09);
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
  position: relative;
}

.news-detail-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.38fr);
}

.news-detail-media {
  border-radius: 8px;
  margin-bottom: 1rem;
  max-height: 420px;
  object-fit: cover;
  width: 100%;
}

.news-detail-placeholder {
  align-items: center;
  background: linear-gradient(135deg, #e0f2fe, #f5f3ff);
  border: 1px solid #dbe7f2;
  border-radius: 8px;
  color: #0284c7;
  display: flex;
  font-size: 3rem;
  height: 260px;
  justify-content: center;
  margin-bottom: 1rem;
}

.news-detail-card h1 {
  color: #0f172a;
  font-size: clamp(1.8rem, 3.3vw, 2.75rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0.75rem 0;
}

.news-detail-teaser {
  color: #475569;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.68;
  margin: 0 0 1rem;
}

.news-detail-copy {
  color: #334155;
  font-size: 1rem;
  line-height: 1.72;
}

.news-detail-copy p:last-child {
  margin-bottom: 0;
}

.news-detail-sidebar {
  display: grid;
  gap: 0.85rem;
  position: sticky;
  top: 1rem;
}

.news-sidebar-card {
  background: #f8fafc;
  border: 1px solid #e1e9f2;
  border-radius: 8px;
  padding: 1rem;
}

.news-sidebar-card h2 {
  color: #0f172a;
  font-size: 1.08rem;
  font-weight: 850;
  margin-bottom: 0.65rem;
}

.news-detail-facts {
  display: grid;
  gap: 0.55rem;
}

.news-detail-fact {
  border-bottom: 1px solid #e2e8f0;
  display: grid;
  gap: 0.18rem;
  padding-bottom: 0.55rem;
}

.news-detail-fact:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.news-detail-fact span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-detail-fact strong {
  color: #0f172a;
  font-size: 0.94rem;
}

.news-empty {
  align-items: center;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  justify-content: center;
  min-height: 180px;
  padding: 1.5rem;
  text-align: center;
}

.news-empty i {
  color: #0284c7;
  font-size: 1.8rem;
}

.news-public-page a:focus-visible,
.news-public-page button:focus-visible {
  outline: 3px solid rgba(124, 58, 237, 0.55);
  outline-offset: 3px;
}

@media (max-width: 1199.98px) {
  .news-public-hero,
  .news-content-grid,
  .news-detail-grid {
    grid-template-columns: 1fr;
  }

  .news-public-rail,
  .news-detail-sidebar {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .news-public-page {
    padding: 0.75rem;
  }

  .news-public-hero {
    min-height: auto;
  }

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

  .news-detail-actions .service-action,
  .news-detail-actions .news-back-link {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-public-page *,
  .news-public-page *::before,
  .news-public-page *::after {
    transition-duration: 0.01ms !important;
  }
}
