/*
Theme Name: Northstar Community Demo
Theme URI: https://wesolvers.com/products/bp-builder-addons
Author: Wesolvers
Description: A focused BuddyPress community demo for BP Builder Addons.
Version: 1.0.0
Text Domain: bpba-community-demo
*/

:root {
  --demo-canvas: #f3f2ef;
  --demo-surface: #ffffff;
  --demo-surface-soft: #f8fafc;
  --demo-ink: #17202a;
  --demo-muted: #5f6b76;
  --demo-border: #d9dee3;
  --demo-border-strong: #c8d0d8;
  --demo-blue: #0a66c2;
  --demo-blue-dark: #004182;
  --demo-green: #17724b;
  --demo-shadow: 0 8px 28px rgba(23, 32, 42, 0.08);
  --demo-radius: 8px;
  --demo-header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.community-demo-site {
  margin: 0;
  color: var(--demo-ink);
  background: var(--demo-canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

body.community-demo-site.admin-bar .community-header {
  top: 32px;
}

.community-demo-site a {
  color: inherit;
}

.community-demo-site img {
  max-width: 100%;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.community-header {
  position: static;
  z-index: auto;
  min-height: var(--demo-header-height);
  background: #fff;
  border-bottom: 1px solid var(--demo-border);
}

.community-header__inner {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: var(--demo-header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.community-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--demo-ink);
  text-decoration: none;
}

.community-brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--demo-blue);
  border-radius: 7px;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.community-brand__text {
  display: grid;
  gap: 1px;
}

.community-brand__name {
  font-size: 17px;
  font-weight: 750;
  line-height: 1.15;
}

.community-brand__descriptor {
  color: var(--demo-muted);
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.community-header__nav {
  min-width: 0;
  margin-left: auto;
}

.community-nav__list {
  display: flex;
  align-items: stretch;
  gap: 2px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.community-nav__item {
  display: flex;
}

.community-nav__link {
  min-width: 70px;
  min-height: 58px;
  padding: 7px 10px 5px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  color: #56616b;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.community-nav__link:hover,
.community-nav__link:focus-visible,
.community-nav__link.is-active {
  color: var(--demo-ink);
  border-bottom-color: var(--demo-ink);
  background: #f8fafc;
}

.community-nav__icon {
  width: 22px;
  height: 22px;
  font-size: 22px;
}

.community-nav__label {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.community-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.community-header__entry-form,
.community-header__exit-form,
.demo-welcome-hero__action-form,
.demo-final-cta__form {
  margin: 0;
}

.demo-session-status {
  min-width: 108px;
  display: grid;
  gap: 1px;
  text-align: right;
}

.demo-session-status__label {
  color: var(--demo-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.demo-session-status__time {
  color: var(--demo-green);
  font-size: 13px;
  font-weight: 750;
}

.community-header__button,
.demo-button {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: var(--demo-blue);
  border: 1px solid var(--demo-blue);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.community-demo-site .community-header__button,
.community-demo-site .demo-button {
  color: #fff;
}

.community-header__button:hover,
.community-header__button:focus-visible,
.demo-button:hover,
.demo-button:focus-visible {
  color: #fff;
  background: var(--demo-blue-dark);
  border-color: var(--demo-blue-dark);
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.2);
  transform: translateY(-1px);
}

.community-demo-site .community-header__button--quiet,
.community-demo-site .demo-button--quiet {
  color: var(--demo-blue);
  background: transparent;
}

.community-demo-site .community-header__button--quiet:hover,
.community-demo-site .community-header__button--quiet:focus-visible,
.community-demo-site .demo-button--quiet:hover,
.community-demo-site .demo-button--quiet:focus-visible {
  color: var(--demo-blue-dark);
  background: #eef6ff;
  box-shadow: none;
}

.community-header__menu-button {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  padding: 0;
  color: var(--demo-ink);
  background: transparent;
  border: 1px solid var(--demo-border);
  border-radius: 50%;
}

.community-header__menu-icon {
  width: 22px;
  height: 22px;
  font-size: 22px;
}

.demo-welcome-main {
  overflow: hidden;
  background: var(--demo-surface);
}

.demo-welcome-hero {
  min-height: calc(100svh - var(--demo-header-height));
  display: grid;
  align-items: center;
  padding: 54px 0 64px;
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 54%, #f6f9fc 54%, #f6f9fc 100%);
}

.demo-welcome-hero__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  align-items: center;
  gap: 66px;
}

.demo-welcome-hero__copy {
  max-width: 540px;
  animation: demo-rise-in 520ms ease both;
}

.demo-welcome-hero__eyebrow,
.demo-section-heading__eyebrow {
  margin: 0 0 14px;
  color: var(--demo-blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-welcome-hero__title {
  max-width: 720px;
  margin: 0;
  color: var(--demo-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 4.4vw, 66px);
  font-weight: 700;
  line-height: 0.98;
}

.demo-welcome-hero__summary {
  max-width: 520px;
  margin: 24px 0 0;
  color: #3f4a54;
  font-size: 19px;
  line-height: 1.55;
}

.demo-welcome-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.demo-welcome-hero__primary-action {
  min-height: 52px;
  padding: 0 26px;
  font-size: 16px;
}

.demo-welcome-hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  color: var(--demo-muted);
  font-size: 13px;
}

.demo-welcome-hero__note-icon {
  color: var(--demo-green);
}

.welcome-preview {
  min-width: 0;
  overflow: hidden;
  background: var(--demo-canvas);
  border: 1px solid var(--demo-border-strong);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(23, 32, 42, 0.15);
  animation: demo-preview-in 620ms 100ms ease both;
}

.welcome-preview__browser-bar {
  min-height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--demo-surface);
  border-bottom: 1px solid var(--demo-border);
}

.welcome-preview__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 750;
}

.welcome-preview__brand-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--demo-blue);
  border-radius: 5px;
  font-family: Georgia, serif;
  font-size: 15px;
}

.welcome-preview__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--demo-green);
  font-size: 11px;
  font-weight: 750;
}

.welcome-preview__status-dot {
  width: 7px;
  height: 7px;
  background: #22a06b;
  border-radius: 50%;
}

.welcome-preview__workspace {
  padding: 18px;
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 16px;
}

.welcome-preview__sidebar {
  padding: 16px 12px;
  background: var(--demo-surface);
  border: 1px solid var(--demo-border);
  border-radius: var(--demo-radius);
}

.welcome-preview__profile-photo {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  color: #fff;
  background: #49627a;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
}

.welcome-preview__profile-name,
.welcome-preview__profile-role {
  margin: 0;
  text-align: center;
}

.welcome-preview__profile-name {
  font-size: 13px;
  font-weight: 800;
}

.welcome-preview__profile-role {
  margin-top: 3px;
  color: var(--demo-muted);
  font-size: 10px;
}

.welcome-preview__sidebar-rule {
  height: 1px;
  margin: 14px -12px;
  background: var(--demo-border);
}

.welcome-preview__metric {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 7px 0 0;
  color: var(--demo-muted);
  font-size: 10px;
}

.welcome-preview__metric-value {
  color: var(--demo-blue);
  font-weight: 800;
}

.welcome-preview__content {
  min-width: 0;
}

.welcome-preview__content-heading {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 800;
}

.welcome-preview__widget .bpba-widget {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.welcome-preview__widget .bpba-widget__header {
  display: none;
}

.welcome-preview__widget .bpba-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.welcome-preview__widget .bpba-card {
  min-height: 124px;
  padding: 13px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  background: var(--demo-surface);
  border: 1px solid var(--demo-border);
  border-radius: var(--demo-radius);
  box-shadow: none;
}

.welcome-preview__widget .bpba-card__avatar {
  width: 44px;
  height: 44px;
}

.welcome-preview__widget .bpba-card__title {
  font-size: 12px;
}

.welcome-preview__widget .bpba-card__meta,
.welcome-preview__widget .bpba-card__description,
.welcome-preview__widget .bpba-card__link {
  font-size: 10px;
}

.demo-proof-rail {
  background: #0f1720;
  color: #fff;
}

.demo-proof-rail__inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 110px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.demo-proof-rail__item {
  min-width: 0;
  padding: 18px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.demo-proof-rail__item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.demo-proof-rail__value,
.demo-proof-rail__label {
  display: block;
}

.demo-proof-rail__value {
  font-size: 18px;
  font-weight: 800;
}

.demo-proof-rail__label {
  margin-top: 3px;
  color: #aeb9c5;
  font-size: 12px;
}

.demo-capabilities {
  padding: 92px 0 104px;
  background: var(--demo-surface);
}

.demo-capabilities__inner {
  width: min(1050px, calc(100% - 40px));
  margin: 0 auto;
}

.demo-section-heading {
  max-width: 720px;
}

.demo-section-heading__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.06;
}

.demo-section-heading__summary {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--demo-muted);
  font-size: 18px;
}

.demo-capabilities__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  padding: 0;
  margin: 58px 0 0;
  list-style: none;
}

.demo-capability {
  padding-top: 22px;
  border-top: 2px solid var(--demo-border-strong);
}

.demo-capability__number {
  color: var(--demo-blue);
  font-size: 12px;
  font-weight: 800;
}

.demo-capability__title {
  margin: 18px 0 0;
  font-size: 22px;
  line-height: 1.15;
}

.demo-capability__copy {
  margin: 12px 0 0;
  color: var(--demo-muted);
}

.demo-final-cta {
  padding: 84px 0;
  color: #fff;
  background: var(--demo-blue-dark);
}

.demo-final-cta__inner {
  width: min(1050px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.demo-final-cta__title {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

.demo-final-cta__summary {
  margin: 14px 0 0;
  color: #c4d8ee;
}

.demo-final-cta__button {
  flex: 0 0 auto;
  color: var(--demo-blue-dark);
  background: #fff;
  border-color: #fff;
}

.community-demo-site .demo-final-cta__button {
  color: var(--demo-blue-dark);
}

.demo-final-cta__button:hover,
.demo-final-cta__button:focus-visible {
  color: var(--demo-blue-dark);
  background: #eef6ff;
}

.community-workspace {
  width: min(1200px, calc(100% - 32px));
  margin: 24px auto 50px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 270px;
  align-items: start;
  gap: 18px;
}

.community-workspace--without-rail {
  width: min(1120px, calc(100% - 32px));
  grid-template-columns: 220px minmax(0, 1fr);
}

.community-workspace__profile,
.community-workspace__rail-section {
  background: var(--demo-surface);
  border: 1px solid var(--demo-border);
  border-radius: var(--demo-radius);
}

.community-workspace__profile {
  position: sticky;
  top: calc(var(--demo-header-height) + 18px);
  overflow: hidden;
}

.community-profile-card__cover {
  height: 68px;
  background: var(--demo-blue);
}

.community-profile-card__identity {
  padding: 0 18px 18px;
  text-align: center;
}

.community-profile-card__avatar,
.community-profile-card__initials {
  width: 78px;
  height: 78px;
  margin: -39px auto 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #40566c;
  border: 4px solid #fff;
  border-radius: 50%;
  font-size: 23px;
  font-weight: 800;
  object-fit: cover;
}

.community-profile-card__name {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
}

.community-profile-card__role {
  margin: 6px 0 0;
  color: var(--demo-muted);
  font-size: 12px;
}

.community-profile-card__meta {
  padding: 13px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--demo-muted);
  border-top: 1px solid var(--demo-border);
  font-size: 12px;
}

.community-profile-card__meta-value {
  color: var(--demo-blue);
  font-weight: 800;
}

.community-workspace__main {
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.community-workspace__header {
  margin: 0;
}

.community-workspace__eyebrow {
  margin: 0 0 4px;
  color: var(--demo-muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.community-workspace__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.community-workspace__content > :first-child {
  margin-top: 0;
}

.community-workspace__rail {
  display: grid;
  gap: 18px;
}

.community-workspace__rail-section {
  padding: 16px;
}

.community-workspace__rail-title {
  margin: 0 0 12px;
  font-size: 15px;
}

.community-workspace__rail-copy {
  margin: 0;
  color: var(--demo-muted);
  font-size: 13px;
}

.community-workspace__rail .bpba-widget {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.community-workspace__rail .bpba-widget__header {
  display: none;
}

.community-workspace__rail .bpba-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.community-workspace__rail .bpba-card {
  min-height: 0;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--demo-border);
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.community-workspace__rail .bpba-card:first-child {
  padding-top: 2px;
}

.community-workspace__rail .bpba-card:last-child {
  padding-bottom: 2px;
  border-bottom: 0;
}

.community-workspace__rail .bpba-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 7px;
}

.community-workspace__rail .bpba-card__title {
  margin-top: 0;
  font-size: 13px;
}

.community-workspace__rail .bpba-card__meta,
.community-workspace__rail .bpba-card__link {
  font-size: 11px;
}

.community-workspace__rail .bpba-card__meta {
  margin-bottom: 3px;
}

.community-workspace__rail .bpba-card__description {
  display: none;
}

.community-workspace__rail .bpba-card__link {
  margin-top: 2px;
}

.community-workspace .bpba-widget {
  margin-bottom: 16px;
  border-color: var(--demo-border);
  border-radius: var(--demo-radius);
  box-shadow: 0 8px 24px rgba(23, 32, 42, 0.055);
}

.community-workspace .bpba-widget--activity-feed {
  padding: 0;
  background: transparent;
  border: 0;
}

.community-workspace .bpba-widget--activity-feed > .bpba-widget__header {
  display: none;
}

.community-workspace .bpba-widget--activity-feed .bpba-composer {
  margin-bottom: 16px;
  background: var(--demo-surface-soft);
  border: 1px solid var(--demo-border);
  border-radius: var(--demo-radius);
}

.community-workspace .bpba-widget--activity-feed .bpba-card-grid {
  display: grid;
  gap: 14px;
}

.community-workspace .bpba-widget--activity-feed .bpba-card {
  padding: 18px 19px;
  background: var(--demo-surface);
  border: 1px solid var(--demo-border);
  border-radius: var(--demo-radius);
}

.bpba-route-shell {
  min-height: calc(100svh - var(--demo-header-height));
  padding: 24px 16px 50px;
  background: var(--demo-canvas);
}

.bpba-route-shell__inner {
  width: min(900px, 100%);
  margin: 0 auto;
}

.community-site-footer {
  padding: 24px 0;
  color: #6a747d;
  background: var(--demo-surface);
  border-top: 1px solid var(--demo-border);
}

.community-site-footer__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

.community-site-footer__copy,
.community-site-footer__notice {
  margin: 0;
}

.community-site-footer__product-link {
  color: var(--demo-blue);
  font-weight: 700;
  text-decoration: none;
}

@keyframes demo-rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes demo-preview-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1080px) {
  .community-header__inner {
    gap: 14px;
  }

  .community-brand__descriptor,
  .demo-session-status {
    display: none;
  }

  .community-nav__link {
    min-width: 60px;
    padding-inline: 7px;
  }

  .demo-welcome-hero__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
    gap: 34px;
  }

  .community-workspace {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .community-workspace__rail {
    display: none;
  }
}

@media (max-width: 860px) {
  body.community-demo-site.admin-bar .community-header {
    top: 46px;
  }

  .community-header__inner {
    width: min(100% - 28px, 720px);
  }

  .community-header__menu-button {
    display: grid;
  }

  .community-header__nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 8px 14px 14px;
    background: var(--demo-surface);
    border-bottom: 1px solid var(--demo-border);
    box-shadow: var(--demo-shadow);
  }

  .community-header__nav.is-open {
    display: block;
    animation: demo-rise-in 180ms ease both;
  }

  .community-nav__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .community-nav__link {
    min-width: 0;
    min-height: 62px;
    border: 0;
    border-radius: 6px;
  }

  .demo-welcome-hero {
    min-height: auto;
    padding: 56px 0 0;
    background: var(--demo-surface);
  }

  .demo-welcome-hero__inner {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .demo-welcome-hero__copy {
    width: min(100% - 40px, 650px);
    margin: 0 auto;
  }

  .demo-welcome-hero__title {
    font-size: clamp(44px, 10vw, 66px);
  }

  .welcome-preview {
    width: min(100% - 28px, 680px);
    margin: 0 auto -20px;
  }

  .demo-proof-rail {
    padding-top: 44px;
  }

  .demo-proof-rail__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-proof-rail__item:nth-child(3),
  .demo-proof-rail__item:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .demo-capabilities__list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .community-workspace {
    grid-template-columns: 1fr;
  }

  .community-workspace__profile {
    position: static;
  }

  .community-profile-card__cover,
  .community-profile-card__meta {
    display: none;
  }

  .community-profile-card__identity {
    min-height: 86px;
    padding: 14px 18px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    text-align: left;
  }

  .community-profile-card__avatar,
  .community-profile-card__initials {
    width: 58px;
    height: 58px;
    margin: 0;
    border-width: 2px;
    font-size: 18px;
  }

  .community-profile-card__name,
  .community-profile-card__role {
    text-align: left;
  }
}

@media (max-width: 620px) {
  :root {
    --demo-header-height: 64px;
  }

  .community-header__inner {
    width: calc(100% - 24px);
    min-height: var(--demo-header-height);
  }

  .community-brand__mark {
    width: 34px;
    height: 34px;
  }

  .community-brand__name {
    font-size: 15px;
  }

  .community-header__actions .community-header__button--quiet,
  .community-header__actions .community-header__button:not(.community-header__button--primary) {
    display: none;
  }

  .community-header__button--primary {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 13px;
  }

  .demo-welcome-hero {
    padding-top: 42px;
  }

  .demo-welcome-hero__copy {
    width: calc(100% - 32px);
  }

  .demo-welcome-hero__eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .demo-welcome-hero__title {
    font-size: 43px;
  }

  .demo-welcome-hero__summary {
    margin-top: 18px;
    font-size: 16px;
  }

  .demo-welcome-hero__actions {
    align-items: stretch;
  }

  .demo-welcome-hero__actions .demo-button {
    width: 100%;
  }

  .welcome-preview {
    width: calc(100% - 16px);
    border-radius: 9px;
  }

  .welcome-preview__workspace {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .welcome-preview__sidebar {
    display: none;
  }

  .welcome-preview__widget .bpba-card-grid {
    grid-template-columns: 1fr;
  }

  .welcome-preview__widget .bpba-card:nth-child(n + 4) {
    display: none;
  }

  .demo-proof-rail__inner {
    width: 100%;
  }

  .demo-proof-rail__item {
    padding: 18px 16px;
  }

  .demo-proof-rail__value {
    font-size: 15px;
  }

  .demo-capabilities {
    padding: 70px 0 76px;
  }

  .demo-capabilities__inner,
  .demo-final-cta__inner {
    width: calc(100% - 32px);
  }

  .demo-section-heading__title {
    font-size: 38px;
  }

  .demo-final-cta__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .demo-final-cta__button {
    width: 100%;
  }

  .community-workspace {
    width: calc(100% - 16px);
    margin-top: 12px;
    gap: 12px;
  }

  .community-workspace__main {
    padding: 0;
  }

  .community-workspace__title {
    font-size: 21px;
  }

  .community-workspace .bpba-widget--members-directory .bpba-card-grid,
  .community-workspace .bpba-widget--groups-directory .bpba-card-grid {
    grid-template-columns: 1fr;
  }

  .community-site-footer__inner {
    width: calc(100% - 32px);
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
