@charset "UTF-8";
:root {
  --primary: #C88C28;
  --primary-m3: #4F849B;
  --primary-dark2: #005B7F;
  --primary-dark: #0D3B4B;
  --primary-light: #98C0C2;
  --secondary: #0093B2;
  --secondary-light: #4AB3D7;
  --green: #AC7;
  --white: #FFF;
  --gray-light: #BFBFBF;
  --gray-middle: #8C8C8C;
  --gray: #7E6C6C;
  --gray-deep: #545454;
  --tag-red: #FF6060;
  --tag-purple: #7F8DD6;
  --tag-pink: #F9AAD4;
  --tag-blue: #60A0FF;
  --tag-green: #ADD881;
  --tag-orange: #FF8660;
}

body {
  color: var(--primary-dark);
  min-height: 100vh;
  background: #fff;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f4f4f4",endColorstr="#ececec",GradientType=1);
  font-family: "Noto Sans TC", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  margin: 0px;
  letter-spacing: 1px;
}

* {
  box-sizing: border-box;
}

a {
  color: #333;
  text-decoration: none;
}

.container {
  max-width: 1121px;
  margin: 0 auto;
}
@media only screen and (max-width: 768px) {
  .container {
    max-width: 90%;
  }
}

.container-w {
  max-width: 1400px;
  margin: 0 auto;
  width: 90%;
}
@media only screen and (max-width: 768px) {
  .container-w {
    max-width: 90%;
    width: 90%;
  }
}

h2, h3 {
  font-weight: normal;
  margin: 0;
}

.flex-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.mt-10 {
  margin-top: 5vh;
}

.bg-gray {
  background: rgb(244, 244, 244);
  background: linear-gradient(180deg, rgb(244, 244, 244) 0%, rgb(236, 236, 236) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f4f4f4",endColorstr="#ececec",GradientType=1);
}

/* ===== Tokens ===== */
.about-gallery {
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) 0px 0px;
}

.about-head {
  text-align: center;
  margin-bottom: clamp(16px, 3vw, 28px);
  color: #fff;
}
.about-head h4 {
  font-size: 2.2em;
}

.about-arc {
  width: 100%;
  margin: 0 auto;
}
@media only screen and (max-width: 768px) {
  .about-arc {
    width: 220%;
    margin: 0 auto;
    margin-left: -61%;
  }
}

.about-stage {
  position: relative;
  width: 100%;
  height: clamp(300px, 46vw, 560px);
  padding: 8px 0;
  isolation: isolate;
  overflow: hidden; /* 把左右預備槽裁掉，畫面永遠滿 */
}
@media only screen and (max-width: 768px) {
  .about-stage {
    min-height: 600px;
    margin-bottom: -220px;
  }
}

/* 箭頭預設隱藏；要顯示把 display 刪掉 */
.about-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: none;
  place-items: center;
  font-size: 30px;
  line-height: 1;
  color: #082a29;
  background: #f6f4f1;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.about-prev {
  left: 8px;
}

.about-next {
  right: 8px;
}

/* 卡片由 JS 定位（拱橋路徑） */
.about-card {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(240px, 46%, 520px);
  aspect-ratio: 16/10;
  border-radius: 22px;
  overflow: hidden;
  background: #ddd;
  color: #1a1a1a;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  display: grid;
  place-items: end start;
  padding: 14px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: default;
  filter: saturate(1.02) contrast(1.02);
  will-change: transform, opacity;
}
.about-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(140% 140% at 90% 10%, rgba(255, 255, 255, 0.13) 0%, transparent 50%), linear-gradient(to top, rgba(0, 0, 0, 0.18), transparent 40%);
  pointer-events: none;
}
.about-card figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #222;
  font-size: 13px;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  pointer-events: none;
}

.about-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (max-width: 768px) {
  .about-stage {
    height: clamp(320px, 64vw, 500px);
  }
  .about-card {
    width: clamp(220px, 62%, 480px);
  }
}
@media (max-width: 520px) {
  .about-stage {
    height: clamp(320px, 72vw, 460px);
  }
  .about-card {
    width: clamp(220px, 82%, 420px);
  }
}
:root {
  --at-deep:#1d4b4a; /* 深綠底 */
  --at-gold:#C7A06A; /* 香檳金 */
  --at-card:#fff; /* 卡片底 */
  --at-ink:#212529; /* 文字主色 */
  --at-mute:#6f7d7a; /* 次要字 */
  --at-glow:rgba(199,160,106,.55);
}

.about-time {
  padding: clamp(64px, 8vw, 120px) 5%;
  color: var(--at-card);
  position: relative;
  overflow: hidden;
  /* 中央虛線 */
  /* 節點：三欄（圖片 / 年份旗幟 / 對話框） */
  /* RWD */
}
.about-time__inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  position: relative;
}
.about-time__line {
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 94%;
  top: 3%;
  pointer-events: none;
}
.about-time__line path {
  stroke: var(--at-gold);
  stroke-width: 4;
  stroke-dasharray: 6 12;
  stroke-linecap: round;
  stroke-dashoffset: 1500; /* gsap 會畫出來 */
}
.about-time__item {
  display: grid;
  grid-template-columns: 1fr clamp(24px, 3vw, 40px) 1fr;
  align-items: center;
  -moz-column-gap: clamp(24px, 3vw, 40px);
       column-gap: clamp(24px, 3vw, 40px);
  margin-block: clamp(36px, 5vw, 72px);
  position: relative;
  /* 旗幟本體（中間欄位） */
  /* 圖片卡片 */
  /* 對話泡泡（有小三角形） */
  /* 版位：左圖右文 */
  /* 版位：右圖左文 */
  /* hover 聯動旗幟光暈（由 JS 加上 .is-hover） */
}
.about-time__item > .about-time__flag {
  grid-column: 2;
  justify-self: center;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  transform: translateY(-40%);
  opacity: 0;
  /* hover 光暈（由 JS 切 is-hover） */
  /* NOW 特別款 */
}
.about-time__item > .about-time__flag .about-time__flag-cap {
  width: 6px;
  height: 18px;
  background: var(--at-gold);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18) inset;
}
.about-time__item > .about-time__flag .about-time__flag-body {
  display: inline-block;
  margin-top: 2px;
  background: linear-gradient(180deg, #d8b784 0%, var(--at-gold) 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  position: relative;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  height: 80px;
  width: 80px;
  border-radius: 100px;
  align-content: center;
}
@media only screen and (max-width: 768px) {
  .about-time__item > .about-time__flag .about-time__flag-body {
    height: 60px;
    width: 60px;
    padding: 10px 0px;
    text-align: center;
  }
}
.about-time__item > .about-time__flag::before {
  content: "";
  position: absolute;
  inset: auto -10px -12px -10px;
  height: 100px;
  border-radius: 100px;
  filter: blur(22px);
  opacity: 0;
  background: var(--at-glow);
  transition: opacity 0.35s cubic-bezier(0.45, 0.05, 0.7, 1.55);
  z-index: 0;
}
.about-time__item > .about-time__flag.is-now .about-time__flag-body {
  background: linear-gradient(135deg, #ffdca8 0%, #d3a76e 60%, #a67c45 100%);
}
.about-time__item > .about-time__flag.is-now .about-time__flag-glow {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 100px;
  box-shadow: 0 0 0 2px rgba(255, 225, 180, 0.55), 0 10px 28px var(--at-glow);
  pointer-events: none;
}
.about-time__item .about-time__media {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(18px) scale(0.98);
  opacity: 0;
}
.about-time__item .about-time__media img {
  width: 100%;
  height: 320px;
  -o-object-fit: cover;
     object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.about-time__item .about-time__media:hover img {
  transform: scale(1.08);
}
.about-time__item .about-time__bubble {
  background: var(--at-card);
  color: var(--at-ink);
  border-radius: 18px;
  padding: clamp(18px, 2.4vw, 24px) clamp(18px, 2.4vw, 28px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  position: relative;
  transform: translateY(10px) translateX(var(--shift, 0)) scale(0.98);
  opacity: 0;
}
@media only screen and (max-width: 768px) {
  .about-time__item .about-time__bubble {
    background-color: rgba(0, 0, 0, 0);
    color: #fff;
    box-shadow: none;
  }
}
.about-time__item .about-time__bubble .about-time__title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 800;
  letter-spacing: 0.2px;
}
@media only screen and (max-width: 768px) {
  .about-time__item .about-time__bubble .about-time__title {
    color: #fff;
    font-weight: normal;
    letter-spacing: 1px;
  }
}
.about-time__item .about-time__bubble .about-time__desc {
  margin: 0;
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--at-mute);
  line-height: 1.8;
}
.about-time__item .about-time__bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 10px solid transparent;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
}
.about-time__item.is-left .about-time__media {
  grid-column: 1;
}
.about-time__item.is-left .about-time__bubble {
  grid-column: 3;
  --shift: 30px;
}
.about-time__item.is-left .about-time__bubble::after {
  right: 100%;
  border-right-color: var(--at-card);
}
.about-time__item.is-right .about-time__bubble {
  grid-column: 1;
  --shift:-30px;
}
.about-time__item.is-right .about-time__media {
  grid-column: 3;
}
.about-time__item.is-right .about-time__bubble::after {
  left: 100%;
  border-left-color: var(--at-card);
}
.about-time__item.is-hover > .about-time__flag::before {
  opacity: 1;
}
@media (max-width: 768px) {
  .about-time__item {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }
  .about-time__item > .about-time__flag {
    transform: translateY(0) scale(0.9);
  }
  .about-time__item .about-time__media, .about-time__item .about-time__bubble {
    grid-column: 1;
  }
  .about-time__item .about-time__bubble {
    --shift:0;
  }
  .about-time__item .about-time__bubble::after {
    left: 24px;
    top: -10px;
    transform: none;
    border: 10px solid transparent;
    border-bottom-color: var(--at-card);
  }
}

/* === Mobile ≤768px：時間軸靠左，內容同一側往下排 === */
@media (max-width: 768px) {
  :root {
    --at-mobile-gutter: 32px;
  } /* 左側軸線欄寬 */
  .about-time__line {
    /* 軸線移到左側（靠近旗幟） */
    left: 14px;
    top: 10px;
    height: 92%;
    transform: translateX(0);
  }
  .about-time__item {
    /* 兩欄：左 = 軸線/旗幟；右 = 內容（圖＋文） */
    grid-template-columns: var(--at-mobile-gutter) 1fr;
    grid-auto-rows: auto;
    align-items: start;
    row-gap: 12px;
    -moz-column-gap: 14px;
         column-gap: 14px;
    margin-block: 24px;
    /* 旗幟固定在左欄置中，與內容同高 */
    /* 內容統一在右欄：先圖、後文字（兩側樣式合一） */
    /* 清掉左右版位差異（同一側落位） */
  }
  .about-time__item > .about-time__flag {
    grid-column: 1;
    grid-row: 1/span 2; /* 讓旗幟跨圖＋文字的高度 */
    justify-self: center;
    align-self: start;
    transform: none; /* 取消位移縮放 */
    scale: 0.9;
    margin-top: 2px;
  }
  .about-time__item .about-time__media {
    grid-column: 2;
    order: 1;
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  .about-time__item .about-time__media img {
    height: 220px;
  }
  .about-time__item .about-time__bubble {
    grid-column: 2;
    order: 2;
    --shift: 0;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(8px) scale(0.985);
    /* 小三角指向左側軸線 */
  }
  .about-time__item .about-time__bubble::after {
    left: -10px;
    right: auto;
    top: 18px;
    transform: none;
    border: 10px solid transparent;
    display: none;
  }
  .about-time__item.is-left .about-time__media, .about-time__item.is-right .about-time__media {
    grid-column: 2;
  }
  .about-time__item.is-left .about-time__bubble, .about-time__item.is-right .about-time__bubble {
    grid-column: 2;
  }
}
.about-page {
  background: #2D5055;
  background: linear-gradient(135deg, rgb(45, 80, 85) 0%, rgb(6, 31, 34) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2D5055", endColorstr="#0D373D", GradientType=0);
}

.chat-stats {
  background-image: url(../img/about/bg-counter.jpg);
  padding: 5%;
  margin-top: 5vh;
  background-size: cover;
  min-height: 50vh;
  margin-bottom: 5vh;
  align-content: center;
}
@media only screen and (max-width: 768px) {
  .chat-stats {
    padding: 0px;
  }
}
.chat-stats .container {
  display: grid;
  flex-wrap: wrap;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
@media only screen and (max-width: 768px) {
  .chat-stats .container {
    grid-template-columns: repeat(2, 1fr);
  }
}
.chat-stats .container .chat-single {
  flex: 1;
  background-color: #fff;
  border-radius: 10px;
  padding: 4%;
  text-align: center;
  align-content: center;
}
@media only screen and (max-width: 768px) {
  .chat-stats .container .chat-single {
    padding: 6%;
  }
}
.chat-stats .container .chat-single h4 {
  font-size: 20px;
}
@media only screen and (max-width: 768px) {
  .chat-stats .container .chat-single h4 {
    font-size: 16px;
  }
}
.chat-stats .container .chat-single h4 span {
  font-size: 34px;
  color: #C88C28;
  font-weight: bold;
}
@media only screen and (max-width: 768px) {
  .chat-stats .container .chat-single h4 span {
    font-size: 24px;
  }
}

.about-footer {
  background-color: #fff;
  padding-top: 10vh;
}
@media only screen and (max-width: 768px) {
  .about-footer .big {
    margin-top: 10vh;
  }
}
.about-footer .top {
  position: absolute;
  margin-top: 2vh;
  left: 50%;
  transform: translate(-50%);
  width: 100%;
}
.about-footer .top .icon {
  margin: auto;
  display: block;
  margin-bottom: 10px;
  text-align: center;
}
.about-footer h3 {
  color: #2D5055;
  text-align: center;
  font-size: 2.4em;
  letter-spacing: 1px;
}
@media only screen and (max-width: 768px) {
  .about-footer h3 {
    font-size: 18px;
  }
}
.about-footer h3 span {
  font-weight: bold;
  color: #C88C28;
}
.about-footer img.big {
  width: 100%;
}

.about-section {
  width: 100%;
  padding: 100px 5%;
  color: #fff;
}
.about-section .about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}
@media only screen and (max-width: 768px) {
  .about-section .about-container {
    flex-direction: column;
  }
}
.about-section .about-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.8;
  opacity: 0;
  transform: translateX(-50px);
}
.about-section .about-images {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
}
.about-section .about-images .about-img {
  width: 120px;
  background: #ddd;
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  background-position: center;
  background-size: cover;
}
.about-section .about-images .about-img.about-img1 {
  height: 270px;
  transform: translate(0px, 50px) !important;
}
.about-section .about-images .about-img.about-img2 {
  height: 260px;
}
.about-section .about-images .about-img.about-img3 {
  height: 260px;
  transform: translate(0px, 60px) !important;
}

.about-banner {
  overflow: hidden;
  position: relative;
}
.about-banner .about-font {
  position: absolute;
  right: -20px;
  bottom: 3vh;
  z-index: 2;
}
@media only screen and (max-width: 768px) {
  .about-banner .about-font {
    width: 80%;
    top: 5vh;
  }
}

.about-sli {
  position: relative;
  width: 100%;
  height: 60vh; /* 全螢幕 */
  overflow: hidden;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #fff;
}
@media only screen and (max-width: 768px) {
  .about-sli {
    height: 40vh;
  }
}
.about-sli .about-sli-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}
.about-sli .about-sli-slide {
  background-size: cover;
  background-position: center;
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; 的縮寫 */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  opacity: 0; /* 初始為 0，JS 會把第一張顯示出來 */
  transform: scale(1.08);
  will-change: opacity, transform;
}
.about-sli .about-sli-controls {
  position: absolute;
  inset-inline: 0;
  bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  z-index: 5;
}
.about-sli .about-sli-controls button {
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #fff;
  font-size: 30px;
  width: 30px;
  height: 30px;
  line-height: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.about-sli .about-sli-controls button:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}
.about-sli .about-sli-controls button:active {
  transform: translateY(0);
}
.about-sli .about-sli-controls .about-sli-dots {
  display: flex;
  gap: 10px;
}
.about-sli .about-sli-controls .about-sli-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}
.about-sli .about-sli-controls .about-sli-dots .dot.active {
  background: linear-gradient(45deg, #ffffff, #dcdcdc);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* RWD 細節可自行加強 */
@media (max-width: 768px) {
  .about-sli .about-sli-controls button {
    font-size: 1.6rem;
  }
}
.about-doctors {
  min-height: 40VH;
  background: #ffffff;
  border-radius: 100px 100px 0px 0px;
}
@media only screen and (max-width: 768px) {
  .about-doctors {
    border-radius: 50px 50px 0px 0px;
  }
}

.about-doctors {
  padding: 5% 0px;
}
@media only screen and (max-width: 768px) {
  .about-doctors {
    padding-top: 10vh;
  }
}

.box-doctors {
  display: flex;
  flex-direction: column;
  gap: 5vh;
}
.box-doctors .single {
  display: flex;
  gap: 20px;
  /* 你原本就有的規則 */
}
@media only screen and (max-width: 768px) {
  .box-doctors .single {
    flex-direction: column;
  }
}
.box-doctors .single .pic {
  display: flex;
  gap: 10px;
  flex: 1;
}
.box-doctors .single .pic img {
  width: 100%;
}
@media only screen and (max-width: 768px) {
  .box-doctors .single .pic img {
    width: 50%;
  }
}
.box-doctors .single .pic {
  display: flex;
  gap: 12px; /* 示意，依你原本的排版而定 */
}
.box-doctors .single .pic img {
  display: block;
  width: 100%;
  height: auto;
}
.box-doctors .single .pic .about-docc-slot {
  position: relative;
  flex: 1 1 0; /* 和原本兩張圖並排的比例一致 */
  overflow: hidden;
  border-radius: 12px; /* 視覺升級，可移除 */
  /* 若你原本用固定高寬比，這裡也加上 */
  aspect-ratio: 4/3; /* 依需求改 */
}
.box-doctors .single .font {
  flex: 1;
  align-self: center;
}
.box-doctors .single .font h2 {
  margin-bottom: 20px;
  font-weight: normal;
  color: #C88C28;
  font-size: 2em;
}
.box-doctors .single .font h2 span {
  font-weight: bold;
}
@media only screen and (max-width: 768px) {
  .box-doctors .single .font h2 {
    text-align: center;
    font-size: 20px;
  }
}

.about-icon {
  position: absolute;
}
.about-icon.icon-1 {
  left: -10vw;
  width: 20vw;
  top: 20%;
}
@media only screen and (max-width: 768px) {
  .about-icon.icon-1 {
    width: 40vw;
  }
}
.about-icon.icon-2 {
  right: -10vw;
  width: 20vw;
  bottom: 20%;
}

.about-docc-slot .picbox {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.about-docc-slot .picbox:first-child {
  opacity: 1;
} /* 沒 JS 也看得到第一張 */
.about-docc-slot .is-active {
  opacity: 1;
}/*# sourceMappingURL=about.css.map */