/* Scoped to the article; the shared header and footer keep their existing styles. */
.es-article {
  --es-ink: #263e4a;
  --es-blue: #345f73;
  --es-line: #dedfd6;
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 24px 72px;
  color: #343e40;
  line-height: 1.95;
  overflow-wrap: anywhere;
}
.es-article * { box-sizing: border-box; }
.es-article a { color: #2e6177; text-underline-offset: 4px; }
.es-article a:hover { color: #193f53; }
.es-article :focus-visible { outline: 3px solid #aa7049; outline-offset: 4px; }
.es-breadcrumb { font-size: 12px; margin-bottom: 42px; color: #5c686b; }
.es-header { max-width: 820px; margin: 0 auto 32px; }
.es-eyebrow { color: #7b644f; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.es-header h1 { color: var(--es-ink); font-size: clamp(30px, 4vw, 46px); line-height: 1.45; margin: 16px 0 24px; letter-spacing: -.02em; }
.es-header h1 span { display: block; font-size: .76em; margin-top: 12px; }
.es-lead { font-size: 17px; }
.es-meta { font-size: 12px; color: #5c686b; margin-top: 24px; }
.es-meta span { margin: 0 8px; }
.es-hero { margin: 0 auto 32px; }
.es-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 45%; display: block; border-radius: 18px; }
.es-hero figcaption { font-size: 12px; color: #616c6c; padding: 10px 4px; }
.es-answer, .es-toc, .es-article section, .es-related { max-width: 820px; margin-left: auto; margin-right: auto; }
.es-answer { background: #eef2ef; border: 1px solid #d5dfd9; border-left: 4px solid #6c9287; padding: 24px 30px; border-radius: 12px; }
.es-answer .es-label { color: #44685d; font-size: 13px; font-weight: 700; letter-spacing: .04em; margin-top: 0; }
.es-answer p:last-child { margin-bottom: 0; }
.es-article p { margin: 12px 0 20px; }
.es-toc { background: #fffdf8; border: 1px solid var(--es-line); border-radius: 12px; margin-top: 28px; padding: 24px 30px; }
.es-article h2 { color: var(--es-ink); font-size: clamp(23px, 2.9vw, 30px); line-height: 1.6; margin: 0 0 22px; }
.es-article h3 { font-size: 20px; color: var(--es-ink); line-height: 1.65; margin: 30px 0 12px; }
.es-toc h2 { font-size: 18px; margin-bottom: 12px; }
.es-toc ol { columns: 2; gap: 32px; padding-left: 22px; margin: 0; font-size: 14px; }
.es-toc li { break-inside: avoid; margin-bottom: 10px; }
.es-article section { margin-top: 64px; scroll-margin-top: 100px; }
.es-section-number { color: #7b644f; font-size: 12px; letter-spacing: .1em; font-weight: 700; }
.es-article .es-source { display: block; font-size: 12px; margin-top: 8px; }
.es-factor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.es-factor-grid > div { padding: 22px; background: #fffdf8; border: 1px solid var(--es-line); border-radius: 12px; }
.es-factor-grid span { color: #8c7865; font-size: 12px; letter-spacing: .15em; }
.es-factor-grid h3 { margin: 6px 0 12px; font-size: 18px; }
.es-factor-grid p { font-size: 14px; margin-bottom: 0; }
.es-table-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--es-line); border-radius: 10px; margin: 24px 0; background: #fffdf8; }
.es-article table { width: 100%; min-width: 600px; border-collapse: collapse; text-align: left; font-size: 14px; line-height: 1.8; }
.es-article caption { text-align: left; padding: 14px 18px; color: #50616a; font-size: 12px; }
.es-article th, .es-article td { padding: 17px; vertical-align: top; border-bottom: 1px solid var(--es-line); }
.es-article thead { background: #e8eff1; color: var(--es-ink); }
.es-article tbody th { width: 24%; }
.es-article tbody tr:last-child > * { border-bottom: 0; }
.es-benefit-list { padding-left: 24px; }
.es-benefit-list li { margin: 12px 0; }
.es-note, .es-metric { background: #f0eee5; border-radius: 12px; padding: 24px; margin: 28px 0; }
.es-note { border-left: 4px solid #af9069; font-size: 14px; }
.es-note p:last-child, .es-metric p:last-child { margin-bottom: 0; }
.es-metric { background: #edf2f3; }
.es-metric h3 { margin-top: 0; }
.es-method { margin: 26px 0; padding: 26px 28px; border: 1px solid var(--es-line); border-radius: 12px; background: #fffdf8; }
.es-method h3 { margin-top: 0; }
.es-method h3 span { display: inline-block; color: #5c7e8c; font-size: 15px; margin-right: 14px; }
.es-method .es-check { border-top: 1px solid var(--es-line); padding-top: 16px; margin-bottom: 0; font-size: 14px; }
.es-summary { border-top: 3px solid #7a9892; padding-top: 28px; }
.es-related { border-top: 1px solid var(--es-line); margin-top: 40px; padding-top: 24px; font-size: 14px; }
.es-related h2 { font-size: 18px; margin-bottom: 12px; }
@media (max-width: 768px) {
  .es-article { padding: 20px 16px 48px; }
  .es-breadcrumb { margin-bottom: 28px; }
  .es-header { margin-bottom: 24px; }
  .es-header h1 { font-size: 30px; }
  .es-header h1 span { font-size: 23px; }
  .es-lead { font-size: 16px; }
  .es-hero img { border-radius: 12px; aspect-ratio: 3 / 2; }
  .es-answer, .es-toc { padding: 22px 20px; }
  .es-toc ol { columns: 1; }
  .es-article section { margin-top: 44px; }
  .es-factor-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .es-factor-grid > div { padding: 16px; }
  .es-factor-grid h3 { font-size: 16px; }
  .es-article h3 { font-size: 18px; }
  .es-method { padding: 22px 20px; }
  .es-note, .es-metric { padding: 22px 20px; }
}
@media (max-width: 359px) {
  .es-factor-grid { grid-template-columns: 1fr; }
}
