/*
 * Community (Board) sales page, prototype 2026-10-26. No wireframe: marketing's
 * AEO mockup for order and copy, built on-system from the guide's tokens and
 * existing patterns (content head, Key Takeaways numerals, Summit event cards,
 * the contact band). The page takes its Board's practice-area colour.
 *
 * Sections sit in full-width bands that alternate the page background with the
 * guide's sunken surface, as the homepage's peer-intelligence splash does; the
 * member-count row is a white band, as marketing's proof band.
 */

/* Board pages are narrower; the index uses the site container, as the Summits and Insights indexes. */
.community-page:not(.community-index) .wrap{max-width:1216px}
.community-band{padding-block:72px}
.community-band.is-sunken{background:var(--surface-sunken)}
.community-band-hero{padding-block:56px 64px}
.community-band-proof{padding-block:40px;background:var(--surface);border-block:1px solid var(--line)}
.community-band-apply{padding-top:0}
/* When a band in between has no data (e.g. no Working Sessions), two sunken
   bands meet; a hairline keeps them apart ("Impact at three levels"). */
.community-band.is-sunken+.community-band.is-sunken{border-top:1px solid var(--line)}

/* Hero: copy beside the illustration, as the Summits hero (1.05fr / .85fr). */
.community-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.85fr);gap:var(--s-7);align-items:center}
.community-hero .content-head{padding-block:4px}
/* The Board's own logo (the Contentful community logo), above the eyebrow. */
.community-logo{display:block;width:auto;height:88px;max-width:220px;margin:var(--s-5) 0 var(--s-4);object-fit:contain;object-position:left center}
/* Board logos show in black and white (Kristen, 2026-11-12). The library has
   only colour Board files, so the colour file is greyed here; swap in black
   files (boards/<code>-logo-black.png) if design makes them. */
.community-logo,.community-panel-logo{filter:grayscale(1) contrast(1.15)}
.community-hero .eyebrow{color:var(--accent-ink)}
.community-hero h1{max-width:20ch;margin-bottom:var(--s-5)}
.community-hero .body-lead{margin-bottom:var(--s-6)}
.community-cta-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-4)}
.community-art{aspect-ratio:4/3;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md)}
.community-art>img{object-fit:contain;padding:6%}

/* Member count beside the logo wall, one white band under the hero. */
.community-proof{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:var(--s-7);align-items:center}
.community-proof p{margin:0}
.community-proof .eyebrow{margin-bottom:var(--s-3)}
.community-proof-copy .community-stat{margin-bottom:var(--s-2)}
.community-stat{font:500 4.375rem/1 var(--font-display);letter-spacing:-.02em;color:var(--accent-ink)}
.community-proof-line{max-width:28ch;font-size:1.125rem;line-height:1.5;color:var(--ink-900)}
.community-proof .community-proof-functions{max-width:44ch;margin-top:var(--s-4);font-size:.9375rem;line-height:1.6;color:var(--ink-700)}

.community-section{margin-top:var(--s-9)}
.community-heading{max-width:28ch;margin-bottom:var(--s-6)}
.community-section>.eyebrow{margin-bottom:var(--s-3)}

/* The problem: heading beside the copy. */
.community-split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:var(--s-7);align-items:start}
.community-split h2{margin:0}
.community-split p:last-child{margin-bottom:0}

/* Challenges: numbered like Key Takeaways, two by two. */
.community-challenges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-5) var(--s-7);margin:0;padding:0;list-style:none;counter-reset:challenge}
.community-challenges li{counter-increment:challenge;position:relative;padding:4px 0 0 60px;font:500 1.25rem/1.4 var(--font-text);letter-spacing:-.012em;color:var(--ink-900)}
.community-challenges li::before{content:counter(challenge,decimal-leading-zero);position:absolute;top:0;left:0;font:500 1.875rem/1 var(--font-display);color:var(--accent-ink)}

.community-more{margin:var(--s-5) 0 0}

/* Upcoming Working Sessions: the large date beside each title. */
.community-sessions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.session-card{display:grid;grid-template-columns:auto 1fr;gap:var(--s-5);padding:var(--s-5);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md)}
.session-date{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:76px;padding:12px 8px;border-radius:var(--r-sm);background:color-mix(in srgb,var(--accent-soft) 42%,#fff);color:var(--accent-ink);text-align:center}
.session-month{font:500 .75rem/1.4 var(--font-label);letter-spacing:.08em;text-transform:uppercase}
.session-day{font:500 2.625rem/1 var(--font-display)}
.session-card h3{margin:10px 0 8px;font-size:1.25rem;line-height:1.3}
.session-card p{margin:0;font-size:.875rem;line-height:1.6}

/* Impact at three levels. */
.community-impact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.community-impact .card{padding:28px}
.community-impact h3{font-size:1.25rem;line-height:1.3;margin-bottom:var(--s-3)}
.community-impact p:last-child{font-size:.875rem;line-height:1.6}

/* What's included: numbered pillars, intro beside its details. */
.community-included{margin:0;padding:0;list-style:none;counter-reset:pillar;border-top:1px solid var(--line)}
.community-included>li{counter-increment:pillar;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:var(--s-4) var(--s-7);padding:var(--s-6) 0 var(--s-6) 60px;border-bottom:1px solid var(--line);position:relative}
.community-included>li::before{content:counter(pillar,decimal-leading-zero);position:absolute;top:var(--s-6);left:0;font:500 1.875rem/1 var(--font-display);color:var(--accent-ink)}
.included-intro h3{margin-bottom:var(--s-2)}
.included-intro p{margin:0}
.included-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;align-content:flex-start}
.included-tags .included-label{flex-basis:100%;margin:0 0 4px;font:500 1rem/1.4 var(--font-body);color:var(--ink-900)}
.included-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-3) var(--s-5);flex-basis:100%;margin:0;padding:0;list-style:none}
.included-checks li{position:relative;padding-left:28px;font-size:.9375rem;line-height:1.5;color:var(--ink-900)}
.included-checks li::before{content:"";position:absolute;left:2px;top:.3em;width:14px;height:8px;border-left:2px solid var(--ink-900);border-bottom:2px solid var(--ink-900);transform:rotate(-45deg)}
.included-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-4) var(--s-5);margin:0}
.included-details dt,.fit-list dt{font:500 1rem/1.4 var(--font-body);color:var(--ink-900)}
.included-details dd,.fit-list dd{margin:4px 0 0;font-size:.875rem;line-height:1.6;color:var(--ink-700)}

/* Is this you? */
.community-fit{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:var(--s-7);align-items:start}
.community-fit-head .community-heading{font:500 1.875rem/1.2 var(--font-display)}
.community-fit-head .body-lead{margin:0;color:var(--ink-900)}
.community-fit-groups{display:grid;gap:18px}
.community-fit-groups .card{padding:28px}
.fit-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-5);margin:0}

/* Good company: copy only; the logo wall sits in the proof band. */
.community-company{max-width:720px}
.community-company p:last-child{margin-bottom:0}
.community-logos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
.community-logos .media-logo{aspect-ratio:5/2;background:var(--bg);border:1px solid var(--line);border-radius:var(--r-sm)}
.community-logos .media-logo img{filter:grayscale(1);opacity:.8;max-height:48px}
/* Until approved logo files exist the tile shows the company name, marked as a stand-in. */
.logo-placeholder{font:500 1rem/1.3 var(--font-text);color:var(--ink-500);text-align:center}
.community-logos-more{display:grid;place-items:center;margin:0}

/* Summits reuse the Summits page's event cards. */
.community-page .event-card h3{margin:0 0 9px;font:500 1.25rem/1.25 var(--font-text)}

/* Closing apply band: the contact band, larger, with the illustration. */
.community-apply{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:var(--s-7);align-items:center;padding:48px 56px;background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:var(--r-md);scroll-margin-top:24px}
.community-apply h2{max-width:24ch}
.community-apply p{max-width:60ch;margin-bottom:var(--s-5)}
.community-apply-art{width:100%;height:auto}
.community-apply .eyebrow{margin-bottom:var(--s-3)}
.community-apply.has-form{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:start}
.community-apply.has-form .community-apply-copy{position:sticky;top:24px}
.community-apply-form{min-width:0}
.community-apply-form noscript .btn-solid{margin-top:var(--s-3)}

@media (max-width:1100px){
	.community-hero{grid-template-columns:1fr}
	.community-art{max-width:560px}
}

@media (max-width:980px){
	.community-split,.community-fit,.community-included>li,.community-proof{grid-template-columns:1fr}
	.community-band{padding-block:56px}
	.community-band-proof{padding-block:32px}
	.community-band-apply{padding-top:0}
	.community-impact{grid-template-columns:1fr}
	.community-sessions{grid-template-columns:1fr}
	.community-logos{grid-template-columns:repeat(3,minmax(0,1fr))}
	.community-apply,.community-apply.has-form{grid-template-columns:1fr;padding:36px 32px}
	.community-apply.has-form .community-apply-copy{position:static}
	.community-apply-art{max-width:200px}
}

@media (max-width:640px){
	.community-band{padding-block:44px}
	.community-band-proof{padding-block:28px}
	.community-band-hero{padding-top:var(--s-5)}
	.community-band-apply{padding-top:0}
	.community-section{margin-top:var(--s-8)}
	.community-proof{gap:var(--s-5)}
	.community-logo{height:64px}
	.community-stat{font-size:3rem}
	.community-proof-line{font-size:1.125rem}
	.community-challenges,.included-details,.included-checks,.fit-list{grid-template-columns:1fr}
	.community-challenges li{padding-left:48px;font-size:1.125rem}
	.community-included>li{padding-left:44px}
	.community-included>li::before,.community-challenges li::before{font-size:1.6875rem}
	.session-card{grid-template-columns:1fr;gap:var(--s-3)}
	.session-date{flex-direction:row;gap:8px;justify-content:flex-start;min-width:0;width:max-content;padding:6px 12px}
	.session-day{font-size:1.25rem}
	.community-logos{grid-template-columns:repeat(2,minmax(0,1fr))}
	.community-apply{padding:28px 22px}
}

/*
 * Communities index (/communities/), 2026-10-26. The same bands; the proof
 * band adds the directory counts, the value points sit in a numbered row, and
 * "Find your Community" reuses the homepage explorer's pills and cards
 * (content-explorer.css). Rules here are scoped to .community-index and
 * .community-explorer so the homepage explorer is untouched.
 */
/* The hero is the shared page-hero (page-hero.css), spaced as the Summits page's. */
.community-index .community-band-hero{padding-block:56px 0}
.community-proof.is-copy-only{grid-template-columns:1fr}
.community-proof-stats{display:flex;flex-wrap:wrap;gap:var(--s-5) var(--s-8);margin:0}
.community-proof-stats>div{min-width:0}
.community-proof-stats dt{margin-bottom:var(--s-2)}
.community-proof-stats dd{margin:0;max-width:22ch}

/* The value points: numbered like the challenges, three (or four) across. */
.community-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s-6) var(--s-7);margin:0;padding:0;list-style:none;counter-reset:point}
.community-points.has-four{grid-template-columns:repeat(2,minmax(0,1fr))}
.community-points li{counter-increment:point;padding-top:var(--s-5);border-top:1px solid var(--line)}
.community-points li::before{content:counter(point,decimal-leading-zero);display:block;margin-bottom:var(--s-4);font:500 1.875rem/1 var(--font-display);color:var(--accent-ink)}
.community-points h3{margin:0 0 var(--s-3);font-size:1.375rem;line-height:1.3}
.community-points p{margin:0;line-height:1.65}

/* Find your Community: the explorer's pills, a Community panel beside its cards. */
.community-explorer-head{margin-bottom:var(--s-5)}
.community-explorer-head .stories-section-heading{margin-bottom:var(--s-3)}
.community-explorer-head .body-lead{max-width:60ch;margin:0}
.community-explorer .two-row-topic-nav{margin-bottom:var(--s-5)}
/* The value points heading runs on one line where it fits (no orphaned "Community"). */
.community-points-heading{max-width:none;text-wrap:balance}
/* Practice pills take their practice colour, as the homepage explorer's (content-explorer.css, [data-area]). */
.community-explorer .community-panel-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:stretch}
.community-explorer .community-panel-intro{justify-content:flex-start}
/* The left column holds its content and stays beside the taller cards as you scroll. */
.community-explorer .community-panel-grid>.community-panel-intro{position:sticky;top:24px;align-self:start}
.community-explorer .community-panel-intro p+p{margin-top:var(--s-3)}
.community-explorer .community-panel-intro .eyebrow{margin:0 0 var(--s-2);color:var(--accent-ink)}
.community-panel-logo{display:block;width:auto;height:64px;max-width:200px;margin-bottom:var(--s-5);object-fit:contain;object-position:left center}
.community-panel-for{font-size:.9375rem;color:var(--ink-700)}
.community-panel-members{width:100%;margin-top:var(--s-6);padding-top:var(--s-5);border-top:1px solid var(--line)}
.community-panel-count{display:flex;align-items:baseline;gap:8px;margin:0;font:500 .875rem/1.4 var(--font-label);letter-spacing:.04em;text-transform:uppercase;color:var(--ink-700)}
.community-panel-logos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:var(--s-4) 0 0;padding:0;list-style:none}
.community-panel-logos li{display:grid;place-items:center;min-height:52px;padding:8px;background:var(--bg);border:1px solid var(--line);border-radius:var(--r-sm);text-align:center}
.community-panel-logos img{max-width:100%;max-height:32px;filter:grayscale(1);opacity:.8}
.community-panel-logos .logo-placeholder{font-size:.8125rem;line-height:1.25}
.community-panel-stat{font:500 2rem/1 var(--font-display);letter-spacing:-.01em;text-transform:none;color:var(--accent-ink)}
.community-explorer .community-cta-row{margin-top:var(--s-6)}
.community-explorer .community-cta-row .link-arrow{margin-top:0}
.community-panel-intro.is-empty{max-width:760px}
.community-session-card .session-card{padding:0;border:0;background:none}
.community-session-card h5{margin:0 0 8px;font:500 1.125rem/1.35 var(--font-text)}

@media (max-width:980px){
	.community-points,.community-points.has-four{grid-template-columns:1fr;gap:var(--s-5)}
	.community-explorer .community-panel-grid{grid-template-columns:1fr}
	.community-explorer .community-panel-grid>.community-panel-intro{position:static}
}

@media (max-width:640px){
	.community-index .community-band-hero{padding-top:var(--s-5)}
	.community-panel-logo{height:52px}
	.community-points h3{font-size:1.25rem}
}
