@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;900&display=swap');
:root{color-scheme:light;--green:#28783c;--ink:#203d2c;--muted:#64766a;--line:#dce9df}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:radial-gradient(ellipse at 0 440px,#e6f1e3,transparent 580px),#f5f9f4;font:19.2px/1.98 'Noto Sans TC','Microsoft JhengHei',sans-serif}
.hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#1c562d,#347f42);color:white}.hero-inner{position:relative;z-index:1;max-width:1100px;margin:auto;padding:32px 28px 44px}.brand{margin:0 0 30px;font-weight:700;font-size:18px}.hero-title{display:flex;align-items:center;gap:16px}.sprout{display:grid;place-items:center;background:#ffffff1c;border:1px solid #ffffff29;width:60px;height:60px;border-radius:18px;font-size:30px;flex-shrink:0}h1{font-size:clamp(33.8px,5.2vw,46.8px);line-height:1.4;margin:0;letter-spacing:.03em}.intro{color:#e0eedf;margin:16px 0 0}.botanical{position:absolute;right:5%;bottom:-40px;width:300px;height:280px;color:#c4e0a7;opacity:.16;pointer-events:none}
main{min-height:55vh}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.post-card{display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 6px 22px #28533008;text-decoration:none;color:inherit;transition:box-shadow .2s,border-color .2s}.post-card:hover{border-color:#9cbc9c;box-shadow:0 10px 28px #28533014}.cover{aspect-ratio:16/10;background:#eef5ed;display:flex;align-items:center;padding:14px;border-bottom:1px solid var(--line)}.cover img{display:block;width:100%;height:100%;object-fit:contain;border-radius:8px}.card-copy{padding:22px;display:flex;flex:1;flex-direction:column}.date{font-size:16.8px;font-weight:500;color:var(--green)}.post-card h2{font-size:27.3px;line-height:1.6;margin:10px 0 12px;overflow-wrap:anywhere}.excerpt{font-size:18px;color:var(--muted);margin:0 0 24px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}.read-more{margin-top:auto;color:var(--green);font-weight:700;font-size:18px}.back{display:inline-block;color:var(--green);text-decoration:none;margin-bottom:22px;font-weight:500}.article{max-width:880px;margin:auto;background:white;border:1px solid var(--line);border-radius:22px;box-shadow:0 6px 26px #28533008;padding:40px}.article h2{font-size:clamp(32.5px,4.55vw,41.6px);line-height:1.6;margin:12px 0 28px;overflow-wrap:anywhere}.body{font-size:21.6px;line-height:2.2;white-space:pre-wrap;overflow-wrap:anywhere}.article-gallery{display:grid;gap:24px;margin-top:32px}.image-button{display:block;width:100%;padding:12px;border:1px solid var(--line);background:#f8fbf7;border-radius:12px;cursor:zoom-in}.image-button img{display:block;width:100%;height:auto}.image-note{color:var(--muted);font-size:16.8px;margin:20px 0 0}.status{text-align:center;padding:50px 16px;color:var(--muted)}.retry{display:block;margin:20px auto}button{font:inherit;color:var(--green);cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid #c78827;outline-offset:4px}footer{background:#205c31;color:#d0dfd3;text-align:center;padding:32px 20px;font-size:15.6px;line-height:1.9}footer strong{color:white}footer span{display:block;margin-top:8px;font-size:14.4px;color:#a9c3af}
dialog{width:min(1200px,96vw);max-height:94dvh;margin:auto;padding:0;border:0;border-radius:14px;color:var(--ink);background:white;box-shadow:0 20px 80px #0005}dialog::backdrop{background:#102b20c9}.viewer-bar{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:12px 18px;border-bottom:1px solid var(--line)}.viewer-bar span{margin-right:auto;font-weight:700}.viewer-bar a{color:var(--green);font-size:16.8px}.viewer-bar button{border:0;border-radius:8px;padding:6px 14px;background:#eaf2e9}.image-scroll{overflow:auto;max-height:78dvh;padding:12px}.image-scroll img{display:block;max-width:100%;height:auto;margin:auto}
@media(max-width:900px){.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.hero-inner{padding:24px 20px 30px}.brand{margin-bottom:24px}.sprout{width:48px;height:48px;font-size:25px;border-radius:14px}.hero-title{gap:12px}.intro{font-size:16.8px}.botanical{right:-80px;width:260px}.post-grid{grid-template-columns:1fr;gap:20px}.cover{aspect-ratio:16/9}.card-copy{padding:20px}.post-card h2{font-size:27.3px}.article{padding:24px 20px;border-radius:16px}.body{font-size:20.4px}.article-gallery{gap:18px}.image-button{padding:6px}}
@media(prefers-reduced-motion:reduce){.post-card{transition:none}}
.post-grid{align-items:stretch;gap:24px}
.post-card{border-radius:18px;border:1px solid #1647331a;box-shadow:0 2px 10px #1647330f}
.post-card .card-copy{padding:24px 24px 20px;display:block;flex:none}
.post-card .date{display:flex;align-items:center;gap:10px;font-size:15.6px;letter-spacing:.06em;color:#4f6b5c}
.post-card .date:before{content:'';width:6px;height:6px;border-radius:50%;background:#39a06f;flex:none}
.post-card h2{margin:10px 0 0;font-size:28.6px;line-height:1.45;font-weight:900;color:#14301f;text-wrap:pretty}
.post-card .excerpt{margin:12px 0 0;font-size:18px;line-height:1.98;color:#4b6358;text-wrap:pretty;-webkit-line-clamp:4}
.card-image{display:block;width:100%;border:0;border-top:1px solid #1647331a;padding:14px 14px 12px;background:#f5f8f3;cursor:zoom-in;text-align:left}
.image-hint{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;color:#3d6b55;font-size:14.4px;font-weight:500}
.image-hint span:last-child{white-space:nowrap;color:#17805a;font-weight:700}
.card-image img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border:1px solid #1647331f;border-radius:12px;background:#e3ede0}
.card-image:hover{background:#edf4e9}
.card-footer{padding:16px 24px 20px}.card-footer a{display:inline-block;color:#17805a;text-decoration:none;font-size:18px;font-weight:700}.card-footer a:hover{text-decoration:underline}
#image-viewer{background:#10271e;color:white}#image-viewer .viewer-bar{border-color:#ffffff26}#image-viewer .viewer-bar a{color:#d8efd6}#image-viewer .viewer-bar button{background:#ffffff26;color:white}#image-viewer .image-scroll{padding:20px}#image-viewer .image-scroll img{border-radius:10px}
@media(max-width:600px){.post-grid{gap:16px}.post-card .card-copy{padding:20px 20px 16px}.card-footer{padding:16px 20px 18px}.post-card h2{font-size:28.6px;line-height:1.4}}

/* ═══ 區段骨架（參考健康處方頁面設計）═══════════════════════ */
.sec{padding:clamp(38px,5vw,64px) 28px}
.sec-inner{max-width:1100px;margin:0 auto}
.sec-about{padding-bottom:clamp(30px,4vw,48px)}
.sec-rx{background:white;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.sec-updates{padding-bottom:64px}
.eyebrow{margin:0;font-size:14.4px;font-weight:700;letter-spacing:.18em;color:#6d9a55}
.sec-head h2{margin:8px 0 0;font-size:clamp(27.3px,3.4vw,36.4px);line-height:1.45;font-weight:900;color:#1b4a2c;letter-spacing:.02em}
.sec-head-center{text-align:center}
.sec-head-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap}
.sec-note{margin:0;font-size:16.8px;color:var(--muted)}

/* 關於健康處方：左標題 / 右說明 */
.about-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:clamp(24px,4vw,56px);align-items:start}
.about-copy p{margin:0 0 16px;font-size:19.2px;line-height:2.05;color:#3a4a3d;text-wrap:pretty}
.about-copy p:last-child{margin-bottom:0}

/* 四大健康處方 */
.rx-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,2.6vw,28px);max-width:1040px;margin:clamp(26px,3.4vw,42px) auto 0}
.rx-card{display:flex;flex-direction:column;background:white;border:2px solid #cbe0b9;border-radius:22px;overflow:hidden;box-shadow:0 6px 20px #1b4a2c17}
.rx-image{display:block;width:100%;background:#eef5ed;line-height:0}
.rx-image img{display:block;width:100%;height:auto}
.rx-copy{flex:1;display:flex;flex-direction:column;justify-content:center;padding:24px 24px 26px;border-top:2px solid #cbe0b9}
.rx-copy h3{margin:0;font-size:clamp(25.2px,2.6vw,30px);line-height:1.45;font-weight:900;color:#1b4a2c;letter-spacing:.02em}
.rx-copy ul{margin:14px 0 0;padding-left:1.15em;font-size:19.2px;line-height:2.05;color:#3a4a3d}
.rx-copy li::marker{color:#6d9a55}

/* 單篇文章模式：只留文章本身 */
body.article-mode .page-only{display:none}
body.article-mode .sec-updates{padding-top:clamp(30px,4vw,48px)}

/* hero 標籤（顏色沿用 hero 既有的半透明白） */
.hero-tags{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:22px 0 0;padding:0}
.hero-tags li{padding:6px 16px;border-radius:999px;background:#ffffff29;border:1px solid #ffffff33;color:#eaf5e8;font-size:16.8px;font-weight:500;line-height:1.7}

@media(max-width:900px){
 .about-grid{grid-template-columns:1fr;gap:16px}
 .rx-grid{grid-template-columns:1fr;max-width:640px}
}
@media(max-width:600px){
 .sec{padding:30px 16px}
 .sec-updates{padding-bottom:42px}
 .hero-tags{gap:8px;margin-top:18px}
 .hero-tags li{font-size:15.6px;padding:5px 13px}
 .about-copy p{font-size:18px;line-height:2}
 .rx-grid{gap:18px}
 .rx-copy{padding:20px 20px 22px}
 .rx-copy ul{font-size:18px}
 .sec-note{font-size:15.6px}
}

/* 最新資訊：卡片等高，圖片與頁尾連結對齊在同一條基準線上 */
.sec-updates .post-card{height:100%}
.sec-updates .post-card .card-image{margin-top:auto}

@media(max-width:600px){
 .viewer-bar{gap:10px;padding:10px 14px}
 .viewer-bar a{font-size:15.6px}
 #image-viewer .image-scroll{padding:12px}
}

/* 頁尾網站設計署名 */
footer .footer-credit{margin-top:4px;font-size:13.2px;color:#8fae97}
