/* Article-only editorial layout. Shared journal and storefront styles stay intact. */
/* Keep the document as the scroll container so the desktop TOC can stick. */
body.blog-detail-page { background: #f9f8f4; overflow-x: clip; overflow-y: visible; }
body.blog-detail-page .rh-blog__wrap { max-width: 1220px; padding-inline: 32px; }
body.blog-detail-page .breadcrumb-nav { margin-bottom: 32px; }
body.blog-detail-page .breadcrumb-list { font-size: .8125rem; }
.rh-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding: 12px 0 40px;
  margin-bottom: 32px;
  border-bottom: 1px solid #dddeda;
}
.rh-editorial--text { grid-template-columns: minmax(0, 820px); }
.rh-editorial__body { min-width: 0; }
.rh-editorial__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; font-size: .8125rem; color: #82907b; }
.rh-editorial__edition { color: #375a38; font-weight: 700; letter-spacing: -.01em; }
.rh-editorial__edition::before { content: ''; display: inline-block; vertical-align: middle; width: 24px; height: 2px; background: #759269; margin-inline-end: 10px; }
.rh-blog .rh-editorial__kicker a { color: #5c7454; }
.rh-editorial h1 {
  margin: 0 0 24px;
  font-size: clamp(1.8rem, 3.25vw, 2.6rem) !important;
  font-weight: 700 !important;
  line-height: 1.65 !important;
  letter-spacing: -.035em;
  color: #233d2a;
  text-wrap: balance;
}
.rh-editorial__lead { font-size: 1rem; line-height: 2; color: #687265; margin-bottom: 28px; max-width: 590px; }
.rh-editorial__byline { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.rh-editorial__avatar { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; background: #e8eee2; color: #426440; border: 1px solid #d9e3d1; border-radius: 50%; font-weight: 600; }
.rh-editorial__writer, .rh-editorial__date { display: flex; flex-direction: column; gap: 6px; }
.rh-editorial__writer strong { color: #344632; font-size: .875rem; font-weight: 600; }
.rh-editorial__writer > span { color: #7b8275; font-size: .75rem; }
.rh-editorial__date { margin-inline-start: auto; padding-inline-start: 16px; border-inline-start: 1px solid #dfe3d9; font-size: .75rem; color: #737d6c; }
.rh-editorial__date time { font-variant-numeric: tabular-nums; }
.rh-blog .rh-editorial__start { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 24px; color: #385d39; font-size: .875rem; font-weight: 600; }
.rh-editorial__start > span { display: grid; place-items: center; width: 36px; height: 36px; background: #365a3c; color: #fff; border-radius: 50%; font-size: 1.15rem; }
.rh-editorial__figure { margin: 0; min-width: 0; padding: 10px; border: 1px solid #dbe2d4; border-radius: 24px; background: #fffdf9; box-shadow: 0 16px 40px -24px rgba(42,53,40,.3); }
.rh-editorial__image { aspect-ratio: 4/3; overflow: hidden; background: #eef2e8; border-radius: 17px; }
.rh-editorial__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rh-editorial__figure figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 14px 10px 4px; color: #788170; font-size: .6875rem; }
.rh-editorial__figure figcaption > :last-child { color: #486443; font-weight: 600; }
.rh-reading-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 32px; padding: 14px 18px; border-radius: 14px; background: #f0f2ea; border: 1px solid #e3e6da; }
.rh-reading-tools__label { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .8125rem; color: #426440; }
.rh-reading-tools__dot { flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: #6c9062; }
.rh-reading-tools__percent { font-size: .6875rem; color: #808775; }
.rh-reading-tools__buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rh-reading-tools__buttons button, .rh-blog .rh-reading-tools__buttons a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; background: #fffdf9; border: 1px solid #dbe2d4; border-radius: 10px; color: #4d6045; font-size: .75rem; cursor: pointer; }
.rh-reading-tools__buttons button[aria-pressed=true] { background: #365a3c; color: #fff; border-color: #365a3c; }
.rh-reading-tools__type { font-size: 1.125rem; font-weight: 600; line-height: 1; }
.rh-reading-tools__buttons a > span { background: #eff3e9; padding: 1px 5px; border-radius: 5px; }
.rh-reading-tools__feedback { width: 100%; margin: 0; color: #426440; font-size: .8125rem; }
.rh-reading-tools__copy-fallback { width: 100%; padding: 12px; border: 1px solid #c7d4bf; border-radius: 10px; direction: ltr; font-size: 16px; background: #fff; }
.rh-reading-tools [hidden] { display: none !important; }
body.blog-detail-page .rh-blog__layout { grid-template-columns: 244px minmax(0, 1fr); gap: 40px; align-items: start; }
body.blog-detail-page .rh-blog__layout--solo { grid-template-columns: minmax(0, 820px); justify-content: center; }
body.blog-detail-page .rh-blog__toc { top: calc(var(--rh-header-h, 68px) + 24px); }
.rh-article-side-label { display: block; color: #8a927f; font-size: .6875rem; font-weight: 600; letter-spacing: .03em; margin-bottom: 12px; }
body.blog-detail-page .rh-blog__toc-panel { background: transparent; border: 0; border-radius: 0; overflow: visible; }
body.blog-detail-page .rh-blog__toc-summary { padding: 0 0 18px; font-size: 1rem !important; color: #344632; }
body.blog-detail-page .rh-blog__toc-nav { padding: 12px 0 0; border-color: #dedfd6; scrollbar-width: thin; }
body.blog-detail-page .rh-blog__toc-nav a { display: flex; align-items: baseline; gap: 12px; padding: 11px 10px; color: #747c6d; border-inline-start: 2px solid transparent; border-radius: 0 8px 8px 0; font-size: .8125rem !important; line-height: 1.9; }
.rh-article-toc-number { flex: 0 0 18px; font-size: .625rem; color: #9ca68f; font-variant-numeric: tabular-nums; }
body.blog-detail-page .rh-blog__toc-nav a.is-active { border-inline-start: 2px solid #5f8250; background: #eaf0e3; color: #365a3c; }
body.blog-detail-page .rh-blog__toc-nav a.is-active .rh-article-toc-number { color: #5f8250; }
body.blog-detail-page .blog-toc-level-3 { padding-inline-start: 20px; }
body.blog-detail-page .rh-blog__prose { padding: 40px 44px; border: 1px solid #e5e6de; border-radius: 20px; background: #fffefa; font-size: 1.0625rem !important; line-height: 2.15 !important; color: #424b3c; box-shadow: 0 4px 20px rgba(42,53,40,.015); }
body.blog-detail-page .rh-blog__prose.is-large-type { font-size: 1.25rem !important; }
body.blog-detail-page .rh-blog__prose > p:first-child { font-size: 1.0625em !important; line-height: 2.15 !important; color: #43533c; margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid #e9ebe1; }
body.blog-detail-page .rh-blog__prose h2 { position: relative; padding-inline-start: 18px; margin-block: 42px 20px; border-bottom: 0; padding-bottom: 0; color: #2f4931; font-size: 1.375rem !important; line-height: 1.8 !important; }
body.blog-detail-page .rh-blog__prose h2::before { content: ''; position: absolute; inset-inline-start: 0; top: .45em; bottom: .45em; width: 3px; border-radius: 3px; background: #809970; }
body.blog-detail-page .rh-blog__prose h3 { color: #425d3a; margin-block: 28px 14px; font-size: 1.125rem !important; }
body.blog-detail-page .rh-blog__prose strong { font-weight: 600 !important; color: #344e35; }
body.blog-detail-page .rh-blog__prose figure { max-width: 460px; margin: 28px auto; }
body.blog-detail-page .rh-blog__prose img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: min(100%, 420px) !important;
  max-height: 320px !important;
  object-fit: contain;
  margin: 16px auto;
}
body.blog-detail-page .rh-blog__prose li::marker { color: #809970; }
body.blog-detail-page .rh-blog__prose blockquote { background: #f1f4e9; border-inline-start: 3px solid #809970; border-radius: 12px; padding: 20px 24px; margin-block: 28px; }
body.blog-detail-page .rh-blog__prose a { color: #456d3c; font-weight: 500; text-decoration-color: #b2c5a4; }
body.blog-detail-page .rh-article-table { overflow-x: auto; max-width: 100%; border: 1px solid #dfe4d5; border-radius: 12px; margin-block: 28px; scrollbar-width: thin; }
body.blog-detail-page .rh-article-table table { display: table; margin: 0; border: 0; width: 100%; font-size: .8125rem !important; line-height: 1.8; }
body.blog-detail-page .rh-article-table th, body.blog-detail-page .rh-article-table td { border: 0; border-bottom: 1px solid #e5e9dd; text-align: right; padding: 14px 16px; }
body.blog-detail-page .rh-article-table th { background: #eaf0e2; color: #425d3a; }
body.blog-detail-page .rh-article-table tr:nth-child(even) td { background: #f6f8f0; }
body.blog-detail-page .rh-article-table tr:last-child td { border-bottom: 0; }
.rh-article-followup { margin-inline-start: 284px; }
.rh-article-followup--solo { margin-inline-start: 0; max-width: 820px; margin-inline: auto; }
body.blog-detail-page .rh-blog__section { margin-block: 40px; }
body.blog-detail-page .rh-blog__section-intro h2 { font-size: 1.375rem !important; line-height: 1.7; color: #2f4931; }
body.blog-detail-page .rh-blog__section-intro p { line-height: 1.9; font-size: .875rem !important; }
body.blog-detail-page .rh-blog__faq-item { background: #fffefa; border-color: #e0e4d7; padding: 18px 20px; }
body.blog-detail-page .rh-blog__faq-item summary { font-size: .875rem !important; font-weight: 600; }
body.blog-detail-page .rh-blog__faq-item[open] { border-color: #a6bb98; }
body.blog-detail-page .rh-blog__cta-box { background: #365a3c; border: 0; padding: 28px; border-radius: 18px; }
body.blog-detail-page .rh-blog__cta-box h2 { color: #fffdf5; font-size: 1.25rem !important; line-height: 1.8; }
body.blog-detail-page .rh-blog__cta-box p { color: #d9e3ce; font-weight: 400; }
body.blog-detail-page .rh-blog__cta-box .rh-blog__btn { background: #f1f5e9; color: #365a3c !important; }
body.blog-detail-page .rh-blog__author { border: 0; border-block: 1px solid #dedfd6; border-radius: 0; padding: 24px 0; background: transparent; }
body.blog-detail-page .rh-blog__related { gap: 16px; }
body.blog-detail-page .rh-blog__related-card { background: #fffefa; border-color: #e0e4d7; }
body.blog-detail-page .rh-blog__related-body { min-width: 0; padding: 18px; }
body.blog-detail-page .rh-blog__related-body h3 { line-height: 1.9; font-weight: 600; }
body.blog-detail-page .rh-blog__related-media { aspect-ratio: 4/3; }
body.blog-detail-page .rh-blog__products { gap: 16px; }
body.blog-detail-page .rh-article-comments { background: #f0f2e9; border: 1px solid #e0e4d7; border-radius: 20px; padding: 28px; }
.rh-article-comment-count { display: inline-flex; vertical-align: middle; align-items: center; justify-content: center; min-width: 28px; height: 28px; border: 1px solid #cedbc4; border-radius: 50%; color: #69825c; font-size: .75rem; }
body.blog-detail-page .rh-blog__form { padding: 0; background: transparent; border: 0; }
body.blog-detail-page .rh-blog__form input, body.blog-detail-page .rh-blog__form textarea { background: #fffefa; border-color: #d9e0cf; }
body.blog-detail-page .rh-blog__form textarea { min-height: 150px; }
@media (hover: hover) {
  .rh-reading-tools__buttons button:hover, .rh-blog .rh-reading-tools__buttons a:hover { border-color: #89a47a; }
  body.blog-detail-page .rh-blog__toc-nav a:hover { background: #eef2e7; color: #365a3c; }
  .rh-editorial__start:hover > span { background: #52784a; }
}
@media (min-width: 960px) {
  body.blog-detail-page .rh-blog__toc { position: sticky; align-self: start; }
  body.blog-detail-page .rh-blog__toc-nav { max-height: calc(100dvh - var(--rh-header-h, 68px) - 120px); }
}
@media (max-width: 959px) {
  body.blog-detail-page .rh-blog__wrap { padding-inline: 24px; }
  .rh-editorial { gap: 28px; grid-template-columns: 1fr; padding-bottom: 28px; }
  .rh-editorial h1 { max-width: 800px; font-size: 2rem !important; }
  .rh-editorial__figure { max-width: 680px; width: 100%; }
  .rh-editorial__image { aspect-ratio: 16/9; max-height: 340px; }
  body.blog-detail-page .rh-blog__layout, body.blog-detail-page .rh-blog__layout--solo { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .rh-article-followup { margin-inline-start: 0; }
  body.blog-detail-page .rh-blog__toc { padding: 16px 20px; background: #edf1e6; border-radius: 14px; border: 1px solid #dce4d2; }
  .rh-article-side-label { margin-bottom: 8px; }
  body.blog-detail-page .rh-blog__toc-summary { padding: 0; }
  body.blog-detail-page .rh-blog__toc-panel[open] .rh-blog__toc-summary { padding-bottom: 14px; }
  body.blog-detail-page .rh-blog__prose { padding: 32px; }
}
@media (max-width: 639px) {
  body.blog-detail-page .rh-blog__wrap { padding-inline: 18px; }
  body.blog-detail-page .rh-blog--detail { padding-top: calc(var(--rh-header-h-mobile, 64px) + 18px); }
  body.blog-detail-page .breadcrumb-nav { margin-bottom: 24px; }
  .rh-editorial { gap: 24px; padding-top: 0; margin-bottom: 20px; }
  .rh-editorial__kicker { margin-bottom: 14px; gap: 8px; font-size: .75rem; }
  .rh-editorial h1 { font-size: 1.65rem !important; line-height: 1.8 !important; margin-bottom: 16px; }
  .rh-editorial__lead { font-size: .9375rem; line-height: 2; margin-bottom: 22px; }
  .rh-editorial__avatar { width: 38px; height: 38px; }
  .rh-editorial__date { width: 100%; border: 0; padding: 0; margin: 4px 0 0; flex-direction: row; gap: 16px; }
  .rh-editorial__start { margin-top: 16px !important; }
  .rh-editorial__figure { padding: 7px; border-radius: 18px; }
  .rh-editorial__image { border-radius: 12px; }
  .rh-editorial__figure figcaption { padding: 12px 6px 4px; font-size: .625rem; }
  .rh-reading-tools { padding: 12px; gap: 12px; margin-bottom: 20px; }
  .rh-reading-tools__buttons { width: 100%; gap: 6px; }
  .rh-reading-tools__buttons button, .rh-blog .rh-reading-tools__buttons a { flex: 1; padding-inline: 6px; min-width: 0; font-size: .6875rem; white-space: nowrap; }
  body.blog-detail-page .rh-blog__prose { padding: 24px 18px; font-size: 1rem !important; border-radius: 16px; }
  body.blog-detail-page .rh-blog__prose.is-large-type { font-size: 1.125rem !important; }
  body.blog-detail-page .rh-blog__prose img { max-height: 240px !important; }
  body.blog-detail-page .rh-blog__prose > p:first-child { margin-bottom: 24px; padding-bottom: 20px; }
  body.blog-detail-page .rh-blog__prose h2 { font-size: 1.2rem !important; margin-top: 32px; }
  body.blog-detail-page .rh-blog__prose h3 { font-size: 1.0625rem !important; }
  body.blog-detail-page .rh-blog__prose blockquote { padding: 16px; }
  body.blog-detail-page .rh-article-table table { min-width: 500px; }
  body.blog-detail-page .rh-blog__section-intro h2 { font-size: 1.2rem !important; }
  body.blog-detail-page .rh-article-comments { padding: 20px 16px; }
  body.blog-detail-page .rh-blog__related-card { grid-template-columns: 96px minmax(0, 1fr); }
  body.blog-detail-page .rh-blog__related-media { aspect-ratio: 1; height: 100%; }
  body.blog-detail-page .rh-blog__related-body { padding: 14px; }
  body.blog-detail-page .rh-blog__cta-box { padding: 24px 20px; }
}
