.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 1200px;
  max-width: 100%;
  margin: 0px auto;
}

.social-item {
  width: 320px;
  position: relative;
}

.social-item__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.social-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 1px solid #ccc;
}

.social-item__media-type {
  position: absolute;
  top: 5px;
  left: 5px;
  padding: 5px;
  background: #ffd000;
  color: #000;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.15em;
  line-height: 1.1;
  text-transform: uppercase;
}

.social-item__copy-target {
  position: relative;
}

.social-item__title {
  display: block;
  position: relative;
  margin-bottom: 20px;
}

.social-item__copy {
  display: block;
  position: absolute;
  top: -13px;
  right: 0;
  width: 35px;
  height: 35px;
  margin-bottom: 0;
  padding: 0 5px 5px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  color: #248a4e;
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.social-item__copy img {
  margin-bottom: 0;
  border: 0;
  transition: transform 0.75s ease;
}

.social-item__copy {
  opacity: 1;
}

.social-item__copied {
  display: none;
  width: calc(100% + 100px);
  margin-left: -100px;
  padding: 10px 20px;
  background: #248a4e;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

@media only screen and (max-width: 1024px) {
  .social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 767px) {
  .social-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
}