.thumbnail-works {
  padding: clamp(76px, 8vw, 112px) 0 clamp(82px, 8vw, 116px);
  background: #fafafa;
  color: #171717;
}

.other-works-heading {
  display: flex;
  align-items: baseline;
  gap: clamp(20px, 4vw, 60px);
  margin-bottom: clamp(35px, 4vw, 54px);
  padding-top: 27px;
  border-top: 1px solid #d8d5d0;
}

.other-works-heading span,
.other-work-meta > span {
  color: #333333;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
}

.other-works-heading h2 {
  margin: 0;
  font-size: clamp(27px, 2.5vw, 34px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1.3;
}

.other-works-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 32px);
  align-items: stretch;
}

.other-work {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(15px, 1.6vw, 22px);
  border: 1px solid #f0efec;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 28px rgb(23 23 23 / 7%);
}

.other-work-media {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  border-radius: 3px;
  background: #ecefed;
}

.other-work-media-thumbnails {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: clamp(14px, 2vw, 26px);
}

.other-work-media-thumbnails img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.other-work-media-website {
  background: #f6f5f1;
}

.other-work-media-website img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.other-work-meta { flex: 1; padding: 20px 4px 4px; }

.other-work-meta h3 {
  margin: 7px 0 9px;
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.35;
}

.other-work-meta p {
  max-width: 36em;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.other-work-meta p strong {
  font-weight: 650;
}

.other-work-meta small {
  display: block;
  margin-top: 9px;
  color: #666666;
  font-size: 12px;
  line-height: 1.6;
}

.other-work-meta a {
  display: inline-block;
  margin-top: 12px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: #171717;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.other-work-meta a:hover,
.other-work-meta a:focus-visible { color: #111; }

@media (max-width: 720px) {
  .thumbnail-works { padding: 70px 0 82px; }
  .other-works-heading { display: block; margin-bottom: 33px; padding-top: 22px; }
  .other-works-heading h2 { margin-top: 12px; font-size: 29px; }
  .other-works-grid { grid-template-columns: 1fr; gap: 20px; }
  .other-work { padding: 14px; border-radius: 5px; box-shadow: 0 8px 22px rgb(23 23 23 / 7%); }
  .other-work-meta { padding-top: 16px; }
  .other-work-meta p { font-size: 16px; }
}

@media (max-width: 390px) {
  .other-work-media-thumbnails { gap: 8px; padding: 12px; }
}
