.link { display: inline-block; transition: 200ms ease; } .link:hover { text-decoration: none; transform: scale(1.01); } .image { height: auto; object-fit: contain; object-position: center; width: 100%; } .content { display: grid; padding: 10px; background-color: #fff; gap: 27px; } .heading { color: #00838e; font-family: Helvetica, Arial, sans-serif; font-weight: 400; line-height: normal; margin-bottom: 0; text-decoration: none; text-transform: none; } .link:hover .heading { text-decoration: underline; } .p { color: #333; line-height: 1.3; margin-bottom: 0; text-decoration: none; } @media screen and (min-width: 768px) { .content { padding: 20px 0px; } } @media screen and (min-width: 1367px) { .heading { font-size: 1.375rem; } }