/**
 * SparkSonic News Styles — v1.0
 *
 * Styles for both the news archive (home.php) and single post (single.php).
 * Self-contained with custom BEM classes — no Tailwind dependency.
 *
 * @package Sparksonic
 */

/* ═══════════════════════════════════════════════════════════════
   ARCHIVE — HERO
   ═══════════════════════════════════════════════════════════════ */
.nw-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 40px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
  color: #fff;
}
.nw-hero__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(37,99,235,.35) 0%, transparent 60%);
  pointer-events: none;
}
.nw-hero__pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.nw-hero__inner {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .nw-hero { padding: 64px 0 52px; } .nw-hero__inner { padding: 0 24px; } }

/* Breadcrumbs */
.nw-breadcrumbs { margin-bottom: 18px; }
.nw-breadcrumbs ol { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.nw-breadcrumbs a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 13px; font-weight: 500; transition: color .2s; }
.nw-breadcrumbs a:hover { color: #fff; }
.nw-breadcrumbs__sep svg { width: 14px; height: 14px; color: rgba(255,255,255,.35); display: block; }
.nw-breadcrumbs__current { font-size: 13px; font-weight: 600; color: #fff; }

/* Title & subtitle */
.nw-hero__title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
@media (min-width: 640px) { .nw-hero__title { font-size: 38px; margin-bottom: 14px; } }
@media (min-width: 900px) { .nw-hero__title { font-size: 44px; } }

.nw-hero__subtitle {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.8);
  max-width: 620px;
  margin-bottom: 20px;
}
@media (min-width: 640px) { .nw-hero__subtitle { font-size: 16px; margin-bottom: 24px; } }

/* Pills */
.nw-hero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.nw-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.15);
}
.nw-pill svg { width: 14px; height: 14px; }
.nw-pill--cat { background: rgba(255,255,255,.08); }
.nw-pill--cat em { font-style: normal; opacity: .6; }

/* Filters */
.nw-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.nw-filters__search {
  flex: 1 1 220px;
  position: relative;
}
.nw-filters__search svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: rgba(255,255,255,.5); pointer-events: none;
}
.nw-filters__search input {
  width: 100%;
  padding: 10px 12px 10px 38px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: all .2s;
}
.nw-filters__search input::placeholder { color: rgba(255,255,255,.5); }
.nw-filters__search input:focus {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.4);
  box-shadow: 0 0 0 3px rgba(59,130,246,.25);
}
.nw-filters__cat {
  flex: 0 0 auto;
  min-width: 160px;
}
.nw-filters__cat select {
  width: 100%;
  padding: 10px 32px 10px 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: all .2s;
}
.nw-filters__cat select:focus {
  border-color: rgba(255,255,255,.4);
  box-shadow: 0 0 0 3px rgba(59,130,246,.25);
}
.nw-filters__cat select option { background: #1e293b; color: #fff; }

/* ═══════════════════════════════════════════════════════════════
   ARCHIVE — GRID
   ═══════════════════════════════════════════════════════════════ */
.nw-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
@media (min-width: 640px) { .nw-section { padding: 32px 24px 64px; } }

.nw-counter {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 18px;
}
.nw-counter strong { color: #1e293b; }

.nw-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .nw-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (min-width: 900px) { .nw-grid { grid-template-columns: repeat(3, 1fr); } }

/* Card */
.nw-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.nw-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.1), 0 4px 8px rgba(0,0,0,.06);
}

.nw-card__image {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: #f1f5f9;
}
.nw-card__image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.nw-card:hover .nw-card__image img { transform: scale(1.06); }

.nw-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.35) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.nw-card:hover .nw-card__overlay { opacity: 1; }

.nw-card__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
}
.nw-card__placeholder svg { width: 40px; height: 40px; color: #94a3b8; }

/* Badge */
.nw-badge {
  display: inline-flex; align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
  line-height: 1.3;
  letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.nw-badge--top-left { position: absolute; top: 10px; left: 10px; z-index: 2; }

.nw-badge--default  { background: #f1f5f9; color: #475569; }
.nw-badge--blue     { background: #dbeafe; color: #1e40af; }
.nw-badge--orange   { background: #ffedd5; color: #9a3412; }
.nw-badge--green    { background: #dcfce7; color: #166534; }
.nw-badge--indigo   { background: #e0e7ff; color: #3730a3; }
.nw-badge--pink     { background: #fce7f3; color: #9d174d; }
.nw-badge--cyan     { background: #cffafe; color: #155e75; }
.nw-badge--teal     { background: #ccfbf1; color: #115e59; }
.nw-badge--amber    { background: #fef3c7; color: #92400e; }
.nw-badge--red      { background: #fee2e2; color: #991b1b; }

/* Card body */
.nw-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nw-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 11px;
  color: #64748b;
  flex-wrap: wrap;
}
.nw-card__meta time,
.nw-card__author {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nw-card__meta svg { width: 13px; height: 13px; flex-shrink: 0; }

.nw-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}
@media (min-width: 640px) { .nw-card__title { font-size: 16px; } }
.nw-card__title a {
  color: #1e293b;
  text-decoration: none;
  transition: color .2s;
}
.nw-card:hover .nw-card__title a { color: #2563eb; }

.nw-card__desc {
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 10px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nw-card__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.nw-tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.nw-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all .2s;
  margin-top: auto;
  align-self: flex-start;
}
.nw-card__cta svg { width: 14px; height: 14px; transition: transform .2s; }
.nw-card__cta:hover { background: linear-gradient(135deg, #1d4ed8, #1e40af); transform: translateY(-1px); }
.nw-card:hover .nw-card__cta svg { transform: translateX(3px); }

/* Empty state */
.nw-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}
.nw-empty__icon { margin-bottom: 16px; }
.nw-empty__icon svg { width: 52px; height: 52px; color: #94a3b8; }
.nw-empty h2 { font-size: 18px; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
.nw-empty p { font-size: 14px; color: #64748b; }

/* No results */
.nw-no-results { text-align: center; padding: 48px 20px; }
.nw-no-results__icon { margin-bottom: 12px; }
.nw-no-results__icon svg { width: 44px; height: 44px; color: #94a3b8; }
.nw-no-results h3 { font-size: 17px; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.nw-no-results p { font-size: 13px; color: #64748b; margin-bottom: 14px; }
.nw-no-results__clear {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #1e293b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.nw-no-results__clear svg { width: 14px; height: 14px; }
.nw-no-results__clear:hover { background: #f1f5f9; border-color: #cbd5e1; }

/* Pagination */
.nw-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.nw-pagination a,
.nw-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}
.nw-pagination a { background: #fff; color: #1e293b; border: 1px solid #e2e8f0; }
.nw-pagination a:hover { background: #f1f5f9; border-color: #2563eb; color: #2563eb; }
.nw-pagination .current { background: #2563eb; color: #fff; border: 1px solid #2563eb; }

/* CTA Banner */
.nw-cta-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 48px;
}
@media (min-width: 640px) { .nw-cta-wrap { padding: 0 24px 64px; } }
.nw-cta {
  background: linear-gradient(135deg, #1e40af, #2563eb, #3b82f6);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  color: #fff;
  box-shadow: 0 10px 25px rgba(37,99,235,.3);
}
@media (min-width: 640px) { .nw-cta { padding: 40px 32px; } }
.nw-cta__title { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
@media (min-width: 640px) { .nw-cta__title { font-size: 26px; } }
.nw-cta__text { font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 20px; max-width: 480px; margin-left: auto; margin-right: auto; }
.nw-cta__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: #fff;
  color: #1e40af;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all .25s;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.nw-cta__btn svg { width: 18px; height: 18px; }
.nw-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }


/* ═══════════════════════════════════════════════════════════════
   SINGLE POST — HERO
   ═══════════════════════════════════════════════════════════════ */
.nws-hero {
  position: relative;
  padding: 48px 0 40px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
  color: #fff;
}
.nws-hero--has-img { padding: 56px 0 48px; min-height: 320px; display: flex; align-items: flex-end; }
@media (min-width: 640px) { .nws-hero { padding: 72px 0 56px; } .nws-hero--has-img { min-height: 420px; padding: 80px 0 56px; } }

.nws-hero__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.nws-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.3) 40%, rgba(0,0,0,.15) 100%);
  z-index: 1;
}
.nws-hero__gradient {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(37,99,235,.35) 0%, transparent 60%);
}

.nws-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .nws-hero__inner { padding: 0 24px; } }

/* Breadcrumbs (single) */
.nws-breadcrumbs { margin-bottom: 16px; }
.nws-breadcrumbs ol { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.nws-breadcrumbs a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 13px; font-weight: 500; transition: color .2s; }
.nws-breadcrumbs a:hover { color: #fff; }
.nws-breadcrumbs__sep svg { width: 14px; height: 14px; color: rgba(255,255,255,.35); display: block; }
.nws-breadcrumbs__current { font-size: 13px; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px; display: inline-block; }

.nws-hero__badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 12px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
  transition: background .2s;
}
.nws-hero__badge:hover { background: rgba(255,255,255,.3); }

.nws-hero__title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -.02em;
}
@media (min-width: 640px) { .nws-hero__title { font-size: 34px; } }
@media (min-width: 900px) { .nws-hero__title { font-size: 40px; } }

.nws-hero__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.8);
}
.nws-hero__meta time,
.nws-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nws-hero__meta svg { width: 14px; height: 14px; flex-shrink: 0; }
.nws-hero__meta-sep { color: rgba(255,255,255,.35); }

/* ═══════════════════════════════════════════════════════════════
   SINGLE POST — ARTICLE
   ═══════════════════════════════════════════════════════════════ */
.nws-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 16px 0;
}
@media (min-width: 640px) { .nws-article { padding: 48px 24px 0; } }

.nws-article__content {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}
.nws-article__content h2 { font-size: 22px; font-weight: 700; color: #1e293b; margin: 32px 0 12px; }
.nws-article__content h3 { font-size: 18px; font-weight: 700; color: #1e293b; margin: 24px 0 10px; }
.nws-article__content p { margin-bottom: 16px; }
.nws-article__content a { color: #2563eb; text-decoration: underline; }
.nws-article__content img { max-width: 100%; height: auto; border-radius: 12px; margin: 20px 0; }
.nws-article__content ul, .nws-article__content ol { padding-left: 24px; margin-bottom: 16px; }
.nws-article__content li { margin-bottom: 6px; }
.nws-article__content blockquote {
  border-left: 4px solid #2563eb;
  padding: 12px 20px;
  margin: 20px 0;
  background: #eff6ff;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #1e40af;
}

/* Tags */
.nws-article__tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid #e2e8f0;
}
.nws-article__tags > svg { width: 16px; height: 16px; color: #94a3b8; flex-shrink: 0; }
.nws-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: all .2s;
}
.nws-tag:hover { background: #e2e8f0; color: #1e293b; }

/* Share Links */
.nws-share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  margin-top: 20px;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
}
.nws-share__label { font-size: 13px; font-weight: 600; color: #64748b; }
.nws-share__btns { display: flex; gap: 8px; }
.nws-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  transition: all .2s;
}
.nws-share__btn svg { width: 16px; height: 16px; }
.nws-share__btn--fb { background: #e8f0fe; color: #1877f2; }
.nws-share__btn--fb:hover { background: #1877f2; color: #fff; }
.nws-share__btn--tw { background: #f1f5f9; color: #1e293b; }
.nws-share__btn--tw:hover { background: #1e293b; color: #fff; }
.nws-share__btn--li { background: #e7f0fa; color: #0a66c2; }
.nws-share__btn--li:hover { background: #0a66c2; color: #fff; }
.nws-share__btn--em { background: #f1f5f9; color: #64748b; }
.nws-share__btn--em:hover { background: #64748b; color: #fff; }

/* Author Box */
.nws-author {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  margin-top: 20px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}
.nws-author__avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.nws-author__label { font-size: 11px; color: #94a3b8; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
.nws-author__name { font-size: 15px; font-weight: 700; color: #1e293b; text-decoration: none; display: block; }
.nws-author__name:hover { color: #2563eb; }
.nws-author__bio { font-size: 13px; color: #64748b; margin-top: 4px; line-height: 1.5; }

/* Post Navigation */
.nws-postnav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 800px;
  margin: 32px auto 0;
  padding: 0 16px;
}
@media (min-width: 640px) { .nws-postnav { padding: 0 24px; margin-top: 40px; } }
.nws-postnav__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  transition: all .2s;
}
.nws-postnav__link:hover { border-color: #2563eb; box-shadow: 0 2px 8px rgba(37,99,235,.1); }
.nws-postnav__link--next { text-align: right; }
.nws-postnav__dir {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.nws-postnav__dir svg { width: 14px; height: 14px; }
.nws-postnav__link--next .nws-postnav__dir { justify-content: flex-end; }
.nws-postnav__title {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Related Articles */
.nws-related {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 0 16px 48px;
}
@media (min-width: 640px) { .nws-related { padding: 0 24px 64px; margin-top: 48px; } }
.nws-related__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.nws-related__divider svg { width: 28px; height: 28px; color: #cbd5e1; }
.nws-related__title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}

.nws-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .nws-related__grid { grid-template-columns: repeat(3, 1fr); } }

.nws-related__card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all .2s;
}
.nws-related__card:hover { border-color: #2563eb; box-shadow: 0 4px 12px rgba(37,99,235,.1); transform: translateY(-2px); }

.nws-related__img {
  position: relative;
  padding-top: 56.25%;
  background: #f1f5f9;
  overflow: hidden;
}
.nws-related__img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.nws-related__card:hover .nws-related__img img { transform: scale(1.05); }
.nws-related__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
}
.nws-related__placeholder svg { width: 32px; height: 32px; color: #94a3b8; }
.nws-related__badge {
  position: absolute; top: 8px; left: 8px;
  padding: 3px 10px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
}
.nws-related__body {
  padding: 14px;
}
.nws-related__body time {
  font-size: 11px;
  color: #94a3b8;
  display: block;
  margin-bottom: 4px;
}
.nws-related__body h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Print */
@media print {
  .nw-hero, .nw-cta-wrap, .nws-share, .nws-postnav, .nws-related { display: none !important; }
  .nws-article { max-width: 100%; padding: 20px; }
}
