/*
Theme Name: 贵五方
Theme URI: https://www.guiwufang.com/
Author: 贵五方
Description: 贵五方财运文化媒体与东方珠宝电商官方主题。
Version: 0.1.0
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: guiwufang
*/

:root{--gwf-ink:#231815;--gwf-gold:#d38824;--gwf-ivory:#eeeadc;--gwf-paper:#f8f5ed;--gwf-teal:#41888a;--gwf-yellow:#f0cc3e;--gwf-line:#d7d0c3;--gwf-muted:#766e66;--gwf-max:1280px;--gwf-space:8px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--gwf-paper);color:var(--gwf-ink);font-family:"Source Han Sans SC","Noto Sans CJK SC","PingFang SC",sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.site-header{height:84px;padding:0 max(28px,calc((100vw - var(--gwf-max))/2));display:flex;align-items:center;gap:32px;border-bottom:1px solid rgba(35,24,21,.12);background:rgba(248,245,237,.94);position:sticky;top:0;z-index:30;backdrop-filter:blur(12px)}.custom-logo-link{display:flex;margin-right:auto}.custom-logo{width:175px;max-height:60px;object-fit:contain}.primary-menu{display:flex;gap:26px;list-style:none;margin:0;padding:0;font-size:15px}.primary-menu>li{position:relative;padding:30px 0}.primary-menu .sub-menu{position:absolute;top:76px;left:-22px;min-width:190px;margin:0;padding:14px 0;list-style:none;background:var(--gwf-paper);border:1px solid var(--gwf-line);opacity:0;visibility:hidden;transform:translateY(-6px);transition:.18s ease}.primary-menu li:hover>.sub-menu,.primary-menu li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}.primary-menu .sub-menu a{display:block;padding:10px 22px;white-space:nowrap}.primary-menu a:hover,.story-card__link{color:var(--gwf-teal)}.header-tools{display:flex;align-items:center;gap:14px;font-size:13px}.language-switch{display:flex;gap:4px}.language-switch .is-current{font-weight:700}.header-shop{background:var(--gwf-ink);color:white;padding:10px 16px}.mobile-nav{display:none}.gwf-hero{min-height:calc(100vh - 84px);position:relative;display:flex;align-items:flex-end;background:var(--gwf-ink);overflow:hidden}.gwf-hero__media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.gwf-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(35,24,21,.9),rgba(35,24,21,.38) 48%,rgba(35,24,21,.04))}.gwf-hero__content{position:relative;z-index:2;color:white;width:min(680px,80vw);margin:0 max(28px,calc((100vw - var(--gwf-max))/2)) 11vh}.eyebrow{font-size:12px;letter-spacing:.18em;color:var(--gwf-gold);font-weight:700;text-transform:uppercase}.gwf-hero h1{font-family:"Source Han Serif SC","Noto Serif CJK SC",serif;font-size:clamp(60px,8vw,112px);line-height:1.08;margin:28px 0}.gwf-hero p{font-size:21px;line-height:1.8}.text-link{display:inline-block;margin-top:22px;padding-bottom:8px;border-bottom:2px solid var(--gwf-gold)}.gwf-manifesto{padding:140px max(28px,calc((100vw - 1080px)/2));text-align:center}.gwf-manifesto h2{font-family:"Source Han Serif SC","Noto Serif CJK SC",serif;font-size:clamp(38px,5vw,64px);line-height:1.45;font-weight:600}.gwf-manifesto p{font-size:18px;line-height:1.9;color:var(--gwf-muted)}.section-wrap{max-width:var(--gwf-max);margin:0 auto 140px}.section-heading{display:flex;justify-content:space-between;align-items:end;padding-bottom:24px;border-bottom:1px solid var(--gwf-ink)}.section-heading h2{font-size:48px;margin:12px 0 0}.story-grid{display:grid;grid-template-columns:repeat(3,1fr)}.story-card{padding:40px 32px 48px 0;border-bottom:1px solid var(--gwf-line);display:flex;flex-direction:column;min-height:360px}.story-card+.story-card{padding-left:32px;border-left:1px solid var(--gwf-line)}.story-card h3{font-family:"Source Han Serif SC","Noto Serif CJK SC",serif;font-size:28px;line-height:1.45;min-height:122px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.story-card p{color:var(--gwf-muted);line-height:1.8;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:86px}.story-card__link{margin-top:auto}.collection-grid{display:grid;grid-template-columns:1.25fr .75fr .75fr 1.25fr;gap:14px;margin-top:28px}.collection-card{position:relative;min-height:470px;overflow:hidden;background:var(--gwf-ivory)}.collection-card:nth-child(even){min-height:390px;margin-top:80px}.collection-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.collection-card:hover img{transform:scale(1.025)}.collection-card::after{content:"";position:absolute;inset:38% 0 0;background:linear-gradient(transparent,rgba(35,24,21,.86))}.collection-card span{position:absolute;z-index:2;left:24px;right:24px;bottom:24px;color:white;display:grid;gap:8px}.collection-card small{letter-spacing:.14em;color:var(--gwf-gold)}.collection-card strong{font-family:"Source Han Serif SC",serif;font-size:26px}.collection-card em{font-style:normal;font-size:14px}.gwf-commerce{max-width:var(--gwf-max);margin:0 auto 140px;display:grid;grid-template-columns:1fr 1fr;min-height:640px;background:var(--gwf-ink);color:white}.gwf-commerce__copy{padding:90px 72px;display:flex;flex-direction:column;justify-content:center}.gwf-commerce__copy h2{font-family:"Source Han Serif SC","Noto Serif CJK SC",serif;font-size:48px;line-height:1.35}.gwf-commerce__copy p{color:var(--gwf-ivory);font-size:18px;line-height:1.9}.gwf-commerce__media{min-height:520px;background-size:cover;background-position:center}.content-shell{max-width:900px;margin:0 auto;padding:90px 28px 140px}.entry-header{padding-bottom:42px;border-bottom:1px solid var(--gwf-line)}.entry-title{font-family:"Source Han Serif SC","Noto Serif CJK SC",serif;font-size:clamp(42px,6vw,72px);line-height:1.25}.entry-meta{color:var(--gwf-muted)}.entry-content{font-family:"Source Han Serif SC","Noto Serif CJK SC",serif;font-size:19px;line-height:2;letter-spacing:.01em}.entry-content>*{max-width:760px;margin-left:auto;margin-right:auto}.entry-content figure,.entry-content .wp-block-image{max-width:1100px;margin-top:48px;margin-bottom:48px}.site-footer{background:var(--gwf-ink);color:var(--gwf-ivory);padding:80px max(28px,calc((100vw - var(--gwf-max))/2))}.site-footer__inner{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center}.site-footer__motto{color:var(--gwf-gold);font-family:"Source Han Serif SC",serif;font-size:24px}.site-footer__nav{display:flex;gap:28px}.site-footer__service{display:flex;gap:24px;margin-top:32px;color:#c6bdb5;font-size:14px}.site-footer small{display:block;border-top:1px solid #4d413d;margin-top:28px;padding-top:24px;color:#a9a098}.woocommerce .button,.woocommerce button.button,.woocommerce a.button{border-radius:0;background:var(--gwf-ink);color:white;padding:14px 24px}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--gwf-gold)}
@media(max-width:800px){.site-header{height:68px;gap:10px;padding:0 18px}.custom-logo{width:120px}.primary-menu,.header-search{display:none}.mobile-nav{display:block;position:relative;margin-left:auto}.mobile-nav summary{cursor:pointer;list-style:none;font-size:14px}.mobile-nav summary::-webkit-details-marker{display:none}.mobile-nav nav{position:fixed;left:0;right:0;top:68px;max-height:calc(100vh - 68px);overflow:auto;background:var(--gwf-paper);border-top:1px solid var(--gwf-line);padding:22px}.mobile-menu,.mobile-menu ul{list-style:none;margin:0;padding:0}.mobile-menu>li{border-bottom:1px solid var(--gwf-line);padding:14px 0;font-size:18px}.mobile-menu .sub-menu{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;font-size:13px;color:var(--gwf-muted)}.header-tools{gap:8px}.header-shop{padding:8px 10px}.gwf-hero{min-height:78vh}.gwf-hero h1{font-size:58px}.gwf-manifesto{padding:90px 24px}.section-wrap{margin:0 24px 90px}.story-grid{grid-template-columns:1fr}.story-card,.story-card+.story-card{padding:32px 0;border-left:0;min-height:0}.story-card h3{min-height:0}.collection-grid{grid-template-columns:1fr 1fr}.collection-card,.collection-card:nth-child(even){min-height:330px;margin-top:0}.gwf-commerce{grid-template-columns:1fr;margin:0 24px 90px}.gwf-commerce__copy{padding:60px 28px}.site-footer__inner{grid-template-columns:1fr}.site-footer__nav,.site-footer__service{flex-wrap:wrap}}
