/* Article presentation only. The shared navigation and footer are untouched. */
.blog-article { background:#fafbf8; color:#173b33; padding:32px 0 48px; }
.blog-article #article-shell { max-width:1160px; display:grid; grid-template-columns:minmax(0, 740px) minmax(0, 250px); column-gap:48px; align-items:start; }
#article-shell > nav { grid-column:1 / -1; margin-bottom:28px; font-size:12px; }
#article-shell > header { grid-column:1; grid-row:2; margin-bottom:30px; padding-bottom:25px; border-bottom:1px solid #dce4da; }
#article-shell > header h1 { font-size:clamp(32px,3.5vw,46px); line-height:1.17; letter-spacing:-1.5px; font-weight:800; text-wrap:balance; color:#073d33; }
#article-shell > header > div { font-size:12px; gap:10px 20px; line-height:1.8; }
#article-shell > figure { grid-column:2; grid-row:2; margin:0 0 28px; border:1px solid #dce4da; border-radius:12px; }
#article-shell > figure img { display:block; width:100%; height:auto; }
#article-body { grid-column:1 / -1; grid-row:3; display:grid; grid-template-columns:minmax(0, 740px) minmax(0, 250px); column-gap:48px; min-width:0; font-size:16px; line-height:1.9; color:#465c55; }
#article-opening { grid-column:1; grid-row:1; min-width:0; }
#article-rest { grid-column:1; grid-row:2; min-width:0; }
#article-sidebar { grid-column:2; grid-row:1 / span 2; min-width:0; }
#article-contents { display:none; }
#article-desktop-contents > p { margin:0; padding:0 0 12px; font-size:12px; font-weight:800; letter-spacing:1px; color:#073d33; }
#article-contents, #article-desktop-contents { border-top:2px solid #b28c39; padding:15px 0 22px; }
#article-contents summary { font:inherit; font-size:12px; font-weight:800; letter-spacing:1px; color:#073d33; cursor:pointer; min-height:44px; align-content:center; }
#article-contents nav, #article-desktop-contents nav { max-height:220px; overflow-y:auto; scrollbar-gutter:stable; scrollbar-width:thin; scrollbar-color:#82988c #edf3ec; }
#article-contents ol, #article-desktop-contents ol { list-style:none; padding:0; margin:10px 0 0; }
#article-contents li, #article-desktop-contents li { margin:0; padding:0; }
#article-contents a, #article-desktop-contents a { display:block; font-size:12px; line-height:1.65; color:#465c55; border-left:1px solid #dce4da; padding:12px 12px 12px 15px; text-decoration:none; overflow-wrap:anywhere; }
#article-body :is(#article-contents, #article-desktop-contents) a { text-decoration:none; }
#article-contents a:hover, #article-desktop-contents a:hover { background:#edf3ec; color:#073d33; border-color:#a87920; }
#article-opening > p:first-of-type { margin-top:0; background:#edf3ec; border-left:3px solid #bd984c; border-radius:0 10px 10px 0; padding:21px 24px; color:#173b33; font-size:17px; line-height:1.9; }
#article-body h2 { font-size:26px; line-height:1.35; letter-spacing:-.6px; padding-top:12px; margin-top:36px; margin-bottom:16px; color:#073d33; }
#article-body h3 { font-size:20px; line-height:1.5; color:#073d33; }
#article-body :is(h2,h3,h4) { scroll-margin-top:112px; overflow-wrap:anywhere; }
#article-body p, #article-body li { color:#465c55; }
#article-body a:not([href='/upload']) { color:#075c49; text-decoration:underline; text-underline-offset:3px; }
#article-body :is(p,li,td,th) { overflow-wrap:anywhere; }
#article-body blockquote { background:#f6f0df; border-left:3px solid #bd984c; border-radius:0 8px 8px 0; padding:16px 22px; font-style:normal; font-weight:400; }
#article-body blockquote p { color:#51472a; }
#article-body blockquote p::before, #article-body blockquote p::after { content:none; }
#article-rest > ol { padding-left:1.8em; }
#article-rest > ol > li { padding:12px 0 12px 7px; border-bottom:1px solid #dce4da; }
#article-rest > ol > li::marker { font-weight:800; color:#073d33; }
#article-body .blog-table-scroll { border:1px solid #dce4da; border-radius:10px; background:white; }
#article-body table { width:100%; border-collapse:collapse; font-size:13px; line-height:1.7; }
#article-body table :is(th,td) { padding:14px 16px; text-align:left; vertical-align:top; border-bottom:1px solid #dce4da; }
#article-body table th { background:#edf3ec; color:#173b33; font-weight:700; }
#article-body table td { color:#465c55; }
#article-body pre { max-width:100%; overflow:auto; }
#article-body code { overflow-wrap:anywhere; }
#article-body img { max-width:100%; height:auto; }
#article-body [data-cta], #article-sidebar [data-cta] { background:#062d27; border:1px solid #254f44; border-radius:12px; padding:26px 22px; text-align:left; margin:28px 0; }
#article-body [data-cta] p, #article-sidebar [data-cta] p { color:#e1ece5; font-size:14px; line-height:1.8; }
#article-body [data-cta] p:first-child, #article-sidebar [data-cta] p:first-child { color:white; font-size:20px; font-weight:700; line-height:1.4; }
#article-sidebar [data-cta] a { display:flex; justify-content:center; padding:14px 12px; min-height:46px; font-size:13px; background:#edc76a; color:#241a00; border-radius:8px; text-align:center; }
#article-sidebar [data-cta] a:hover { background:#f5d888; opacity:1; }
#article-shell > .mt-10 { grid-column:1; }
#article-shell > div.mt-10 { background:#f6f0df; border-color:#e4d8b5; color:#51472a; padding:20px; line-height:1.8; }
#article-shell > section { border-top:1px solid #dce4da; padding-top:28px; }
#article-shell > section h2 { font-size:24px; color:#073d33; }
#article-shell > section .card { background:white; border:1px solid #dce4da; border-radius:10px; box-shadow:none; }
#article-shell > section .card:hover { border-color:#a87920; }
#article-shell > section .card h3 { color:#073d33; line-height:1.5; }
.blog-end-cta { background:#062d27; padding:42px 24px; }
.blog-end-cta > div { max-width:960px; }
.blog-end-cta h2 { font-size:28px; line-height:1.3; }
.blog-end-cta p { color:#d4e4dc; line-height:1.8; }
.blog-end-cta a { background:#edc76a; min-height:48px; }
.blog-article :is(a,summary):focus-visible, .blog-end-cta a:focus-visible { outline:3px solid #a87920; outline-offset:4px; }
@media (min-width: 901px) {
  #article-sidebar > [data-cta] { padding:18px; }
  #article-sidebar > [data-cta] > p { margin:0 0 12px; font-size:12px; line-height:1.65; }
  #article-sidebar > [data-cta] > p:first-child { margin-top:0; font-size:17px; line-height:1.35; }
  #article-sidebar > [data-cta] > a { margin-top:0 !important; padding:12px !important; line-height:1.4; }
}
@media (max-width: 900px) {
  /* Reserve the final icon width while the Material Symbols font loads.
     Its fallback word must not widen the existing article-page menu button. */
  body:has(.blog-article) .v3-nav-mobile-btn .material-symbols-outlined { width:22px; min-width:22px; overflow:hidden; flex-shrink:0; }
  .blog-article { padding-top:24px; }
  .blog-article #article-shell { display:block; max-width:760px; padding-left:24px; padding-right:24px; }
  #article-shell > nav { margin-bottom:22px; }
  #article-shell > header { margin-bottom:20px; padding-bottom:20px; }
  #article-shell > header h1 { font-size:32px; line-height:1.18; letter-spacing:-1px; }
  #article-shell > figure { max-width:240px; margin:0 0 22px; }
  #article-body { display:block; font-size:15px; line-height:1.85; }
  #article-opening > p:first-of-type { font-size:15px; padding:17px 18px; }
  #article-body h2 { font-size:23px; margin-top:28px; }
  #article-sidebar { display:flex; flex-direction:column; }
  #article-sidebar > [data-cta] { order:-1; margin:18px 0 0; }
  #article-desktop-contents { display:none; }
  #article-contents { display:block; margin:18px 0; padding:0; border-top:1px solid #dce4da; border-bottom:1px solid #dce4da; }
  #article-contents summary { font-size:12px; letter-spacing:.4px; }
  #article-contents nav { max-height:none; padding-bottom:12px; }
  #article-contents a { min-height:44px; }
  #article-body #article-contents a, #article-desktop-contents a { text-decoration:none; }
  #article-body table :is(th,td) { padding:12px; }
  #article-body [data-cta] { padding:20px; }
  #article-body [data-cta] a { max-width:100%; font-size:13px; }
}
@media (max-width: 350px) {
  .blog-article #article-shell { padding-left:19px; padding-right:19px; }
  #article-shell > header h1 { font-size:29px; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-article #article-body a, .blog-article #article-sidebar a, .blog-end-cta a { transition:none !important; animation:none !important; scroll-behavior:auto !important; }
  .blog-article a[href='/upload']:hover, .blog-article a[href='/upload']:active { transform:none !important; }
}
@media print {
  .blog-article #article-shell, #article-body { display:block; max-width:none; }
  #article-sidebar { display:none; }
  #article-body .blog-table-scroll, #article-contents nav, #article-desktop-contents nav { overflow:visible; max-height:none; }
  #article-body table { font-size:10pt; }
  #article-body [data-cta], .blog-end-cta { break-inside:avoid; }
}
