.elementor-109 .elementor-element.elementor-element-4c71ed7{--display:flex;}.elementor-109 .elementor-element.elementor-element-e6a8726{--display:flex;}.elementor-109 .elementor-element.elementor-element-2211d64{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}/* Start custom CSS for html, class: .elementor-element-2211d64 *//* =========================
   共用設定：區塊容器 & 標題
   ========================= */

/* 區塊標題（醫師陣容 / 專業設備 共用） */
.section-title-unified {
  text-align: left;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 32px 0;
  color: #3A3A3A;
}

/* 舊的 doctors-section-title 也沿用同一套樣式（避免舊碼壞掉） */
.doctors-section-title {
  text-align: left;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 32px 0;
  color: #3A3A3A;
}

/* 內容區塊共用寬度（診所理念 / 專業設備，用 section 自己再細調） */
.clinic-philosophy,
.about-equipment {
  max-width: 1100px;
  margin: 40px auto 80px;  /* 上下距離統一，避免空白過大 */
  padding: 0 16px;
}

/* =========================
   診所理念 Clinic Philosophy
   ========================= */

.clinic-philosophy .about-title {
  text-align: left;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 24px 0;
  color: #3A3A3A;
}

.clinic-philosophy .about-text {
  max-width: 820px;           /* 避免整排太寬 */
  line-height: 1.9;
  font-size: 16px;
  color: #555;
}

/* 段落間距 */
.clinic-philosophy .about-text p {
  margin-bottom: 14px;
}

/* =========================
   醫師陣容 Doctors Section
   ========================= */

/* 主容器：電腦版 4 欄、版面集中 */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 欄 */
  gap: 40px 32px;              /* 上下 / 左右 間距 */
  max-width: 1100px;           /* 整體寬度不要太散 */
  margin: 0 auto 80px;         /* 置中＋跟下方拉開一點 */
  padding: 0 16px;             /* 兩側留一點安全距離 */
}

/* 每張卡片 */
.doctor-card {
  text-align: center;
}

/* 圓形照片（含 hover 柔光） */
.doctor-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

/* 柔光遮罩 */
.doctor-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.45), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

/* hover：照片微放大＋柔光 */
.doctor-card:hover .doctor-photo img {
  transform: scale(1.06);
  filter: brightness(1.05);
}
.doctor-card:hover .doctor-photo::after {
  opacity: 1;
}

/* 姓名 */
.doctor-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* 專科 */
.doctor-specialty {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

/* 按鈕（目前沒用到，保留） */
.doctor-btn {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background-color: #4CB9AA;  /* 薄荷綠 */
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.doctor-btn:hover {
  background-color: #379e92;
}

/* 電腦版小小錯落（第二排稍微往下） */
.doctor-card:nth-child(5),
.doctor-card:nth-child(6),
.doctor-card:nth-child(7) {
  transform: translateY(12px);
}

/* 整張卡片作為一個連結 */
.doctor-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 滑鼠移上去是手指 */
.doctor-card,
.doctor-card-link,
.doctor-photo img {
  cursor: pointer;
}

/* =========================
   專業設備 Equipment Carousel
   ========================= */

/* about-equipment 容器已共用在上方
   這裡只處理輪播本體排版 */

.equipment-carousel {
  position: relative;           /* 讓箭頭能定位在這一層 */
  margin-top: 8px;
  padding: 16px 0 32px 0;
  display: flex;
  justify-content: center;
}

/* 內層：固定高度，讓圖片不會撐爆版面 */
.equipment-track {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 380px;                /* 控制整個輪播高度 */
}

/* 每一張圖的共同樣式 */
.equip-slide {
  position: absolute;
  top: 40px;                    /* 讓整組圖片稍微往下 */
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

/* 圖片：高度限制、寬度自動，邊角柔、陰影柔一點 */
.equip-slide img {
  display: block;
  max-height: 320px;            /* 可依實際需要再調整 */
  width: auto;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* 中間那張：最大、最清楚 */
.equip-slide.is-center {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
  z-index: 3;
  filter: none;
}

/* 左邊那張：往左移一點、縮小、變淡＆微模糊 */
.equip-slide.is-left {
  opacity: 0.5;
  pointer-events: auto;
  transform: translateX(-135%) scale(0.84);
  z-index: 2;
  filter: blur(1px) grayscale(10%);
}

/* 右邊那張：往右移一點、縮小、變淡＆微模糊 */
.equip-slide.is-right {
  opacity: 0.5;
  pointer-events: auto;
  transform: translateX(35%) scale(0.84);
  z-index: 2;
  filter: blur(1px) grayscale(10%);
}

/* 其他張：隱藏起來 */
.equip-slide.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.7);
  z-index: 1;
}

/* 左右箭頭：浮在圖片兩側 */
.equip-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 20px;
  color: #2f3740;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.equip-prev { left: 0; }
.equip-next { right: 0; }

.equip-arrow:hover {
  background: #6dc7b1;
  color: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

.equip-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

/* =========================
   RWD 調整
   ========================= */

/* 1024 以下：診所理念縮小標題，醫師改單欄 */
@media (max-width: 1024px) {
  .clinic-philosophy,
  .about-equipment,
  .doctors-section-title{
    margin-bottom: 64px;
  }

  .clinic-philosophy .about-title,
  .section-title-unified,
  .doctors-section-title {
    font-size: 28px;
  }

  .doctors-grid {
    grid-template-columns: 1fr;
    max-width: 420px;   /* 版面較集中 */
    gap: 32px;
    padding: 0 12px;
    margin-bottom: 64px;
  }

  .doctor-card {
    transform: none;    /* 取消錯落 */
  }
}

/* 768 以下：設備輪播高度縮小 */
@media (max-width: 768px) {
  .equipment-track {
    max-width: 100%;
    height: 240px;
  }

  .equip-slide img {
    max-height: 180px;
  }

  .equip-slide.is-left {
    transform: translateX(-120%) scale(0.8);
  }

  .equip-slide.is-right {
    transform: translateX(20%) scale(0.8);
  }

  .equip-arrow {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
}

/* 480 以下：字級再縮一點，整體間距略收窄 */
@media (max-width: 480px) {
  .clinic-philosophy .about-title,
  .section-title-unified,
  .doctors-section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .clinic-philosophy .about-text {
    font-size: 15px;
    line-height: 1.85;
  }

  .doctor-photo {
    width: 180px;
    height: 180px;
  }

  .doctor-name {
    font-size: 17px;
  }

  .doctor-specialty {
    font-size: 13px;
  }

  .clinic-philosophy,
  .about-equipment {
    margin: 32px auto 48px;
  }
}/* End custom CSS */