/* 6.42.3 isolated editorial layout, aligned with the Engine's light shell. */
.k24-editorial-template .k24-ed-main{max-width:1320px;margin:0 auto;padding:24px 24px 72px;color:#172033;box-sizing:border-box;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.k24-editorial-template .k24-ed-breadcrumb{font-size:13px;line-height:1.55;color:#516078;margin:0 0 14px;overflow-wrap:anywhere}
.k24-editorial-template .k24-ed-breadcrumb a{color:#345477;text-decoration:underline;text-underline-offset:3px}
.k24-editorial-template .k24-ed-article{background:#fff;border:1px solid #e0e5eb;border-radius:20px;box-shadow:0 6px 24px rgba(15,23,42,.045);overflow:hidden}
.k24-editorial-template .k24-ed-hero{padding:28px 32px 0;min-width:0}
.k24-editorial-template .k24-ed-kicker{font-size:12px;letter-spacing:.085em;text-transform:uppercase;color:#41536a;font-weight:850;margin:0 0 10px;display:flex;align-items:center;gap:9px}
.k24-editorial-template .k24-ed-kicker::before{content:"";display:block;width:10px;height:10px;border-radius:2px;background:#ffd400;box-shadow:0 2px 0 #c9a800}
.k24-editorial-template .k24-ed-hero h1{font-size:clamp(30px,4vw,54px);line-height:1.12;letter-spacing:-.035em;font-weight:850;margin:0 0 14px;overflow-wrap:anywhere;color:#101828}
.k24-editorial-template .k24-ed-byline{display:flex;gap:8px 22px;flex-wrap:wrap;color:#526075;font-size:13px;font-weight:600;margin:0 0 20px}
.k24-editorial-template .k24-ed-preview{font-size:13px;background:#fff6d2;color:#624b05;border:1px solid #ead274;padding:9px 13px;border-radius:8px;margin:0 0 16px}
.k24-editorial-template .k24-ed-banner{margin:0;width:100%;max-width:none}
.k24-editorial-template .k24-ed-banner img{display:block;width:100%;height:auto!important;max-height:none!important;max-width:none;aspect-ratio:auto;object-fit:contain;border-radius:12px;background:#f1f4f8}
.k24-editorial-template .k24-ed-banner figcaption{font-size:12px;color:#66758a;margin:8px 0 0}
.k24-editorial-template .k24-ed-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding:28px 32px 42px;align-items:start}
.k24-editorial-template .k24-ed-grid.has-toc{grid-template-columns:minmax(0,1fr) minmax(220px,280px)}
.k24-editorial-template .k24-ed-content{grid-column:1;grid-row:1;min-width:0;font-size:17px;line-height:1.78;color:#243247;overflow-wrap:break-word}
.k24-editorial-template .k24-ed-content>p:first-child{font-size:19px;line-height:1.65;background:#f4f7fb;border-left:4px solid #ffd400;border-radius:0 10px 10px 0;padding:17px 20px;margin:0 0 24px}
.k24-editorial-template .k24-ed-content p{margin:0 0 1.1em;text-align:justify;hyphens:auto}
.k24-editorial-template .k24-ed-content h2{font-size:clamp(23px,2.4vw,31px);line-height:1.24;letter-spacing:-.022em;font-weight:800;color:#111b2d;margin:1.65em 0 .6em;scroll-margin-top:110px}
.k24-editorial-template .k24-ed-content h3{font-size:21px;line-height:1.35;color:#172033;margin:1.25em 0 .5em;scroll-margin-top:110px}
.k24-editorial-template .k24-ed-content ul,.k24-editorial-template .k24-ed-content ol{padding-left:1.5em;margin:0 0 1.15em}
.k24-editorial-template .k24-ed-content li{margin:0 0 .35em}
.k24-editorial-template .k24-ed-content a,.k24-editorial-template .k24-ed-rail a{color:#155a9b;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.k24-editorial-template .k24-ed-content table{display:block;max-width:100%;width:100%;overflow-x:auto;border-collapse:collapse;margin:1.3em 0;font-size:15px;line-height:1.5;scrollbar-width:thin}
.k24-editorial-template .k24-ed-content th,.k24-editorial-template .k24-ed-content td{padding:11px 13px;border:1px solid #e0e5eb;vertical-align:top;text-align:left;min-width:110px}
.k24-editorial-template .k24-ed-content th{background:#edf2f7;color:#15263b;font-weight:800}
.k24-editorial-template .k24-ed-content tr:nth-child(even) td{background:#f8fafc}
.k24-editorial-template .k24-ed-content img{max-width:100%;height:auto}
.k24-editorial-template .k24-ed-rail{grid-column:2;grid-row:1;position:sticky;top:100px;min-width:0;max-height:calc(100vh - 120px);overflow-y:auto;border:1px solid #dfe5eb;border-radius:12px;background:#f8fafc;padding:17px;font-size:14px;line-height:1.55}
.k24-editorial-template .k24-ed-rail nav p{margin:0 0 10px;color:#172033}
.k24-editorial-template .k24-ed-rail nav ul{list-style:none;padding:0;margin:0}
.k24-editorial-template .k24-ed-rail nav li{padding:8px 0;border-top:1px solid #e1e6ec}
.k24-editorial-template .k24-ed-related{margin-top:34px;padding-top:6px;border-top:1px solid #e0e5eb}
.k24-editorial-template .k24-ed-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.k24-editorial-template .k24-ed-card{padding:14px;border:1px solid #dfe5eb;border-radius:12px;background:#f8fafc;font-size:14px;line-height:1.5;min-width:0}
.k24-editorial-template .k24-ed-card a{display:grid;gap:9px}.k24-editorial-template .k24-ed-card img{width:100%;height:126px;object-fit:contain;border-radius:8px;background:#fff}
.k24-editorial-template .k24-ed-card p{margin:9px 0 0;text-align:left;font-size:13px;color:#526075}
@media(max-width:960px){.k24-editorial-template .k24-ed-main{padding:16px 14px 48px}.k24-editorial-template .k24-ed-grid.has-toc{grid-template-columns:minmax(0,1fr)}.k24-editorial-template .k24-ed-rail{grid-column:1;grid-row:1;position:static;max-height:none}.k24-editorial-template .k24-ed-grid.has-toc .k24-ed-content{grid-row:2}.k24-editorial-template .k24-ed-hero{padding:22px 20px 0}.k24-editorial-template .k24-ed-grid{padding:20px;gap:20px}.k24-editorial-template .k24-ed-content p{text-align:left}}
@media(max-width:560px){.k24-editorial-template .k24-ed-main{padding:12px 8px 38px}.k24-editorial-template .k24-ed-article{border-radius:12px}.k24-editorial-template .k24-ed-hero{padding:18px 14px 0}.k24-editorial-template .k24-ed-grid{padding:16px 14px 26px}.k24-editorial-template .k24-ed-content{font-size:16px;line-height:1.7}.k24-editorial-template .k24-ed-content>p:first-child{font-size:17px;padding:12px}.k24-editorial-template .k24-ed-cards{grid-template-columns:1fr}.k24-editorial-template .k24-ed-hero h1{font-size:30px}.k24-editorial-template .k24-ed-content h2{scroll-margin-top:20px}}
.k24-editorial-template .k24-ed-rail summary{cursor:pointer;font-weight:800;color:#172033;margin-bottom:10px}
