body.news-body {
  background: var(--bg);
  color: var(--ink);
}

.news-shell,
.anchor-page-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 42px 24px 72px;
}

.news-page-header,
.tag-page-header,
.anchor-login-card,
.anchor-editor,
.anchor-left,
.news-widget,
.news-article-card,
.featured-article-top,
.article-main,
.article-sidebar .art-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.news-page-header,
.tag-page-header {
  padding: 32px;
  margin-bottom: 22px;
}

.news-page-header h1,
.tag-page-header h1,
.art-title,
.anchor-editor h1,
.anchor-login-card h1 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  margin: 0;
}

.news-page-header h1,
.tag-page-header h1 {
  font-size: clamp(2rem, 5vw, 3.35rem);
}

.news-page-header p,
.tag-page-header p,
.nac-excerpt,
.art-subtitle,
.muted {
  color: var(--ink2);
}

.news-cat-nav,
.news-tags-bar,
.tag-pills,
.art-tags-row,
.art-tags-footer,
.editor-tags-row,
.tags-preview,
.editor-actions,
.editor-toolbar,
.article-share-row,
.news-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.news-cat-nav,
.news-search-wrap,
.news-tags-bar {
  margin: 14px 0;
}

.field-stack {
  display: grid;
  gap: 14px;
}

.ncn-btn,
.tag-pill,
.tag-page-pill,
.share-btn,
.toolbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink2);
  text-decoration: none;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.ncn-btn:hover,
.ncn-btn.active,
.tag-pill:hover,
.share-btn:hover,
.toolbar-btn:hover {
  border-color: var(--accent);
  background: var(--accent-bg);
  color: var(--accent);
}

.news-search-input,
.editor-title-input,
.editor-subtitle-input,
.editor-textarea,
.field,
.select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 0 13px;
}

.editor-title-input {
  min-height: 58px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 4vw, 2.35rem);
}

.editor-textarea {
  min-height: 360px;
  padding: 16px;
  line-height: 1.7;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.news-layout,
.article-layout,
.anchor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.news-main,
.anchor-main,
.article-main {
  min-width: 0;
}

.news-sidebar,
.article-sidebar,
.anchor-left {
  display: grid;
  gap: 16px;
}

.news-widget,
.article-main,
.article-sidebar .art-widget,
.anchor-left,
.anchor-editor,
.anchor-login-card {
  padding: 24px;
}

.news-article-card,
.featured-article-top {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  margin-bottom: 16px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.news-article-card:hover,
.featured-article-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.featured-article-top {
  grid-template-columns: minmax(0, 1fr);
}

.nac-image,
.art-cover-img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--bg2);
}

.featured-article-top .nac-image {
  aspect-ratio: 16 / 7;
}

.nac-title {
  margin: 8px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.nac-title a {
  color: var(--ink);
  text-decoration: none;
}

.nac-title a:hover {
  color: var(--accent);
}

.nac-footer,
.art-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ink3);
  font-size: 0.82rem;
  font-weight: 700;
}

.nac-cat,
.art-cat-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--accent-bg);
  color: var(--accent);
}

.cat-market,
.cat-banking { background: var(--blue-bg); color: var(--blue); }
.cat-economy,
.cat-startup { background: var(--accent-bg); color: var(--accent); }
.cat-tax { background: var(--blue-bg); color: var(--blue); }
.cat-invest { background: var(--green-bg); color: var(--green); }
.cat-personal { background: var(--purple-bg); color: var(--purple); }
.cat-guides { background: var(--bg2); color: var(--ink3); }

.load-more-news-btn,
.button,
.btn-save-draft,
.btn-submit-review {
  border: 0;
  border-radius: 10px;
  min-height: 46px;
  padding: 0 16px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button.primary,
.btn-submit-review {
  background: var(--accent);
}

.button.ghost,
.btn-save-draft {
  background: var(--bg2);
  color: var(--ink);
}

.button.danger { background: #9f2d20; }
.button.success { background: var(--green); }

.news-empty-state,
.not-found-state,
.art-skeleton,
.article-skeleton,
.skeleton {
  padding: 22px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink2);
}

.skeleton,
.art-skeleton,
.article-skeleton {
  min-height: 120px;
  background: linear-gradient(90deg, var(--bg), var(--bg2), var(--bg));
  background-size: 220% 100%;
  animation: news-skeleton 1.4s ease infinite;
}

@keyframes news-skeleton {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.article-breadcrumb {
  margin-bottom: 18px;
  color: var(--ink3);
  font-size: 0.82rem;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
}

.breadcrumb-list a {
  color: var(--ink3);
  text-decoration: none;
}

.breadcrumb-list a:hover { color: var(--accent); }

.art-title {
  font-size: clamp(2rem, 5.5vw, 4rem);
  margin: 14px 0;
}

.art-subtitle {
  font-size: 1.12rem;
  line-height: 1.75;
  margin: 0 0 18px;
}

.art-cover-wrap {
  margin: 24px 0;
}

.art-cover-img {
  aspect-ratio: 16 / 8;
}

.art-body {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.75;
}

.art-body h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 34px 0 10px;
}

.art-body h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 28px 0 10px;
}

.art-body p,
.art-body ul,
.art-body ol,
.art-body blockquote {
  margin: 0 0 20px;
}

.art-body ul,
.art-body ol {
  padding-left: 1.5rem;
}

.art-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  color: var(--ink2);
  font-style: italic;
}

.art-body code {
  background: var(--bg2);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9em;
}

.art-body pre {
  overflow: auto;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  padding: 16px;
}

.art-body a,
.article-hashtag {
  color: var(--accent);
  text-decoration: underline;
}

.art-author-block {
  display: flex;
  gap: 10px;
  align-items: center;
}

.art-author-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.anchor-notice {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: var(--bg);
}

.anchor-notice.pending { background: var(--blue-bg); color: var(--blue); }
.anchor-notice.rejected { background: var(--accent-bg); color: var(--accent); }

.anchor-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.astat,
.my-article-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  padding: 12px;
}

.editor-meta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.editor-preview {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  padding: 18px;
  min-height: 240px;
}

.editor-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--border);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

@media (max-width: 860px) {
  .news-layout,
  .article-layout,
  .anchor-layout,
  .news-article-card {
    grid-template-columns: 1fr;
  }
  .news-shell,
  .anchor-page-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
  .editor-meta-row {
    grid-template-columns: 1fr;
  }
}

body.news-body {
  color-scheme: light;
  background:
    linear-gradient(180deg, #ffffff 0, #ffffff 280px, #f7f5f1 100%);
  color: #191713;
}

.news-body .nav-logo-badge {
  background: #ffffff;
  border: 1px solid rgba(26, 23, 20, 0.12);
  overflow: hidden;
  padding: 2px;
}

.news-body .nav-logo-badge img,
.news-body .art-author-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: inherit;
}

.news-body .main-nav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.news-body .news-shell {
  max-width: 1180px;
  padding-top: 28px;
}

.news-hero-panel {
  position: relative;
  top: auto;
  z-index: 1;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(253, 240, 232, 0.92), rgba(255, 255, 255, 0.94) 45%, rgba(232, 240, 248, 0.78)),
    #ffffff;
  border-color: rgba(200, 82, 42, 0.2);
  box-shadow: 0 8px 22px rgba(26, 23, 20, 0.07);
}

.news-hero-panel h1,
.tag-page-header h1 {
  max-width: 920px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 6vw, 4.45rem);
  letter-spacing: 0;
}

.news-section-kicker {
  margin: 12px 0 8px;
  color: #1a4a7a;
  font-size: clamp(1rem, 2.6vw, 1.28rem);
  font-weight: 900;
}

.news-cat-nav {
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.ncn-btn,
.tag-pill,
.share-btn,
.toolbar-btn {
  min-height: 44px;
  background: #ffffff;
  color: #302c27;
  flex: 0 0 auto;
}

.news-search-input {
  min-height: 52px;
  background: #ffffff;
  border-color: rgba(26, 23, 20, 0.18);
  box-shadow: inset 0 1px 0 rgba(26, 23, 20, 0.03);
}

.news-topics-strip,
.why-read-news,
.newsletter-cta {
  margin: 0 0 24px;
}

.news-topics-strip {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.news-strip-label,
.feed-section-title span {
  display: block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.news-topic-chips {
  margin-top: 10px;
}

.feed-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
}

.feed-section-title strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.1;
}

.primary-news-feed {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.primary-news-feed .featured-article-top {
  grid-column: 1 / -1;
}

.news-article-card,
.featured-article-top,
.news-widget,
.article-main,
.article-sidebar .art-widget,
.tag-page-header,
.why-card,
.newsletter-cta {
  border-radius: 12px;
  background: #ffffff;
  border-color: rgba(26, 23, 20, 0.12);
  box-shadow: 0 4px 18px rgba(26, 23, 20, 0.07);
}

.news-article-card {
  grid-template-columns: 1fr;
  margin-bottom: 0;
  padding: 14px;
  min-height: 100%;
}

.featured-article-top {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: stretch;
  padding: 18px;
  margin-bottom: 0;
}

.featured-article-top .nac-image {
  aspect-ratio: 16 / 9;
  min-height: 260px;
  order: 2;
}

.news-article-card .nac-image {
  aspect-ratio: 16 / 10;
  min-height: 168px;
}

.nac-image,
.art-cover-img {
  border-radius: 10px;
  background: #f1eee8;
}

.nac-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.nac-title {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: 0;
}

.featured-article-top .nac-title {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
}

.nac-excerpt {
  margin: 0 0 16px;
  font-size: 0.98rem;
  line-height: 1.65;
}

.featured-article-top .nac-excerpt {
  font-size: 1.08rem;
}

.nac-footer {
  margin-top: auto;
}

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

.news-widget h2,
.art-widget h2,
.why-card h2,
.newsletter-cta h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.2;
}

.why-read-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.why-card {
  padding: 20px;
}

.why-card p,
.newsletter-cta p {
  margin: 0;
  color: var(--ink2);
}

.why-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--accent-bg);
  color: var(--accent);
  font-weight: 900;
}

.newsletter-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 4px;
  background: transparent;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width 0.08s linear;
}

.article-layout {
  position: relative;
  grid-template-columns: minmax(0, 1fr) 300px;
  max-width: 1220px;
}

.article-layout .article-main {
  grid-column: 1;
  grid-row: 1;
}

.article-layout .article-sidebar {
  grid-column: 2;
  grid-row: 1;
}

.article-main {
  padding: clamp(22px, 4vw, 44px);
}

.article-share-rail {
  position: sticky;
  top: 98px;
  z-index: 6;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: grid;
  gap: 8px;
  align-self: start;
  transform: translateX(-84px);
  width: 68px;
}

.article-share-rail .share-btn {
  width: 64px;
  padding: 0;
}

.art-kicker-row,
.art-dates-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.art-title {
  max-width: 980px;
  font-size: clamp(2.35rem, 6vw, 5rem);
  letter-spacing: 0;
}

.art-subtitle {
  max-width: 860px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: #3c3832;
}

.art-meta-row {
  padding: 14px 0 0;
  border-top: 1px solid rgba(26, 23, 20, 0.1);
}

.art-dates-row {
  color: var(--ink3);
  font-size: 0.86rem;
  font-weight: 800;
}

.art-cover-wrap {
  margin: 28px -8px 32px;
}

.art-cover-img {
  max-height: 560px;
  aspect-ratio: 16 / 8.5;
}

.art-body {
  max-width: 820px;
  margin: 0 auto;
  color: #1d1a16;
  font-size: clamp(1.06rem, 1.55vw, 1.15rem);
  line-height: 1.82;
}

.art-body h2 {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  line-height: 1.15;
  margin-top: 42px;
}

.art-body h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.72rem);
}

.art-author-card,
.next-article-card {
  max-width: 820px;
  margin: 28px auto 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fbfaf8;
}

.next-article-card {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.next-article-card strong {
  display: block;
  margin: 6px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.art-tags-footer,
.article-share-row {
  max-width: 820px;
  margin: 22px auto 0;
}

.related-card-list {
  display: grid;
  gap: 10px;
}

.related-card {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  background: #ffffff;
}

.related-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  padding: 12px 14px;
  border-radius: 10px;
  background: #191713;
  color: #ffffff;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
}

@media (hover: hover) {
  .news-article-card:hover,
  .featured-article-top:hover,
  .related-card:hover,
  .why-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(26, 23, 20, 0.13);
  }
}

@media (max-width: 1080px) {
  .article-share-rail {
    position: static;
    display: flex;
    width: auto;
    grid-column: 1 / -1;
    grid-row: auto;
    margin: 0;
    transform: none;
  }

  .article-layout .article-main,
  .article-layout .article-sidebar {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .news-sidebar,
  .article-sidebar {
    position: static;
  }

  .why-read-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .news-body .nav-inner {
    gap: 12px;
    overflow: visible;
  }

  .news-body .nav-links {
    display: none;
  }

  .news-body .nav-cta {
    display: none;
  }

  .news-body .news-shell {
    padding: 16px 14px 54px;
  }

  .news-hero-panel {
    margin-left: -14px;
    margin-right: -14px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding: 18px 16px 16px;
    box-shadow: none;
  }

  .news-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

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

  .featured-article-top {
    grid-template-columns: 1fr;
  }

  .featured-article-top .nac-image {
    order: 0;
    min-height: 210px;
  }

  .news-sidebar {
    display: none;
  }

  .newsletter-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .article-main {
    padding: 22px 16px 30px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .art-cover-wrap {
    margin-left: 0;
    margin-right: 0;
  }

  .art-body {
    max-width: none;
    font-size: 1.07rem;
    line-height: 1.78;
  }
}

@media (max-width: 560px) {
  .news-hero-panel h1,
  .tag-page-header h1 {
    font-size: 1.95rem;
    line-height: 1.08;
  }

  .news-section-kicker {
    font-size: 1.02rem;
  }

  .feed-section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .news-article-card,
  .featured-article-top,
  .news-widget,
  .why-card,
  .newsletter-cta {
    border-radius: 10px;
  }

  .news-page-header,
  .tag-page-header {
    padding: 18px 16px;
  }

  .news-page-header p,
  .tag-page-header p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .featured-article-top .nac-title,
  .nac-title {
    font-size: 1.28rem;
    line-height: 1.18;
  }

  .featured-article-top .nac-image,
  .news-article-card .nac-image,
  .art-cover-img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .why-read-grid {
    grid-template-columns: 1fr;
  }

  .art-title {
    font-size: 2rem;
    line-height: 1.08;
  }

  .art-subtitle {
    font-size: 1.02rem;
    line-height: 1.65;
  }

  .art-meta-row,
  .art-dates-row {
    gap: 8px;
  }

  .article-share-rail {
    gap: 6px;
    padding: 0 2px;
    overflow-x: auto;
  }

  .article-share-rail .share-btn,
  .article-share-row .share-btn {
    min-width: 0;
    flex: 1 1 110px;
  }

  .article-share-row .share-btn {
    flex: 1 1 140px;
  }

  .art-author-card,
  .next-article-card {
    padding: 14px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .news-article-card,
  .featured-article-top,
  .related-card,
  .why-card,
  .reading-progress span {
    transition: none;
  }

  .news-article-card:hover,
  .featured-article-top:hover,
  .related-card:hover,
  .why-card:hover {
    transform: none;
    box-shadow: 0 4px 18px rgba(26, 23, 20, 0.07);
  }
}
