/* Ensure the HTML hidden attribute always wins over component display rules. */
.community-body [hidden] { display: none !important; }

.community-body {
  --community-accent: var(--lime);
  --community-blue: var(--accent);
  --community-coral: var(--coral);
  min-height: 100vh;
}

.community-body a { color: inherit; text-decoration: none; }
.community-body button,
.community-body input,
.community-body select { font: inherit; }
.community-body svg { width: 1rem; height: 1rem; flex: 0 0 auto; }

.community-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgb(var(--ink-rgb) / .9);
  backdrop-filter: blur(18px);
}

.community-header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.community-brand { display: inline-flex; align-items: baseline; gap: .65rem; justify-self: start; }
.community-brand span { font-weight: 700; letter-spacing: -.04em; color: var(--pale); }
.community-brand small { color: var(--lime); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }

.community-main-nav { display: flex; align-items: center; gap: 1.8rem; }
.community-main-nav a { color: var(--mist); font-size: .82rem; }
.community-main-nav a:hover,
.community-main-nav a[aria-current="page"] { color: var(--white); }
.community-main-nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: .45rem; background: var(--lime); }

.community-header-action {
  justify-self: end;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 0 .9rem;
  border: 1px solid var(--line);
  color: var(--pale);
  font-size: .75rem;
}
.community-header-action:hover { border-color: rgb(var(--lime-rgb) / .5); background: rgb(var(--lime-rgb) / .06); }

.community-hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: 5.5rem 6.5rem;
}
.community-kicker,
.community-section-label,
.community-list-kicker {
  margin: 0;
  color: var(--mist);
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.community-hero h1 {
  margin: 1.3rem 0 1.5rem;
  color: var(--pale);
  font-size: clamp(3rem, 7vw, 6.9rem);
  line-height: .92;
  font-weight: 500;
  letter-spacing: -.072em;
}
.community-hero h1 span { color: var(--lime); }
.community-hero-copy > p:not(.community-kicker) { max-width: 690px; margin: 0 0 2rem; color: var(--mist); font-size: clamp(1rem, 1.7vw, 1.25rem); line-height: 1.75; }

.community-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .7rem 1.05rem;
  border: 1px solid rgb(var(--line-rgb) / .24);
  color: var(--pale);
  font-size: .8rem;
  transition: .2s ease;
}
.community-button:hover { border-color: rgb(var(--white-rgb) / .4); color: var(--white); transform: translateY(-1px); }
.community-button.primary { border-color: var(--lime); background: var(--lime); color: var(--ink); font-weight: 700; }
.community-button.primary:hover { background: var(--white); border-color: var(--white); }

.community-hero-board { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--line); gap: 1px; }
.community-hero-board article { min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; background: rgb(var(--panel-rgb) / .88); }
.community-hero-board span { color: var(--pale); font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 500; letter-spacing: -.07em; }
.community-hero-board p { margin: 0; color: var(--mist); font-size: .78rem; line-height: 1.5; }

.community-install-notice { margin-bottom: 4rem; display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border: 1px solid rgb(var(--warning-rgb) / .38); background: rgb(var(--warning-rgb) / .07); }
.community-install-notice > svg { width: 1.3rem; height: 1.3rem; color: var(--warning); }
.community-install-notice strong { color: var(--white); }
.community-install-notice p { margin: .35rem 0 0; color: var(--mist); }

.community-discovery { padding-block: 4rem 5rem; border-top: 1px solid var(--line); }
.community-section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.community-section-head h2,
.community-profile-section h2 { margin: .55rem 0 0; color: var(--pale); font-size: clamp(1.9rem, 3.5vw, 3.35rem); font-weight: 500; letter-spacing: -.052em; }
.community-clear { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .8rem; border: 0; background: transparent; color: var(--mist); cursor: pointer; }
.community-clear:hover { color: var(--white); }

.community-intents { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--line); gap: 1px; }
.community-intent { min-height: 210px; display: flex; flex-direction: column; align-items: flex-start; padding: 1.25rem; border: 0; background: var(--panel); color: inherit; text-align: left; cursor: pointer; transition: .2s ease; }
.community-intent > svg { width: 1.4rem; height: 1.4rem; color: var(--lime); }
.community-intent span { margin-top: auto; color: var(--pale); font-size: .9rem; font-weight: 600; line-height: 1.25; }
.community-intent small { min-height: 3.4em; margin-top: .55rem; color: var(--mist); font-size: .68rem; line-height: 1.55; }
.community-intent:hover,
.community-intent.is-active { background: var(--surface-alt); box-shadow: inset 0 -3px 0 var(--lime); }
.community-intent.is-active > svg { color: var(--white); }

.community-browser { padding-bottom: 7rem; }
.community-browser-toolbar { display: grid; grid-template-columns: minmax(280px, 1fr) 220px 220px auto; gap: .65rem; padding: .85rem; border: 1px solid var(--line); background: rgb(var(--panel-rgb) / .74); }
.community-search { min-height: 50px; display: flex; align-items: center; gap: .7rem; padding: 0 1rem; border: 1px solid var(--line); background: var(--ink); color: var(--mist); }
.community-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--white); }
.community-search input::placeholder { color: rgb(var(--mist-rgb) / .58); }
.community-select { position: relative; min-height: 50px; display: flex; flex-direction: column; justify-content: center; gap: .15rem; padding: .4rem .8rem; border: 1px solid var(--line); background: var(--ink); }
.community-select span { color: var(--mist); font-size: .57rem; letter-spacing: .13em; text-transform: uppercase; }
.community-select select { width: 100%; border: 0; outline: 0; background: var(--ink); color: var(--pale); font-size: .76rem; }
.community-check { display: flex; cursor: pointer; }
.community-check input { position: absolute; opacity: 0; }
.community-check span { min-height: 50px; display: flex; align-items: center; gap: .55rem; padding: 0 .9rem; border: 1px solid var(--line); color: var(--mist); font-size: .7rem; }
.community-check input:checked + span { border-color: rgb(var(--lime-rgb) / .55); background: rgb(var(--lime-rgb) / .09); color: var(--white); }

.community-tabs { margin-top: 1.2rem; display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--line); }
.community-tabs button { flex: 0 0 auto; display: inline-flex; gap: .65rem; align-items: center; padding: 1.05rem 1.25rem; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--mist); cursor: pointer; }
.community-tabs button span { min-width: 1.5rem; padding: .18rem .35rem; background: rgb(var(--white-rgb) / .05); color: var(--muted); font-size: .6rem; text-align: center; }
.community-tabs button:hover,
.community-tabs button.is-active { color: var(--white); }
.community-tabs button.is-active { border-color: var(--lime); }

.community-tab-panel { padding-top: 1.8rem; }
.community-tab-panel[hidden] { display: none !important; }
.community-results-head { display: flex; justify-content: space-between; gap: 2rem; margin-bottom: 1.3rem; color: var(--mist); font-size: .72rem; }
.community-results-head p { margin: 0; color: var(--pale); }

.community-organisation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.community-organisation-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); background: rgb(var(--panel-rgb) / .84); transition: .22s ease; }
.community-organisation-card:hover { border-color: rgb(var(--lime-rgb) / .32); transform: translateY(-3px); box-shadow: 0 22px 65px rgb(var(--black-rgb) / .17); }
.community-organisation-card[hidden] { display: none; }
.community-card-image { position: relative; aspect-ratio: 16 / 8.7; display: block; overflow: hidden; background: var(--surface-alt); }
.community-card-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86) contrast(1.04); transition: transform .35s ease, filter .35s ease; }
.community-organisation-card:hover .community-card-image img { transform: scale(1.035); filter: saturate(1); }
.community-card-image.is-placeholder { display: grid; place-items: center; color: rgb(var(--lime-rgb) / .55); }
.community-card-image.is-placeholder > svg { width: 3rem; height: 3rem; }
.community-card-image.is-placeholder > span { position: absolute; color: rgb(var(--white-rgb) / .05); font-size: 8rem; font-weight: 700; }
.community-card-image > small { position: absolute; top: .75rem; left: .75rem; padding: .35rem .55rem; background: var(--lime); color: var(--ink); font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.community-card-body { display: flex; flex-direction: column; min-height: 310px; padding: 1.25rem; }
.community-card-topline { display: flex; justify-content: space-between; gap: 1rem; color: var(--mist); font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; }
.community-card-topline svg { color: var(--accent); }
.community-card-body h3 { margin: .7rem 0 .6rem; color: var(--pale); font-size: 1.25rem; line-height: 1.18; letter-spacing: -.03em; }
.community-card-body h3 a:hover { color: var(--white); }
.community-card-body > p { margin: 0; color: var(--mist); font-size: .78rem; line-height: 1.7; }
.community-card-badges { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1.15rem; }
.community-card-badges span,
.community-small-badges span { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .52rem; border: 1px solid var(--line); color: var(--muted); font-size: .6rem; line-height: 1.2; }
.community-card-badges .is-members { border-color: rgb(var(--lime-rgb) / .22); color: var(--pale); }
.community-card-foot { margin-top: auto; padding-top: 1.15rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); }
.community-card-foot > a { display: inline-flex; align-items: center; gap: .4rem; color: var(--pale); font-size: .65rem; }
.community-card-foot > a:hover { color: var(--white); }
.community-freshness-dot { display: inline-flex; align-items: center; gap: .42rem; color: var(--mist); font-size: .57rem; }
.community-freshness-dot i { width: .42rem; height: .42rem; border-radius: 50%; background: var(--muted); }
.community-freshness-dot.is-current i { background: #7ce1bd; box-shadow: 0 0 0 4px rgb(124 225 189 / .08); }
.community-freshness-dot.is-check i { background: var(--warning); }
.community-freshness-dot.is-outdated i { background: var(--coral); }
.community-freshness-dot.is-unconfirmed i { background: var(--muted); box-shadow: 0 0 0 4px rgb(var(--white-rgb) / .035); }

.community-empty { min-height: 300px; display: grid; place-items: center; align-content: center; gap: .5rem; border: 1px dashed var(--line); color: var(--mist); text-align: center; }
.community-empty svg { width: 2rem; height: 2rem; }
.community-empty h3 { margin: .5rem 0 0; color: var(--pale); }
.community-empty p { margin: 0; }

.community-list-grid { display: grid; gap: .7rem; }
.community-list-card { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 1.2rem; align-items: center; padding: 1.2rem; border: 1px solid var(--line); background: rgb(var(--panel-rgb) / .76); }
.community-list-card[hidden] { display: none; }
.community-list-icon { width: 58px; height: 58px; display: grid; place-items: center; background: rgb(var(--lime-rgb) / .08); color: var(--lime); }
.community-list-card h3,
.community-opportunity-card h3,
.community-exchange-card h3,
.community-activity-card h3 { margin: .35rem 0 .45rem; color: var(--pale); font-size: 1.05rem; }
.community-list-card p,
.community-opportunity-card p,
.community-exchange-card p,
.community-activity-card p { margin: 0; color: var(--mist); font-size: .76rem; line-height: 1.65; }
.community-meta-row { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin-top: .8rem; color: var(--muted); font-size: .64rem; }
.community-meta-row span { display: inline-flex; align-items: center; gap: .35rem; }
.community-list-action { min-width: 130px; display: flex; flex-direction: column; align-items: end; gap: .65rem; }
.community-list-action strong { color: var(--lime); font-size: .78rem; }
.community-list-action a { display: inline-flex; align-items: center; gap: .4rem; color: var(--pale); font-size: .65rem; }

.community-volunteer-filters,
.community-exchange-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.community-volunteer-filters button,
.community-exchange-filters button { padding: .55rem .75rem; border: 1px solid var(--line); background: transparent; color: var(--mist); font-size: .66rem; cursor: pointer; }
.community-volunteer-filters button:hover,
.community-volunteer-filters button.is-active,
.community-exchange-filters button:hover,
.community-exchange-filters button.is-active { border-color: rgb(var(--lime-rgb) / .4); background: rgb(var(--lime-rgb) / .07); color: var(--white); }

.community-opportunity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.community-opportunity-card { display: flex; flex-direction: column; min-height: 310px; padding: 1.25rem; border: 1px solid var(--line); background: rgb(var(--panel-rgb) / .8); }
.community-opportunity-card[hidden] { display: none; }
.community-opportunity-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--lime); font-size: .62rem; text-transform: uppercase; letter-spacing: .11em; }
.community-opportunity-head small { color: var(--mist); letter-spacing: 0; text-transform: none; }
.community-small-badges { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }
.community-text-link { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: .45rem; color: var(--pale); font-size: .67rem; }
.community-text-link:hover { color: var(--white); }

.community-exchange-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.community-exchange-card { position: relative; min-height: 270px; display: flex; flex-direction: column; padding: 1.25rem; border: 1px solid var(--line); background: rgb(var(--panel-rgb) / .8); }
.community-exchange-card[hidden] { display: none; }
.community-exchange-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--coral); }
.community-exchange-card.is-offer::before { background: var(--lime); }
.community-exchange-card > span { color: var(--coral); font-size: .62rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.community-exchange-card.is-offer > span { color: var(--lime); }
.community-exchange-card small { margin-top: 1rem; color: var(--muted); font-size: .61rem; }

.community-principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 7rem; border: 1px solid var(--line); background: var(--line); gap: 1px; }
.community-principles article { min-height: 260px; padding: 1.5rem; background: var(--panel); }
.community-principles svg { width: 1.45rem; height: 1.45rem; color: var(--lime); }
.community-principles h3 { margin: 4rem 0 .7rem; color: var(--pale); font-size: 1.05rem; }
.community-principles p { margin: 0; color: var(--mist); font-size: .75rem; line-height: 1.7; }

/* Organisation profile */
.community-profile-page { padding-block: 2rem 7rem; }
.community-breadcrumbs { display: flex; align-items: center; gap: .45rem; color: var(--mist); font-size: .66rem; }
.community-breadcrumbs a:hover { color: var(--white); }
.community-breadcrumbs svg { width: .8rem; height: .8rem; }
.community-profile-hero { min-height: 560px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 3rem; align-items: center; padding-block: 3rem 4.5rem; border-bottom: 1px solid var(--line); }
.community-kicker-row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.community-verified { display: inline-flex; align-items: center; gap: .35rem; color: var(--accent); font-size: .66rem; }
.community-profile-copy h1 { margin: 1.15rem 0 1rem; color: var(--pale); font-size: clamp(3rem, 6vw, 6rem); font-weight: 500; line-height: .96; letter-spacing: -.065em; }
.community-profile-strapline { max-width: 760px; margin: 0; color: var(--mist); font-size: clamp(1rem, 2vw, 1.35rem); line-height: 1.65; }
.community-profile-state { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.community-state,
.community-freshness { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .6rem; border: 1px solid var(--line); color: var(--muted); font-size: .65rem; }
.community-state.is-open { border-color: rgb(var(--lime-rgb) / .3); color: var(--pale); }
.community-freshness.is-current { color: #bdebdc; }
.community-freshness.is-check { color: var(--warning); }
.community-freshness.is-outdated { color: var(--coral); }
.community-freshness.is-unconfirmed { color: var(--muted); }
.community-profile-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.community-profile-image { position: relative; aspect-ratio: 1 / .78; overflow: hidden; background: var(--surface-alt); }
.community-profile-image img { width: 100%; height: 100%; object-fit: cover; }
.community-profile-image.is-placeholder { display: grid; place-items: center; color: rgb(var(--lime-rgb) / .55); }
.community-profile-image.is-placeholder > svg { width: 5rem; height: 5rem; }
.community-profile-image.is-placeholder > span { position: absolute; color: rgb(var(--white-rgb) / .04); font-size: 14rem; font-weight: 700; }

.community-profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 5.5rem); padding-top: 4rem; }
.community-profile-section { padding-bottom: 4rem; margin-bottom: 4rem; border-bottom: 1px solid var(--line); }
.community-profile-section:last-child { margin-bottom: 0; }
.community-prose { max-width: 820px; margin-top: 1.5rem; color: var(--mist); font-size: .95rem; line-height: 1.9; }
.community-fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 1.5rem; border: 1px solid var(--line); background: var(--line); gap: 1px; }
.community-fact-grid article { min-height: 150px; display: flex; flex-direction: column; padding: 1rem; background: var(--panel); }
.community-fact-grid svg { color: var(--lime); }
.community-fact-grid span { margin-top: auto; color: var(--mist); font-size: .6rem; text-transform: uppercase; letter-spacing: .12em; }
.community-fact-grid strong { margin-top: .4rem; color: var(--pale); font-size: .8rem; line-height: 1.45; }
.community-note { margin: 1rem 0 0; padding: 1rem; border-left: 3px solid var(--lime); background: rgb(var(--lime-rgb) / .05); color: var(--mist); font-size: .8rem; line-height: 1.7; }
.community-stack { display: grid; gap: .7rem; margin-top: 1.5rem; }
.community-activity-card { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 1rem; padding: 1.1rem; border: 1px solid var(--line); background: rgb(var(--panel-rgb) / .75); }
.community-card-icon { width: 54px; height: 54px; display: grid; place-items: center; color: var(--lime); background: rgb(var(--lime-rgb) / .07); }
.community-event-card { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto 20px; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--line); background: rgb(var(--panel-rgb) / .72); }
.community-event-card:hover { border-color: rgb(var(--accent-rgb) / .35); background: var(--panel); }
.community-event-card time { color: var(--accent); font-size: .66rem; }
.community-event-card h3 { margin: 0; color: var(--pale); font-size: .9rem; }
.community-event-card p { margin: .3rem 0 0; color: var(--mist); font-size: .67rem; }
.community-event-card > span { color: var(--pale); font-size: .7rem; }
.community-event-card > svg { color: var(--muted); }

.community-profile-aside { display: grid; align-content: start; gap: .8rem; position: sticky; top: 96px; align-self: start; }
.community-side-card { padding: 1.15rem; border: 1px solid var(--line); background: rgb(var(--panel-rgb) / .76); }
.community-side-row { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.community-side-row:last-child { border-bottom: 0; padding-bottom: 0; }
.community-side-row span { display: block; color: var(--mist); font-size: .58rem; text-transform: uppercase; letter-spacing: .12em; }
.community-side-row strong { display: block; margin-top: .4rem; color: var(--pale); font-size: .76rem; line-height: 1.5; }
.community-badge-list,
.community-contact-list,
.community-related-list { display: grid; gap: .45rem; margin-top: .85rem; }
.community-badge-list span,
.community-contact-list a { display: flex; align-items: center; gap: .55rem; padding: .62rem; border: 1px solid var(--line); color: var(--muted); font-size: .68rem; overflow-wrap: anywhere; }
.community-contact-list a:hover { border-color: rgb(var(--lime-rgb) / .3); color: var(--white); }
.community-related-list a { padding: .7rem; border-bottom: 1px solid var(--line); }
.community-related-list strong { display: block; color: var(--pale); font-size: .75rem; }
.community-related-list small { display: block; margin-top: .25rem; color: var(--mist); font-size: .6rem; line-height: 1.4; }

.community-footer { border-top: 1px solid var(--line); }
.community-footer .shell { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.community-footer strong { color: var(--pale); }
.community-footer span { margin-left: .8rem; color: var(--mist); font-size: .7rem; }
.community-footer nav { display: flex; gap: 1rem; color: var(--mist); font-size: .7rem; }
.community-footer a:hover { color: var(--white); }

@media (max-width: 1220px) {
  .community-intents { grid-template-columns: repeat(4, 1fr); }
  .community-intent { min-height: 180px; }
  .community-browser-toolbar { grid-template-columns: minmax(260px, 1fr) 190px 190px; }
  .community-check { grid-column: 1 / -1; }
  .community-check span { width: 100%; }
}

@media (max-width: 980px) {
  .community-hero { min-height: 0; grid-template-columns: 1fr; padding-block: 4rem; }
  .community-hero-board { max-width: 720px; }
  .community-organisation-grid,
  .community-opportunity-grid,
  .community-exchange-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-profile-hero { grid-template-columns: 1fr; }
  .community-profile-image { max-width: 760px; }
  .community-profile-layout { grid-template-columns: 1fr; }
  .community-profile-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-principles { grid-template-columns: 1fr; }
  .community-principles article { min-height: 190px; }
  .community-principles h3 { margin-top: 2.5rem; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 1.15rem, 1440px); }
  .community-header-inner { grid-template-columns: 1fr auto; }
  .community-main-nav { display: none; }
  .community-header-action span { display: none; }
  .community-hero { gap: 2.5rem; padding-top: 3rem; }
  .community-hero h1 { font-size: clamp(3.1rem, 16vw, 5.2rem); }
  .community-hero-board article { min-height: 135px; padding: 1rem; }
  .community-intents { grid-template-columns: repeat(2, 1fr); }
  .community-intent { min-height: 165px; }
  .community-browser-toolbar { grid-template-columns: 1fr; }
  .community-check { grid-column: auto; }
  .community-organisation-grid,
  .community-opportunity-grid,
  .community-exchange-grid { grid-template-columns: 1fr; }
  .community-list-card { grid-template-columns: 46px minmax(0, 1fr); align-items: start; }
  .community-list-icon { width: 46px; height: 46px; }
  .community-list-action { grid-column: 2; align-items: flex-start; }
  .community-results-head { display: block; }
  .community-results-head span { display: block; margin-top: .4rem; }
  .community-profile-page { padding-top: 1.2rem; }
  .community-profile-hero { padding-block: 2rem 3rem; }
  .community-profile-copy h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .community-fact-grid { grid-template-columns: 1fr; }
  .community-fact-grid article { min-height: 120px; }
  .community-event-card { grid-template-columns: 1fr 20px; }
  .community-event-card time,
  .community-event-card > div { grid-column: 1; }
  .community-event-card > span { grid-column: 1; }
  .community-event-card > svg { grid-column: 2; grid-row: 1 / 4; }
  .community-profile-aside { grid-template-columns: 1fr; }
  .community-footer .shell { align-items: flex-start; flex-direction: column; justify-content: center; }
  .community-footer span { display: block; margin: .3rem 0 0; }
}

@media (max-width: 460px) {
  .community-intents { grid-template-columns: 1fr; }
  .community-intent { min-height: 145px; }
  .community-hero-board { grid-template-columns: 1fr; }
  .community-hero-board article { min-height: 110px; }
  .community-section-head { display: block; }
  .community-clear { margin-top: 1rem; }
}

.community-profile-update { margin-top: .45rem; border-top: 1px solid var(--line); padding-top: .9rem; color: var(--lime) !important; }

/* ==========================================================================
   Full-review readability and interaction pass
   ========================================================================== */

.community-results-head {
  margin-top: 1.35rem;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.community-tabs button,
.community-main-nav a,
.community-header-action,
.community-button,
.community-clear,
.community-check span,
.community-select select,
.community-card-body > p,
.community-list-card p,
.community-opportunity-card p,
.community-exchange-card p,
.community-activity-card p,
.community-principles p,
.community-event-card p,
.community-side-row strong,
.community-badge-list span,
.community-contact-list a,
.community-related-list strong,
.community-footer span,
.community-footer nav {
  font-size: 0.875rem;
  line-height: 1.55;
}

.community-kicker,
.community-section-label,
.community-list-kicker,
.community-brand small,
.community-select span,
.community-card-image > small,
.community-card-topline,
.community-card-badges span,
.community-small-badges span,
.community-freshness-dot,
.community-meta-row,
.community-opportunity-head,
.community-exchange-card > span,
.community-exchange-card small,
.community-verified,
.community-state,
.community-freshness,
.community-fact-grid span,
.community-event-card time,
.community-event-card > span,
.community-side-row span,
.community-related-list small {
  font-size: 0.75rem;
  line-height: 1.4;
}

.community-intent small,
.community-card-foot > a,
.community-list-action a,
.community-text-link,
.community-volunteer-filters button,
.community-exchange-filters button {
  font-size: 0.8125rem;
  line-height: 1.45;
}

.community-search input,
.community-select select {
  font-size: 1rem;
}

.community-tabs button,
.community-clear,
.community-volunteer-filters button,
.community-exchange-filters button,
.community-text-link,
.community-list-action a,
.community-card-foot > a {
  min-height: 44px;
}

.community-tabs button:focus-visible,
.community-intent:focus-visible,
.community-clear:focus-visible,
.community-volunteer-filters button:focus-visible,
.community-exchange-filters button:focus-visible,
.community-search input:focus-visible,
.community-select select:focus-visible,
.community-check input:focus-visible + span {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.community-card-body h3 a,
.community-event-card h3,
.community-list-card h3,
.community-opportunity-card h3,
.community-exchange-card h3,
.community-activity-card h3 {
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .community-results-head {
    margin-top: 1rem;
  }

  .community-tabs button {
    padding-inline: 1rem;
  }
}
