.content-grid{padding:20px 0}.content-item{display:block;height:570px;overflow:hidden;position:relative}.content-item p{font-size:1rem;line-height:1.2em}.content-item a{color:#fff;font-weight:700}.content-image{background-position:50%;background-size:cover;height:100%;transition:all .3s ease-in-out;width:100%}.content-overlay{align-items:center;background-color:rgba(0,0,0,.5);display:flex;flex-direction:column;height:100%;justify-content:center;left:0;opacity:0;padding:20px;position:absolute;top:0;transition:opacity .3s ease-in-out;width:100%}.content-hover{color:#fff;padding:10px;text-align:center}.content-hover h2,.content-hover h5,.content-hover p{color:#fff;margin:0;transition:transform .3s ease-in-out}.read-more-link{background-color:#007bff;border-radius:5px;color:#fff;display:inline-block;font-size:1rem;margin-top:10px;padding:8px 16px;text-decoration:none;transition:background-color .3s ease,transform .3s ease}.read-more-link:hover{background-color:#0056b3;transform:translateY(-3px)}.content-item:hover .content-image{transform:scale(1.1)}.content-item:hover .content-overlay{opacity:1}.content-item:hover .content-hover h2,.content-item:hover .content-hover h5{transform:translateY(-10px)}.content-item:hover .content-hover p{transform:translateY(10px)}.content-item h2{font-size:1.75rem}.content-item h5{font-size:1.2rem}