@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap');

/* ---------------------------------------------------
    全域變數 / 區域變數
----------------------------------------------------- */
:root {
    --open-sans: Arial, 'Microsoft JhengHei', '微軟正黑體', sans-serif;
    --oswald: 'Oswald', sans-serif;
    --font18: 18px;
    --font20: 20px;
    --lg-corner: 30px;
    --card-corner: 20px;
    --sm-corner: 15px;
    --xs-corner: 10px;
    --main-color: #5f4a22;
    --secondary-color: #d37079;
    --support-color: rgb(255, 208, 203);
    --bg-color: #fbf3f4;
    --small-color: #749c1b;
    /* 用個按鈕主色跟輔色 */


    --white: #fff;
    --grey-white: #f8f8f8;
    --off-white: #f3f4eb;
    --warm-off-white: #f6f0e9;
    --soft-beige: #fbf7e9;
    --grey-white-1: #e8eadf;
    --cream: #f6f0e9;
    --brown-black: #1e130c;
    --carbon-black: #212529;
    --primary-brown: #75482b;
    /* --main-color: #442916; */
    --brown2: #593823;
    --brown3: #a88366;
    --brown4: #afa0a0;
    --brown7: #896750;
    --brown8: #754826;
    --grey0: #6c757d;
    --grey3: #666;
    --grey4: #999;
    --grey5: #eee;
    --grey6: #ccc;
    --grey7: #333;
    --grey8: #ddd;
    --grey9: #f5f5f5;
    --grey10: #e3e3e3;
    --grey11: #e0e0e0;

    --orange2: #fda634;
    --orange4: #efb060;
    --orange5: #f5961d;
    --vanilla-yellow: #faf3d7;
    --peach: #fdead1;

    --pink: rgb(233, 89, 76);
    --powder-blue: #ebf4f9;
    --navy-blue: #1151B3;
    --pale-lilac: #f5effb;
    --dark-purple: #552F97;
    --bright-green: #8FC21F;
    --line: #00B300;
    --linehover: #1b8d1b;
    --facebook: #155ab4;
    --fbhover: #104181;
    --map: #EA4335;
    --maphover: #a13228;
    --youtube: #FF0000;
    --ythover: #a10c0c;
}


/* ---------------------------------------------------
    系統主架構 / 排版
----------------------------------------------------- */
html,
body {
    height: 100%;
    margin: 0;
}

html {
    font-size: var(--font18);
}

body {
    font-family: var(--open-sans);
    /* background-color: var(--cream); */
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 4.6em;
    color: var(--main-color);
    /* padding-bottom: 3em; */
}

.wrapper {
    flex-grow: 1;
    /* background: #f5f5f5 url("/Public/img/ever_bg.webp") fixed no-repeat center 75%;
    background-size: cover; */
}


/* 【----- Header-Navbar -----】 */
nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--main-color);
}

.navbar {
    height: 92px;
    background-color: var(--white);
    padding: 6px 10px;
    /* box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.30);
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.30);
    -moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.30); */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: all 0.3s ease;
    /* 平滑過渡 */
}

nav.navbar.scrolled {
    height: 80px;
    padding: 6px 10px;
    /* 縮小，產生拉伸感 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}


/* 【----- Logo -----】 */
.logo {
    width: 380px;
    height: 40px;
    display: flex;
    justify-content: left;
    align-items: center;
}

.logo img {
    width: 100%;
    height: auto;
    max-height: 100%;
}

.v-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.v-center ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.v-center a {
    text-decoration: none;
}

.nav-box {
    width: 98%;
    margin: 0 auto;
}

.nav-box .item-left {
    flex: 0 0 17%;
}

.nav-box .logo a {
    font-size: 1.25rem;
    color: var(--brown-black);
    font-weight: 700;
    text-decoration: none;
    padding: .3125rem 0;
    display: inline-block;
}

.nav-box .item-center {
    flex: 0 0 66%;
    display: flex;
    justify-content: right;
}

/* 【--- Navbar-Three Div Use ---】 */
/* .nav-box .item-right{
    flex:0 0 17%;
    display: flex;
    justify-content: flex-end;
}
.nav-box .item-right a{ 
    text-decoration: none;
    font-size: 16px;
    color:#555555;
    display: inline-block;
    margin-left: 10px;
    transition: color 0.3s ease;
} */
.nav-box .menu>ul>li {
    display: inline-block;
}

.nav-box .menu>ul>li {
    margin-left: 25px;
}

.nav-box .menu>ul>li>a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--main-color);
    position: relative;
    text-transform: capitalize;
    transition: color 0.3s ease;
}

.nav-box .menu>ul>li .sub-menu {
    position: absolute;
    z-index: 500;
    background-color: var(--white);
    box-shadow: -2px 2px 70px -25px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    margin-top: 25px;
    opacity: 0;
    visibility: hidden;
}

.nav-box .menu>ul>li .sub-menu>ul>li {
    line-height: 1.5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0 15px;
}

.nav-box .menu>ul>li .sub-menu>ul>li>a {
    display: inline-block;
    padding: 10px 0;
    font-weight: bold;
    transition: color 0.3s ease;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 0.9rem;
}

.nav-box .menu>ul>li .single-column-menu {
    min-width: 280px;
    max-width: 350px;
}

.nav-box .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li {
    line-height: 1;
    display: block;
}

.nav-box .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li>a {
    padding: 10px 0;
    display: inline-block;
    font-size: var(--font16);
    color: #555555;
    transition: color 0.3s ease;
}

.nav-box .menu>ul>li .sub-menu.mega-menu {
    right: 50%;
    transform: translateX(50%);
}

.nav-box .menu>ul>li .sub-menu.mega-menu-column-4 {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 20px 15px;
}

.nav-box .menu>ul>li .sub-menu.mega-menu-column-4>.list-item {
    flex: 0 0 25%;
    padding: 0 15px;
}

.nav-box .menu>ul>li .sub-menu.mega-menu-column-4>.list-item .title {
    font-size: 16px;
    color: #ea4636;
    font-weight: 500;
    line-height: 1;
    padding: 10px 0;
}

.nav-box .menu>ul>li .sub-menu.mega-menu-column-4>.list-item.text-center .title {
    text-align: center;
}

.nav-box .menu>ul>li .sub-menu.mega-menu-column-4>.list-item img {
    max-width: 100%;
    width: 100%;
    vertical-align: middle;
    margin-top: 10px;
    height: 300px;
    object-fit: cover;
}

.nav-box .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li>a:hover,
.nav-box .menu>ul>li .sub-menu>ul>li>a:hover,
.nav-box .item-right a:hover,
.nav-box .menu>ul>li:hover>a {
    color: var(--secondary-color);
}

.navbar-btns-div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 10px 0;
}

.mobile-menu-head,
.mobile-menu-trigger {
    display: none;
}


/* 【----- Main -----】 */
main {
    background-color: var(--white);
    /* padding-top: 20px; */
}


/* 【----- Footer -----】 */
footer {
    background: url("/Public/img/footer_bg.webp") no-repeat;
    color: var(--white);
    font-size: 1.15rem;
    background-size: cover;
    border-top: 1px solid var(--main-color);
    padding: 30px 10px 10px 10px;
}

.footer {
    padding-bottom: 65px;
}

.footer-box {
    width: 98%;
    margin: 0 auto;
}

#footer h4 {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
}

#footer h4::before {
    right: 0;
    background: var(--cream);
}

#footer h4::after {
    background: var(--cream);
    width: 60px;
}

#footer h4::before,
#footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
}

.footer-links,
.footer-contact,
.footer-newsletter {
    padding: 0 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 5px 0 0 0;
    margin: 0;
}

.footer-links ul li,
.footer-contact ul li {
    padding: 0 0 15px 0;
    font-size: 1rem;
}

.footer-contact ul li:nth-child(2) {
    font-size: 0.8rem;
}

.footer-links ul a {
    color: var(--white);
    transition: 0.3s;
}

.footer-links ul a:hover {
    color: var(--warning);
    font-weight: bold;
}

.footer-contact p {
    line-height: 26px;
}

.footer-newsletter input[type="email"] {
    border: 0;
    padding: 6px 8px;
    width: 65%;
    border-radius: 4px 0 0 4px;
}

.footer-newsletter input[type="submit"] {
    background: var(--main-color);
    border: 0;
    border-radius: 0 4px 4px 0;
    width: 35%;
    padding: 6px 0;
    text-align: center;
    color: var(--white);
    transition: 0.3s;
    cursor: pointer;
}

.footer-contact,
.footer-newsletter {
    margin-top: 15px;
}

.footer-contact-info>div {
    padding-bottom: 10px;
}

.footer-contact-info>div:nth-child(2) {
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    padding: .7rem 0 0.1rem 0;
    font-size: .85rem;
    color: var(--white);
}

.copyright strong>a {
    color: var(--white);
}

.copyright strong>a:hover {
    text-decoration: underline !important;
}

.credits {
    font-weight: 500;
    text-align: center;
    text-align: justify;
    font-size: 1rem;
}

.social-links {
    text-align: left;
    margin-top: 0.9rem;
}

.social-links a {
    font-size: 35px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: var(--cream);
    line-height: 40px;
    padding: 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    transition: 0.3s;
}

#footer .social-links a:hover {
    text-decoration: none;
}

#footer .fab.fa-youtube {
    color: var(--youtube);
}

#footer .fab.fa-youtube:hover {
    color: var(--ythover);
}

#footer .fab.fa-facebook {
    color: var(--facebook);
}

#footer .fab.fa-facebook:hover {
    color: var(--fbhover);
}

#footer .fab.fa-line {
    color: var(--line);
}

#footer .fab.fa-line:hover {
    color: var(--linehover);
}

#footer .fas.fa-map-marker-alt {
    color: var(--map);
}

#footer .fas.fa-map-marker-alt:hover {
    color: var(--maphover);
}

.fo_solid {
    border-top: 1px solid var(--brown4);
    padding: 0;
    margin-top: 30px;
}


/* 【----- Bottom Nav (Mobile Only) -----】 */
nav.bottom-nav::before {
    background-color: transparent;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--white);
    border-top: 1px solid var(--grey11);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--grey3);
    text-decoration: none;
    font-size: 12px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    flex: 1;
}

.bottom-nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
}

.bottom-nav-item .fa-facebook {
    color: var(--facebook);
}

.bottom-nav-item .fa-envelope {
    color: var(--orange);
}

.bottom-nav-item .fa-line {
    color: var(--line);
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--primary-brown);
}

.bottom-nav-item.active i {
    color: var(--primary-brown);
}


/* ---------------------------------------------------
    Loading 轉頁效果
----------------------------------------------------- */
#page-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: 
        opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
        visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    visibility: visible;
    /* ✅ 保險機制：5秒後自動隱藏 */
    animation: auto-hide-fallback 5s forwards;
}

#page-loading.fade-out {
    opacity: 0;
    visibility: hidden;
    /* ✅ 當手動觸發淡出時，取消自動隱藏動畫 */
    animation: none;
}

.loading-content {
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.loading-logo {
    width: 85%;
    margin: 0 auto 15px;
    animation: pulse-logo 2s ease-in-out infinite;
    will-change: transform; /* 強制啟動 GPU 加速 */
}

.loading-logo img {
    width: 100%;
    height: auto;
}

.loading-progress-container {
    width: 200px;
    margin: 0 auto 20px;
    height: 4px;
    background-color: #f1f1f1;
    border-radius: 10px;
    overflow: hidden;
}

.loading-progress-bar {
    width: 80%;
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 10px;
    animation: progress-move 2s linear infinite; /* 改為等速線性，解決卡頓感 */
    will-change: transform; /* 強制啟動 GPU 加速 */
}

.loading-text {
    font-size: 1rem;
    color: var(--main-color);
    letter-spacing: 2px;
    font-weight: 500;
    opacity: 0.8;
}

@keyframes progress-move {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(120%); } /* 簡化關鍵幀，移動更順滑 */
}

@keyframes pulse-logo {
    0% { transform: scale(0.98); opacity: 0.85; }
    50% { transform: scale(1.02); opacity: 1; }
    100% { transform: scale(0.98); opacity: 0.85; }
}

/* ✅ 保險機制動畫：5秒後自動隱藏（僅在 JS 失效時使用） */
@keyframes auto-hide-fallback {
    0%, 95% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}




/* ---------------------------------------------------
    UI 共用排版間距
----------------------------------------------------- */
.top-banner-grid {
    padding: 0 1%;
}

.section-grid,
.section-grid-sm {
    width: 90%;
    margin: 0 auto;
}

.doctors-area,
.doctor-profile,
.health-edu,
.media-reports,
.health-films {
    padding: 3% 0;
}

.content-inner {
    padding: 0 3%;
}


/* ---------------------------------------------------
    UI 共用樣式
----------------------------------------------------- */
/* 【----- 內文反白顏色、畫重點效果 -----】 */
::selection {
    background: #ac8c36;
    color: var(--white);
}

::-moz-selection {
    background: var(--main-color);
    color: var(--white);
}

/* 【----- 字型顏色 -----】 */
a {
    color: var(--main-color);
    text-decoration: none !important;
}

a:hover {
    color: var(--secondary-color);
}

h5 a:hover,
h6 a:hover {
    background-color: transparent !important;
    color: var(--secondary-color) !important;
    font-weight: 700;
}

.list-group a:hover.list-group-item h5,
.media_new a:hover h5 {
    color: var(--secondary-color);
}

/* 【----- 背景 -----】 */
.dot-bg {
    background: url("/Public/img/bg-dot.webp");
    background-color: var(--white);
}

.main-bg {
    background: url(/Public/img/bg_grid.png) center top;
}

.danger-bg {
    background-color: var(--pink) !important;
    color: var(--support-color) !important;
}

/* 【----- box-shadow -----】 */
.shadow-3 {
    box-shadow: rgb(33 35 38 / 10%) 0px 10px 10px -10px;
}

.shadow-4 {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.panel-shadow {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
    border: 1px solid #896750;
}

/* 【----- 標題、文字 -----】 */
.title-bg {
    background-image: url("/Public/img/title-bg4.webp");
    border: 1px solid var(--brown7);
}

.title-bg h1,
.title-bg h4,
.title-bg h3 {
    color: var(--cream);
    font-weight: bolder;
}

.no-data-text {
    color: var(--grey4);
    font-size: 1.75rem;
    text-align: center;
    font-weight: bold;
}

/* 【----- 標題-上方線條式 -----】 */
.title-01 {
    display: block;
    padding-top: 15px;
    padding-right: 19%;
    font-size: 1.6rem;
    line-height: 1.33;
    font-weight: bold;
    margin: 15px 0;
    border-top: 1px solid var(--brown3);
}

.title-01:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-bottom: calc((-1.6rem * 1.33 + 1.6rem) / 2 + 0rem);
}

.title-01:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-top: calc((-1.6rem * 1.33 + 1.6rem) / 2 + 0rem);
}

.title-01 span {
    display: inline-block;
    position: relative;
}

.title-01 span:before {
    content: "";
    display: block;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--brown3) 0%, var(--main-color) 100%);
    position: absolute;
    top: -13px;
}

/* 【----- 標題-左側線條式 -----】 */
.title-02 {
    position: relative;
    padding: .8rem 1rem;
    background-color: var(--off-white);
    border-radius: 0;
    font-size: 1.3rem;
    letter-spacing: 0.03em;
    font-weight: 700;
    line-height: 1;
    color: var(--main-color);
    margin: 2rem 0 1rem 0;
}

.title-02::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto 0;
    width: 0.3rem;
    height: 1.8rem;
    border-radius: 0 0.5rem 0.5rem 0;
    background-color: var(--main-color);
}

/* 【----- 標題-底線式 -----】 */
.title-03 {
    position: relative;
    width: fit-content;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.1em;
    color: var(--main-color);
}

.title-03-under-line {
    padding-bottom: 13.5px;
    margin: 1rem 0;
    width: 100%;
}

.title-03-under-line::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: var(--main-color);
}

.title-03-under-line::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0px;
    width: 170px;
    height: 3px;
    transform: translateY(25%);
    background-color: var(--main-color);
}

/* 【----- 標題-直書 -----】 */
.vertical-title-01 {
    margin-left: 10px;
    margin-top: 30px;
    text-align: left;
    font-weight: bold;
}

.vertical-title-01:after {
    color: var(--secondary-color);
    content: attr(data-en);
    font-size: 20px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 2px;
    margin-left: 10px;
}

.vertical-title-01 i {
    font-size: 1.2rem;
}

/* 【----- 標題-置中短底線 -----】 */
.title-underline-sm {
    text-align: center;
    padding: 30px 0;
}

.title-underline-sm h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

.title-underline-sm>h2>span {
    font-size: 1rem;
    font-weight: normal;
}

.title-underline-sm h2::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: 80px;
    height: 4px;
    background: var(--orange2);
    margin: auto;
}

.title-underline-sm p {
    margin-bottom: 0;
    color: var(--grey3);
}

/* 【----- 標題-4點符號 -----】 */
.item-ttl {
    border-bottom: 1px solid var(--grey6);
    font-size: 1.7rem;
    line-height: 1;
    padding-bottom: .8rem;
    margin-bottom: .8rem;
    font-weight: bold;
    position: relative;
    padding-left: 35px;
}

.item-ttl::before {
    position: absolute;
    top: 10px;
    left: 4px;
    content: "";
    display: block;
    width: 17px;
    height: 17px;
    border-top: 7px dotted var(--orange2);
    border-bottom: 7px dotted var(--orange2);
    transform: rotate(45deg);
}


/* ---------------------------------------------------
    UI 共用元件-按鈕
----------------------------------------------------- */
/* 【----- 一般按鈕、disabled -----】 */
.disabled:hover {
    cursor: not-allowed;
}

.btn-link {
    color: var(--main-color);
}

.btn-link:hover {
    color: var(--secondary-color);
}

.btn-outline-warning {
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    font-weight: 700 !important;
    background-color: var(--white) !important;
}

.btn-outline-warning:hover {
    color: var(--secondary-color) !important;
    background-color: var(--peach) !important;
    border-color: var(--secondary-color) !important;
}

.btn-outline-warning:not(:disabled):not(.disabled).active,
.btn-outline-warning:not(:disabled):not(.disabled):active,
.show>.btn-outline-warning.dropdown-toggle {
    color: var(--secondary-color);
    background-color: var(--peach);
    border-color: var(--secondary-color);
}

.btn-warning {
    color: var(--white);
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    font-weight: 700 !important;
}

.btn-warning:hover {
    color: var(--white) !important;
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.btn-warning:not(:disabled):not(.disabled).active,
.btn-warning:not(:disabled):not(.disabled):active,
.show>.btn-warning.dropdown-toggle {
    color: #fff;
    background-color: var(--orange2);
    border-color: var(--orange2);
}

.btn-warning.disabled,
.btn-warning:disabled {
    color: var(--grey4) !important;
    background-color: var(--grey5) !important;
    border-color: var(--grey6) !important;
}

.btn-warning.disabled:hover,
.btn-warning:disabled:hover {
    cursor: not-allowed;
}

.button_lock:disabled {
    background-color: var(--grey0);
    cursor: not-allowed;
    border-color: var(--grey0) !important;
}

/* 【----- 診別按鈕 -----】 */
.morning-clinic {
    background-color: var(--powder-blue);
    color: var(--navy-blue);
}

.afternoon-clinic {
    background-color: var(--vanilla-yellow);
    color: var(--brown8);
}

.evening-clinic {
    background-color: var(--pale-lilac);
    color: var(--dark-purple);
}

/* 【----- 通用按鈕(例.預約/停休診時間/詳細資料) -----】 */
.btnn-groups {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.btnn-groups div {
    margin: 5px 0;
    padding: 10px 0;
    width: 33.3%;
    text-align: center;
}

.btnn,
.a-btn {
    width: 95%;
    margin: 0 auto;
    /* font-size: clamp( .85rem, 1.2vw + 0.5rem, 1rem); */
    font-weight: bold;
    padding: 10px;
    display: inline-block;
    text-decoration: none;
    border-radius: 30px;
    color: #222;
    background: linear-gradient(to bottom, var(--grey9), var(--grey8));
    border: 1px solid var(--grey6);
    text-shadow: var(--white) 1px 1px 0;
    text-align: center;
}

.btnn i,
.a-btn i {
    margin-bottom: 5px;
    font-size: 1rem;
}

.btnn span,
.a-btn span {
    font-size: .8rem;
}

.btnn:active,
.a-btn:active {
    margin-top: 1px;
    box-shadow: inset 0 4px 6px -3px #999;
}

.btnn:hover,
.a-btn:hover {
    background: linear-gradient(to bottom, #e5e2e2, #c4c2c2);
    border: 1px solid #b4b3b3;
    text-shadow: var(--white) 1px 1px 0;
    color: #121212;
}

.btnn.brown {
    color: var(--white);
    background: linear-gradient(to bottom, #ab7c5d, var(--primary-brown));
    border: 1px solid #5e3a23;
    text-shadow: #331f13 1px 1px 0;
    transition: color 0.3s ease;
}

.btnn.brown:hover {
    color: var(--white);
    background: linear-gradient(to bottom, #8b5937, #5c3a24);
    border: 1px solid #5c3b24;
    text-shadow: #342115 1px 1px 0;
}

.btnn.brown:active {
    margin-top: 1px;
    box-shadow: inset 0 6px 6px -3px #342115;
}

.btnn.red {
    color: var(--white);
    background: linear-gradient(to bottom, #c00, #8a0000);
    border: 1px solid #710202;
    text-shadow: #710202 1px 1px 0;
}

.btnn.red:hover {
    background: linear-gradient(to bottom, #a70909, #8a0000);
    border: 1px solid #710202;
    text-shadow: #b90505 1px 1px 0;
    color: var(--white);
}

.btnn.red:active {
    margin-top: 1px;
    box-shadow: inset 0 6px 6px -3px #710202;
}

.btnn.yellow {
    color: #000;
    background: linear-gradient(to bottom, #ffd500, #f7a600);
    border: 1px solid #e79b00;
    text-shadow: #e79b00 1px 1px 0;
}

.btnn.yellow:hover {
    color: var(--white);
    background: linear-gradient(to bottom, #333, #000);
    border: 1px solid #000;
    text-shadow: #000 1px 1px 0;
}

.btnn.yellow:active {
    margin-top: 1px;
    box-shadow: inset 0 6px 6px -3px #724c01;
}

.btnn.green,
.a-btn.green {
    color: var(--white);
    background: linear-gradient(to bottom, #96cc23, #6c9613);
    border: 1px solid #6b9216;
    text-shadow: #577710 1px 1px 0;
    align-items: center;
}

.a-btn.green {
    font-size: 1.3rem;
}

.btnn.green:hover,
.a-btn.green:hover {
    color: var(--white);
    background: linear-gradient(to bottom, #87b81d, #5e8314);
    border: 1px solid #4b680f;
    text-shadow: #34480c 1px 1px 0;
}

.btnn.green:active,
.a-btn.green:active {
    margin-top: 1px;
    box-shadow: inset 0 6px 6px -3px #5e8314;
}

/* 【----- 圓角按鈕 -----】 */
.c-btnn-wrap {
    text-align: center;
}

.c-btnn {
    display: inline-block;
    position: relative;
    min-width: 200px;
    padding: 15px 60px 15px 20px;
    border: 2px solid var(--main-color);
    border-radius: 100vh;
    color: var(--main-color);
    font-weight: bold;
    font-size: clamp(1rem, .793rem + .0781vw, 1.5rem)
}

.c-btnn:hover,
.c-btnn:focus {
    border: 2px solid var(--small-color);
    color: var(--small-color);
}

.c-btnn:hover .c-btnn-arrow,
.c-btnn:focus .c-btnn-arrow,
.c-btnn:active .c-btnn-arrow {
    background-color: var(--small-color);
    border: 2px solid var(--small-color);
}

.c-btnn:hover .c-btnn-arrow:before,
.c-btnn:focus .c-btnn-arrow:before,
.c-btnn:active .c-btnn-arrow:before {
    -webkit-transform: translateX(10px);
    transform: translate(10px);
    opacity: 0
}

.c-btnn:hover .c-btnn-arrow:after,
.c-btnn:focus .c-btnn-arrow:after,
.c-btnn:active .c-btnn-arrow:after {
    -webkit-transform: translateX(0);
    transform: translate(0);
    background-color: var(--white);
    opacity: 1
}

.c-btnn-arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    border: 2px solid var(--main-color);
    border-radius: 100%;
    background-color: var(--grey-white);
    transition-duration: .5s;
    transition-property: background;
    transition-timing-function: cubic-bezier(.19, 1, .22, 1)
}

.c-btnn-arrow:before,
.c-btnn-arrow:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    content: "";
    mask-image: url(/Public/html/Breast_Care_Center/img/arrow-right.svg);
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: 50%;
    transition-duration: .5s;
    transition-property: opacity, transform, background, -webkit-transform;
    transition-timing-function: cubic-bezier(.19, 1, .22, 1)
}

.c-btnn-arrow:after {
    -webkit-transform: translateX(-10px);
    transform: translateX(-10px);
    opacity: 0
}

.c-btnn:hover .c-btnn-arrow:after,
.c-btnn:focus .c-btnn-arrow:after,
.c-btnn:active .c-btnn-arrow:after {
    -webkit-transform: translateX(0);
    transform: translate(0);
    background-color: var(--white);
    opacity: 1;
}

/* 【----- 我要預約按鈕 -----】 */
.booking-btn {
    width: 100%;
    max-width: 300px;
    margin: 35px auto 50px auto;
    height: 60px;
}

.booking-btn .btnn {
    height: 100%;
    font-size: 1.3rem;
}

.booking-btn .btnn>i {
    font-size: 1.3rem;
}

/* 【----- Side Nav - Go top / Contact -----】 */
#myBtn {
    position: fixed;
    right: 40px;
    z-index: 4;
    bottom: 10%;
    display: none;
    /* 確保小螢幕時隱藏，顯示控制以 JS 為主 */
    background-color: var(--brown2);
    padding: 8px 15px;
    text-align: center;
    border-radius: 50%;
    height: 60px;
    width: 60px;
    border: none;
    outline: none;
    color: var(--white);
    cursor: pointer;
    line-height: 40px;
    transition: background-color 0.3s ease;
}

#myBtn:hover {
    background-color: var(--main-color);
}

#emailBtn,
#homeBtn {
    position: relative;
    background: transparent;
    /* 背景由偽元素提供 */
    color: var(--white);
    border-radius: 100px;
    padding: 10px 20px;
    line-height: 1;
    font-weight: bold;
    overflow: hidden;
    z-index: 1;
    overflow: hidden;
    font-size: .9rem;
}

#emailBtn::before,
#homeBtn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #f4ada3, var(--secondary-color));
    z-index: 0;
    transition: opacity 0.3s ease;
    opacity: 1;
    border-radius: 100px;
}

#homeBtn::before {
    background: linear-gradient(to bottom, #ab7c5d, var(--primary-brown));
}

#emailBtn::after,
#homeBtn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #87b81d, #5e8314);
    z-index: 0;
    transition: opacity 0.3s ease;
    opacity: 0;
    border-radius: 100px;
}

#homeBtn::after {
    background: linear-gradient(to bottom, #8b5937, #5c3a24);
}

#emailBtn:hover::after,
#homeBtn:hover::after {
    opacity: 1;
}

#emailBtn>*,
#homeBtn>* {
    position: relative;
    z-index: 2;
}

/* 保證文字在最上層 */

/* 【----- 圓形按鈕 (hover 後顯示文字) -----】 */
.btn-icon-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    border-radius: 50%;
    height: 43px;
    width: 43px;
    padding: 0 !important;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #ab7c5d, var(--primary-brown));
}

/* 平時隱藏文字 */
.btn-icon-circle .btn-icon-text {
    opacity: 0;
    font-size: 0.55rem;
    line-height: 14px;
    transition: opacity 0.3s ease;
    position: absolute !important;
}

/* 平時顯示 icon */
.btn-icon-circle i {
    opacity: 1;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

/* hover 時隱藏 icon 顯示文字 */
.btn-icon-circle:hover i {
    opacity: 0;
}

.btn-icon-circle:hover .btn-icon-text {
    opacity: 1;
}


/* ---------------------------------------------------
    UI 共用元件 - Banner
----------------------------------------------------- */
/* 【----- 內頁 -----】 */
.page-banner {
    position: relative;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    border-radius: 0;
    background-image: url("/Public/img/ever_bg.webp");
    background-size: cover;
    background-position: 75% 0%;
    background-repeat: no-repeat;
}

.page-banner:has(.page-banner-inner)::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto 0;
    width: 3rem;
    height: 0.15rem;
    background-color: var(--main-color);
}

.page-banner .page-banner-inner {
    min-height: 8rem;
    padding: 0.7rem 1.3rem 0.7rem 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-banner .page-banner-title-div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.page-banner .page-banner-title {
    font-size: clamp(1.65rem, 1.2vw + 0.5rem, 2.5rem);
    letter-spacing: 0.03em;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 0;
}

.page-banner .page-banner-title-en {
    padding-top: 12px;
    margin-left: 10px;
    font-size: 0.9rem;
}



/* .org-page-banner {
    background-size: cover;
    background-position: center center;
    height: 30dvh;
    border-image: fill 0 linear-gradient(#0003, #fff);
    display: grid;
    place-items: center;
    padding: 2rem;
}
.org-page-banner {
    display: grid;
    gap: 20px;
}
.org-page-banner h2 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 0;
}
.org-page-banner p {
    font-size: 1.8rem;
} */

/* 【----- 圓角型 + 內容 -----】 */
.corner-banner {
    background-image: url("/media/Breast_Care_Center/nav-banner-1.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 25% 75%;
    padding: 100px 30px 190px;
}

.corner-banner>h2 {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: .05em;
    color: var(--grey7);
    text-align: center;
}

.corner-banner>p {
    text-align: center;
    font-size: 20px;
    margin-top: 10px;
    font-weight: 500;
}

.article-area {
    padding: 0 30px;
}

.article-area-Inner {
    position: relative;
    padding: 10px;
    background-color: var(--white);
    margin: -125px auto 0;
    max-width: 1200px;
    border-radius: var(--sm-corner) var(--sm-corner) 0 0;
}

/* 圖片-圓角排版效果 (例.banner) */
.c-corner {
    display: block;
    width: 15px;
    height: 15px;
    position: absolute;
    left: 0;
    bottom: 0;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}

.c-corner::before {
    display: block;
    width: 200%;
    height: 200%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    content: "";
    background: rgba(0, 0, 0, 0);
    border-radius: 50%;
    box-shadow: 20px 20px 0 0 var(--white);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.c-corner--right {
    left: initial;
    right: 0;
    bottom: 0;
    -webkit-transform: translateX(100%);
    transform: translateX(100%)
}

.c-corner--right::before {
    left: initial;
    right: 0;
    box-shadow: -20px 20px 0 0 var(--white);
    -webkit-transform: translate(50%, -50%);
    transform: translate(50%, -50%)
}

.article-area-Inner .c-corner__opt1+.c-corner--right::before {
    box-shadow: -10px 10px 0 0 var(--white);
}

.article-area-Inner .c-corner__opt1 {
    top: 110px;
}

.article-area-Inner>h3 {
    position: relative;
    font-size: 34px;
    text-align: center;
    line-height: 1.6;
    z-index: 2;
}

.secInr {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.secInr .head02 {
    font-size: 1rem;
    font-family: 'Shippori Mincho B1', serif;
    /* margin: .5rem; */
    padding: .3rem .3rem .3rem .3rem;
}

.secInr .head02 span {
    border-bottom: 3px solid var(--main-color);
    line-height: 1.7;
    padding-bottom: 5px;
    margin-bottom: 50px;
}


/* ---------------------------------------------------
    UI 共用元件 - Side-Nav
----------------------------------------------------- */
nav.sidenav::before {
    background-color: transparent;
}

.menu-heading {
    font-size: 1.2rem;
    line-height: 1.5rem;
    font-weight: bold;
    padding: 1rem;
    color: var(--white);
    background-color: #999;
    border: 1px solid #555;
    display: none;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    background-image: url(/Public/img/title-bg4.webp);
    margin-top: 6%;
}

.menu-heading>div {
    font-size: 1.8rem;
}

.menu-heading>small {
    font-size: 70%;
    padding-left: 1.2%;
}

/* ☰ 漢堡按鈕 */
.menu-icon {
    display: block;
    padding: 1rem;
    background: #999;
    background-image: url(/Public/img/title-bg4.webp);
    color: var(--white);
    cursor: pointer;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    margin-bottom: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 隱藏 checkbox 控制器 */
#menu-toggle {
    display: none;
}

/* 側邊選單（手機版預設收起） */
.sidenav {
    /* background-color: #333; */
    color: var(--white);
    width: 100%;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
    position: sticky;
    top: 3.5rem;
    z-index: 999;
}

#menu-toggle:checked+.menu-icon+.sidenav {
    max-height: 1000px;
}


/* ---------------------------------------------------
    UI 共用元件 - Card (文章卡片)、圖文項目
----------------------------------------------------- */

/* 【----- list-清單項目 -----】 */
.list-wrapper .list-item {
    margin-bottom: .3rem;
    font-size: .9rem;
}

.list-wrapper .list-item::before {
    content: '●';
    color: var(--secondary-color);
    margin-right: 5px;
    font-size: 1rem;
}

/* 【----- Card-項目 -----】 */
.article-card {
    transition: transform 0.2s ease;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.img-container {
    height: 200px;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card .card-text {
    border-top: 0px dotted var(--main-color);
    border-bottom: 1px dotted var(--main-color);
    padding-top: 0px;
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-align: right;
}


/* 【----- list-圓形項目 -----】 */
.circle-items {
    /* margin-top: 40px; */
    margin-bottom: 0;
    padding: 6% 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}

.circle-items>li {
    /* width: calc(25% - 20px); */
    margin: 0;
    padding: 0;
    font-size: 100%;
    line-height: inherit;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.circle-items>li .circle-item-inner {
    position: relative;
}

.circle-items>li .circle-image {
    width: 180px;
    height: 180px;
    margin: 0 auto;
}

.circle-image a {
    width: 180px;
    height: 180px;
    display: block;
    border: 3px solid #57c2e7;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    transition-duration: 0.2s;
}

.circle-image a>div {
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.circle-image a>div:before {
    transition-duration: 0.2s;
    opacity: 0;
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.6);
}

.circle-image a>div:after {
    transition-duration: 0.2s;
    opacity: 0;
    content: "詳細介紹";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--carbon-black);
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.15;
    text-align: center;
}

.circle-image a>div:hover:before,
.circle-image a>div:hover:after {
    opacity: 1;
}

.circle-items>li .circle-texts {
    position: relative;
    text-align: center;
}

.circle-items>li .circle-texts a {
    transition-duration: 0.2s;
    margin: 0 0 5px;
    text-align: center;
    line-height: 1.4;
    padding: 10px;
    font-size: 1.1rem;
    display: inline-block;
    color: var(--main-color);
    font-weight: bold;
}

.circle-items>li .circle-item-inner:after {
    content: "";
    position: absolute;
    top: -15px;
    left: 30px;
    display: block;
    background-image: url(/media/Breast_Care_Center/icon_attention.png);
    background-size: 40px 33px;
    width: 40px;
    height: 33px;
    opacity: 0;
    transition-duration: 0.2s;
    transform: translate(10px, 10px);
}

.circle-items>li .circle-item-inner:hover:after {
    opacity: 1;
    transform: translate(0, 0);
}

.circle-items>li .circle-item-inner:hover .circle-texts a {
    color: var(--secondary-color);
}


/* ---------------------------------------------------
    UI 共用元件 - 外框 box
----------------------------------------------------- */
.c-box-line {
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-color: var(--grey11);
    border-radius: 0 0 5px 5px;
    position: relative;
    padding: 30px 20px 25px 20px;
    margin-top: 30px;
}

.c-box-line::before {
    content: "";
    display: block;
    width: calc(100% + 2px);
    height: 4px;
    background: linear-gradient(90deg, var(--brown3) 0%, var(--main-color) 100%);
    position: absolute;
    top: 0;
    left: -1px;
}

/* 若連續出現多個 box，間距在手機為 25px */
.c-box-line+.c-box-line {
    margin-top: 25px;
}


/* ---------------------------------------------------
    UI 共用元件 - Articles
----------------------------------------------------- */
.article-body u {
    font-weight: 700;
    text-decoration: none;
    /* text-decoration-color: #000;
    text-underline-offset: 3px; */
    transition: color 0.3s, text-decoration-color 0.3s;
    border-bottom: 1px solid var(--grey3);
}

.article-body u:hover {
    background-color: var(--vanilla-yellow);
}

.article_border {
    border: 15px solid #f5e7dc;
    border-radius: .25rem;
}

.article_h {
    font-size: 1.6rem;
    color: var(--info);
    font-weight: bold !important;
    border-bottom: solid 2px var(--grey5);
    text-align: center;
    margin-bottom: 15px;
    padding: 10px;
    line-height: 1.5;
}

.posted-date {
    text-align: right;
    font-size: 0.85rem;
    margin: -15px 0 15px 0;
    background-color: var(--grey5);
    line-height: 20px;
    padding: 10px;
}
.posted-date::before {
    content: '發表日期：';
}

.a-paragraph {
    color: var(--brown-black);
    margin: 1.2rem 0.5rem;
    text-align: justify;
    line-height: 1.6;
    letter-spacing: 2px;
}

.text-note {
    font-size: 0.85rem;
    color: var(--grey4);
    text-align: center;
}

.quote-box {
    position: relative;
    padding: 30px 10px 10px 10px;
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--grey7);
    overflow: hidden;
    text-align: center;
    background-color: #fbf1f2;
    background:
        repeating-linear-gradient(45deg,
            rgba(223, 120, 130, 0.06),
            rgba(223, 120, 130, 0.06) 1px,
            transparent 1px,
            transparent 8px),
        #fbf1f2;
    margin-bottom: -20px;
}

.quote-box::before,
.quote-box::after {
    position: absolute;
    font-size: 10rem;
    color: #ffd8db;
    z-index: 0;
    pointer-events: none;
}

.quote-box::before {
    content: "“";
    top: -70px;
    left: 20px;
}

.quote-box::after {
    content: "”";
    bottom: 0;
    right: 15px;
    line-height: 0;
}

.quo-txt,
.logotxt {
    position: relative;
    z-index: 1;
}

.quo-txt {
    font-weight: 800;
    line-height: 40px;
    color: #d37079;
}

.logotxt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.9rem;
    margin-top: 15px;
    color: rgba(158, 62, 71, 0.7);
    font-style: italic;
    font-weight: 600;
}

.logotxt::before,
.logotxt::after {
    content: "";
    flex: 1;
    max-width: 70px;
    height: 1px;
    background: linear-gradient(to right,
            rgba(158, 62, 71, 0) 0%,
            rgba(158, 62, 71, 1) 25%,
            rgba(158, 62, 71, 1) 75%,
            rgba(158, 62, 71, 0) 100%);
}

.list-title {
    position: relative;
    padding-left: 28px;
    font-weight: bold;
    margin: 1rem 0.5rem .2rem 0.5rem;
    line-height: 30px;
    font-size: 1.06rem;
}
.list-title::before {
    position: absolute;
    top: calc(50% - 15px);
    left: 0px;
    content: "✿";
    color: #d37079;
}
.list-text{
    font-size: .95rem;
    line-height: 35px;
    text-align: justify;
    margin-left: 38px;
}

.list-question {
    font-weight: bold;
    font-size: 1.1rem;
    margin: 30px 0px 0px 0px;
    display: flex;
    align-items: center;
    text-align: justify;
    border-bottom: 1px dashed var(--orange);
    padding-bottom: 6px;
}

.list-answer, 
.list-w-text{
    font-size: 1rem;
    line-height: 34px;
    text-align: justify;
}

.list-answer {
    margin: 20px 0px 0px 0px;
    display: flex;
    align-items: start;
}

.list-w-text {
    padding-left: 1.9rem;
    margin: 0 15px 0 50px; 
}

.list-question::before, 
.list-answer::before{
    padding: 2px 5px;
    margin-right: 8px;
    color: var(--white);
    font-size: 1rem;
    font-weight: bold;
    width: 30px;
    height: 30px;
    line-height: 26px;
    border-radius: 50%;
}

.list-question::before {
    content: 'Ｑ';
    background-color: var(--main-color);  
}

.list-answer::before {
    content: 'Ａ';
    background-color: var(--bright-green);
}

.embed-responsive {
    width: 95%;
    margin: 0 auto;
}

.a-paragraph {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.25rem;
    text-align: justify;
}

.a-img {
    text-align: center;
    margin: 0.5rem 0;
}

.a-img img {
    max-width: 100%;
    height: auto;
}

.news-links {
    margin: 1.5rem 0;
}

.news-links a {
    display: inline-block;
    margin: 0.25rem 0.5rem 0.25rem 0;
    font-size: 0.95rem;
    padding: 0.4rem 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.news-links a i {
    margin-right: 0.4rem;
    transition: transform 0.3s ease;
}

.news-links a:hover {
    background-color: #17a2b8;
    color: white;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

.news-links a:hover i {
    transform: scale(1.2) rotate(-10deg);
}


/* ---------------------------------------------------
    UI 麵包屑 bc-nav
----------------------------------------------------- */
ul.bc-nav {
    padding: 0px;
    list-style: none;
    margin-bottom: 0;
}

ul.bc-nav li {
    display: inline;
    font-size: 1rem;
}

ul.bc-nav li+li:before {
    padding: 8px;
    color: var(--carbon-black);
    content: "/\00a0";
}

ul.bc-nav li a {
    /* color: var(--carbon-black); */
    text-decoration: none;
    font-weight: bold;
}

ul.bc-nav li a:hover,
ul.bc-nav li a:active {
    color: var(--secondary-color);
    text-decoration: underline;
}


/* ---------------------------------------------------
    UI 共用漸層 / 遮罩
----------------------------------------------------- */
.card-overlay-dark {
    padding: 1.25rem;
    color: #fff;
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
    transition: background 5s ease;
}

.card-overlay-dark:hover,
.card-overlay-dark:focus,
.card-overlay-dark:active {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.2));
}


/* ---------------------------------------------------
    UI 共用動畫
----------------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-card,
.page-banner:has(.page-banner-inner)::before {
    animation: fadeIn 1s ease-in-out;
}


/* ---------------------------------------------------
    UI 共用元件 (BS) - 預設樣式
----------------------------------------------------- */

/* 【----- BS-card -----】 */
.card-title {
    text-align: justify;
    font-weight: bold;
    font-size: 1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    line-height: 1.5;
    margin-bottom: 10px;
}

.card-text {
    color: var(--carbon-black);
    text-align: justify;
    font-size: 0.85rem;
    border-top: 1px dotted var(--main-color);
    padding-top: 20px;
}

/* 【----- BS-table -----】 */
table {
    background-color: var(--grey-white);
    color: var(--main-color) !important;
}

.table {
    background-color: transparent;
}

.table-hover tbody tr:hover {
    background-color: var(--off-white);
}

.table>thead>tr>th {
    vertical-align: middle;
    background-color: var(--grey3);
    padding: 5px;
    color: var(--white);
}

.table>tbody>tr>td {
    vertical-align: middle;
    word-break: break-all;
    padding: 5px
}

.table-bordered td,
.table-bordered th {
    border: 1px solid #c3a18a;
}

/* 【----- BS-徽章 badge -----】 */
.badge {
    white-space: normal;
}

/* 【----- BS-表單輸入框 form-control -----】 */
.form-control:focus {
    border-color: var(--orange4);
    box-shadow: 0 0 0 0.2rem rgba(245, 150, 29, 0.34);
}

.form-control-lg {
    font-size: 1rem;
}

/* 【----- BS-List -----】 */
/* 先清除全部的 list-group-item 底線 */
#doctor-sidenav .list-group-item:last-child {
    border-bottom: none;
}

#doctor-sidenav .list-group:last-child .list-group-item {
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.list-group {
    color: var(--main-color);
    border-radius: 0;
}

.list-group:first-child {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.list-group:last-child {
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.list-group:last-child>.list-group-item {
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.list-group-item.active {
    background-color: var(--off-white);
    color: var(--secondary-color);
    border-color: rgba(0, 0, 0, .125);
    font-weight: bold;
}

.list-group-item-action {
    color: var(--main-color);
    transition: color 0.3s ease;
    padding: .5rem .85rem;
    font-size: 1.2rem;
    font-weight: bold;
    background-color: var(--off-white);
}

.list-group-item-action:focus,
.list-group-item-action:hover {
    color: var(--secondary-color);
    background-color: var(--off-white);
}

/* 【----- BS-page -----】 */
.page-link {
    color: var(--main-color);
    background-color: var(--off-white);
}

.page-link:hover {
    color: var(--secondary-color);
    background-color: var(--off-white);
    font-weight: bold;
}

.page-item.active .page-link {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.page-item.disabled .page-link {
    color: #6c757d;
    /* 文字顏色更淡 */
    background-color: #e9ecef;
    /* 背景偏灰 */
    border-color: #dee2e6;
    /* 邊框淡灰 */
    cursor: not-allowed;
    /* 滑鼠指標顯示禁止 */
}

/* 【----- BS- Modal：播放 youtube -----】 */
#videoModal .modal-content {
    background-color: transparent;
    border: 0;
}

#videoModal .modal-header {
    border-bottom: none;
}

#videoModal .modal-header>button.close {
    color: var(--white);
    opacity: 0.9;
    padding: 0.6rem;
}

#videoModal .modal-body {
    background-color: var(--white);
    border-radius: 10px;
}

/* 【----- BS-彈跳視窗 Modal -----】 */
.modal-header .close {
    font-size: 2rem;
}


/* ---------------------------------------------------
    各功能區塊-客製調整
----------------------------------------------------- */
/* 【----- 首頁 index -----】 */
/* 首頁-Banner */
.banner-carousel {
    position: relative;
    aspect-ratio: 100 / 35;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s linear;
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

/* 圖片設定：鋪滿不變形 */
.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 7s linear;
    will-change: transform;
}

/* 只有 active 時才啟動放大動畫 */
.banner-slide.active img {
    transform: scale(1.05);
    /* 緩緩放大，從原圖開始 */
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.banner-arrow.left {
    left: 12px;
}

.banner-arrow.right {
    right: 12px;
}

.banner-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
}

.banner-carousel:hover .banner-arrow {
    opacity: 1;
    pointer-events: auto;
}

.banner-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
}

.banner-dots {
    position: absolute;
    /* bottom: 0; */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
    margin: 20px 0px;
}

.banner-dots .dot {
    width: 12px;
    height: 12px;
    background: rgba(102, 102, 102, 0.6);
    border-radius: 50%;
    cursor: pointer;
}

.banner-dots .dot.active {
    background: rgba(102, 102, 102, 1);
}

/* 若使用者偏好「減少動態」，取消圖片放大動畫 */
@media (prefers-reduced-motion: reduce) {
    .banner-slide img {
        transition: none !important;
        transform: none !important;
    }
}

/* 首頁-最新消息 */
.a_tit_1 {
    background: var(--soft-beige);
    border: 1px solid var(--main-color);
    padding: 15px;
    max-width: 500px;
    margin: 0 auto 3rem;
    font-size: 1rem;
    letter-spacing: 3px;
    position: relative;
    text-align: center;
}

.a_tit_1:not(:first-child) {
    margin-top: 3rem;
}

.a_tit_1::before {
    content: '';
    background: var(--main-color);
    width: 1px;
    height: 50px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -38px;
    margin: 0 auto;
}

.a_tit_1::after {
    content: '';
    background: var(--main-color);
    width: 10px;
    height: 10px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -38px;
    margin: 0 auto;
    border-radius: 99em;
}

.a_tit_1 h2,
.a_tit_1 h3 {
    font-weight: bold;
    margin-bottom: 0;
}

.a_tit_1 h2 span {
    font-size: 0.9rem;
}

/* 首頁-健檢專案 */
#treatment {
    padding: 3rem 0;
    /* background-image: url(/media/Breast_Care_Center/bullseye-gradient.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: bottom; */
}

#treatment>div {
    border-radius: var(--lg-corner);
    padding: 30px;
}

#treatment>div>div>h2 {
    font-weight: bold;
    letter-spacing: .05em;
}

#treatment>div>div>p {
    font-size: 1rem;
    margin-top: 10px;
    font-weight: 300;
}

#treatment .circle-items {
    padding: 0;
}

/* 首頁-媒體報導 / 衛教資訊 */
#health-reports .corner-banner {
    background-image: url("/Public/html/Breast_Care_Center/img/bg-1.jpg");
}

#health-reports .corner-banner>h2,
#health-film .corner-banner>h2 {
    color: var(--main-color);
}

#news .read-more,
#health-reports .read-more {
    margin: 0 auto;
    width: 100%;
}

#health-reports .article-area {
    padding: 0 10px;
}

#health-reports .article-area-Inner {
    padding: 10px;
    background-color: transparent;
    margin: -180px auto 0;
}

#health-reports .card-img-top,
#health-film .card-img-top {
    border-top-left-radius: var(--sm-corner);
    border-top-right-radius: var(--sm-corner);
}

#health-reports figure.card,
#health-film figure.card {
    border-radius: var(--sm-corner);
}

/* 首頁-衛教資訊 */
#health-film .corner-banner {
    background: linear-gradient(rgba(44, 44, 44, 0.7), rgba(44, 44, 44, 0.7)), url('/Public/html/Breast_Care_Center/img/care_reassurance.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 420px;
}

#health-film .article-area {
    width: 100%;
    margin: 0 auto;
}

#health-film .article-area-Inner {
    padding: 0;
    background-color: transparent;
    margin: -342px -360px 0 0;
    max-width: 100%;
}

#health-film .article-area-Inner>.col-xl-3>div {
    width: 100%;
    margin: 0px auto 50px auto;
    text-align: center;
}

#health-film .article-area-Inner>.col-xl-3>div>h2,
#health-film .article-area-Inner>.col-xl-3>div>p {
    color: var(--white);
    padding-left: initial;
}

#health-film .article-area-Inner>.col-xl-3>div>.c-btnn-wrap>a {
    border: 2px solid var(--white);
    color: var(--white);
}

#health-film .article-area-Inner>.col-xl-9 {
    max-width: initial;
}

#health-reports,
#health-film {
    margin-bottom: 60px;
}

/* 首頁-地圖 */
#mapwithcontact {
    background-image: url(/media/Breast_Care_Center/everan-pic.webp);
    background-size: cover;
    margin-bottom: 0px;
    padding: 0 0 60px 0;
    background-repeat: no-repeat;
}

#map h2,
#contact h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.map-container {
    aspect-ratio: 16 / 9;
    width: 100%;
    /* border-radius: 1rem; */
    overflow: hidden;
    background-color: #f2f2f2;
    position: relative;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#mapwithcontact h2 {
    font-size: 2rem;
}

#mapwithcontact h2>span {
    font-size: 1rem;
}


/* 【----- 關於我們 about us -----】 */
.team-section {
    position: relative;
    z-index: 1;
    padding: 1.5rem 0;
}

.team-section::before {
    content: "";
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /* width: calc(100% - 5rem); */
    height: 30rem;
    /* border-radius: 2rem; */
    /* margin: auto; */
    background-color: var(--bg-color);
}

.team-section .team-section-in {
    margin: 0 auto;
    padding-left: calc((100% - 65rem)/3);
    text-align: center;
}

.team-section .team-section-wrap {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.team-section .team-section-cnt {
    position: relative;
    width: 100%;
    padding-top: 0rem;
    padding-left: 0rem;
}

.team-head .team-head-txt {
    color: var(--small-color);
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.2;
    letter-spacing: .1em;
    border-bottom: 1px solid var(--grey6);
    padding-bottom: .5rem;
}

.team-head .team-head-ttl {
    font-size: 2rem;
    letter-spacing: .03em;
    font-weight: 700;
    line-height: 1.4;
}

.team-head .team-head-word {
    font-weight: 600;
    padding: 0 90px 0 0;
    text-align: justify;
    font-size: .95rem;
}

.c-orange {
    color: var(--secondary-color);
    font-size: 1.35rem;
}

.team-section .team-section-main {
    width: 100%;
}

.team-section .team-section-slider {
    filter: drop-shadow(10px 10px 20px rgba(29, 29, 29, 0.2));
    -webkit-filter: drop-shadow(10px 10px 20px rgba(39, 35, 35, 0.2));
}

.team-section .team-section-slider>div {
    width: 100%;
    /* transform: translate3d(-90px, 0px, 0px); */
}

.team-section .team-section-slider-item {
    position: relative;
    width: 100%;
    min-width: 100%;
    margin: 0;
    padding: .5rem;
    border-radius: var(--xs-corner);
    overflow: hidden;
}

.team-section .team-section-slider-item .form-row {
    align-items: center;
}

/* .team-section .team-section-slider-item .col-12.col-md-5 {
    margin-top: 0.85rem;
} */

.team-section .team-section-slider-item img {
    border-radius: var(--xs-corner);
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    max-width: 100%;
    height: auto;
    margin-top: 0.85rem;
}

.f-img {
    width: 100%;
    max-width: 100%;
    vertical-align: top;
    height: auto;
    border: 0;
    border-radius: 1rem;
}

.team-section .team-section-slider-txtarea {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    z-index: 1;
}

.team-section .team-section-slider-lead {
    color: var(--white);
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.6;
    letter-spacing: .07em;
    margin: 0;
    padding: .7rem 1.2rem;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: justify;
}

.team-head {
    text-align: center;
}

.team-head .team-head-word {
    padding: 0 20px 0 20px;
}

.top-data {
    position: relative;
    margin-top: clamp(3.75rem, 1.797rem + 7.81vw, 10rem);
    padding: 2rem;
    margin: 2rem auto auto auto;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
}

.top-data-bg {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    gap: 2px
}

.top-data-bg>div {
    flex: 0 0 calc(100% - 1px);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat
}

.top-data-bg>div.bg01 {
    background-image: url(/media/Breast_Care_Center/about-us/screening-02.webp);
}

.top-data-bg>div.bg02 {
    background-image: url(/media/Breast_Care_Center/about-us/screening-01.webp);
}

.top-data-bg>div.bg03 {
    background-image: url(/media/Breast_Care_Center/about-us/mri-scan.webp);
}

.top-data-bg>div.bg04 {
    background-image: url(/media/Breast_Care_Center/about-us/robotic-arm.webp);
}

.top-data-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 35px 10px;
    background-color: var(--grey-white);
    border-radius: var(--xs-corner);
    overflow: hidden;
}

.top-data-card:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/media/Breast_Care_Center/about-us/bg-data-inner.png);
    background-position: left top;
    background-size: cover;
    background-repeat: no-repeat;
    content: ""
}

.top-data-card:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/media/Breast_Care_Center/about-us/bg-data-number.png);
    background-position: top;
    background-size: contain;
    background-repeat: no-repeat;
    content: ""
}

.top-data-card-inner {
    z-index: 2;
    position: relative;
    /* width: 450px; */
    margin: 0 auto
}

.top-data-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0
}

.c-title__border {
    font-weight: 600;
    font-size: .75rem;
    text-transform: uppercase;
}

.c-title__border__str {
    position: relative;
    white-space: pre;
}

.top-data__title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0
}

.c-title-wrap {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 15px;
    font-weight: bold;
}

.c-title-text {
    display: block;
    width: 35px
}

.top-data-body {
    padding: 10px;
    border-top: 2px solid var(--main-color);
    font-size: .99rem;
    text-align: justify;
}

.top-data-body p {
    line-height: 180% !important;
    color: var(--main-color);
}


/* 【----- 停休診時間 clinic-rest-time -----】 */
.clinic-rest-time {
    background-color: var(--grey5);
    font-size: 1.2rem;
    border-bottom-left-radius: calc(.3rem - 1px);
    border-bottom-right-radius: calc(.3rem - 1px);
    padding-bottom: 0px;
}

.clinic-month {
    background-color: var(--white);
}

.clinic-month h6 {
    margin-bottom: 0;
    text-align: center;
    line-height: 30px;
}

.clinic-month div:first-child {
    font-size: 1.5rem;
    font-weight: bold;
}

.clinic-time-list {
    padding: 0 !important;
}

.clinic-time-list .title,
.clinic-time-list .detail {
    display: flex;
    justify-content: space-between;
}

.clinic-time-list .title>div {
    width: 20%;
    text-align: center;
    font-weight: bold;
}

.clinic-time-list li .badge {
    font-size: 1rem;
    line-height: 1.3rem;
}

.clinic-time-list .list-group-item:last-child {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}


/* 【----- 醫師陣容 doctor list -----】 */
.doctors-area ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 30px;
    list-style-type: none;
    padding-left: 0;
}

.doctors-area ul li {
    margin-bottom: 35px;
    padding: 0 2.5%;
}

/* .doctors-area ul li div:has(.img){
    margin-bottom: 30px;
} */
.doctors-area ul li .img,
.doctor-img {
    width: 100%;
    max-width: 450px;
    /* 你可以依設計需求調整 */
    aspect-ratio: 4.5 / 5;
    /* 比如 4:5，避免高度漂浮 */
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    border: 0px solid var(--grey6);
}

.doctors-area ul li .img img,
.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    /* 調整圖片位置 */
    display: block;
}

.doctors-area .doc-info {
    width: 100%;
    padding: 2%;
}

.doctors-area .doc-info .doc-tilte {
    font-size: 1.6rem;
    font-weight: bold;
    height: 50px;
    margin-bottom: 2%;
    border-bottom: 1px solid var(--grey6);
    padding: 0 2%;
}

.doctors-area .doc-info .job-title {
    font-size: 1rem;
}

.doctors-area .doc-info .detail {
    padding: 0 2%;
    min-height: 180px;
}

.doctors-area .doc-info .detail p {
    width: 100%;
    text-align: justify;
    margin-bottom: 10px;
    font-size: .95rem;
}

.doctors-area .doc-info .btnn-groups div {
    margin: 0;
    padding: 0;
}

.doctors-area .doc-info .btnn-groups div>.btnn {
    width: 100%;
    border-radius: 0;
    padding: 5px;
}

/* 照片漸層遮罩 */
.grad1 img {
    -webkit-mask-image: linear-gradient(to right, white 70%, transparent 100%);
    mask-image: linear-gradient(to right, white 70%, transparent 100%);
}

.grad1-border {
    border: 1px solid transparent;
    border-image: linear-gradient(to left, #CCCDD0, var(--white));
    border-image-slice: 1;
    background-color: var(--white);
}


/* 【----- 醫師個人介紹 doctor-profile -----】 */
.doctor-img {
    border: 1px solid var(--grey6);
}

.doctor-img img+div {
    position: absolute;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    bottom: 0;
    width: 100%;
    padding: 2% 5%;
    text-align: end;
}

.doctor-img img+div>.doctor-name {
    font-size: 1.5rem;
    line-height: 2.5rem;
    font-weight: 600;
}

.doctor-profile {
    width: 98%;
    padding: 0;
}

.doctor-profile>.row>.col-xl-9 {
    padding: 5% !important;
}

.doctor-profile .btnn-groups {
    justify-content: flex-end;
}

.doctor-profile .btnn-groups div {
    width: 50%;
    padding: 2% 1%;
}

.doctor-profile .btnn-groups div button i,
.doctor-profile .btnn-groups div a i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.doctor-profile .btnn-groups+div ul li.col-lg-6 {
    padding-right: initial;
}

.list-disc li{
    padding-left: 0;
}

.list-disc li::marker {
    font-size: 1.6em;
    color: var(--secondary-color);
}

.doctor-profile a.btnn,
.doctor-profile button.btnn {
    font-size: .95rem;
}

.doctor-profile .doctor-img {
    aspect-ratio: 3.5 / 5;
    margin-bottom: 0;
    border-radius: 10px;
    overflow: hidden;
}

.doctor-profile .doctor-img .doctor-name {
    font-size: 2rem;
}

.doctor-profile .doctor-img img+div {
    height: 90px;
    line-height: 30px;
}

#videoModalDate::before {
    content: '上架時間：';
}


/* 【----- 健檢專案-文章 treat-article-detail -----】 */
.treat-article-detail {
    background: var(--grey9) url("/Public/img/ever_bg.webp") fixed no-repeat center 75%;
    background-size: cover;
}

.treat-article-detail .section-grid {
    width: 100%;
}

.treat-article-detail>div {
    /* background-color: var(--off-white); */
    padding: 2% 3% 3% 3%;
}

.treat-article-detail .section-grid>div {
    padding: 0 1%;
}

.treat-article-detail .sidenav {
    max-width: initial;
}

.treat-article-detail .bc-nav {
    text-align: right;
    max-width: 100%;
    margin: 0 0 15px 0;
}

.treat-article-detail .section-grid.shadow-4 {
    background-color: var(--white);
    border-radius: 10px;
}

.treat-article-detail .section-grid.shadow-4>div {
    padding: 0 3%;
}

.treat-article-detail .section-grid.shadow-4>.row>.col-lg-9>div {
    padding-left: 1%;
}

.treat-article-detail .sidenav {
    background-color: var(--white);
    width: 100%;
}

.treat-article-detail .menu-heading {
    color: var(--main-color);
    background-color: var(--off-white);
    background-image: none;
    border: 0px;
    line-height: 1;
}

.treat-article-detail .list-group {
    color: var(--main-color);
    padding: 0 3.5% 3.5% 3.5%;
    background-color: var(--off-white);
}

.treat-article-detail .list-group-item.active,
.treat-article-detail .list-group-item-action {
    font-size: clamp(.5rem, 1.2vw + 0.5rem, .9rem);
    background-color: var(--white);
    padding: .7rem .85rem;
}

.treat-article-detail .list-group-item:first-child {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}


/* 【----- 媒體報導文章 Article-Detail -----】 */
.article-detail .page-banner:has(.page-banner-inner)::before {
    display: none;
}

.article-detail .page-banner .page-banner-inner {
    padding: 1rem 4%;
}

.article-detail .page-banner .page-banner-title {
    font-size: 1.5rem;
    text-align: justify;
    line-height: 1.3;
}

.article-detail .bc-nav {
    margin-top: 0.6rem;
}


/* 【----- 最新消息 Health News -----】 */
.news-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--grey8);
}

.news-date {
    display: block;
    margin-bottom: 0.5rem;
    color: #888;
    font-size: 0.9rem;
}


/* 【----- 衛教園地 Health Education -----】 */
.health-edu .col-lg-3 {
    margin-bottom: 1.5rem;
}

.health-edu .article-card {
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.health-edu .article-card .img-container {
    height: 250px;
}


.health-edu figcaption>h5,
#random-breast-edus figcaption>h5 {
    margin-bottom: 0;
    font-size: 0.9rem;
}


/* 【----- 聯絡我們 Contact -----】 */
.contact-div .top-banner-grid {
    padding: 0;
}

.contact-div .page-banner {
    background-size: cover;
    border-radius: 0px;
}

.contact-div .section-grid {
    padding-bottom: 1.8rem;
}

.contact-div .section-grid>.card {
    border-radius: 25px;
}

.contact-div .section-grid>.card>.row.no-gutters {
    padding: 3% 5% 7% 5%;
}

.l-box{
    font-size: 1.1rem;
    line-height: 1.5rem;
}
.l-box .item{
    margin: 5% 0 15% 0;
}

.tel-ttl {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 5px;
}
.text-only {
    font-size: .8rem;
    font-weight: 500;
    color: var(--grey3);
}

.tel {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.contact-form {
    border-top: 1px solid var(--grey6);
    padding-top: 15px;
}

.contact-form .form-group label {
    font-weight: 800;
    line-height: 1.5;
    font-size: 1.2rem;
}

.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel],
.contact-form input[type=number],
.contact-form input[type=date],
.contact-form select,
.contact-form textarea {
    -webkit-appearance: none;
    appearance: none;
    background: var(--soft-beige);
    border: none;
    border-radius: 3px;
    color: var(--grey7);
    font-size: 16px;
    padding: 10px;
    margin: 0;
    width: 100%;
    min-height: 50px;
}

.contact-form input[type=text]:focus,
.contact-form input[type=email]:focus,
.contact-form input[type=tel]:focus,
.contact-form input[type=number]:focus,
.contact-form input[type=file]:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: 2px solid var(--orange2);
}

.contact-form .btn-submit {
    width: 100%;
    font-size: 1.2rem;
}

#id_captcha {
    width: 100%;
    transition: all 0.3s;
}

/* 驗證碼樣式 */
.section-captcha {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.captcha-input,
.captcha-actions {
    width: 100%;
}

.captcha-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-form #id_captcha {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid var(--grey6);
    border-radius: 5px;
    background-color: var(--soft-beige);
    color: var(--grey7);
    box-sizing: border-box;
}

/* 禁用狀態 */
#id_captcha:disabled {
    cursor: not-allowed !important;
    background-color: #f5f5f5;
    color: #999;
    border-color: #ddd;
}

/* 禁用時的 placeholder 樣式 */
#id_captcha:disabled::placeholder {
    color: #dc3545;
    font-weight: bold;
    opacity: 1;
}

/* 隱藏驗證碼 label */
.contact-form label[for="id_captcha"] {
    display: none;
}

.contact-form .captcha-img {
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: not-allowed;
    width: 160px;
    height: 50px;
    transition: all 0.3s;
}

.contact-form .btn-refresh {
    background: var(--white);
    border: 0px solid;
    color: var(--grey6);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.contact-form .btn-refresh:hover {
    color: var(--grey0);
}

/* 驗證碼錯誤訊息樣式（純紅色文字） */
.contact-form .form-group .errorlist {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    background: none;
    border: none;
    padding: 0;
    list-style: none;
    margin-bottom: 0 !important;
}


/* ---------------------------------------------------
    RWD
----------------------------------------------------- */
@media(max-width: 1399px) {

    /* 【-- Logo --】 */
    .logo {
        width: 250px;
        justify-content: left;
    }

    .nav-box .item-center {
        order: 3;
        flex: 0 0 auto;
    }

    .nav-box .item-left,
    .nav-box .item-right {
        flex: 0 0 auto;
    }

    .v-center {
        justify-content: space-between;
    }

    .nav-box .mobile-menu-trigger {
        display: flex;
        height: 30px;
        width: 30px;
        margin-left: 15px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
    }

    .nav-box .mobile-menu-trigger span {
        display: block;
        height: 2px;
        background-color: var(--grey7);
        width: 24px;
        position: relative;
    }

    .nav-box .mobile-menu-trigger span:before,
    .nav-box .mobile-menu-trigger span:after {
        content: '';
        position: absolute;
        right: 0;
        width: 100%;
        height: 100%;
        background-color: var(--grey7);
    }

    .nav-box .mobile-menu-trigger span:before {
        top: -6px;
    }

    .nav-box .mobile-menu-trigger span:after {
        top: 6px;
    }

    .nav-box .item-right {
        align-items: center;
    }

    .nav-box .menu {
        position: fixed;
        width: 320px;
        background-color: var(--white);
        right: 0;
        top: 0;
        height: 100%;
        overflow: hidden;
        transform: translate(100%);
        transition: all 0.5s ease;
        z-index: 1099;
    }

    .nav-box .menu.active {
        transform: translate(0%);
    }

    .nav-box .menu>ul>li {
        line-height: 1;
        margin: 0;
        display: block;
    }

    .nav-box .menu>ul>li>a {
        line-height: 50px;
        height: 50px;
        padding: 0 50px 0 15px;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-box .menu>ul>li>a i {
        position: absolute;
        height: 50px;
        width: 50px;
        top: 0;
        right: 0;
        text-align: center;
        line-height: 50px;
        transform: rotate(-90deg);
    }

    .nav-box .menu .mobile-menu-head {
        display: flex;
        height: 50px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 501;
        position: sticky;
        background-color: var(--white);
        top: 0;
    }

    .nav-box .menu .mobile-menu-head .go-back {
        height: 50px;
        width: 50px;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
        cursor: pointer;
        line-height: 50px;
        text-align: center;
        color: var(--brown-black);
        font-size: 16px;
        display: none;
    }

    .nav-box .menu .mobile-menu-head.active .go-back {
        display: block;
    }

    .nav-box .menu .mobile-menu-head .current-menu-title {
        font-size: 1rem;
        font-weight: bold;
        color: var(--main-color);
    }

    .nav-box .menu .mobile-menu-head .mobile-menu-close {
        height: 50px;
        width: 50px;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
        cursor: pointer;
        line-height: 50px;
        text-align: center;
        color: var(--brown-black);
        font-size: 25px;
    }

    .nav-box .menu .menu-main {
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .nav-box .menu>ul>li .sub-menu.mega-menu,
    .nav-box .menu>ul>li .sub-menu {
        visibility: visible;
        opacity: 1;
        position: absolute;
        box-shadow: none;
        margin: 0;
        padding: 15px 0;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        padding-top: 50px;
        max-width: none;
        min-width: auto;
        display: none;
        transform: translateX(0%);
        overflow-y: auto;
    }

    .nav-box .menu>ul>li .sub-menu.active {
        display: block;
    }

    @keyframes slideLeft {
        0% {
            opacity: 0;
            transform: translateX(100%);
        }

        100% {
            opacity: 1;
            transform: translateX(0%);
        }
    }

    @keyframes slideRight {
        0% {
            opacity: 1;
            transform: translateX(0%);
        }

        100% {
            opacity: 0;
            transform: translateX(100%);
        }
    }

    .nav-box .menu>ul>li .sub-menu.mega-menu-column-4>.list-item img {
        margin-top: 0;
    }

    .nav-box .menu>ul>li .sub-menu.mega-menu-column-4>.list-item.text-center .title {
        margin-bottom: 20px;
    }

    .nav-box .menu>ul>li .sub-menu.mega-menu-column-4>.list-item.text-center:last-child .title {
        margin-bottom: 0px;
    }

    .nav-box .menu>ul>li .sub-menu.mega-menu-column-4>.list-item {
        flex: 0 0 100%;
        padding: 0px;
    }

    .nav-box .menu>ul>li .sub-menu>ul>li>a,
    .nav-box .menu>ul>li .sub-menu.mega-menu>.list-item>ul>li>a {
        display: block;
    }

    .nav-box .menu>ul>li .sub-menu.mega-menu>.list-item>ul {
        margin-bottom: 15px;
    }

    .menu-overlay {
        position: fixed;
        background-color: rgba(0, 0, 0, 0.5);
        right: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1098;
        visibility: hidden;
        opacity: 0;
        transition: all 0.5s ease;
    }

    .menu-overlay.active {
        visibility: visible;
        opacity: 1;
    }
}

@media (min-width: 414px) {
    .page-banner .page-banner-title-en {
        font-size: 0.68rem;
    }

    /* 【-- 聯絡我們 --】 */
    .contact-form .btn-refresh,
    .contact-form .form-text {
        margin-top: 0px;
    }

}

@media (min-width: 576px) {
    .page-banner .page-banner-title-en {
        font-size: 0.9rem;
    }

    /* 【-- 最新消息 --】 */
    .news-date {
        display: inline;
        margin-bottom: 0;
        margin-right: 1rem;
    }
}

@media (min-width: 768px) {
    .a-btn.green {
        width: 50%;
    }

    .article-area-Inner {
        padding: 40px 100px 50px;
    }

    .article_h {
        font-size: 1.85rem;
    }

    /* 【-- 標題-上方線條式 --】 */
    .title-01 {
        padding-top: 25px;
        padding-right: 0;
        font-size: 1.8rem;
    }

    .title-01:before {
        margin-bottom: calc((-1.8rem * 1.33 + 1.8rem) / 2 + 0rem);
    }

    .title-01:after {
        margin-top: calc((-1.8rem * 1.33 + 1.8rem) / 2 + 0rem);
    }

    .title-01 span:before {
        top: -23px;
    }

    /* 【-- 標題-右側線條式 --】 */
    .title-02 {
        padding: 0.7rem 1.1rem 0.6rem;
        border-radius: 0.5rem;
        letter-spacing: 0.04em;
        line-height: 1.5rem;
    }

    .title-02::before {
        width: 0.3rem;
        height: 1.8rem;
    }

    /* 【-- 外框 box --】 */
    .c-box-line {
        padding: 50px;
    }

    .c-box-line+.c-box-line {
        margin-top: 30px;
    }

    /* 【-- 首頁-最新消息 / 媒體報導 --】 */
    #news .read-more,
    #health-reports .read-more {
        width: 40%;
    }

    /* 【-- 關於我們 --】 */
    .secInr .head02 {
        font-size: 1.8rem;
        padding: 0;
    }

    .top-data-bg>div {
        flex: 0 0 calc(50% - 1px);
    }

    /* 【-- 醫師-個人介紹 --】 */
    .doctor-profile a.btnn,
    .doctor-profile button.btnn {
        font-size: 1.1rem;
    }

    /* 【-- 媒體報導-文章 --】 */
    .article-detail .page-banner .page-banner-inner {
        padding: .8rem 5.5%;
    }

    /* 【-- 聯絡我們 --】 */
    .section-captcha {
        flex-wrap: nowrap;
    }

    .captcha-input,
    .captcha-actions {
        width: 50%;
    }

    #id_captcha {
        transition: all 0.3s;
    }
}

@media (min-width: 992px) {
    html {
        font-size: var(--font20);
    }

    /* 【-- Header-Nav --】 */
    .nav-box .menu>ul>li.menu-item-has-children:hover .sub-menu {
        margin-top: 0;
        visibility: visible;
        opacity: 1;
    }

    /* 【-- 內頁-Banner --】 */
    .page-banner {
        padding: 1rem 0;
        border-radius: 1.5rem;
        background-size: 100%;
    }

    .page-banner:has(.page-banner-inner)::before {
        top: 4.2rem;
        bottom: auto;
        left: -1rem;
        width: 9rem;
    }

    .page-banner .page-banner-inner {
        /* min-height: auto; */
        padding: 1.3rem 8.8rem 1.3rem;
    }

    .page-banner .page-banner-title {
        letter-spacing: 0.01em;
        line-height: 1.7;
    }

    /* 【-- 共用排版間距 --】 */
    .content-inner {
        padding: initial;
    }

    /* 【-- 醫師陣容 --】 */
    .doctors-area ul li .img {
        width: 40%;
    }

    .doctors-area .doc-info {
        width: 60%;
    }

    .doctors-area .doc-info .doc-tilte {
        height: 55px;
    }

    .doctors-area .doc-info .btnn-groups div>.btnn {
        width: 95%;
        border-radius: 30px;
        padding: 8px;
    }

    /* 【-- 醫師-個人介紹 --】 */
    .doctor-profile {
        width: 98%;
    }

    .doctor-profile>.row>.col-xl-9 {
        padding: initial !important;
        padding-top: 1.3% !important;
    }

    .doctor-profile .btnn-groups div {
        width: 33.3%;
        padding: 0;
    }

    .doctor-profile .btnn-groups+div ul li.col-lg-6:nth-child(odd) {
        padding-right: 45px;
    }
    /* 【-- 治療項目-文章 --】 */
    .a-img img {
        max-width: 70%;
    }

    /* 【-- 聯絡我們 --】 */
    .contact-form {
        border-top: 0px solid var(--grey6);
        padding-top: 0;
    }

    .section-captcha {
        flex-wrap: wrap;
    }

    .captcha-input,
    .captcha-actions {
        width: 100%;
    }

    .contact-form .captcha-img,
    .contact-form .btn-refresh,
    .contact-form .form-text {
        margin-top: 0px;
    }

    /* 【-- Footer --】 */
    .footer {
        padding-bottom: 0;
    }

    .footer-contact,
    .footer-newsletter {
        margin-top: 0px;
    }

    /* 【-- Side Nav --】 */
    .side-nav-btns {
        display: block;
    }

    /* 【-- Bottom Nav --】 */
    .bottom-nav {
        display: none;
    }
}

@media (min-width: 1200px) {

    /* 【-- 通用排版 --】 */
    .section-grid-sm {
        width: 70%;
    }

    /* 【-- 通用按鈕 --】 */
    a.btnn i,
    button.btnn i {
        font-size: .8rem;
    }

    a.btnn span,
    button.btnn span {
        font-size: .7rem;
    }

    /* 【----- 標題-直書 -----】 */
    .vertical-title-01 {
        margin-left: 50px;
        -webkit-writing-mode: vertical-lr;
        -ms-writing-mode: tb-lr;
        writing-mode: vertical-lr;
    }

    .vertical-title-01:after {
        display: block;
        margin-left: 0;
    }

    /* 【-- Side-nav --】 */
    .menu-heading {
        display: block;
    }

    .menu-icon {
        display: none;
    }

    .sidenav {
        display: block;
        max-width: 320px;
        width: 100%;
        min-height: 100vh;
        max-height: none;
        position: sticky;
        top: 10%;
    }

    /* 【-- 首頁-地圖 --】 */
    #mapwithcontact {
        background-position: calc(100% - -400px) -110px;
    }

    /* 【-- 關於我們 --】 */
    .team-section::before {
        height: 20.5rem;
        width: 60%;
        border-radius: 0 var(--xs-corner) var(--xs-corner) 0;
    }
    .team-section .team-section-cnt {
        width: 35rem;
        padding-left: 2rem;
    }
    .team-section .team-section-in,
    .team-head {
        text-align: initial;
    }
    .team-section .team-section-wrap {
        flex-wrap: nowrap;
    }
    .team-section .team-section-main {
        width: calc(100% - 20rem);
        margin-top: 1rem;
    }
    .team-section .team-section-slider-item {
        padding: 0;
    }
    .team-section .team-section-slider-item .col-12.col-md-5 {
        margin-top: 0;
    }
    .team-head {
        text-align: initial;
    }
    .team-head .team-head-word {
        padding: 0 90px 0 0;
    }
    .top-data {
        width: calc(100% - 5.5rem);
        border-radius: var(--lg-corner);
        padding: 5rem;
        margin: 2rem auto 2.5rem auto;
    }
    .top-data-card {
        border-radius: var(--lg-corner);
    }
    .top-data-body {
        padding: 10px 30px;
        text-align: center;
    }

    /* 【-- 醫師-個人介紹 --】 */
    .doctor-profile .btnn-groups div {
        width: 30%;
    }

    /* 【-- 治療項目-文章 --】 */
    .treat-article-detail>div {
        padding: 1% 3% 3% 3%;
    }

    .treat-article-detail .section-grid {
        width: 90%;
    }

    .treat-article-detail .section-grid.shadow-4>div {
        padding: 1.5%;
    }

    .treat-article-detail .section-grid.shadow-4>div>aside {
        border-right: 1px solid #dee2e6;
    }

    /* 【-- 媒體報導-文章 --】 */
    .article-detail .page-banner:has(.page-banner-inner)::before {
        display: initial;
    }

    .article-detail .page-banner .page-banner-inner {
        padding: 1.3rem 8.8rem 1.3rem;
    }

    .article-detail .page-banner .page-banner-title {
        font-size: 1.7rem;
    }

    /* 【-- 衛教專欄-文章 --】 */
    .list-question {
        margin: 30px 10px 10px 10px;
    }
    .list-answer {
        margin: 20px 15px 0px 50px;
    }
    
    /* 【-- 聯絡我們 --】 */
    .contact-div .section-grid > .card > .row.no-gutters{
        padding: 2%;
    }
    .l-box{
        padding-right:  40px !important;
    }
    .r-box{
        padding-left: 40px !important;
        border-left: 1px solid var(--grey6);
    }
    .l-box .item{
        margin: 1% 2% 15% 2%;
    }
    .section-captcha{
        flex-wrap: nowrap;
    }
    .captcha-input,
    .captcha-actions {
        width: 50%;
    }

    /* 【-- Footer --】 */
    .footer-links,
    .footer-contact,
    .footer-newsletter {
        padding: 0 50px;
    }
}

@media (min-width: 1400px) {

    /* 【-- 通用按鈕 --】 */
    a.btnn i,
    button.btnn i {
        font-size: 1rem;
    }

    a.btnn span,
    button.btnn span {
        font-size: .8rem;
    }

    /* 【-- 關於我們 --】 */
    /* .team-section .team-section-slider>div {
        transform: translate3d(-45px, 0px, 0px);
    } */

    .team-section .team-section-cnt {
        padding-left: 0;
    }

    /* 【----- 醫師陣容 doctor list -----】 */
    .doctors-area ul li .img,
    .doctor-img {
        margin: initial;
    }

    /* 【-- Footer --】 */
    .footer-box {
        width: 80%;
    }
}

@media (min-width: 1600px) {
    .section-grid {
        width: 80%;
    }

    .section-grid-sm {
        width: 60%;
    }

    /* 【-- 首頁-最新消息 / 媒體報導 --】 */
    #health-reports .article-area-Inner {
        padding: 40px 40px 50px;
        max-width: initial;
    }

    #news .read-more,
    #health-reports .read-more {
        width: 20%;
    }

    /* 【-- 首頁-衛教資訊 --】 */
    #health-film .article-area {
        width: 92%;
    }

    #health-film .article-area-Inner>.col-xl-3>div {
        width: 80%;
        margin: 50px auto 30px auto;
        text-align: initial;
    }

    #health-film .article-area-Inner>.col-xl-3>div>h2 {
        padding-left: 65px;
    }

    #health-film .article-area-Inner>.col-xl-3>div>p {
        padding-left: 70px;
    }

    /* 【-- 醫師-個人介紹 --】 */
    .doctor-profile {
        width: 85%;
    }
}