.ea-editorial {
    --editorial-ink: #172033;
    --editorial-muted: #566176;
    --editorial-accent: #245bc5;
    --editorial-border: #d9e0e8;
    --editorial-background: #f5f7fa;
    --editorial-surface: #fff;
    --editorial-soft: #eef2f6;
    color: var(--editorial-ink);
    background: var(--editorial-background);
    padding: 1.5rem 0 5rem;
    overflow-wrap: anywhere;
}
.ea-editorial *, .ea-editorial *::before, .ea-editorial *::after { box-sizing: border-box; }
.ea-editorial .ea-editorial-shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.ea-editorial a { color: var(--editorial-accent); text-underline-offset: .2em; }
.ea-editorial a:hover { text-decoration: underline; }
.ea-editorial a:focus-visible { outline: 3px solid #2f6fed; outline-offset: 5px; border-radius: 3px; }
.ea-editorial h1, .ea-editorial h2, .ea-editorial h3 { color: var(--editorial-ink); letter-spacing: -.035em; font-weight: 700; }
.ea-editorial h1 { font-size: clamp(2.25rem, 4.8vw, 4rem); line-height: 1.12; margin: 0 0 1.5rem; }
.ea-editorial h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.3; }
.ea-editorial p, .ea-editorial li { line-height: 1.75; }
.ea-editorial .ea-editorial-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 0; font-size: .875rem; }
.ea-editorial .ea-editorial-breadcrumb li + li::before { content: '/'; color: var(--editorial-muted); margin-right: .6rem; }
.ea-editorial .ea-editorial-hero { padding: 4rem 0; max-width: 950px; }
.ea-editorial .ea-editorial-eyebrow { color: var(--editorial-accent); text-transform: uppercase; font-weight: 700; font-size: .75rem; letter-spacing: .13em; margin: 0 0 1rem; }
.ea-editorial .ea-editorial-hero h1 span { color: var(--editorial-accent); }
.ea-editorial .ea-editorial-lead { max-width: 720px; font-size: 1.125rem; color: var(--editorial-muted); margin-bottom: 1.5rem; }
.ea-editorial .ea-editorial-text-link { font-weight: 700; }
.ea-editorial .ea-editorial-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin: 0 0 1.5rem; }
.ea-editorial .ea-editorial-section-heading h2, .ea-editorial .ea-editorial-section-heading p { margin: 0; }
.ea-editorial .ea-editorial-section-heading .ea-editorial-eyebrow { margin-bottom: .5rem; }
.ea-editorial .ea-editorial-section-heading > p { max-width: 280px; color: var(--editorial-muted); font-size: .875rem; }
.ea-editorial .ea-editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.ea-editorial .ea-editorial-card { position: relative; background: var(--editorial-surface); border: 1px solid var(--editorial-border); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 5px 18px #17203306; }
.ea-editorial .ea-editorial-card:hover, .ea-editorial .ea-editorial-card:focus-within { border-color: var(--editorial-accent); box-shadow: 0 12px 32px #17203310; }
.ea-editorial .ea-editorial-card-top { background: #dbe8ff; color: #1e4f9c; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; font-size: .8rem; font-weight: 700; letter-spacing: .025em; }
.ea-editorial .ea-editorial-card:nth-child(2) .ea-editorial-card-top { background: #e6edf9; color: #304e7a; }
.ea-editorial .ea-editorial-card:nth-child(3) .ea-editorial-card-top { background: #f7eddb; color: #715017; }
.ea-editorial .ea-editorial-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.ea-editorial .ea-editorial-card h3 { font-size: 1.35rem; line-height: 1.4; margin: 1rem 0; }
.ea-editorial .ea-editorial-card h3 a { color: var(--editorial-ink); text-decoration: none; }
.ea-editorial .ea-editorial-card h3 a::after { content: ''; position: absolute; inset: 0; }
.ea-editorial .ea-editorial-card h3 a:hover { text-decoration: underline; }
.ea-editorial .ea-editorial-card-body > p { color: var(--editorial-muted); font-size: .95rem; margin-bottom: 1.5rem; }
.ea-editorial .ea-editorial-card-label { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--editorial-border); color: var(--editorial-accent); font-weight: 700; font-size: .875rem; display: flex; justify-content: space-between; }
.ea-editorial .ea-editorial-meta { color: var(--editorial-muted); display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .8125rem; }
.ea-editorial .ea-editorial-archive, .ea-editorial .ea-editorial-related { padding-top: 4rem; }
.ea-editorial .ea-editorial-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ea-editorial .ea-editorial-cover-fallback { object-fit: contain; padding: 2.5rem; background: #eef2f6; }
.ea-editorial .ea-editorial-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; padding-top: 2rem; }
.ea-editorial .ea-editorial-pagination a { padding: .65rem 1rem; border: 1px solid var(--editorial-border); border-radius: 8px; background: var(--editorial-surface); }
.ea-editorial .ea-editorial-pagination [aria-disabled] { color: var(--editorial-muted); }
.ea-editorial .ea-editorial-article-header { max-width: 960px; padding: 3.5rem 0 2.5rem; }
.ea-editorial .ea-editorial-article-layout { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: 4rem; align-items: start; }
.ea-editorial .ea-editorial-contents { border-top: 2px solid var(--editorial-accent); padding-top: 1.5rem; }
.ea-editorial .ea-editorial-contents h2 { font-size: 1rem; letter-spacing: 0; margin: 0 0 1rem; }
.ea-editorial .ea-editorial-contents ol { padding: 0; margin: 0; list-style: none; }
.ea-editorial .ea-editorial-contents li { font-size: .875rem; margin-bottom: .9rem; }
.ea-editorial .ea-editorial-prose { min-width: 0; font-size: 1.0625rem; }
.ea-editorial .ea-editorial-prose p { margin: 0 0 1.25rem; }
.ea-editorial .ea-editorial-prose h2 { margin: 2.5rem 0 1rem; font-size: 1.625rem; scroll-margin-top: 7rem; }
.ea-editorial .ea-editorial-prose .ea-editorial-intro { font-size: 1.2rem; color: var(--editorial-muted); }
.ea-editorial .ea-editorial-checklist { background: var(--editorial-soft); border-left: 3px solid var(--editorial-accent); border-radius: 0 12px 12px 0; padding: 1.5rem 1.5rem 1.5rem 2.75rem; margin: 1.5rem 0; list-style: disc; }
.ea-editorial .ea-editorial-checklist li { margin: .5rem 0; padding-left: .25rem; }
.ea-editorial .ea-editorial-takeaway { border-top: 1px solid var(--editorial-border); margin-top: 2rem; }
.ea-editorial .ea-editorial-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ea-editorial .ea-editorial-legacy { max-width: 800px; margin: auto; }
.ea-editorial .ea-editorial-prose img { max-width: 100%; height: auto; }
.ea-editorial .ea-editorial-legacy-image { width: 100%; border-radius: 18px; margin-bottom: 2rem; }
.ea-editorial .ea-editorial-next-step { margin-top: 4rem; padding: 2.5rem; border: 1px solid var(--editorial-border); border-radius: 20px; background: var(--editorial-soft); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3rem; }
.ea-editorial .ea-editorial-next-step h2 { margin: 0 0 .75rem; }
.ea-editorial .ea-editorial-next-step p:last-child { color: var(--editorial-muted); margin-bottom: 0; max-width: 650px; }
.ea-editorial .ea-editorial-actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; font-size: .875rem; }
.ea-editorial a.ea-editorial-button { display: inline-flex; justify-content: center; padding: .9rem 1.3rem; border-radius: 10px; background: var(--editorial-accent); color: #fff; font-weight: 700; }
/* Match the existing theme without editing shared layout/theme files. */
html[data-ea-theme="dark"] .ea-editorial {
    --editorial-ink: #edf3fa;
    --editorial-muted: #aebdce;
    --editorial-accent: #7ba7ff;
    --editorial-border: #334154;
    --editorial-background: #0b1018;
    --editorial-surface: #121a26;
    --editorial-soft: #202c3b;
}
html[data-ea-theme="dark"] .ea-editorial .ea-editorial-card-top { background: #1e365e; color: #dbe8ff; }
html[data-ea-theme="dark"] .ea-editorial .ea-editorial-card:nth-child(2) .ea-editorial-card-top { background: #273f63; color: #d5e5ff; }
html[data-ea-theme="dark"] .ea-editorial .ea-editorial-card:nth-child(3) .ea-editorial-card-top { background: #4e402a; color: #f9e1b5; }
html[data-ea-theme="dark"] .ea-editorial a { color: var(--editorial-accent) !important; }
html[data-ea-theme="dark"] .ea-editorial .ea-editorial-card h3 a { color: var(--editorial-ink) !important; }
html[data-ea-theme="dark"] .ea-editorial a.ea-editorial-button { color: #0b1018 !important; }
@media (max-width: 960px) {
    .ea-editorial .ea-editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ea-editorial .ea-editorial-article-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .ea-editorial .ea-editorial-contents { max-width: 760px; }
    .ea-editorial .ea-editorial-contents ol { columns: 2; column-gap: 2rem; }
    .ea-editorial .ea-editorial-contents li { break-inside: avoid; }
    .ea-editorial .ea-editorial-next-step { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .ea-editorial .ea-editorial-actions { align-items: start; text-align: left; }
}
@media (max-width: 600px) {
    .ea-editorial .ea-editorial-shell { width: calc(100% - 32px); }
    .ea-editorial .ea-editorial-hero { padding: 2.5rem 0; }
    .ea-editorial .ea-editorial-grid { grid-template-columns: minmax(0, 1fr); }
    .ea-editorial .ea-editorial-section-heading { align-items: start; flex-direction: column; gap: .75rem; }
    .ea-editorial .ea-editorial-contents ol { columns: 1; }
    .ea-editorial .ea-editorial-next-step { padding: 1.5rem; }
    .ea-editorial .ea-editorial-article-header { padding-top: 2.5rem; }
}
@media print {
    .ea-editorial { background: #fff; padding: 0; }
    .ea-editorial .ea-editorial-shell { width: 100%; }
    .ea-editorial .ea-editorial-article-layout { display: block; }
    .ea-editorial .ea-editorial-contents, .ea-editorial .ea-editorial-related, .ea-editorial .ea-editorial-next-step { display: none; }
    .ea-editorial .ea-editorial-prose h2 { break-after: avoid; }
}