.container { width: calc(126rem / 16); display: flex; flex-direction: column; margin: 0; } .img { width: calc(118rem / 16); height: calc(118rem / 16); clip-path: circle(); object-fit: cover; } .caption { text-align: center; margin-top: calc(24rem / 16); } .name { font-weight: 700; color: var(--primary-accent); } .role { font-weight: 600; color: var(--primary-heading); } @media only screen and (max-width: calc(768rem / 16)) { .img { width: calc(126rem / 16); height: calc(126rem / 16); } .caption { text-align: center; font-size: calc(14rem / 16); margin-top: 1rem; } }