/* Design variant "pulse": bold hero, author card, TOC on the left, latest-pages cards.
   Active for body.sp-v-pulse. Colors come from --c1 (main) and --c2 (second) set in wp_head. */
body.sp-v-pulse{--ink:#14181f;--mut:#5a6473;--line:#e4e8ee;--bg:#f4f6f9;--c1d:color-mix(in srgb,var(--c1) 78%,#000);--c1l:color-mix(in srgb,var(--c1) 10%,#fff);--r:16px;background:var(--bg);color:var(--ink)}
body.sp-v-pulse .sp-hero{position:relative;overflow:hidden;color:#fff;background:var(--c1d);padding:34px 0 0;isolation:isolate}
body.sp-v-pulse .sp-hero__bg{position:absolute;inset:0;z-index:-1;background:
 radial-gradient(900px 420px at 88% -10%,color-mix(in srgb,var(--c2) 55%,transparent),transparent 62%),
 radial-gradient(700px 380px at -8% 110%,color-mix(in srgb,#fff 16%,transparent),transparent 60%),
 linear-gradient(135deg,var(--c1) 0%,var(--c1d) 100%)}
body.sp-v-pulse .sp-hero__bg::before{content:"2026";position:absolute;right:-1%;bottom:-14%;font:900 clamp(140px,26vw,360px)/1 system-ui,sans-serif;letter-spacing:-.04em;color:transparent;-webkit-text-stroke:2px rgba(255,255,255,.14)}
body.sp-v-pulse .sp-hero__bg::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(115deg,transparent 0 46px,rgba(255,255,255,.035) 46px 48px)}
body.sp-v-pulse .sp-hero__in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:36px;align-items:center;padding-bottom:70px}
body.sp-v-pulse .sp-hero:not(.sp-hero--front) .sp-hero__in{padding-bottom:62px}
body.sp-v-pulse .sp-hero .space-breadcrumbs,body.sp-v-pulse .sp-hero .space-breadcrumbs a,body.sp-v-pulse .sp-hero .space-breadcrumbs span{color:rgba(255,255,255,.82);font-size:.82em}
body.sp-v-pulse .sp-hero .space-single-aces-breadcrumbs{margin:0 0 14px}
body.sp-v-pulse .sp-pill{display:inline-block;margin:0 0 12px;padding:.32em .9em;border-radius:999px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);font-size:.76em;font-weight:700;letter-spacing:.09em;text-transform:uppercase;backdrop-filter:blur(4px)}
body.sp-v-pulse .sp-hero h1{margin:0 0 14px;color:#fff;font-weight:800;font-size:clamp(28px,4.2vw,50px);line-height:1.1;letter-spacing:-.015em;text-wrap:balance}
body.sp-v-pulse .sp-lead{margin:0;max-width:62ch;font-size:clamp(15px,1.5vw,18px);line-height:1.6;color:rgba(255,255,255,.92)}
body.sp-v-pulse .sp-lead a{color:#fff;text-decoration:underline}
body.sp-v-pulse .sp-hero__img{margin:0;position:relative;justify-self:end;width:100%}
body.sp-v-pulse .sp-hero__img::before{content:"";position:absolute;inset:14px -14px -14px 14px;border-radius:22px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.26)}
body.sp-v-pulse .sp-hero__pic{position:relative;display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:20px;box-shadow:0 24px 50px -18px rgba(0,0,0,.55)}
body.sp-v-pulse .sp-art{display:grid;place-items:center;width:100%;aspect-ratio:16/10;border-radius:20px;background:linear-gradient(135deg,hsl(var(--h,200) 70% 52%),hsl(calc(var(--h,200) + 48) 70% 38%));box-shadow:0 24px 50px -18px rgba(0,0,0,.45)}
body.sp-v-pulse .sp-art b{font:900 clamp(40px,8vw,84px)/1 system-ui,sans-serif;color:rgba(255,255,255,.92)}
/* author card */
body.sp-v-pulse .sp-meta{position:relative;z-index:2;display:grid;grid-template-columns:1.3fr 1.25fr 1fr .8fr;gap:0;margin:-40px 0 0;background:#fff;color:var(--ink);border-radius:var(--r);box-shadow:0 14px 34px -14px rgba(16,24,40,.35);overflow:hidden}
body.sp-v-pulse .sp-hero--front .sp-meta{margin-top:-46px}
body.sp-v-pulse .sp-meta__c{display:flex;align-items:center;gap:12px;padding:14px 18px;min-width:0}
body.sp-v-pulse .sp-meta__c+.sp-meta__c{border-left:1px solid var(--line)}
body.sp-v-pulse .sp-meta .sp-ic{flex:none;width:38px;height:38px;padding:8px;border-radius:12px;background:var(--c1l);color:var(--c1)}
body.sp-v-pulse .sp-meta__av{flex:none;width:44px;height:44px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 3px var(--c1l)}
body.sp-v-pulse .sp-meta__av--init{display:grid;place-items:center;background:var(--c1);color:#fff;font-weight:800}
body.sp-v-pulse .sp-meta__k{display:block;font-size:.7em;letter-spacing:.09em;text-transform:uppercase;color:var(--mut);font-weight:700}
body.sp-v-pulse .sp-meta__v{display:block;font-weight:700;font-size:.93em;line-height:1.3;overflow:hidden;text-overflow:ellipsis}
body.sp-v-pulse .sp-meta__v a{color:inherit;text-decoration:none;border-bottom:1px dashed color-mix(in srgb,var(--c1) 50%,transparent)}
body.sp-v-pulse .sp-meta__v em{display:block;font-style:normal;font-weight:500;font-size:.85em;color:var(--mut)}
/* category tiles (front page) */
body.sp-v-pulse .sp-tiles{position:relative;z-index:2;list-style:none;margin:16px 0 0;padding:0 0 26px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
body.sp-v-pulse .sp-tiles li{margin:0;padding:0;list-style:none}
body.sp-v-pulse .sp-tiles a{display:block;height:100%;padding:16px 18px;border-radius:var(--r);background:rgba(255,255,255,.96);color:var(--ink);text-decoration:none;box-shadow:0 8px 22px -12px rgba(16,24,40,.45);transition:transform .15s,box-shadow .15s}
body.sp-v-pulse .sp-tiles a:hover{transform:translateY(-3px);box-shadow:0 16px 30px -14px rgba(16,24,40,.5)}
body.sp-v-pulse .sp-tiles .sp-ic{float:right;width:34px;height:34px;padding:7px;border-radius:10px;background:var(--c1l);color:var(--c1)}
body.sp-v-pulse .sp-tiles strong{display:block;font-size:1.02em;line-height:1.25;margin:0 0 4px;max-width:78%}
body.sp-v-pulse .sp-tiles span{display:block;font-size:.84em;color:var(--mut);line-height:1.4}
/* layout: TOC left */
body.sp-v-pulse .sp-pulse-section{padding:34px 0 40px}
body.sp-v-pulse .sp-layout{display:block}
body.sp-v-pulse .sp-layout--toc{display:grid;grid-template-columns:268px minmax(0,1fr);gap:38px;align-items:start}
body.sp-v-pulse .sp-toc{position:sticky;top:92px;max-height:calc(100vh - 118px);overflow:auto;scrollbar-width:thin}
body.sp-v-pulse .sp-toc__in{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:16px 8px 12px 8px;box-shadow:0 6px 18px -14px rgba(16,24,40,.35)}
body.sp-v-pulse .sp-toc__t{display:flex;align-items:center;gap:8px;margin:0 0 8px;padding:0 10px;font-size:.74em;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--mut)}
body.sp-v-pulse .sp-toc__t .sp-ic{width:18px;height:18px;color:var(--c1)}
body.sp-v-pulse .sp-toc__l{margin:0;padding:0;list-style:none;counter-reset:t}
body.sp-v-pulse .sp-toc__l li{margin:0;padding:0;list-style:none;counter-increment:t}
body.sp-v-pulse .sp-toc__l a{display:flex;gap:8px;padding:7px 10px;border-radius:9px;border-left:3px solid transparent;color:#2b3340;text-decoration:none;font-size:.86em;line-height:1.35}
body.sp-v-pulse .sp-toc__l a::before{content:counter(t);flex:none;min-width:1.4em;font-weight:700;color:var(--mut)}
body.sp-v-pulse .sp-toc__l a:hover{background:var(--c1l)}
body.sp-v-pulse .sp-toc__l a.is-on{background:var(--c1l);border-left-color:var(--c1);color:var(--c1d);font-weight:700}
body.sp-v-pulse .sp-toc__l a.is-on::before{color:var(--c1)}
/* article */
body.sp-v-pulse .sp-article{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:clamp(18px,3vw,38px);box-shadow:0 6px 22px -16px rgba(16,24,40,.35);font-size:1.02em;line-height:1.7}
body.sp-v-pulse .sp-article h2{position:relative;margin:1.7em 0 .6em;padding-left:16px;font-weight:800;line-height:1.2;scroll-margin-top:96px}
body.sp-v-pulse .sp-article h2::before{content:"";position:absolute;left:0;top:.12em;bottom:.12em;width:5px;border-radius:5px;background:linear-gradient(var(--c1),var(--c2))}
body.sp-v-pulse .sp-article h2:first-child{margin-top:0}
body.sp-v-pulse .sp-article h3{scroll-margin-top:96px;font-weight:700}
body.sp-v-pulse .sp-article a{color:var(--c1d)}
body.sp-v-pulse .sp-article table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;font-size:.93em}
body.sp-v-pulse .sp-article thead th{background:var(--c1);color:#fff;font-weight:700;text-align:left;padding:.7em .9em}
body.sp-v-pulse .sp-article tbody th,body.sp-v-pulse .sp-article tbody td{padding:.65em .9em;border-top:1px solid var(--line);vertical-align:top}
body.sp-v-pulse .sp-article tbody tr:nth-child(even) th,body.sp-v-pulse .sp-article tbody tr:nth-child(even) td{background:#f8fafc}
body.sp-v-pulse .sp-article tbody th{text-align:left;font-weight:700}
body.sp-v-pulse .sp-article blockquote{margin:1.6em 0;padding:1em 1.2em;border-radius:12px;background:var(--c1l);border:1px solid color-mix(in srgb,var(--c1) 25%,#fff);border-left:5px solid var(--c1)}
body.sp-v-pulse .sp-article blockquote p{margin:0}
body.sp-v-pulse .sp-article img{max-width:100%;height:auto;border-radius:12px}
body.sp-v-pulse .sp-article .sp-ab{display:flex;gap:18px;align-items:flex-start;margin:2.4em 0 0;padding:1.2em 1.3em;border-radius:14px;background:var(--c1l);border:1px solid color-mix(in srgb,var(--c1) 20%,#fff)}
body.sp-v-pulse .sp-article .sp-ab__img{width:76px;height:76px;border-radius:50%;flex:none;object-fit:cover}
body.sp-v-pulse .sp-article .sp-ab__k{margin:0;font-size:.74em;letter-spacing:.08em;text-transform:uppercase;color:var(--c1d);font-weight:700}
body.sp-v-pulse .sp-article .sp-ab__n{margin:.1em 0 .4em;font-size:1.2em;font-weight:800}
body.sp-v-pulse .sp-article .sp-ab__n a{color:inherit;text-decoration:none}
body.sp-v-pulse .sp-article .sp-ab__b p{margin:0 0 .5em}
body.sp-v-pulse .sp-article .sp-ab__m{font-size:.86em;color:var(--mut)}
/* latest pages */
body.sp-v-pulse .sp-latest{margin:34px 0 0}
body.sp-v-pulse .sp-latest__t{display:flex;align-items:center;gap:10px;margin:0 0 16px;font-size:1.45em;font-weight:800}
body.sp-v-pulse .sp-latest__t::before{content:"";width:12px;height:12px;background:var(--c1);transform:rotate(45deg);border-radius:3px}
body.sp-v-pulse .sp-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
body.sp-v-pulse .sp-cards li{margin:0;padding:0;list-style:none}
body.sp-v-pulse .sp-cards a{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;color:var(--ink);text-decoration:none;box-shadow:0 6px 18px -14px rgba(16,24,40,.4);transition:transform .15s,box-shadow .15s}
body.sp-v-pulse .sp-cards a:hover{transform:translateY(-3px);box-shadow:0 16px 30px -16px rgba(16,24,40,.5)}
body.sp-v-pulse .sp-card__img{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--c1l)}
body.sp-v-pulse .sp-card__img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}
body.sp-v-pulse .sp-cards a:hover .sp-card__img img{transform:scale(1.04)}
body.sp-v-pulse .sp-card__img .sp-art{border-radius:0;box-shadow:none;aspect-ratio:16/9}
body.sp-v-pulse .sp-card__t{display:block;padding:14px 16px 4px;font-weight:800;font-size:1.02em;line-height:1.3}
body.sp-v-pulse .sp-card__m{display:block;padding:0 16px 14px;font-size:.8em;color:var(--mut)}
@media(max-width:1100px){body.sp-v-pulse .sp-layout--toc{grid-template-columns:230px minmax(0,1fr);gap:26px}body.sp-v-pulse .sp-tiles{grid-template-columns:repeat(2,1fr)}body.sp-v-pulse .sp-meta{grid-template-columns:1fr 1fr}body.sp-v-pulse .sp-meta__c:nth-child(3){border-left:0}body.sp-v-pulse .sp-meta__c:nth-child(n+3){border-top:1px solid var(--line)}}
@media(max-width:900px){body.sp-v-pulse .sp-hero__in{grid-template-columns:1fr;gap:24px}body.sp-v-pulse .sp-hero__img{max-width:520px;justify-self:start}body.sp-v-pulse .sp-layout--toc{grid-template-columns:1fr}body.sp-v-pulse .sp-toc{position:static;max-height:none}body.sp-v-pulse .sp-toc__l{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}body.sp-v-pulse .sp-cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){body.sp-v-pulse .sp-meta{grid-template-columns:1fr;margin-top:-30px}body.sp-v-pulse .sp-meta__c+.sp-meta__c{border-left:0;border-top:1px solid var(--line)}body.sp-v-pulse .sp-tiles{grid-template-columns:1fr}body.sp-v-pulse .sp-toc__l{grid-template-columns:1fr}body.sp-v-pulse .sp-cards{grid-template-columns:1fr}body.sp-v-pulse .sp-article .sp-ab{flex-direction:column}body.sp-v-pulse .sp-article table{display:block;overflow-x:auto}}
html{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body.sp-v-pulse *{transition:none!important}}
