/*
Theme Name: CCHYSD
Description: Purpose-built presentation layer for the Chinese-first CCHYSD rebuild.
Template: hello-elementor
Version: 0.1.0
Text Domain: cchysd
*/
/* Approved Chinese visual system; shared header and focus behaviour. */

body{color:var(--cch-ink);font-family:var(--cch-font);background:var(--cch-paper)}a{color:var(--cch-action)}:focus-visible{outline:3px solid var(--cch-focus);outline-offset:4px}.cch-site-header{background:var(--cch-surface);border-bottom:1px solid var(--cch-border);position:relative;z-index:30}.cch-header-inner{max-width:1200px;margin:auto;padding:24px 32px 0}.cch-brand-line{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:22px}.cch-logo img{width:320px;height:auto;display:block}.cch-header-book{background:var(--cch-action);color:var(--cch-surface);padding:12px 22px;border-radius:8px;text-decoration:none;min-height:48px;white-space:nowrap}.cch-header-book:hover,.cch-header-book:focus{color:var(--cch-surface);background:var(--cch-action-hover)}.cch-site-header .cch-global-nav .cch-toggle{border:0;font-weight:600;padding:14px 8px;min-height:48px;background:var(--cch-surface);color:var(--cch-ink)}.cch-site-header .cch-toggle[aria-expanded=true]{color:var(--cch-action);background:var(--cch-paper)}.cch-unavailable{display:block;padding:10px 0;color:var(--cch-muted)}.cch-unavailable small{display:block;font-size:12px}.cch-site-header .cch-panel{line-height:1.7}.cch-site-header .cch-panel p{margin:0 0 16px}.cch-site-header .cch-panel .button{color:var(--cch-surface)}.cch-skip{position:absolute;top:8px;left:-10000px;z-index:1000;background:var(--cch-surface);padding:12px}.cch-skip:focus{left:12px}.cch-site-header .cch-mobile{color:var(--cch-ink);background:var(--cch-surface)}.cch-site-header .cch-mobile span{float:right}
@media(max-width:1024px){.cch-header-inner{padding:18px 24px}.cch-brand-line{padding-bottom:16px}.cch-site-header .cch-top{border-bottom:1px solid var(--cch-border)}.cch-site-header .cch-toggle{width:100%;text-align:left}.cch-site-header .cch-panel{position:static}.cch-header-book{padding:12px 16px}}
@media(max-width:600px){.cch-header-inner{padding:16px}.cch-logo img{width:210px;max-width:100%}.cch-brand-line{gap:16px}.cch-header-book{font-size:14px;padding:12px}.cch-logo{min-width:0}.cch-site-header .cch-panel{padding:20px}}
.cch-site-header .cch-mobile{display:none}
@media(max-width:1024px){.cch-site-header .cch-mobile{display:block;width:100%}}

/* Bilingual privacy pages use the same readable content layout. */
body.privacy-policy:not([class*="elementor-page-"]) .site-main{width:min(calc(100% - 48px),1120px);max-width:none;margin-inline:auto;padding-inline:0}
.cch-privacy-policy.cch-article-reading{width:min(100%,1020px);margin:48px auto 80px;line-height:1.75;overflow-wrap:anywhere}
.cch-privacy-policy h1{font-size:clamp(2rem,3vw,2.75rem);line-height:1.2;margin:0 0 24px}
.cch-privacy-policy h2{font-size:clamp(1.35rem,2vw,1.65rem);line-height:1.35;margin:36px 0 12px}
.cch-privacy-policy p{margin:0 0 16px}
.cch-privacy-intro{color:var(--cch-muted)}
@media(max-width:1024px){body.privacy-policy:not([class*="elementor-page-"]) .site-main{width:min(calc(100% - 40px),1120px)}}
@media(max-width:767px){body.privacy-policy:not([class*="elementor-page-"]) .site-main{width:min(calc(100% - 32px),1120px)}}
@media(max-width:600px){.cch-privacy-policy{margin-block:32px 56px}}
