.gallery-grid{grid-template-columns:repeat(4,1fr);grid-auto-rows:280px;gap:1.5rem;display:grid}.gallery-item:first-child{grid-area:span 2/span 2}.gallery-item:nth-child(2){grid-area:span 1/span 2}.gallery-item:nth-child(3),.gallery-item:nth-child(4){grid-area:span 1/span 1}.gallery-item:nth-child(5),.gallery-item:nth-child(6){grid-area:span 1/span 2}.gallery-item:nth-child(7){grid-area:span 2/span 2}.gallery-item:nth-child(8){grid-area:span 1/span 2}.gallery-item:nth-child(9),.gallery-item:nth-child(10){grid-area:span 1/span 1}.gallery-item-inner{background:#e2e8f0;border-radius:12px;width:100%;height:100%;position:relative;overflow:hidden;box-shadow:0 10px 30px #0000001a}.gallery-img{transition:transform .8s cubic-bezier(.2,1,.2,1)}.gallery-item-inner:hover .gallery-img{transform:scale(1.08)}.gallery-overlay{color:#fff;opacity:0;pointer-events:none;background:linear-gradient(#0000 0%,#000000d9 100%);padding:2.5rem 1.5rem 1.5rem;transition:all .4s cubic-bezier(.4,0,.2,1);position:absolute;bottom:0;left:0;right:0;transform:translateY(100%)}.gallery-item-inner:hover .gallery-overlay{opacity:1;transform:translateY(0)}.gallery-text{letter-spacing:.5px;font-size:1.15rem;font-weight:600;display:block}@media (max-width:1024px){.gallery-grid{grid-template-columns:repeat(2,1fr)}.gallery-item:nth-child(n){grid-area:span 1/span 1}.gallery-item:first-child{grid-area:span 2/span 2}}@media (max-width:640px){.gallery-grid{grid-template-columns:1fr;grid-auto-rows:260px}.gallery-item:nth-child(n){grid-area:span 1/span 1}}
