/* 让内部元素横向排列 */
.arduino-flex-layout {
   display: flex;             /* 开启弹性布局 */
   align-items: center;       /* 垂直居中对齐 */
   justify-content: space-between; /*两端对齐，中间留白 */
   gap: 20px;                 /* 文字和图片之间的间距 */
   height: 100%;              /* 撑满高度 */
}
  
/* 左侧文字区域 */
.arduino-text-group {
   flex: 1;                   /* 占据剩余的所有空间 */
}

/* 右侧图片区域 */
.arduino-image-group {
   flex: 0 0 40%;             /* 固定占据 40% 的宽度 (根据需要调整) */
   display: flex;
   justify-content: center;   /* 图片水平居中 */
   align-items: center;
}

/* 响应式适配：手机端变成上下结构 */
@media (max-width: 768px) {
   .arduino-flex-layout {
      flex-direction: column;  /* 手机上改为竖向排列 */
      align-items: flex-start;
   }
   .arduino-image-group {
      flex: 0 0 auto;
      width: 100%;
      margin-top: 20px;
   }
}