/* News / column detail: reuse the current shared page head and site shell. */
@media (min-width: 769px) {
  /* Reading pages follow the available width instead of cropping a 1440px canvas. */
  html body.r2-post-detail {
    position: static !important;
    left: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
html body.r2-post-detail .r2-post-head {
  padding-top: 48px;
  padding-bottom: 56px;
}
html body.r2-post-detail .r2-post-head .container { position: relative; }
html body.r2-post-detail .r2-post-kicker {
  margin: 0 0 16px;
  color: #034c92;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .1em;
}
html body.r2-post-detail .r2-post-head h1 {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0;
  color: #17285f;
  font-size: clamp(30px, 2.7vw, 40px);
  font-weight: 800;
  line-height: 1.55;
  text-align: left;
  overflow-wrap: anywhere;
}
html body.r2-post-detail .r2-post-head h1::after { display: none; }
.r2-post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; font-size: 14px; color: #61718a; }
.r2-post-meta time { font-variant-numeric: tabular-nums; }
.r2-post-category { padding: 4px 14px; border: 1px solid #cbdced; border-radius: 4px; background: #fff; color: #034c92; font-size: 12px; font-weight: 700; }
html body.r2-post-detail .crumb { overflow-wrap: anywhere; }
html body.r2-post-detail .r2-post-reading { padding: 56px 0 80px; background: #fff; }
.r2-post-article { max-width: 960px; margin: 0 auto; }
.r2-post-thumbnail { margin: 0 0 40px; overflow: hidden; border-radius: 8px; }
.r2-post-thumbnail-image { display: block; width: 100%; height: auto; }
html body.r2-post-detail .r2-post-content { color: #35445b; font-size: 17px; line-height: 1.95; overflow-wrap: anywhere; }
html body.r2-post-detail .r2-post-content > :first-child { margin-top: 0; }
html body.r2-post-detail .r2-post-content p { margin: 0 0 24px; font-size: inherit; line-height: inherit; }
html body.r2-post-detail .r2-post-content h2 { margin: 52px 0 20px; padding: 0; color: #17285f; font-size: 27px; font-weight: 800; line-height: 1.6; }
html body.r2-post-detail .r2-post-content h3 { margin: 36px 0 16px; color: #17285f; font-size: 22px; font-weight: 700; line-height: 1.6; }
html body.r2-post-detail .r2-post-content h4 { margin: 28px 0 12px; color: #17285f; font-size: 19px; line-height: 1.6; }
.r2-post-content ul, .r2-post-content ol { margin: 0 0 24px; padding-left: 1.6em; }
.r2-post-content ul { list-style: disc; }
.r2-post-content ol { list-style: decimal; }
.r2-post-content li { margin-bottom: 8px; }
.r2-post-content a { color: #034c92; text-decoration: underline; text-underline-offset: 3px; }
.r2-post-content img, .r2-post-content video { max-width: 100%; height: auto; }
.r2-post-content figure { max-width: 100%; margin: 32px 0; }
.r2-post-content figcaption { margin-top: 10px; color: #61718a; font-size: 13px; text-align: center; }
.r2-post-content blockquote { margin: 32px 0; padding: 24px; border: 1px solid #d6e3ef; border-radius: 8px; background: #f4f8fc; }
.r2-post-content .wp-block-table { overflow-x: auto; }
.r2-post-content table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 15px; }
.r2-post-content th, .r2-post-content td { padding: 14px 16px; border: 1px solid #d6e3ef; text-align: left; }
.r2-post-content th { background: #edf4fa; color: #17285f; font-weight: 700; }
.r2-post-content pre { max-width: 100%; padding: 20px; overflow: auto; border-radius: 8px; background: #f4f8fc; }
.r2-post-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding: 0; list-style: none; }
.r2-post-tags li { padding: 6px 14px; border: 1px solid #d6e3ef; border-radius: 4px; color: #52657d; font-size: 13px; }
.r2-post-pages { margin-top: 32px; }
.r2-post-pagination { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 28px; max-width: 960px; margin: 56px auto 0; }
.r2-post-back { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 28px; border: 1px solid #034c92; border-radius: 4px; color: #034c92; background: #fff; font-size: 14px; font-weight: 700; text-align: center; }
.r2-post-back:hover { background: #edf4fa; }
.r2-post-adjacent { display: block; color: #17285f; font-size: 14px; line-height: 1.7; }
.r2-post-adjacent span { display: block; margin-bottom: 6px; color: #61718a; font-size: 12px; }
.r2-post-adjacent strong { display: block; font-weight: 500; }
.r2-post-adjacent--next { text-align: right; }
.r2-post-back:focus-visible, .r2-post-adjacent:focus-visible { outline: 2px solid #034c92; outline-offset: 4px; }
@media (max-width: 768px) {
  html:root body.subpage.r2-post-detail .r2-post-head { padding-top: 32px; padding-bottom: 64px !important; }
  html body.r2-post-detail .r2-post-head h1 { font-size: 26px; line-height: 1.55; }
  html body.r2-post-detail .r2-post-kicker { margin-bottom: 12px; font-size: 13px; }
  .r2-post-meta { gap: 12px; margin-top: 18px; font-size: 13px; }
  html body.r2-post-detail .r2-post-reading { padding: 36px 0 48px; }
  html body.r2-post-detail .r2-post-content { font-size: 16px; line-height: 1.9; }
  html body.r2-post-detail .r2-post-content h2 { margin-top: 36px; font-size: 22px; }
  html body.r2-post-detail .r2-post-content h3 { font-size: 19px; }
  .r2-post-pagination { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; margin-top: 40px; }
  .r2-post-back { grid-column: 1 / -1; grid-row: 1; width: 100%; }
  .r2-post-adjacent { font-size: 13px; }
  .r2-post-tags { margin-top: 32px; }
}

/* 2026-10-13: separate article navigation from the reading content. */
html body.r2-post-detail .r2-post-pagination {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid #d6e3ef;
}
html body.r2-post-detail .r2-post-adjacent span {
  color: #034c92;
  font-size: 13px;
  font-weight: 700;
}
html body.r2-post-detail .r2-post-adjacent:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 768px) {
  html body.r2-post-detail .r2-post-pagination {
    margin-top: 40px;
    padding-top: 24px;
  }
}
