.directory-page{background:linear-gradient(180deg,#f5fbfc 0,#fffdf9 420px,#fffdf9 100%)}
.directory-page-hero{position:relative;padding:1.25rem 0 2rem;overflow:hidden;border-bottom:1px solid #c9dde2;background:radial-gradient(circle at 12% 12%,rgba(255,213,110,.52),transparent 24%),radial-gradient(circle at 88% 18%,rgba(118,210,193,.45),transparent 28%),linear-gradient(125deg,#e8f6ff,#f8f1ff 52%,#fff4df)}
.directory-page-hero::after{position:absolute;right:-70px;bottom:-125px;width:300px;height:300px;border-radius:50%;background:rgba(92,153,202,.13);content:''}
.directory-page-hero .container{position:relative;z-index:1;max-width:1080px!important}
.breadcrumb{display:flex;align-items:center;gap:.55rem;margin-bottom:.7rem;color:#557182;font-size:.72rem;font-weight:700}
.breadcrumb a,.back-link{color:#176f73;text-decoration:none}
.breadcrumb a:hover,.back-link:hover{text-decoration:underline}
.back-link{display:inline-flex;margin-bottom:1rem;font-size:.76rem;font-weight:800}
.directory-page-hero h1{max-width:800px;margin:.3rem 0 .45rem;color:#082f55;font:600 clamp(2.2rem,4vw,3.8rem)/1.04 var(--serif)}
.directory-page-hero>div>p:not(.eyebrow){max-width:720px;margin:0 0 1rem;color:#36566b;font-size:1rem;line-height:1.55}
.directory-page-hero .resource-search-wrap{max-width:850px;margin:0}
.directory-page-hero .search-box{min-height:56px;border-color:rgba(8,47,85,.2);box-shadow:0 10px 28px rgba(8,47,85,.1)}
.directory-page-hero .audience-switch{max-width:700px;margin:1rem 0 0}
.directory-page-hero .audience-button{flex-direction:column;align-items:flex-start;min-height:64px;padding:.75rem 1rem;text-align:left}
.directory-page-hero .audience-button span{display:block;color:#5a7383;font-size:.68rem}
.directory-page-hero .audience-button.active span{color:#d9e7ef}
.directory-shell{padding-top:2rem}
.directory-page .browse-section{padding-top:0}
.directory-page .tefap-spotlight{margin-top:2rem}
@media(max-width:640px){.directory-page-hero{padding:1rem 0 1.4rem}.directory-page-hero h1{font-size:2.3rem}.directory-page-hero .audience-switch{grid-template-columns:1fr}.directory-page-hero .audience-button{min-height:58px}.directory-shell{padding-top:1.35rem}}

/* Compact, task-first resource directory header. */
.directory-page{background:#fffdf9}
.directory-page-hero{padding:1.35rem 0 1.5rem;border-bottom:1px solid #c8dcdf;background:linear-gradient(118deg,#fffaf0 0%,#eff9f8 52%,#eef6fb 100%)}
.directory-page-hero::after{right:-85px;top:-120px;bottom:auto;width:320px;height:320px;border:1px solid rgba(35,123,123,.16);background:rgba(255,255,255,.28)}
.directory-page-hero .container{max-width:1320px!important}
.directory-hero-grid{display:grid;grid-template-columns:minmax(300px,.78fr) minmax(480px,1.22fr);gap:clamp(2rem,5vw,5rem);align-items:center}
.directory-hero-copy{padding:.2rem 0}
.directory-hero-tools{padding:1rem;border:1px solid rgba(8,47,85,.12);border-radius:16px;background:rgba(255,255,255,.82);box-shadow:0 12px 32px rgba(8,47,85,.08)}
.directory-page-hero h1{margin:.25rem 0 .4rem;font-size:clamp(2.35rem,4vw,3.65rem)}
.directory-page-hero #directory-page-subtitle{max-width:560px;margin:0;color:#36566b;font-size:.96rem;line-height:1.5}
.search-label{display:block;margin:0 0 .45rem;color:#082f55;font-size:.82rem;font-weight:800}
.directory-page-hero .resource-search-wrap{max-width:none;margin:0}
.directory-page-hero .audience-switch{max-width:none;margin:.75rem 0 0}
.directory-page-hero .audience-button{min-height:62px}
.directory-shell{padding-top:1.35rem}
.directory-layout{grid-template-columns:285px minmax(0,1fr);gap:1.5rem}
.directory-page .filter-panel{top:100px}
@media(max-width:960px){.directory-hero-grid{grid-template-columns:1fr;gap:1rem}.directory-hero-tools{padding:.85rem}.directory-page-hero #directory-page-subtitle{max-width:720px}.directory-layout{grid-template-columns:1fr}}
@media(max-width:640px){.directory-page-hero{padding:1rem 0 1.15rem}.directory-page-hero .audience-button{min-height:54px}.directory-master-note span,.directory-master-note strong{padding:.3rem .5rem}.directory-shell{padding-top:1rem}}
.resource-plan-builder,.saved-resources{margin:2rem 0;padding:clamp(1.3rem,3vw,2rem);border:1px solid #d8e1df;border-radius:18px;background:#fff}.resource-plan-builder h2,.saved-resources h2{margin:.2rem 0 .5rem;color:#0e3048;font-family:"Playfair Display",Georgia,serif}.resource-plan-builder form{display:grid;grid-template-columns:1fr 180px auto;gap:1rem;align-items:end;margin-top:1.2rem}.resource-plan-builder fieldset{border:0;padding:0;margin:0}.resource-plan-builder legend,.resource-plan-builder label{font-weight:800;color:#0e3048}.plan-choices{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.55rem}.plan-choices label{display:flex;gap:.35rem;align-items:center;padding:.45rem .65rem;border:1px solid #d8e1df;border-radius:999px;font-size:.8rem;background:#f7fbfa}.resource-plan-builder input[name=zip]{width:100%;padding:.75rem;border:1px solid #d8e1df;border-radius:10px;font:inherit}.plan-group{margin-top:1rem;padding-top:1rem;border-top:1px solid #d8e1df}.plan-group h3{color:#0e3048}.plan-group ul{display:grid;gap:.6rem;padding:0;list-style:none}.plan-group li{padding:.75rem;border-radius:10px;background:#f7fbfa}.saved-resources>div:first-child{display:flex;justify-content:space-between;gap:1rem}.saved-resource-row{display:grid;grid-template-columns:1fr auto;gap:1rem;padding:.8rem 0;border-top:1px solid #d8e1df}.saved-resource-row strong{color:#0e3048}.saved-resource-row small{display:block;color:#5b6c72}.saved-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1rem}.save-resource-button,.resource-correction-button{border:1px solid #2f8583;border-radius:8px;background:#fff;color:#0e5960;padding:.6rem .8rem;font:700 .78rem inherit;cursor:pointer}@media(max-width:760px){.resource-plan-builder form{grid-template-columns:1fr}.saved-resource-row{grid-template-columns:1fr}}@media print{header,footer,.directory-page-hero,.filter-panel,.directory-toolbar,.tefap-spotlight,.directory-feedback,.resource-plan-builder,.resource-actions,.saved-actions{display:none!important}.saved-resources{display:block!important;border:0}.directory-layout{display:none!important}}
.directory-page-hero .directory-master-note{display:flex;flex-wrap:wrap;gap:.55rem;max-width:none;margin:1rem 0;color:#214d5a;font-size:.78rem;font-weight:700}
.directory-master-note span,.directory-master-note strong{display:inline-flex;align-items:center;padding:.35rem .65rem;border:1px solid rgba(33,77,90,.18);border-radius:999px;background:rgba(255,255,255,.68)}
