/* ===================== 全域變數與基底 ===================== */
body {
  --wrap: 1180px;
  --gap: 48px;
  --c-brand: #604C3E;
  --c-brown: #5b4336;
  --c-brown-2: #725847;
  --c-accent: #C49C69;
  --c-text: #604C3E;
  --c-muted: #AD9B8E;

  background-color: #F4F4F4;
  font-family: "Noto Serif TC", Sans-serif !important;
  color: var(--c-text);
}

/* 背景色 + 右下插圖（頁面外層） */
.rtm-clinic-single {
  background-image: url("/wp-content/uploads/bg-2.png");
  background-repeat: no-repeat;
  background-position: right -30px bottom -10px;
  background-size: 200px auto;
}

/* 手機版：所有以 sec- 開頭之 section（你的大區塊）寬度滿版 */
@media (max-width: 980px) {
  section[id^="sec-"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
}

/* ===================== ② 醫師陣容 ===================== */
section#sec-doctors {
  position: relative;
  background: url("/wp-content/uploads/sec-2-bg.png") center / cover no-repeat;
  padding: 56px 0 72px;
  color: var(--c-text);
}

/* 容器：避免固定寬造成溢出，僅保留 max-width 控制 */
#sec-doctors .rtm-doc-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}

#sec-doctors .rtm-doc-head {
  text-align: center;
  margin-bottom: 28px;
}

#sec-doctors .rtm-doc-head .ico,
#sec-hours .rtm-doc-head .ico {
  width: 32px;
  height: 32px;
  margin: 0 auto 8px;
  background: url("/wp-content/uploads/title_icon.png") center / contain no-repeat;
}


#sec-doctors .rtm-doc-head h2,
#sec-hours .rtm-doc-head h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: .08em;
  font-size: 28px;
  line-height: 1.2;
}


/* 卡片格：桌機四欄 */
#sec-doctors .rtm-doc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 36px;
}

/* 卡片 */
.rtm-doc-card {
  text-align: center;
}

.rtm-doc-card .pic {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
  aspect-ratio: 3 / 4;
  /* 固定比例：3:4 */
}

.rtm-doc-card .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  /* 向上對齊長圖 */
  transition: transform .25s ease;
}

.rtm-doc-card .name {
  margin: 10px 0 2px;
  font-weight: 700;
  font-size: 18px;
  color: #604C3E;
}

.rtm-doc-card .role {
  color: #C49C69;
  font-size: 14px;
  letter-spacing: .06em;
  font-weight: 700;
}

/* 讓整張卡片就是連結區域 + hover 動畫 */
.rtm-doc-card .rtm-doc-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.rtm-doc-card .rtm-doc-link:hover .pic img {
  transform: scale(1.03);
}

/* 鍵盤可及性 */
.rtm-doc-card .rtm-doc-link:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 6px;
  border-radius: 10px;
}

/* RWD：平板三欄、手機兩欄 */
@media (max-width: 1100px) {
  #sec-doctors .rtm-doc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  #sec-doctors {
    padding: 40px 0 56px;
  }

  #sec-doctors .rtm-doc-wrap {
    max-width: 100%;
    padding: 0 16px;
  }

  #sec-doctors .rtm-doc-head h2 {
    font-size: 24px;
  }

  #sec-doctors .rtm-doc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 16px;
  }
}

/* ===================== ③ 主治項目 ===================== */
#sec-treat {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
}

#sec-treat .rtm-sec-head {
  text-align: center;
  margin: 0 auto 26px;
}

#sec-treat .rtm-sec-head .ico {
  width: 26px;
  height: 26px;
  margin: 0 auto 8px;
  background: url("<?php echo esc_url('/wp-content/uploads/title_icon.png'); ?>") no-repeat center / contain;
}

#sec-treat .rtm-sec-head h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-text);
  font-size: 28px;
}

/* 右上／右下裝飾 */
#sec-treat::before,
#sec-treat::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-repeat: no-repeat;
  background-size: contain;
}

#sec-treat::before {
  width: 150px;
  height: 150px;
  right: 40px;
  top: 1px;
  background-image: url("<?php echo esc_url('/wp-content/uploads/bg-img-2.png'); ?>");
  background-position: right top;
}

#sec-treat::after {
  width: 180px;
  height: 180px;
  right: 3px;
  bottom: -4px;
  background-image: url("<?php echo esc_url('/wp-content/uploads/bg-img-1.png'); ?>");
  background-position: right bottom;
}

/* 卡片格線（容器） */
.treat-grid {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

/* 單張卡片 */
.treat-card {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
  isolation: isolate;
  background: #ddd;
}

.treat-card .ph {
  position: relative;
  aspect-ratio: 9 / 12;
  overflow: hidden;
}

.treat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .55s cubic-bezier(.2, .8, .2, 1);
  filter: grayscale(.08) contrast(1.02);
}

/* 遮罩：名稱 + 詳細資訊（置左直排） */
.treat-card .ov {
  position: absolute;
  inset: 0;
  background: rgba(96, 76, 62, .45);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px 16px 14px;
  color: #fff;
  gap: 6px;
  transition: background .35s ease;
}

.treat-card .txt {
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.18;
  font-size: 20px;
  transform: translateY(8px);
  opacity: .92;
  transition: transform .35s ease, opacity .35s ease;
}

.treat-card .detail {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 118px;
  height: 18px;
  background: url("<?php echo esc_url('/wp-content/uploads/detail.png'); ?>") no-repeat center / contain;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity .35s ease, transform .35s ease;
}

/* hover 動畫 */
.treat-card:hover img {
  transform: scale(1.06);
}

.treat-card:hover .ov {
  background: rgba(96, 76, 62, .55);
}

.treat-card:hover .txt {
  transform: translateY(0);
  opacity: 1;
}

.treat-card:hover .detail {
  opacity: 1;
  transform: translateX(0);
}

/* 主治項目：說明文字 */
.rtm-treat-lead {
  max-width: 800px;
  margin: 8px auto 28px;
  text-align: center;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: .02em;
  color: var(--c-text);
  opacity: .92;
  padding: 0 12px;
}

@media (max-width: 768px) {
  .rtm-treat-lead {
    font-size: 16px;
    margin: 6px auto 22px;
  }
}

/* RWD：treat 卡片改二欄；裝飾圖放大避免鋸齒 */
@media (max-width: 980px) {
  .treat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .treat-card .txt {
    font-size: 16px;
  }

  #sec-treat::before,
  #sec-treat::after {
    width: 220px;
    height: 220px;
  }
}

/* ===================== ④ 兩顆 CTA 按鈕 ===================== */
.rtm-cta {
  padding: 47px 0 32px;
}

.rtm-cta-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  align-items: center;
  gap: 32px 56px;
}

.rtm-pill {
  --btn-bg: var(--c-brown);
  --btn-bg-hover: var(--c-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 36px;
  border-radius: 9999px;
  background: var(--btn-bg);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .06em;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(96, 76, 62, .16), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .15s ease, box-shadow .25s ease, background .25s ease;
}

.rtm-pill:hover {
  transform: translateY(-2px);
  background: var(--btn-bg-hover);
  box-shadow: 0 14px 30px rgba(96, 76, 62, .22), inset 0 1px 0 rgba(255, 255, 255, .06);
  color: #FFF;
}

.rtm-pill .ico {
  width: 28px;
  height: 28px;
  display: block;
}

@media (max-width: 980px) {
  .rtm-cta-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rtm-pill {
    width: min(520px, 92%);
    margin: 0 auto;
    font-size: 22px;
    padding: 12px 28px;
    gap: 10px;
    white-space: nowrap;
  }

  .rtm-pill .ico {
    width: 24px;
    height: 24px;
  }
}

/* 更小螢幕的額外調整 */
@media (max-width: 600px) {
  .rtm-pill {
    font-size: 18px;
    padding: 10px 20px;
    gap: 8px;
  }

  .rtm-pill .ico {
    width: 20px;
    height: 20px;
  }
}

/* ===================== ⑤ 門診時間 ===================== */
#sec-hours.rtm-hours {
  --rtm-text: #604C3E;
  --rtm-muted: #7b644f;
  position: relative;
  background: #fff url("/wp-content/uploads/section5-bg.png") no-repeat center bottom / cover;
  padding: 56px 0 110px;
  color: var(--rtm-text);
  font-family: "Noto Serif TC", "Source Han Serif", serif;
  width: 103vw;
}

#sec-hours .rtm-hours-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}

#sec-hours .rtm-schedule {
  padding-top: 30px;
  overflow: hidden;
}

#sec-hours .rtm-schedule img {
  display: block;
  width: 90%;
  height: auto;
  margin: auto;
  padding-bottom: 30px;
}

#sec-hours .rtm-time-lines {
  margin: 40px auto 30px;
  line-height: 0.9;
  color: var(--c-accent);
  font-size: 18px;
  font-weight: 700;
}

#sec-hours .rtm-divide {
  margin: 12px 0 6px;
}

#sec-hours .rtm-divide img {
  height: 69px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin: 14px 0;
}

#sec-hours .rtm-notes {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
  color: var(--c-accent);
  line-height: 1.9;
  font-size: 18px;
  font-weight: 700;
  padding-top: 0px;
}

#sec-hours .rtm-notes h4 {
  text-align: center;
  color: var(--rtm-text);
  font-weight: 800;
  letter-spacing: .08em;
  margin: 8px 0 6px;
  font-size: 24px;
}

#sec-hours .rtm-notes ol {
  margin: 0 auto;
  /* padding: 0; */
  /* align-content: center; */
  /* align-items: center; */
  /* text-align: center; */
  display: inline-block;
  margin-top: 15px;

}

#sec-hours .rtm-notes li {
  margin: .25em 0;
}

@media (max-width: 980px) {
  #sec-hours.rtm-hours {
    padding: 42px 0 80px;
    width: 100vw;
  }

  #sec-hours .rtm-time-lines {
    font-size: 16px;
  }

  #sec-hours .rtm-notes {
    font-size: 14px;

    padding-left: 25px;
    padding-right: 15px;
  }

  #sec-hours .rtm-schedule img {
    width: 90%;


  }

  #sec-hours .rtm-notes ol {
    margin: 2em 0 0 0.3em;
    padding: 0;
  }

  #sec-hours .rtm-notes li {
    margin: 1em 0;
  }

  #sec-hours .rtm-hours-wrap {
    padding: 0px
  }
}

@media (max-width: 600px) {
  #sec-hours.rtm-hours {
    padding: 36px 0 66px;
  }

  #sec-hours .rtm-notes {
    font-size: 13.8px;
  }

  #sec-hours .rtm-divide img {
    height: 22px;
  }

  #sec-hours .rtm-schedule img {
    width: 90%;
  }
}

/* ===================== 停車資訊 / 交通資訊 ===================== */
/* 上方五顆快捷按鈕 */
.rtm-quicknav {
  max-width: var(--wrap);
  margin: 28px auto 22px;
  display: grid;
  grid-template-columns: repeat(4, 120px);
  gap: 16px;
  justify-content: center;
  padding: 40px 12px;
}

.rtm-quicknav .rtm-qbtn {
  width: 120px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--c-brown);
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: 16px;
  padding: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease;
}

.rtm-quicknav .rtm-qbtn img {
  width: 34px;
  height: auto;
  display: block;
  margin-bottom: 6px;
}

.rtm-quicknav .rtm-qbtn span {
  line-height: 1.2;
}

.rtm-quicknav .rtm-qbtn:hover,
.rtm-quicknav .rtm-qbtn:focus {
  background: var(--c-brown-2);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .05);
  outline: none;
}

/* 左地圖 / 右資訊（50/50） */
#sec-info {
  padding-top: 50px;
}

#sec-info .rtm-info-wrap {
  max-width: var(--wrap);
  margin: 8px auto 56px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.rtm-map iframe {
  display: block;
  width: 100% !important;
  height: 380px !important;
  border: 0;
}

.rtm-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 6px;
}

.rtm-head .rtm-name {
  margin: 0;
  font-weight: 800;
  font-size: 35px;
  letter-spacing: .04em;
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: 12px;
}

.rtm-socials a {
  display: inline-flex;
  align-items: center;
}

.rtm-socials img {
  width: 32px;
  height: 32px;
  display: block;
}

.rtm-socials a+a {
  margin-left: 0;
}

/* 地址 / 電話（整行 #C49C69 並加全形冒號） */
.rtm-meta {
  padding: 0 20px 10px;
}

.rtm-row {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  line-height: 1.9;
  font-size: 20px;
  color: var(--c-accent);
}

.rtm-row .k,
.rtm-row .v {
  font-weight: 700;
}

.rtm-row .k::after {
  content: "：";
}

.rtm-row .v a {
  color: inherit;
  text-decoration: none;
}

.rtm-row .v a:hover {
  text-decoration: underline;
}

/* 公車 / 停車：icon 不要外框 */
.rtm-bulks {
  padding: 6px 20px 22px;
}

.rtm-bulk {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 18px;
  row-gap: 6px;
  align-items: start;
  padding: 8px 0;
}

.rtm-bulk:first-child {
  border-top: none;
}

.rtm-bulk .ico {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.rtm-bulk .ico img {
  max-width: 64px;
  height: auto;
  display: block;
}

.rtm-bulk .body .ttl {
  font-weight: 800;
  font-size: 22px;
  color: var(--c-text);
}

.rtm-bulk .body ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--c-text);
  font-size: 18px;
  line-height: 1.75;
}

.rtm-bulk .body li {
  margin: .1em 0;
  font-weight: 700;
  color: var(--c-accent);
}

.rtm-bulk .body .sub {
  color: var(--c-muted);
}

/* 公車站牌：改用 div */
.rtm-bulk .body .lines {
  margin-top: 6px;
}

.rtm-bulk .body .line {
  font-size: 18px;
  line-height: 1.75;
  color: var(--c-accent);
  font-weight: 700;
  margin-top: 6px;
}

/* 避免舊的 ul/li 影響新結構 */
.rtm-bulk .body ul,
.rtm-bulk .body li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* RWD：快捷按鈕縮排；sec-info 單欄；字級微調 */
@media (max-width: 980px) {
  .rtm-quicknav {
    grid-template-columns: repeat(3, 100px);
    gap: 14px 12px;
  }

  .rtm-quicknav .rtm-qbtn {
    width: 100px;
    border-radius: 14px;
    font-size: 15px;
  }

  .rtm-quicknav .rtm-qbtn img {
    width: 30px;
  }

  .rtm-row {
    font-size: 18px;
  }

  #sec-info .rtm-info-wrap {
    display: grid;
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto;
    gap: 24px;
  }

  .rtm-head .rtm-name {
    font-size: 28px;
  }

  #sec-info .rtm-info-wrap>.rtm-map,
  #sec-info .rtm-info-wrap>aside {
    width: 100%;
    max-width: 100%;
  }

  #sec-info .rtm-map iframe {
    width: 100% !important;
    height: 380px !important;
  }

  /* 手機：icon 排在標題下方、置左 */
  .rtm-head .rtm-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .rtm-head .rtm-name .rtm-socials {
    margin-left: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .rtm-quicknav {
    grid-template-columns: repeat(2, 92px);
    gap: 12px 10px;
    justify-content: center;
  }

  .rtm-quicknav .rtm-qbtn {
    width: 92px;
    border-radius: 12px;
    font-size: 16px;
  }

  .rtm-quicknav .rtm-qbtn img {
    width: 28px;
  }

  #sec-info .rtm-map iframe {
    height: 340px !important;
  }
}

/* === Clinic Info（Slider + Intro）=== */
#sec-clinic-info.rtm-clinic-info {
  --c-accent: #C49C69;
  /* 右側文字顏色 */
}

#sec-clinic-info .rtm-info-wrap {
  max-width: 1180px;
  margin: 0 auto 60px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 左右各50% */
  gap: 40px;
  align-items: start;
}

/* 左：Slider（無底色、4:3 比例） */
#sec-clinic-info .rtm-slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  /* ← 不要底色 */
  box-shadow: none;
  /* ← 若也不需要陰影就拿掉；要陰影就改回你要的樣式 */
  aspect-ratio: 4 / 3;
  /* ← 固定 4:3 比例 */
}

/* 讓 slick 結構(最外層到每一張)都吃到高度，圖片才能 height:100% */
#sec-clinic-info .rtm-slider .slides,
#sec-clinic-info .rtm-slider .slick-list,
#sec-clinic-info .rtm-slider .slick-track,
#sec-clinic-info .rtm-slider .slide {
  height: 100%;
}

/* 特色燈箱按鈕（小型）藝文特殊處理 */
.rtm-slider .rtm-extra-btn {
  display: inline-block;
  margin: 12px auto 0;
  /* 讓按鈕置中 */
  padding: 6px 14px;
  font-size: 14px;
  background: #C49C69;
  /* 你的品牌色 */
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: .03em;
  transition: background .2s ease;
}

.rtm-slider .rtm-extra-btn:hover {
  background: #b68b5a;
}


#sec-clinic-info .rtm-slider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 滿版裁切 */
}

/* 如果要保留左右箭頭、點點（可依喜好調） */
#sec-clinic-info .rtm-slider .slick-prev,
#sec-clinic-info .rtm-slider .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border: none;
  font-size: 24px;
  color: #333;
  z-index: 2;
}

#sec-clinic-info .rtm-slider .slick-prev {
  left: 12px;
}

#sec-clinic-info .rtm-slider .slick-next {
  right: 12px;
}

#sec-clinic-info .rtm-slider .slick-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
}

#sec-clinic-info .rtm-slider .slick-dots li button:before {
  font-size: 10px;
  color: #fff;
  opacity: .7;
}

#sec-clinic-info .rtm-slider .slick-dots li.slick-active button:before {
  color: var(--c-accent);
  opacity: 1;
}

/* 右側：院所簡介（保持你的樣式） */
#sec-clinic-info .rtm-intro {
  padding: 24px 24px 28px;
  border-radius: 16px;
  color: var(--c-accent);
}

#sec-clinic-info .rtm-intro-title {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--c-text);
  font-weight: 700;
}

#sec-clinic-info .rtm-intro-text {
  color: var(--c-accent);
  font-size: 17px;
  line-height: 1.9;
  font-weight: 700;
}

/* RWD：手機單欄 */
@media (max-width:980px) {
  #sec-clinic-info .rtm-info-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* 也可以改成 16:10 或直接拿掉，由圖片自然撐高 */
  #sec-clinic-info .rtm-slider {
    aspect-ratio: 16 / 10;
  }
}


/* 按鈕 */
.rtm-traffic-btn {
  display: inline-block;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-accent, #C49C69);
  background: transparent;
  border: 2px solid var(--c-accent, #C49C69);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-left: 82px;
}

.rtm-traffic-btn:hover {
  background: var(--c-accent, #C49C69);
  color: #fff;
}


/* Modal 外層 */
.rtm-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .65);
  justify-content: center;
  align-items: center;
}

/* Modal 內容 */
.rtm-modal-content {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  background: #fff;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 圖片最大高度 = 螢幕高度 */
.rtm-modal-content img {
  display: block;
  max-height: 90vh;
  /* 高度不超過螢幕 */
  width: auto;
  /* 保持比例 */
  max-width: 100%;
  /* 若圖片寬度超過螢幕，自動縮小 */
  object-fit: contain;
  /* 保持完整顯示 */
  margin: auto;
}

/* 關閉按鈕 */
.rtm-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 28px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  line-height: 1;
}

.rtm-modal-close:hover {
  color: #000;
}

/* 特色專診 */
.rtm-card.rtm-special {
  margin-top: 1.5rem;
}

.rtm-card.rtm-special .rtm-intro-title {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: .5rem;
}