/* Article reading surfaces share the editorial index palette and 14px corners. */
.page--news-detail { background: #1b1c20; }
.editorial-detail .editorial-hero h2 { max-width: 65%; margin: 0; color: #eee; font-size: clamp(28px, 3.125vw, 48px); font-weight: 400; line-height: 1.2; letter-spacing: -.035em; }
.editorial-detail .news-article-shell { width: min(80%, 1200px); max-width: none; margin-inline: auto; padding: 32px 0 80px; box-sizing: border-box; }
.editorial-detail__breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 28px; color: #aaaeb7; font-size: 14px; line-height: 1.6; }
.editorial-detail__breadcrumbs a:hover { color: var(--editorial-accent); }
.editorial-detail__breadcrumbs > span { color: #747780; }
.editorial-detail .news-article { padding: clamp(28px, 4.5vw, 64px); background: linear-gradient(145deg, #2c2e34, #23252a); border: 0; border-radius: 14px; box-shadow: var(--editorial-shadow); }
.editorial-detail__header, .editorial-detail .news-article__body, .editorial-detail .news-share { width: 100%; max-width: 880px; margin-inline: auto; }
.editorial-detail__header { margin-bottom: 40px; }
.editorial-detail__header .editorial-tag { font-size: 13px; padding: 5px 12px; }
.editorial-detail .news-article h1 { margin: 20px 0; color: #f3f3f5; font-size: clamp(28px, 3vw, 42px); font-weight: 600; letter-spacing: -.025em; line-height: 1.4; overflow-wrap: anywhere; }
.editorial-detail .news-article__meta { margin: 0; padding: 0; display: flex; gap: 10px 24px; border: 0; color: #a8acb5; line-height: 1.6; }
.editorial-detail .news-article__meta > * { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.editorial-detail__summary { margin: 28px 0 0; color: #c2c5cd; font-size: 18px; line-height: 1.85; }
.editorial-detail .news-article__body { color: #d0d2d8; font-size: 17px; font-weight: 400; line-height: 1.95; overflow-wrap: anywhere; }
.editorial-detail .news-article__body p { margin: 0 0 1.4em; }
/* Imported articles may carry old 14px fonts and light-page text colors. */
.editorial-detail .news-article__body :is(span, p, div, li)[style*="font-size"] { font-size: inherit !important; }
.editorial-detail .news-article__body :is(span, p, div, li)[style*="font-family"] { font-family: inherit !important; }
.editorial-detail .news-article__body :is(span, p, div, li)[style*="color"] { color: inherit !important; background-color: transparent !important; }
.editorial-detail .news-article__body h2, .editorial-detail .news-article__body h3, .editorial-detail .news-article__body h4 { margin: 1.8em 0 .8em; color: #f1f1f4; font-weight: 600; line-height: 1.5; scroll-margin-top: calc(var(--header-height) + 24px); }
.editorial-detail .news-article__body h2 { font-size: 26px; }
.editorial-detail .news-article__body h3 { font-size: 22px; }
.editorial-detail .news-article__body h4 { font-size: 19px; }
.editorial-detail .news-article__body strong, .editorial-detail .news-article__body b { color: #f2f2f4; font-weight: 600; }
.editorial-detail .news-article__body a { color: #ffad7d; text-decoration: underline; text-underline-offset: 4px; }
.editorial-detail .news-article__body a:hover { color: #ffd0b3; }
.editorial-detail .news-article__body ul, .editorial-detail .news-article__body ol { padding-inline-start: 1.5em; margin: 1em 0 1.5em; }
.editorial-detail .news-article__body li { margin-block: .5em; }
.editorial-detail .news-article__body img { display: block; max-width: 100%; height: auto; margin: 30px auto; border-radius: 14px; }
.editorial-detail .news-article__body figure { max-width: 100%; margin: 30px 0; }
.editorial-detail .news-article__body figcaption { margin-top: 12px; color: #a8acb5; font-size: 14px; text-align: center; }
.editorial-detail .news-article__body iframe, .editorial-detail .news-article__body video { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #15161a; }
.editorial-detail .news-article__body blockquote { margin: 28px 0; padding: 24px; border: 0; border-radius: 14px; background: #1d1f24; color: #c7cbd3; }
.editorial-detail .news-article__body blockquote p:last-child { margin-bottom: 0; }
.editorial-detail .news-article__body pre { max-width: 100%; overflow: auto; padding: 22px; background: #1b1d22; border-radius: 14px; font-size: 14px; }
.editorial-detail .news-article__body code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.editorial-detail .news-article__body hr { height: 0; margin: 32px 0; border: 0; }
.editorial-detail .news-article__body table { display: block; width: 100%; max-width: 100%; margin: 28px 0; overflow-x: auto; border: 0; border-spacing: 0; border-radius: 14px; background: #1e2025; font-size: 15px; }
.editorial-detail .news-article__body th, .editorial-detail .news-article__body td { padding: 14px 18px; border: 0; text-align: start; }
.editorial-detail .news-article__body th { color: #f3f3f5; background: #34363c; }
.editorial-detail .news-article__body tr:nth-child(even) { background: rgb(255 255 255 / 3%); }
.editorial-detail .news-share { justify-content: flex-start; margin-top: 40px; padding-top: 0; border: 0; gap: 12px; }
.editorial-detail .news-share .news-share__button { min-height: 40px; padding: 10px 14px; border: 0; border-radius: 14px; background: #383a42; color: #e0e2e8; font-size: 14px; line-height: 1.4; transition: background .2s, color .2s; }
.editorial-detail .news-share .news-share__button:hover { color: #fff; background: #a94720; }
.editorial-detail .news-share .news-share__button:focus-visible { outline-color: var(--editorial-accent); }
.editorial-detail .news-share__popover { width: 180px; left: 0; transform: none; border: 0; border-radius: 14px; background: #35373e; color: #d0d2d8; box-shadow: var(--editorial-shadow); }
.editorial-detail .news-share__popover h3 { color: #f3f3f5; }
.editorial-detail .news-share [data-news-share-qr] { padding: 8px; background: #fff; border-radius: 14px; }
.editorial-detail__pagination { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.editorial-detail__pagination:empty { display: none; }
.editorial-detail__adjacent { display: flex; flex-direction: column; gap: 12px; padding: 24px 28px; border-radius: 14px; background: linear-gradient(145deg, #2c2e34, #23252a); box-shadow: var(--editorial-shadow); transition: transform .3s, box-shadow .3s; }
.editorial-detail__adjacent span { color: #a8acb5; font-size: 14px; }
.editorial-detail__adjacent strong { color: #e6e7eb; font-size: 17px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
.editorial-detail__adjacent:hover strong { color: var(--editorial-accent); }
.editorial-detail__return { margin: 32px 0 0; text-align: center; }
.editorial-detail__related { margin-top: 64px; }
.editorial-detail__related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.editorial-detail__related .editorial-card { display: flex; flex-direction: column; padding: 18px; gap: 20px; }
.editorial-detail__related .editorial-card__image { width: 100%; }
.editorial-detail__related .editorial-card__text { flex: 1; }
.editorial-detail__related .editorial-card h3 { font-size: 18px; }
.editorial-detail__related .editorial-card p { font-size: 15px; }
.editorial-detail .news-related-products { margin: 64px 0 0; }
.editorial-detail .news-related-products__header { padding: 0; margin-bottom: 28px; border: 0; }
.editorial-detail .news-related-products__header h2 { color: #e9e9ed; font-size: 28px; font-weight: 500; }
.editorial-detail .news-related-products__controls button { width: 40px; height: 40px; border: 0; border-radius: 14px; background: #383a42; color: #eee; }
.editorial-detail .news-related-products__viewport { padding: 8px 0 28px; }
.editorial-detail .product-card { padding: 24px 18px; border: 0; border-radius: 14px; background: linear-gradient(145deg, #2c2e34, #23252a); box-shadow: 0 8px 22px rgb(0 0 0 / 16%); transition: transform .3s, box-shadow .3s; }
.editorial-detail .product-card__image { width: 100%; height: 200px; margin-bottom: 16px; }
.editorial-detail .product-card h2 { width: 100%; color: #e0e2e8; font-size: 16px; line-height: 1.5; }
.editorial-detail .product-card h2 a:hover { color: var(--editorial-accent); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .editorial-detail__adjacent:hover, .editorial-detail .product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgb(0 0 0 / 26%); }
}
@media (max-width: 1200px) {
  .editorial-detail .news-article-shell { width: 88%; }
}
@media (max-width: 900px) {
  .editorial-detail__related-grid { grid-template-columns: 1fr; }
  .editorial-detail__related .editorial-card { display: grid; grid-template-columns: minmax(0, 34%) minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .editorial-detail .news-article-shell { width: calc(100% - 36px); padding-block: 24px 48px; }
  .editorial-detail .editorial-hero h2 { max-width: 90%; font-size: 30px; }
  .editorial-detail__breadcrumbs { margin-bottom: 20px; }
  .editorial-detail .news-article { padding: 24px 20px; }
  .editorial-detail .news-article h1 { font-size: 27px; }
  .editorial-detail__header { margin-bottom: 28px; }
  .editorial-detail__summary { margin-top: 22px; font-size: 16px; line-height: 1.85; }
  .editorial-detail .news-article__body { font-size: 16px; line-height: 1.9; }
  .editorial-detail .news-article__body h2 { font-size: 23px; }
  .editorial-detail .news-article__body h3 { font-size: 20px; }
  .editorial-detail .news-article__body img { margin-block: 24px; }
  .editorial-detail .news-article__body blockquote { padding: 18px; }
  .editorial-detail .news-share { gap: 10px; margin-top: 28px; }
  .editorial-detail .news-share .news-share__button { padding-inline: 12px; }
  .editorial-detail__pagination { grid-template-columns: 1fr; gap: 16px; }
  .editorial-detail__adjacent { padding: 20px; }
  .editorial-detail__related, .editorial-detail .news-related-products { margin-top: 44px; }
  .editorial-detail .news-related-products__header h2 { font-size: 23px; }
  .editorial-detail__related .editorial-card { display: flex; }
}
