/* Calavion internal pages: shared with the homepage tokens. Scoped away from .home. */
body:not(.home){--cv-ink:#1a2033;--cv-blue:#1732c0;--cv-blue-dark:#0f2494;--cv-muted:#5d6470;--cv-line:#e0e4ed;--cv-alt:#f7f8fb;--cv-soft:#edf2ff;--cv-radius:10px}
body:not(.home) .entry-hero,body:not(.home) .entry-hero .hero-section-overlay{background:#fff!important}
body:not(.home) .entry-hero .entry-hero-container-inner{padding-top:0}
body:not(.home) .entry-hero .hero-container{max-width:920px;padding:0 24px}
body:not(.home) .entry-hero .entry-header{text-align:left;padding:clamp(40px,7vw,84px) 0 8px;min-height:0}
body:not(.home) .entry-hero .entry-title{font-family:'Bricolage Grotesque',Arial,sans-serif;font-weight:700;font-size:clamp(2.1rem,1.6rem + 2.6vw,3.5rem);line-height:1.08;letter-spacing:-.025em;color:var(--cv-ink);text-wrap:balance;max-width:20ch}
body:not(.home) .content-container.site-container{max-width:920px;padding-left:24px;padding-right:24px}
body:not(.home) .content-area{margin-top:0;margin-bottom:clamp(48px,8vw,96px)}
body:not(.home) .entry.single-entry,body:not(.home) .content-bg.entry{box-shadow:none;background:transparent}
body:not(.home) .entry-content-wrap{padding:0}
body:not(.home) .entry-content{color:var(--cv-ink);font-size:17px;line-height:1.7}
body:not(.home) .entry-content > *{max-width:760px;margin-left:0;margin-right:auto}
body:not(.home) .entry-content p{margin-top:0;margin-bottom:1.1em}
body:not(.home) .entry-content h2{font-family:'Bricolage Grotesque',Arial,sans-serif;font-weight:700;font-size:clamp(1.55rem,1.25rem + 1.2vw,2.1rem);line-height:1.15;letter-spacing:-.02em;color:var(--cv-ink);margin:2.4em 0 .6em;text-wrap:balance}
body:not(.home) .entry-content h3{font-family:'Bricolage Grotesque',Arial,sans-serif;font-weight:600;font-size:1.25rem;line-height:1.3;color:var(--cv-ink);margin:1.8em 0 .4em}
body:not(.home) .entry-content a:not(.wp-element-button){color:var(--cv-blue);text-underline-offset:4px}
body:not(.home) .entry-content a:not(.wp-element-button):hover{color:var(--cv-blue-dark)}
body:not(.home) .entry-content ul,body:not(.home) .entry-content ol{margin:0 0 1.3em;padding-left:1.3em}
body:not(.home) .entry-content li{margin-bottom:.45em}
body:not(.home) .entry-content li::marker{color:var(--cv-blue)}
body:not(.home) .entry-content code{background:var(--cv-alt);border:1px solid var(--cv-line);border-radius:6px;padding:.05em .35em;font-size:.92em}
body:not(.home) .entry-content blockquote{border-left:3px solid var(--cv-blue);margin:1.4em 0;padding:.2em 0 .2em 1.1em;color:var(--cv-ink)}
.cv-lead{font-size:clamp(1.15rem,1.05rem + .5vw,1.4rem)!important;line-height:1.55!important;color:var(--cv-ink)}
.cv-status{display:inline-flex;align-items:center;gap:.5em;margin:0 0 1.2em!important;padding:.3em .85em;border-radius:999px;font-size:.82rem;font-weight:600;letter-spacing:.01em;border:1px solid var(--cv-line);background:var(--cv-alt);color:var(--cv-ink)}
.cv-status::before{content:'';width:.55em;height:.55em;border-radius:50%;background:var(--cv-muted)}
.cv-status--available{background:var(--cv-soft);border-color:#c9d8ff;color:#0f2494}
.cv-status--available::before{background:var(--cv-blue)}
.cv-status--dev::before{background:#b7791f}
.cv-status--research::before{background:#7c8798}
.cv-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin:1.6em 0 2em;max-width:920px!important}
.cv-cards > *{margin:0!important;max-width:none!important}
.cv-card{border:1px solid var(--cv-line);border-radius:var(--cv-radius);padding:20px 22px;background:#fff}
.cv-card h3{margin:0 0 .35em!important;font-size:1.1rem!important}
.cv-card p{font-size:.96rem;line-height:1.55;color:var(--cv-muted);margin:0 0 .6em}
.cv-card p:last-child{margin-bottom:0}
.cv-note{border:1px solid var(--cv-line);border-left:3px solid var(--cv-blue);background:var(--cv-alt);border-radius:var(--cv-radius);padding:18px 22px;margin:1.6em 0}
.cv-note p:last-child{margin-bottom:0}
.cv-steps{counter-reset:cvstep;margin:1.6em 0 2em;padding:0!important;list-style:none}
.cv-steps > li{counter-increment:cvstep;position:relative;padding:0 0 1.4em 3.1em;margin:0;border-left:0}
.cv-steps > li::before{content:counter(cvstep);position:absolute;left:0;top:.1em;width:2.1em;height:2.1em;border-radius:50%;background:var(--cv-soft);color:var(--cv-blue);font-family:'Bricolage Grotesque',Arial,sans-serif;font-weight:700;display:flex;align-items:center;justify-content:center;font-size:.95rem}
.cv-steps > li::marker{content:''}
body:not(.home) .entry-content .wp-block-buttons{margin:1.8em 0;gap:14px}
body:not(.home) .entry-content .wp-block-button__link{background:var(--cv-blue);color:#fff;border-radius:var(--cv-radius);padding:.85rem 1.5rem;font-size:.95rem;font-weight:600;box-shadow:none;border:1px solid var(--cv-blue);text-decoration:none;min-height:44px}
body:not(.home) .entry-content .wp-block-button__link:hover{background:var(--cv-blue-dark);border-color:var(--cv-blue-dark);color:#fff}
body:not(.home) .entry-content .is-style-outline .wp-block-button__link{background:transparent;color:var(--cv-blue)}
body:not(.home) .entry-content .is-style-outline .wp-block-button__link:hover{background:var(--cv-soft);color:var(--cv-blue-dark)}
body:not(.home) .entry-content a:focus-visible,body:not(.home) .entry-content .wp-block-button__link:focus-visible{outline:3px solid #416def;outline-offset:4px;border-radius:3px}
body:not(.home) .entry-content table{border-collapse:collapse;width:100%;font-size:.95rem}
body:not(.home) .entry-content th,body:not(.home) .entry-content td{border-bottom:1px solid var(--cv-line);padding:.7em .6em;text-align:left;vertical-align:top}
@media(max-width:600px){body:not(.home) .entry-hero .hero-container,body:not(.home) .content-container.site-container{padding-left:20px;padding-right:20px}body:not(.home) .entry-content{font-size:16px}.cv-card{padding:16px 18px}}
/* ---- Resources: evidence-asset components (2026-09-25) ---- */
.cv-breadcrumb{font-size:.85rem;color:var(--cv-muted);margin:0 0 1.2em!important}
.cv-breadcrumb ol{display:flex;flex-wrap:wrap;gap:.35em;list-style:none;margin:0!important;padding:0!important}
.cv-breadcrumb li{margin:0!important}
.cv-breadcrumb li+li::before{content:'/';margin-right:.35em;color:var(--cv-line)}
.cv-breadcrumb a{color:var(--cv-muted)!important;text-decoration:none}
.cv-breadcrumb a:hover{color:var(--cv-blue)!important;text-decoration:underline}
.cv-byline{font-size:.88rem;color:var(--cv-muted);margin:0 0 1.6em!important;padding-bottom:1em;border-bottom:1px solid var(--cv-line)}
.cv-byline strong{color:var(--cv-ink);font-weight:600}
.cv-method{border:1px solid var(--cv-line);border-radius:var(--cv-radius);background:var(--cv-alt);padding:18px 22px;margin:1.4em 0 2em}
.cv-method>h2,.cv-method>h3{margin:0 0 .5em!important;font-size:1.05rem!important;letter-spacing:0}
.cv-method p,.cv-method li{font-size:.95rem;line-height:1.6}
.cv-method p:last-child,.cv-method ul:last-child{margin-bottom:0}
.cv-summary{border-left:3px solid var(--cv-blue);padding:.2em 0 .2em 1.1em;margin:1.2em 0 1.8em}
.cv-summary p{font-size:1.05rem}
.cv-tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1.4em 0 2em;max-width:100%!important;border:1px solid var(--cv-line);border-radius:var(--cv-radius)}
.cv-tablewrap:focus-visible{outline:3px solid #416def;outline-offset:3px}
.cv-tablewrap table{min-width:640px;margin:0;font-size:.9rem;line-height:1.5}
.cv-tablewrap caption{caption-side:top;text-align:left;font-weight:600;padding:.8em .8em .2em;color:var(--cv-ink)}
.cv-tablewrap th{background:var(--cv-alt);font-weight:600;white-space:normal;border-bottom:1px solid var(--cv-line)}
.cv-tablewrap tbody th{background:#fff;font-weight:600;min-width:9em}
.cv-tablewrap td,.cv-tablewrap th{padding:.65em .8em;vertical-align:top}
.cv-tablewrap tr:last-child td,.cv-tablewrap tr:last-child th{border-bottom:0}
.cv-tablenote{font-size:.85rem;color:var(--cv-muted);margin:-1.4em 0 2em!important}
.cv-refs{padding-left:1.4em!important}
.cv-refs li{font-size:.92rem;line-height:1.55;margin-bottom:.8em;overflow-wrap:anywhere}
.cv-checklist{border:1px solid var(--cv-line);border-radius:var(--cv-radius);padding:20px 24px;margin:1.6em 0;background:#fff}
.cv-checklist h3{margin-top:0!important}
.cv-checklist ul{list-style:none;padding-left:0!important;margin:0}
.cv-checklist li{padding-left:1.9em;position:relative;margin-bottom:.7em}
.cv-checklist li::before{content:'\2610';position:absolute;left:0;top:0;color:var(--cv-blue);font-size:1.15em;line-height:1.4}
.cv-pillar{display:inline-block;font-size:.78rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--cv-blue);margin:0 0 .6em!important}
.cv-related a{font-weight:600}
@media print{header,.site-header,#masthead,.cv-site-footer,.entry-hero .entry-meta,.wp-block-buttons,.cv-breadcrumb,#wpadminbar,.kadence-scroll-to-top,.cv-noprint{display:none!important}body{font-size:12pt}.entry-content>*{max-width:none!important}.cv-checklist,.cv-tablewrap,.cv-method{break-inside:avoid;border-color:#999}.cv-tablewrap{overflow:visible}.cv-tablewrap table{min-width:0}a{color:#000!important;text-decoration:none!important}.entry-content a[href^='http']::after{content:' (' attr(href) ')';font-size:.8em;word-break:break-all}}
/* ---- Single Resources posts: same layout as internal pages ---- */
body.single-post .primary-sidebar,body.single-post .entry-related,body.single-post .post-navigation,body.single-post .comments-area,body.single-post .entry-taxonomies,body.single-post .entry-header .entry-meta,body.single-post .entry-footer,body.single-post .author-box{display:none!important}
body.single-post.has-sidebar .content-container.site-container,body.single-post .content-container.site-container{display:block;grid-template-columns:1fr!important;max-width:920px;padding-left:24px;padding-right:24px}
body.single-post .entry-header.post-title{padding:clamp(36px,6vw,72px) 0 0;margin:0}
body.single-post .entry-header .entry-title{font-family:'Bricolage Grotesque',Arial,sans-serif;font-weight:700;font-size:clamp(2.1rem,1.6rem + 2.6vw,3.5rem);line-height:1.08;letter-spacing:-.025em;color:var(--cv-ink);text-wrap:balance;max-width:20ch;margin:0 0 .5em}
body.single-post .content-area{margin-top:0;margin-bottom:clamp(48px,8vw,96px)}
body.single-post .entry.single-entry,body.single-post .content-bg.entry{box-shadow:none;background:transparent}
body.single-post .entry-content-wrap{padding:0}
body.single-post .entry-content{color:var(--cv-ink);font-size:17px;line-height:1.7}
body.single-post .entry-content > *{max-width:760px;margin-left:0;margin-right:auto}
body.single-post .entry-content p{margin-top:0;margin-bottom:1.1em}
body.single-post .entry-content h2{font-family:'Bricolage Grotesque',Arial,sans-serif;font-weight:700;font-size:clamp(1.55rem,1.25rem + 1.2vw,2.1rem);line-height:1.15;letter-spacing:-.02em;color:var(--cv-ink);margin:2.4em 0 .6em;text-wrap:balance}
body.single-post .entry-content h3{font-family:'Bricolage Grotesque',Arial,sans-serif;font-weight:600;font-size:1.25rem;line-height:1.3;color:var(--cv-ink);margin:1.8em 0 .4em}
body.single-post .entry-content a:not(.wp-element-button){color:var(--cv-blue);text-underline-offset:4px;text-decoration:underline}
body.single-post .entry-content ul,body.single-post .entry-content ol{margin:0 0 1.3em;padding-left:1.3em}
body.single-post .entry-content li{margin-bottom:.45em}
body.single-post .entry-content li::marker{color:var(--cv-blue)}
body.single-post .entry-content .cv-tablewrap,body.single-post .entry-content .cv-cards{max-width:920px}
body.single-post .entry-content .wp-block-buttons{margin:1.8em 0;gap:14px}
body.single-post .entry-content .wp-block-button__link{background:var(--cv-blue);color:#fff;border-radius:var(--cv-radius);padding:.85rem 1.5rem;font-weight:600;border:1px solid var(--cv-blue)}
@media(max-width:600px){body.single-post .content-container.site-container{padding-left:20px;padding-right:20px}body.single-post .entry-content{font-size:16px}}
/* ---- QA fixes 2026-09-25 ---- */
body .entry-content .cv-cards{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
body .entry-content .cv-cards .cv-card{margin:0}
body .entry-content .cv-breadcrumb a{text-decoration:none!important}
body .entry-content .cv-breadcrumb a:hover{text-decoration:underline!important}
.cv-tablecap{font-weight:600;margin:1.4em 0 .5em!important;color:var(--cv-ink)}
.cv-tablehint{display:none;font-size:.8rem;color:var(--cv-muted);margin:-.2em 0 .4em!important}
.cv-tablecap+.cv-tablehint+.cv-tablewrap,.cv-tablecap+.cv-tablewrap{margin-top:.4em}
.cv-tablewrap caption.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:700px){.cv-tablehint{display:block}}
@media print{.cv-tablehint{display:none!important}}
/* group blocks render an inner-container wrapper: put the grid there */
body .entry-content .cv-cards{display:block!important;max-width:920px}
body .entry-content .cv-cards>.wp-block-group__inner-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px;margin:0;max-width:none}
body .entry-content .cv-cards>.wp-block-group__inner-container>.cv-card{margin:0;max-width:none}
body .entry-content .cv-card>.wp-block-group__inner-container>*{max-width:none}
.cv-meta{font-size:.9rem;opacity:.75;margin:0 0 1rem}
.cv-answer{border-left:4px solid currentColor;padding:.25rem 1rem;margin:0 0 1.5rem;opacity:.95}
