/* Compact project directory: use complete rows and reduce unnecessary scroll. */
body.projects-by-type .projects-type-hero{min-height:0!important;padding:clamp(100px,10vw,140px) 0 55px!important}
body.projects-by-type .projects-type-hero .display{max-width:980px!important;font-size:clamp(2.5rem,5vw,4.8rem)!important;line-height:1.1!important;margin:16px 0!important}
body.projects-by-type .registry-shell{padding:48px 0 70px!important}
body.projects-by-type .featured-programs{margin-bottom:48px!important}
body.projects-by-type .registry-section-head{margin-bottom:20px!important}
body.projects-by-type .registry-section-head h2{font-size:clamp(1.9rem,3.2vw,3rem)!important;line-height:1.16!important}
body.projects-by-type .featured-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
body.projects-by-type .featured-card{min-width:0!important;min-height:0!important;padding:22px!important;border-radius:16px!important;transform:none!important}
body.projects-by-type .featured-card h3{font-size:clamp(1.25rem,1.8vw,1.75rem)!important;line-height:1.25!important;margin:15px 0 10px!important}
body.projects-by-type .featured-card p{font-size:.88rem!important;line-height:1.58!important}
body.projects-by-type .registry-tools{position:relative!important;top:auto!important;margin-bottom:22px!important;padding:14px!important}
body.projects-by-type .registry-filters{margin-top:10px!important}
body.projects-by-type .registry-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
body.projects-by-type .registry-card{min-width:0!important;min-height:0!important;height:100%!important;padding:18px!important;border-radius:14px!important;transform:none!important;box-shadow:0 6px 18px rgba(16,38,59,.055)!important}
body.projects-by-type .registry-card::before{display:none!important;content:none!important}
body.projects-by-type .registry-card h3{font-size:1.04rem!important;line-height:1.35!important;margin:12px 0 0!important}
body.projects-by-type .registry-card p{font-size:.81rem!important;line-height:1.52!important;margin-top:9px!important}
body.projects-by-type .registry-card-head{flex-wrap:wrap!important;gap:6px!important}
body.projects-by-type .registry-type{max-width:100%!important;white-space:normal!important}
body.projects-by-type .registry-meta{margin-top:12px!important}
body.projects-by-type .registry-links{padding-top:12px!important}
body.projects-by-type .registry-links a{min-height:32px!important;padding:6px 10px!important}
@media(max-width:1100px){body.projects-by-type .registry-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}body.projects-by-type .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){body.projects-by-type .registry-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.projects-by-type .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.projects-by-type .featured-card{padding:18px!important}}
@media(max-width:520px){body.projects-by-type .projects-type-hero{padding:88px 0 36px!important}body.projects-by-type .projects-type-hero .display{font-size:clamp(2.1rem,9vw,3rem)!important}body.projects-by-type .registry-shell{padding-top:30px!important}body.projects-by-type .registry-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}body.projects-by-type .registry-card{padding:13px!important}body.projects-by-type .registry-card h3{font-size:.94rem!important}body.projects-by-type .registry-card p{font-size:.76rem!important}body.projects-by-type .registry-id{font-size:.61rem!important}body.projects-by-type .registry-type{font-size:.58rem!important}body.projects-by-type .featured-grid{grid-template-columns:1fr!important}body.projects-by-type .featured-card{padding:20px!important}body.projects-by-type .registry-section-head h2{font-size:1.8rem!important}}
