/*
 Theme Name: Yan-1 Theme
 Version: 2.5.0
 Description: AGR commercial office furniture theme.
 Author: 建站商
 Text Domain: yan-theme
*/
:root{--agr-navy-900:#526b5e;--agr-navy-800:#40564b;--agr-blue-600:#69876b;--agr-blue-700:#526b5e;--agr-brand-green:#69876b;--agr-brand-green-dark:#526b5e;--agr-brand-green-deep:#40564b;--agr-orange-500:#69876b;--agr-orange-600:#526b5e;--agr-ink:#1a1a1a;--agr-text:#333;--agr-muted:#686868;--agr-border:#dedede;--agr-surface:#f5f5f5;--agr-surface-warm:#f9f9f7;--agr-white:#fff;--agr-sale:#d92d20;--agr-success:#008a45;--agr-font-heading:"Jost",Arial,sans-serif;--agr-font-body:"Nunito Sans",Arial,sans-serif;--agr-container:1400px;--agr-content:1200px;--agr-gutter:32px;--agr-radius-sm:4px;--agr-radius-md:8px;--agr-radius-lg:14px;--yan-shell-fluid:min(calc(100% - 64px),1400px);--yan-shell-single:min(calc(100% - 64px),840px);--yan-radius:8px;--yan-radius-sm:4px;--yan-border:var(--agr-border);--yan-text:var(--agr-ink);--yan-muted:var(--agr-muted);--yan-bg:#fff;--yan-surface:#fff;--yan-surface-muted:var(--agr-surface);--yan-shadow-soft:none;--yan-shadow-hover:0 8px 24px rgba(82,107,94,.08)}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
*,:before,:after{box-sizing:border-box}
body{margin:0;color:var(--agr-text);background:#fff;font:16px/1.65 var(--agr-font-body)}
body.menu-open{overflow:hidden}
a{color:var(--agr-blue-600);text-decoration:none}
a:hover{color:var(--agr-blue-700)}
img{display:block;max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
h1,h2,h3,h4,h5,h6{color:var(--agr-navy-900);font-family:var(--agr-font-heading);font-weight:600;line-height:1.2;letter-spacing:-.015em}
.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}
.screen-reader-text:focus{width:auto;height:auto;clip:auto;top:8px;left:8px;padding:12px 16px;background:#fff;color:var(--agr-navy-900);z-index:99999}
.agr-container{width:min(calc(100% - 64px),var(--agr-container));margin-inline:auto}
.site-main{width:100%;min-height:35vh}
.agr-button,.yan-action-link,.comment-form .submit{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 24px;border:1px solid transparent;border-radius:999px;font-weight:700;line-height:1.2;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.agr-button--primary,.comment-form .submit{background:var(--agr-orange-500);color:#fff}
.agr-button--primary:hover,.comment-form .submit:hover{background:var(--agr-orange-600);color:#fff}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(105,135,107,.42);outline-offset:3px}
.yan-page-shell,.yan-archive-shell,.yan-shop-shell{width:var(--yan-shell-fluid);margin:56px auto 72px}
.yan-single-shell,.single-post .comments-area,.single-product .comments-area{width:var(--yan-shell-single);margin-inline:auto}
.yan-single-shell{margin-top:56px;margin-bottom:72px}
.yan-archive-hero{margin-bottom:40px;padding:40px 0 28px;border-bottom:1px solid var(--agr-border)}
.yan-archive-title{max-width:820px;margin:0;font-size:clamp(34px,4vw,48px);line-height:1.12}
.yan-archive-description{max-width:720px;margin:12px 0 0;color:var(--agr-muted);font-size:18px}
.yan-single-header{margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid var(--agr-border)}
.yan-single-title{margin:0 0 14px;font-size:clamp(36px,4vw,52px);line-height:1.1}
.yan-single-meta{color:var(--agr-muted);font-size:14px}
.yan-single-content{font-size:17px}
.yan-single-content>*{max-width:100%}
.yan-single-content>:first-child{margin-top:0}
.yan-single-content h2{margin:48px 0 16px;font-size:32px}
.yan-single-content h3{margin:36px 0 12px;font-size:25px}
.yan-single-content p,.yan-single-content ul,.yan-single-content ol{margin:0 0 22px}
.yan-single-content blockquote{margin:32px 0;padding:20px 24px;border-left:4px solid var(--agr-orange-500);background:var(--agr-surface-warm);color:var(--agr-navy-800)}
.yan-single-content img{border-radius:var(--agr-radius-md)}
.yan-card-grid,.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0;padding:0;list-style:none}
.yan-card,.woocommerce ul.products li.product{min-width:0;border:1px solid var(--agr-border);border-radius:var(--agr-radius-md);background:#fff;overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s}
.yan-card:hover,.woocommerce ul.products li.product:hover{transform:translateY(-2px);border-color:#c8c8c8;box-shadow:var(--yan-shadow-hover)}
.yan-card-link{display:flex;height:100%;flex-direction:column;color:inherit}
.yan-card-media{aspect-ratio:16/10;overflow:hidden;background:var(--agr-surface)}
.yan-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .25s}
.yan-card:hover .yan-card-media img{transform:scale(1.025)}
.yan-card-body{display:flex;flex:1;flex-direction:column;padding:24px}
.yan-card-title{margin:0 0 10px;font-size:22px}
.yan-card-excerpt{margin-bottom:20px;color:var(--agr-muted)}
.yan-card-excerpt p{margin:0}
.yan-card-meta{margin-top:auto;color:var(--agr-blue-600);font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.navigation.pagination{margin-top:40px}
.navigation.pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px}
.navigation.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;padding:0 14px;border:1px solid var(--agr-border);border-radius:999px;background:#fff;color:var(--agr-navy-900)}
.navigation.pagination .current{border-color:var(--agr-navy-900);background:var(--agr-navy-900);color:#fff}
.yan-empty-state,.yan-notfound-shell{margin-top:56px;margin-bottom:72px;padding:48px 32px;border:1px solid var(--agr-border);border-radius:var(--agr-radius-md);background:var(--agr-surface-warm);text-align:center}
.yan-notfound-title{margin:0 0 12px;font-size:40px}
.yan-empty-text,.yan-notfound-text{color:var(--agr-muted)}
.yan-notfound-actions{margin:24px 0}
.yan-action-link{border-color:var(--agr-navy-900);background:var(--agr-navy-900);color:#fff}
.yan-comments-shell{margin-top:0;margin-bottom:72px;padding-top:32px;border-top:1px solid var(--agr-border)}
.comment-list{padding-left:24px}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;min-height:46px;padding:10px 14px;border:1px solid var(--agr-border);border-radius:var(--agr-radius-sm)}
.comment-form textarea{min-height:160px}
.yan-search-form{display:flex;align-items:center;width:100%;margin:0}
.yan-search-form label{flex:1}
.yan-search-form .search-field{width:100%;height:46px;padding:10px 18px;border:1px solid var(--agr-border);border-radius:999px 0 0 999px;background:#fff;color:var(--agr-text)}
.yan-search-form .search-submit{height:46px;padding:0 20px;border:1px solid var(--agr-navy-900);border-radius:0 999px 999px 0;background:var(--agr-navy-900);color:#fff;font-weight:700;cursor:pointer}
.template-fullwidth .yan-page-content,.yan-template-fullwidth,.yan-template-landing{width:100%;max-width:100%;margin:0}
@media(max-width:1024px){:root{--agr-gutter:24px;--yan-shell-fluid:min(calc(100% - 48px),1200px);--yan-shell-single:min(calc(100% - 48px),840px)}
.agr-container{width:min(calc(100% - 48px),var(--agr-container))}
.yan-card-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){:root{--agr-gutter:16px;--yan-shell-fluid:calc(100% - 32px);--yan-shell-single:calc(100% - 32px)}
.agr-container{width:calc(100% - 32px)}
.yan-page-shell,.yan-archive-shell,.yan-shop-shell,.yan-single-shell{margin-top:40px;margin-bottom:52px}
.yan-archive-hero{margin-bottom:28px;padding:20px 0}
.yan-archive-description{font-size:16px}
.yan-card-grid,.woocommerce ul.products{grid-template-columns:1fr;gap:16px}
.yan-card-body{padding:20px}
.yan-single-content{font-size:16px}
.yan-single-content h2{font-size:27px}
.yan-search-form .search-submit{padding-inline:15px}
.yan-empty-state,.yan-notfound-shell{padding:32px 20px}
}
.yan-single-kicker{margin-bottom:12px;color:var(--agr-blue-600);font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.yan-single-kicker a{color:inherit}
.yan-single-featured{margin:0 0 40px}
.yan-single-featured img{width:100%;max-height:520px;border-radius:var(--agr-radius-md);object-fit:cover}
.yan-post-navigation{margin-top:48px;padding-top:24px;border-top:1px solid var(--agr-border)}
.yan-post-navigation .nav-links{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.yan-post-navigation .nav-next{text-align:right}
.yan-post-navigation a{display:block;font-weight:700}
.yan-post-navigation span{display:block;color:var(--agr-muted);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
