/* Xarmo News article variant layer.
   Purpose chooses one of two registered article treatments. Section never changes this stylesheet selection. */

.xarmo-news-variant-summary{width:min(100%,820px);margin:0 auto clamp(1.8rem,4vw,3rem);padding:1rem 1.1rem;border:1px solid var(--xarmo-border,#3f2a64);border-left:4px solid var(--xarmo-accent,#ff8a5b);background:var(--xarmo-surface-2,#24133f)}
.xarmo-news-variant-summary>p{margin:0 0 .55rem}.xarmo-news-variant-summary ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem 1rem;margin:0;padding-left:1.1rem}.xarmo-news-variant-summary li{font-size:.9rem;line-height:1.45}
.xarmo-news-variant-module{margin:1.2rem 0}.xarmo-news-variant-fact-grid,.xarmo-news-variant-term-grid,.xarmo-news-variant-era-grid,.xarmo-news-variant-decision,.xarmo-news-variant-roundup{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.xarmo-news-variant-fact-grid>div,.xarmo-news-variant-term-grid>div,.xarmo-news-variant-era-grid>div,.xarmo-news-variant-decision>div,.xarmo-news-variant-roundup>div{display:grid;gap:.25rem;padding:.85rem;border:1px solid var(--xarmo-border,#3f2a64);background:rgba(26,18,48,.65)}
.xarmo-news-variant-context{float:right;width:min(42%,280px);margin:.4rem 0 1rem 1.3rem;padding:.9rem;border-top:3px solid var(--xarmo-accent,#ff8a5b);background:rgba(26,18,48,.7)}
.xarmo-news-variant-steps,.xarmo-news-variant-trail{display:grid;gap:.7rem;padding-left:1.3rem}.xarmo-news-variant-steps li{display:grid;grid-template-columns:minmax(120px,.45fr) minmax(0,1.55fr);gap:1rem;padding-bottom:.65rem;border-bottom:1px solid var(--xarmo-border,#3f2a64)}
.xarmo-news-variant-reveal{display:grid;gap:.4rem;padding:1.25rem;border:1px solid var(--xarmo-border,#3f2a64);border-left:6px solid var(--xarmo-accent-2,#5df2d6);background:linear-gradient(135deg,rgba(108,59,209,.25),rgba(26,18,48,.75))}.xarmo-news-variant-reveal strong{font-size:clamp(1.3rem,3vw,2rem);line-height:1.15}
.xarmo-news-variant-timeline{display:grid;grid-template-columns:auto 1fr auto 1fr auto;gap:.55rem;align-items:center;font-weight:900}.xarmo-news-variant-timeline i{display:block;height:2px;background:var(--xarmo-border,#3f2a64)}
.xarmo-news-variant-checklist{padding:0;list-style:none}.xarmo-news-variant-checklist li{padding:.7rem .8rem .7rem 2.3rem;border-bottom:1px solid var(--xarmo-border,#3f2a64);background:linear-gradient(90deg,rgba(93,242,214,.08),transparent 65%);position:relative}.xarmo-news-variant-checklist li:before{content:"✓";position:absolute;left:.8rem;color:var(--xarmo-accent-2,#5df2d6);font-weight:900}
.xarmo-news-variant-before-after,.xarmo-news-variant-scenarios{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.xarmo-news-variant-before-after>div,.xarmo-news-variant-scenarios>div{display:grid;gap:.35rem;padding:1rem;border:1px solid var(--xarmo-border,#3f2a64);background:rgba(26,18,48,.62)}
.xarmo-news-variant-pullout{margin:1.4rem 0;padding:1.2rem 0 1.2rem 1.15rem;border-left:5px solid var(--xarmo-accent,#ff8a5b);font-size:clamp(1.25rem,2.7vw,1.8rem);line-height:1.35}
.xarmo-news-template--dispatch .xarmo-news-article-header,.xarmo-news-template--magazine .xarmo-news-article-header{max-width:940px}.xarmo-news-template--deep-dive .xarmo-news-article-body,.xarmo-news-template--workshop .xarmo-news-article-body,.xarmo-news-template--roundup .xarmo-news-article-body{width:min(100%,800px)}.xarmo-news-template--longform .xarmo-news-article-body{width:min(100%,680px)}

/* Shared News link treatment. Links are distinguished by colour/weight and focus state, never browser underlines. */
.xarmo-news-page a,.xarmo-news-page a:hover,.xarmo-news-page a:focus-visible{text-decoration:none!important}
.xarmo-news-topic-section>header h2 a{color:inherit}
.xarmo-news-topic-section>header h2 a:hover,.xarmo-news-topic-section>header h2 a:focus-visible{color:var(--xarmo-accent-2,#5df2d6)}

@media(max-width:760px){.xarmo-news-variant-summary ul,.xarmo-news-variant-fact-grid,.xarmo-news-variant-term-grid,.xarmo-news-variant-era-grid,.xarmo-news-variant-decision,.xarmo-news-variant-roundup,.xarmo-news-variant-before-after,.xarmo-news-variant-scenarios{grid-template-columns:1fr}.xarmo-news-variant-context{float:none;width:auto;margin:1rem 0}.xarmo-news-variant-steps li{grid-template-columns:1fr;gap:.2rem}.xarmo-news-variant-timeline{grid-template-columns:1fr}.xarmo-news-variant-timeline i{width:2px;height:1.2rem;margin-left:.4rem}}
