/* V29 gallery editorial polish — preserves original FCW creative-studio identity and animations. */
.fcw29-gallery-section{background:radial-gradient(ellipse at 80% 2%,rgba(0,180,238,.15),transparent 36%),linear-gradient(160deg,#071827 0%,#0a2035 53%,#081626 100%);color:#eefaff;padding:86px 0 112px}
.fcw29-gallery-section h2,.fcw29-gallery-section .v24-gallery-heading h2{color:#f4fbff}
.fcw29-gallery-section .v24-overline{color:#43c8f5}
.fcw29-gallery-section .v24-gallery-heading p,.fcw29-gallery-section .v24-gallery-intro{color:#b1cad9}
.fcw29-gallery-section .v24-gallery-count{background:rgba(21,175,228,.12);border:1px solid rgba(61,197,242,.3);color:#bdf2ff;border-radius:100px;padding:8px 17px}
.fcw29-gallery-section .v24-controls{border:1px solid rgba(118,206,237,.16);background:rgba(5,19,32,.52);border-radius:17px;padding:22px;margin:18px 0 26px}
.fcw29-gallery-section .v24-controls label span{color:#acd4e5}
.fcw29-gallery-section .v24-controls input,.fcw29-gallery-section .v24-controls select{background:#0e2a3e;color:#f0faff;border:1px solid #31617a;border-radius:10px}
.fcw29-gallery-section .v24-filters button{background:#112c43;color:#e7f7ff;border:1px solid #345d72;border-radius:9px;transition:background .22s,transform .22s,border .22s}
.fcw29-gallery-section .v24-filters button:hover{transform:translateY(-2px);background:#164360;border-color:#49c6f0}
.fcw29-gallery-section .v24-filters button.active{background:#17b6ee;color:#052033;border-color:#17b6ee;box-shadow:0 9px 30px rgba(5,178,234,.21)}
.fcw29-gallery-section .v24-projectcards{gap:21px}
.fcw29-gallery-section .v24-photo-card{background:#102b42;border:1px solid #26526a;border-radius:16px;overflow:hidden;box-shadow:0 12px 26px rgba(0,0,0,.17);transition:transform .25s,box-shadow .25s,border-color .25s;text-align:left}
.fcw29-gallery-section .v24-photo-card:hover,.fcw29-gallery-section .v24-photo-card:focus-visible{transform:translateY(-6px);border-color:#50b7df;box-shadow:0 21px 38px rgba(0,0,0,.34)}
.fcw29-gallery-section .v24-photo-visual{height:248px;overflow:hidden;background:#091b2b;position:relative}
.fcw29-gallery-section .v24-photo-visual::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,rgba(7,24,39,.22),transparent 52%)}
.fcw29-gallery-section .v24-photo-visual img{width:100%;height:100%;object-fit:cover;filter:saturate(1.10) contrast(1.06) brightness(1.035);transition:transform .4s ease,filter .3s ease}
.fcw29-gallery-section .v24-photo-card:hover img{transform:scale(1.065);filter:saturate(1.18) contrast(1.08) brightness(1.08)}
.fcw29-gallery-section .v24-photo-info{display:flex;flex-direction:column;gap:6px;min-height:120px;padding:18px 18px 20px;background:#102b42;color:#f1faff}
.fcw29-gallery-section .v24-photo-info span{font-size:10px;letter-spacing:.14em;font-weight:800;text-transform:uppercase;color:#48c9f5}
.fcw29-gallery-section .v24-photo-info strong{font-size:16px;font-weight:800;color:#fff;line-height:1.2}
.fcw29-gallery-section .v24-photo-info small{font-size:12px;line-height:1.35;color:#b4cfdd}
.fcw29-gallery-section .v24-load-btn{border-radius:11px;background:#13b8f0;color:#041b2c}
.fcw29-gallery-section .v24-no-results{color:#e7f5ff}
/* Genuine school project gallery, retaining the existing school content above and below. */
.fcw29-school-gallery{margin-top:64px;padding-top:40px;border-top:1px solid rgba(78,175,217,.24)}
.fcw29-school-gallery>h3{font-size:clamp(27px,3.5vw,45px);line-height:1.08;letter-spacing:-.035em;margin:10px 0 14px;color:#eaf8ff}
.fcw29-school-lead{color:#b6d1e0;max-width:730px;margin-bottom:28px}
.fcw29-school-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.fcw29-school-grid .v24-thumb{background:#102a40;border:1px solid #285570;border-radius:12px;overflow:hidden;box-shadow:0 10px 24px rgba(0,0,0,.12);transition:transform .25s,border-color .25s}
.fcw29-school-grid .v24-thumb:hover{transform:translateY(-4px);border-color:#2bbcec}
.fcw29-school-grid .v24-thumb img{height:260px;width:100%;object-fit:cover;filter:contrast(1.055) saturate(1.09);transition:filter .25s,transform .3s}
.fcw29-school-grid .v24-thumb:hover img{filter:saturate(1.14) contrast(1.08);transform:scale(1.03)}
.fcw29-school-grid .v24-thumb span{font-size:12px;line-height:1.35;padding:15px 17px;min-height:58px;color:#eaf8ff}
/* Wide-range work cards gain an intentional brand identity without changing their link behavior. */
.v14-cardgrid .v14-case{border-radius:12px;overflow:hidden;transition:transform .25s,box-shadow .25s}
.v14-cardgrid .v14-case:hover{transform:translateY(-4px);box-shadow:0 19px 36px rgba(0,0,0,.22)}
.v14-cardgrid .v14-case img{filter:contrast(1.045) saturate(1.08);transition:filter .3s}
.v14-cardgrid .v14-case:hover img{filter:contrast(1.07) saturate(1.13)}
@media(max-width:920px){.fcw29-school-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fcw29-gallery-section .v24-photo-visual{height:225px}}
@media(max-width:580px){.fcw29-gallery-section{padding:65px 0 78px}.fcw29-gallery-section .v24-controls{padding:16px}.fcw29-school-grid{grid-template-columns:1fr}.fcw29-school-grid .v24-thumb img{height:265px}.fcw29-gallery-section .v24-photo-info{min-height:0}.fcw29-gallery-section .v24-photo-visual{height:275px}}
@media(prefers-reduced-motion:reduce){.fcw29-gallery-section .v24-photo-card,.fcw29-gallery-section .v24-photo-visual img,.fcw29-school-grid .v24-thumb,.fcw29-school-grid img{transition:none!important}}
