/*! AKNB single article, design v2. Loaded only when the v2 design renders (inc/single.php); every rule hangs off body.cc-sg2, so the classic design is untouched. */
html body.cc-sg2 .cc-sg{position:relative}
html body.cc-sg2 .cc-sg-wrap{max-inline-size:1240px;margin-inline:auto;padding:16px var(--cc-gutter,clamp(1rem,2vw,2rem)) clamp(48px,7vw,96px)}

/* ---- reading progress ---- */
html body.cc-sg2 .cc-sg-progress{position:fixed;inset-block-start:0;inset-inline:0;z-index:9990;block-size:3px;pointer-events:none}
html body.cc-sg2 .cc-sg-progress span{display:block;inline-size:100%;block-size:100%;transform:scaleX(0);transform-origin:0 50%;background:linear-gradient(90deg,#38BDF8,var(--cc-cobalt));box-shadow:0 0 12px rgb(47 123 255 / .7)}
html[dir="rtl"] body.cc-sg2 .cc-sg-progress span{transform-origin:100% 50%}

/* ---- series bar (markup unchanged, restyled) ---- */
html body.cc-sg2 .cc-series-bar{display:flex;align-items:center;gap:12px;margin:0 0 16px;padding:8px 10px;border:1px solid var(--cc-border);border-radius:999px;background:var(--cc-surface);box-shadow:none}
html body.cc-sg2 .cc-series-bar__pill{flex:none;display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border:0;border-radius:999px;background:var(--cc-cobalt-grad);color:#fff;font:700 11px/1 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;text-decoration:none;box-shadow:inset 0 1px 0 rgb(255 255 255 / .3),0 8px 18px -8px rgb(47 123 255 / .8)}
html body.cc-sg2 .cc-series-bar__current{flex:1;min-inline-size:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 13.5px/1 var(--font-body);color:var(--cc-ink-2)}
html body.cc-sg2 .cc-series-bar__default{flex:none;padding:8px 12px;border:0;border-radius:999px;font:700 10.5px/1 var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:color-mix(in srgb,var(--cc-cobalt) 78%,var(--cc-ink));background:color-mix(in srgb,var(--cc-cobalt) 13%,transparent)}
html body.cc-sg2 .cc-series-bar__index{flex:none;display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border:1px solid var(--cc-border);border-radius:999px;background:var(--cc-bg);color:var(--cc-ink);font:700 11px/1 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:border-color .15s ease}
html body.cc-sg2 .cc-series-bar__index:hover{border-color:var(--cc-cobalt)}

/* ---- hero ---- */
html body.cc-sg2 .cc-sg-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-end;min-block-size:clamp(360px,46vw,540px);border-radius:28px;color:#fff;background:#0A1F4D}
html body.cc-sg2 .cc-sg-hero__media{position:absolute;z-index:-2;inset:0}
html body.cc-sg2 .cc-sg-hero__media img{display:block;inline-size:100%;block-size:100%;object-fit:cover}
html body.cc-sg2 .cc-sg-hero::before{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,rgb(6 12 28 / .3) 0%,rgb(6 12 28 / .52) 45%,rgb(6 12 28 / .93) 100%),radial-gradient(90% 70% at 0% 100%,rgb(47 123 255 / .35),transparent 60%)}
html body.cc-sg2 .cc-sg-hero__body{display:grid;gap:14px;justify-items:start;inline-size:100%;max-inline-size:920px;padding:clamp(24px,4.5vw,56px)}
html body.cc-sg2 .cc-sg-pill{display:inline-flex;padding:8px 14px;border:1px solid rgb(255 255 255 / .32);border-radius:999px;background:rgb(255 255 255 / .14);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;font:700 11px/1 var(--font-mono);letter-spacing:.14em;text-transform:uppercase;text-decoration:none}
html body.cc-sg2 .cc-sg-pill:hover{background:rgb(255 255 255 / .24);color:#fff}
html body.cc-sg2 .cc-sg-title{margin:0;font:700 clamp(32px,5vw,60px)/1.06 var(--font-display);letter-spacing:-.022em;color:#fff;text-wrap:balance}
html body.cc-sg2 .cc-sg-sub{margin:0;max-inline-size:62ch;font-size:clamp(16px,1.6vw,19px);line-height:1.6;color:rgb(255 255 255 / .87)}
html body.cc-sg2 .cc-sg-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin-block-start:6px;font:600 13px/1 var(--font-body);color:rgb(255 255 255 / .84)}
html body.cc-sg2 .cc-sg-meta__by{display:inline-flex;align-items:center;gap:10px}
html body.cc-sg2 .cc-sg-meta__by b{color:#fff}
html body.cc-sg2 .cc-sg-meta__avatar{inline-size:36px;block-size:36px;border:2px solid rgb(255 255 255 / .5);border-radius:50%}
html body.cc-sg2 .cc-sg-meta__item{display:inline-flex;align-items:center;gap:8px}

/* designed cover (articles without a photo): hero, cards */
html body.cc-sg2 .cc-sg-cover{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:10px;overflow:hidden;color:#fff;background:radial-gradient(120% 90% at 0% 0%,color-mix(in srgb,var(--b) 65%,transparent),transparent 60%),linear-gradient(150deg,var(--a),var(--b))}
html body.cc-sg2 .cc-sg-cover::before{content:'';position:absolute;inset:0;opacity:.35;background-image:linear-gradient(rgb(255 255 255 / .09) 1px,transparent 1px),linear-gradient(90deg,rgb(255 255 255 / .09) 1px,transparent 1px);background-size:36px 36px;-webkit-mask-image:radial-gradient(75% 75% at 50% 45%,#000,transparent);mask-image:radial-gradient(75% 75% at 50% 45%,#000,transparent)}
html body.cc-sg2 .cc-sg-cover__ico{position:relative;display:grid;place-items:center;inline-size:76px;block-size:76px;border:1px solid rgb(255 255 255 / .3);border-radius:22px;background:rgb(255 255 255 / .14);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 22px 40px -18px rgb(0 0 0 / .6)}
html body.cc-sg2 .cc-sg-cover__ico svg{inline-size:50%;block-size:50%}
html body.cc-sg2 .cc-sg-cover__label{position:relative;font:700 10.5px/1 var(--font-mono);letter-spacing:.16em;text-transform:uppercase;color:rgb(255 255 255 / .88)}
html body.cc-sg2 .cc-sg-hero .cc-sg-cover{place-content:start end;padding:clamp(20px,4vw,48px)}
html body.cc-sg2 .cc-sg-hero .cc-sg-cover__ico{inline-size:clamp(96px,15vw,190px);block-size:clamp(96px,15vw,190px);border-radius:28%}
html body.cc-sg2 .cc-sg-hero .cc-sg-cover__label{display:none}

/* ---- layout: share rail | reading column | contents ---- */
html body.cc-sg2 .cc-sg-layout{display:grid;grid-template-columns:56px minmax(0,720px) 280px;justify-content:center;align-items:start;gap:clamp(24px,3.5vw,56px);margin-block-start:clamp(28px,4vw,48px)}
html body.cc-sg2 .cc-sg-rail{position:sticky;inset-block-start:120px;align-self:start}
html body.cc-sg2 .cc-sg-share{display:grid;justify-items:center;gap:10px}
html body.cc-sg2 .cc-sg-share__label{display:none}
html body.cc-sg2 .cc-sg-share__btn{display:grid;place-items:center;inline-size:46px;block-size:46px;padding:0;border:1px solid var(--cc-border);border-radius:14px;background:var(--cc-bg);color:var(--cc-ink-2);cursor:pointer;text-decoration:none;transition:border-color .15s ease,color .15s ease,transform .15s ease,background-color .15s ease}
html body.cc-sg2 .cc-sg-share__btn svg{inline-size:18px;block-size:18px}
html body.cc-sg2 .cc-sg-share__btn:hover{border-color:var(--cc-cobalt);color:var(--cc-ink);transform:translateY(-1px)}
html body.cc-sg2 .cc-sg-share__btn:focus-visible{outline:2px solid var(--cc-cobalt);outline-offset:2px}
html body.cc-sg2 .cc-sg-share__btn[aria-pressed=true]{border-color:transparent;background:var(--cc-cobalt-grad);color:#fff}
html body.cc-sg2 .cc-sg-share__btn[aria-pressed=true] svg{fill:currentColor}
html body.cc-sg2 .cc-sg-toc{position:sticky;inset-block-start:112px;align-self:start;max-block-size:calc(100vh - 140px);overflow:auto;padding:20px;border:1px solid var(--cc-border);border-radius:22px;background:var(--cc-surface)}
html body.cc-sg2 .cc-sg-toc__title{margin:0 0 12px;padding-inline:8px;font:700 10.5px/1 var(--font-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--cc-ink-3)}
html body.cc-sg2 .cc-sg-toc ol,html body.cc-sg2 .cc-sg-tocm ol{display:grid;gap:2px;margin:0;padding:0;list-style:none}
html body.cc-sg2 .cc-sg-toc li,html body.cc-sg2 .cc-sg-tocm li{margin:0;padding:0}
html body.cc-sg2 .cc-sg-toc a,html body.cc-sg2 .cc-sg-tocm a{display:flex;align-items:baseline;gap:10px;padding:9px 10px;border-radius:10px;font-size:14px;line-height:1.35;color:var(--cc-ink-3);text-decoration:none;transition:color .15s ease,background-color .15s ease}
html body.cc-sg2 .cc-sg-toc a span,html body.cc-sg2 .cc-sg-tocm a span{flex:none;font:700 11px/1 var(--font-mono);letter-spacing:.06em;opacity:.8}
html body.cc-sg2 .cc-sg-toc a:hover,html body.cc-sg2 .cc-sg-tocm a:hover{color:var(--cc-ink);background:color-mix(in srgb,var(--cc-ink) 5%,transparent)}
html body.cc-sg2 .cc-sg-toc a.is-active{font-weight:700;color:color-mix(in srgb,var(--cc-cobalt) 78%,var(--cc-ink));background:color-mix(in srgb,var(--cc-cobalt) 12%,transparent)}
html body.cc-sg2 .cc-sg-toc__read{margin:14px 0 0;padding:14px 8px 0;border-block-start:1px solid var(--cc-border);font:600 12px/1.4 var(--font-mono);letter-spacing:.06em;color:var(--cc-ink-3)}
html body.cc-sg2 .cc-sg-toc__read span{color:color-mix(in srgb,var(--cc-cobalt) 78%,var(--cc-ink))}
html body.cc-sg2 .cc-sg-tocm{display:none;margin-block-end:28px;border:1px solid var(--cc-border);border-radius:18px;background:var(--cc-surface)}
html body.cc-sg2 .cc-sg-tocm summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;font:700 11px/1 var(--font-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--cc-ink);cursor:pointer;list-style:none}
html body.cc-sg2 .cc-sg-tocm summary::-webkit-details-marker{display:none}
html body.cc-sg2 .cc-sg-tocm summary b{padding:4px 9px;border-radius:999px;color:#fff;background:var(--cc-cobalt)}
html body.cc-sg2 .cc-sg-tocm ol{padding:0 10px 12px}

/* ---- reading column ---- */
html body.cc-sg2 .cc-sg-prose{counter-reset:sg;font-size:18px;line-height:1.8;color:var(--cc-ink-2);overflow-wrap:break-word}
html body.cc-sg2 .cc-sg-prose > * + *{margin-block-start:1.25em}
html body.cc-sg2 .cc-sg-prose p{margin-block-end:0;font-size:inherit;line-height:inherit;color:var(--cc-ink-2)}
html body.cc-sg2 .cc-sg-prose > p:first-of-type{font-size:clamp(19px,2vw,21.5px);line-height:1.7;font-weight:500;color:var(--cc-ink)}
html body.cc-sg2 .cc-sg-prose h2{counter-increment:sg;margin:2.3em 0 0;scroll-margin-block-start:110px;font:700 clamp(26px,3vw,34px)/1.2 var(--font-display);letter-spacing:-.012em;color:var(--cc-ink)}
html body.cc-sg2 .cc-sg-prose h2::before{content:counter(sg,decimal-leading-zero);display:block;margin-block-end:10px;font:700 12px/1 var(--font-mono);letter-spacing:.16em;color:color-mix(in srgb,var(--cc-cobalt) 78%,var(--cc-ink))}
html body.cc-sg2 .cc-sg-prose h2::after{content:'';display:block;inline-size:44px;block-size:3px;margin-block-start:14px;border-radius:2px;background:var(--cc-cobalt-grad)}
html body.cc-sg2 .cc-sg-prose h3{margin:1.8em 0 0;scroll-margin-block-start:110px;font:700 clamp(20px,2.2vw,24px)/1.3 var(--font-display);color:var(--cc-ink)}
html body.cc-sg2 .cc-sg-prose h2 + *,html body.cc-sg2 .cc-sg-prose h3 + *{margin-block-start:1em}
html body.cc-sg2 .cc-sg-prose strong{font-weight:700;color:var(--cc-ink)}
html body.cc-sg2 .cc-sg-prose a{color:color-mix(in srgb,var(--cc-cobalt) 78%,var(--cc-ink));text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--cc-cobalt) 45%,transparent);text-decoration-thickness:1.5px;text-underline-offset:3px;transition:color .15s ease,text-decoration-color .15s ease}
html body.cc-sg2 .cc-sg-prose a:hover{color:var(--cc-ink);text-decoration-color:var(--cc-cobalt)}
html body.cc-sg2 .cc-sg-prose ul,html body.cc-sg2 .cc-sg-prose ol{margin-inline:0;padding-inline-start:1.4em;color:var(--cc-ink-2)}
html body.cc-sg2 .cc-sg-prose li{margin:.5em 0;padding-inline-start:.2em;font-size:inherit;line-height:inherit;color:var(--cc-ink-2)}
html body.cc-sg2 .cc-sg-prose li::marker{color:var(--cc-cobalt);font-weight:700}
html body.cc-sg2 .cc-sg-prose li::before{content:none}
html body.cc-sg2 .cc-sg-prose blockquote{margin-inline:0;padding:20px 24px;border-inline-start:4px solid var(--cc-cobalt);border-radius:0 18px 18px 0;background:color-mix(in srgb,var(--cc-cobalt) 8%,transparent)}
html body.cc-sg2 .cc-sg-prose blockquote p{font:500 20px/1.6 var(--font-display);color:var(--cc-ink)}
html body.cc-sg2 .cc-sg-prose img{max-inline-size:100%;block-size:auto;border-radius:20px}
html body.cc-sg2 .cc-sg-prose img[data-cc-dup-hidden]{display:none}
html body.cc-sg2 .cc-sg-prose figure{margin:2em 0}
html body.cc-sg2 .cc-sg-prose figure img{display:block;inline-size:100%}
html body.cc-sg2 .cc-sg-prose figcaption{margin-block-start:10px;font-size:13.5px;line-height:1.5;text-align:center;color:var(--cc-ink-3)}
html body.cc-sg2 .cc-sg-prose .cc-article-extra-img{max-inline-size:none;margin:2em 0;overflow:hidden;border-radius:20px;box-shadow:var(--cc-shadow-md)}
html body.cc-sg2 .cc-sg-prose .cc-article-extra-img img{inline-size:100%;aspect-ratio:16/9;object-fit:cover;border-radius:0}
html body.cc-sg2 .cc-sg-prose hr{block-size:1px;margin:2.4em 0;border:0;background:var(--cc-border)}
html body.cc-sg2 .cc-sg-prose table{display:block;inline-size:100%;overflow-x:auto;border-collapse:collapse;font-size:15.5px;line-height:1.5}
html body.cc-sg2 .cc-sg-prose th{padding:12px 14px;border-block-end:2px solid var(--cc-border);text-align:start;font:700 12px/1.3 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--cc-ink)}
html body.cc-sg2 .cc-sg-prose td{padding:12px 14px;border-block-end:1px solid var(--cc-border);color:var(--cc-ink-2)}
html body.cc-sg2 .cc-sg-prose code{padding:2px 7px;border-radius:6px;background:color-mix(in srgb,var(--cc-ink) 8%,transparent);font-size:.9em}
html body.cc-sg2 .cc-sg-prose iframe,html body.cc-sg2 .cc-sg-prose .wp-block-embed__wrapper{max-inline-size:100%;border-radius:20px}
html body.cc-sg2 .cc-sg-pagelinks{margin-block-start:28px;font:700 13px/1 var(--font-mono)}

/* featured product card appended by the media plugin */
html body.cc-sg2 .cc-sg-prose .cc-article-product{max-inline-size:none;margin:2.6em 0 0}
html body.cc-sg2 .cc-sg-prose .cc-article-product__link{display:grid;grid-template-columns:128px minmax(0,1fr);align-items:center;gap:22px;padding:18px;border:1px solid color-mix(in srgb,var(--cc-cobalt) 40%,var(--cc-border));border-radius:24px;background:radial-gradient(80% 160% at 0% 0%,color-mix(in srgb,var(--cc-cobalt) 12%,transparent),transparent 60%),var(--cc-bg);color:var(--cc-ink);text-decoration:none;box-shadow:var(--cc-shadow-md);transition:transform .2s ease,border-color .2s ease}
html body.cc-sg2 .cc-sg-prose .cc-article-product__link:hover{transform:translateY(-3px);border-color:var(--cc-cobalt);color:var(--cc-ink)}
html body.cc-sg2 .cc-sg-prose .cc-article-product__media img{display:block;inline-size:128px;block-size:128px;object-fit:cover;border-radius:16px}
html body.cc-sg2 .cc-sg-prose .cc-article-product__body{display:grid;gap:6px;justify-items:start}
html body.cc-sg2 .cc-sg-prose .cc-article-product__eyebrow{font:700 10.5px/1 var(--font-mono);letter-spacing:.16em;text-transform:uppercase;color:color-mix(in srgb,var(--cc-cobalt) 78%,var(--cc-ink))}
html body.cc-sg2 .cc-sg-prose .cc-article-product__title{font:700 20px/1.3 var(--font-display);color:var(--cc-ink)}
html body.cc-sg2 .cc-sg-prose .cc-article-product__price{font:700 16px/1.2 var(--font-mono);color:var(--cc-ink-2)}
html body.cc-sg2 .cc-sg-prose .cc-article-product__cta{margin-block-start:6px;padding:12px 18px;border-radius:var(--cc-r-md);background:var(--cc-cobalt-grad);color:#fff;font:700 12px/1 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;box-shadow:inset 0 1px 0 rgb(255 255 255 / .3),0 10px 22px -10px rgb(47 123 255 / .8)}

/* ---- footer of the article ---- */
html body.cc-sg2 .cc-sg-foot{display:grid;gap:22px;margin-block-start:48px;padding-block-start:28px;border-block-start:1px solid var(--cc-border)}
html body.cc-sg2 .cc-sg-tags{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
html body.cc-sg2 .cc-sg-tags li{margin:0;padding:0}
html body.cc-sg2 .cc-sg-tags a{display:inline-flex;padding:8px 13px;border:1px solid var(--cc-border);border-radius:999px;font:600 13px/1 var(--font-body);color:var(--cc-ink-2);text-decoration:none;transition:border-color .15s ease}
html body.cc-sg2 .cc-sg-tags a:hover{border-color:var(--cc-cobalt);color:var(--cc-ink)}
html body.cc-sg2 .cc-sg-author{display:flex;align-items:center;gap:18px;padding:20px;border:1px solid var(--cc-border);border-radius:22px;background:var(--cc-surface)}
html body.cc-sg2 .cc-sg-author__avatar img{display:block;inline-size:64px;block-size:64px;border-radius:50%}
html body.cc-sg2 .cc-sg-author__body{display:grid;gap:4px}
html body.cc-sg2 .cc-sg-author__body b{font:700 16px/1.3 var(--font-body);color:var(--cc-ink)}
html body.cc-sg2 .cc-sg-author__body span{font-size:14.5px;line-height:1.55;color:var(--cc-ink-3)}

/* ---- CTA ---- */
html body.cc-sg2 .cc-sg-cta{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px 32px;margin-block-start:clamp(48px,7vw,80px);padding:clamp(28px,4vw,52px);border-radius:28px;color:#fff;background:radial-gradient(120% 90% at 0% 0%,rgb(143 212 255 / .30),transparent 55%),linear-gradient(160deg,#0A1F4D 0%,#123A9A 55%,#1B4FCB 125%)}
html body.cc-sg2 .cc-sg-cta::after{content:'';position:absolute;z-index:-1;inset-block-end:-60px;inset-inline-end:-30px;inline-size:300px;block-size:300px;opacity:.12;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M86,18 L16,182 L78,182 L94,72 Z' fill='%23fff'/%3E%3Cpath d='M114,18 L184,182 L122,182 L106,72 Z' fill='%23dbeafe'/%3E%3C/svg%3E") center/contain no-repeat}
html body.cc-sg2 .cc-sg-cta__eyebrow{font:700 11px/1 var(--font-mono);letter-spacing:.2em;text-transform:uppercase;color:rgb(255 255 255 / .8)}
html body.cc-sg2 .cc-sg-cta h2{margin:10px 0 8px;font:700 clamp(26px,3vw,36px)/1.15 var(--font-display);color:#fff}
html body.cc-sg2 .cc-sg-cta p{margin:0;max-inline-size:52ch;font-size:16px;line-height:1.55;color:rgb(255 255 255 / .84)}
html body.cc-sg2 .cc-sg-cta__actions{display:flex;flex-wrap:wrap;gap:12px}
html body.cc-sg2 .cc-sg-btn{display:inline-flex;align-items:center;justify-content:center;min-block-size:52px;padding:0 24px;border-radius:var(--cc-r-md);background:#fff;color:#0A1F4D;font:700 12px/1 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;text-decoration:none;white-space:nowrap;box-shadow:0 12px 26px -12px rgb(0 0 0 / .5);transition:transform .15s ease}
html body.cc-sg2 .cc-sg-btn:hover{color:#0A1F4D;transform:translateY(-1px)}
html body.cc-sg2 .cc-sg-btn--ghost{background:transparent;color:#fff;box-shadow:inset 0 0 0 1.5px rgb(255 255 255 / .6)}
html body.cc-sg2 .cc-sg-btn--ghost:hover{color:#fff;background:rgb(255 255 255 / .12)}
html body.cc-sg2 .cc-sg-btn:focus-visible{outline:2px solid #fff;outline-offset:3px}

/* ---- previous / next ---- */
html body.cc-sg2 .cc-sg-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-block-start:clamp(32px,5vw,56px)}
html body.cc-sg2 .cc-sg-navcard{display:flex;align-items:center;gap:16px;min-inline-size:0;padding:14px;border:1px solid var(--cc-border);border-radius:22px;background:var(--cc-bg);color:var(--cc-ink);text-decoration:none;box-shadow:var(--cc-shadow-xs);transition:transform .2s ease,border-color .2s ease}
html body.cc-sg2 .cc-sg-navcard:hover{transform:translateY(-3px);border-color:var(--cc-cobalt);color:var(--cc-ink)}
html body.cc-sg2 .cc-sg-navcard--next{grid-column:2;flex-direction:row-reverse;text-align:end}
html body.cc-sg2 .cc-sg-navcard--prev:only-child{grid-column:1}
html body.cc-sg2 .cc-sg-navcard__media{position:relative;flex:none;inline-size:76px;block-size:76px;overflow:hidden;border-radius:16px;background:var(--cc-surface)}
html body.cc-sg2 .cc-sg-navcard__media img{position:absolute;inset:0;inline-size:100%;block-size:100%;object-fit:cover}
html body.cc-sg2 .cc-sg-navcard__media .cc-sg-cover__ico{inline-size:40px;block-size:40px;border-radius:12px}
html body.cc-sg2 .cc-sg-navcard__media .cc-sg-cover__label{display:none}
html body.cc-sg2 .cc-sg-navcard__text{display:grid;gap:5px;min-inline-size:0}
html body.cc-sg2 .cc-sg-navcard__dir{font:700 10.5px/1 var(--font-mono);letter-spacing:.14em;text-transform:uppercase;color:color-mix(in srgb,var(--cc-cobalt) 78%,var(--cc-ink))}
html body.cc-sg2 .cc-sg-navcard__title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font:700 16px/1.35 var(--font-display);color:var(--cc-ink)}

/* ---- more to read ---- */
html body.cc-sg2 .cc-sg-related{margin-block-start:clamp(40px,6vw,72px)}
html body.cc-sg2 .cc-sg-related__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-block-end:18px}
html body.cc-sg2 .cc-sg-related__head h2{margin:0;font:700 clamp(24px,2.6vw,32px)/1.15 var(--font-display);color:var(--cc-ink)}
html body.cc-sg2 .cc-sg-related__nav{display:flex;gap:8px}
html body.cc-sg2 .cc-sg-related__nav button{display:grid;place-items:center;inline-size:44px;block-size:44px;padding:0;border:1px solid var(--cc-border);border-radius:12px;background:var(--cc-bg);color:var(--cc-ink);font-size:18px;line-height:1;cursor:pointer;transition:border-color .15s ease}
html body.cc-sg2 .cc-sg-related__nav button:hover{border-color:var(--cc-cobalt)}
html body.cc-sg2 .cc-sg-related__track{display:flex;gap:20px;margin:0;padding:4px 2px 16px;overflow-x:auto;list-style:none;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--cc-ink) 28%,transparent) transparent}
html body.cc-sg2 .cc-sg-related__track > li{flex:0 0 auto;inline-size:clamp(250px,26vw,300px);margin:0;padding:0;scroll-snap-align:start}
html body.cc-sg2 .cc-sg-rcard{display:flex;flex-direction:column;block-size:100%;overflow:hidden;border:1px solid var(--cc-border);border-radius:22px;background:var(--cc-bg);color:var(--cc-ink);text-decoration:none;box-shadow:var(--cc-shadow-xs);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
html body.cc-sg2 .cc-sg-rcard:hover{transform:translateY(-4px);border-color:var(--cc-cobalt);box-shadow:var(--cc-shadow-lg);color:var(--cc-ink)}
html body.cc-sg2 .cc-sg-rcard__media{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:var(--cc-surface)}
html body.cc-sg2 .cc-sg-rcard__media img{position:absolute;inset:0;inline-size:100%;block-size:100%;object-fit:cover;transition:transform .5s ease}
html body.cc-sg2 .cc-sg-rcard:hover .cc-sg-rcard__media img{transform:scale(1.04)}
html body.cc-sg2 .cc-sg-rcard__body{display:grid;gap:9px;align-content:start;padding:16px 18px 20px}
html body.cc-sg2 .cc-sg-rcard__cat{justify-self:start;padding:5px 10px;border-radius:999px;font:700 10px/1 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:color-mix(in srgb,var(--cc-cobalt) 78%,var(--cc-ink));background:color-mix(in srgb,var(--cc-cobalt) 13%,transparent)}
html body.cc-sg2 .cc-sg-rcard__title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font:700 18px/1.3 var(--font-display);color:var(--cc-ink)}
html body.cc-sg2 .cc-sg-rcard__meta{font:600 12px/1 var(--font-body);color:var(--cc-ink-3)}

@media (max-width:1100px){
  html body.cc-sg2 .cc-sg-layout{grid-template-columns:minmax(0,1fr);justify-content:stretch;gap:22px}
  html body.cc-sg2 .cc-sg-rail{position:static}
  html body.cc-sg2 .cc-sg-share{display:flex;flex-wrap:wrap;justify-content:flex-start}
  html body.cc-sg2 .cc-sg-toc{display:none}
  html body.cc-sg2 .cc-sg-tocm{display:block}
}
@media (max-width:820px){
  html body.cc-sg2 .cc-sg-prose .cc-article-product__link{grid-template-columns:96px minmax(0,1fr);gap:16px}
  html body.cc-sg2 .cc-sg-prose .cc-article-product__media img{inline-size:96px;block-size:96px}
}
@media (max-width:640px){
  html body.cc-sg2 .cc-sg-hero{border-radius:22px}
  html body.cc-sg2 .cc-series-bar__default{display:none}
  html body.cc-sg2 .cc-sg-prose{font-size:17px}
  html body.cc-sg2 .cc-sg-nav{grid-template-columns:minmax(0,1fr)}
  html body.cc-sg2 .cc-sg-navcard--next{grid-column:1;flex-direction:row;text-align:start}
  html body.cc-sg2 .cc-sg-cta__actions{inline-size:100%}
  html body.cc-sg2 .cc-sg-cta__actions .cc-sg-btn{flex:1 1 100%}
  html body.cc-sg2 .cc-sg-related__nav{display:none}
}
html[dir="rtl"] body.cc-sg2 .cc-sg-related__nav button{transform:scaleX(-1)}
@media (prefers-reduced-motion:reduce){
  html body.cc-sg2 .cc-sg-rcard,html body.cc-sg2 .cc-sg-navcard,html body.cc-sg2 .cc-sg-share__btn,html body.cc-sg2 .cc-sg-rcard__media img,html body.cc-sg2 .cc-sg-prose .cc-article-product__link{transition:none}
  html body.cc-sg2 .cc-sg-related__track{scroll-behavior:auto}
}

/* the article's own hand-written shop callout (two variants: bare markup, or BEM classes) */
html body.cc-sg2 .cc-sg-prose .aknb-product-cta{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:22px;max-inline-size:none;margin:2.4em 0;padding:18px;border:1px solid color-mix(in srgb,var(--cc-cobalt) 40%,var(--cc-border));border-radius:24px;background:radial-gradient(80% 160% at 0% 0%,color-mix(in srgb,var(--cc-cobalt) 12%,transparent),transparent 60%),var(--cc-bg);box-shadow:var(--cc-shadow-md);text-align:start}
html body.cc-sg2 .cc-sg-prose .aknb-product-cta > img,html body.cc-sg2 .cc-sg-prose .aknb-product-cta__img img{display:block;inline-size:140px;block-size:140px;margin:0;object-fit:cover;border-radius:16px}
html body.cc-sg2 .cc-sg-prose .aknb-product-cta__img{display:block;inline-size:140px;block-size:140px;overflow:hidden;border-radius:16px;background:var(--cc-surface)}
html body.cc-sg2 .cc-sg-prose .aknb-product-cta__img img{inline-size:100%;block-size:100%}
html body.cc-sg2 .cc-sg-prose .aknb-product-cta > div,html body.cc-sg2 .cc-sg-prose .aknb-product-cta__body{display:grid;gap:8px;justify-items:start;min-inline-size:0}
html body.cc-sg2 .cc-sg-prose .aknb-product-cta h3,html body.cc-sg2 .cc-sg-prose .aknb-product-cta h4{margin:0;font:700 20px/1.3 var(--font-display);color:var(--cc-ink)}
html body.cc-sg2 .cc-sg-prose .aknb-product-cta p{margin:0;font-size:15px;line-height:1.55;color:var(--cc-ink-3)}
html body.cc-sg2 .cc-sg-prose .aknb-product-cta > div > p + p,html body.cc-sg2 .cc-sg-prose .aknb-product-cta__price{font:700 17px/1.2 var(--font-mono);color:var(--cc-ink)}
html body.cc-sg2 .cc-sg-prose .aknb-product-cta__label{font:700 10.5px/1 var(--font-mono);letter-spacing:.16em;text-transform:uppercase;color:color-mix(in srgb,var(--cc-cobalt) 78%,var(--cc-ink))}
html body.cc-sg2 .cc-sg-prose a.aknb-product-cta__title{font:700 20px/1.3 var(--font-display);color:var(--cc-ink);text-decoration:none}
html body.cc-sg2 .cc-sg-prose .aknb-product-cta__btn,html body.cc-sg2 .cc-sg-prose .aknb-product-cta > div > a:last-child{display:inline-flex;align-items:center;margin-block-start:6px;padding:13px 20px;border:0;border-radius:var(--cc-r-md);background:var(--cc-cobalt-grad);color:#fff;font:700 12px/1 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;text-decoration:none;box-shadow:inset 0 1px 0 rgb(255 255 255 / .3),0 10px 22px -10px rgb(47 123 255 / .8)}
html body.cc-sg2 .cc-sg-prose .aknb-product-cta__btn:hover,html body.cc-sg2 .cc-sg-prose .aknb-product-cta > div > a:last-child:hover{color:#fff}
@media (max-width:640px){
  html body.cc-sg2 .cc-sg-prose .aknb-product-cta{grid-template-columns:minmax(0,1fr);gap:14px;padding:14px}
  html body.cc-sg2 .cc-sg-prose .aknb-product-cta > img,html body.cc-sg2 .cc-sg-prose .aknb-product-cta__img{inline-size:100%;block-size:190px}
}

/* designed cover: keep the icon tile clear of the title on phones */
@media (max-width:640px){
  html body.cc-sg2 .cc-sg-hero .cc-sg-cover{padding:14px}
  html body.cc-sg2 .cc-sg-hero .cc-sg-cover__ico{inline-size:48px;block-size:48px}
}
