/* Article components for single posts: short answer, disclosure, contents label, figures and diagrams, tables,
   product boxes, video, warnings, sources, highlights, internal links and the author box.
   Mobile first. Everything is readable without JavaScript: the entrance effect is CSS only and never starts hidden.
   Colors follow the dark theme tokens and fall back to fixed values if the theme layer is off. */

html body{
 --k-acc:var(--y,#1AB3EC);--k-acc2:var(--y2,#6FD3FA);--k-acc3:var(--y3,#D4F2FF);--k-rgb:var(--yr,26,179,236);
 --k-surf:var(--surf,#10151B);--k-surf2:var(--surf2,#151C23);--k-line:var(--line2,#1D252E);
 --k-ink:var(--ink,#EAF0F5);--k-txt:var(--txt,#AEB8C2);--k-mut:var(--mut,#8792A0);
 --k-warn:#F5B544;--k-warn-rgb:245,181,68;--k-r:16px}

html body .entry-content{overflow-wrap:break-word}

/* ---------------------------------------------------------------- short answer */
html body .entry-content .key{position:relative;margin:28px 0;padding:20px 18px 18px 22px;border:1px solid rgba(var(--k-rgb),.35);border-radius:var(--k-r);
 background:linear-gradient(160deg,rgba(var(--k-rgb),.13),rgba(var(--k-rgb),.03) 55%),var(--k-surf);
 box-shadow:0 18px 40px -26px rgba(var(--k-rgb),.55),inset 0 1px 0 rgba(255,255,255,.05)}
html body .entry-content .key::before{content:"";position:absolute;left:0;top:18px;bottom:18px;width:3px;border-radius:0 3px 3px 0;background:var(--k-acc);box-shadow:0 0 14px var(--k-acc)}
html body .entry-content .key h4,html body .entry-content .key .key-t{margin:0 0 10px;color:var(--k-acc2);font-size:13px;font-weight:700;letter-spacing:.12em;line-height:1.4;text-transform:uppercase}
html body .entry-content .key p,html body .entry-content .key li{color:var(--k-ink);font-size:16px;line-height:1.65}
html body .entry-content .key p{margin:0 0 10px}
html body .entry-content .key ul,html body .entry-content .key ol{margin:0 0 10px 1.2em;padding:0}
html body .entry-content .key li{margin:0 0 6px}
html body .entry-content .key>:last-child{margin-bottom:0}

/* ---------------------------------------------------------------- affiliate disclosure */
html body .entry-content .disc{margin:22px 0;padding:12px 16px;border:1px solid var(--k-line);border-radius:12px;background:rgba(255,255,255,.02);color:var(--k-mut);font-size:13.5px;line-height:1.6}
html body .entry-content .disc p{margin:0;color:var(--k-mut);font-size:13.5px;line-height:1.6}
html body .entry-content .disc p+p{margin-top:6px}
html body .entry-content .disc a{color:var(--k-acc2)}

/* ---------------------------------------------------------------- contents: only its label (the list is styled by the theme layer) */
html body .entry-content .toc>p:first-child,html body .entry-content .toc>.toc-t{margin:0 0 10px;color:var(--k-mut);font-size:12.5px;font-weight:700;letter-spacing:.12em;line-height:1.4;text-transform:uppercase}

/* ---------------------------------------------------------------- figures, photos and diagrams */
html body .entry-content figure{margin:30px 0;max-width:100%}
html body .entry-content figure img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid var(--k-line)}
html body .entry-content figure svg{display:block;width:100%;max-width:100%;height:auto;border-radius:14px}
html body .entry-content figure figcaption{margin-top:10px;text-align:center;color:var(--k-mut);font-size:13.5px;line-height:1.5}

/* ---------------------------------------------------------------- tables: the wrapper scrolls on small screens, never the page */
html body .entry-content .tw{position:relative;margin:26px 0;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;
 border:1px solid var(--k-line);border-radius:14px;background:var(--k-surf)}
html body .entry-content .tw table{width:100%;min-width:540px;margin:0;border:0;border-radius:0;border-collapse:separate;border-spacing:0;font-size:14.5px;line-height:1.5}
html body .entry-content .tw caption{caption-side:top;padding:12px 14px 0;text-align:left;color:var(--k-mut);font-size:13px}
html body .entry-content .tw th,html body .entry-content .tw td{padding:11px 14px;vertical-align:top;text-align:left;word-break:normal;overflow-wrap:normal}
html body .entry-content .tw thead th{background:var(--k-surf2);color:#fff;font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;border-bottom:1px solid rgba(var(--k-rgb),.35)}
html body .entry-content .tw tbody th,html body .entry-content .tw tbody td:first-child{color:var(--k-ink);font-weight:600}
html body .entry-content .tw tbody tr:hover td,html body .entry-content .tw tbody tr:hover th{background:rgba(var(--k-rgb),.06)}
html body .entry-content .tw tr.win td,html body .entry-content .tw tr.win th{background:rgba(var(--k-rgb),.10)}
@media (min-width:760px){html body .entry-content .tw table{min-width:0}}

/* ---------------------------------------------------------------- product box: image, label, name, why, button */
html body .entry-content .pb{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr);gap:4px 14px;align-items:start;margin:32px 0;padding:16px;
 border:1px solid rgba(var(--k-rgb),.28);border-radius:18px;background:linear-gradient(150deg,rgba(var(--k-rgb),.11),rgba(255,255,255,.015) 60%),var(--k-surf);
 box-shadow:0 22px 44px -30px rgba(var(--k-rgb),.6),inset 0 1px 0 rgba(255,255,255,.05);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
html body .entry-content .pb>img{grid-column:1;grid-row:1 / span 2;display:block;width:76px;height:76px;margin:0;object-fit:cover;border-radius:12px;border:1px solid var(--k-line);background:var(--k-surf2)}
html body .entry-content .pb>div{display:contents}
html body .entry-content .pb .tag{grid-column:2;grid-row:1;align-self:end;justify-self:start;display:inline-block;margin:0 0 4px;padding:3px 10px;
 border:1px solid rgba(var(--k-rgb),.5);border-radius:999px;background:rgba(var(--k-rgb),.12);color:var(--k-acc2);font-size:11px;font-weight:700;letter-spacing:.1em;line-height:1.6;text-transform:uppercase}
html body .entry-content .pb h4{grid-column:2;grid-row:2;align-self:start;margin:0;color:#fff;font-size:1.06rem;line-height:1.3}
html body .entry-content .pb>div>:not(.tag):not(h4){grid-column:1 / -1}
/* safety net: anything placed straight in the box (outside the inner div) spans the full width instead of the 76px column */
html body .entry-content .pb>:not(img):not(div){grid-column:1 / -1}
html body .entry-content .pb p{margin:10px 0 0;color:var(--k-txt);font-size:15px;line-height:1.6}
html body .entry-content .pb ul{margin:10px 0 0 1.1em;padding:0;color:var(--k-txt);font-size:14.5px}
html body .entry-content .pb .btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;margin:14px 0 0;padding:11px 22px;border-radius:999px;
 background:linear-gradient(135deg,var(--k-acc),var(--k-acc2));color:#04121A;font-size:15px;font-weight:700;line-height:1.2;text-align:center;text-decoration:none;
 box-shadow:0 12px 26px -14px rgba(var(--k-rgb),.95);transition:filter .2s ease,transform .2s ease}
html body .entry-content .pb .btn::after{content:"";flex:0 0 auto;width:14px;height:14px;background:currentColor;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center/contain no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center/contain no-repeat}
html body .entry-content .pb .btn:hover,html body .entry-content .pb .btn:focus{color:#04121A;filter:brightness(1.08)}
html body .entry-content .pb .btn:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media (min-width:640px){
 html body .entry-content .pb{grid-template-columns:140px minmax(0,1fr);gap:4px 22px;padding:22px}
 html body .entry-content .pb>img{grid-row:1 / span 5;width:140px;height:140px}
 html body .entry-content .pb>div>:not(.tag):not(h4){grid-column:2}
 html body .entry-content .pb .btn{justify-self:start;display:inline-flex}
}
/* a box without an image keeps one column (after the rules above, with enough weight to win on every width) */
html body .entry-content .pb.pb:not(:has(>img)){grid-template-columns:minmax(0,1fr)}
html body .entry-content .pb.pb:not(:has(>img))>div>*{grid-column:1;grid-row:auto}
@media (hover:hover) and (pointer:fine){
 html body .entry-content .pb:hover{transform:translateY(-3px);border-color:rgba(var(--k-rgb),.55);box-shadow:0 30px 60px -32px rgba(var(--k-rgb),.75),inset 0 1px 0 rgba(255,255,255,.07)}
 html body .entry-content .pb .btn:hover{transform:translateX(2px)}
}

/* ---------------------------------------------------------------- video: the click-to-play facade sizes itself */
html body .entry-content .vid{margin:30px 0;border-radius:var(--k-r)}
html body .entry-content .vid:not(.wgpv-host){position:relative;aspect-ratio:16 / 9;overflow:hidden;background:#000}
html body .entry-content .vid:not(.wgpv-host) iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ---------------------------------------------------------------- warning */
html body .entry-content .warn{position:relative;margin:28px 0;padding:16px 18px 16px 52px;border:1px solid rgba(var(--k-warn-rgb),.38);border-radius:14px;
 background:linear-gradient(150deg,rgba(var(--k-warn-rgb),.11),rgba(var(--k-warn-rgb),.02) 60%),var(--k-surf)}
html body .entry-content .warn::before{content:"!";position:absolute;left:16px;top:17px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;
 border:1px solid rgba(var(--k-warn-rgb),.65);border-radius:50%;background:rgba(var(--k-warn-rgb),.18);color:var(--k-warn);font-size:14px;font-weight:800;line-height:1}
html body .entry-content .warn p,html body .entry-content .warn li{color:var(--k-ink);font-size:15.5px;line-height:1.6}
html body .entry-content .warn p{margin:0 0 8px}
html body .entry-content .warn>:last-child{margin-bottom:0}
html body .entry-content .warn strong{color:#FFE3AE}

/* ---------------------------------------------------------------- sources */
html body .entry-content .src{margin:24px 0 32px;padding:18px 20px;border:1px solid var(--k-line);border-radius:14px;background:var(--k-surf)}
html body .entry-content .src>p:first-child,html body .entry-content .src h4{margin:0 0 10px;color:var(--k-mut);font-size:12.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
html body .entry-content .src ol{margin:0 0 0 1.3em;padding:0}
html body .entry-content .src li{margin:0 0 9px;color:var(--k-txt);font-size:14px;line-height:1.55;overflow-wrap:anywhere}
html body .entry-content .src li:last-child{margin-bottom:0}
html body .entry-content .src a{color:var(--k-acc2)}

/* ---------------------------------------------------------------- inline highlight and internal links */
html body .entry-content .hl{padding:0 2px;border-radius:2px;background:linear-gradient(180deg,transparent 62%,rgba(var(--k-rgb),.34) 62%);color:var(--k-ink)}
html body .entry-content a.internal-link{text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:rgba(var(--k-rgb),.6);text-underline-offset:3px}
html body .entry-content a.internal-link:hover,html body .entry-content a.internal-link:focus{text-decoration-color:currentColor}

/* ---------------------------------------------------------------- entrance effect: scroll-linked, CSS only. Without support, or with
   reduced motion, every block stays visible and still. Headings and figures already move with the theme layer, and ad
   slots never move. */
@supports (animation-timeline:view()){
 @media (prefers-reduced-motion:no-preference){
  html body .entry-content>.rv:not(figure):not(h2):not(.ad){animation:k-up linear both;animation-timeline:view();animation-range:entry 0% entry 60%}
 }
}
@keyframes k-up{from{opacity:.3;translate:0 22px}to{opacity:1;translate:none}}
@media (prefers-reduced-motion:reduce){
 html body .entry-content .pb,html body .entry-content .pb .btn{transition:none}
 html body .entry-content .pb:hover,html body .entry-content .pb .btn:hover{transform:none}
}

/* ---------------------------------------------------------------- author box, after the article */
html body .wgpk-author{display:grid;grid-template-columns:64px minmax(0,1fr);gap:4px 16px;align-items:center;margin:44px 0 8px;padding:20px;
 border:1px solid var(--k-line);border-radius:18px;background:linear-gradient(150deg,rgba(var(--k-rgb),.09),rgba(255,255,255,.01) 60%),var(--k-surf)}
html body .wgpk-author .wgpk-author-img{grid-column:1;grid-row:1 / span 2;display:block;width:64px;height:64px;margin:0;border-radius:50%;object-fit:cover;object-position:center top;border:2px solid rgba(var(--k-rgb),.5)}
html body .wgpk-author .wgpk-author-k{grid-column:2;margin:0;color:var(--k-mut);font-size:12px;font-weight:700;letter-spacing:.12em;line-height:1.4;text-transform:uppercase}
html body .wgpk-author .wgpk-author-name{grid-column:2;margin:0;color:#fff;font-size:1.08rem;font-weight:700;line-height:1.3}
html body .wgpk-author .wgpk-author-name a{color:#fff;text-decoration:none}
html body .wgpk-author .wgpk-author-name a:hover,html body .wgpk-author .wgpk-author-name a:focus{color:var(--k-acc2)}
html body .wgpk-author .wgpk-author-bio{grid-column:1 / -1;margin:12px 0 0;color:var(--k-txt);font-size:15px;line-height:1.6}
html body .wgpk-author .wgpk-author-foot{grid-column:1 / -1;margin:10px 0 0;color:var(--k-mut);font-size:13px;line-height:1.5}
html body .wgpk-author .wgpk-author-foot a{color:var(--k-acc2)}
@media (min-width:640px){
 html body .wgpk-author{grid-template-columns:84px minmax(0,1fr);padding:24px}
 html body .wgpk-author .wgpk-author-img{grid-row:1 / span 4;width:84px;height:84px;align-self:start}
 html body .wgpk-author .wgpk-author-bio,html body .wgpk-author .wgpk-author-foot{grid-column:2}
}
/* without a photo: one column on every width */
html body .wgpk-author.wgpk-nophoto{grid-template-columns:minmax(0,1fr)}
html body .wgpk-author.wgpk-nophoto>*{grid-column:1 / -1}
