/* Project 400 v3.3.38 — reserved unique facility designs. Darcis palette only. */
.p400v338-institution,.p400v338-institution-list{--p400-burgundy:var(--ngong-burgundy,#7a1f1f);--p400-gold:var(--ngong-gold,#c8a24a);--p400-ivory:var(--ngong-ivory,#f8f5ee);color:#332723}
.p400v338-institution .p400v338-hero{background:var(--p400-ivory);border-bottom:1px solid #e8dacb}
.p400v338-hero-inner,.p400v338-body-inner,.p400v338-inner{max-width:1150px;margin:auto;padding:50px 22px}
.p400v338-hero-inner{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:center;gap:36px}
.p400v338-kicker{font-size:12px;letter-spacing:.15em;text-transform:uppercase;color:var(--p400-burgundy);font-weight:700}
.p400v338-hero h1,.p400v338-list-hero h1{font-family:'DM Serif Display',Georgia,serif;color:var(--p400-burgundy);font-size:clamp(32px,4.5vw,58px);line-height:1.12;margin:14px 0 20px}
.p400v338-lead,.p400v338-list-hero p:not(.p400v338-kicker){font-size:clamp(16px,2vw,20px);line-height:1.6;color:#5b4840}
.p400v338-location{font-weight:600;border-left:3px solid var(--p400-gold);padding-left:15px}
.p400v338-hero-photo{margin:0;aspect-ratio:5/4;overflow:hidden;border-radius:20px}
.p400v338-hero-photo img,.p400v338-gallery img,.p400v338-list-item img{width:100%;height:100%;object-fit:cover;display:block}
.p400v338-body-inner{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,.8fr);gap:45px}
.p400v338-narrative{font-size:17px;line-height:1.85;min-width:0}.p400v338-narrative h2{font-family:Georgia,serif;color:var(--p400-burgundy);margin-top:28px}
.p400v338-side{border-top:5px solid var(--p400-gold);background:var(--p400-ivory);padding:25px;border-radius:3px;align-self:start}
.p400v338-side h2{font-family:Georgia,serif;font-size:24px;color:var(--p400-burgundy)}
.p400v338-button,.p400v338-read{display:inline-block;background:var(--p400-burgundy);color:white!important;text-decoration:none;padding:10px 17px;border-radius:5px;font-weight:600}
.p400v338-gallery{max-width:1150px;padding:26px 22px 60px;margin:auto}.p400v338-gallery h2{font-family:Georgia,serif;color:var(--p400-burgundy)}
.p400v338-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.p400v338-gallery figure{margin:0;aspect-ratio:4/3;overflow:hidden;border-radius:10px}
.p400v338-institution-list .p400v338-list-hero{background:var(--p400-ivory);border-bottom:4px solid var(--p400-gold)}
.p400v338-institution-list .p400v338-list-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}
.p400v338-list-item{border:1px solid #e7ddd2;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 10px 28px rgba(45,24,20,.045)}
.p400v338-list-item img{aspect-ratio:3/2}.p400v338-card-content{padding:22px}
.p400v338-card-content h2{font-family:Georgia,serif;font-size:23px;line-height:1.25;margin:0 0 12px}.p400v338-card-content h2 a{color:var(--p400-burgundy);text-decoration:none}
.p400v338-card-content p{line-height:1.6;color:#594841}.p400v338-read{font-size:14px;margin-top:12px}
/* Truly distinct layouts by facility type, without unapproved colors or fake imagery. */
.p400v338-kind-education .p400v338-hero-inner{grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr)}
.p400v338-kind-education .p400v338-hero-photo{border-radius:100px 12px 12px 12px;border:6px solid #e9d9b9}
.p400v338-kind-formation .p400v338-hero{background:linear-gradient(110deg,#f8f5ee,#f3e8d8)}
.p400v338-kind-formation .p400v338-hero-photo{border-radius:50% 50% 12px 12px}
.p400v338-kind-health .p400v338-hero{background:#fff;border-bottom:6px solid var(--p400-burgundy)}
.p400v338-kind-health .p400v338-hero-photo{border-radius:50px 8px 50px 8px}
.p400v338-kind-social .p400v338-hero{background:linear-gradient(145deg,#fbf7f0,#efe1d0)}
.p400v338-kind-social .p400v338-hero-photo{aspect-ratio:1/1;border-radius:50%;outline:6px solid #dec8a4}
.p400v338-kind-pastoral .p400v338-hero{background:#f8f6f0}
.p400v338-kind-pastoral .p400v338-hero-photo{border-radius:160px 160px 8px 8px}
.p400v338-kind-hospitality .p400v338-hero-inner{grid-template-columns:1fr}
.p400v338-kind-hospitality .p400v338-hero-photo{max-height:340px;aspect-ratio:16/5;border-radius:12px}
@media(max-width:800px){.p400v338-hero-inner,.p400v338-body-inner{grid-template-columns:1fr}.p400v338-institution-list .p400v338-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.p400v338-hero-inner,.p400v338-body-inner,.p400v338-inner{padding:34px 17px}}
@media(max-width:540px){.p400v338-institution-list .p400v338-list-grid,.p400v338-gallery-grid{grid-template-columns:1fr}.p400v338-hero-photo{aspect-ratio:4/3}.p400v338-gallery figure{aspect-ratio:4/3}}
.p400v338-kind-sacco .p400v338-hero{background:linear-gradient(110deg,#f5ebdd,#fcf9f2)}
.p400v338-kind-sacco .p400v338-hero-photo{border-radius:14px 100px 14px 14px}
.p400v338-kind-lands .p400v338-hero{background:linear-gradient(135deg,#f7f1e8,#ebdfd3)}
.p400v338-kind-lands .p400v338-hero-photo{border-radius:10px;aspect-ratio:3/4}
