/* Community listings share the site's established navy, gold and white shell. */
.ec-community { overflow-wrap:anywhere; }
.ec-community .ec-eyebrow { margin:0 0 .8rem; font-size:.74rem; letter-spacing:.13em; text-transform:uppercase; font-weight:750; line-height:1.65; }
.ec-community h1,.ec-community h2,.ec-community h3 { letter-spacing:-.035em; line-height:1.15; }
.ec-community-hero { padding-block:clamp(3rem,7vw,6rem); background:var(--ec-navy); color:var(--ec-white); border-bottom:5px solid var(--ec-gold); }
.ec-community-hero-inner { display:grid; grid-template-columns:1.5fr 1fr; gap:clamp(2rem,7vw,7rem); align-items:center; }
.ec-community-hero .ec-eyebrow,.ec-community-hero-link { color:var(--ec-gold); }
.ec-community-hero h1 { font-size:clamp(2.5rem,5vw,4.6rem); max-width:13ch; margin:.5rem 0 1.5rem; }
.ec-community-lead { font-size:1.15rem; line-height:1.8; max-width:48ch; }
.ec-community-lead p { margin:0; }
.ec-community-hero-link { display:inline-flex; gap:1rem; padding-block:1rem; margin-top:1rem; text-decoration:none; font-weight:700; }
.ec-community-impact { border:1px solid #9b8c6a; padding:clamp(1.5rem,4vw,3rem); position:relative; background:var(--ec-navy-secondary); }
.ec-community-impact:before { content:""; width:3rem; height:4px; background:var(--ec-gold); position:absolute; top:-2px; left:2rem; }
.ec-community-impact p { margin:0 0 1rem; font-weight:650; }
.ec-community-impact strong { display:block; color:var(--ec-gold); font-size:clamp(2.5rem,4.2vw,4rem); line-height:1.2; letter-spacing:-.04em; }
.ec-community-impact span,.ec-community-impact small { display:block; margin-top:1rem; color:#e2e8ee; }
.ec-community-year-content { padding-block:clamp(2.5rem,5vw,4.5rem); }
.ec-community-section-heading { display:flex; align-items:center; justify-content:space-between; gap:2rem; }
.ec-community-section-heading h2 { margin:.5rem 0; font-size:clamp(1.8rem,3vw,2.5rem); }
.ec-community-year-total { text-align:right; flex-shrink:0; }
.ec-community-year-total strong { display:block; font-size:1.8rem; }
.ec-community-year-total span { font-size:.8rem; }
.ec-community-period { max-width:75ch; color:var(--ec-navy-secondary); line-height:1.8; margin:.5rem 0 2.5rem; font-size:.93rem; }
.ec-community-stories { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem; align-items:stretch; }
.ec-community-story { display:flex; flex-direction:column; min-width:0; background:var(--ec-white); border:1px solid #e3e1d9; border-radius:.35rem; overflow:hidden; scroll-margin-top:1.5rem; }
.ec-community-photo { margin:0; min-width:0; background:#efede6; }
.ec-community-photo a { display:block; text-align:center; }
.ec-community-photo img { display:block; width:auto; max-width:100%; height:auto; max-height:27rem; margin-inline:auto; }
.ec-community-photo figcaption { padding:.85rem 1.15rem; font-size:.79rem; line-height:1.65; color:var(--ec-navy-secondary); background:#f4f2ec; }
.ec-community-story-copy { padding:clamp(1.4rem,3vw,2rem); }
.ec-community-story h3 { font-size:1.6rem; margin:1rem 0; }
.ec-community-story-meta { display:flex; gap:.7rem; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.ec-community-story-meta > span { text-transform:uppercase; letter-spacing:.08em; font-size:.66rem; font-weight:750; }
.ec-community-story-meta strong { border-radius:.2rem; padding:.3rem .65rem; background:#f7edda; font-size:1.05rem; }
.ec-community-description { font-size:.94rem; line-height:1.85; }
.ec-community-description p { margin:0 0 1rem; }
.ec-community-date { font-size:.8rem; color:var(--ec-navy-secondary); }
.ec-community-story--featured { border-color:#a78336; border-top:4px solid var(--ec-gold); }
/* Collapsed cards stretch with their row; the disclosure sits at the bottom. */
.ec-community-story-heading { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-areas:"photo copy"; align-items:start; gap:1.1rem; padding:1.4rem 1.4rem 0; }
.ec-community-story--text .ec-community-story-heading { grid-template-columns:minmax(0,1fr); grid-template-areas:"copy"; }
.ec-community-story-heading .ec-community-story-copy { grid-area:copy; padding:0; }
.ec-community-story-heading h3 { font-size:clamp(1.2rem,2vw,1.6rem); }
.ec-community-photo--main { grid-area:photo; background:transparent; width:100%; max-width:100%; justify-self:center; }
.ec-community-photo--main img { max-height:18rem; }
.ec-community-story:not(:has(> .ec-community-disclosure[open])) .ec-community-photo--main figcaption { display:none; }
.ec-community-excerpt { margin:1.2rem 1.4rem 0; font-size:.94rem; line-height:1.8; }
.ec-community-disclosure { position:relative; margin-top:auto; padding:1.1rem 1.4rem 1.4rem; }
.ec-community-disclosure > summary,.ec-community-collapse { cursor:pointer; width:fit-content; max-width:100%; min-height:44px; padding:.6rem .9rem; border:1px solid var(--ec-navy); border-radius:.2rem; font:inherit; font-weight:700; background:var(--ec-white); color:var(--ec-navy); line-height:1.5; }
.ec-community-disclosure > summary:hover,.ec-community-collapse:hover { background:#f7edda; }
.ec-community-disclosure > summary:focus-visible,.ec-community-collapse:focus-visible { outline:3px solid #916600; outline-offset:4px; }
.ec-community-read-less,.ec-community-disclosure[open] .ec-community-read-more { display:none; }
.ec-community-disclosure[open] .ec-community-read-less { display:inline; }
/* The native summary is also at the bottom when JavaScript is unavailable. */
.ec-community-disclosure[open] { margin-top:0; padding-bottom:5.5rem; }
.ec-community-disclosure[open] > summary { position:absolute; bottom:1.4rem; }
.ec-community-story--enhanced .ec-community-disclosure[open] { padding-bottom:1.4rem; }
.ec-community-story--enhanced .ec-community-disclosure[open] > summary { display:none; }
.ec-community-story:has(> .ec-community-disclosure[open]) { grid-column:1/-1; }
.ec-community-story:has(> .ec-community-disclosure[open]) > .ec-community-excerpt { display:none; }
/* Expanded headers put the title above the photograph instead of leaving a tall empty side column. */
.ec-community-story:has(> .ec-community-disclosure[open]) .ec-community-story-heading { grid-template-columns:minmax(0,1fr); grid-template-areas:"copy" "photo"; gap:1.5rem; width:100%; max-width:944px; margin-inline:auto; padding:2rem 2rem 0; }
.ec-community-story--text:has(> .ec-community-disclosure[open]) .ec-community-story-heading { grid-template-areas:"copy"; }
.ec-community-story:has(> .ec-community-disclosure[open]) .ec-community-story-meta { justify-content:flex-start; }
.ec-community-story:has(> .ec-community-disclosure[open]) h3 { margin:.7rem 0 0; font-size:clamp(1.6rem,3vw,2.3rem); }
.ec-community-story:has(> .ec-community-disclosure[open]) .ec-community-photo--main { max-width:700px; }
.ec-community-story:has(> .ec-community-disclosure[open]) .ec-community-photo--portrait { max-width:580px; }
.ec-community-story:has(> .ec-community-disclosure[open]) .ec-community-photo--main img { width:100%; height:auto; max-height:none; }
.ec-community-story-body { padding-top:1rem; }
.ec-community-prose,.ec-community-story-actions { width:100%; max-width:880px; margin-inline:auto; }
.ec-community-prose { font-size:.96rem; line-height:1.85; }
.ec-community-description { max-width:none; }
.ec-community-story-actions { margin-top:1.75rem; }
.ec-community-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.ec-community-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem; max-width:1100px; margin:1.5rem auto 0; align-items:start; }
.ec-community-gallery .ec-community-photo { width:100%; }
.ec-community-gallery .ec-community-photo img { width:100%; height:auto; max-height:none; }
.ec-community-story blockquote { margin:1.5rem 0; padding:1rem 1.2rem; background:#f6f2e8; border-left:3px solid var(--ec-gold); font-size:.93rem; line-height:1.8; }
.ec-community-story blockquote p { margin:0 0 .6rem; }
.ec-community-story blockquote cite { font-size:.8rem; }
.ec-community-link { display:inline-block; padding-block:.6rem; text-underline-offset:.25em; font-weight:700; font-size:.9rem; }
.ec-community-support-grid { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:3rem; align-items:start; padding-top:4rem; }
.ec-community-supported h2,.ec-community-fundraising h2 { font-size:1.8rem; margin:.6rem 0 1.5rem; }
.ec-community-supported table { width:100%; border-collapse:collapse; background:var(--ec-white); font-size:.9rem; line-height:1.7; }
.ec-community-supported caption { text-align:left; padding:0 0 1rem; font-size:.8rem; color:var(--ec-navy-secondary); }
.ec-community-supported th,.ec-community-supported td { padding:.9rem 1rem; border-bottom:1px solid #e0ded6; text-align:left; vertical-align:top; }
.ec-community-supported td,.ec-community-supported thead th:last-child { text-align:right; }
.ec-community-supported tbody th { font-weight:500; }
.ec-community-supported thead,.ec-community-supported tfoot { background:var(--ec-navy); color:var(--ec-white); }
.ec-community-supported a { color:var(--ec-navy); text-underline-offset:.2em; }
.ec-community-supported tfoot th,.ec-community-supported tfoot td { font-weight:700; border-bottom:0; }
.ec-community-fundraising { background:#eee9dd; padding:2rem; border-top:4px solid var(--ec-gold); border-radius:.2rem; }
.ec-community-fundraising article+article { margin-top:2rem; padding-top:2rem; border-top:1px solid #d1c8b3; }
.ec-community-fundraising h3 { font-size:1.35rem; }
.ec-community-fundraising p { line-height:1.8; font-size:.93rem; }
.ec-community-fundraising .ec-community-fundraising-note { font-size:.8rem; }
.ec-community-raised strong { font-size:1.7rem; }
.ec-community-archive { border-top:1px solid #d6d1c5; margin-bottom:1.5rem; }
.ec-community-archive > summary { padding:1.5rem 0; cursor:pointer; font-weight:700; font-size:1.25rem; }
.ec-community-archive > summary span+span { padding-left:1rem; font-weight:400; font-size:1rem; }
.ec-community-archive .ec-container { width:100%; }
.ec-community-closing { padding-block:clamp(3rem,6vw,5rem); background:#eee9dd; border-top:1px solid #e0d8c9; }
.ec-community-closing h2 { margin:.7rem 0 1.5rem; font-size:clamp(1.9rem,3vw,2.6rem); }
.ec-community-closing .ec-container { max-width:52rem; text-align:center; }
.ec-community-closing p,.ec-community-closing .ec-container > div { line-height:1.85; }
.ec-community-empty { padding-block:3rem; }
.ec-community-hero :focus-visible { outline-color:var(--ec-gold); }
@media(max-width:800px) { .ec-community-hero-inner,.ec-community-support-grid { grid-template-columns:minmax(0,1fr); }.ec-community-hero h1 { max-width:none; }.ec-community-impact { max-width:30rem; }.ec-community-support-grid { gap:2rem; } }
@media(max-width:600px) { .ec-community-stories,.ec-community-gallery { grid-template-columns:minmax(0,1fr); }.ec-community-section-heading { align-items:start; flex-direction:column; gap:.3rem; }.ec-community-year-total { text-align:left; margin:.5rem 0; }.ec-community-story-copy,.ec-community-fundraising { padding:1.3rem; }.ec-community-supported th,.ec-community-supported td { padding:.75rem .6rem; }.ec-community-supported table { font-size:.84rem; }.ec-community-photo--main img { max-height:18rem; }.ec-community-story-heading { gap:.8rem; padding:1.1rem 1.1rem 0; }.ec-community-story:has(> .ec-community-disclosure[open]) .ec-community-story-heading { padding:1.1rem 1.1rem 0; }.ec-community-disclosure { padding:1rem 1.1rem 1.1rem; }.ec-community-excerpt { margin:1rem 1.1rem 0; }.ec-community-period { margin-top:1rem; } }

/* Supporting story photographs flow only when the shared renderer selects one. */
.ec-community-description { display:flow-root; }
.ec-community-inline-photo { float:right; width:42%; margin:.25rem 0 1.25rem 1.5rem; }
.ec-community-inline-photo .ec-community-photo img { width:100%; height:auto; max-height:none; }
.ec-community-description h4,.ec-community-description h5,.ec-community-description h6 { margin:1.5rem 0 .8rem; line-height:1.3; }
.ec-community-description h4 { font-size:1.45rem; }
.ec-community-description h5 { font-size:1.25rem; }
.ec-community-description h6 { font-size:1.1rem; }
.ec-community-description ul,.ec-community-description ol { overflow:hidden; padding-inline-start:1.5rem; margin:0 0 1rem; }
.ec-community-description li { margin-block:.4rem; }
.ec-community-description a { text-decoration:underline; text-underline-offset:.2em; }
.ec-community-description pre { overflow:auto; max-width:100%; }
.ec-community-gallery--single { grid-template-columns:minmax(0,700px); justify-content:center; }
@media(max-width:800px) { .ec-community-inline-photo { float:none; width:100%; max-width:700px; margin:1.25rem auto; } }
