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

.project-gallery-grid {
  display: flex;
  gap: 16px;
  height: 420px;
}

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

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

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

.project-gallery-placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background-color: rgba(183, 63, 252, 0.06);
  border: 1px dashed rgba(183, 63, 252, 0.3);
}

.project-gallery-placeholder span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(183, 63, 252, 0.6);
}

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

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

.project-gallery-chip-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 20px;
  background-color: rgba(183, 63, 252, 0.06);
}

.project-gallery-chip-box .project-tag {
  text-align: center;
}

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

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

  .project-gallery-grid {
    flex-direction: column;
    height: auto;
  }

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

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

@media (max-width: 600px) {
  .project-gallery-caption { text-align: center; }
}
