/* =====================================================================
   Cloudless Software – article pages (2026-11 reskin)
   Shared by every page in /articles/<slug>/. Loaded after styles.css.
   Accents: orange, white, light blue (#93c5fd).
   ===================================================================== */

body { background:#fff; --col:720px; --wide:920px; --sky:#93c5fd; --sky-soft:#eff6ff; --text:#2b3440; }
.art-col { max-width:var(--col); margin:0 auto; padding:0 24px; box-sizing:content-box; }
.art-wide { max-width:var(--wide); margin:0 auto; padding:0 24px; box-sizing:content-box; }

/* ---------- Hero ---------- */
.art-hero { color:#fff; padding:44px 0 64px;
  background: radial-gradient(900px 500px at 85% 0%, rgba(230,126,34,.26), transparent 65%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); }
.art-hero.has-figure { padding-bottom:190px; }
.art-hero .art-col { max-width:var(--wide); }
.art-hero .back-link { display:inline-block; font-size:14px; font-weight:600; color:var(--sky); text-decoration:none; margin-bottom:22px; }
.art-hero .back-link:hover { color:#fff; }
.art-chips { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.art-chips span { font-size:12.5px; font-weight:600; padding:4px 11px; border-radius:999px; background:rgba(255,255,255,.08); color:#dbe4ee; border:1px solid rgba(255,255,255,.12); }
.art-chips span.tag { background:var(--orange); border-color:var(--orange); color:#fff; text-transform:uppercase; letter-spacing:.8px; font-size:11.5px; font-weight:700; }
.art-hero .post-title { font-size:clamp(30px,4.2vw,50px); line-height:1.1; font-weight:800; letter-spacing:-1px; color:#fff; margin:0 0 18px; max-width:880px; }
.art-hero .article-deck { font-size:clamp(18px,1.6vw,21px); line-height:1.6; color:var(--hero-text); margin:0 0 26px; max-width:760px; }
.art-hero .author-byline { position:relative; min-height:38px; padding:9px 0 0 50px; line-height:1.45; font-size:15px; color:var(--hero-text); margin:0; }
.art-hero .author-byline::before { content:"MP"; position:absolute; left:0; top:0; width:38px; height:38px; border-radius:50%; display:grid; place-items:center; font-size:13px; font-weight:800; letter-spacing:.5px; color:var(--navy-deep); background:var(--sky); }
.art-hero .author-byline a { color:#fff; font-weight:700; text-decoration:none; }
.art-hero .author-byline a:hover { color:var(--sky); }

/* ---------- Lead image (always shown whole) ---------- */
.art-figure { margin-top:-150px; margin-bottom:44px; }
.art-figure img { display:block; width:100%; height:auto; border-radius:16px; background:var(--navy-deep);
  box-shadow:0 30px 60px rgba(20,30,45,.22), 0 0 0 1px rgba(20,30,45,.06); }

/* ---------- Body ---------- */
.post-body { font-size:19px; line-height:1.75; color:var(--text); padding-top:44px; padding-bottom:16px; }
.art-figure + .post-body { padding-top:0; }
.post-body p { margin:0 0 22px; }
.post-body > p:first-of-type { font-size:21px; line-height:1.65; color:#1d2530; }
.post-body h2 { font-size:clamp(24px,2.4vw,29px); line-height:1.25; letter-spacing:-.4px; color:#1d2530; font-weight:800; margin:48px 0 18px; }
.post-body h2::before { content:""; display:block; width:40px; height:4px; border-radius:2px; background:var(--orange); margin-bottom:16px; }
.post-body h3 { font-size:21px; color:#1d2530; margin:32px 0 12px; }
.post-body a { color:var(--orange-dark); }
.post-body strong { color:#1d2530; }
.post-body ul, .post-body ol { margin:0 0 22px 1.3em; }
.post-body li { margin-bottom:8px; }

/* in-body images: centered, never cropped */
.post-body img { display:block; width:100%; max-width:560px; height:auto; margin:28px auto; border-radius:12px; box-shadow:0 10px 30px rgba(20,30,45,.12), 0 0 0 1px rgba(20,30,45,.06); }
.post-body img.hero-img { max-width:440px; }
.post-body .img-caption { text-align:center; font-size:14.5px; line-height:1.5; color:var(--muted); margin:-14px auto 30px; max-width:520px; }
.post-body h2 img.product-logo { display:inline-block; width:36px; height:36px; max-width:36px; margin:0 12px -7px 0; border-radius:8px; box-shadow:none; }
.post-body h2:has(img.product-logo)::before { margin-bottom:16px; }

/* ---------- Callout boxes ---------- */
.chain-box, .attack-box, .contrast-box, .immune-box, .info-box {
  border-radius:12px; padding:20px 24px; margin:18px 0; border:1px solid var(--line); background:#fff;
  box-shadow:0 2px 8px rgba(20,30,45,.04); }
.chain-box, .attack-box { border-left:4px solid var(--orange); }
.contrast-box, .immune-box { background:var(--sky-soft); border-color:#dbeafe; border-left:4px solid var(--sky); }
.info-box { border-top:3px solid var(--sky); }
.chain-box .chain-title, .attack-box .attack-title, .contrast-box .contrast-title, .immune-box .immune-title, .info-box .info-title {
  font-size:17px; font-weight:800; color:#1d2530; margin:0 0 6px; line-height:1.35; }
.chain-box .chain-title, .attack-box .attack-title { color:var(--orange-dark); }
.chain-box p, .attack-box p, .contrast-box p, .immune-box p, .info-box p { font-size:17px; line-height:1.65; color:var(--text); margin:0; }

.pull-quote { font-size:clamp(22px,2.3vw,27px); font-weight:700; line-height:1.4; letter-spacing:-.3px; color:#1d2530;
  margin:40px 0; padding:6px 0 6px 26px; border-left:4px solid var(--orange); }

/* ---------- Scorecards (best-offline article) ---------- */
.scorecard { background:#fff; border:1px solid var(--line); border-radius:14px; padding:22px 24px; margin:24px 0 34px; box-shadow:0 10px 30px rgba(20,30,45,.06); }
.scorecard-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-bottom:16px; margin-bottom:16px; border-bottom:1px solid var(--line); }
.scorecard-title { font-size:13px; font-weight:800; color:var(--muted); margin:0; text-transform:uppercase; letter-spacing:.8px; line-height:1.4; }
.scorecard-score { display:flex; align-items:baseline; gap:4px; flex:none; }
.score-number { font-size:38px; font-weight:800; line-height:1; color:var(--orange); }
.score-total { font-size:16px; font-weight:700; color:var(--muted); }
.score-high, .score-mid, .score-low { color:var(--orange); }
.scorecard-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px 26px; }
.scorecard-item { display:flex; align-items:flex-start; gap:10px; font-size:15.5px; line-height:1.45; color:var(--text); }
.scorecard-icon { flex:none; width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:800; margin-top:1px; }
.score-yes { background:var(--orange); color:#fff; }
.score-partial { background:#fff; color:var(--orange-dark); box-shadow:inset 0 0 0 2px var(--orange); }
.score-no { background:#eef1f5; color:#7b8594; }
.scorecard-label { font-weight:700; color:#1d2530; }

/* ---------- End of article ---------- */
.art-end { padding-bottom:56px; }
.art-note { font-size:17px; line-height:1.7; color:var(--text); background:var(--sky-soft); border:1px solid #dbeafe; border-radius:14px; padding:22px 26px; margin:8px 0 22px; }
.art-note p { margin:0; }
.art-note a { color:var(--orange-dark); }
.art-sources { font-size:14.5px; line-height:1.7; color:var(--muted); border-top:1px solid var(--line); padding-top:22px; margin:8px 0 26px; }
.art-sources p { margin:0 0 10px; }
.art-sources p em { font-style:normal; }
.art-sources a { color:var(--orange-dark) !important; }
.art-related { font-size:16.5px; line-height:1.7; color:var(--text); background:#fff; border:1px solid var(--line); border-left:4px solid var(--orange); border-radius:12px; padding:20px 24px; margin:0 0 26px; }
.art-related p { margin:0; }
.art-author { display:flex; gap:18px; align-items:flex-start; background:var(--bg-soft); border:1px solid var(--line); border-radius:14px; padding:24px 26px; }
.art-author .av { flex:none; width:56px; height:56px; border-radius:50%; display:grid; place-items:center; font-weight:800; font-size:18px; color:var(--navy-deep); background:var(--sky); }
.art-author .who { font-size:12px; font-weight:800; letter-spacing:1px; text-transform:uppercase; color:var(--muted); margin-bottom:4px; }
.art-author h3 { font-size:19px; color:#1d2530; margin:0 0 6px; }
.art-author p { font-size:15.5px; line-height:1.6; color:var(--text); margin:0 0 8px; }
.art-author a { font-weight:700; font-size:15px; color:var(--orange-dark); text-decoration:none; }
.art-author a:hover { text-decoration:underline; }

/* ---------- More articles ---------- */
.art-more { background:var(--bg-soft); padding:56px 0 64px; border-top:1px solid var(--line); }
.art-more .head { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:22px; }
.art-more h2 { font-size:clamp(22px,2.2vw,28px); color:#1d2530; letter-spacing:-.4px; }
.art-more .head a { font-weight:700; color:var(--orange-dark); text-decoration:none; font-size:15px; white-space:nowrap; }
.art-more-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.art-card { display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; text-decoration:none; color:inherit; box-shadow:0 10px 30px rgba(20,30,45,.07); transition:transform .15s, box-shadow .15s; }
.art-card:hover { transform:translateY(-3px); box-shadow:0 18px 40px rgba(20,30,45,.14); }
.art-card img { display:block; width:100%; aspect-ratio:3/2; object-fit:contain; background:var(--navy-deep); }
.art-card .b { padding:18px 20px 20px; display:flex; flex-direction:column; flex:1; }
.art-card .d { font-size:12.5px; font-weight:600; color:var(--muted); margin-bottom:8px; }
.art-card h3 { font-size:17px; line-height:1.35; color:#1d2530; flex:1; }
.art-card .go { font-size:14.5px; font-weight:700; color:var(--orange-dark); margin-top:14px; }

/* ---------- Product band ---------- */
.art-cta { color:#fff; padding:64px 0;
  background: radial-gradient(700px 400px at 90% 0%, rgba(230,126,34,.30), transparent 65%), linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); }
.art-cta .in { display:flex; align-items:center; gap:28px; }
.art-cta img { flex:none; width:84px; height:84px; border-radius:18px; }
.art-cta .eyebrow { color:var(--sky); }
.art-cta h2 { font-size:clamp(24px,2.6vw,32px); line-height:1.2; letter-spacing:-.5px; margin:6px 0 10px; }
.art-cta h2 em { color:var(--orange); font-style:normal; }
.art-cta p { font-size:17px; line-height:1.6; color:var(--hero-text); margin:0 0 22px; max-width:640px; }
.art-cta .btns { display:flex; flex-wrap:wrap; gap:12px; }
.art-cta .btn { display:inline-block; padding:12px 22px; border-radius:10px; font-weight:700; font-size:15.5px; text-decoration:none; }
.art-cta .btn.primary { background:var(--orange); color:#fff; }
.art-cta .btn.primary:hover { background:var(--orange-dark); }
.art-cta .btn.ghost { color:#fff; box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.35); }
.art-cta .btn.ghost:hover { box-shadow:inset 0 0 0 1.5px var(--sky); color:var(--sky); }

/* ---------- Mobile ---------- */
@media (max-width:900px) {
  .art-more-grid { grid-template-columns:1fr 1fr; }
  .art-more-grid .art-card:nth-child(3) { display:none; }
}
@media (max-width:640px) {
  .art-col, .art-wide { padding:0 18px; }
  .art-hero { padding:30px 0 44px; }
  .art-hero.has-figure { padding-bottom:110px; }
  .art-figure { margin-top:-86px; margin-bottom:30px; }
  .art-figure img { border-radius:12px; }
  .post-body { font-size:18px; line-height:1.7; }
  .post-body > p:first-of-type { font-size:19px; }
  .post-body h2 { margin-top:38px; }
  .chain-box, .attack-box, .contrast-box, .immune-box, .info-box { padding:16px 18px; }
  .scorecard { padding:18px; }
  .scorecard-grid { grid-template-columns:1fr; }
  .art-more-grid { grid-template-columns:1fr; }
  .art-more-grid .art-card:nth-child(3) { display:flex; }
  .art-cta .in { flex-direction:column; align-items:flex-start; gap:18px; }
  .art-cta img { width:64px; height:64px; }
  .art-author { flex-direction:column; gap:12px; }
}
