body .works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 64px auto;
  margin-block: 64px !important;
}

.works .work {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto min-content;

  gap: 32px;
  row-gap: 16px;

  background: #f3f3f3;

  padding: 16px;
  overflow: hidden;
}

.works .work .image {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.works .work:nth-child(odd) {
  grid-template-columns: 1fr 2fr;
}

.works .work:nth-child(odd) .image {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.works .work h3 {
  font-size: 1rem;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}

.works .work h4 {
  font-size: 1rem;
  margin: 0 0 8px 0;
  font-weight: bold;
}

.works .work h4 span {
  font-weight: normal;
}

.works .work p {
  margin: 0;
  font-size: 1rem;
  text-transform: lowercase;
}

.works .work .link {
  margin-top: 16px;
}

.works .work .link a {
  display: inline-block;
  text-align: center;
  background: rgba(166, 58, 45, 1);
  color: #fff;
  padding: 12px 32px;
  text-transform: uppercase;
  font-size: 14px;
  text-wrap: balance;
  letter-spacing: 2px;
}

.works .work .link a:hover {
  background: rgba(166, 58, 45, 0.8);
}

.works .work .image {
  aspect-ratio: 6/8;
  overflow: hidden;
}

.works .work .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.works .work:hover {
  background: #efefef;
}

.works .work:hover .image img {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}
/* tablet portrait */
@media only screen and (max-width: 810px) {
  body .works {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
}

/* stuff for mobile only */
@media only screen and (max-width: 767px) {
  .works .work {
    row-gap: 16px;
  }

  .works .link {
    grid-column: span 2;
  }

  .works .link a {
    display: block;
    width: 100%;
  }
}
