.custom-card {
	 position: relative;  /* 新增 */
	 margin: 2px; /* 從8px改成4px，更靠近 */
  /* 其他樣式不變 */
	aspect-ratio: 2 / 3; 
    height: 400px;      /* 比寬高許多，形成直條 */
    width: 400%;        /* 撐滿欄位寬度 */
    max-width: 300px;   /* 防止在大螢幕太寬 */
    overflow: hidden;
    background-color: #444;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 16px;
  cursor: pointer;
  margin: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}
.team-block-info {
  flex: 0 0 auto;
  color: white;
  margin-bottom: 8px;
}

.team-block-image-wrap {
  position: relative;
  flex-grow: 1;
  overflow: hidden;
  border-radius: 10px;
  margin: 0;
  padding: 0;
}

.team-block-image {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}
.team-block-info p {
    font-size: 20px; /* 你可以根據需要調整字體大小 */
}

.team-block-wrap.custom-card .team-block-info h4 {
  font-size: 30px; /* 你想要的大小，預設h4通常比較大，可以調小一點 */
}