/*
Theme Name: 無極九天玄母宮 4.0.1
Theme URI: https://example.com/
Author: WJX
Description: 單一宮廟響應式主題：桌面版網站、手機 App Style 前台、平板自適應。
Version: 4.0.1
*/
:root{--red:#7b1717;--gold:#caa765;--ink:#222;--cream:#f7f3eb}
*{box-sizing:border-box}body{margin:0;font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;color:var(--ink);background:#fff}a{text-decoration:none;color:inherit}.site-top{background:#1d2730;color:#fff}.site-top-inner{max-width:1200px;margin:auto;padding:12px 20px;display:flex;justify-content:space-between}.site-header{max-width:1200px;margin:auto;padding:22px 20px;display:flex;align-items:center;justify-content:space-between}.brand{font-size:26px;font-weight:900;color:var(--red)}.desktop-nav{display:flex;gap:22px;font-weight:800}.desktop-nav a:hover{color:var(--red)}.hero{background:linear-gradient(120deg,#651313,#9b2929);color:#fff}.hero-inner{max-width:1200px;margin:auto;padding:80px 20px;text-align:center}.hero h1{font-size:48px;margin:0 0 10px}.hero p{font-size:18px}.container{max-width:1200px;margin:auto;padding:45px 20px}.section-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.section-title h2{margin:0;font-size:28px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{border:1px solid #e8e0d3;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.05)}.card-body{padding:18px}.card h3{margin:0 0 8px}.date{color:#888;font-size:13px}.quick{background:var(--cream)}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.quick a{background:#fff;border-radius:14px;padding:24px;text-align:center;border:1px solid #eadfce}.quick b{display:block;margin-top:8px}.footer{background:#1d2730;color:#ddd;padding:35px 20px;text-align:center}.mobile-nav{display:none}
@media(max-width:767px){.site-top,.desktop-nav{display:none}.site-header{padding:15px 16px;position:sticky;top:0;background:#fff;z-index:20}.brand{font-size:20px}.hero-inner{padding:48px 18px}.hero h1{font-size:30px}.hero p{font-size:14px}.container{padding:28px 14px}.section-title h2{font-size:21px}.cards{grid-template-columns:1fr;gap:12px}.quick-grid{grid-template-columns:repeat(2,1fr);gap:10px}.quick a{padding:18px 8px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #ddd;z-index:30;padding:7px 2px calc(7px + env(safe-area-inset-bottom));justify-content:space-around}.mobile-nav a{text-align:center;font-size:19px}.mobile-nav small{display:block;font-size:10px}.footer{padding-bottom:90px}}
@media(min-width:768px) and (max-width:1199px){.site-header,.hero-inner,.container{max-width:1000px}.desktop-nav{gap:12px;font-size:14px}}
