/* Article chrome only. Keep the authored reading width and body typography. */
#newsDetail {
  --story-ink: #292e33;
  --story-muted: #69727b;
  --story-line: #e4e8ec;
  --story-wash: #f5f6f7;
  --story-orange: #ff7400;
}
#newsDetail .article-share-row__hint { color: var(--story-muted); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }
#newsDetail .article-share-row .ctx-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--story-line); border-radius: 10px; background: #fff; color: #59636c; }
#newsDetail .article-share-row .ctx-btn:hover { background: var(--story-wash); color: var(--story-ink); border-color: #cbd2d8; }
#newsDetail .article-share-row .ctx-btn svg { width: 19px; height: 19px; stroke-width: 1.75; }
#newsDetail .article-byline-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 20px; margin: 0 0 28px; padding: 0 0 22px; border-bottom: 1px solid var(--story-line); }
#newsDetail .blog-detail-byline { min-width: 0; gap: 12px; margin: 0; align-items: center; }
#newsDetail .story-author-avatar { flex: 0 0 48px; border-radius: 50%; }
#newsDetail .story-author-avatar img { display: block; width: 48px; height: 48px; border: 1px solid var(--story-line); }
#newsDetail .story-author-copy { min-width: 0; }
#newsDetail .blog-detail-byline__name { color: var(--story-ink); font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
#newsDetail .blog-detail-byline__name a:hover { color: #ad500b; }
#newsDetail .blog-detail-byline__role { display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--story-muted); font-size: 14px; line-height: 1.6; }
#newsDetail [data-story-byline-meta] { display: contents; }
#newsDetail [data-story-byline-meta] > * { white-space: nowrap; }
#newsDetail [data-story-byline-meta] > *::before { content: '·'; color: #9ba3ab; margin-right: 8px; }
#newsDetail .article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#newsDetail .story-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 5px 10px; border: 1px solid var(--story-line); border-radius: 7px; background: #fff; color: #5a646d; font-size: 13px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
#newsDetail .story-tag--category { border-color: transparent; background: #edf0f3; color: #49545e; }
#newsDetail .story-tag--risk { border-color: #f4ddd8; background: #fcf0ed; color: #a44337; }
#newsDetail .story-tag--risk.amber { border-color: #efdfb8; background: #fff5dd; color: #825b16; }
#newsDetail .story-tag--risk.green { border-color: #cfe6d9; background: #edf7f1; color: #27734f; }
#newsDetail .story-risk-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
#newsDetail .story-tag-icon { width: 15px; height: 15px; }
#newsDetail .story-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 30px 0 40px; }
#newsDetail .story-nav .nav-link { display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 152px; padding: 20px; border: 1px solid var(--story-line); border-radius: 14px; background: #fff; color: var(--story-ink); text-align: left; transition: background .15s, border-color .15s; }
#newsDetail .story-nav a.nav-link:hover { background: #f8f9fa; border-color: #cbd2d8; }
#newsDetail .story-nav .nav-dir { display: flex; align-items: center; justify-content: flex-start; gap: 9px; margin: 0; color: var(--story-muted); font-size: 14px; font-weight: 500; line-height: 1.5; letter-spacing: 0; }
#newsDetail .story-nav .nav-dir svg { flex-shrink: 0; width: 18px; height: 18px; stroke-width: 1.75; }
#newsDetail .story-nav .nav-next .nav-dir { justify-content: space-between; }
#newsDetail .story-nav .nav-next .nav-dir svg { order: 1; transform: rotate(180deg); }
#newsDetail .story-nav .nav-headline { margin: 0; color: inherit; font-size: 17px; font-weight: 600; line-height: 1.45; }
#newsDetail .story-nav .nav-link.disabled { opacity: 1; background: var(--story-wash); border-color: transparent; color: #75808a; }
#newsDetail .story-nav .nav-link.disabled .nav-headline { font-size: 16px; font-weight: 400; }
#newsDetail .article-sidebar { display: grid; gap: 24px; position: static; min-width: 0; }
#newsDetail .sidebar-section { margin: 0; padding: 0 0 24px; border-bottom: 1px solid var(--story-line); }
#newsDetail .sidebar-title { padding: 0; margin: 0 0 18px; color: var(--story-ink); font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
#newsDetail .pxe-trending__item { gap: 8px; padding: 17px 0; border-color: var(--story-line); color: var(--story-ink); }
#newsDetail .pxe-trending__item:first-child { padding-top: 0; }
#newsDetail .pxe-trending__item:last-child { padding-bottom: 0; }
#newsDetail .pxe-trending__item:hover strong { color: #ad500b; }
#newsDetail .pxe-trending__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--story-muted); font-size: 13px; font-weight: 400; line-height: 1.5; }
#newsDetail .pxe-trending__meta time { white-space: nowrap; }
#newsDetail .pxe-trending__meta time::before { content: '·'; margin-right: 10px; color: #a0a8af; }
#newsDetail .pxe-trending__item strong { color: inherit; font-size: 17px; font-weight: 600; line-height: 1.45; letter-spacing: -.01em; }
#newsDetail .story-resources { padding: 18px; border: 1px solid var(--story-line); border-radius: 14px; background: #f8f9fa; }
#newsDetail .story-resources .sidebar-title { margin-bottom: 16px; font-size: 20px; }
#newsDetail .pxe-side-tools a { grid-template-columns: 38px minmax(0, 1fr) 16px; gap: 10px; padding: 15px 0; border-color: var(--story-line); color: var(--story-ink); }
#newsDetail .pxe-side-tools a:first-child { padding-top: 0; }
#newsDetail .pxe-side-tools a:last-child { padding-bottom: 0; }
#newsDetail .pxe-side-tools__icon { width: 38px; height: 38px; border: 1px solid #e3e7eb; border-radius: 10px; background: #fff; color: #66737f; }
#newsDetail .pxe-side-tools__icon svg { width: 19px; height: 19px; stroke-width: 1.75; }
#newsDetail .pxe-side-tools strong { font-size: 16px; font-weight: 600; line-height: 1.4; }
#newsDetail .pxe-side-tools small { margin-top: 4px; color: var(--story-muted); font-size: 14px; line-height: 1.5; }
#newsDetail .pxe-side-tools__arrow { display: flex; color: #7f8b95; }
#newsDetail .pxe-side-tools__arrow svg { width: 16px; height: 16px; stroke-width: 1.75; }
#newsDetail .pxe-side-tools a:hover strong { color: #ad500b; }
#newsDetail .nr-ai-card h2 { font-weight: 600; }
#newsDetail :is(.story-nav a, .story-author-avatar, .blog-detail-byline__name a, .pxe-trending__item, .pxe-side-tools a, .ctx-btn):focus-visible { outline: 2px solid var(--story-orange); outline-offset: 4px; }
.story-ad { text-align: center; }
.story-ad__label { display: block; margin-bottom: 9px; color: #7a848d; font-size: 12px; font-weight: 400; line-height: 1.5; }
.story-ad > .ad-slot { width: 100%; margin: 0 auto; max-width: 970px; }
.story-ad > .ad-slot img, .story-ad > .ad-slot iframe { max-width: 100%; }
.story-ad:has(> .ad-slot[hidden]) { display: none; }
.pxe-top-ad.story-ad { width: min(970px, calc(100% - 48px)); margin: 18px auto 0; }
#newsDetail .pxe-detail-ad.story-ad { max-width: 100%; padding: 14px; margin: 32px 0; border: 1px solid var(--story-line); border-radius: 12px; background: #f8f9fa; }
@media (max-width: 1100px) {
  #newsDetail .article-byline-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  #newsDetail .article-byline-row { gap: 16px; padding-bottom: 20px; }
  #newsDetail .story-nav { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  #newsDetail .story-nav .nav-link { min-height: 0; padding: 18px; gap: 9px; }
  #newsDetail .article-sidebar { gap: 26px; }
  #newsDetail .pxe-detail-ad.story-ad { padding: 10px; margin: 28px 0; }
  .pxe-top-ad.story-ad { width: calc(100% - 32px); margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  #newsDetail .story-nav .nav-link { transition: none; }
}
