/* Editorial components, deliberately scoped to article pages. */
@media(min-width:1024px){.single-post .article-layout{max-width:1240px;}}
.article .article-feature {margin:32px 0 38px;overflow:hidden;border:1px solid #dce5ed;border-radius:24px;background:#f1f5f9;}
.article .article-feature .article-cover {display:block;width:100%;height:auto;max-height:none;border-radius:0;margin:0;aspect-ratio:3/2;object-fit:contain;}
.article-feature figcaption {padding:13px 20px;font-size:13px;line-height:1.6;color:#52637a;background:#fff;border-top:1px solid #e2e8f0;}
.article-content {font-size:18px;line-height:1.85;overflow-wrap:anywhere;}
.article-content h2 {scroll-margin-top:110px;line-height:1.25;margin-top:2.4em;}
.article-content h3 {line-height:1.4;margin-top:1.8em;font-size:21px;}
.article-content .ed-summary,.article-content .ed-note,.article-content .ed-workbook {padding:26px 28px;margin:28px 0;border:1px solid #dce5ed;border-radius:20px;background:#f1f5f9;}
.article-content .ed-summary {background:#f5ffe6;border-color:#d2ecab;border-left:4px solid #84b91e;}
.article-content .ed-label {display:block;font-size:12px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;color:#46691b;margin-bottom:12px;}
.article-content .ed-summary p:last-child,.article-content .ed-note p:last-child,.article-content .ed-workbook p:last-child {margin-bottom:0;}
.article-content .ed-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:28px 0;}
.article-content .ed-card {min-width:0;padding:24px;border:1px solid #dce5ed;border-radius:18px;background:#fff;}
.article-content .ed-card h3 {font-size:20px;margin:0 0 12px;}
.article-content .ed-card p {margin-bottom:0;font-size:16px;line-height:1.75;}
.article-content .ed-table {max-width:100%;overflow-x:auto;margin:28px 0;border:1px solid #dce5ed;border-radius:16px;scrollbar-width:thin;scrollbar-color:#87ae40 #f1f5f9;}
.article-content .ed-table table {border-collapse:collapse;width:100%;font-size:15px;line-height:1.65;margin:0;min-width:540px;}
.article-content .ed-table th {background:#eff8df;text-align:left;color:#253914;font-weight:700;}
.article-content .ed-table th,.article-content .ed-table td {padding:16px 18px;border:0;border-bottom:1px solid #e2e8f0;vertical-align:top;}
.article-content .ed-table tr:last-child td {border-bottom:0;}
.article-content .ed-code {background:#f1f5f9;border:1px solid #dde5ee;border-radius:18px;margin:28px 0;overflow:hidden;}
.article-content .ed-code figcaption {display:flex;align-items:center;gap:10px;padding:14px 22px;background:#e8eef5;font:600 13px/1.5 Inter,sans-serif;color:#40536b;}
.article-content .ed-code figcaption::before {content:"";width:8px;height:8px;border-radius:50%;background:#8bbd2e;}
.article-content .ed-code pre {margin:0;border:0;border-radius:0;background:transparent;padding:24px;overflow-x:auto;font-size:13px;line-height:1.9;white-space:pre;}
.article-content .ed-code pre code {background:transparent;color:#27354a;padding:0;font:inherit;}
.article-content .ed-code mark {background:#e8fbbd;color:inherit;box-decoration-break:clone;}
.article-content .ed-steps {list-style:none;padding:0;counter-reset:ed-step;margin:28px 0;}
.article-content .ed-steps>li {counter-increment:ed-step;position:relative;padding:20px 20px 20px 65px;margin:0 0 12px;border:1px solid #dce5ed;border-radius:16px;}
.article-content .ed-steps>li::before {content:counter(ed-step,decimal-leading-zero);position:absolute;left:18px;top:21px;font-size:14px;font-weight:750;color:#567d20;}
.article-content .ed-checklist {list-style:none;padding:0;}
.article-content .ed-checklist li {position:relative;padding:12px 0 12px 34px;border-bottom:1px solid #e2e8f0;}
.article-content .ed-checklist li::before {content:"✓";position:absolute;left:0;color:#59870d;font-weight:700;}
.article-content .ed-download {display:inline-flex;gap:8px;align-items:center;padding:12px 20px;background:#10172a;color:#fff!important;border-radius:12px;text-decoration:none;font-size:15px;font-weight:650;}
.article-content .ed-download:hover {background:#30411a;color:#fff;}
.article-content .ed-faq {border:1px solid #dce5ed;border-radius:15px;padding:0 20px;margin:12px 0;background:#fff;}
.article-content .ed-faq summary {font-weight:650;cursor:pointer;padding:18px 0;line-height:1.5;}
.article-content .ed-faq[open] summary {color:#4d740f;}
.article-content .ed-faq p {font-size:16px;line-height:1.8;margin-top:0;}
.article-content .ed-source {font-size:15px;color:#52637a;}
.post-art>img {width:100%;height:100%;object-fit:cover;display:block;}
@media(max-width:700px){.article-content{font-size:17px;line-height:1.85}.article-content .ed-grid{grid-template-columns:1fr}.article-content .ed-summary,.article-content .ed-note,.article-content .ed-workbook{padding:22px}.article .article-feature{border-radius:18px;margin:24px 0 30px}.article-content .ed-code pre{padding:18px;font-size:12px}.article-content h3{font-size:20px}}
@media(prefers-reduced-motion:no-preference){.ed-faq summary,.ed-download{transition:color .18s,background .18s}}
