/* Beacon partner project library – uses the investor folder cover design */
.bhg-project-library{--bhg-navy:#101d32;--bhg-gold:#c8a66a;--bhg-ivory:#f5f1e8;--bhg-line:#d4c3a8;background:var(--bhg-ivory);color:var(--bhg-navy);padding:clamp(18px,2.6vw,34px);margin:24px 0 30px;border:1px solid var(--bhg-gold);border-radius:10px;font:14px/1.65 Montserrat,Arial,sans-serif;scroll-margin-top:25px}
.bhg-project-library,.bhg-project-library *{box-sizing:border-box}
.bhg-project-library-header{background:linear-gradient(115deg,#101d32,#1c3552);color:#fff;border-radius:9px;padding:clamp(20px,3vw,36px);display:flex;align-items:center;justify-content:space-between;gap:25px;flex-wrap:wrap}
.bhg-project-library-intro{max-width:770px;flex:1 1 450px}
.bhg-project-eyebrow{color:#d9b982;font-size:10px;letter-spacing:.18em;font-weight:700;text-transform:uppercase}
.bhg-project-library h2{font:normal clamp(31px,3.5vw,49px)/1.16 'Playfair Display',Georgia,serif;color:white;margin:10px 0 13px}
.bhg-project-library-header p{font:13px/1.8 Montserrat,Arial,sans-serif;color:#e7e2d8;margin:0}
.bhg-project-library-counts{display:flex;gap:11px}
.bhg-project-library-counts>div{padding:12px 15px;border:1px solid #c8a66a80;border-radius:5px;min-width:105px;background:#263e57;text-align:center}
.bhg-project-library-counts strong{display:block;font:normal 33px Georgia,serif;color:white}
.bhg-project-library-counts span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#e6ce9f}
.bhg-project-library-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,260px);gap:15px;margin:16px 0 0;padding:15px 18px;background:#fff;border:1px solid #e5d9c5;border-radius:8px}
.bhg-project-library-tools label{display:block;color:#536474;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.bhg-project-library-tools input,.bhg-project-library-tools select{display:block;width:100%;min-height:45px;margin:7px 0 0;padding:10px 12px;color:#101d32;background:#fdfbf7;border:1px solid #c9bca9;border-radius:5px;font:13px Montserrat,Arial,sans-serif;box-shadow:none}
.bhg-project-library-feedback{font-size:12px;color:#65717b;margin:12px 0 23px}
.bhg-project-library .bhg-folder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0 0 20px}
.bhg-project-library .deal{background:white;border:1px solid #d4c3a8;border-radius:10px;display:flex;flex-direction:column;min-width:0;box-shadow:0 15px 38px rgba(16,29,50,.07);overflow:visible}
.bhg-project-library .deal-top{position:relative;display:block;color:white;text-decoration:none;min-height:300px;aspect-ratio:16/9;background:#101d32;overflow:hidden;isolation:isolate;border-radius:10px 10px 0 0}
.bhg-project-library .deal-top .hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;opacity:1;filter:saturate(1.07) contrast(1.04);z-index:0;transition:transform .45s ease}
.bhg-project-library .deal-top:hover .hero-photo{transform:scale(1.035)}
.bhg-project-library .deal-top:after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(to bottom,rgba(16,29,50,.18) 0%,rgba(16,29,50,.02) 35%,rgba(16,29,50,.05) 52%,rgba(16,29,50,.72) 82%,rgba(16,29,50,.93) 100%);pointer-events:none}
.bhg-project-library .deal-top .hero-inner{position:absolute;z-index:3;left:0;right:0;bottom:0;display:flex;flex-direction:column;justify-content:flex-end;gap:6px;padding:38px 23px 20px}
.bhg-project-library .deal-top h3{font:normal clamp(25px,2.7vw,34px)/1.12 'Playfair Display',Georgia,serif;margin:0;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.28)}
.bhg-project-library .deal-top .tag{color:#ead1a2;background:transparent;border:0;border-radius:0;padding:0;font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.bhg-project-library .deal-top .image-caption{display:block;color:#ede2cd;font-size:10px;line-height:1.35;font-weight:500;max-width:95%}
.bhg-project-library .folder-stamp{position:absolute;z-index:4;top:14px;left:15px;padding:7px 10px;border:1px solid rgba(240,220,175,.85);border-radius:4px;background:rgba(16,29,50,.86);color:#f5ddb3;font-size:9px;letter-spacing:.1em;font-weight:700;text-transform:uppercase}
.bhg-project-library .folder-stamp:before{content:'▣';margin-right:6px}
.bhg-project-library .folder-cover-status{position:absolute;right:14px;top:14px;z-index:4;padding:7px 10px;border-radius:4px;border:1px solid #e0c991;background:#ecdfc3;color:#26354a;font-size:10px;letter-spacing:.07em;font-weight:700;text-transform:uppercase}
.bhg-project-library .deal-body{padding:21px 23px 24px;display:flex;flex-direction:column;gap:12px;justify-content:space-between;flex:1;color:#101d32}
.bhg-project-library .deal-teaser{font-size:13px;line-height:1.7;color:#536472;margin:0}
.bhg-project-library .file-content-items{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0}
.bhg-project-library .file-content-items span{padding:5px 7px;border-radius:4px;background:#f4ecde;font-size:10px;color:#77613f;font-weight:600}
.bhg-project-library .deal-availability{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:11px}
.bhg-project-library .deal-availability span{color:#5f6874}
.bhg-project-library .deal-availability .pill{font-size:10px;font-weight:700;background:#eee3cc;color:#7a5729;padding:6px 9px;border-radius:20px}
.bhg-project-library .deal-cta{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px}
.bhg-project-library .deal-cta a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;text-align:center;text-decoration:none;font:700 11px/1.5 Montserrat,Arial,sans-serif;border:1px solid #c8a66a;border-radius:5px;white-space:normal}
.bhg-project-library .deal-cta .gold{background:#c8a66a;color:#101d32}
.bhg-project-library .deal-cta .ghost{background:#fff;color:#101d32}
.bhg-project-library .deal-cta a:focus-visible,.bhg-project-library .deal-top:focus-visible{outline:3px solid #c8a66a;outline-offset:2px}
.bhg-project-library .hero-image-unavailable:before{content:'Project concept image currently unavailable';position:absolute;top:40%;left:12%;right:12%;text-align:center;color:#eee0c8;font:17px Georgia,serif;z-index:2}
.bhg-project-library .hero-image-unavailable .hero-photo{display:none}
.bhg-project-library-footer{display:flex;gap:14px;flex-wrap:wrap;align-items:center;padding:14px 2px 0;color:#65717b;font-size:11px}
.bhg-project-library-footer a{color:#936a2e;font-weight:700;text-decoration:underline}
@media(max-width:1080px){.bhg-project-library .deal-cta{grid-template-columns:1fr}}
@media(max-width:800px){.bhg-project-library .bhg-folder-grid{grid-template-columns:1fr}.bhg-project-library-tools{grid-template-columns:1fr}}
@media(max-width:520px){.bhg-project-library{padding:12px}.bhg-project-library-header{padding:20px}.bhg-project-library .deal-top{aspect-ratio:16/10;min-height:260px}.bhg-project-library .deal-top .hero-inner{padding:35px 18px 19px}.bhg-project-library-counts{width:100%}.bhg-project-library .folder-stamp{top:12px;left:12px;font-size:8px}.bhg-project-library .folder-cover-status{top:12px;right:11px;font-size:9px}}

/* Beacon premium mobile project library v3 */
@media(max-width:760px){
 .bhg-project-library{padding:12px!important;margin:12px 0 20px!important;border-radius:9px}
 .bhg-project-library-header{padding:20px 17px!important;gap:14px!important}
 .bhg-project-library h2{font-size:clamp(29px,8vw,38px)!important}
 .bhg-project-library-counts{width:100%;gap:8px!important}
 .bhg-project-library-counts>div{flex:1;min-width:0!important;padding:9px!important}
 .bhg-project-library-counts strong{font-size:26px!important}
 .bhg-project-library-tools{grid-template-columns:1fr!important;padding:12px!important;gap:9px!important}
 .bhg-project-library .bhg-folder-grid{grid-template-columns:1fr!important;gap:15px!important}
 .bhg-project-library .deal-top{min-height:0!important;aspect-ratio:4/3!important}
 .bhg-project-library .deal-top .hero-inner{padding:35px 16px 15px!important}
 .bhg-project-library .deal-top h3{font-size:clamp(25px,7vw,33px)!important}
 .bhg-project-library .folder-stamp{font-size:8px!important;top:10px!important;left:10px!important;padding:6px!important}
 .bhg-project-library .folder-cover-status{font-size:8px!important;top:10px!important;right:10px!important;padding:6px!important}
 .bhg-project-library .deal-body{padding:16px!important;gap:9px!important}
 .bhg-project-library .deal-teaser{font-size:12px!important;line-height:1.55!important}
 .bhg-project-library .deal-cta{grid-template-columns:1fr!important;gap:8px!important}
 .bhg-project-library .deal-cta a{min-height:46px!important;font-size:12px!important}
 .bhg-project-library .file-content-items{gap:5px!important}
 .bhg-project-library .file-content-items span{font-size:9px!important}
 .bhg-project-library .deal-availability .pill{display:none!important}
}
@media(prefers-reduced-motion:reduce){.bhg-project-library .hero-photo{transition:none!important}}
