*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

body{
    background:#f5f7fb;
    padding:30px 18px;
}

.header{
    text-align:center;
    margin-bottom:35px;
}

.header h1{
    font-size:32px;
    color:#1565C0;
}

.header p{
    margin-top:10px;
    color:#666;
}

.menu{
    display:flex;
    flex-direction:column;
    gap:18px;

    width:100%;
    max-width:520px;
    margin:0 auto;
}

.card{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;

    width:100%;

    text-decoration:none;
    background:white;
    color:#333;

    font-size:22px;
    font-weight:bold;

    padding:24px;
    border-radius:22px;

    box-shadow:0 8px 24px rgba(0,0,0,.08);
    transition:.25s;
}

.card:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 30px rgba(0,0,0,.15);
}

.icon{
    font-size:30px;
    line-height:1;
}

.text{
    line-height:1;
}


.card:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 30px rgba(0,0,0,.15);
}

.page{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.schedule{
    width:100%;
    border-collapse:collapse;
    text-align:center;
    font-size:18px;
}

.schedule th,
.schedule td{
    padding:14px;
    border-bottom:1px solid #eee;
}

.schedule th{
    background:#1565C0;
    color:white;
}

.schedule tr:last-child td{
    border-bottom:none;
}

/* ===== 門診時間頁：招牌風格 ===== */

body{
    background:#f5f5f5;
}

.clinic-card{
    width:100%;
    max-width:430px;
    background:#2b2623;
    color:white;
    border-radius:28px;
    padding:32px 24px;
    margin:0 auto;
}

.clinic-name{
    text-align:center;
    font-size:30px;
    letter-spacing:5px;
    margin-bottom:25px;
}

.time-area{
    display:flex;
    align-items:center;
    gap:22px;
    margin-bottom:26px;
}

.time-title{
    background:white;
    color:#333;
    width:92px;
    height:92px;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    font-size:26px;
    font-weight:bold;
    line-height:1.3;
}

.time-list{
    font-size:24px;
    font-weight:bold;
    line-height:1.7;
}

.time-list span{
    display:inline-block;
    width:64px;
}

.clinic-card hr{
    border:none;
    border-top:2px solid rgba(255,255,255,.5);
    margin:26px 0 20px;
}

.week-table{
    width:100%;
    border-collapse:collapse;
    text-align:center;
}

.week-table th{
    width:16.6%;
    color:#333;
    background:white;
    border-radius:50%;
    font-size:24px;
    padding:4px 0;
}

.week-table td{
    font-size:28px;
    padding:7px 0;
    color:white;
}

.week-table .on{
    color:#ffd600;
}

.week-table small{
    display:block;
    color:#ffd600;
    font-size:14px;
    margin-top:2px;
}

.phone{
    margin-top:30px;
    text-align:center;
}

.phone p{
    font-size:20px;
    font-weight:bold;
    margin-bottom:8px;
}

.phone a{
    color:white;
    text-decoration:none;
    font-size:30px;
    font-weight:bold;
}

.phone small{
    display:block;
    margin-top:10px;
    font-size:18px;
    color:#ddd;
}

.page{
    max-width:760px;
    margin:0 auto;
}

.doctor-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.doctor-card-link{
    text-decoration:none;
    color:inherit;
}

.doctor-list-card{
    background:white;
    border-radius:24px;
    padding:24px;
    box-shadow:0 8px 24px rgba(0,0,0,.08);

    display:flex;
    align-items:center;
    gap:18px;
}

.doctor-initial{
    width:64px;
    height:64px;
    border-radius:50%;
    background:#EAF4FF;
    color:#1565C0;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:24px;
    font-weight:bold;
}

.doctor-info{
    flex:1;
}

.doctor-info h2{
    font-size:20px;
    color:#333;
    margin-bottom:6px;
}

.doctor-info p{
    font-size:18px;
    color:#666;
}

.doctor-arrow{
    font-size:42px;
    color:#aaa;
}

.back-button{
    display:inline-block;
    margin-bottom:20px;
    color:#1565C0;
    text-decoration:none;
    font-weight:600;
}

.doctor-card{
    background:#fff;
    border-radius:24px;
    padding:35px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.doctor-avatar{
    width:90px;
    height:90px;
    margin:auto;
    border-radius:50%;
    background:#EAF4FF;
    color:#1565C0;
    font-size:42px;
    font-weight:bold;
    display:flex;
    justify-content:center;
    align-items:center;
}

.doctor-card h2{

    margin-top:20px;
    margin-bottom:18px;   /* 新增 */

    text-align:center;

    font-size:36px;

    font-weight:700;

}


.doctor-title{

    text-align:center;

    color:#666;

    margin-top:0;

    margin-bottom:45px;

    font-size:26px;

}


.doctor-section{
    margin-top:30px;
}

.doctor-section h3{

    color:#1565C0;
    border-left:5px solid #1565C0;
    padding-left:10px;
    margin-bottom:15px;

    font-size:30px;

}

.doctor-section ul{

    padding-left:28px;
    line-height:2.2;
    font-size:24px;

}

.tag-group{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.tag-group span{

    background:#1565C0;
    color:white;

    border-radius:22px;

    padding:10px 22px;

    font-size:20px;

}

/* ====================================
   術後注意事項共用版型
   extraction / implant / perio / root-canal 等頁面共用
==================================== */

.notice-page{
    width:100%;
    max-width:700px;
    margin:0 auto;
    padding:0 18px 40px;
}

.notice-card{
    background:#fff;
    color:#333;
    border-radius:22px;
    padding:24px;
    margin-bottom:20px;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
}

.notice-card h2{
    font-size:28px;
    color:#1565C0;
    margin-bottom:18px;
    line-height:1.35;
}

.notice-card ul{
    padding-left:26px;
}

.notice-card li{
    font-size:22px;
    font-weight:600;
    line-height:1.75;
    margin-bottom:10px;
}

.notice-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:16px;
}

.notice-item{
    background:#f7f9fc;
    border-radius:16px;
    padding:18px;
}

.notice-item h3{
    font-size:22px;
    margin-bottom:10px;
    line-height:1.35;
}

.notice-item p{
    font-size:19px;
    font-weight:600;
    line-height:1.65;
}

/* 手機版微調 */
@media (max-width:480px){
    body{
        padding:26px 14px;
    }

    .header h1{
        font-size:28px;
    }

    .notice-card{
        padding:22px;
        border-radius:20px;
    }

    .notice-card h2{
        font-size:26px;
    }

    .notice-card li{
        font-size:20px;
    }

    .notice-item h3{
        font-size:21px;
    }

    .notice-item p{
        font-size:18px;
    }
}