/* QuantaPhi 501 card: independent public-resource directory, never agency insignia. */
#government501Affiliates{margin:16px 0;padding:16px;border-radius:20px;border:1px solid #c7d5db;background:#f4f7f7;color:#193548;box-shadow:0 4px 20px #183c5412}
.gov501-hero{display:flex;gap:15px;align-items:center}.gov501-image{display:grid;place-items:center;flex:0 0 114px;aspect-ratio:1;border-radius:18px;background:linear-gradient(140deg,#dcebf3,#f9fbfd);border:1px solid #b4ced9}
.gov501-image img{width:100px;height:100px;object-fit:contain}.gov501-heading h2{margin:4px 0;font-size:clamp(25px,5vw,32px);color:#163953}.gov501-heading p{font-size:15px;line-height:1.5;margin:0}
.gov501-kicker{font-weight:850;letter-spacing:.05em;font-size:10px;color:#476778}.gov501-boundary{font-size:13px;line-height:1.55;background:#fff;padding:12px;border:1px solid #d0e1e6;border-radius:12px;margin:15px 0}
.gov501-find{display:flex;align-items:flex-end;gap:10px;margin:14px 0}.gov501-find label{display:block;flex:1;min-width:0;font-weight:800;font-size:13px}
.gov501-find input{display:block;width:100%;box-sizing:border-box;background:#fff;border:1px solid #9eb6c4;border-radius:10px;padding:11px;font-size:16px;margin-top:6px}
.gov501-find button{min-height:44px;border-radius:10px;background:#254b64;color:#fff;padding:9px 13px}.gov501-count{font-size:12px;color:#466273}
.gov501-resources{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:10px}
.gov501-resource{padding:13px;border:1px solid #d1e0e6;border-radius:12px;background:#fff;min-width:0}.gov501-resource h3{font-size:18px;line-height:1.35;margin:6px 0}
.gov501-resource p{font-size:13px;line-height:1.5;margin:0 0 10px}.gov501-category{font-size:11px;color:#435e70;font-weight:750}.gov501-open{font-weight:850;color:#164b6e;overflow-wrap:anywhere}
.gov501-actions{display:flex;flex-wrap:wrap;gap:10px}.gov501-actions a{display:inline-flex;padding:11px 12px;border-radius:10px;background:#e3eff7;color:#144f72;font-weight:800;font-size:13px}
.gov501-footer{font-size:12px;line-height:1.5;color:#485a65}@media(max-width:400px){#government501Affiliates{padding:12px}.gov501-image{flex-basis:76px}.gov501-image img{width:62px;height:62px}.gov501-find{flex-wrap:wrap}.gov501-find label{flex:1 0 100%}}
