.wid-sm { width: 100px; } .awards-section { display: flex; grid-template-columns: 1fr 1fr 1fr; gap: 20px 0; flex-wrap: wrap; justify-content: center; } .awards-item > img { display: block; margin: 0 auto; max-height: 160px;flex: 0 0 160px;object-fit: contain;} .awards-item { font-size: 15px; display: flex; flex-direction: column; max-height: 370px; width: calc(28% - 20px); justify-content: flex-start; text-align: center; align-items: center; border-bottom: 1px solid #ddd; padding: 10px 30px; } @media (max-width: 900px) { .awards-item { width: calc(40% - 20px); } } @media (max-width: 600px) { .awards-item { width: 100%; } }