.projects_section {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1280px;
  margin: 4rem auto 5rem;
  padding: 2.75rem 2rem;
  background-color: #EAF3E7;
  border-radius: 16px;
}

.projects_section_header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.projects_blocks {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 2.5rem;
  width: 100%;
}

.project_block {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 1 auto;
}

.project_block_image {
  height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Medium widths: break into two rows (2 per row) */
@media (max-width: 1150px) {
  .project_block {
    flex: 0 1 42%;
  }
}

/* Small screens: one card per row */
@media (max-width: 600px) {
  .project_block {
    flex: 0 1 100%;
  }
  .project_block_image {
    height: 52px;
  }
}
