/* Shared community page: real activity photos, participation, and member support. */
.community-page{--ink:#1a1a1a;--text:#505050;--muted:#696969;--line:#dedede;--soft:#f6f6f5;--white:#fff;--control:#f0f0ef;--brand:#000;--brand-contrast:#000;--community-photo-height:240px;background:#fff;color:var(--ink)}
[data-theme="dark"] .community-page{--ink:#efefef;--text:#c6c6c6;--muted:#a3a3a3;--line:#363636;--soft:#191919;--white:#111;--control:#262626;--brand:#eee;--brand-contrast:#eee;background:#111;color:var(--ink)}
.community-page .community-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.community-page .community-hero{max-width:1200px;margin-inline:auto;padding:72px 24px 64px;text-align:left}
.community-page .community-hero h1{font-size:clamp(36px,4.2vw,52px);line-height:1.24;letter-spacing:-.035em;font-weight:600;margin:0 0 22px}
.community-page .community-hero .eyebrow{margin-bottom:18px;font-size:11px;color:var(--muted)}
.community-page .community-hero .lead{max-width:760px;margin:0 0 28px;font-size:18px;line-height:1.85;color:var(--text)}
.community-page .community-hero .actions{justify-content:flex-start;gap:14px}
.community-page .btn{background:var(--brand);border-color:var(--brand);color:var(--white);min-height:48px;font-size:14px;line-height:1.5;border-radius:4px;padding:12px 22px}
.community-page .btn.light{color:var(--ink);background:var(--control);border-color:var(--control)}
.community-page .btn:hover{background:#303030;color:#fff;border-color:#303030}
.community-page .btn.light:hover{background:var(--line);color:var(--ink);border-color:var(--line)}
.community-page .community-hero .btn{width:176px;min-width:0;max-width:100%;justify-content:center}
.community-page .community-activities{padding-top:0;padding-bottom:0}
.community-group{padding:64px 0;background:var(--white);scroll-margin-top:94px}
.community-group-open{padding-top:24px}
.community-group-practice{background:var(--soft)}
.community-group-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:0}
.community-group-copy{min-width:0;max-width:820px}
.community-group-copy h2{font-size:34px;font-weight:500;line-height:1.4;letter-spacing:-.025em;margin:0}
.community-group-copy>p{font-size:16px;line-height:1.85;color:var(--text);margin:14px 0 0}
.community-group-copy>.community-participation-type{font-size:13px;color:var(--muted);margin-top:14px}
.community-gallery{padding:36px 0;border:0;scroll-margin-top:96px;min-width:0}
.community-group .community-gallery:last-of-type{padding-bottom:0}
.community-gallery-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:20px}
.community-gallery-heading{min-width:0}
.community-gallery-heading h3{font-size:26px;font-weight:500;line-height:1.45;letter-spacing:-.025em;margin:0}
.community-gallery-heading p{font-size:16px;line-height:1.75;color:var(--text);margin:9px 0 0}
.community-gallery-navigation{display:flex;align-items:center;gap:18px;flex:none}
.community-gallery-count{font-size:12px;line-height:1.7;color:var(--muted);white-space:nowrap}
.community-gallery-controls{display:flex;gap:8px}
.community-gallery-controls[hidden]{display:none}
.community-gallery-controls button{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:4px;padding:0;background:transparent;color:var(--ink);cursor:pointer}
.community-gallery-controls svg{display:block;width:20px;height:20px}
.community-gallery-controls button:hover:not(:disabled){background:var(--soft);border-color:var(--muted)}
.community-gallery-controls button:disabled{opacity:.3;cursor:default}
.community-gallery-controls button:focus-visible,.community-photo-rail:focus-visible,.community-photo a:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.community-photo-rail{position:relative;display:flex;align-items:flex-start;gap:16px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:var(--line) transparent;padding:0 0 12px;max-width:100%}
.community-photo-rail::-webkit-scrollbar{height:5px}
.community-photo-rail::-webkit-scrollbar-thumb{background:var(--line)}
.community-photo{margin:0;flex:0 0 auto;width:calc(var(--community-photo-height) * var(--photo-ratio));max-width:none;min-width:0;scroll-snap-align:start}
.community-photo a{display:block;border-radius:4px}
.community-photo img{display:block;width:auto;height:var(--community-photo-height);max-width:none;border:0;border-radius:4px;object-fit:contain;filter:none}

.community-page .community-archive-note{font-size:13px;line-height:1.85;color:var(--muted);margin:20px 0 0;padding:0}
.community-invitation{padding:64px 0 0;background:var(--white);scroll-margin-top:94px}
.community-invitation h2{font-size:clamp(27px,3vw,34px);line-height:1.5;letter-spacing:-.025em;font-weight:500;max-width:900px;margin:0}
.community-invitation-copy{max-width:820px;font-size:16px;line-height:1.9;color:var(--text);margin:18px 0 0}
.community-invitation .participation-links{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:28px}
.community-invitation .btn{min-width:200px}
.community-memberships{padding-top:56px;padding-bottom:72px;scroll-margin-top:94px}
.community-page .community-memberships .section-head{display:block;margin-bottom:34px}
.community-memberships .section-head h2{font-size:32px;font-weight:500;line-height:1.45;letter-spacing:-.025em}
.community-page .community-memberships .section-head>p{max-width:800px!important;margin:16px 0 0!important;font-size:16px;line-height:1.85;color:var(--text)}
.member-rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;align-items:start;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.member-row{min-width:0;border:0;padding:28px 0 20px}
.member-row:last-child{border-bottom:0}

.member-identity h3{font-size:23px;font-weight:500;line-height:1.5;margin:0 0 10px;letter-spacing:-.02em}
.member-identity p{font-size:15px;color:var(--text);line-height:1.85;max-width:420px;margin:0}





.member-expanded{padding:20px 0 0;border:0;margin:0}

.member-entitlements{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin:0}
.member-entitlements dt{font-size:15px;font-weight:500;color:var(--ink);line-height:1.8;margin-bottom:4px}
.member-entitlements dd{margin:0;font-size:15px;color:var(--text);line-height:1.85}
.community-page .member-expanded .more{padding:22px 0 0;font-size:13px;color:var(--text);line-height:1.9;max-width:900px}
.community-membership-note{font-size:13px;line-height:1.85;color:var(--muted);margin:24px 0 0;max-width:900px}
@media(max-width:900px){.community-page .community-hero{padding-top:60px;padding-bottom:52px}.community-group{padding:64px 0}.community-group-open{padding-top:24px}.community-group-head{gap:24px;flex-direction:column;align-items:flex-start}.community-gallery{padding:36px 0}.community-gallery-head{gap:24px}.community-invitation{padding-top:64px}.member-rows{gap:24px}.community-memberships{padding-top:52px;padding-bottom:56px}}
@media(max-width:760px){.member-rows{grid-template-columns:1fr;gap:0;border:0}.member-row{display:block;border-top:1px solid var(--line);padding:24px 0 16px}.member-row:last-child{border-bottom:1px solid var(--line)}}
@media(max-width:640px){.community-page{--community-photo-height:176px}.community-page .community-hero{padding:48px 20px 44px}.community-page .community-hero h1{font-size:36px;margin-bottom:18px}.community-page .community-hero .lead{font-size:16px;line-height:1.8;margin-bottom:24px}.community-group{padding:48px 0}.community-group-open{padding-top:16px}.community-group-head{gap:20px}.community-group-copy h2{font-size:28px}.community-group-copy>p{font-size:15px;margin-top:12px}.community-group-copy>.community-participation-type{font-size:13px}.community-gallery{padding:30px 0}.community-gallery-head{gap:16px;margin-bottom:22px}.community-gallery-heading h3{font-size:23px}.community-gallery-heading p{font-size:15px;margin-top:8px}.community-gallery-navigation{flex-direction:column-reverse;align-items:flex-end;gap:6px}.community-gallery-count{font-size:11px}.community-page .community-archive-note{margin-top:18px}.community-invitation{padding:48px 0 0}.community-invitation h2{font-size:27px}.community-invitation-copy{font-size:15px;margin-top:16px}.community-invitation .participation-links{max-width:300px;gap:12px;margin-top:24px}.community-invitation .btn{width:100%;min-width:0;max-width:none}.community-memberships{padding-top:52px;padding-bottom:48px}.community-memberships .section-head h2{font-size:27px}.community-page .community-memberships .section-head>p{font-size:15px}.member-row{padding-top:24px;padding-bottom:16px}.member-identity h3{font-size:22px}.member-entitlements{grid-template-columns:1fr;gap:18px}.member-expanded{padding-top:20px}.community-page .member-expanded .more{font-size:13px}.community-membership-note{font-size:13px}}
@media(prefers-reduced-motion:reduce){.community-photo-rail{scroll-behavior:auto}}
@media print{.community-page,[data-theme="dark"] .community-page{--community-photo-height:110px;background:#fff!important;color:#111!important;--ink:#111;--text:#333;--muted:#555;--line:#ccc;--white:#fff;--soft:#fff}.community-page .community-hero{padding:20px 0}.community-page .community-hero h1{font-size:30px}.community-hero .actions,.community-gallery-navigation,.community-invitation .participation-links{display:none!important}.community-group{padding:28px 0;background:#fff!important;break-inside:auto}.community-group-head{display:block;break-after:avoid}.community-group-copy h2{font-size:26px}.community-group-copy>p{font-size:12px}.community-group-copy>.community-participation-type{font-size:10px}.community-gallery{padding:20px 0;break-inside:auto}.community-gallery-head{break-after:avoid}.community-gallery-heading h3{font-size:22px}.community-photo-rail{display:flex;overflow:visible;flex-wrap:wrap;gap:12px}.community-photo{break-inside:avoid}.community-invitation{padding:28px 0 0}.community-memberships{padding:28px 0}.member-row{break-inside:avoid}.member-expanded{display:block!important}.member-entitlements{grid-template-columns:minmax(0,1fr)}.community-page .community-archive-note,.community-membership-note{font-size:10px}}

/* Community experts: portraits and concise professional backgrounds. */
.community-experts{padding-top:48px;scroll-margin-top:94px}
.community-group-open #community-partners{padding-bottom:0}
.community-experts-head{margin-bottom:26px;max-width:820px}
.community-experts-kicker{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 12px}
.community-experts-head h3{font-size:30px;font-weight:500;line-height:1.4;letter-spacing:-.025em;margin:0}
.community-experts-intro{font-size:16px;line-height:1.85;color:var(--text);margin:14px 0 0}
.community-expert-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:36px;row-gap:40px}
.community-expert{display:grid;grid-template-columns:88px minmax(0,1fr);gap:20px;align-items:start;min-width:0}
.community-expert-avatar{position:relative;width:88px;height:88px;border-radius:50%;overflow:hidden;background:var(--control)}
.community-expert-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.community-expert-avatar-hu-mengyao img{position:absolute;width:210%;max-width:none;height:auto;left:50%;top:-7%;transform:translateX(-50%)}
.community-expert-avatar-ma-ying img{position:absolute;width:140%;max-width:none;height:auto;left:42%;top:2%;transform:translateX(-50%)}
.community-expert-avatar-cece img{position:absolute;width:180%;max-width:none;height:auto;left:25%;top:0;transform:translateX(-50%)}
.community-expert-copy{min-width:0;width:max-content;max-width:100%}
.community-expert-copy h4{font-size:20px;font-weight:500;line-height:1.5;color:var(--ink);margin:0 0 8px}
.community-expert-current{font-size:15px;line-height:1.75;color:var(--text);margin:0 0 6px;overflow-wrap:anywhere}
.community-expert-past{font-size:14px;line-height:1.8;color:var(--muted);margin:0;max-width:min(100%,var(--expert-title-width,14em));overflow-wrap:anywhere}
.community-expert-past+.community-expert-past{margin-top:4px}
@media(max-width:900px){.community-expert-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.community-experts{padding-top:44px}}
@media(max-width:640px){.community-expert-grid{grid-template-columns:minmax(0,1fr)}.community-experts{padding-top:40px}.community-experts-head{margin-bottom:26px}.community-experts-head h3{font-size:27px}.community-experts-intro{font-size:15px}}
@media print{.community-experts{padding-top:28px}.community-expert{break-inside:avoid}.community-expert-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}}

/* Community facts and a single membership enquiry entry. */
.community-page .community-facts{padding-bottom:36px}
.community-facts dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0}
.community-facts dl>div{display:flex;flex-direction:column-reverse;align-items:flex-start;min-width:0}
.community-facts dt{margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.7}
.community-facts dd{margin:0;color:var(--ink);font-size:28px;font-weight:500;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-.025em}
.community-membership-actions{margin-top:24px}
.community-gallery-count{font-size:11px;color:var(--muted)}
@media(max-width:640px){.community-page .community-facts{padding-bottom:24px}.community-facts dl{gap:14px}.community-facts dt{font-size:11px}.community-facts dd{font-size:24px}}
@media print{.community-page .community-facts{padding-bottom:16px}.community-facts dd{font-size:20px}.community-membership-actions{display:none}}
