:root {
  --news-bg: #f3f6fb;
  --news-surface: #ffffff;
  --news-border: #d9e1ee;
  --news-text: #102847;
  --news-muted: #5f7088;
  --news-primary: #0d4a8d;
  --news-primary-2: #1d6bb8;
  --news-primary-soft: #e8f2ff;
  --news-shadow: 0 12px 30px rgba(15, 35, 69, 0.08);
  --news-radius: 14px;
}

body.news-modern {
  background:
    radial-gradient(1200px 600px at 0% 0%, #edf4ff 0%, transparent 60%),
    radial-gradient(900px 500px at 100% 10%, #f4f9ff 0%, transparent 55%),
    var(--news-bg);
  color: var(--news-text);
}

.news-modern .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.news-modern .news-shell,
.news-modern .article-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.news-modern .news-hero {
  background: linear-gradient(130deg, #0f4180 0%, #1b5da3 55%, #2580cb 100%);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--news-shadow);
  color: #fff;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.25fr 0.9fr;
}

.news-modern .hero-label {
  margin: 0 0 0.4rem;
  letter-spacing: 0.06em;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #c7ddff;
}

.news-modern .news-hero h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.news-modern .news-hero p {
  margin: 0;
  color: #d7e7ff;
  max-width: 780px;
  line-height: 1.65;
}

.news-modern .hero-stats {
  display: grid;
  gap: 0.7rem;
}

.news-modern .hero-stat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
}

.news-modern .hero-stat span {
  display: block;
  color: #d4e8ff;
  font-size: 0.8rem;
}

.news-modern .hero-stat strong {
  display: block;
  margin-top: 0.15rem;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.2;
}

.news-modern .news-toolbar {
  margin: 1rem 0 0.8rem;
  background: var(--news-surface);
  border: 1px solid var(--news-border);
  border-radius: 14px;
  padding: 0.8rem;
  box-shadow: 0 8px 20px rgba(16, 40, 71, 0.05);
}

.news-modern .news-search-row {
  display: grid;
  grid-template-columns: 1fr 220px auto;
  gap: 0.65rem;
}

.news-modern .news-input,
.news-modern .news-select {
  width: 100%;
  border: 1px solid var(--news-border);
  border-radius: 10px;
  background: #fff;
  color: var(--news-text);
  font-size: 0.95rem;
  padding: 0.72rem 0.9rem;
}

.news-modern .news-input:focus,
.news-modern .news-select:focus {
  border-color: var(--news-primary);
  outline: 2px solid rgba(13, 74, 141, 0.14);
  outline-offset: 1px;
}

.news-modern .news-btn {
  border: 1px solid var(--news-primary);
  background: var(--news-primary);
  color: #fff;
  border-radius: 10px;
  padding: 0.72rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

.news-modern .news-btn:hover {
  background: var(--news-primary-2);
}

.news-modern .news-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.news-modern .news-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--news-border);
  background: #fff;
  color: var(--news-muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
}

.news-modern .news-chip:hover {
  border-color: #b7c9e7;
  color: var(--news-text);
}

.news-modern .news-chip.active {
  border-color: var(--news-primary);
  background: var(--news-primary-soft);
  color: var(--news-primary);
}

.news-modern .news-meta-row {
  margin: 0.7rem 0 0.95rem;
  color: var(--news-muted);
  font-size: 0.9rem;
}

.news-modern .news-feature {
  background: var(--news-surface);
  border: 1px solid var(--news-border);
  border-radius: 16px;
  box-shadow: var(--news-shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  margin-bottom: 1rem;
}

.news-modern .news-feature-media {
  background: #e5edf9;
  min-height: 280px;
}

.news-modern .news-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-modern .news-feature-media.fallback {
  display: grid;
  place-items: center;
  color: #7588a5;
  font-weight: 700;
}

.news-modern .news-feature-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
}

.news-modern .news-feature-body h2 {
  margin: 0.2rem 0 0.55rem;
  line-height: 1.3;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

.news-modern .news-feature-body p {
  margin: 0;
  color: var(--news-muted);
  line-height: 1.7;
}

.news-modern .news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.news-modern .news-card {
  background: var(--news-surface);
  border: 1px solid var(--news-border);
  border-radius: var(--news-radius);
  box-shadow: 0 10px 24px rgba(15, 35, 69, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-modern .news-thumb {
  background: #e8edf6;
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
}

.news-modern .news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-modern .news-thumb.fallback {
  display: grid;
  place-items: center;
  color: #8a98ad;
  font-size: 0.88rem;
  font-weight: 600;
}

.news-modern .news-card-body {
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-modern .news-tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--news-primary);
  background: var(--news-primary-soft);
  padding: 0.28rem 0.5rem;
  border-radius: 8px;
}

.news-modern .news-card h3 {
  margin: 0.1rem 0 0.55rem;
  font-size: 1rem;
  line-height: 1.35;
}

.news-modern .news-card p {
  margin: 0;
  color: var(--news-muted);
  line-height: 1.62;
  font-size: 0.91rem;
}

.news-modern .news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: 0.82rem;
  color: #67758d;
}

.news-modern .news-read-link {
  color: var(--news-primary);
  text-decoration: none;
  font-weight: 700;
}

.news-modern .news-read-link:hover {
  text-decoration: underline;
}

.news-modern .news-empty {
  border: 1px dashed #b8c5da;
  border-radius: var(--news-radius);
  background: #fff;
  text-align: center;
  padding: 2rem 1rem;
  color: var(--news-muted);
}

.news-modern .news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.news-modern .news-page-link {
  min-width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--news-border);
  border-radius: 8px;
  color: var(--news-text);
  background: #fff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
}

.news-modern .news-page-link.active {
  border-color: var(--news-primary);
  color: #fff;
  background: var(--news-primary);
}

.news-modern .news-page-link.disabled {
  pointer-events: none;
  opacity: 0.45;
}

.news-modern .article-shell {
  max-width: 980px;
}

.news-modern .article-crumb {
  margin-bottom: 0.75rem;
}

.news-modern .news-breadcrumbs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: var(--news-muted);
  font-size: 0.86rem;
}

.news-modern .news-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.news-modern .news-breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: #9bb0cf;
}

.news-modern .article-crumb a {
  text-decoration: none;
  color: var(--news-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.news-modern .article-crumb i {
  margin-right: 0.35rem;
}

.news-modern .article-main {
  border: 1px solid var(--news-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--news-shadow);
  overflow: hidden;
}

.news-modern .article-cover {
  width: 100%;
  aspect-ratio: 16/8;
  background: #e8edf6;
  overflow: hidden;
}

.news-modern .article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-modern .article-body {
  padding: 1.25rem;
}

.news-modern .article-kicker {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--news-primary-soft);
  color: var(--news-primary);
}

.news-modern .article-body h1 {
  margin: 0.65rem 0 0.4rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.25;
}

.news-modern .article-meta {
  margin: 0 0 1rem;
  color: var(--news-muted);
  font-size: 0.9rem;
}

.news-modern .dot-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #9aadcb;
  border-radius: 50%;
  margin: 0 0.5rem;
  vertical-align: middle;
}

.news-modern .article-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #1f2f4a;
  margin-bottom: 1rem;
}

.news-modern .article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid var(--news-border);
}

.news-modern .article-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--news-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--news-text);
  font-size: 0.85rem;
  font-weight: 600;
}

.news-modern .article-action-link.primary {
  border-color: var(--news-primary);
  background: var(--news-primary);
  color: #fff;
}

.news-modern .related-block {
  margin-top: 1rem;
}

.news-modern .related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.news-modern .related-head h2 {
  margin: 0;
}

.news-modern .related-head a {
  color: var(--news-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.news-modern .related-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.7rem;
}

.news-modern .related-card {
  border: 1px solid var(--news-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 35, 69, 0.06);
  overflow: hidden;
}

.news-modern .related-card-body {
  padding: 0.8rem;
}

.news-modern .related-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  line-height: 1.35;
}

.news-modern .related-card a {
  color: var(--news-text);
  text-decoration: none;
}

.news-modern .related-card a:hover {
  color: var(--news-primary);
}

@media (max-width: 980px) {
  .news-modern .news-hero {
    grid-template-columns: 1fr;
  }

  .news-modern .news-feature {
    grid-template-columns: 1fr;
  }

  .news-modern .news-grid,
  .news-modern .related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .news-modern .news-search-row {
    grid-template-columns: 1fr;
  }

  .news-modern .news-grid,
  .news-modern .related-grid {
    grid-template-columns: 1fr;
  }

  .news-modern .news-hero,
  .news-modern .news-toolbar {
    border-radius: 14px;
  }
}
