/* Verapath marketing - RESOURCES page (design_handoff_v13 'V13 Resources.html' inline <style>), re-scoped .B -> .B.pg-resources. */
/* resource cards, colour-coded by type */
.B.pg-resources .rgroup{margin-top:64px}
.B.pg-resources .rgroup:first-of-type{margin-top:34px}
.B.pg-resources .rghead{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;padding-bottom:14px;border-bottom:1px solid var(--line)}
.B.pg-resources .rghead h2{font-family:var(--serif);font-size:clamp(1.6rem,1.2rem + 1vw,2.2rem);color:var(--forest);line-height:1.1}
.B.pg-resources .rghead .ct{font-size:.8rem;color:var(--mute)}
.B.pg-resources .rgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px}
@media(max-width:980px){.B.pg-resources .rgrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.B.pg-resources .rgrid{grid-template-columns:1fr}}
.B.pg-resources .rcard{position:relative;border-radius:var(--radius);overflow:hidden;padding:28px;display:flex;flex-direction:column;min-height:250px;
  border:1px solid var(--line);background:#fff;transition:transform .5s var(--ease),box-shadow .5s var(--ease)}
.B.pg-resources .rcard:hover{transform:translateY(-5px);box-shadow:0 26px 54px -34px rgba(34,48,41,.42)}
.B.pg-resources .rcard .rtype{align-self:flex-start;font-size:.66rem;font-weight:650;letter-spacing:.12em;text-transform:uppercase;border-radius:999px;padding:.32rem .72rem}
.B.pg-resources .rcard h3{font-family:var(--serif);font-size:1.35rem;line-height:1.14;margin-top:1.1rem}
.B.pg-resources .rcard p{font-size:.92rem;line-height:1.5;margin-top:.6rem;flex:1}
.B.pg-resources .rcard .rgo{display:inline-flex;align-items:center;gap:.5rem;font-weight:650;font-size:.9rem;margin-top:1.2rem}
.B.pg-resources .rcard .rgo .arr{transition:transform .35s var(--ease)}
.B.pg-resources .rcard:hover .rgo .arr{transform:translateX(4px)}
.B.pg-resources .rcard .rdate{position:absolute;top:28px;right:28px;font-size:.76rem}
/* type: whitepaper (dark forest) */
.B.pg-resources .rcard.t-wp{background:radial-gradient(120% 130% at 25% 0%,var(--forest-lift),var(--forest) 58%,var(--forest));border-color:transparent}
.B.pg-resources .rcard.t-wp .rtype{background:color-mix(in srgb,var(--lime) 20%,transparent);color:var(--lime)}
.B.pg-resources .rcard.t-wp h3{color:#fff}
.B.pg-resources .rcard.t-wp p{color:rgba(255,255,255,.72)}
.B.pg-resources .rcard.t-wp .rgo{color:var(--lime)}
.B.pg-resources .rcard.t-wp .rdate{color:rgba(255,255,255,.5)}
/* type: quick reference (mint) */
.B.pg-resources .rcard.t-op{background:linear-gradient(155deg,var(--mint-2),var(--mint));border-color:color-mix(in srgb,var(--green) 16%,transparent)}
.B.pg-resources .rcard.t-op .rtype{background:color-mix(in srgb,var(--green) 14%,transparent);color:var(--forest)}
.B.pg-resources .rcard.t-op h3{color:var(--forest)}
.B.pg-resources .rcard.t-op p{color:color-mix(in srgb,var(--ink) 78%,transparent)}
.B.pg-resources .rcard.t-op .rgo{color:var(--forest)}
.B.pg-resources .rcard.t-op .rdate{color:var(--mute)}
/* type: newsletter (violet) */
.B.pg-resources .rcard.t-nl{background:linear-gradient(155deg,var(--violet-3),var(--violet-2));border-color:color-mix(in srgb,var(--violet) 40%,transparent)}
.B.pg-resources .rcard.t-nl .rtype{background:color-mix(in srgb,var(--violet) 34%,transparent);color:#4a3782}
.B.pg-resources .rcard.t-nl h3{color:var(--forest)}
.B.pg-resources .rcard.t-nl p{color:color-mix(in srgb,var(--ink) 78%,transparent)}
.B.pg-resources .rcard.t-nl .rgo{color:#4a3782}
.B.pg-resources .rcard.t-nl .rdate{color:var(--mute)}
/* Admin-managed cards (RESOURCES_CMS.md §4/§6). The thumbnail is always a fixed 16:9 box, whatever shape the
   upload is; without one the box is filled in the type colour with a faint V-wing, so rows stay level. */
.B.pg-resources .rcard-media{display:block;aspect-ratio:16/9;overflow:hidden;border-radius:12px;margin-bottom:1.1rem}
.B.pg-resources .rcard-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.B.pg-resources .rcard-ph{display:grid;place-items:center;width:100%;height:100%}
.B.pg-resources .rcard-ph-mk{display:block;width:26%;opacity:.22}
.B.pg-resources .rcard-ph-mk svg{display:block;width:100%;height:auto}
.B.pg-resources .rcard.t-wp .rcard-ph{background:radial-gradient(120% 130% at 30% 0%,var(--forest-lift),var(--forest) 60%);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--lime) 14%,transparent)}
.B.pg-resources .rcard.t-wp .rcard-ph-mk{color:var(--lime)}
.B.pg-resources .rcard.t-op .rcard-ph{background:var(--mint);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--green) 18%,transparent)}
.B.pg-resources .rcard.t-op .rcard-ph-mk{color:var(--green)}
.B.pg-resources .rcard.t-nl .rcard-ph{background:var(--violet-2);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--violet) 45%,transparent)}
.B.pg-resources .rcard.t-nl .rcard-ph-mk{color:var(--violet);opacity:.6}
/* type chip and date share a row under the thumbnail; neither wraps */
.B.pg-resources .rcard .rmeta{display:flex;align-items:center;justify-content:space-between;gap:12px}
.B.pg-resources .rcard .rmeta .rtype{align-self:center;white-space:nowrap}
.B.pg-resources .rcard .rmeta .rdate{position:static;white-space:nowrap}
/* the title link covers the card, as the whole-card link did; Download sits above it */
.B.pg-resources .rcard .rlink{color:inherit;text-decoration:none}
.B.pg-resources .rcard .rlink::after{content:"";position:absolute;inset:0;z-index:1}
.B.pg-resources .rcard .rlink:focus-visible{outline:none}
.B.pg-resources .rcard .rlink:focus-visible::after{outline:2px solid var(--green-ink);outline-offset:-3px;border-radius:var(--radius)}
.B.pg-resources .rcard .ract{display:flex;align-items:center;justify-content:space-between;gap:10px 14px;flex-wrap:wrap;margin-top:1.2rem}
.B.pg-resources .rcard .ract .rgo{margin-top:0;white-space:nowrap}
.B.pg-resources .rcard .rdl{position:relative;z-index:2;font-size:.86rem;padding:.6em 1.05em}
/* "Read the Quick Reference" + Download needs ~312px on one line. Narrower cards stack the two, and since every card
   on the page is the same width they all switch together, so the action rows of side-by-side cards stay level. */
.B.pg-resources .rcard{container:rcard / inline-size}
@container rcard (max-width:321px){.B.pg-resources .rcard .ract{flex-direction:column;align-items:flex-start}}
/* nothing published yet */
.B.pg-resources .rempty{border:1px solid var(--line);border-radius:var(--radius-lg);padding:72px 32px;text-align:center;margin-top:34px}
.B.pg-resources .rempty h2{font-family:var(--serif);font-size:var(--t-h2);color:var(--forest);line-height:1.05;max-width:20ch;margin:0 auto}
.B.pg-resources .rempty h2 em{color:var(--green-ink)}
.B.pg-resources .rempty p{color:var(--mute);margin:1rem auto 0;max-width:52ch}
/* legend */
.B.pg-resources .rlegend{display:flex;gap:22px;flex-wrap:wrap;margin-top:1.5rem;font-size:.84rem;color:var(--mute);justify-content:center}
.B.pg-resources .rlegend span{display:inline-flex;align-items:center;gap:.5rem}
.B.pg-resources .rlegend i{width:12px;height:12px;border-radius:4px;display:inline-block}

/* resources hero: centered, full-height feel */
.B.pg-resources header.phero{padding:clamp(84px,12vh,170px) 0 clamp(34px,4vh,52px);min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:center;text-align:left;box-sizing:border-box}
.B.pg-resources header.phero .shell{margin-block:auto}
.B.pg-resources .phero .shell{width:var(--shell);margin-inline:auto}
.B.pg-resources .phero h1{max-width:22ch}
.B.pg-resources .phero p.sub{max-width:56ch}
/* scroll cue: Verapath V-wing, matching the homepage */
.B.pg-resources .cue{position:static;margin:0 auto;padding-top:22px;align-self:center;z-index:3;color:var(--mute);
  display:flex;flex-direction:column;align-items:center}
/* matched to the hero h1 so the mark balances the copy above it */
.B.pg-resources .cue .cue-v{display:block;width:clamp(44px,4.2vw,64px);color:var(--green-ink);opacity:.92;animation:cuev 2.2s var(--ease) infinite}
.B.pg-resources .cue .cue-v svg{display:block;width:100%;height:auto}
@keyframes cuev{0%{transform:translateY(0);opacity:.5}50%{transform:translateY(7px);opacity:1}100%{transform:translateY(0);opacity:.5}}
@media(prefers-reduced-motion:reduce){.B.pg-resources .cue .cue-v{animation:none;opacity:.9}}
@media(max-width:760px){.B.pg-resources header.phero{min-height:auto;padding:120px 0 54px}}

/* industry jump buttons */
.B.pg-resources .rnav{width:fit-content;max-width:100%}
.B.pg-resources .rjump{display:flex;gap:12px;flex-wrap:wrap;margin-top:1.6rem}
.B.pg-resources .rjump a{display:inline-flex;align-items:center;gap:.5rem;font-size:.9rem;font-weight:650;color:var(--forest);
  background:#fff;border:1px solid var(--line);border-radius:4px;padding:.6rem 1.1rem;
  transition:border-color .3s var(--ease),color .3s var(--ease),transform .3s var(--ease),box-shadow .3s var(--ease)}
.B.pg-resources .rjump a::after{content:"↓";font-weight:400;color:var(--green);transition:transform .3s var(--ease)}
.B.pg-resources .rjump a:hover{border-color:var(--green);color:var(--green);transform:translateY(-2px);box-shadow:0 14px 30px -20px rgba(34,48,41,.4)}
.B.pg-resources .rjump a:hover::after{transform:translateY(2px)}
/* Where the three buttons (~582px) no longer fit on one line, stack them all rather than let Credit Unions wrap in
   right under Community Banks: those two must never be adjacent. */
@media(max-width:700px){.B.pg-resources .rjump{flex-direction:column;align-items:flex-start}}
.B.pg-resources .rgroup{scroll-margin-top:104px}

/* subscribe band */
/* No top border and no input fill or frame here: vp-luxe.css's soft fade line and frosted input apply, as in
   V16, where luxe loads after the page style and wins at equal specificity. This sheet's .pg-* scope would
   outrank luxe, so repeating them here drew a second, hard line and a flat input. */
.B.pg-resources .sub-band{padding:90px 0;text-align:center}
.B.pg-resources .sub-band h2{font-family:var(--serif);font-size:var(--t-h2);max-width:22ch;margin:0 auto;line-height:1.05}
.B.pg-resources .sub-band h2 em{color:var(--green-ink)}
.B.pg-resources .sub-band p{color:var(--mute);margin:1rem auto 0;max-width:44ch}
.B.pg-resources .subrow{display:flex;gap:10px;justify-content:center;margin-top:1.8rem;flex-wrap:wrap}
.B.pg-resources .subrow input{font-family:var(--sans);font-size:1rem;color:var(--ink);
  border-radius:999px;padding:.85rem 1.3rem;outline:none;min-width:280px;
  transition:border-color .3s,box-shadow .3s}
.B.pg-resources .subrow input:focus{border-color:var(--lime);box-shadow:0 0 0 3px color-mix(in srgb,var(--lime) 18%,transparent)}
.rtm{font-size:.42em;line-height:1;vertical-align:super;font-family:var(--sans);font-weight:400;margin-left:.06em;letter-spacing:0}
