/* ChapelAdmin Resources page: one clear hierarchy, consistent cards and responsive spacing. */
.resources-page { color:#102b52; background:#fff; }
.resources-page * { box-sizing:border-box; }
.resources-hero {
  width:min(1240px, calc(100% - 48px)); margin:22px auto 0; padding:32px;
  display:grid; grid-template-columns:1fr 0.92fr; gap:38px; align-items:center;
  background:linear-gradient(115deg,#f1f6ff 0%,#fff 66%); border:1px solid #e4ecf7;
  border-radius:20px; overflow:hidden;
}
.resources-eyebrow { display:block; color:#0d63ce; font-size:10px; letter-spacing:1.5px; font-weight:850; margin-bottom:12px; }
.resources-hero h1 { font-size:clamp(30px,3.2vw,44px); line-height:1.08; letter-spacing:-1.4px; margin:0 0 16px; color:#0b2853; max-width:560px; }
.resources-hero-copy>p { color:#5d6d83; font-size:14px; line-height:1.75; max-width:510px; margin:0 0 22px; }
.resources-hero-actions,.resources-cta-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.resources-btn,.resources-outline-btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:12px 17px; border-radius:9px; text-decoration:none; font-size:12px; font-weight:800; }
.resources-btn { color:#fff; background:linear-gradient(135deg,#efa400,#d58a00); border:1px solid #e2a01a; box-shadow:0 6px 16px #d58a0026; }
.resources-outline-btn { color:#103363; background:#fff; border:1px solid #d5e1f2; }
.resources-text-link,.resources-heading-link { color:#075ac4; font-size:12px; font-weight:800; text-decoration:none; }
.resources-trust-points { display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:24px; color:#53657e; font-size:10px; font-weight:650; }
.resources-hero-image { position:relative; min-width:0; }
.resources-hero-image>img { display:block; width:100%; height:auto; aspect-ratio:8/5; object-fit:cover; object-position:center; border-radius:15px; box-shadow:0 14px 34px #102b5220; }
.resources-image-note { position:absolute; left:14px; right:14px; bottom:14px; display:flex; gap:12px; align-items:center; padding:13px 15px; border:1px solid #ffffffb8; border-radius:12px; background:#ffffffed; box-shadow:0 8px 24px #102b5218; backdrop-filter:blur(8px); }
.resources-note-icon { width:36px; height:36px; display:grid; place-items:center; flex:0 0 auto; color:#fff; background:#0d58b7; border-radius:10px; font-size:18px; }
.resources-image-note strong,.resources-image-note small { display:block; }
.resources-image-note strong { font-size:12px; margin-bottom:3px; }
.resources-image-note small { color:#64748b; font-size:10px; line-height:1.45; }
.resources-library { width:min(1240px,calc(100% - 48px)); margin:48px auto 0; }
.resources-section-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:22px; }
.resources-section-heading h2 { color:#0b2853; font-size:clamp(24px,2.4vw,32px); letter-spacing:-.8px; margin:0 0 8px; }
.resources-section-heading p { color:#65748a; font-size:12px; line-height:1.6; margin:0; }
.resources-section-heading .resources-eyebrow { margin-bottom:8px; }
.resources-heading-link { white-space:nowrap; padding-bottom:4px; }
.resources-filter-row { display:flex; flex-wrap:wrap; gap:9px; padding:0 0 20px; border-bottom:1px solid #e6edf6; margin-bottom:22px; }
.resources-filter { border:1px solid #dce6f4; border-radius:999px; background:#fff; color:#415775; padding:9px 15px; font:700 11px/1.2 inherit; cursor:pointer; }
.resources-filter:hover { border-color:#8db5ed; }
.resources-filter.is-active { color:#fff; background:#0b2f60; border-color:#0b2f60; box-shadow:0 5px 12px #0b2f6020; }
.resources-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; align-items:stretch; }
.resources-card { min-width:0; display:flex; flex-direction:column; overflow:hidden; background:#fff; border:1px solid #e1e9f4; border-radius:15px; box-shadow:0 6px 20px #0d2d560b; transition:transform .18s ease,box-shadow .18s ease; }
.resources-card:hover { transform:translateY(-3px); box-shadow:0 14px 28px #0d2d5616; }
.resources-card[hidden] { display:none !important; }
.resources-card-image { display:block; position:relative; overflow:hidden; background:#eaf1fb; }
.resources-card-image img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; object-position:center; }
.resources-card-image>span { position:absolute; left:12px; top:12px; border-radius:5px; padding:6px 8px; color:#fff; background:#0b2f60eF; font-size:8px; font-weight:850; letter-spacing:.7px; }
.resources-card-body { display:flex; flex-direction:column; align-items:flex-start; flex:1; padding:17px 18px 19px; }
.resources-card-body h3 { color:#102b52; font-size:16px; line-height:1.35; letter-spacing:-.2px; margin:0 0 9px; }
.resources-card-body p { color:#62728a; font-size:11px; line-height:1.7; margin:0 0 16px; }
.resources-card-body>a { margin-top:auto; display:inline-flex; gap:8px; align-items:center; color:#075bc7; text-decoration:none; font-size:11px; font-weight:800; }
.resources-card-body>a:hover,.resources-text-link:hover,.resources-heading-link:hover { text-decoration:underline; }
.resources-disclaimer { margin:22px 0 0; padding:13px 16px; border-radius:9px; background:#f5f8fc; color:#738198; font-size:10px; line-height:1.6; }
.resources-bottom-cta { width:min(1240px,calc(100% - 48px)); margin:42px auto 52px; padding:28px 32px; display:flex; align-items:center; justify-content:space-between; gap:25px; border-radius:16px; color:#fff; background:linear-gradient(110deg,#082852,#0a4388); }
.resources-bottom-cta .resources-eyebrow { color:#ffc34d; }
.resources-bottom-cta h2 { color:#fff; font-size:clamp(22px,2.2vw,30px); line-height:1.15; letter-spacing:-.6px; margin:0 0 8px; }
.resources-bottom-cta p { max-width:630px; color:#dce8f8; font-size:11px; line-height:1.65; margin:0; }
.resources-bottom-cta .resources-outline-btn { color:#fff; background:transparent; border-color:#8da9ce; }
@media(max-width:900px) {
 .resources-hero { grid-template-columns:1fr 0.9fr; padding:24px; gap:22px; }
 .resources-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; }
 .resources-bottom-cta { align-items:flex-start; flex-direction:column; }
}
@media(max-width:650px) {
 .resources-hero,.resources-library,.resources-bottom-cta { width:calc(100% - 24px); }
 .resources-hero { grid-template-columns:1fr; padding:18px; margin-top:12px; gap:20px; border-radius:15px; }
 .resources-hero h1 { font-size:32px; }
 .resources-hero-copy>p { font-size:13px; }
 .resources-trust-points { display:grid; gap:8px; }
 .resources-section-heading { align-items:flex-start; flex-direction:column; gap:12px; }
 .resources-library { margin-top:34px; }
 .resources-card-grid { grid-template-columns:1fr; gap:15px; }
 .resources-card-body { padding:16px; }
 .resources-bottom-cta { margin:30px auto 34px; padding:22px; }
}
@media(prefers-reduced-motion:reduce) { .resources-card { transition:none; } .resources-card:hover { transform:none; } }


/* Pack 4.26: tasteful colour system for the Resources page only. */
.resources-page { background:linear-gradient(180deg,#f8fbff 0%,#ffffff 34%,#fbfcff 100%); }
.resources-hero { background:linear-gradient(118deg,#eaf2ff 0%,#f8fbff 48%,#fff5df 100%); border-color:#dce7f8; box-shadow:0 12px 34px #173a6810; }
.resources-eyebrow { color:#1d65bd; }
.resources-image-note { border-color:#d9e6f8; }
.resources-note-icon { background:linear-gradient(135deg,#1768c4,#4b8ce0); box-shadow:0 5px 14px #1768c433; }
.resources-library { position:relative; }
.resources-filter-row { border-bottom-color:#dfe8f5; }
.resources-filter { transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease; }
.resources-filter:focus-visible,.resources-card a:focus-visible,.resources-btn:focus-visible,.resources-outline-btn:focus-visible { outline:3px solid #80b5ff; outline-offset:3px; }
.resources-filter:hover { transform:translateY(-1px); background:#f3f7ff; }
.resources-filter.is-active { background:linear-gradient(135deg,#0b2f60,#175bb0); border-color:#175bb0; }
.resources-card { position:relative; border-color:#e0e8f4; box-shadow:0 7px 22px #102b520d; }
.resources-card::before { content:""; display:block; height:4px; position:absolute; z-index:2; top:0; left:0; right:0; background:var(--resource-accent,#3977d5); }
.resources-card:nth-child(6n+1) { --resource-accent:#3977d5; --resource-tint:#f0f6ff; --resource-label:#245eb1; }
.resources-card:nth-child(6n+2) { --resource-accent:#1b9a83; --resource-tint:#eefaf6; --resource-label:#137763; }
.resources-card:nth-child(6n+3) { --resource-accent:#8b68cf; --resource-tint:#f6f1ff; --resource-label:#6d4ab0; }
.resources-card:nth-child(6n+4) { --resource-accent:#e0a126; --resource-tint:#fff8e8; --resource-label:#9b6907; }
.resources-card:nth-child(6n+5) { --resource-accent:#e47b61; --resource-tint:#fff3ef; --resource-label:#b75238; }
.resources-card:nth-child(6n) { --resource-accent:#4198c7; --resource-tint:#eef8fd; --resource-label:#24739e; }
.resources-card-image { background:var(--resource-tint,#eef4fc); }
.resources-card-image img { transition:transform .35s ease; }
.resources-card:hover .resources-card-image img { transform:scale(1.025); }
.resources-card-image>span { background:var(--resource-label,#0b2f60); box-shadow:0 4px 12px #102b5224; }
.resources-card-body { background:linear-gradient(180deg,var(--resource-tint,#fff) 0%,#fff 85%); }
.resources-card-body h3 { color:#102b52; }
.resources-card-body>a { color:var(--resource-label,#075bc7); }
.resources-disclaimer { background:linear-gradient(100deg,#eef5ff,#f5f1ff); border:1px solid #e1e9f7; color:#5e6f87; }
.resources-bottom-cta { background:radial-gradient(circle at 90% 10%,#245da4 0%,transparent 38%),linear-gradient(115deg,#082852,#0a4388); box-shadow:0 14px 32px #0b2f6024; }
.resources-bottom-cta .resources-btn { background:linear-gradient(135deg,#ffc64c,#e7a00c); color:#172d4b; border-color:#f0b52d; }
.resources-bottom-cta .resources-outline-btn { border-color:#a6c0e4; }
.ca-resource-guides { background:linear-gradient(135deg,#f5f8ff 0%,#fff 52%,#f5fcfa 100%); border:1px solid #e6edf7; border-radius:20px; margin-bottom:36px !important; }
.ca-resource-guides h2 { color:#0b2d5b; }
.ca-resource-guides .ca-help-grid { margin-top:22px; }
.ca-resource-guides .ca-help-topic { position:relative; overflow:hidden; background:#fff; box-shadow:0 5px 16px #102b5209; transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
.ca-resource-guides .ca-help-topic:nth-child(6n+1) { background:linear-gradient(145deg,#eff5ff,#fff 78%) !important; border-color:#d6e5fb !important; }
.ca-resource-guides .ca-help-topic:nth-child(6n+2) { background:linear-gradient(145deg,#ecfaf5,#fff 78%) !important; border-color:#d1eee4 !important; }
.ca-resource-guides .ca-help-topic:nth-child(6n+3) { background:linear-gradient(145deg,#fff7e6,#fff 78%) !important; border-color:#f2e2bb !important; }
.ca-resource-guides .ca-help-topic:nth-child(6n+4) { background:linear-gradient(145deg,#f5f0ff,#fff 78%) !important; border-color:#e4d8fb !important; }
.ca-resource-guides .ca-help-topic:nth-child(6n+5) { background:linear-gradient(145deg,#fff0ed,#fff 78%) !important; border-color:#f5d9d2 !important; }
.ca-resource-guides .ca-help-topic:nth-child(6n) { background:linear-gradient(145deg,#edf8fd,#fff 78%) !important; border-color:#d4eaf5 !important; }
.ca-resource-guides .ca-help-topic::before { content:""; display:block; position:absolute; top:0; left:0; right:0; height:3px; background:#3977d5; }
.ca-resource-guides .ca-help-topic:nth-child(6n+2)::before { background:#1b9a83; }
.ca-resource-guides .ca-help-topic:nth-child(6n+3)::before { background:#e0a126; }
.ca-resource-guides .ca-help-topic:nth-child(6n+4)::before { background:#8b68cf; }
.ca-resource-guides .ca-help-topic:nth-child(6n+5)::before { background:#e47b61; }
.ca-resource-guides .ca-help-topic:nth-child(6n)::before { background:#4198c7; }
.ca-resource-guides .ca-help-topic h3 { color:#102b52; font-size:14px; margin-top:3px; }
.ca-resource-guides .ca-help-topic p { color:#62728a; font-size:12px; line-height:1.7; }
.ca-resource-guides .ca-help-topic:hover { transform:translateY(-3px); box-shadow:0 12px 25px #102b5214; }
@media(max-width:650px) { .ca-resource-guides { padding:20px 16px 32px !important; border-radius:15px; } }
@media(prefers-reduced-motion:reduce) { .resources-filter,.resources-card-image img,.ca-resource-guides .ca-help-topic { transition:none; } .resources-card:hover .resources-card-image img { transform:none; } .ca-resource-guides .ca-help-topic:hover { transform:none; } }
