/**
Theme Name: 健立
Author: Design-Hu
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: %e5%81%a5%e7%ab%8b
Template: astra
*/

.elementor img {
  width: 100%;
}

/* 點擊 / 鍵盤 focus 時的虛線顏色 */
button:focus,
a:focus {
  /*   outline: 1px dashed #fc7e2f !important;  */
  outline-offset: 2px;
  outline: none !important;
}

/* .elementor-widget .elementor-swiper-button svg path,
.elementor-widget .elementor-swiper-button svg rect {
  stroke: #131313 !important;
} */

.straight-video .elementor-open-inline {
  height: 90vh;
}

p.ol-title {
  margin-bottom: 0 !important;
  font-weight: 700;
}

.entry-content ul,
.entry-content ol {
  margin: 10px 0 10px 4px;
}

.entry-content ul li::marker {
  font-size: 0.5rem;
}

.aboutFeatureItem {
  max-width: 798px;
}

:root {
  --site-container: 1440px;
  --site-gutter: 20px;
}

.side-nav-wrap {
  margin-left: calc(
    (100vw - min(100vw, var(--site-container))) / 2 + var(--site-gutter)
  );
  --padding-left: 45px !important;
}

.carouselContainer {
  --active-w: 0px;
  --wrap-w: 0px;
  --nav-gap: -8px;
  --nav-size: 45px;
}

.carouselContainer {
  --active-left: calc((var(--wrap-w) - var(--active-w)) / 2);
  --active-right: calc(var(--active-left) + var(--active-w));
}

.carouselContainer .mySwiper .swiper-button-prev {
  left: calc(var(--active-left) - var(--nav-gap) - var(--nav-size));
  right: auto;
}

.carouselContainer .mySwiper .swiper-button-next {
  left: calc(var(--active-right) + var(--nav-gap));
  right: auto;
}

.carouselContainer .mySwiper .swiper-button-prev,
.carouselContainer .mySwiper .swiper-button-next {
  width: var(--nav-size);
  height: var(--nav-size);
  top: 40% !important;
	background-image:none;
}

.carouselContainer .mySwiper .swiper-button-prev {
  left: max(8px, calc(var(--active-left) - var(--nav-gap) - var(--nav-size)));
}

.carouselContainer .mySwiper .swiper-button-next {
  left: min(
    calc(100% - 8px - var(--nav-size)),
    calc(var(--active-right) + var(--nav-gap))
  );
}

.server-grid1,
.server-grid3,
.server-grid {
  position: relative;
}

.medicine-grid1::after,
.medicine-grid3::after,
.server-grid1::after,
.server-grid3::after,
.server-grid::after {
  content: "";
  position: absolute;
  top: 7.5%;
  bottom: 15%;
  right: 0;
  transform: translateX(-50%);
  width: 1px;
  background-color: #8f8f8f !important;
  z-index: 10;
}

.medicine-grid1::before,
.medicine-grid2::before,
.server-grid1::before,
.server-grid3::before {
  content: "";
  position: absolute;
  top: unset !important;
  left: 0;
  right: 0;
  bottom: -1px !important;
  height: 1px;
  background-color: #8f8f8f !important;
  z-index: 10;
}

.server-grid1,
.server-grid3 {
  border-bottom: 1px solid #8f8f8f !important;
}

.elementor-element-490d78c .aboutFeatureItem {
  max-width: none;
}

.elementor-pagination {
  margin-top: 60px;
}

.carouselContainer .swiper-slide .videoContainer > iframe {
/*   min-height: 488px; */
}

.current-menu-item > button,
.current-menu-item > a,
.current-menu-ancestor > button,
.current-menu-parent > button,
.current-menu-ancestor > a,
.current-menu-parent > a {
  color: #fc7e2f !important;
  background-color: #fff !important;
}

.elementor-473 .current-menu-item > a {
  color: #fff !important;
  background-color: #fc7e2f !important;
}

@media (max-width: 425px) {
  .borderTitle > h2,
  .borderTitleLeft > h2 {
    position: relative;
  }

  .borderTitleLeft > h2:after {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMSIgaGVpZ2h0PSIyMSIgdmlld0JveD0iMCAwIDIxIDIxIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMC4zNTM1NDYgMjAuMzUzNkwyMC4zNTM1IDAuMzUzNTc3IiBzdHJva2U9IiM4RjhGOEYiLz48L3N2Zz4=) !important;
    position: absolute;
    height: 20px !important;
    width: 20px !important;
    bottom: -5px;
    right: -20px;
  }

  .borderTitle > h2:after,
  .borderTitle > h2:before {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMSIgaGVpZ2h0PSIyMSIgdmlld0JveD0iMCAwIDIxIDIxIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMC4zNTM1NDYgMjAuMzUzNkwyMC4zNTM1IDAuMzUzNTc3IiBzdHJva2U9IiM4RjhGOEYiLz48L3N2Zz4=) !important;
    height: 20px !important;
    width: 20px !important;
    padding-top: 60px;
  }
}

/* 讓左右露出的 slide 不被裁掉 */
.teamSlide .swiper,
.teamSlide .teamSwiper {
  overflow: visible;
}

/* 保險：有些佈景會在外層容器做裁切 */
.teamSlide {
  overflow: hidden;
}

/* Elementor shortcode 容器常會被限制寬度，先解除 */
.teamSlide,
.teamSlide * {
  max-width: none;
}

.teamSlide,
.teamSlide .teamSwiper {
  overflow: hidden;
}

input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="reset"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
textarea:focus,
.wp-block-search__input:focus,
[data-section="section-header-mobile-trigger"]
  .ast-button-wrap
  .ast-mobile-menu-trigger-minimal:focus,
.ast-mobile-popup-drawer.active .menu-toggle-close:focus,
#ast-scroll-top:focus,
#coupon_code:focus,
#ast-coupon-code:focus {
  border: none !important;
}

.appItem--dept {
  display: flex !important;
}

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
  border-bottom: none !important;
}

/* .e-con.e-con>.e-con-inner>.elementor-widget {
	padding-bottom: 80px;
} */

.ast-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.elementor-element
  .swiper
  ~ .swiper-pagination-bullets.swiper-pagination-horizontal {
  top: auto;
}

.elementor-3361 .elementor-element.elementor-element-73e39c8 .elementor-wrapper,
.elementor-3361
  .elementor-element.elementor-element-702b98e
  .elementor-wrapper {
  --video-aspect-ratio: 0 !important;
}

.elementor-element.elementor-arrows-position-outside .swiper,
.elementor-lightbox.elementor-arrows-position-outside .swiper {
  width: calc(100% - 100px) !important;
}

.timeTable .container {
  position: relative;
}

.ttOuterNav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  margin-top: 31.2px;
  pointer-events: none;
  /* 很重要：避免擋到 swiper */
}

.ttOuterPrev,
.ttOuterNext {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
}

/* 左箭頭 */
.ttOuterPrev {
  left: -60px;
}

/* 右箭頭 */
.ttOuterNext {
  right: -60px;
}

.ttOuterItem .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 12px;
}

.ttOuterItem .title h3 {
  margin-bottom: 0 !important;
}

@media (max-width: 921px) {
  .ttOuterNav {
    margin-top: 27.1px;
  }
  .ttOuterPrev {
    left: 0;
  }

  /* 右箭頭 */
  .ttOuterNext {
    right: 0;
  }
}

.lb-nav a.lb-next,
.lb-nav a.lb-prev {
  opacity: 1 !important;
}

.ast-builder-grid-row.ast-grid-center-col-layout {
  padding: 0 60px;
}

.faqCatList search.e-filter {
  display: flex !important;
  flex-wrap: wrap;
}

/* =================================================
   Astra Mobile Popup：真正動畫在 .ast-mobile-popup-inner
   把右滑 translateX 改成 上滑 translateY
   ================================================= */

/* 1) 先把 outer 固定滿版，避免 right:99999rem 干擾 */
#ast-mobile-popup-wrapper,
#ast-mobile-popup {
  left: 0 !important;
  right: 0 !important;
}

/* 2) drawer 只當容器，不要左右推 */
#ast-mobile-popup-wrapper .ast-mobile-popup-drawer {
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
}

/* 3) 關鍵：inner 才是動畫本體 */
#ast-mobile-popup-wrapper .ast-mobile-popup-inner {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  top: 79px !important;
  /* 你登入有 admin bar 時，Astra 會用 top:46px，可保留也可覆蓋 */
  bottom: 0 !important;

  width: 100vw !important;
  height: 50vh !important;
  max-width: 100% !important;

  /* 禁用 X 軸：強制改成從上方藏起來 */
  transform: translate3d(0, -100%, 0) !important;

  /* 只跑 transform（不要讓 opacity 影響你判斷） */
  transition-property: transform !important;
  transition-duration: 0.35s !important;
  transition-timing-function: ease !important;
}

/* 4) 打開狀態：回到畫面內 */
#ast-mobile-popup-wrapper
  .ast-mobile-popup-drawer.active
  .ast-mobile-popup-inner {
  transform: translate3d(0, 0, 0) !important;
}

/* 5) 把 Astra 原本 active 時的 opacity/visibility 保留即可（可選） */
#ast-mobile-popup-wrapper
  .ast-mobile-popup-drawer.active
  .ast-mobile-popup-inner {
  opacity: 1 !important;
  visibility: visible !important;
}

ul#ast-hf-mobile-menu > li > a {
  font-size: 15px !important;
}

.ast-scroll-to-top-right {
  right: 8px !important;
}

ul#ast-hf-mobile-menu > li > ul.sub-menu > li > a {
  font-size: 15px !important;
}

ul#ast-hf-mobile-menu > li > ul.sub-menu > li > ul.sub-menu > li > a {
  font-size: 15px !important;
}

[CLASS*="-sticky-header-active"]
  .ast-header-sticked
  [data-section="section-header-mobile-trigger"]
  .ast-button-wrap
  .mobile-menu-toggle-icon
  .ast-mobile-svg {
  fill: #131313 !important;
}

.ast-mobile-header-wrap .ast-primary-header-bar,
.ast-primary-header-bar .site-primary-header-wrap {
  padding: 12px 24px;
}

/* =========================
   Team Slide：自訂左右箭頭 SVG
   ========================= */

/* 關掉 Swiper 預設箭頭 */
.teamSlide .swiper-button-next::after,
.teamSlide .swiper-button-prev::after {
  content: none !important;
}

/* 按鈕本體 */
.teamSlide .swiper-button-next,
.teamSlide .swiper-button-prev {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
  border-radius: 999px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  background-color: transparent;
  z-index: 10;
  cursor: pointer;
}

.postImgList .elementor-image-box-img {
  width: 180px !important;
}

/* 1) 只針對 homeMap 這顆 shortcode widget */
.elementor-element-55c68a52 .elementor-shortcode svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible !important;
  /* ripple 擴散不被砍 */
}

/* 2) 如果外層容器把它裁切了，一併開放（很常見） */
.elementor-element-55c68a52,
.elementor-element-55c68a52 .elementor-widget-container,
.elementor-element-55c68a52 .elementor-shortcode {
  overflow: visible !important;
}

/* 3) 確保 ripple 的 transform 在手機也正常 */
.elementor-element-55c68a52 .plusRipple {
  transform-box: fill-box;
  transform-origin: center;
}

/* Desktop 預設：只顯示桌機版 */
.radialHeroStage--mobile {
  display: none;
}

/* Desktop 預設：顯示桌機版 */
.radialHeroStage--desktop {
  display: block;
}

div.note div,
div.note p,
div.note span {
  color: var(--Gray-02, #333);
  leading-trim: both;
  text-edge: cap;
  font-feature-settings:
    "liga" off,
    "clig" off;
  font-family: "Noto Sans TC";
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 200%;
  /* 30px */
  letter-spacing: 2px;
}

form.eventApply .row > .btn button.btn-submit.form {
  align-items: center;
  backdrop-filter: blur(10px);
  background-color: transparent;
  border: 1px solid var(--Gray-05, #dbdbdb);
  border-radius: 100px;
  box-shadow: none;
  color: var(--Gray-01, #131313);
  display: inline-flex;
  font-family: DM Sans;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 100%;
  padding: 20px 40px;
  text-transform: capitalize;
}

.btn:after,
.btn:before {
  background-color: transparent !important;
  content: none !important;
}

form.eventApply .row > .btn.form {
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (max-width: 767px) {
  /*   .elementor-hidden-mobile{
    display: block !important;
  } */

  .elementor-6582
    .elementor-element.elementor-element-3005168e:not(
      .elementor-motion-effects-element-type-background
    ) {
    padding-top: 40px;
  }
}

@media (max-width: 1024px) {
  .current-menu-ancestor > button,
  .current-menu-parent > button,
  .current-menu-ancestor > a,
  .current-menu-parent > a {
    color: #fc7e2f !important;
    background-color: #fff !important;
  }

  .elementor-2 .elementor-element.elementor-element-e15d77e,
  .elementor-2 .elementor-element.elementor-element-c73fcd7,
  .elementor-2 .elementor-element.elementor-element-61a1395 {
    --width: 50% !important;
  }

  .elementor-2 .elementor-element.elementor-element-4fcd0fd,
  .elementor-2 .elementor-element.elementor-element-eea464d,
  .elementor-2 .elementor-element.elementor-element-7669777 {
    --column-gap: 20px !important;
  }

  .elementor-2 .elementor-element.elementor-element-52310cd {
    --arrow-next-right-position: 10px !important;
    --arrow-prev-left-position: 10px !important;
  }

  .elementor-element.elementor-arrows-position-outside .swiper,
  .elementor-lightbox.elementor-arrows-position-outside .swiper {
    width: calc(100% - 100px) !important;
  }

  .elementor-50 .elementor-element.elementor-element-d11e90f,
  .elementor-2 .elementor-element.elementor-element-a767bca,
  .elementor-2 .elementor-element.elementor-element-9596847 {
    --e-n-carousel-arrow-next-right-position: 10px;
    --e-n-carousel-arrow-prev-left-position: 10px;
  }

  .elementor-2 .elementor-element.elementor-element-e12d1b6 {
    padding: 0 20px;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-inner {
    top: 81px !important;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-overlay {
    background-color: rgba(0, 0, 0, 0.05) !important;
  }

  .teamList > a > .item > .content {
    padding: 20px 0 0 40px !important;
  }
}

/* =========================  
  醫美手機版 
========================= */
@media (max-width: 960px) {
  /* 整個區塊改為直向置中，避免裁切 */
  .radialHero {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;

    overflow: visible;
    padding: 60px 0 !important;
    min-height: auto !important;
  }

  /* 左側文字改成上方 */
  .radialHeroSide {
    width: 100%;
    max-width: 768px;
    margin: 0 auto 14px;
    position: relative;
    z-index: 2;
  }

  /* 只顯示手機版 stage */
  .radialHeroStage--desktop {
    display: none;
  }

  .radialHeroStage--mobile {
    display: block;
  }

  /* 手機版圓形舞台（置中，不裁切） */
  .radialHeroStage--mobile {
    width: min(100vw, 960px) !important;
    aspect-ratio: 1 / 1;
    position: relative;
    margin: 0 auto;
    z-index: 2;

    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
  }

  /* SVG 吃滿容器 */
  .radialSvg--mobile {
    width: 100%;
    height: 100%;
    display: block;
  }

  /* =========================
     中心卡片：幾何鎖中版本
     - 永遠在正中央
     - 大小 = 內圈白圓直徑
     ========================= */
  .radialCenter--mobile {
    position: absolute !important;

    /* 幾何正中心 */
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%);

    /* 內圈 r=100，viewBox=600 → 直徑=200 → 33.333% */
    width: 33.3333% !important;
    height: 33.3333% !important;

    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    border: 2px solid #fc7e2f !important;

    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center;
    gap: 10px;

    margin: 0 !important;
    text-align: center;
    box-sizing: border-box;
    z-index: 3;
  }

  .radialCenter--mobile .centerIcon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
  }

  .radialCenter--mobile .centerTitle {
    font-size: 16px;
    line-height: 1.35;
    margin: 0;
    color: #fc7e2f;
    font-weight: 700;
  }

  .radialCenter--mobile .centerCta {
    width: 70%;
    max-width: 200px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 12px;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);

    text-decoration: none;
    color: #111;
    font-weight: 600;
    font-size: 14px;
  }

  /* 外圈文字微縮 */
  .radialSvg--mobile .navLabel {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  /* active 提示 */
  .radialHero .svgNav.is-active .navLabel {
    opacity: 1;
  }

  .radialHero .svgNav:not(.is-active) .navLabel {
    opacity: 0.85;
  }

  /* 隱藏「圓中心」的按鈕（避免出現兩顆） */
  .radialCenter--mobile .centerCta {
    display: none !important;
  }

  .radialHeroSide .sideTitle,
  .radialHeroSide .sideLines {
    display: none;
  }

  /* 顯示「側欄位置」的手機專用按鈕 */
  .radialHeroSide .centerCta--mobileSide {
    width: 213px;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 999px;
    color: #ddd;
    display: inline-flex;
    font-weight: 500;
    gap: 10px;
    padding: 19px 40px;
    text-decoration: none;
  }

  .radialHeroSide .centerCta--mobileSide svg {
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-width: 0.1;
    width: 20px;
  }
}

.entry-content .wp-audio-shortcode,
.entry-content .wp-embedded-audio,
.entry-content .wp-embedded-video,
.entry-content .wp-video,
.entry-content p {
  margin-bottom: 0.5em !important;
}

@media (min-width: 961px) {
  .radialHeroSide .centerCta--mobileSide {
    display: none !important;
  }
}

@media (max-width: 921px) {
  ul#ast-hf-mobile-menu
    > li.current-menu-item
    button.ast-menu-toggle
    > span.ast-icon {
    color: #131313 !important;
  }
}

@media (max-width: 767px) {
  .elementor-2 .elementor-element.elementor-element-e15d77e,
  .elementor-2 .elementor-element.elementor-element-c73fcd7,
  .elementor-2 .elementor-element.elementor-element-61a1395 {
    --width: 100% !important;
  }

  /* 	.singleToc .elementor-toc__body ul.elementor-toc__list-wrapper li a {
		font-size: 20px !important;
	} */
  .singleToc p {
    color: var(--Gray-01, #131313);
    font-feature-settings:
      "liga" off,
      "clig" off;
    font-family: "Noto Sans TC";
    font-size: 18px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 180%;
    /* 32.4px */
  }

  .teamList > a > .item > .content {
    padding: 40px 0 0 40px !important;
  }

  .ast-scroll-to-top-right {
    right: 5px !important;
  }

  .medicine-grid1::after,
  .medicine-grid3::after,
  .server-grid1::after,
  .server-grid3::after,
  .server-grid::after {
    display: none;
    width: 0;
  }

  .medicine-grid1::before,
  .medicine-grid2::before,
  .server-grid1::before,
  .server-grid3::before {
    width: 0;
    display: none;
  }

  .server-grid1,
  .server-grid3 {
    border-bottom: none !important;
  }

  .elementor-element.elementor-arrows-position-outside .swiper,
  .elementor-lightbox.elementor-arrows-position-outside .swiper {
    width: 100% !important;
  }

  .elementor-40 .elementor-element.elementor-element-d7b1cd0 {
    max-height: 583px;
  }

  .radialHero {
    align-items: start !important;
    padding-top: 60px;
    background-position: 50%;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .radialHero .radialSvg {
    width: 100%;
    height: auto !important;
  }

  .e-filter .e-filter-item[data-filter="__all"] {
    grid-column: 1 / -1 !important;
    justify-self: center;
  }

  .elementor-element-85896ea {
    display: none !important;
  }

  .elementor-40 .elementor-element.elementor-element-d7b1cd0 {
    max-height: none !important;
  }
}

@media (max-width: 480px) {
  .teamSlide .teamSwiper {
    width: 60vw;
    /* 關鍵 */
    max-width: 60vw;
    margin-left: 50%;
    transform: translateX(-50%);
    /* 真正置中在視窗 */
  }

  .teamSlide .teamSwiper .swiper-wrapper .swiper-slide > a > .item > .content {
    padding: 20px 0 0 40px !important;
  }
	
  body .teamSlide .teamSwiper .swiper-wrapper .swiper-slide > a > .item > .content img {
        transform: translateY(15px)!important;
  }

/*   .elementor-element
    .swiper
    .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 0 !important;
  } */

  .elementor-2 .elementor-element.elementor-element-4ef06eb {
    --min-height: 480px !important;
  }

  .videoPopup__frameWrap .videoPopupContact {
    padding: 12px 20px !important;
    bottom: -100px !important;
  }

  .videoPopup__frameWrap .videoPopupContact a {
    padding: 10px 20px !important;
  }

  .videoPopup__frameWrap .videoPopupContact a svg {
    margin-left: 18px !important;
  }

  .carouselContainer .swiper-slide .videoContainer > iframe {
    min-height: 0 !important;
  }

  .carouselContainer .mySwiper .swiper-button-prev,
  .carouselContainer .mySwiper .swiper-button-next {
    top: 56% !important;
  }

  .teamSlide .teamSwiper {
    width: 100% !important;
    max-width: 100% !important;
  }

  form.eventApply .row > .col-4,
  form.eventApply .row > .col-6,
  form.eventApply .row > .col-8 {
    width: 100% !important;
  }

  form.eventApply .row:not(:last-child) {
    flex-direction: column;
    gap: 24px !important;
  }

  form.eventApply .row > .col-4 label {
    color: var(--Gray-01, #131313);
    text-align: center;
    leading-trim: both;
    text-edge: cap;
    font-feature-settings:
      "liga" off,
      "clig" off;

    /* 內文/body */
    font-family: "Noto Sans TC";
    font-size: 15px;
    font-style: normal;
    font-weight: 350;
    line-height: 200%;
    /* 30px */
    letter-spacing: 2px;
  }

  form.eventApply .row > .col-4 label > span.title.em,
  form.eventApply .row > .col-4 label > span.title.tel {
    left: -16px !important;
  }

  form.eventApply .row > .col-4 label > span.title.pn {
    left: -12px !important;
  }
}

.appointmentForm .appItem {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

/* 方框 */
.appointmentForm .appItem .checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid #8f8f8f;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
}

/* 勾選狀態：用 pseudo 畫勾勾 */
.appointmentForm .appItem.active .checkbox {
  border-color: #333;
}

.appointmentForm .appItem.active .checkbox::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(-45deg);
  margin-top: -2px;
}

/* 文字 */
.appointmentForm .appItem .label {
  line-height: 1.4;
}

/* 鍵盤 focus */
.appointmentForm .appItem:focus {
  outline: none !important;
}

/* ========== 主視覺 top ========== */
body #ast-scroll-top {
  background-color: rgba(77, 61, 44, 0.26);
  border-bottom-left-radius: 100px;
  border-top-left-radius: 100px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 5px;
  color: rgb(51, 51, 51);
  display: block;
  gap: 6px;
  width: 80px;
  background-image: none;
  height: 84px;
  right: 0 !important;
  bottom: 0;
}

body #ast-scroll-top:before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  background-color: transparent;
  background-image: url(https://regen.designhu-demo.com/wp-content/uploads/BTT.svg);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: calc(100% - 20px);
  background-position: 10px;
}

@media (max-width: 921px) {
  .ast-builder-menu-mobile
    .main-navigation
    .main-header-menu
    .menu-item:hover
    > .menu-link,
  .ast-builder-menu-mobile
    .main-navigation
    .inline-on-mobile
    .menu-item:hover
    > .ast-menu-toggle {
    background: #fc7e2f33;
  }
}

@media (max-width: 768px) {
  body #ast-scroll-top {
    width: 64px;
    height: 67.2px;
    bottom: 30px;
  }
}

/* ========== 主視覺 bottom ========== */
/* ========== 文章內頁 top ========== */
body .btmBorderTitle h1{
    border-bottom: 4px solid #fc7e2f;
    display: inline-block;	
}
body .btmBorderTitle h2{
	border-bottom:0;
}
@media (max-width: 1024px) {
  body.single .side-nav-wrap {
    margin: 0 0 40px 0;
    padding: 0 20px;
  }

  body.single .singlePostTagList span.elementor-icon-list-text {
    gap: 12px !important;
  }
	/* 	左側選單刪除 */
	.side-nav-wrap:has(.singleSideTaxList){
		display:none;
	}
}

/* === 目錄控制收合（包含 js） top === */
body.single .singleToc .elementor-toc__header {
  padding: 0;
}

.toc-collapsed .elementor-toc__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.toc-expanded .elementor-toc__body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.3s ease;
}

body.single .singleToc .elementor-toc__body .elementor-toc__list-wrapper {
  overflow: hidden;
  padding-top: 0;
  transition: all 0.3s ease;
}

body.single
  .singleToc.toc-expanded
  .elementor-toc__body
  .elementor-toc__list-wrapper {
  padding-top: 24px;
}

.toc-toggle-icon {
  cursor: pointer;
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

/* === 目錄控制收合（包含 js） bottom === */
/* ========== 文章內頁 bottom ========== */

.contactForm > form#contactForm > .row > .col-6 {
  width: 100% !important;
  max-width: 100%;
}

.contactForm > form#contactForm > .row {
  flex-direction: column;
  gap: 20px !important;
}

.contactForm > form#contactForm > .row > .col-6 fieldset {
  padding: 0 0 0 4px !important;
}

@media (max-width: 768px) {
  .catListMenu ul {
    width: 100% !important;
    padding: 0 20px;
    gap: 12px !important;
  }

  .elementor-nav-menu--layout-horizontal .elementor-nav-menu > li:first-child {
    grid-column: 1 / -1 !important;
    justify-self: center;
    width: 100%;
  }

  section.appointmentForm
    > .container
    form.appointment
    > .row
    > .col-6:last-child
    > .row
    > label {
    max-width: 100%;
    overflow: hidden;
  }

  ul#menu-1-fa68bc1 {
    grid-template-columns: 1fr 1fr !important;
  }

  .e-con-inner > .elementor-element.elementor-absolute,
  .e-con > .elementor-element.elementor-absolute,
  .elementor-widget-wrap > .elementor-element.elementor-absolute {
    position: static !important;
  }

  .elementor-5288 .elementor-element.elementor-element-c054646 {
    margin: 0 !important;
  }
}

.elementor-nav-menu--main .elementor-nav-menu a {
  font-family: "Noto Sans TC", Sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  padding: 20px 40px !important;
}

.footer-nav-menu .elementor-nav-menu--main .elementor-nav-menu a {
  padding: 20px 0px !important;
}

.footer-nav-menu .current-menu-item > button,
.footer-nav-menu .current-menu-item > a,
.footer-nav-menu .current-menu-ancestor > button,
.footer-nav-menu .current-menu-parent > button,
.footer-nav-menu .current-menu-ancestor > a,
.footer-nav-menu .current-menu-parent > a {
  background: transparent !important;
}

.contactForm > form#contactForm > .row > .col-12 .inner {
  display: flex !important;
  flex-wrap: wrap !important;
}

.contactForm > form#contactForm > .row > .col-6 > label input,
.contactForm > form#contactForm > .row > .col-6 > label select {
  max-width: 100%;
}

.contactForm > form#contactForm > .row > .col-6 > label {
  width: 100%;
  max-width: 100%;
}

.btn {
  border: 1px solid var(--Gray-05, #dbdbdb);
}

@media (max-width: 1380px) {
  div#ast-desktop-header {
    display: block !important;
  }

  div#ast-mobile-header {
    display: none !important;
  }
}

@media (max-width: 921px) {
  div#ast-desktop-header {
    display: none !important;
  }

  div#ast-mobile-header {
    display: block !important;
  }
}

.site-header-section > * {
  padding: 0 !important;
}

/* =========================================
   contactForm 右半部（對應 <div class="contactForm">）
========================================= */

.contactForm form.appointment input[type="radio"]:checked,
.contactForm form.appointment input[type="checkbox"]:checked {
  accent-color: #fc7e2f;
}

@media (max-width: 767px) {
  .contactForm form.appointment > .row > .col-6 {
    margin-top: 40px;
  }
}

/* 你的 shortcode 只有一個 col-6，所以右半部就是這個 col-6 */
.contactForm form.appointment > .row > .col-6 > .row {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  gap: 8px;
}

@media (max-width: 767px) {
  .contactForm form.appointment > .row > .col-6 > .row {
    display: block;
  }
}

.contactForm form.appointment > .row > .col-6 > .row > label {
  display: block;
  position: relative;
  width: calc(100% / 2);
}

@media (max-width: 767px) {
  .contactForm form.appointment > .row > .col-6 > .row > label {
    width: 100%;
    margin-bottom: 20px;
  }
}

.contactForm form.appointment > .row > .col-6 > .row > label span.title {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto auto auto 16px;
  width: 100px;
  color: var(--Gray-02, #333);
  font-family: "Noto Sans TC";
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: 2px;
}

.contactForm form.appointment > .row > .col-6 > .row > label span.title > sup {
  color: var(--Primary-01, #fc7e2f);
  font-family: "Noto Sans TC";
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: 2px;
}

.contactForm form.appointment > .row > .col-6 > .row > label > input {
  border-radius: 5px;
  background: var(--Gray-06, #f5f5f5);
  color: var(--Gray-01, #131313);
  font-family: "Noto Sans TC";
  font-size: 15px;
  font-style: normal;
  font-weight: 350;
  line-height: 200%;
  letter-spacing: 2px;
  border: none;
  box-shadow: none;
  padding-left: 100px;
}

.contactForm form.appointment > .row > .col-6 > .row > fieldset.gender {
  padding: 0;
  border: none;
}

.contactForm form.appointment > .row > .col-6 > .row > fieldset.gender > label {
  color: var(--Gray-01, #131313);
  font-family: "Noto Sans TC";
  font-size: 15px;
  font-style: normal;
  font-weight: 350;
  line-height: 200%;
  letter-spacing: 2px;
}

/* msg row */
.contactForm form.appointment > .row > .col-6 > .row.msg {
  display: block;
}

.contactForm form.appointment > .row > .col-6 > .row.msg > label {
  width: 100%;
}

.contactForm form.appointment > .row > .col-6 > .row.msg > label textarea {
  border-radius: 5px;
  background: var(--Gray-06, #f5f5f5);
  color: var(--Gray-01, #131313);
  font-family: "Noto Sans TC";
  font-size: 15px;
  font-style: normal;
  font-weight: 350;
  line-height: 200%;
  letter-spacing: 2px;
  border: none;
  box-shadow: none;
  padding-top: 40px;
}

/* full row */
.contactForm form.appointment > .row > .col-6 > .row.full {
  background-color: #f5f5f5;
  padding: 12px 16px;
}

.contactForm form.appointment > .row > .col-6 > .row.full > label {
  width: 20% !important;
  display: block;
}

@media (max-width: 767px) {
  .contactForm form.appointment > .row > .col-6 > .row.full > label {
    width: 100% !important;
  }
}

.contactForm form.appointment > .row > .col-6 > .row.full > label > span {
  display: block;
  position: relative !important;
  text-align: left;
  margin-left: 0 !important;
}

.contactForm form.appointment > .row > .col-6 > .row.full > .inner > label {
  display: inline-block;
  margin-right: 8px;
}

/* submitRow */
.contactForm form.appointment > .row > .col-6 > .submitRow {
  margin-top: 60px;
  text-align: center;
}

.contactForm form.appointment > .row > .col-6 > .submitRow > button {
  border-radius: 100px;
  border: 1px solid var(--Gray-05, #dbdbdb);
  backdrop-filter: blur(10px);
  box-shadow: none;
  background-color: transparent;
  color: var(--Gray-01, #131313);
  font-family: "DM Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 1px;
  text-transform: capitalize;
  display: inline-flex;
  align-items: center;
  padding: 20px 40px;
}

.contactForm form.appointment > .row > .col-6 > .submitRow > button > svg {
  margin-left: 78px;
}

/* .elementor img {
  height: 100% !important;
} */

.related-articles img {
  height: 256px !important;
}

body.single-surgical-procedures .postImgList h3.elementor-image-box-title {
  color: #fc7e2f !important;
}

/* 全域影響移除 */
/* 
.e-con.e-con>.e-con-inner>.elementor-widget, .elementor.elementor .e-con>.elementor-widget {
	width: 100%;
}

.elementor.elementor .e-con.heal-btn>.elementor-widget {
	width: auto;
} */

@media (max-width: 1280px) {
  .elementor-widget-n-carousel.elementor-element
    :is(.swiper, .swiper-container)
    ~ .elementor-swiper-button-next,
  .elementor-widget-loop-carousel.elementor-element
    :is(.swiper, .swiper-container)
    ~ .elementor-swiper-button-next {
    right: 0;
  }

  .elementor-widget-n-carousel.elementor-element
    :is(.swiper, .swiper-container)
    ~ .elementor-swiper-button-prev,
  .elementor-widget-loop-carousel.elementor-element
    :is(.swiper, .swiper-container)
    ~ .elementor-swiper-button-prev {
    left: 0;
  }
}

.faqStatus {
  right: -98% !important;
}

.footerSocial ul > li:nth-child(3):hover a svg path:first-of-type {
  fill: #d62976;
}

.footerSocial ul > li:nth-child(3):hover a svg path:nth-of-type(2) {
  fill: #c13584;
}

.home-btn-sc {
  display: flex;
  justify-content: center;
}

.ast-desktop
  .ast-primary-header-bar
  .main-header-menu
  > .menu-item
  > a
  .dropdown-menu-toggle {
  display: none !important;
}

/* 只有首頁維持透明 */
body.home.ast-theme-transparent-header .site-header {
  background: transparent;
  position: absolute;
}

/* 其他頁面一律當一般 header */
body:not(.home).ast-theme-transparent-header #masthead.site-header {
  background: #fff;
  position: relative;
}
body:not(.home) #ast-fixed-header {
  background: #fff;
}

/* =========================
   非首頁：強制使用黑字 Logo
   ========================= */
body:not(.home) .site-header a.transparent-custom-logo img {
  content: url("/wp-content/uploads/健立診所商標全彩色02.svg");
}

/* 保險：避免被 Astra JS 再改回 */
body:not(.home) .site-header a.transparent-custom-logo img {
  filter: none !important;
}

@media (max-width: 768px) {
  .page-id-5288 .elementor-element-fe7b75f {
    display: none;
  }
}

form.eventApply .row > .btn.form {
  border: none;
}

.page-id-40 .elementor-element-fe7b75f,
.page-id-40 .elementor-element-884430c {
  display: none;
}

.teamSlide .teamSwiper .swiper-wrapper .swiper-slide > a > .item > .content img {
  transform: translateY(15px) !important;
	 object-fit: cover;
}

.teamSlide .teamSwiper .swiper-wrapper .swiper-slide > a:hover > .item > .content > img {
  transform: translateY(0) !important;
}


/* 收合選單 */
body .faqList .faqItem .faqContent {
  display: none !important;
}

body .faqList .faqItem.active .faqContent {
  display: block !important;
}

/* 選單調整 top */
body .site-header .site-header-primary-section-right {
  gap: 33.333px;
  flex-wrap: nowrap;
}
body .main-header-bar .wpmlBlock a {
  display: flex;
  align-items: center;
  justify-content: center;
}
body .ast-primary-sticky-header-active .main-header-bar .wpmlBlock a {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 首頁調整 top */
body.home #page .main-header-bar {
  background: rgba(0, 0, 0, 0.5);
}
body.home #page .main-header-bar .astra-search-icon svg path,
body.home #page .main-header-bar .mobile-menu-toggle-icon svg path {
  fill: white;
}
body.home #page .main-header-bar .wpmlBlock svg path {
  stroke: white;
  stroke-width: 1.5;
}
body.home.ast-primary-sticky-header-active #page .main-header-bar {
  background:
    linear-gradient(0deg, rgba(252, 126, 47, 0.1), rgba(252, 126, 47, 0.1)),
    #fff;
}
body.home.ast-primary-sticky-header-active
  #page
  .main-header-bar
  .astra-search-icon
  svg
  path,
body.home.ast-primary-sticky-header-active
  #page
  .main-header-bar
  .mobile-menu-toggle-icon
  svg
  path {
  fill: #131313;
}
body.home.ast-primary-sticky-header-active
  #page
  .main-header-bar
  .wpmlBlock
  svg
  path {
  stroke: #131313;
  stroke-width: 1.5;
}
/* 首頁輪播區域 */
body.home .elementor-element.elementor-arrows-position-outside .swiper,
body.home .elementor-lightbox.elementor-arrows-position-outside .swiper {
  width: 100% !important;
}
.carouselContainer .mySwiper .swiper-pagination span.swiper-pagination-bullet,
section.videoVertical
  > .container
  .carouselContainerVertical
  .mySwiperVertical
  .swiper-pagination
  span.swiper-pagination-bullet {
  margin: 12px;
}
@media (min-width: 922px) {
	body .carouselContainer .swiper-slide .videoTitle{
		height:auto;
		bottom:90%;
	}
  /* 首頁調整 bottom */
  body .site-header .ast-container ul > li.menu-item-has-children > .sub-menu {
/*     border-radius: 0; */
/*     border-top: none; */
    padding: 0;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.25);
  }
	body .site-header .ast-container ul>li.menu-item-has-children>.sub-menu>li:first-child:hover>a{
		border-radius:8px 8px 0 0;
	}
	body .site-header .ast-container ul>li.menu-item-has-children>.sub-menu>li:last-child:hover>a{
		border-radius:0 0 8px 8px;
	}
	body .site-header .ast-container ul > li.menu-item-has-children > .sub-menu .sub-menu {
		top: 0;
	}
  #ast-desktop-header
    .main-header-menu
    .sub-menu
    .menu-item.menu-item-has-children
    > .menu-link
    .ast-header-navigation-arrow {
    right: 16px;
  }
  body .site-header .ast-container .ast-header-search {
    padding-right: 0 !important;
  }
  body .site-header .ast-grid-right-center-section {
    gap: 24px;
    flex-wrap: nowrap;
  }
/* 	banner調整 top */
	.postKvTitle h2{
		white-space:nowrap;
	}
/* 	banner調整 bottom */
}
/* 選單調整 bottom */
/* 醫師團隊 top */
.home .teamSlide .teamSwiper .swiper-wrapper .swiper-slide{
	width:25%;
}
.home .teamSlide .teamSwiper .swiper-slide > a{
	display:inline-block;
	width:100%;
}
.home .teamSlide .teamSwiper .swiper-wrapper .swiper-slide>a>.item>.content img{
	width:100%;
}
.home .teamSlide .teamSwiper .swiper-wrapper .swiper-slide>a>.item>img.card-bg{
	width:100%;
}
/* 醫師團隊 top */

/* svg 圖示顏色 top */
.single-case .elementor-icon-list-items .elementor-icon-list-item svg .st1, .single-case .elementor-icon-list-items .elementor-icon-list-item svg .st0{
	stroke:#fc7e2f!important;
    fill: none;
}
/* svg 圖示顏色 bottom */

/* 全域表格交錯色調整 top */
/* 全域 Table 樣式 - 主色調 #ff6600 */
table {
	box-shadow: 0 2px 12px rgba(255, 102, 0, 0.15);
	border-width:1px;
	border:1px solid #ff6600;
}

/* 表頭 */
table thead tr {
	background-color: #ff6600;
	color: #ffffff;
}

table thead th{
	border-bottom: 1px solid rgba(255, 255, 255, 1);
	border-right: 1px solid rgba(255, 255, 255, 1);
	border-top:none;
	border-left:none;
}

table thead th:last-child{
	border-right: none;
}

/* 奇數行 - 白色 */
table tbody tr:nth-child(odd) {
	background-color: #ffffff;
}

/* 偶數行 - 主色調淡化 */
table tbody tr:nth-child(even) {
	background-color: rgba(255, 102, 0, 0.08);
}

/* hover 效果 */
table tbody tr:hover {
	background-color: rgba(255, 102, 0, 0.18);
	transition: background-color 0.2s ease;
}

table td {
	border-bottom: 1px solid rgba(255, 102, 0, 0.1);
	border-right: 1px solid rgba(255, 102, 0, 0.1);
	border-top:none;
	border-left:none;
}

table td:last-child {
	border-right: none;
}

/* 第一欄加重 */
/* table tbody td:first-child {
  color: #cc5200;
} */
/* 全域表格交錯色調整 bottom */

/* footer 表單 top */
footer section.appointmentForm>.container form.appointment>.row>.col-6:last-child>.row.msg>label textarea{
	line-height:100%;
}
/* footer 表單 bottom */

/* 多國語言暫時關閉 */
aside:has(#block-8){
	display:none;
}