/* CaFEC Project Showcase v10.2 - self-contained and theme compatible */
.cafec-prj-directory,.cafec-prj-single-page{--cpr-ink:#123750;--cpr-blue:#005490;--cpr-soft:#f4f9fb;--cpr-line:#dce7ed;--cpr-green:#16835e;color:var(--cpr-ink);font-family:inherit}
.cafec-prj-archive-page{padding:34px 0 82px;background:linear-gradient(180deg,#f7fafc 0,#fff 250px)}
.cafec-prj-breadcrumb{font-size:.82rem;color:#637b8e;margin:0 0 28px}
.cafec-prj-breadcrumb a{color:var(--cpr-blue);text-decoration:none}
.cafec-prj-directory{max-width:1320px;margin:0 auto;padding:clamp(22px,3vw,42px) 0 52px}
.cafec-prj-intro{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:22px}
.cafec-prj-intro h2{font-size:clamp(2rem,3.4vw,3.3rem)!important;line-height:1.09!important;font-weight:750;letter-spacing:-.04em;color:#102f49;margin:8px 0 14px!important}
.cafec-prj-eyebrow{color:var(--cpr-blue);font-size:.78rem;font-weight:850;text-transform:uppercase;letter-spacing:.14em}
.cafec-prj-intro p{max-width:680px;font-size:1.02rem;line-height:1.65;color:#567086;margin:0!important}
.cafec-prj-count{border:1px solid #cfe1e8;border-radius:100px;background:#fff;white-space:nowrap;padding:9px 15px;color:var(--cpr-blue);font-size:.82rem;font-weight:800}
.cafec-prj-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:18px;margin:28px 0 8px;padding:18px;border:1px solid var(--cpr-line);border-radius:16px;background:#fff;box-shadow:0 8px 26px rgba(3,49,80,.045)}
.cafec-prj-filter-wrap{display:flex;flex-wrap:wrap;gap:7px;max-width:850px}
.cafec-prj-filter{border:1px solid transparent;background:#f1f6f8;border-radius:100px;color:#476778;cursor:pointer;font-family:inherit;font-weight:750;font-size:.8rem;line-height:1.3;padding:9px 13px;min-height:42px;transition:background .18s,border-color .18s,color .18s;white-space:nowrap}
.cafec-prj-filter:hover{border-color:#95bbc9;background:#e8f3f7}
.cafec-prj-filter.is-active{background:var(--cpr-blue);color:#fff;box-shadow:0 3px 10px rgba(0,84,144,.16)}
.cafec-prj-search-label{display:flex;flex-direction:column;gap:5px;font-size:.72rem;font-weight:800;color:#345b70;text-transform:uppercase;letter-spacing:.07em;flex:0 1 245px}
.cafec-prj-search{background:#f9fbfc;border:1px solid #c9dae2;border-radius:9px;color:#123750;font-family:inherit;font-weight:500;font-size:.9rem;line-height:1.4;min-height:44px;padding:10px 12px;width:100%}
.cafec-prj-search:focus-visible,.cafec-prj-filter:focus-visible,.cafec-prj-card a:focus-visible{outline:3px solid #e1b94d;outline-offset:2px}
.cafec-prj-results{min-height:1.4em;text-align:right;font-size:.79rem;color:#63798b;margin:0 2px 16px!important}
.cafec-prj-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.cafec-prj-card{background:#fff;border:1px solid #dae5eb;border-radius:19px;display:flex;flex-direction:column;min-height:366px;padding:21px 21px 18px;box-shadow:0 12px 36px rgba(23,61,82,.065);transition:transform .25s cubic-bezier(.2,.75,.3,1),box-shadow .25s,border-color .25s;overflow:hidden}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.cafec-prj-card:hover{transform:translateY(-4px);box-shadow:0 17px 42px rgba(16,62,91,.12);border-color:#9bc5d2}}
.cafec-prj-card[hidden]{display:none!important}
.cafec-prj-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:19px}
.cafec-prj-number{font-family:inherit;font-weight:800;font-size:.8rem;line-height:1;color:#a1bac9;letter-spacing:.1em}
.cafec-prj-sector{border-radius:100px;background:#e9f3f7;color:#225a7e;font-size:.68rem;line-height:1.4;font-weight:750;max-width:72%;padding:5px 10px;text-align:right}
.cafec-prj-client-brand{display:flex;align-items:center;gap:13px;min-height:88px;border-bottom:1px solid #eaf0f3;padding-bottom:16px;margin-bottom:17px}
.cafec-prj-logo-box{display:flex;align-items:center;justify-content:center;background:#f5f9fb;border:1px solid #e9eff2;border-radius:14px;width:108px;height:75px;min-width:108px;overflow:hidden;padding:10px}
.cafec-prj-logo{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.cafec-prj-monogram{display:flex;align-items:center;justify-content:center;min-width:100%;min-height:100%;font-family:inherit;font-weight:800;font-size:1.5rem;line-height:1.1;letter-spacing:.02em;color:#145d88}
.cafec-prj-client-name{font-size:.88rem;line-height:1.4;color:#3d5669;font-weight:760}
.cafec-prj-card-body{flex:1}
.cafec-prj-card h3{font-size:1.17rem!important;color:#143750!important;line-height:1.35!important;letter-spacing:-.015em;margin:0 0 11px!important}
.cafec-prj-card h3 a{color:inherit;text-decoration:none}
.cafec-prj-card h3 a:hover{color:var(--cpr-blue)}
.cafec-prj-scope{font-size:.83rem;color:#657d8d;line-height:1.55;margin:0 0 18px!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.cafec-prj-card-foot{border-top:1px solid #edf2f4;padding-top:16px;display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.cafec-prj-state{color:#285c79;background:#edf5fa;font-size:.74rem;line-height:1.35;font-weight:750;padding:6px 10px;border-radius:100px;max-width:100%}
.cafec-prj-state.is-completed{background:#e8f7ee;color:#136b4a}
.cafec-prj-state.is-submitted{background:#f0eefb;color:#5a4f89}
.cafec-prj-state.is-date{background:#f1f5f8;color:#476678}
.cafec-prj-more{font-size:.8rem!important;font-weight:850;color:var(--cpr-blue)!important;text-decoration:none!important;white-space:nowrap}
.cafec-prj-more:hover{text-decoration:underline!important;text-underline-offset:3px}
.cafec-prj-none{font-size:.98rem;color:#5f7887;text-align:center;padding:18px}
.cafec-prj-disclaimer{font-size:.78rem;color:#738694;line-height:1.6;margin:22px 0 0!important}
.cafec-prj-single-hero{padding:36px 0 54px;background:linear-gradient(115deg,#0a3152,#005490)}
.cafec-prj-single-hero .cafec-prj-breadcrumb,.cafec-prj-single-hero .cafec-prj-breadcrumb a,.cafec-prj-single-hero .cafec-prj-eyebrow{color:#bce4f2}
.cafec-prj-single-container{max-width:1060px!important}
.cafec-prj-single-hero h1{font-size:clamp(1.8rem,3.2vw,3.1rem)!important;max-width:1000px;color:white;line-height:1.18!important;letter-spacing:-.03em;margin:13px 0 0!important}
.cafec-prj-single-body{max-width:1060px!important;padding-top:45px;padding-bottom:80px}
.cafec-prj-project-detail{background:white;border:1px solid #e0eaf0;border-radius:18px;padding:clamp(24px,4vw,46px);box-shadow:0 12px 36px #0a41650c}
.cafec-prj-detail-head{display:flex;align-items:center;gap:22px;padding-bottom:25px;border-bottom:1px solid #dbe6ec;margin-bottom:28px}
.cafec-prj-detail-head .cafec-prj-logo-box{width:160px;min-width:160px;height:100px}
.cafec-prj-detail-head span{color:#5d7b8d;font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.cafec-prj-project-detail h2{font-size:1.4rem!important;color:#123750!important;margin:5px 0 0!important}
.cafec-prj-project-detail h3{font-size:1rem!important;font-weight:800;color:#005490!important;margin:29px 0 11px!important}
.cafec-prj-rich-content{line-height:1.7;font-size:1rem;color:#3b596e}
.cafec-prj-back{display:inline-flex;margin-top:29px;font-weight:800;font-size:.9rem;text-decoration:none}
@media(max-width:1080px){.cafec-prj-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cafec-prj-search-label{flex-basis:100%}}
@media(max-width:650px){.cafec-prj-grid{grid-template-columns:1fr;gap:15px}.cafec-prj-intro{display:block}.cafec-prj-intro h2{font-size:2.05rem!important}.cafec-prj-count{display:inline-block;margin-top:14px}.cafec-prj-directory{padding:20px 0 32px}.cafec-prj-toolbar{padding:12px;gap:12px}.cafec-prj-filter{min-height:42px}.cafec-prj-client-brand{gap:10px}.cafec-prj-logo-box{width:92px;min-width:92px;height:72px}.cafec-prj-card{min-height:auto;padding:18px}.cafec-prj-detail-head{flex-direction:column;align-items:flex-start}.cafec-prj-single-hero{padding:24px 0 34px}}
@media(prefers-reduced-motion:reduce){.cafec-prj-card,.cafec-prj-filter{transition:none!important;transform:none!important}}
