/* ClaimVision articles (/blog/* pages built from _templates/blog-article.dc.html).
   Loaded after site.css and solutions.css, so an article can use the solutions kit (sx-band, sx-break,
   sx-rules, sx-cards, sx-show, cv-table, cv-frame) between its reading columns. Everything here is
   prefixed ax- so it never touches the older posts, which keep their own inline bp- styles.
   Motion: blocks marked [data-rise] arrive once (assets/site.js section 18); nothing moves for its own sake,
   and reduced motion switches every transition off. */

/* ---------- hero: the article's own art, full bleed, the headline over a scrim ---------- */
.ax-hero { position: relative; isolation: isolate; overflow: clip; background: #00263c; min-height: clamp(460px, 72vh, 760px); display: flex; }
.ax-hero picture { position: absolute; inset: 0; z-index: -2; }
.ax-hero picture img { width: 100%; height: 100%; object-fit: cover; object-position: var(--ax-focus, 60% 50%); display: block; }
.ax-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(0,38,60,.92) 0%, rgba(0,38,60,.72) 40%, rgba(0,38,60,.18) 78%, rgba(0,38,60,.05) 100%), linear-gradient(0deg, rgba(0,38,60,.55) 0%, rgba(0,38,60,0) 45%); }
.ax-hero .cv-wrap { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 96px; padding-bottom: 64px; }
.ax-hero .sx-crumb, .ax-hero .sx-crumb a { color: #b9c8d1; }
.ax-hero .sx-crumb span { color: #e6eef2; }
.ax-hero .cv-eyebrow { color: #7fd6d1; margin: 0 0 14px; }
.ax-h1 { font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; color: #fff; margin: 0 0 20px; max-width: 20ch; text-wrap: balance; }
.ax-byline { font-size: 14px; color: #c3d2da; margin: 0; }
.ax-byline a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(159,227,220,.45); }
.ax-byline a:hover { border-bottom-color: #9fe3dc; }
.ax-credit { position: absolute; right: 16px; bottom: 12px; margin: 0; font-size: 11px; color: rgba(255,255,255,.55); }

/* ---------- the answer first, then "in short" ---------- */
.ax-lead { background: #fff; border-bottom: 1px solid hsl(210 10% 92%); }
.ax-lead .ax-col { padding-top: 48px; padding-bottom: 40px; }
.ax-answer { font-size: 20px; line-height: 1.6; color: var(--cv-deep-current); margin: 0 0 18px; text-wrap: pretty; }
.ax-short { margin: 26px 0 0; padding: 20px 24px 8px; background: var(--cv-mint); border-left: 3px solid var(--cv-aqua); border-radius: 0 14px 14px 0; }
.ax-short > p:first-child { margin: 0 0 10px; font: 700 11px var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--cv-deep-teal); }
.ax-short ul { margin: 0; padding-left: 20px; }
.ax-short li { font-size: 15.5px; line-height: 1.6; color: var(--cv-deep-current); margin: 0 0 12px; }

/* ---------- the reading column ---------- */
.ax-col { max-width: 720px; margin: 0 auto; padding: 0 32px; box-sizing: content-box; }
.ax-body { background: #fafafa; }
.ax-prose { padding-top: 56px; padding-bottom: 24px; }
.ax-prose p, .ax-prose li { font-size: 17px; line-height: 1.78; color: var(--cv-graphite); text-wrap: pretty; }
.ax-prose p { margin: 0 0 20px; }
.ax-prose h2 { font-family: var(--font-display); font-size: 30px; line-height: 1.2; font-weight: 800; letter-spacing: -.015em; color: var(--cv-deep-current); margin: 0 0 18px; text-wrap: balance; }
.ax-prose h3 { font-family: var(--font-display); font-size: 20px; line-height: 1.3; font-weight: 800; color: var(--cv-deep-current); margin: 34px 0 10px; }
.ax-prose .cv-eyebrow { margin: 0 0 10px; }
.ax-prose ul, .ax-prose ol { margin: 0 0 22px; padding-left: 22px; }
.ax-prose li { margin: 0 0 10px; padding-left: 4px; }
.ax-prose a, .ax-body .cv-faq a, .ax-lead a { color: var(--cv-deep-teal); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(26,74,92,.3); }
.ax-prose a:hover, .ax-body .cv-faq a:hover, .ax-lead a:hover { color: var(--cv-deep-current); border-bottom-color: var(--cv-clear-sky); }
.ax-prose blockquote { margin: 30px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--cv-aqua); font-family: var(--font-display); font-size: 22px; line-height: 1.4; font-weight: 700; color: var(--cv-deep-current); }
.ax-prose blockquote p { font: inherit; color: inherit; margin: 0; }
.ax-prose .cv-table-wrap { margin: 24px 0 26px; }
.ax-prose .cv-table { font-size: 14px; }

/* a definition or aside inside the column */
.ax-note { margin: 28px 0; padding: 18px 22px; background: #fff; border: 1px solid var(--cv-silver); border-radius: 14px; }
.ax-note > p:first-child { margin: 0 0 6px; font: 700 11px var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--cv-deep-teal); }
.ax-note p { font-size: 15.5px; line-height: 1.65; margin: 0; }

/* ---------- art inside the story ---------- */
/* One frame for every picture in the story: the same width, corners, shadow and caption, whether it sits
   inside a section (ax-inset) or between sections (ax-wide). Full-width art is only the hero and the
   dividers (sx-band, sx-break). --ax-frame is the frame width; it never runs wider than the page allows. */
:root { --ax-frame: min(880px, calc(100vw - 64px)); }
.ax-wide { width: var(--ax-frame); margin: 8px auto 40px; }
.ax-inset { width: var(--ax-frame); margin: 34px 0 38px calc((100% - var(--ax-frame)) / 2); }
.ax-wide img, .ax-inset img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 24px 60px -32px rgba(0,38,60,.45); }
.ax-wide figcaption, .ax-inset figcaption { margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: #6a6a6a; max-width: 72ch; }
/* pair: two pictures side by side in the wide frame */
.ax-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ax-pair figure { margin: 0; }
.ax-pair img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- blocks from the solutions kit, placed in an article ---------- */
.ax-block { padding: 8px 0 48px; }
.ax-block > .cv-wrap > .sx-head { margin-bottom: 22px; }
.ax-block .sx-rules, .ax-block .sx-cards { margin-top: 4px; }
.ax-body .sx-band { margin: 24px 0 56px; }
.ax-body .sx-break { margin: 24px 0 0; }
.ax-body .sx-show { margin: 0 auto 48px; }

/* ---------- close ---------- */
.ax-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 26px; margin: 20px 0 56px; }
.ax-cta p { font-size: 15.5px; line-height: 1.6; margin: 0; max-width: 46ch; color: var(--cv-graphite); }
.ax-back { font-size: 13.5px; padding: 8px 0 72px; margin: 0; }
.ax-back a { color: var(--cv-deep-teal); font-weight: 600; text-decoration: none; }

/* ---------- tablet and phone ---------- */
@media (max-width: 600px) {
  :root { --ax-frame: calc(100vw - 32px); }
  .ax-hero { min-height: 560px; }
  .ax-hero::before { background: linear-gradient(0deg, rgba(0,38,60,.96) 0%, rgba(0,38,60,.8) 50%, rgba(0,38,60,.25) 100%); }
  .ax-hero .cv-wrap { padding-top: 120px; padding-bottom: 40px; }
  .ax-h1 { font-size: 31px !important; }
  .ax-col { padding: 0 16px; }
  .ax-answer { font-size: 18px; }
  .ax-prose { padding-top: 40px; }
  .ax-prose p, .ax-prose li { font-size: 16.5px; }
  .ax-prose h2 { font-size: 25px; }
  .ax-prose blockquote { font-size: 19px; }
  .ax-pair { grid-template-columns: minmax(0, 1fr); }
  .ax-wide img, .ax-inset img { border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) { .ax-hero picture img { transform: none !important; } }
