/*
Theme Name: MBSCSP Platform Theme
Theme URI: https://mbscsp.com/
Author: MBSC
Description: MBSC 多元商務智慧平台專屬前台佈景主題。支援可編輯主選單、手機選單、頁尾選單、會員中心與管理中心入口。
Version: 1.0.1-test
Requires PHP: 8.0
Text Domain: mbscsp-platform
*/
:root{--mbsc-primary:#146cc4;--mbsc-deep:#0b2747;--mbsc-ink:#13263b;--mbsc-muted:#64768a;--mbsc-bg:#f5f8fc;--mbsc-line:#dce6f0;--mbsc-card:#fff;--mbsc-radius:20px;--mbsc-shadow:0 16px 46px rgba(19,51,83,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;color:var(--mbsc-ink);background:#fff;line-height:1.65}a{color:var(--mbsc-primary)}img{max-width:100%;height:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mbsc-theme-wrap{width:min(1180px,calc(100% - 36px));margin:0 auto}.mbsc-theme-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(208,222,236,.85)}.admin-bar .mbsc-theme-header{top:32px}.mbsc-theme-header-inner{height:76px;display:flex;align-items:center;gap:26px}.mbsc-theme-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--mbsc-deep);min-width:max-content}.mbsc-theme-brand img{width:48px;height:48px;object-fit:contain}.mbsc-theme-brand-copy strong{display:block;font-size:23px;line-height:1;font-weight:900;letter-spacing:.02em}.mbsc-theme-brand-copy small{display:block;font-size:10px;color:#7890a8;letter-spacing:.04em;margin-top:6px}.mbsc-theme-nav{margin-left:auto}.mbsc-theme-nav ul{display:flex;align-items:center;gap:6px;list-style:none;margin:0;padding:0}.mbsc-theme-nav li{position:relative}.mbsc-theme-nav a{display:flex;align-items:center;min-height:42px;padding:8px 13px;border-radius:11px;text-decoration:none;color:#324b65;font-size:14px;font-weight:750}.mbsc-theme-nav a:hover,.mbsc-theme-nav .current-menu-item>a,.mbsc-theme-nav .current-menu-ancestor>a{background:#edf5fd;color:#0f5da9}.mbsc-theme-nav .menu-item-has-children>a:after{content:"⌄";font-size:11px;margin-left:6px}.mbsc-theme-nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:220px;background:#fff;border:1px solid var(--mbsc-line);box-shadow:var(--mbsc-shadow);border-radius:14px;padding:8px;z-index:120}.mbsc-theme-nav .sub-menu li{width:100%}.mbsc-theme-nav .sub-menu a{min-height:40px;white-space:nowrap}.mbsc-theme-nav li:hover>.sub-menu,.mbsc-theme-nav li:focus-within>.sub-menu{display:block}.mbsc-theme-actions{display:flex;align-items:center;gap:8px}.mbsc-theme-account,.mbsc-theme-admin{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:11px;padding:8px 14px;text-decoration:none;font-weight:800;font-size:13px}.mbsc-theme-account{border:1px solid #cbdbe9;color:#315675;background:#fff}.mbsc-theme-admin{background:var(--mbsc-primary);color:#fff;box-shadow:0 9px 24px rgba(20,108,196,.22)}.mbsc-theme-toggle{display:none;border:1px solid #cbdbe9;background:#fff;width:44px;height:42px;border-radius:11px;font-size:22px;cursor:pointer}.mbsc-theme-mobile{display:none;background:#fff;border-top:1px solid var(--mbsc-line);padding:10px 18px 18px}.mbsc-theme-mobile.open{display:block}.mbsc-theme-mobile ul{list-style:none;margin:0;padding:0}.mbsc-theme-mobile a{display:block;padding:11px 12px;border-radius:10px;text-decoration:none;color:#29445f;font-weight:750}.mbsc-theme-mobile .sub-menu{padding-left:14px}.mbsc-theme-mobile .sub-menu a{font-weight:650;color:#597187}.mbsc-theme-mobile-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.mbsc-theme-main{min-height:calc(100vh - 220px)}.mbsc-theme-page{padding:64px 0 90px}.mbsc-theme-page article>.entry-header{margin-bottom:26px}.mbsc-theme-page h1.entry-title{font-size:clamp(34px,5vw,54px);line-height:1.1;margin:0;color:var(--mbsc-deep)}.mbsc-theme-page .entry-content{font-size:16px}.mbsc-theme-page .entry-content>:first-child{margin-top:0}.mbsc-theme-footer{background:#091d34;color:#b6c6d6;padding:42px 0 22px}.mbsc-theme-footer-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:50px;align-items:start}.mbsc-theme-footer-brand{display:flex;gap:13px;align-items:center}.mbsc-theme-footer-brand img{width:50px;height:50px;object-fit:contain}.mbsc-theme-footer-brand strong{display:block;color:#fff;font-size:22px}.mbsc-theme-footer-brand small{color:#91a8bd}.mbsc-theme-footer-text{max-width:560px;margin:17px 0 0;color:#9db1c4;font-size:14px}.mbsc-theme-footer-nav ul{display:flex;gap:10px 18px;justify-content:flex-end;flex-wrap:wrap;list-style:none;margin:0;padding:0}.mbsc-theme-footer-nav a{color:#d4e1ed;text-decoration:none;font-size:13px}.mbsc-theme-copy{border-top:1px solid rgba(255,255,255,.10);margin-top:28px;padding-top:18px;display:flex;justify-content:space-between;gap:20px;font-size:12px}.mbsc-theme-empty-menu{font-size:13px;color:#6d8196}
@media(max-width:980px){.mbsc-theme-nav,.mbsc-theme-actions{display:none}.mbsc-theme-toggle{display:block;margin-left:auto}.mbsc-theme-header-inner{height:68px}.mbsc-theme-brand-copy small{display:none}.mbsc-theme-footer-grid{grid-template-columns:1fr}.mbsc-theme-footer-nav ul{justify-content:flex-start}}@media(max-width:782px){.admin-bar .mbsc-theme-header{top:46px}}@media(max-width:600px){.mbsc-theme-wrap{width:min(100% - 26px,1180px)}.mbsc-theme-brand img{width:42px;height:42px}.mbsc-theme-brand-copy strong{font-size:21px}.mbsc-theme-page{padding:42px 0 70px}.mbsc-theme-mobile-actions{grid-template-columns:1fr}.mbsc-theme-copy{display:block}.mbsc-theme-copy span{display:block;margin-top:5px}}
