.wce-projects-wrap{
    --wce-navy:#092f55;
    --wce-blue:#154f8a;
    --wce-gold:#f7b719;
    --wce-text:#24364a;
    --wce-muted:#718096;
    width:100%;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}
.wce-project-filters{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:9px;
    margin:0 0 28px;
}
.wce-filter{
    border:1px solid #dbe3ec;
    background:#fff;
    color:#29445e;
    border-radius:999px;
    padding:9px 17px;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
    transition:.2s ease;
}
.wce-filter:hover,.wce-filter.active{
    background:var(--wce-navy);
    border-color:var(--wce-navy);
    color:#fff;
}
.wce-project-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
    align-items:stretch;
}
.wce-project-card{
    position:relative;
    display:flex;
    flex-direction:column;
    min-width:0;
    overflow:hidden;
    background:#fff;
    border:1px solid #e4e9ef;
    border-radius:14px;
    box-shadow:0 7px 22px rgba(13,43,73,.08);
    transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.wce-project-card:hover{
    transform:translateY(-5px);
    border-color:#d2dce7;
    box-shadow:0 16px 34px rgba(13,43,73,.15);
}
.wce-project-card.is-hidden{display:none}
.wce-project-image{
    position:relative;
    display:block;
    height:205px;
    overflow:hidden;
    background:#edf2f6;
    text-decoration:none;
}
.wce-project-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .45s ease;
}
.wce-project-card:hover .wce-project-image img{transform:scale(1.045)}
.wce-project-image:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(to top,rgba(4,28,51,.48),transparent 45%);
    opacity:.65;
}
.wce-project-view{
    position:absolute;
    z-index:2;
    right:14px;
    bottom:13px;
    padding:7px 10px;
    border-radius:7px;
    background:rgba(255,255,255,.94);
    color:var(--wce-navy);
    font-size:10px;
    font-weight:800;
    opacity:0;
    transform:translateY(5px);
    transition:.25s ease;
}
.wce-project-view span,.wce-project-link span{font-size:15px;margin-left:4px}
.wce-project-card:hover .wce-project-view{opacity:1;transform:translateY(0)}
.wce-project-placeholder{
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#e7eef5,#f7f9fb);
    color:#7790a8;
}
.wce-project-placeholder .dashicons{font-size:52px;width:52px;height:52px}
.wce-project-body{
    display:flex;
    flex-direction:column;
    flex:1;
    padding:18px 18px 17px;
}
.wce-project-badge{
    align-self:flex-start;
    display:inline-flex;
    margin-bottom:8px;
    padding:5px 9px;
    border-radius:5px;
    background:#eef5fc;
    color:#1c5a91;
    font-size:9px;
    line-height:1;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.4px;
}
.wce-project-body h3{
    margin:0 0 15px;
    line-height:1.2;
    font-size:21px;
    font-weight:800;
}
.wce-project-body h3 a{
    color:var(--wce-navy);
    text-decoration:none;
}
.wce-project-body h3 a:hover{color:#1a64a0}
.wce-project-details{
    display:grid;
    grid-template-columns:1fr;
    gap:9px;
}
.wce-detail{
    display:flex;
    gap:9px;
    align-items:flex-start;
    color:var(--wce-text);
    font-size:12px;
    line-height:1.35;
}
.wce-icon{
    flex:0 0 19px;
    width:19px;
    height:19px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:5px;
    background:#f2f6fa;
    color:#315e86;
    font-size:11px;
    font-weight:800;
}
.wce-detail div{
    display:flex;
    flex-wrap:wrap;
    gap:4px 5px;
}
.wce-detail b{
    color:#233a51;
    font-weight:800;
}
.wce-detail b:after{content:":"}
.wce-detail span:not(.wce-icon){color:#657589}
.wce-project-excerpt{
    margin-top:12px;
    color:#718096;
    font-size:12px;
    line-height:1.55;
}
.wce-project-link{
    display:inline-flex;
    align-items:center;
    align-self:flex-start;
    margin-top:auto;
    padding-top:17px;
    color:#15548d;
    font-size:11px;
    font-weight:800;
    text-decoration:none;
}
.wce-project-link:hover{color:#0b3156}
.wce-no-projects{
    grid-column:1/-1;
    padding:60px 20px;
    border:1px dashed #cbd6e1;
    border-radius:14px;
    text-align:center;
}
.wce-no-projects h3{margin:0 0 6px;color:var(--wce-navy)}
.wce-no-projects p{margin:0;color:#718096;font-size:13px}

@media(max-width:1000px){
    .wce-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
    .wce-project-grid{grid-template-columns:1fr;gap:18px}
    .wce-project-image{height:220px}
    .wce-project-body h3{font-size:19px}
    .wce-project-view{opacity:1;transform:none}
}

/* v1.1: all project information stays on the same card; no View Project control */
.wce-project-details{display:flex;flex-direction:column;gap:9px}
.wce-detail{display:flex;align-items:baseline;gap:5px;color:#68798c;font-size:13px;line-height:1.4}
.wce-detail b{color:#263b50;font-weight:800;flex:0 0 auto}
.wce-detail span{color:#68798c}
