/* News module styles. Separate from help.css. UTF-8. */
.news-center-shell,
.news-shell {
  width: 100%;
  max-width: var(--page-width, 1200px);
  margin: 22px auto 42px;
  padding: 0 var(--page-gutter, 14px);
  box-sizing: border-box;
  color: var(--text, #1b2738);
}

.news-center-shell a,
.news-shell a {
  color: var(--accent, #2f6fff);
  text-decoration: none;
}

.news-center-shell a:hover,
.news-shell a:hover {
  text-decoration: none;
}

.news-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px !important;
  color: var(--accent, #2f6fff) !important;
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.news-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 500px);
  gap: 26px;
  align-items: stretch;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(47, 111, 255, .15);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(47,111,255,.14), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(255,154,31,.12), transparent 30%),
    linear-gradient(135deg, #f8fbff 0%, #edf4ff 58%, #fffaf3 100%);
  box-shadow: 0 18px 46px rgba(16, 40, 79, .08);
  overflow: hidden;
}

.news-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-hero__copy h1,
.news-article-header h1 {
  margin: 0;
  color: var(--navy, #10284f);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.news-hero__copy p:not(.news-eyebrow),
.news-article-header > p {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted, #6d7c92);
  font-size: 1.05rem;
  line-height: 1.7;
}

.news-hero__surface {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(216, 226, 239, .9);
  border-radius: 24px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 34px rgba(16, 40, 79, .08);
}

.news-search {
  display: grid;
  gap: 14px;
  margin: 0;
}

.news-search__label {
  color: var(--navy, #10284f);
  font-weight: 800;
}

.news-search__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
}

.news-search__field {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 15px;
  border: 1px solid var(--line, #d8e2ef);
  border-radius: 16px;
  background: #fff;
}

.news-search__icon,
.news-search-icon-img {
  width: 20px;
  height: 20px;
  color: var(--muted, #6d7c92);
  flex: 0 0 auto;
}

.news-search input {
  width: 100%;
  min-width: 0;
  height: 52px;
  border: 0;
  padding: 0;
  outline: none;
  background: transparent;
  color: var(--text, #1b2738);
  font-size: 15px;
}

.news-search button,
.news-card-link,
.news-link,
.news-copy-page-link,
.news-feedback__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.news-search button {
  min-width: 138px;
  min-height: 52px;
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy, #10284f), #0f1d39);
  box-shadow: 0 12px 24px rgba(16, 40, 79, .18);
}

.news-search button:hover {
  transform: translateY(-1px);
}

.news-search-shortcuts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}

.news-search-shortcuts__title {
  color: var(--muted, #6d7c92);
  font-weight: 800;
}

.news-search-shortcuts__links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.news-search-shortcuts__links a,
.news-subcategory-list a,
.news-tag,
.news-tag-cloud a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(216, 226, 239, .95);
  color: var(--accent, #2f6fff);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(16, 40, 79, .04);
}

.news-search-shortcuts__links a.is-active,
.news-search-shortcuts__links a:hover,
.news-subcategory-list a:hover,
.news-tag:hover,
.news-tag-cloud a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--accent, #2f6fff), #5c8dff);
  border-color: transparent;
}

.news-layout {
  display: grid;
  gap: 28px;
  align-items: start;
  margin-top: 28px;
}

.news-layout--sidebar-left {
  grid-template-columns: 270px minmax(0, 1fr);
}

.news-sidebar {
  position: sticky;
  top: 96px;
}

.news-sidebar-card,
.news-article-card,
.news-article-detail,
.news-aside,
.news-category-card,
.news-empty-state,
.news-feedback,
.news-inline-box {
  border: 1px solid var(--line, #d8e2ef);
  border-radius: 24px;
  background: var(--card, #fff);
  box-shadow: 0 14px 34px rgba(16, 40, 79, .06);
}

.news-sidebar-card {
  padding: 18px;
}

.news-sidebar-card h2,
.news-sidebar-card h3,
.news-section__head h2,
.news-article-card h3,
.news-aside h2,
.news-aside h3 {
  margin: 0;
  color: var(--navy, #10284f);
  letter-spacing: -.025em;
}

.news-sidebar-card h2 {
  font-size: 1.15rem;
}

.news-category-nav,
.news-aside-nav {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.news-category-nav a,
.news-aside-nav a,
.news-tree-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid transparent;
  color: var(--text, #1b2738);
  font-weight: 700;
  line-height: 1.25;
}

.news-category-nav a:hover,
.news-aside-nav a:hover,
.news-aside-nav a.is-active,
.news-tree-link:hover {
  color: var(--accent, #2f6fff);
  background: #eef5ff;
  border-color: rgba(47, 111, 255, .12);
}

.news-section--main {
  min-width: 0;
}

.news-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.news-section__head h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.news-section__head p:not(.news-eyebrow) {
  margin: 7px 0 0;
  color: var(--muted, #6d7c92);
}

.news-article-list,
.news-category-grid {
  display: grid;
  gap: 18px;
}

.news-article-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-article-list--single {
  grid-template-columns: 1fr;
}

.news-article-list--compact,
.news-category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-article-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 22px;
  overflow: hidden;
}

.news-article-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent, #2f6fff), var(--accent2, #ff9a1f));
}

.news-card-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.news-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--navy, #10284f);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .015em;
}

.news-status-badge--pinned {
  color: #92400e;
  background: #fff3df;
}

.news-status-badge--new {
  background: #e8f8ec;
  color: #1f7a3d;
}

.news-status-badge--changed {
  background: #fff3df;
  color: #9a5b00;
}

.news-article-card h3 {
  font-size: 1.2rem;
  line-height: 1.35;
}

.news-article-card h3 a {
  color: var(--navy, #10284f);
}

.news-article-card h3 a:hover {
  color: var(--accent, #2f6fff);
}

.news-article-card p,
.news-category-card p {
  margin: 0;
  color: var(--muted, #6d7c92);
  line-height: 1.65;
}

.news-card-meta,
.news-article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
  color: var(--muted, #6d7c92);
  font-size: 14px;
}

.news-card-link {
  justify-self: start;
  margin-top: 4px;
  padding: 10px 14px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent, #2f6fff), #5c8dff);
  box-shadow: 0 10px 20px rgba(47, 111, 255, .16);
}

.news-card-link:hover {
  transform: translateY(-1px);
}

.news-empty-state {
  padding: 28px;
  color: var(--muted, #6d7c92);
  border-style: dashed;
  text-align: center;
}

.news-category-card {
  overflow: hidden;
}

.news-category-card__image img,
.news-article-cover img,
.news-hero__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.news-category-card__image img {
  aspect-ratio: 16 / 9;
}

.news-category-card__body {
  padding: 20px;
}

.news-count {
  display: inline-flex;
  margin-top: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--accent, #2f6fff);
  font-size: 13px;
  font-weight: 800;
}

.news-article-detail {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px);
}

.news-article-header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line, #d8e2ef);
}

.news-article-header .news-card-badges {
  margin-top: 18px;
}

.news-article-cover {
  margin: 24px 0 0;
}

.news-article-cover img {
  max-height: 440px;
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(16, 40, 79, .08);
}

.news-article-content {
  padding-top: 24px;
  color: var(--text, #1b2738);
  font-size: 1.04rem;
  line-height: 1.82;
}

.news-article-content :first-child { margin-top: 0; }
.news-article-content :last-child { margin-bottom: 0; }

.news-article-content h2,
.news-article-content h3,
.news-article-content h4 {
  color: var(--navy, #10284f);
  line-height: 1.25;
  scroll-margin-top: 110px;
}

.news-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.news-inline-box {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  padding: 18px;
  background: #f8fbff;
}

.news-inline-box strong {
  color: var(--navy, #10284f);
}

.news-inline-box--tip { background: #f0f9f3; border-color: #cfe9d4; }
.news-inline-box--important { background: #fff8ec; border-color: #f2d7aa; }
.news-inline-box--note { background: #eef5ff; border-color: #cfe0ff; }

.news-feedback {
  max-width: 620px;
  margin: 36px auto 0;
  padding: 26px;
  text-align: center;
}

.news-feedback__header h2 {
  margin: 0;
  color: var(--navy, #10284f);
}

.news-feedback__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.news-feedback__button {
  min-width: 86px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--line, #d8e2ef);
  background: #fff;
  color: var(--text, #1b2738);
  font-weight: 800;
}

.news-feedback__button.is-selected,
.news-feedback__button:hover:not(:disabled) {
  color: #fff;
  background: linear-gradient(135deg, var(--accent, #2f6fff), #5c8dff);
  border-color: transparent;
}

.news-feedback-text {
  width: 100%;
  margin-top: 12px;
}

.news-feedback-text label {
  display: grid;
  gap: 8px;
  color: var(--text, #1b2738);
  font-weight: 800;
  text-align: left;
}

.news-feedback-text textarea {
  width: 100%;
  min-height: 110px;
  border: 1px solid var(--line, #d8e2ef);
  border-radius: 16px;
  padding: 12px;
  resize: vertical;
}

.news-feedback__submit,
.news-copy-page-link {
  margin-top: 10px;
  padding: 11px 18px;
  color: #fff;
  background: var(--navy, #10284f);
}

.news-live-results {
  position: absolute;
  left: 24px;
  right: 24px;
  top: calc(100% - 18px);
  z-index: 20;
  padding: 14px;
  border: 1px solid var(--line, #d8e2ef);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(16, 40, 79, .14);
}

.news-live-group {
  display: grid;
  gap: 8px;
  margin: 8px 0 12px;
}

.news-live-group a {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fbff;
  color: var(--navy, #10284f);
}

.news-live-group span {
  color: var(--muted, #6d7c92);
  font-size: 13px;
}

.news-live-suggestions {
  padding-top: 10px;
  border-top: 1px solid var(--line, #d8e2ef);
}

.news-live-suggestions button {
  display: inline-flex;
  margin: 3px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--accent, #2f6fff);
  font-weight: 800;
}

.news-tree-item { display: grid; gap: 6px; }
.news-tree-children { display: grid; gap: 6px; margin-left: 12px; padding-left: 12px; border-left: 2px solid var(--line, #d8e2ef); }
.news-tree-caret { font-weight: 900; transition: transform .16s ease; }
.news-tree-item.is-open > .news-tree-link .news-tree-caret { transform: rotate(90deg); }
.news-heading-copy { margin-left: 8px; border: 0; background: transparent; cursor: pointer; opacity: .55; }
.news-heading-copy:hover { opacity: 1; }

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

  .news-sidebar {
    position: static;
  }

  .news-article-list,
  .news-article-list--compact,
  .news-category-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .news-center-shell,
  .news-shell {
    margin-top: 14px;
    padding: 0 12px;
  }

  .news-hero {
    padding: 22px;
    border-radius: 22px;
  }

  .news-hero__surface,
  .news-sidebar-card,
  .news-article-card,
  .news-article-detail {
    border-radius: 20px;
  }

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

  .news-search button {
    width: 100%;
  }

  .news-search-shortcuts {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-article-card {
    padding: 20px;
  }
}

/* Split main and sub categories for news */
.news-category-steps {
  display: grid;
  gap: 18px;
  margin-top: 14px;
}

.news-category-step {
  display: grid;
  gap: 10px;
}

.news-category-step + .news-category-step {
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, .08);
}

.news-category-step__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-category-step__head h3 {
  margin: 0;
  font-size: .96rem;
  color: var(--navy, #10284f);
}

.news-step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent, #2f6fff);
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(47, 111, 255, .18);
}

.news-category-step.is-muted .news-step-number {
  background: #d8e2f1;
  color: #64748b;
  box-shadow: none;
}

.news-category-nav a.is-active {
  color: var(--accent, #2f6fff);
  background: #eef5ff;
  border-color: rgba(47, 111, 255, .24);
  box-shadow: inset 3px 0 0 var(--accent, #2f6fff);
}

.news-category-nav--sub a {
  padding-left: 18px;
  background: #ffffff;
}

.news-category-chevron {
  font-size: 1.15rem;
  color: #8aa0bf;
}

.news-category-hint {
  margin: 0;
  padding: 12px 13px;
  border-radius: 14px;
  background: #f8fbff;
  color: var(--muted, #6d7c92);
  font-size: .92rem;
  line-height: 1.45;
}

.news-search__filters{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.news-search__filters label{display:flex;align-items:center;gap:8px;font-weight:700;color:#64748b}.news-search__filters input{border:1px solid rgba(148,163,184,.35);border-radius:14px;padding:10px 12px;background:#fff}.news-article-card--with-media{overflow:hidden}.news-card-image{display:block;margin:-28px -28px 18px;border-radius:24px 24px 0 0;overflow:hidden;background:#eef4ff}.news-card-image img{width:100%;height:220px;object-fit:cover;display:block}.news-status-badge--importance{background:#fff3d6;color:#8a4b00}.news-preview-banner{max-width:var(--page-width,1200px);margin:0 auto 14px;padding:12px 18px;border-radius:16px;background:#fff7d6;border:1px solid #ffd98a;color:#7a4b00;font-weight:800}.news-article-cover--contain img{object-fit:contain;background:#f8fafc}.news-article-cover--top img{object-position:top}.news-article-cover--center img{object-position:center}.news-article-cover--bottom img{object-position:bottom}.news-dashboard-panel{margin:18px 0}.news-dashboard-item.is-unread{border-left:4px solid #2563eb}.news-dashboard-thumb{width:70px;height:54px;border-radius:14px;overflow:hidden;flex:0 0 70px;background:#eef4ff}.news-dashboard-thumb img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:720px){.news-card-image{margin:-22px -22px 16px}.news-card-image img{height:170px}.news-search__filters{display:grid;grid-template-columns:1fr}.news-dashboard-thumb{display:none}}

.news-confirm-box,.news-feedback-box{margin-top:24px;padding:22px;border:1px solid rgba(37,99,235,.18);border-radius:22px;background:#f8fbff}
.news-confirm-box h2,.news-feedback-box h2{margin:0 0 10px;font-size:1.15rem;color:#071b3f}.news-button,.news-feedback-actions button{border:0;border-radius:14px;background:#2563eb;color:#fff;font-weight:800;padding:11px 16px;cursor:pointer}.news-feedback-actions{display:flex;gap:10px;flex-wrap:wrap}.news-feedback-actions button+button{background:#eef4ff;color:#1746a2}.news-feedback-counts{color:#60708c;font-size:.92rem;margin:10px 0 0}.news-archive-nav{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:18px 0;padding:14px 18px;border-radius:18px;background:#fff;border:1px solid rgba(45,88,150,.14)}.news-archive-nav a{padding:7px 10px;border-radius:999px;background:#eef4ff;color:#1746a2;font-weight:800;text-decoration:none}

/* Modern news overview redesign: clean, compact and aligned with the marketplace UI. */
.news-center-shell,
.news-shell {
  --news-blue: var(--accent, #2563eb);
  --news-blue-2: #4f7cff;
  --news-navy: var(--navy, #071b3f);
  --news-text: var(--text, #0f1f3a);
  --news-muted: var(--muted, #64748b);
  --news-card: var(--card, #ffffff);
  --news-soft: #f4f8ff;
  --news-line: var(--line, #d8e2ef);
  max-width: var(--page-width, 1200px);
  margin-top: 20px;
}

.news-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 440px);
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(26px, 4vw, 44px);
  border-radius: 30px;
  border: 1px solid rgba(37, 99, 235, .13);
  background:
    linear-gradient(120deg, rgba(37, 99, 235, .09), rgba(255, 255, 255, .52) 44%, rgba(255, 154, 31, .10)),
    var(--news-card);
  box-shadow: 0 20px 60px rgba(15, 31, 58, .08);
}

.news-hero__copy h1,
.news-article-header h1 {
  max-width: 760px;
  color: var(--news-navy);
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  letter-spacing: -.055em;
}

.news-hero__copy p:not(.news-eyebrow) {
  max-width: 630px;
  color: var(--news-muted);
  font-size: clamp(.98rem, 1.2vw, 1.08rem);
}

.news-hero__surface {
  align-self: center;
  padding: 22px;
  border-radius: 26px;
  border-color: rgba(216, 226, 239, .85);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 42px rgba(15, 31, 58, .10);
}

.news-search {
  gap: 12px;
}

.news-search__label {
  font-size: .98rem;
  color: var(--news-navy);
}

.news-search__row {
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 10px;
}

.news-search__field {
  min-height: 48px;
  border-radius: 17px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(216, 226, 239, .35);
}

.news-search input {
  height: 48px;
}

.news-search button {
  min-width: 0;
  min-height: 48px;
  border-radius: 17px;
  background: linear-gradient(135deg, #08162f, #14294e);
}

.news-search__filters {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
  margin-top: 6px !important;
}

.news-search__filters label {
  display: grid !important;
  gap: 6px !important;
  align-items: start !important;
  color: var(--news-muted) !important;
  font-size: .88rem;
  font-weight: 800 !important;
}

.news-search__filters input {
  width: 100%;
  height: 44px;
  padding: 0 12px !important;
  border: 1px solid rgba(216, 226, 239, .95) !important;
  border-radius: 15px !important;
  background: #fff !important;
  color: var(--news-text);
}

.news-search-shortcuts {
  margin: 18px 0 0;
  padding: 0;
  gap: 10px;
}

.news-search-shortcuts__title {
  color: var(--news-muted);
  font-size: .96rem;
}

.news-search-shortcuts__links a {
  min-height: 34px;
  padding: 8px 16px;
  border: 1px solid rgba(216, 226, 239, .78);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 8px 20px rgba(15, 31, 58, .05);
}

.news-layout {
  gap: 24px;
  margin-top: 22px;
}

.news-layout--sidebar-left {
  grid-template-columns: 280px minmax(0, 1fr);
}

.news-sidebar {
  top: 86px;
}

.news-sidebar-card,
.news-article-card,
.news-empty-state,
.news-article-detail,
.news-aside,
.news-feedback,
.news-inline-box {
  border-color: rgba(216, 226, 239, .82);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 45px rgba(15, 31, 58, .07);
}

.news-sidebar-card {
  padding: 18px;
  border-radius: 26px;
}

.news-sidebar-card h2 {
  margin-bottom: 16px;
  font-size: 1.08rem;
  color: var(--news-navy);
}

.news-category-steps {
  gap: 18px;
  margin-top: 0;
}

.news-category-step {
  gap: 10px;
}

.news-category-step + .news-category-step {
  padding-top: 16px;
  border-top: 1px solid rgba(216, 226, 239, .82);
}

.news-category-step__head {
  display: block;
  margin-bottom: 2px;
}

.news-category-step__head h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--news-muted);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.news-category-step__head h3::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--news-blue);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, .10);
}

.news-step-number {
  display: none !important;
}

.news-category-nav {
  gap: 9px;
  margin-top: 0;
}

.news-category-nav a,
.news-aside-nav a,
.news-tree-link {
  min-height: 44px;
  padding: 11px 14px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: #f7faff;
  color: var(--news-navy);
  font-weight: 800;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
}

.news-category-nav a:hover,
.news-aside-nav a:hover,
.news-tree-link:hover {
  transform: translateX(2px);
  color: var(--news-blue);
  background: #eef5ff;
  border-color: rgba(37, 99, 235, .18);
}

.news-category-nav a.is-active {
  color: var(--news-blue);
  background: linear-gradient(135deg, #eef5ff, #f8fbff);
  border-color: rgba(37, 99, 235, .28);
  box-shadow: 0 10px 24px rgba(37, 99, 235, .08);
}

.news-category-nav a.is-active::before {
  content: '';
  width: 6px;
  height: 22px;
  border-radius: 999px;
  background: var(--news-blue);
}

.news-category-nav a.is-active span:first-child,
.news-category-nav a.is-active:not(:has(span)) {
  flex: 1;
}

.news-category-chevron {
  color: #93a6c4;
  font-weight: 900;
}

.news-category-hint {
  padding: 13px 14px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px dashed rgba(148, 163, 184, .34);
  color: var(--news-muted);
}

.news-section__head {
  align-items: center;
  margin-bottom: 14px;
}

.news-section__head h2 {
  color: var(--news-navy);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.news-eyebrow {
  color: var(--news-blue) !important;
}

.news-article-list--single {
  gap: 16px;
}

.news-article-card {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 18px;
  align-items: start;
  padding: 24px;
  border-radius: 26px;
}

.news-article-card::before {
  height: 5px;
  background: linear-gradient(90deg, var(--news-blue), var(--accent2, #ff9a1f));
}

.news-article-card .news-card-badges,
.news-article-card h3,
.news-article-card p,
.news-article-card .news-card-meta {
  grid-column: 1;
}

.news-article-card h3 {
  margin-top: 0;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
}

.news-article-card p {
  max-width: 680px;
}

.news-card-link {
  grid-column: 2;
  grid-row: 2 / span 3;
  align-self: end;
  min-width: 128px;
  padding: 12px 16px;
  border-radius: 16px;
}

.news-status-badge {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--news-navy);
}

.news-status-badge--importance,
.news-status-badge--pinned {
  background: #fff5df;
  color: #9a5b00;
}

.news-empty-state {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 34px;
  border-radius: 26px;
  border-style: dashed;
  background: rgba(255, 255, 255, .72);
  color: var(--news-muted);
  font-weight: 700;
}

.news-card-image {
  grid-column: 1 / -1;
  margin: -24px -24px 8px;
  border-radius: 26px 26px 0 0;
}

.news-card-image img {
  height: 240px;
}

@media (prefers-color-scheme: dark) and (max-width: 0px) {
  .news-center-shell,
  .news-shell {
    --news-card: #10233d;
    --news-soft: #0d1c31;
    --news-line: rgba(118, 153, 200, .28);
    --news-text: #e7efff;
    --news-muted: #a9bad3;
    --news-navy: #f4f8ff;
  }

  .news-hero {
    background:
      radial-gradient(circle at 15% 0%, rgba(37, 99, 235, .18), transparent 34%),
      radial-gradient(circle at 88% 12%, rgba(255, 154, 31, .12), transparent 30%),
      linear-gradient(135deg, #0b1728, #10233d);
    border-color: rgba(118, 153, 200, .24);
  }

  .news-hero__surface,
  .news-sidebar-card,
  .news-article-card,
  .news-empty-state,
  .news-article-detail,
  .news-aside,
  .news-feedback,
  .news-inline-box,
  .news-live-results {
    background: rgba(16, 35, 61, .94);
    border-color: rgba(118, 153, 200, .26);
  }

  .news-search__field,
  .news-search__filters input,
  .news-search-shortcuts__links a,
  .news-category-nav a,
  .news-aside-nav a,
  .news-tree-link,
  .news-category-hint,
  .news-empty-state {
    background: rgba(11, 23, 40, .72) !important;
    color: var(--news-text) !important;
    border-color: rgba(118, 153, 200, .24) !important;
  }

  .news-search input {
    color: var(--news-text);
  }

  .news-category-nav a.is-active,
  .news-search-shortcuts__links a.is-active {
    background: rgba(37, 99, 235, .18) !important;
    color: #dbe8ff !important;
  }
}

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

  .news-layout {
    gap: 18px;
  }

  .news-sidebar {
    position: static;
  }

  .news-category-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .news-category-nav--sub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .news-hero {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .news-hero__surface {
    padding: 16px;
  }

  .news-search__row,
  .news-search__filters,
  .news-category-nav,
  .news-category-nav--sub {
    grid-template-columns: 1fr !important;
  }

  .news-search button {
    width: 100%;
  }

  .news-search-shortcuts {
    display: grid;
    gap: 8px;
  }

  .news-search-shortcuts__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .news-search-shortcuts__links a {
    justify-content: center;
  }

  .news-article-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .news-card-link {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .news-card-image {
    margin: -20px -20px 8px;
  }
}

/* Website-aligned news design fix: keep the public news pages close to the normal marketplace UI. */
.news-center-shell,
.news-shell {
  --news-blue: var(--accent, #255fe8);
  --news-orange: var(--accent2, #ff9a1f);
  --news-navy: var(--navy, #10284f);
  --news-text: var(--text, #1b2738);
  --news-muted: var(--muted, #60708c);
  --news-card: var(--card, #ffffff);
  --news-line: var(--line, #d8e2ef);
  --news-soft: #f8fbff;
  color: var(--news-text);
}

.news-hero {
  border: 1px solid #d7e2f0 !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, #f8fbff 0%, #edf4ff 58%, #fffaf3 100%) !important;
  box-shadow: 0 12px 30px rgba(10, 25, 55, .05) !important;
}

.news-hero__copy h1,
.news-article-header h1,
.news-section__head h2,
.news-sidebar-card h2,
.news-sidebar-card h3,
.news-article-card h3,
.news-article-card h3 a,
.news-aside h2,
.news-aside h3 {
  color: var(--news-navy) !important;
}

.news-hero__copy p:not(.news-eyebrow),
.news-section__head p:not(.news-eyebrow),
.news-article-card p,
.news-category-card p,
.news-empty-state,
.news-card-meta,
.news-article-meta,
.news-category-hint {
  color: var(--news-muted) !important;
}

.news-hero__surface,
.news-sidebar-card,
.news-article-card,
.news-empty-state,
.news-article-detail,
.news-aside,
.news-feedback,
.news-inline-box,
.news-live-results {
  background: #ffffff !important;
  border-color: #d7e2f0 !important;
  box-shadow: 0 12px 30px rgba(10, 25, 55, .05) !important;
}

.news-search__field,
.news-search__filters input,
.news-feedback-text textarea,
.news-search-shortcuts__links a,
.news-subcategory-list a,
.news-tag,
.news-tag-cloud a {
  background: #ffffff !important;
  color: var(--news-text) !important;
  border-color: #d7e2f0 !important;
}

.news-search button,
.news-card-link,
.news-button,
.news-feedback__submit,
.news-copy-page-link {
  background: var(--news-blue) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(37, 95, 232, .18) !important;
}

.news-search button:hover,
.news-card-link:hover,
.news-button:hover {
  background: #1f56d8 !important;
}

.news-search-shortcuts__links a,
.news-category-nav a,
.news-aside-nav a,
.news-tree-link {
  background: #f8fbff !important;
  color: var(--news-navy) !important;
  border: 1px solid #e4ebf5 !important;
  box-shadow: none !important;
}

.news-search-shortcuts__links a.is-active,
.news-search-shortcuts__links a:hover,
.news-category-nav a.is-active,
.news-category-nav a:hover,
.news-aside-nav a.is-active,
.news-aside-nav a:hover,
.news-tree-link:hover {
  background: #eef5ff !important;
  color: var(--news-blue) !important;
  border-color: rgba(37, 95, 232, .32) !important;
  box-shadow: inset 3px 0 0 var(--news-blue) !important;
  transform: none !important;
}

.news-category-step__head h3 {
  color: var(--news-muted) !important;
}

.news-category-step__head h3::before {
  background: var(--news-blue) !important;
  box-shadow: 0 0 0 5px rgba(37, 95, 232, .08) !important;
}

.news-empty-state {
  min-height: 96px !important;
  border-style: dashed !important;
  background: #ffffff !important;
  font-weight: 700;
}

.news-article-card::before {
  background: linear-gradient(90deg, var(--news-blue), var(--news-orange)) !important;
}

.news-status-badge {
  background: #eef5ff !important;
  color: var(--news-navy) !important;
}

.news-status-badge--importance,
.news-status-badge--pinned {
  background: #fff3df !important;
  color: #8a4b00 !important;
}

.news-status-badge--new {
  background: #e8f8ec !important;
  color: #1f7a3d !important;
}

.news-preview-banner {
  background: #fff7d6 !important;
  border-color: #ffd98a !important;
  color: #7a4b00 !important;
}

/* Only switch to a dark news skin when the application explicitly uses its dark theme. */
html.theme-dark .news-center-shell,
body.theme-dark .news-center-shell,
[data-theme="dark"] .news-center-shell,
html.theme-dark .news-shell,
body.theme-dark .news-shell,
[data-theme="dark"] .news-shell {
  --news-blue: #60a5fa;
  --news-orange: #fbbf24;
  --news-navy: #eef5ff;
  --news-text: #e7efff;
  --news-muted: #b9c7da;
  --news-card: #101d31;
  --news-line: #29415f;
}

html.theme-dark .news-hero,
body.theme-dark .news-hero,
[data-theme="dark"] .news-hero {
  border-color: #29415f !important;
  background: linear-gradient(135deg, #101d31 0%, #14243a 100%) !important;
  box-shadow: none !important;
}

html.theme-dark .news-hero__surface,
html.theme-dark .news-sidebar-card,
html.theme-dark .news-article-card,
html.theme-dark .news-empty-state,
html.theme-dark .news-article-detail,
html.theme-dark .news-aside,
html.theme-dark .news-feedback,
html.theme-dark .news-inline-box,
body.theme-dark .news-hero__surface,
body.theme-dark .news-sidebar-card,
body.theme-dark .news-article-card,
body.theme-dark .news-empty-state,
body.theme-dark .news-article-detail,
body.theme-dark .news-aside,
body.theme-dark .news-feedback,
body.theme-dark .news-inline-box,
[data-theme="dark"] .news-hero__surface,
[data-theme="dark"] .news-sidebar-card,
[data-theme="dark"] .news-article-card,
[data-theme="dark"] .news-empty-state,
[data-theme="dark"] .news-article-detail,
[data-theme="dark"] .news-aside,
[data-theme="dark"] .news-feedback,
[data-theme="dark"] .news-inline-box {
  background: #101d31 !important;
  border-color: #29415f !important;
  box-shadow: none !important;
}

html.theme-dark .news-search__field,
html.theme-dark .news-search__filters input,
html.theme-dark .news-category-nav a,
html.theme-dark .news-aside-nav a,
html.theme-dark .news-tree-link,
html.theme-dark .news-search-shortcuts__links a,
body.theme-dark .news-search__field,
body.theme-dark .news-search__filters input,
body.theme-dark .news-category-nav a,
body.theme-dark .news-aside-nav a,
body.theme-dark .news-tree-link,
body.theme-dark .news-search-shortcuts__links a,
[data-theme="dark"] .news-search__field,
[data-theme="dark"] .news-search__filters input,
[data-theme="dark"] .news-category-nav a,
[data-theme="dark"] .news-aside-nav a,
[data-theme="dark"] .news-tree-link,
[data-theme="dark"] .news-search-shortcuts__links a {
  background: #14243a !important;
  color: #eef5ff !important;
  border-color: #29415f !important;
}

html.theme-dark .news-category-nav a.is-active,
html.theme-dark .news-category-nav a:hover,
html.theme-dark .news-search-shortcuts__links a.is-active,
html.theme-dark .news-search-shortcuts__links a:hover,
body.theme-dark .news-category-nav a.is-active,
body.theme-dark .news-category-nav a:hover,
body.theme-dark .news-search-shortcuts__links a.is-active,
body.theme-dark .news-search-shortcuts__links a:hover,
[data-theme="dark"] .news-category-nav a.is-active,
[data-theme="dark"] .news-category-nav a:hover,
[data-theme="dark"] .news-search-shortcuts__links a.is-active,
[data-theme="dark"] .news-search-shortcuts__links a:hover {
  background: #18325a !important;
  color: #bfdbfe !important;
  border-color: #3b6ab3 !important;
}


/* Keep category placeholder aligned with the light marketplace design.
   Dark styling is applied only through explicit theme classes below. */
.news-category-hint {
  background: #f8fbff !important;
  color: var(--news-muted, #60708c) !important;
  border: 1px dashed #cfdcf0 !important;
  box-shadow: inset 3px 0 0 rgba(37, 95, 232, .22) !important;
}

html.theme-dark .news-category-hint,
body.theme-dark .news-category-hint,
[data-theme="dark"] .news-category-hint {
  background: #14243a !important;
  color: #b9c7da !important;
  border-color: #29415f !important;
  box-shadow: inset 3px 0 0 #60a5fa !important;
}
