.project-preview {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 80px 80px;
}

.project-preview-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
}

.project-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-preview-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
}

.project-preview-caption-text {
  margin: 0;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
  color: rgba(13, 13, 13, 0.4);
}

.project-preview-tag {
  flex-shrink: 0;
  padding: 6px 14px;
  border: 1px solid rgba(13, 13, 13, 0.15);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.project-preview-image-group {
  aspect-ratio: auto;
  height: 420px;
  display: flex;
  gap: 16px;
  overflow: visible;
}

.project-preview-main {
  flex: 2;
  border-radius: 20px;
  overflow: hidden;
}

.project-preview-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-preview-side {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
}

.project-preview-photo {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
}

.project-preview-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .project-preview {
    padding: 0 24px 48px;
  }

  .project-preview-image-group {
    flex-direction: column;
    height: auto;
  }

  .project-preview-main {
    height: 240px;
  }

  .project-preview-side {
    flex-direction: row;
    height: 140px;
  }
}

@media (max-width: 600px) {
  .project-preview-caption { flex-direction: column; align-items: center; text-align: center; }
}
