/* 2026-10-24: inner-page desktop corrections checked against the original PSDs.
   Native CMS content and its ordering remain authoritative. */
@media (min-width: 1025px) {
  /* The original news-detail design leaves a photo/air band after its final
     navigation. Without it, the last links touch the footer identity row. */
  body.cbs-inner-page .ny-bg:has(> .main > .news-detail) {
    padding-bottom: clamp(120px, 12.448vw, 239px);
  }

  body.cbs-inner-page .news-detail > h1,
  body.cbs-inner-page .book-detail .bd-info > h1 {
    overflow-wrap: anywhere;
  }

  body.cbs-inner-page .news-detail > .meta {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  body.cbs-inner-page .news-detail > .content {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  /* The centre action stays centred when either adjacent archive is absent. */
  body.cbs-inner-page .news-detail > .nd-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: 32px;
    align-items: center;
  }

  body.cbs-inner-page .news-detail > .nd-nav > a {
    grid-row: 1;
    min-width: 0;
    max-width: 100%;
    line-height: 1.6;
  }

  body.cbs-inner-page .news-detail > .nd-nav > a:first-child:not(.back) {
    grid-column: 1;
    text-align: left;
  }

  body.cbs-inner-page .news-detail > .nd-nav > a:last-child:not(.back) {
    grid-column: 3;
    text-align: right;
  }

  body.cbs-inner-page .news-detail > .nd-nav > .back {
    grid-column: 2;
    justify-self: center;
  }

  /* The purchase guide in the PSD uses a narrow text column, rather than
     stretching contact details across the full 1,400px white panel. */
  body.cbs-inner-page .reader-tab:has(.tab-nav a.on[href*="goushuliucheng"])
    .cbs-article-section {
    max-width: 900px;
  }

  body.cbs-inner-page .reader-tab:has(.tab-nav a.on[href*="goushuliucheng"])
    .cbs-article-section:nth-of-type(2) {
    max-width: 680px;
  }

  body.cbs-inner-page .reader-tab:has(.tab-nav a.on[href*="goushuliucheng"])
    .cbs-article-section :is(p, .kv) {
    overflow-wrap: anywhere;
    text-align: left;
  }

  body.cbs-inner-page .reader-tab:has(.tab-nav a.on[href*="goushuliucheng"])
    .cbs-article-section > h3 {
    color: #131b26;
    font-family: CBSBodyMedium, SourceHanSansSC, sans-serif;
    font-weight: 500;
  }
}
