/*
 * Homepage Resources widget (Brian's v8 section, 2026-11-17).
 * Brian's scoped CSS, re-scoped from #anders-home-resources to the class so the
 * widget can appear more than once; ".cxs-section" keeps it above the shared
 * section rules. Additions are marked "Theme:" at the end.
 */
/* Tokens mirror the live homepage: ink, navy, lime, leaf, muted, line; 20px card radius; 1220px wrap; site font stack. */
.cxs-section .anders-home-resources{--hr-ink:#0a2540;--hr-navy:#123a5e;--hr-lime:#a3e635;--hr-leaf:#4d7c0f;--hr-muted:#5b6b7f;--hr-line:#e4eaf1;--hr-ice:#d2e5f5;box-sizing:border-box;background:#fff;color:var(--hr-ink);font:400 14px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding:clamp(40px,5vw,72px) 0;text-align:left}
.cxs-section .anders-home-resources *,.cxs-section .anders-home-resources *::before,.cxs-section .anders-home-resources *::after{box-sizing:border-box}
.cxs-section .anders-home-resources .hr-wrap{max-width:1220px;margin:0 auto;padding:0 clamp(20px,4vw,40px)}
.cxs-section .anders-home-resources h2,.cxs-section .anders-home-resources h3,.cxs-section .anders-home-resources h4,.cxs-section .anders-home-resources p,.cxs-section .anders-home-resources ul,.cxs-section .anders-home-resources li{margin:0;padding:0;max-width:none;list-style:none}
.cxs-section .anders-home-resources h2,.cxs-section .anders-home-resources h3,.cxs-section .anders-home-resources h4{font-family:inherit;text-transform:none}
.cxs-section .anders-home-resources a{color:inherit;text-decoration:none}
.cxs-section .anders-home-resources a:focus-visible{outline:3px solid #2873a9;outline-offset:4px;border-radius:6px}
.cxs-section .anders-home-resources .hr-guide a:focus-visible{outline-color:#c2ff76}
.cxs-section .anders-home-resources img{display:block;max-width:100%}
.cxs-section .anders-home-resources svg{display:block;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.cxs-section .anders-home-resources .hr-arrow{flex-shrink:0;font-size:1.2em;line-height:1}

/* Header */
.cxs-section .anders-home-resources .hr-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:32px}
.cxs-section .anders-home-resources .hr-eyebrow{display:flex;align-items:center;gap:10px;color:var(--hr-leaf);font-size:12.5px;line-height:20px;font-weight:700;letter-spacing:.22em;text-transform:uppercase}
.cxs-section .anders-home-resources .hr-eyebrow::before{content:"";width:26px;height:2px;border-radius:2px;background:var(--hr-lime)}
.cxs-section .anders-home-resources h2{font-size:clamp(26px,3vw,38px);line-height:1.05;font-weight:700;letter-spacing:-.02em;color:var(--hr-ink);margin-top:14px}
.cxs-section .anders-home-resources .hr-header-side{min-width:0;text-align:right}
.cxs-section .anders-home-resources .hr-intro{color:var(--hr-muted);font-size:16px;line-height:1.6}

/* Main row: two wide guide cards share rows so titles and hooks line up */
.cxs-section .anders-home-resources .hr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto 1fr;column-gap:18px;row-gap:0}
.cxs-section .anders-home-resources .hr-guide{grid-row:1/span 2;display:grid;grid-template-rows:subgrid;row-gap:0;min-width:0;border-radius:20px;padding:26px 28px 22px;color:#fff;background:radial-gradient(ellipse at 100% 0%,rgba(163,230,53,.15),transparent 65%),linear-gradient(155deg,#123a5e,#0a2540)}
.cxs-section .anders-home-resources .hr-guide h3{font-size:22px;line-height:1.2;font-weight:700;letter-spacing:-.02em;color:#fff;margin-top:0}
.cxs-section .anders-home-resources .hr-hook{font-size:15px;line-height:1.4;font-weight:600;color:var(--hr-lime);margin-top:6px}
.cxs-section .anders-home-resources .hr-head{min-width:0}
.cxs-section .anders-home-resources .hr-guide-body{min-width:0;margin-top:18px;display:flex;flex-direction:column}
.cxs-section .anders-home-resources .hr-art{display:block;width:100%;height:176px;margin-bottom:18px;overflow:visible}
.cxs-section .anders-home-resources .hr-art svg{width:100%;height:100%;stroke:none}
.cxs-section .anders-home-resources .hr-professions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px;align-items:start}
.cxs-section .anders-home-resources .hr-profession{min-width:0}
.cxs-section .anders-home-resources .hr-profession h4{font-size:12px;line-height:18px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--hr-ice);margin-bottom:8px}
.cxs-section .anders-home-resources .hr-profession a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;border-top:1px solid rgba(255,255,255,.18);font-size:15px;line-height:1.3;font-weight:600;color:#fff;transition:color .15s}
.cxs-section .anders-home-resources .hr-profession a .hr-arrow{color:var(--hr-lime)}
.cxs-section .anders-home-resources .hr-profession a:hover{color:var(--hr-lime)}

/* Supporting row */
.cxs-section .anders-home-resources .hr-support{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}
.cxs-section .anders-home-resources .hr-card{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;align-items:start;min-width:0;padding:16px 18px;border:1px solid var(--hr-line);border-radius:16px;background:#f7f9fb;transition:border-color .15s,background .15s}
.cxs-section .anders-home-resources .hr-card:hover{border-color:#aebfce;background:#f1f6fa}
.cxs-section .anders-home-resources .hr-visual{display:block;flex-shrink:0}
.cxs-section .anders-home-resources .hr-portrait{width:56px;height:56px;overflow:hidden;border:2px solid var(--hr-lime);border-radius:50%;background:#eef2f6}
.cxs-section .anders-home-resources .hr-portrait-img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 0;transform:scale(1.7);transform-origin:50% 12%}
.cxs-section .anders-home-resources .hr-icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:14px;background:#eaf4dc;color:var(--hr-leaf)}
.cxs-section .anders-home-resources .hr-icon svg{width:26px;height:26px}
.cxs-section .anders-home-resources .hr-card-body{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;min-width:0}
.cxs-section .anders-home-resources .hr-tag{display:block;font-size:12px;line-height:18px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--hr-leaf)}
.cxs-section .anders-home-resources .hr-card h3{font-size:17px;line-height:1.25;font-weight:700;letter-spacing:-.02em;color:var(--hr-ink);margin-top:2px}
.cxs-section .anders-home-resources .hr-card-desc{display:block;font-size:14px;line-height:1.5;color:var(--hr-muted);margin-top:4px}
.cxs-section .anders-home-resources .hr-action{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding-top:8px;font-size:14px;line-height:22px;font-weight:600;color:var(--hr-navy)}
.cxs-section .anders-home-resources .hr-card:hover .hr-action{text-decoration:underline;text-underline-offset:4px}

/* Resource Center banner (bottom, compact) */
.cxs-section .anders-home-resources .hr-hub{display:flex;flex-direction:row;align-items:stretch;min-width:0;overflow:hidden;margin-top:18px;border:1px solid var(--hr-line);border-radius:20px;background:#fff}
.cxs-section .anders-home-resources .hr-photo{flex:0 0 26%;width:26%;height:128px;min-height:0;object-fit:cover;object-position:65% 43%}
.cxs-section .anders-home-resources .hr-hub-body{flex:1;display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:0;padding:14px 32px}
.cxs-section .anders-home-resources .hr-hub-text{min-width:0}
.cxs-section .anders-home-resources .hr-hub h3{font-size:22px;line-height:1.2;font-weight:700;letter-spacing:-.02em;color:var(--hr-ink);margin-top:2px}
.cxs-section .anders-home-resources .hr-hub p{font-size:15px;line-height:1.5;color:var(--hr-muted);margin-top:4px}
.cxs-section .anders-home-resources .hr-hub .hr-button{flex-shrink:0;margin-top:0}
.cxs-section .anders-home-resources .hr-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;margin-top:18px;padding:13px 26px;border-radius:100px;background:var(--hr-lime);color:var(--hr-ink);font-size:15px;line-height:21px;font-weight:600;box-shadow:0 6px 18px rgba(163,230,53,.45);transition:background .15s}
.cxs-section .anders-home-resources .hr-button:hover{background:#b6f251}

@supports not (grid-template-rows:subgrid){
.cxs-section .anders-home-resources .hr-guide{display:flex;flex-direction:column}
.cxs-section .anders-home-resources .hr-guide-body{flex:1}
}

/* Narrow desktop */
@media(min-width:1000px) and (max-width:1139.98px){
.cxs-section .anders-home-resources .hr-guide{padding:22px 22px 18px}
.cxs-section .anders-home-resources .hr-guide h3{font-size:20px}
.cxs-section .anders-home-resources .hr-professions{column-gap:16px}
.cxs-section .anders-home-resources .hr-card{grid-template-columns:minmax(0,1fr);row-gap:10px;padding:16px}
.cxs-section .anders-home-resources .hr-portrait,.cxs-section .anders-home-resources .hr-icon{width:48px;height:48px}
}
/* Tablet */
@media(max-width:999.98px){
.cxs-section .anders-home-resources .hr-header{align-items:flex-start;flex-direction:column;gap:8px;margin-bottom:24px}
.cxs-section .anders-home-resources .hr-header-side{text-align:left}
.cxs-section .anders-home-resources .hr-grid{display:block}
.cxs-section .anders-home-resources .hr-guide{display:flex;flex-direction:column}
.cxs-section .anders-home-resources .hr-guide+.hr-guide{margin-top:18px}
.cxs-section .anders-home-resources .hr-card{grid-template-columns:minmax(0,1fr);row-gap:10px}
.cxs-section .anders-home-resources .hr-hub-body{gap:16px;padding:14px 24px}
.cxs-section .anders-home-resources .hr-hub p{display:none}
}
/* Phone */
@media(max-width:700.98px){
.cxs-section .anders-home-resources .hr-header{margin-bottom:20px}
.cxs-section .anders-home-resources .hr-intro{font-size:15px}
.cxs-section .anders-home-resources .hr-guide{padding:22px 20px 18px}
.cxs-section .anders-home-resources .hr-guide+.hr-guide{margin-top:14px}
.cxs-section .anders-home-resources .hr-art{height:140px}
.cxs-section .anders-home-resources .hr-professions{column-gap:20px}
.cxs-section .anders-home-resources .hr-support{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:14px}
.cxs-section .anders-home-resources .hr-card{grid-template-columns:auto minmax(0,1fr);row-gap:0;padding:16px 18px}
.cxs-section .anders-home-resources .hr-action{min-height:32px}
.cxs-section .anders-home-resources .hr-hub{flex-direction:column;margin-top:14px}
.cxs-section .anders-home-resources .hr-photo{flex:0 0 auto;width:100%;height:96px}
.cxs-section .anders-home-resources .hr-hub-body{flex-direction:column;align-items:stretch;padding:16px 20px 20px}
.cxs-section .anders-home-resources .hr-hub h3{font-size:22px}
.cxs-section .anders-home-resources .hr-button{width:100%}
}
@media(prefers-reduced-motion:reduce){.cxs-section .anders-home-resources *{transition:none!important}}

/* Theme: shared SVG arrow (inc/svg-icons.php) in place of the "→" glyph. */
.cxs-section .anders-home-resources .hr-arrow{display:inline-grid;place-items:center;font-size:1.1em}
.cxs-section .anders-home-resources .hr-arrow svg.hr-arrow-svg{width:1em;height:1em;stroke-width:1.9;transition:transform .18s ease}
.cxs-section .anders-home-resources .hr-profession a .hr-arrow{width:26px;height:26px;border-radius:50%;background:rgba(163,230,53,.14);font-size:14px;transition:background .15s,color .15s}
.cxs-section .anders-home-resources .hr-profession a:is(:hover,:focus-visible) .hr-arrow{background:var(--hr-lime);color:var(--hr-ink)}
.cxs-section .anders-home-resources .hr-card:is(:hover,:focus-visible) .hr-action .hr-arrow-svg,
.cxs-section .anders-home-resources .hr-button:is(:hover,:focus-visible) .hr-arrow-svg{transform:translateX(3px)}
.cxs-section .anders-home-resources .hr-action .hr-arrow,
.cxs-section .anders-home-resources .hr-button .hr-arrow{font-size:1.15em}
/* Theme: intro fade (sections.js). Brian's card/button transitions would
   otherwise replace the shared entrance transition on these elements. */
.cxs-section[data-cxs-intro] .anders-home-resources .cxs-intro-running{transition:opacity .6s ease var(--cxs-intro-delay,0ms),translate .6s cubic-bezier(.2,.7,.2,1) var(--cxs-intro-delay,0ms),border-color .15s,background .15s}
/* Theme: editor-only flag for a row or card whose link is empty. */
.cxs-section .anders-home-resources [data-hr-missing-link]{outline:2px dashed #e5484d;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.cxs-section .anders-home-resources .hr-arrow-svg{transform:none!important}}
