/* 由 tools/建立內頁.py 從 設計稿/門診時間.html 產生，不要直接改這個檔 */

.cta-band { background: var(--teal-deep); color: #fff; padding-block: clamp(56px, 8vw, 96px); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 8px; }
.cta-band p { color: #cfe7e7; }
.cta-band .acts { display: flex; gap: 12px; flex-wrap: wrap; }
/* ---- 門診時間頁（樣式沿用舊版首頁的門診表） ---- */
.visit-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; }
.visit-grid > * { min-width: 0; } /* 一週門診表在自己的框裡左右捲，不要撐寬整頁 */
.week-bar { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 12px; }
.week-bar b { font-size: 17px; color: var(--teal-deep); min-width: 120px; text-align: center; }
.week-bar button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); color: var(--teal-deep); font: 400 22px/1 var(--f-num); cursor: pointer; }
.week-bar button:disabled { opacity: .35; cursor: default; }
.week-docs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.week-docs button { border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: 500 14px var(--f-body); cursor: pointer; }
.week-docs button[aria-pressed="true"] { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.week-scroll { overflow-x: auto; }
.hours.week { min-width: 560px; }
.hours.week th .num { display: block; font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.hours.week th.is-today { color: var(--pink); }
.hours.week th.is-today .num { color: var(--pink); }
.hours.week td { vertical-align: top; font-size: 13px; }
.hours.week td.x { color: var(--ink-soft); font-size: 12px; }
/* 醫師名字一行一個，不會擠在一起或從中間斷開 */
.hours.week .docs-cell span { display: block; white-space: nowrap; line-height: 1.7; }
.hours.week .docs-cell .is-hit { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--mist); color: var(--teal-deep); font-weight: 700; }
/* 手機左右捲動時，左邊的時段欄固定不動 */
.hours.week td:first-child, .hours.week th:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); padding-right: 8px; }
.hours.week td:first-child .num { display: block; font-size: 11px; color: var(--ink-soft); }
.card { background: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; text-align: center; }
.hours th, .hours td { padding: 11px 4px; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 500; color: var(--teal-deep); }
.hours td:first-child, .hours th:first-child { text-align: left; white-space: nowrap; }
.hours .o { color: var(--teal-text); font-weight: 700; }
.hours .x { color: var(--ink-soft); }
.hours .num { font-weight: 500; font-size: 13px; color: var(--ink-soft); display: block; }
.note { font-size: 14px; color: var(--ink-soft); margin-top: 14px; }
.map { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 640 / 440; margin-bottom: 18px; background: var(--mist); }
.map img { width: 100%; height: 100%; object-fit: cover; }
.way { display: grid; grid-template-columns: 40px 1fr; gap: 6px 14px; font-size: 15px; }
.way dt { font-weight: 700; color: var(--teal-deep); }
.way dd { margin: 0 0 8px; }
@media (max-width: 960px) { .visit-grid { grid-template-columns: 1fr; } }

/* 原本寫在 style 屬性的樣式（區塊不能存 style） */
.zb-s1 { --bg:url(/zb-design/img/g-chair.jpg) }