/* your styles go here */
/* Example site test */

.box-image-text .image {
    min-height: 190px;
    max-height: 190px;
}

.box-image-text .image img {
    max-height: 190px;
    margin: auto;
}

.box-simple {
    min-height: 230px;
}

.artists-container {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.artist-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1; /* 讓每個項目平均分配空間 */
}

.artist-photo {
    width: 100%; /* 照片寬度填滿容器 */
    height: auto; /* 高度自動調整 */
    max-width: 300px; /* 最大寬度限制，避免桌面版過大 */
    border-radius: 50%;
    object-fit: cover;
}

.artist-name {
    text-decoration: none;
    color: black;
    margin-top: 10px;
    font-size: 1.5em;
    font-weight: bold;
}

@media (max-width: 768px) {
    .artists-container {
      flex-direction: column; /* 變成垂直排列 */
      padding: 10px;
    }

    .artist-item {
      width: 100%; /* 填滿寬度 */
      margin-bottom: 20px; /* 項目間的間距 */
    }

    .artist-photo {
      width: 100%; /* 填滿手機螢幕寬度 */
      max-width: none; /* 移除最大寬度限制 */
      height: auto;
    }
}

.img-carousel {
    width: 600px; /* 固定寬度 */
    height: 450px; /* 固定高度 */
    object-fit: cover; /* 保持寬度，裁剪高度 */
    object-position: center; /* 從中間裁剪 */
    display: block; /* 確保圖片為塊級元素 */
}

.circle-crop {
    width: 100%; /* 自適應父層容器寬度 */
    aspect-ratio: 1 / 1; /* 確保是正方形 */
    object-fit: cover; /* 保持比例，裁剪多餘部分 */
    object-position: center; /* 從正中間裁剪 */
    border-radius: 50%; /* 形成圓形 */
    display: block; /* 避免圖片下方空白 */
}

.gig-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* 保證在寬度不足時，元素會自動換行 */
  gap: 5px; /* section 之間的間距 */
  padding: 10px 0;
}
.gig-section {
  flex: 1; /* 讓兩個 section 自動均分寬度 */
  min-width: 300px; /* 保證 section 不會縮小到過小的寬度 */
  padding: 5px;
  margin: 5px; 
}

@media (max-width: 768px) {
  .gig-container {
    flex-direction: column; /* 將 section 改為上下排列 */
  }
}

.circle-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.icon-container {
    display: flex;
    justify-content: center; /* 水平置中 */
    align-items: center; /* 垂直置中 */
}

.musicians-img {
  width: 100%; /* 寬度自適應容器 */
  aspect-ratio: 4 / 3; /* 強制 4:3 比例 */
  object-fit: cover; /* 圖片填滿容器，超出的部分裁切 */
  object-position: center; /* 從中間裁切 */
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 高寬比 */
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
