.cg-community {
  --cg-navy: #212f5f;
  --cg-navy-deep: #17234d;
  --cg-ink: #1d2a54;
  --cg-muted: #626a7f;
  --cg-paper: #f8f3e8;
  --cg-paper-light: #fffdf7;
  --cg-white: #ffffff;
  --cg-cyan: #adf1f9;
  --cg-cyan-strong: #1bc4df;
  --cg-pink: #f9b1f9;
  --cg-pink-strong: #eb45ad;
  --cg-green: oklch(0.75 0.18 150);
  --cg-green-strong: oklch(0.55 0.15 150);
  --cg-yellow: #f6e19b;
  --cg-line: rgba(33, 47, 95, 0.17);
  --cg-accent: var(--cg-cyan);
  background: var(--cg-paper-light);
  color: var(--cg-ink);
  font-family: "DM Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  overflow-x: clip;
}

.cg-community--chess-meetups,
.cg-community--open-houses-public-events,
.cg-community--chess-for-the-community {
  --cg-accent: var(--cg-pink);
  --cg-paper: #fff5fb;
  --cg-paper-light: var(--cg-white);
  --cg-yellow: var(--cg-pink);
}

.cg-community--chess-meetups .cg-community-kicker,
.cg-community--open-houses-public-events .cg-community-kicker,
.cg-community--chess-for-the-community .cg-community-kicker {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.35;
}

body.cg-community-active #ajax-content-wrap {
  overflow-x: hidden;
  overflow-x: clip;
}

body.cg-community-active .container-wrap {
  padding-bottom: 0;
}

body.cg-community-active #logo {
  background: url("../chess-grande-about-page/assets/chess-grande-logo.webp") center / contain no-repeat;
  min-width: 72px;
}

body.cg-community-active #logo img {
  opacity: 0;
}

.cg-community *,
.cg-community *::before,
.cg-community *::after {
  box-sizing: border-box;
}

.cg-community img {
  display: block;
  height: auto;
  max-width: 100%;
}

.cg-community h1,
.cg-community h2,
.cg-community h3,
.cg-community p,
.cg-community ul,
.cg-community ol,
.cg-community dl,
.cg-community dd,
.cg-community figure {
  margin: 0;
  padding: 0;
}

.cg-community ul,
.cg-community ol {
  list-style: none !important;
}

.cg-community li,
.cg-community li::marker {
  list-style: none !important;
}

.cg-community h1,
.cg-community h2,
.cg-community h3 {
  color: inherit;
  font-family: "DM Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.cg-community em {
  color: inherit;
  font-family: Merriweather, Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.cg-community p,
.cg-community a,
.cg-community button,
.cg-community span,
.cg-community strong,
.cg-community dt,
.cg-community dd {
  color: inherit;
  font-family: inherit;
  letter-spacing: normal;
}

.cg-community p {
  padding-bottom: 0 !important;
}

.cg-community a {
  text-decoration: none;
}

.cg-community button {
  -webkit-appearance: none;
  appearance: none;
}

.cg-community .fa {
  font-family: FontAwesome !important;
}

.cg-community a:focus-visible,
.cg-community button:focus-visible {
  outline: 3px solid var(--cg-cyan-strong);
  outline-offset: 4px;
}

.cg-community [id] {
  scroll-margin-top: 116px;
}

.cg-community-shell {
  margin-inline: auto;
  max-width: 1220px;
  width: calc(100% - 48px);
}

.cg-community-kicker {
  align-items: center;
  color: var(--cg-pink-strong) !important;
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0.13em !important;
  line-height: 1.25;
  margin-bottom: 18px !important;
  text-transform: uppercase;
}

.cg-community-kicker::before {
  background: currentColor;
  content: "";
  height: 3px;
  width: 28px;
}

.cg-community-kicker--cyan {
  color: var(--cg-cyan) !important;
}

.cg-community-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

body[data-button-style] .cg-community .cg-community-button,
.cg-community .cg-community-button {
  align-items: center;
  border: 2px solid transparent;
  border-radius: 2px !important;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 12px;
  justify-content: center;
  line-height: 1.1;
  min-height: 54px;
  padding: 0 23px;
  transition: box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

body[data-button-style] .cg-community .cg-community-button--primary,
.cg-community .cg-community-button--primary {
  background: var(--cg-navy) !important;
  box-shadow: 7px 7px 0 var(--cg-accent);
  color: var(--cg-white) !important;
}

body[data-button-style] .cg-community--chess-for-the-community .cg-live-hero__copy .cg-community-button--primary,
.cg-community--chess-for-the-community .cg-live-hero__copy .cg-community-button--primary {
  background: var(--cg-pink-strong) !important;
  box-shadow: 7px 7px 0 var(--cg-pink);
}

body[data-button-style] .cg-community .cg-community-button--cyan,
.cg-community .cg-community-button--cyan {
  background: var(--cg-cyan) !important;
  color: var(--cg-navy-deep) !important;
}

body[data-button-style] .cg-community .cg-community-button--outline,
.cg-community .cg-community-button--outline {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.56);
  color: var(--cg-white) !important;
}

.cg-community .cg-community-button:hover {
  transform: translate(-2px, -2px);
}

.cg-community .cg-community-button--primary:hover {
  box-shadow: 10px 10px 0 var(--cg-accent);
}

.cg-community-text-link,
.cg-community-source-link {
  border-bottom: 1px solid currentColor;
  color: var(--cg-navy) !important;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 9px;
  padding-block: 6px;
}

/* Hero */
.cg-community-hero {
  background: var(--cg-paper);
  border-bottom: 1px solid var(--cg-line);
  min-height: min(760px, calc(100svh - 112px));
  padding: clamp(58px, 6.5vw, 94px) 0;
  position: relative;
}

.cg-community-hero__layout {
  align-items: center;
  display: grid;
  gap: clamp(44px, 6vw, 84px);
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
}

.cg-community-hero__copy {
  max-width: 590px;
}

.cg-community-hero h1 {
  color: var(--cg-navy);
  font-size: clamp(54px, 5.7vw, 82px);
  margin-bottom: 28px;
}

.cg-community-hero h1 em {
  display: block;
}

.cg-community-hero__lead {
  color: var(--cg-muted) !important;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.55;
  margin-bottom: 34px !important;
  max-width: 540px;
}

.cg-community-hero__media {
  background: var(--cg-white);
  border: 1px solid var(--cg-navy);
  box-shadow: 15px 15px 0 var(--cg-accent);
  padding: 10px 10px 16px;
  transform: rotate(1deg);
}

.cg-community-hero__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.cg-community-hero__media figcaption {
  color: var(--cg-navy);
  font-family: Merriweather, Georgia, serif;
  font-size: 13px;
  font-style: italic;
  padding: 12px 4px 0;
}

.cg-community--chess-meetups .cg-community-hero__media img {
  object-position: center center;
}

.cg-community--chess-for-the-community .cg-live-hero--mosaic {
  background: var(--cg-cyan);
  overflow: hidden;
  padding: 0;
  position: relative;
}

.cg-community--chess-for-the-community .cg-live-hero__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, minmax(250px, 36vh));
}

.cg-community--chess-for-the-community .cg-live-hero__grid figure {
  margin: 0;
  overflow: hidden;
  position: relative;
}

.cg-community--chess-for-the-community .cg-live-hero__grid img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2, .8, .2, 1);
  width: 100%;
}

.cg-community--chess-for-the-community .cg-live-hero__grid figure:hover img {
  transform: scale(1.06);
}

.cg-community--chess-for-the-community .cg-live-hero__grid figure:nth-child(1) {
  grid-column: 1 / 3;
}

.cg-community--chess-for-the-community .cg-live-hero__grid figure:nth-child(8) {
  grid-column: 4 / 6;
}

.cg-community--chess-for-the-community .cg-live-hero__grid figure::after {
  border: 1px solid rgba(255, 255, 255, 0.72);
  content: "";
  inset: 8px;
  pointer-events: none;
  position: absolute;
}

.cg-community--chess-for-the-community .cg-live-hero__copy {
  background: var(--cg-white);
  border: 2px solid var(--cg-navy);
  box-shadow: 14px 14px 0 var(--cg-accent);
  left: 50%;
  max-width: 740px;
  padding: clamp(24px, 3vw, 38px);
  position: absolute;
  text-align: left;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(70vw, 740px);
  z-index: 4;
}

.cg-community--chess-for-the-community .cg-live-hero__copy h1 {
  font-size: clamp(42px, 5.5vw, 72px);
  letter-spacing: -0.04em;
  max-width: 680px;
  text-wrap: balance;
}

.cg-community--chess-for-the-community .cg-live-hero__copy h1 em {
  color: var(--cg-pink-ink);
}

.cg-community--chess-for-the-community .cg-live-hero__lead {
  max-width: 66ch;
  padding: 14px 0 8px !important;
}

/* Impeccable animate treatment: deal the mosaic, then settle the message card. */
@keyframes cg-community-hero-deal {
  from {
    clip-path: inset(0 0 100% 0);
    opacity: 0.01;
    transform: translate3d(0, 18px, 0) scale(0.96);
  }

  to {
    clip-path: inset(0);
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes cg-community-hero-card-settle {
  from {
    box-shadow: 14px 14px 0 transparent;
    clip-path: inset(0 0 100% 0);
    opacity: 0.01;
    transform: translate(-50%, calc(-50% + 26px)) scale(0.97);
  }

  to {
    box-shadow: 14px 14px 0 var(--cg-accent);
    clip-path: inset(0);
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.cg-community--chess-for-the-community .cg-community-motion--hero .cg-live-hero__grid figure {
  animation: cg-community-hero-deal 680ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cg-community--chess-for-the-community .cg-community-motion--hero .cg-live-hero__grid figure:nth-child(1) { animation-delay: 40ms; }
.cg-community--chess-for-the-community .cg-community-motion--hero .cg-live-hero__grid figure:nth-child(2) { animation-delay: 90ms; }
.cg-community--chess-for-the-community .cg-community-motion--hero .cg-live-hero__grid figure:nth-child(3) { animation-delay: 140ms; }
.cg-community--chess-for-the-community .cg-community-motion--hero .cg-live-hero__grid figure:nth-child(4) { animation-delay: 190ms; }
.cg-community--chess-for-the-community .cg-community-motion--hero .cg-live-hero__grid figure:nth-child(5) { animation-delay: 240ms; }
.cg-community--chess-for-the-community .cg-community-motion--hero .cg-live-hero__grid figure:nth-child(6) { animation-delay: 290ms; }
.cg-community--chess-for-the-community .cg-community-motion--hero .cg-live-hero__grid figure:nth-child(7) { animation-delay: 340ms; }
.cg-community--chess-for-the-community .cg-community-motion--hero .cg-live-hero__grid figure:nth-child(8) { animation-delay: 390ms; }

.cg-community--chess-for-the-community .cg-community-motion--hero .cg-live-hero__copy {
  animation: cg-community-hero-card-settle 720ms cubic-bezier(0.16, 1, 0.3, 1) 430ms both;
}

@media (max-width: 760px) {
  .cg-community--chess-for-the-community .cg-live-hero__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 230px);
  }

  .cg-community--chess-for-the-community .cg-live-hero__grid figure:nth-child(1),
  .cg-community--chess-for-the-community .cg-live-hero__grid figure:nth-child(8) {
    grid-column: auto;
  }

  .cg-community--chess-for-the-community .cg-live-hero__copy {
    width: calc(100% - 40px);
  }

  .cg-community--chess-for-the-community .cg-live-hero__copy h1 {
    font-size: clamp(38px, 10vw, 50px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cg-community--chess-for-the-community .cg-live-hero__grid img {
    transition: none;
  }
}

.cg-community--open-houses-public-events .cg-community-hero__media img {
  object-position: center 42%;
}

.cg-community--open-houses-public-events .cg-events-overdrive--board {
  background: var(--cg-paper);
  color: var(--cg-navy);
  min-height: min(820px, calc(100svh - 96px));
  padding: clamp(46px, 6vw, 88px) 0;
}

.cg-community--open-houses-public-events .cg-events-overdrive__board-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr;
  min-height: min(660px, calc(100svh - 220px));
}

.cg-community--open-houses-public-events .cg-events-overdrive__board-kicker {
  color: #bd176f !important;
  grid-column: 1 / 7;
}

.cg-community--open-houses-public-events .cg-events-overdrive__board-title {
  align-self: end;
  color: var(--cg-navy);
  font-size: clamp(56px, 6.4vw, 92px);
  grid-column: 1 / 9;
  grid-row: 2;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: clamp(20px, 3vw, 42px) 0 0;
  position: relative;
  z-index: 3;
}

.cg-community--open-houses-public-events .cg-events-overdrive__board-title em {
  -webkit-box-decoration-break: clone;
  background: var(--cg-pink);
  box-decoration-break: clone;
  display: inline;
  padding: 0 0.08em 0.05em;
}

.cg-community--open-houses-public-events .cg-events-overdrive__board-media {
  align-self: stretch;
  background: var(--cg-white);
  border: 1px solid var(--cg-navy);
  box-shadow: 14px 14px 0 rgba(33, 47, 95, 0.16);
  grid-column: 8 / -1;
  grid-row: 1 / 4;
  padding: 10px;
  position: relative;
  transform: none;
}

.cg-community--open-houses-public-events .cg-events-overdrive__board-media::after {
  background: color-mix(in srgb, var(--cg-cyan-strong) 62%, transparent);
  bottom: -22px;
  content: "";
  height: clamp(92px, 11vw, 162px);
  position: absolute;
  right: -22px;
  width: clamp(92px, 11vw, 162px);
  z-index: -1;
}

.cg-community--open-houses-public-events .cg-events-overdrive__board-media img {
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.cg-community--open-houses-public-events .cg-events-overdrive__board-info {
  align-self: end;
  border-top: 2px solid var(--cg-navy);
  display: grid;
  gap: 24px;
  grid-column: 1 / 8;
  grid-row: 3;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: clamp(32px, 5vw, 72px);
  padding-top: 24px;
  position: relative;
  z-index: 4;
}

.cg-community--open-houses-public-events .cg-events-overdrive__board-lead {
  color: var(--cg-muted) !important;
  line-height: 1.58;
  max-width: 48ch;
}

.cg-community--chess-for-the-community .cg-community-hero__media img {
  object-position: center center;
}

@media (max-width: 900px) {
  .cg-community--open-houses-public-events .cg-events-overdrive__board-layout {
    display: block;
    min-height: auto;
  }

  .cg-community--open-houses-public-events .cg-events-overdrive__board-media {
    margin: 34px 10px 0 0;
    transform: none;
  }

  .cg-community--open-houses-public-events .cg-events-overdrive__board-media img {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .cg-community--open-houses-public-events .cg-events-overdrive__board-info {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .cg-community--open-houses-public-events .cg-events-overdrive--board {
    padding-block: 42px 58px;
  }

  .cg-community--open-houses-public-events .cg-events-overdrive__board-title {
    font-size: clamp(46px, 14vw, 64px);
  }

  .cg-community--open-houses-public-events .cg-events-overdrive__board-info .cg-community-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .cg-community--open-houses-public-events .cg-events-overdrive__board-title {
    animation: cg-events-overdrive-board-arrive 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  @keyframes cg-events-overdrive-board-arrive {
    from {
      clip-path: inset(0 100% 0 0);
      filter: blur(8px);
    }

    to {
      clip-path: inset(0);
      filter: blur(0);
    }
  }
}

/* Accepted live direction: modular meetup chessboard */
@keyframes cg-community-hero-board-in {
  from {
    opacity: 0;
    transform: translateY(72px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cg-community-hero--chessboard {
  background: var(--cg-white);
  padding: clamp(48px, 6vw, 88px) 0;
}

.cg-community-hero--chessboard .cg-community-hero__layout {
  align-items: stretch;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto;
}

.cg-community-hero--chessboard .cg-community-hero__copy {
  align-content: start;
  background: var(--cg-white);
  border: 2px solid var(--cg-navy);
  box-shadow: 14px 14px 0 var(--cg-navy);
  display: grid;
  grid-column: 1 / 8;
  grid-row: 1;
  grid-template-rows: auto auto auto auto;
  max-width: none;
  min-height: 700px;
  padding: 78px 52px 52px;
  position: relative;
  z-index: 2;
}

.cg-community-hero--chessboard .cg-community-kicker {
  color: var(--cg-navy);
  font-size: 17px;
  gap: 12px;
  letter-spacing: 0.1em !important;
  margin-bottom: 18px !important;
}

.cg-community-hero--chessboard .cg-community-kicker::before {
  width: 32px;
}

.cg-community-hero--chessboard h1 {
  align-self: start;
  color: var(--cg-navy);
  font-size: clamp(42px, 5.3vw, 68px);
  margin: 16px 0 34px;
}

.cg-community-hero--chessboard h1 em {
  color: var(--cg-pink-strong);
  display: block;
}

.cg-community-hero--chessboard .cg-community-hero__lead {
  border-top: 2px solid var(--cg-navy);
  color: var(--cg-ink) !important;
  font-size: 17px;
  margin-bottom: 28px !important;
  max-width: none;
  padding-top: 22px;
}

.cg-community-hero--chessboard .cg-community-hero__media {
  animation: cg-community-hero-board-in 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  gap: 6px;
  grid-column: 8 / 13;
  grid-row: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  min-height: 700px;
  overflow: hidden;
  padding: 0;
  transform: none;
}

.cg-community-shuffle-grid__tile {
  background: transparent;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.cg-community-hero--chessboard .cg-community-shuffle-grid__tile img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cg-community-visually-hidden {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.cg-community-hero--chessboard .cg-community-hero__facts {
  align-items: center;
  bottom: 69px;
  display: flex;
  gap: 20px;
  left: 52px;
  position: absolute;
  right: 52px;
}

.cg-community-hero--chessboard .cg-community-hero__fact {
  align-items: center;
  color: var(--cg-ink) !important;
  display: flex;
  flex-direction: row;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.11em;
  padding: 0;
  text-align: center;
  text-transform: uppercase;
}

.cg-community-hero--chessboard .cg-community-hero__fact + .cg-community-hero__fact {
  border-left: 1px solid var(--cg-line);
  padding-left: 20px;
}

.cg-community-hero--chessboard .cg-community-hero__fact strong {
  color: var(--cg-pink-strong);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.02em;
  margin: 0 5px 0 0;
  text-transform: none;
}

.cg-community-hero--chessboard .cg-community-hero__intro {
  background: var(--cg-white);
  border: 2px solid var(--cg-navy);
  box-shadow: 14px 14px 0 var(--cg-navy);
  display: grid;
  gap: 28px 92px;
  grid-column: 1 / 13;
  grid-row: 2;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  margin-top: 48px;
  padding: clamp(42px, 5vw, 66px) clamp(34px, 5vw, 58px);
}

.cg-community-hero--chessboard .cg-community-hero__intro h2 {
  color: var(--cg-navy);
  font-size: clamp(42px, 4.8vw, 68px);
}

body[data-button-style] .cg-community--chess-meetups .cg-community-hero--chessboard .cg-community-button--primary,
.cg-community--chess-meetups .cg-community-hero--chessboard .cg-community-button--primary {
  background: var(--cg-pink) !important;
  border-color: var(--cg-pink-strong);
  box-shadow: 0 6px 0 var(--cg-pink-strong), 0 16px 26px rgba(235, 69, 173, 0.18);
  color: var(--cg-navy-deep) !important;
  min-height: 52px;
  padding-inline: 22px;
}

body[data-button-style] .cg-community--chess-meetups .cg-community-hero--chessboard .cg-community-button--primary:hover,
.cg-community--chess-meetups .cg-community-hero--chessboard .cg-community-button--primary:hover {
  background: color-mix(in oklch, var(--cg-pink) 82%, var(--cg-white)) !important;
  box-shadow: 0 8px 0 var(--cg-pink-strong), 0 20px 30px rgba(235, 69, 173, 0.2);
}

/* Fact strip */
.cg-community-facts {
  background: var(--cg-white);
  border-bottom: 1px solid var(--cg-line);
}

.cg-community-facts dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cg-community-facts dl > div {
  min-height: 112px;
  padding: 27px 28px;
}

.cg-community-facts dl > div + div {
  border-left: 1px solid var(--cg-line);
}

.cg-community-facts dt {
  color: var(--cg-pink-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.cg-community-facts dd {
  color: var(--cg-navy);
  font-size: 18px;
  font-weight: 800;
}

/* Shared editorial sections */
.cg-community-intro {
  background: var(--cg-paper-light);
  padding: clamp(76px, 8vw, 118px) 0;
}

.cg-community-intro__layout {
  display: grid;
  gap: 48px 92px;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.cg-community-intro h2,
.cg-community-section-heading h2,
.cg-community-case h2,
.cg-community-related h2 {
  color: var(--cg-navy);
  font-size: clamp(44px, 4.8vw, 68px);
}

.cg-community-intro__copy {
  border-left: 1px solid var(--cg-line);
  padding-left: clamp(30px, 4vw, 58px);
}

.cg-community-intro__copy > p {
  color: var(--cg-muted) !important;
  font-size: 18px;
  line-height: 1.72;
}

.cg-community-intro__copy > p + p {
  margin-top: 22px;
}

.cg-community p.cg-community-note {
  background: var(--cg-yellow);
  border: 1px solid var(--cg-navy);
  color: var(--cg-navy) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 20px 22px !important;
  width: 100%;
}

.cg-community-note strong {
  font-weight: 800;
}

.cg-community-expect {
  background: var(--cg-navy-deep);
  color: var(--cg-white);
  padding: clamp(78px, 8vw, 112px) 0;
}

.cg-community-section-heading {
  max-width: 760px;
}

.cg-community-expect .cg-community-section-heading h2 {
  color: var(--cg-white);
}

.cg-community-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 54px !important;
}

.cg-community-feature-list li {
  min-height: 270px;
  padding: 30px 36px 20px;
}

.cg-community-feature-list li:first-child {
  padding-left: 0;
}

.cg-community-feature-list li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.cg-community-feature-list li > span,
.cg-community-offering-list li > span {
  color: var(--cg-cyan);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 52px;
}

.cg-community-feature-list h3 {
  font-size: 29px;
  margin-bottom: 14px;
}

.cg-community-feature-list p {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 15px;
  line-height: 1.65;
}

.cg-community-expect--ledger {
  background: var(--cg-white);
  border: 1px solid var(--cg-line);
  color: var(--cg-navy);
}

.cg-community-expect.cg-expect-distilled {
  border: 0;
  padding: 0;
}

.cg-expect-distilled .cg-expect-distilled__layout {
  align-items: start;
  display: grid;
  gap: clamp(32px, 4vw, 56px);
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
}

.cg-expect-distilled .cg-expect-distilled__heading {
  max-width: 420px;
}

.cg-expect-distilled .cg-expect-distilled__heading h2 {
  color: var(--cg-navy);
  font-size: clamp(42px, 5.3vw, 68px);
  letter-spacing: -0.04em;
}

.cg-expect-distilled .cg-expect-distilled__heading h2 em {
  color: var(--cg-pink-strong);
}

.cg-expect-distilled .cg-expect-distilled__features {
  background: var(--cg-navy);
  border-top: 0;
  display: block;
  margin: 0 !important;
  padding: 8px clamp(20px, 2.2vw, 32px);
}

.cg-expect-distilled .cg-expect-distilled__features li,
.cg-expect-distilled .cg-expect-distilled__features li:first-child {
  align-items: center;
  border-bottom: 0;
  display: grid;
  gap: clamp(18px, 2.2vw, 34px);
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
  min-height: 0;
  padding: 20px 0;
}

.cg-expect-distilled .cg-expect-distilled__features li + li {
  border-left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.cg-expect-distilled .cg-expect-distilled__features h3 {
  color: var(--cg-white);
  font-size: 25px;
  letter-spacing: -0.025em;
  margin: 0;
}

.cg-expect-distilled .cg-expect-distilled__features p {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 16px;
  line-height: 1.55;
  margin: 0 !important;
}

@media (min-width: 761px) {
  .cg-expect-distilled .cg-expect-distilled__features {
    box-shadow: 8px 8px 0 var(--cg-pink-strong);
  }
}

@media (min-width: 761px) {
  .cg-expect-distilled .cg-expect-distilled__layout {
    padding-bottom: 30px;
    padding-top: 30px;
  }
}

@media (max-width: 760px) {
  .cg-community-expect.cg-expect-distilled {
    padding-block: 24px;
  }

  .cg-expect-distilled .cg-expect-distilled__layout {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .cg-expect-distilled .cg-expect-distilled__heading {
    max-width: 520px;
  }

  .cg-expect-distilled .cg-expect-distilled__features li,
  .cg-expect-distilled .cg-expect-distilled__features li:first-child {
    align-items: start;
    gap: 6px;
    grid-template-columns: 1fr;
    padding: 18px 0;
  }

  .cg-expect-distilled .cg-expect-distilled__features {
    padding: 8px 20px;
  }
}

.cg-community-offering-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 54px !important;
}

.cg-community-offering-list li {
  align-items: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  display: grid;
  gap: 20px;
  grid-template-columns: 44px 1fr;
  min-height: 112px;
  padding: 26px 30px 24px 0;
}

.cg-community-offering-list li:nth-child(even) {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  padding-left: 34px;
}

.cg-community-offering-list li > span {
  margin: 3px 0 0;
}

.cg-community-offering-list strong {
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.25;
}

/* Distilled direction: a quiet editorial rail keeps the offering breadth scannable. */
.cg-community--open-houses-public-events .cg-offerings-motionfix--lift {
  background: var(--cg-navy-deep);
  color: var(--cg-white);
  overflow: hidden;
  padding: clamp(56px, 7vw, 88px) 0;
}

.cg-community--open-houses-public-events .cg-offerings-motionfix__heading h2 {
  color: var(--cg-white);
  font-size: clamp(42px, 5.4vw, 72px);
}

.cg-community--open-houses-public-events .cg-offerings-motionfix__heading {
  clip-path: inset(0 0 100% 0);
  transform: translateY(28px);
  transition:
    clip-path 720ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cg-community--open-houses-public-events .cg-offerings-motionfix.is-offerings-visible .cg-offerings-motionfix__heading {
  clip-path: inset(0);
  transform: none;
}

.cg-community--open-houses-public-events .cg-offerings-motionfix__lift-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(38px, 5vw, 64px);
}

.cg-community--open-houses-public-events .cg-offerings-motionfix__lift-item {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  gap: 16px;
  grid-template-columns: 36px 1fr;
  min-height: 0;
  padding: 20px clamp(18px, 2.5vw, 32px) 20px 0;
  transform: none;
}

.cg-community--open-houses-public-events .cg-offerings-motionfix__lift-item:nth-child(even) {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: clamp(18px, 2.5vw, 32px);
}

.cg-community--open-houses-public-events .cg-offerings-motionfix__lift-item:last-child {
  background: transparent;
  color: inherit;
}

.cg-community--open-houses-public-events .cg-offerings-motionfix__lift-item > span {
  color: var(--cg-cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.cg-community--open-houses-public-events .cg-offerings-motionfix__lift-item strong {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.3;
}

.cg-community--open-houses-public-events .cg-offerings-motionfix__lift-item[data-cg-reveal] {
  clip-path: inset(12% 0 0 0);
  opacity: 1;
  transform: translateY(20px);
  transition:
    clip-path 520ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--cg-offering-index, 0) * 70ms) !important;
}

.cg-community--open-houses-public-events .cg-offerings-motionfix.is-offerings-visible .cg-offerings-motionfix__lift-item[data-cg-reveal] {
  clip-path: inset(0);
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  .cg-community--open-houses-public-events .cg-offerings-motionfix__lift-list {
    grid-template-columns: 1fr;
  }

  .cg-community--open-houses-public-events .cg-offerings-motionfix__lift-item:nth-child(even) {
    border-left: 0;
    padding-left: 0;
  }

  .cg-community--open-houses-public-events .cg-offerings-motionfix__lift-item:last-child {
    grid-column: auto;
  }
}

/* Case studies */
.cg-community-case {
  background: var(--cg-paper-light);
  border-bottom: 1px solid var(--cg-line);
  padding: clamp(78px, 8vw, 116px) 0;
}

.cg-community-case--aliwal,
.cg-community-case--greenwood {
  background: var(--cg-paper);
}

.cg-community-case__layout {
  align-items: center;
  display: grid;
  gap: clamp(52px, 7vw, 96px);
  grid-template-columns: minmax(0, 0.88fr) minmax(410px, 1.12fr);
}

.cg-community-case__layout--reverse {
  grid-template-columns: minmax(410px, 1.12fr) minmax(0, 0.88fr);
}

.cg-community-case__layout--reverse .cg-community-case__copy {
  grid-column: 2;
  grid-row: 1;
}

.cg-community-case__layout--reverse .cg-community-case__hero {
  grid-column: 1;
  grid-row: 1;
}

.cg-community-case h2 {
  margin-bottom: 26px;
}

.cg-community-case__copy > p:not(.cg-community-kicker):not(.cg-community-note) {
  color: var(--cg-muted) !important;
  font-size: 17px;
  line-height: 1.72;
  margin-bottom: 25px !important;
}

.cg-community-case__copy .cg-community-note {
  margin-bottom: 23px !important;
}

.cg-community-case__hero {
  background: var(--cg-white);
  border: 1px solid var(--cg-navy);
  box-shadow: 14px 14px 0 var(--cg-accent);
  padding: 9px 9px 15px;
}

.cg-community-case__hero img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.cg-community-case__hero figcaption {
  color: var(--cg-muted);
  font-family: Merriweather, Georgia, serif;
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  padding: 12px 4px 0;
}

/* Event case studies: responsive, paginated photo fan. */
.cg-community-case--has-fan {
  overflow: hidden;
}

.cg-community-case--has-fan .cg-community-case__layout {
  gap: clamp(20px, 3vw, 44px);
  grid-template-columns: minmax(280px, 0.66fr) minmax(520px, 1.34fr);
}

.cg-community-case--has-fan .cg-community-case__layout--reverse {
  grid-template-columns: minmax(520px, 1.34fr) minmax(280px, 0.66fr);
}

/*
 * The event fans are intentionally wider than their layout tracks. Give
 * editorial copy a full row so the outer photographs never obscure text.
 */
.cg-community-case--ifs .cg-community-case__layout,
.cg-community-case--aliwal .cg-community-case__layout,
.cg-community-case--castle .cg-community-case__layout,
.cg-community-case--greenwood .cg-community-case__layout {
  align-items: start;
  gap: clamp(36px, 5vw, 68px);
  grid-template-columns: minmax(0, 1fr);
}

.cg-community-case--ifs .cg-community-case__copy,
.cg-community-case--aliwal .cg-community-case__copy,
.cg-community-case--castle .cg-community-case__copy,
.cg-community-case--greenwood .cg-community-case__copy {
  max-width: 760px;
}

.cg-community-case--aliwal .cg-community-case__copy {
  grid-column: 1;
  grid-row: 1;
}

.cg-community-case--aliwal .cg-event-fan {
  grid-column: 1;
  grid-row: 2;
}

.cg-community-case--castle .cg-community-case__copy--heading,
.cg-community-case--greenwood .cg-community-case__copy--heading {
  grid-column: 1;
  grid-row: 1;
}

.cg-community-case--castle .cg-community-case__copy--heading h2,
.cg-community-case--greenwood .cg-community-case__copy--heading h2 {
  margin-bottom: 0;
}

.cg-community-case--castle .cg-event-fan,
.cg-community-case--greenwood .cg-event-fan {
  grid-column: 1;
  grid-row: 2;
}

.cg-community-case--castle .cg-community-case__copy--details,
.cg-community-case--greenwood .cg-community-case__copy--details {
  grid-column: 1;
  grid-row: 3;
}

/* Castle for a Cause: accepted Impeccable bold treatment. */
.cg-community--chess-for-the-community .cg-castle-bold--scale {
  background: var(--cg-navy);
  border-bottom: 0;
  color: var(--cg-white);
  padding-block: clamp(88px, 9vw, 136px);
}

.cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-case__layout {
  gap: clamp(34px, 5vw, 72px);
}

.cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-case__copy--heading,
.cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-case__copy--details {
  max-width: 1100px;
}

.cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-kicker {
  color: var(--cg-pink) !important;
}

.cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-kicker::before {
  background: var(--cg-pink) !important;
}

.cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-case__copy--heading h2 {
  color: var(--cg-white);
  font-size: clamp(64px, 8.8vw, 119px);
  letter-spacing: -0.065em;
  line-height: 0.87;
  max-width: 9ch;
}

.cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-case__copy--details {
  border-left: 8px solid var(--cg-pink);
  padding-left: clamp(22px, 3vw, 42px);
}

.cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-case__copy > p:not(.cg-community-kicker):not(.cg-community-note) {
  color: var(--cg-white) !important;
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 600;
  line-height: 1.6;
  max-width: 78ch;
}

.cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-note {
  background: transparent;
  border: 2px solid var(--cg-white);
  box-shadow: 10px 10px 0 var(--cg-cyan);
  color: var(--cg-white) !important;
}

.cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-note strong {
  color: var(--cg-white);
}

.cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-note--campaign-success {
  align-items: center;
  background: var(--cg-navy-deep);
  border: 3px solid var(--cg-pink);
  box-shadow: 14px 14px 0 var(--cg-cyan);
  display: grid;
  gap: 16px clamp(28px, 4vw, 58px);
  grid-template-columns: minmax(290px, 0.82fr) minmax(0, 1.18fr);
  margin-top: 8px !important;
  max-width: 980px;
  padding: clamp(26px, 4vw, 48px) !important;
}

.cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-note__label {
  color: var(--cg-pink);
  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-note__proof {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-note__result {
  color: var(--cg-white);
  display: block;
  font-size: clamp(44px, 4.8vw, 68px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.86;
  white-space: nowrap;
}

.cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-note__result span {
  color: var(--cg-cyan);
  display: block;
  font-size: 0.28em;
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin-top: 12px;
  text-transform: uppercase;
}

.cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-note__impact {
  color: var(--cg-white);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 1.55;
  max-width: 48ch;
}

@media (max-width: 680px) {
  .cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-note--campaign-success {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-note__result {
    font-size: clamp(38px, 14vw, 58px);
  }
}

.cg-community--chess-for-the-community .cg-castle-bold--scale .cg-community-source-link {
  border-color: var(--cg-cyan);
  color: var(--cg-white);
}

.cg-community--chess-for-the-community .cg-community-case--greenwood {
  background: #ef72c2;
  border-bottom: 0;
}

.cg-community--chess-for-the-community .cg-community-case--greenwood .cg-community-kicker {
  color: var(--cg-white) !important;
}

.cg-community--chess-for-the-community .cg-community-case--greenwood .cg-community-case__copy--heading {
  max-width: 1100px;
}

.cg-community--chess-for-the-community .cg-community-case--greenwood .cg-community-case__copy--heading h2 {
  color: var(--cg-white);
  font-size: clamp(64px, 8.8vw, 119px);
  letter-spacing: -0.065em;
  line-height: 0.87;
  max-width: 11ch;
}

.cg-community--chess-for-the-community .cg-community-case--greenwood .cg-event-fan__status {
  color: var(--cg-white);
}

.cg-community--chess-for-the-community .cg-greenwood-impact {
  background: var(--cg-navy);
  border: 3px solid var(--cg-white);
  box-shadow: 14px 14px 0 var(--cg-cyan);
  box-sizing: border-box;
  display: grid;
  gap: clamp(22px, 3vw, 38px);
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.9fr);
  max-width: 1040px;
  padding: clamp(30px, 4vw, 52px);
}

.cg-community--chess-for-the-community .cg-community-case--greenwood .cg-greenwood-impact .cg-greenwood-impact__intro {
  color: var(--cg-white) !important;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 650;
  line-height: 1.55;
  margin: 0 !important;
}

.cg-community--chess-for-the-community .cg-greenwood-impact .cg-greenwood-impact__result {
  align-items: center;
  border-left: 3px solid var(--cg-pink);
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr);
  margin: 0 !important;
  padding-left: clamp(20px, 3vw, 34px);
}

.cg-community--chess-for-the-community .cg-greenwood-impact__result strong {
  color: var(--cg-white);
  font-size: clamp(54px, 6vw, 82px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.86;
}

.cg-community--chess-for-the-community .cg-greenwood-impact__result span {
  color: var(--cg-cyan);
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 750;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .cg-community--chess-for-the-community .cg-greenwood-impact {
    grid-template-columns: 1fr;
  }
}

.cg-event-fan {
  min-width: 0;
  width: 100%;
}

.cg-event-fan__layout {
  height: clamp(430px, 42vw, 590px);
  perspective: 1200px;
  position: relative;
  width: 100%;
}

body[data-button-style] .cg-community .cg-event-fan__card,
.cg-event-fan__card {
  --cg-fan-x: 0rem;
  --cg-fan-y: 0rem;
  --cg-fan-rotation: 0deg;
  --cg-fan-scale: 1;
  --cg-fan-hover-scale: 1.06;
  background: var(--cg-white);
  border: 0;
  border-radius: 0 !important;
  box-shadow: 0 18px 36px rgba(23, 35, 77, 0.22);
  cursor: pointer;
  height: auto;
  left: 50%;
  margin: 0;
  max-width: none;
  opacity: 1;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  position: absolute;
  top: 48%;
  transform:
    translate3d(calc(-50% + var(--cg-fan-x)), calc(-50% + var(--cg-fan-y)), 0)
    rotate(var(--cg-fan-rotation))
    scale(var(--cg-fan-scale));
  transform-origin: 50% 92%;
  transition:
    opacity 460ms ease,
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--cg-fan-delay, 0ms);
  width: clamp(190px, 25vw, 310px);
}

body[data-button-style] .cg-community .cg-event-fan.is-ready .cg-event-fan__card,
.cg-event-fan.is-ready .cg-event-fan__card {
  opacity: 0;
  transform: translate3d(calc(-50% + var(--cg-fan-exit-x, 0rem)), 7rem, 0) rotate(var(--cg-fan-exit-rotation, 0deg)) scale(0.58);
}

body[data-button-style] .cg-community .cg-event-fan.is-ready .cg-event-fan__card.is-visible,
.cg-event-fan.is-ready .cg-event-fan__card.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform:
    translate3d(calc(-50% + var(--cg-fan-x)), calc(-50% + var(--cg-fan-y)), 0)
    rotate(var(--cg-fan-rotation))
    scale(var(--cg-fan-scale));
}

body[data-button-style] .cg-community .cg-event-fan.is-ready .cg-event-fan__card.is-visible:hover,
body[data-button-style] .cg-community .cg-event-fan.is-ready .cg-event-fan__card.is-visible:focus-visible,
.cg-event-fan.is-ready .cg-event-fan__card.is-visible:hover,
.cg-event-fan.is-ready .cg-event-fan__card.is-visible:focus-visible {
  transform:
    translate3d(calc(-50% + var(--cg-fan-x)), calc(-50% + var(--cg-fan-y) - 20px), 0)
    rotate(var(--cg-fan-rotation))
    scale(var(--cg-fan-hover-scale));
  z-index: 30 !important;
}

.cg-event-fan__card img {
  aspect-ratio: 4 / 5;
  border-radius: 0 !important;
  height: auto;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  width: 100%;
}

.cg-event-fan__controls {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: -4px;
  position: relative;
  z-index: 35;
}

body[data-button-style] .cg-community .cg-event-fan__arrow,
.cg-event-fan__arrow {
  align-items: center;
  background: var(--cg-white);
  border: 1px solid rgba(33, 47, 95, 0.24);
  border-radius: 999px !important;
  box-shadow: 4px 4px 0 var(--cg-cyan-strong);
  color: var(--cg-navy);
  cursor: pointer;
  display: flex;
  height: 48px;
  justify-content: center;
  margin: 0;
  padding: 0;
  transition: box-shadow 160ms ease, transform 160ms ease;
  width: 48px;
}

.cg-event-fan__arrow:hover {
  box-shadow: 7px 7px 0 var(--cg-cyan-strong);
  transform: translate(-2px, -2px);
}

.cg-event-fan__arrow .fa {
  font-size: 17px;
}

.cg-event-fan__status {
  color: var(--cg-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  min-width: 58px;
  text-align: center;
}

/* Galleries */
@keyframes cg-gallery-overdrive-ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.cg-gallery-overdrive--ticker {
  background: var(--cg-white);
  overflow: hidden;
  padding: 0 0 clamp(78px, 9vw, 128px);
}

.cg-gallery-overdrive--ticker .cg-gallery-overdrive__ticker {
  background: var(--cg-pink);
  border-block: 3px solid var(--cg-navy);
  color: var(--cg-navy);
  display: flex;
  overflow: hidden;
  padding-block: 16px;
  white-space: nowrap;
}

.cg-gallery-overdrive--ticker .cg-gallery-overdrive__ticker-track {
  animation: cg-gallery-overdrive-ticker 24s linear infinite;
  display: flex;
  flex: none;
  font: 800 19px/1 "DM Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.02em;
  min-width: max-content;
  text-transform: uppercase;
}

.cg-gallery-overdrive--ticker .cg-gallery-overdrive__ticker-track span {
  padding-right: 32px;
}

.cg-gallery-overdrive--ticker .cg-gallery-overdrive__ticker-track span::after {
  color: var(--cg-white);
  content: "♟";
  padding-left: 32px;
}

.cg-gallery-overdrive--ticker .cg-gallery-overdrive__masthead {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr minmax(220px, 0.38fr);
  padding-block: clamp(64px, 8vw, 112px);
}

.cg-gallery-overdrive--ticker .cg-gallery-overdrive__masthead h2 {
  color: var(--cg-navy);
  font: 800 clamp(58px, 9vw, 126px)/0.85 "DM Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.04em;
  margin: 0;
  text-transform: uppercase;
}

.cg-gallery-overdrive--ticker .cg-gallery-overdrive__masthead h2 em {
  color: var(--cg-pink);
  font-family: Merriweather, Georgia, serif;
  text-transform: none;
}

.cg-gallery-overdrive--ticker .cg-gallery-overdrive__masthead p {
  align-self: end;
  border-top: 3px solid var(--cg-cyan);
  color: var(--cg-navy);
  font: 700 18px/1.45 "DM Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding-top: 18px;
}

/* The gallery lead-in reveals like a board being uncovered, then lets each
 * side of the masthead settle into the composition. */
.cg-gallery-overdrive--ticker .cg-gallery-overdrive__masthead[data-cg-gallery-masthead].cg-gallery-masthead--prepared {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transform: translateY(28px);
  transition: clip-path 760ms cubic-bezier(0.16, 1, 0.3, 1), opacity 620ms ease, transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cg-gallery-overdrive--ticker .cg-gallery-overdrive__masthead[data-cg-gallery-masthead].cg-gallery-masthead--prepared h2,
.cg-gallery-overdrive--ticker .cg-gallery-overdrive__masthead[data-cg-gallery-masthead].cg-gallery-masthead--prepared p {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cg-gallery-overdrive--ticker .cg-gallery-overdrive__masthead[data-cg-gallery-masthead].cg-gallery-masthead--prepared.is-visible {
  clip-path: inset(0);
  opacity: 1;
  transform: translateY(0);
}

.cg-gallery-overdrive--ticker .cg-gallery-overdrive__masthead[data-cg-gallery-masthead].cg-gallery-masthead--prepared.is-visible h2,
.cg-gallery-overdrive--ticker .cg-gallery-overdrive__masthead[data-cg-gallery-masthead].cg-gallery-masthead--prepared.is-visible p {
  opacity: 1;
  transform: translateY(0);
}

.cg-gallery-overdrive--ticker .cg-gallery-overdrive__masthead[data-cg-gallery-masthead].cg-gallery-masthead--prepared.is-visible h2 {
  transition-delay: 100ms;
}

.cg-gallery-overdrive--ticker .cg-gallery-overdrive__masthead[data-cg-gallery-masthead].cg-gallery-masthead--prepared.is-visible p {
  transition-delay: 190ms;
}

.cg-gallery-overdrive--ticker .cg-gallery-overdrive__seasons {
  display: grid;
  gap: 94px;
}

.cg-gallery-overdrive--ticker .cg-gallery-overdrive__round {
  position: relative;
}

.cg-gallery-overdrive--ticker .cg-gallery-overdrive__round-heading {
  align-items: center;
  background: var(--cg-cyan);
  border: 3px solid var(--cg-navy);
  box-shadow: 9px 9px 0 var(--cg-navy);
  display: flex;
  justify-content: space-between;
  margin: 0 9px 30px 0;
  padding: 17px 20px;
}

.cg-gallery-overdrive--ticker .cg-gallery-overdrive__round-heading h3 {
  color: var(--cg-navy);
  font: 800 clamp(25px, 3vw, 38px)/1 "DM Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.035em;
  margin: 0;
}

.cg-gallery-overdrive--ticker .cg-gallery-overdrive__round-heading span {
  color: var(--cg-navy);
  font: 800 12px/1 "DM Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .cg-gallery-overdrive--ticker .cg-gallery-overdrive__ticker-track {
    animation: none;
  }

  .cg-gallery-overdrive--ticker .cg-gallery-overdrive__masthead[data-cg-gallery-masthead].cg-gallery-masthead--prepared,
  .cg-gallery-overdrive--ticker .cg-gallery-overdrive__masthead[data-cg-gallery-masthead].cg-gallery-masthead--prepared h2,
  .cg-gallery-overdrive--ticker .cg-gallery-overdrive__masthead[data-cg-gallery-masthead].cg-gallery-masthead--prepared p {
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 700px) {
  .cg-gallery-overdrive--ticker .cg-gallery-overdrive__masthead {
    grid-template-columns: 1fr;
  }

  .cg-gallery-overdrive--ticker .cg-gallery-overdrive__masthead h2 {
    font-size: 64px;
  }
}

@keyframes cg-community-gallery-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.cg-community-photos {
  background: var(--cg-white);
  padding: clamp(78px, 8vw, 116px) 0;
}

.cg-community-photos.cg-gallery-overdrive--ticker {
  padding-top: 10px;
}

.cg-meetup-season-galleries {
  display: grid;
  gap: clamp(92px, 10vw, 148px);
  margin-top: clamp(52px, 6vw, 80px);
}

.cg-meetup-season {
  margin: 0;
  min-width: 0;
}

.cg-meetup-season__heading {
  align-items: flex-end;
  border-top: 2px solid var(--cg-navy);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding-top: 20px;
}

.cg-meetup-season__heading h3 {
  color: var(--cg-navy);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0;
}

.cg-meetup-season .cg-event-fan {
  margin-top: 18px;
}

.cg-community-gallery {
  display: grid;
  gap: 24px;
  grid-auto-flow: dense;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-top: 52px;
}

.cg-community-gallery__item {
  grid-column: span 6;
}

.cg-community-gallery__item--2,
.cg-community-gallery__item--3 {
  grid-column: span 3;
}

.cg-community-gallery__media {
  background: var(--cg-paper);
  border-radius: 0 !important;
  display: block;
  overflow: hidden;
  width: 100%;
}

.cg-community-gallery__item img {
  aspect-ratio: 4 / 3;
  border-radius: 0 !important;
  object-fit: cover;
  width: 100%;
}

.cg-community-gallery__item--2 img,
.cg-community-gallery__item--3 img {
  aspect-ratio: 3 / 4;
}

.cg-community-gallery__item figcaption {
  padding-top: 14px;
}

.cg-community-gallery__item figcaption strong {
  color: var(--cg-navy);
  display: block;
  font-size: 17px;
  margin-bottom: 5px;
}

.cg-community-gallery__item figcaption > span {
  color: var(--cg-muted);
  display: block;
  font-size: 14px;
  line-height: 1.55;
}

/* Public events: focused swipe gallery with expanding filmstrip. */
.cg-event-carousel {
  margin-top: 52px;
}

.cg-event-carousel__viewport {
  background: var(--cg-white);
  border: 0;
  box-shadow: none;
  overflow: hidden;
  position: relative;
}

.cg-event-carousel__track {
  display: flex;
  touch-action: pan-y;
  transition: transform 540ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.cg-event-carousel.is-dragging,
.cg-event-carousel.is-dragging * {
  cursor: grabbing;
}

.cg-event-carousel.is-dragging .cg-event-carousel__track {
  transition: none;
}

.cg-event-carousel__slide {
  flex: 0 0 100%;
  margin: 0;
  min-width: 0;
}

.cg-event-carousel__media {
  background: var(--cg-navy-deep);
  overflow: hidden;
}

.cg-event-carousel__media img {
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  width: 100%;
}

.cg-event-carousel__arrow {
  align-items: center;
  background: var(--cg-white);
  border: 2px solid var(--cg-navy);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--cg-cyan-strong);
  color: var(--cg-navy);
  cursor: pointer;
  display: flex;
  height: 50px;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: box-shadow 160ms ease, opacity 160ms ease, transform 160ms ease;
  width: 50px;
  z-index: 2;
}

.cg-event-carousel__arrow span {
  font-size: 17px;
  line-height: 1;
}

.cg-event-carousel__arrow--previous {
  left: 22px;
}

.cg-event-carousel__arrow--next {
  right: 22px;
}

.cg-event-carousel__arrow:not(:disabled):hover {
  box-shadow: 7px 7px 0 var(--cg-cyan-strong);
  transform: translate(-2px, calc(-50% - 2px));
}

.cg-event-carousel__arrow:disabled {
  cursor: not-allowed;
  opacity: 0.34;
}

.cg-event-carousel__status {
  background: var(--cg-navy-deep);
  bottom: 0;
  color: var(--cg-white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 8px 12px;
  position: absolute;
  right: 0;
}

.cg-event-carousel__thumbnails {
  display: flex;
  gap: 4px;
  margin-top: 24px;
  overflow: hidden;
  padding: 4px 0 14px;
  scrollbar-width: none;
  scroll-behavior: smooth;
  width: 100%;
}

.cg-event-carousel__thumbnails::-webkit-scrollbar {
  display: none;
}

body[data-button-style] .cg-community .cg-event-carousel__thumbnail,
.cg-event-carousel__thumbnail {
  background: var(--cg-navy-deep);
  border: 0;
  border-radius: 0 !important;
  box-shadow: none;
  cursor: pointer;
  flex: 1 1 0;
  height: 78px;
  margin: 0;
  min-width: 0;
  opacity: 0.62;
  overflow: hidden;
  padding: 0;
  transition:
    flex-grow 300ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 180ms ease,
    outline-color 180ms ease;
}

.cg-event-carousel__thumbnail.is-active {
  flex-grow: 2.8;
  opacity: 1;
  outline: 0;
}

.cg-event-carousel__thumbnail img {
  border-radius: 0 !important;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  width: 100%;
}

.cg-event-carousel__thumbnail:hover {
  opacity: 1;
}

.cg-community-gallery.cg-community-gallery--marquee {
  --cg-marquee-card: clamp(220px, 24vw, 330px);
  display: block;
  margin-inline: calc((100% - 100vw) / 2);
  margin-top: 54px;
  overflow: hidden;
  padding-block: 10px 18px;
  width: 100vw;
}

.cg-community-gallery--marquee .cg-community-gallery__track {
  animation: cg-community-gallery-marquee 44s linear infinite;
  display: flex;
  width: max-content;
  will-change: transform;
}

.cg-community-gallery--marquee .cg-community-gallery__set {
  display: flex;
  gap: clamp(18px, 2.2vw, 28px);
  padding-right: clamp(18px, 2.2vw, 28px);
}

.cg-community-gallery--marquee .cg-community-gallery__item,
.cg-community-gallery--marquee .cg-community-gallery__item--2,
.cg-community-gallery--marquee .cg-community-gallery__item--3 {
  flex: 0 0 var(--cg-marquee-card);
  grid-column: auto;
  margin: 0;
}

.cg-community-gallery--marquee .cg-community-gallery__media {
  background: var(--cg-white);
  border: 2px solid var(--cg-navy);
  box-shadow: 8px 8px 0 var(--cg-pink-strong);
  padding: 7px;
}

.cg-community-gallery--marquee .cg-community-gallery__item:nth-child(2n) .cg-community-gallery__media {
  box-shadow: 8px 8px 0 var(--cg-cyan-strong);
}

.cg-community-gallery--marquee .cg-community-gallery__item img,
.cg-community-gallery--marquee .cg-community-gallery__item--2 img,
.cg-community-gallery--marquee .cg-community-gallery__item--3 img {
  aspect-ratio: 1 / 1;
  display: block;
  height: auto;
  object-fit: cover;
  transition: filter 180ms ease, transform 180ms ease;
}

.cg-community-gallery--marquee .cg-community-gallery__item:hover img,
.cg-community-gallery--marquee .cg-community-gallery__item:focus-within img {
  filter: saturate(1.08) contrast(1.03);
  transform: translate(-2px, -2px);
}

@keyframes cg-community-scroll-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.cg-live-scroll-gallery--marquee {
  color: var(--cg-white);
  margin-top: 52px;
  margin-left: calc(50% - 50vw);
  max-width: 100vw;
  min-width: 0;
  width: 100vw;
}

.cg-live-scroll-gallery--marquee .cg-live-scroll-gallery__viewport {
  background: var(--cg-navy-deep);
  border: 1px solid var(--cg-navy-deep);
  box-shadow: 8px 8px 0 var(--cg-cyan-strong);
  margin-top: 18px;
  overflow: hidden;
  padding: 18px 0 24px;
}

.cg-live-scroll-gallery--marquee .cg-live-scroll-gallery__viewport:focus-visible {
  outline: 3px solid var(--cg-cyan-strong);
  outline-offset: 4px;
}

.cg-live-scroll-gallery--marquee .cg-live-scroll-gallery__track {
  animation: cg-community-scroll-marquee 56s linear infinite;
  display: flex;
  width: max-content;
}

.cg-live-scroll-gallery--marquee .cg-live-scroll-gallery__viewport:focus .cg-live-scroll-gallery__track,
.cg-live-scroll-gallery--marquee .cg-live-scroll-gallery__viewport:focus-within .cg-live-scroll-gallery__track {
  animation-play-state: paused;
}

.cg-live-scroll-gallery--marquee .cg-live-scroll-gallery__group {
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
  padding: 0 9px;
}

.cg-live-scroll-gallery--marquee .cg-live-scroll-gallery__item {
  background: var(--cg-white);
  border: 1px solid var(--cg-navy);
  flex: 0 0 clamp(240px, 26vw, 360px);
  margin: 0;
  width: clamp(240px, 26vw, 360px);
}

.cg-live-scroll-gallery--marquee .cg-live-scroll-gallery__media {
  background: var(--cg-cyan);
  overflow: hidden;
}

.cg-live-scroll-gallery--marquee .cg-live-scroll-gallery__media img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.cg-live-scroll-gallery--marquee .cg-live-scroll-gallery__item figcaption {
  background: var(--cg-white);
  display: block;
  padding: 16px 16px 18px;
}

.cg-live-scroll-gallery--marquee .cg-live-scroll-gallery__item figcaption strong {
  color: var(--cg-navy);
  display: block;
  font-size: 16px;
  line-height: 1.25;
  margin-bottom: 6px;
}

.cg-live-scroll-gallery--marquee .cg-live-scroll-gallery__item figcaption span {
  color: var(--cg-muted);
  display: block;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .cg-live-scroll-gallery--marquee .cg-live-scroll-gallery__item {
    flex-basis: min(76vw, 320px);
    width: min(76vw, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cg-live-scroll-gallery--marquee .cg-live-scroll-gallery__track {
    animation: none;
    transform: none;
  }
}

.cg-community-photos--cyan {
  background-color: rgba(173, 241, 249, 0.7);
  color: var(--cg-ink);
}

.cg-community-photos--cyan .cg-community-section-heading h2 {
  color: var(--cg-navy);
}

.cg-community-photos--cyan .cg-community-section-heading h2 em {
  color: var(--cg-cyan-strong);
}

.cg-community-photos--cyan .cg-community-section-heading h2.cg-live-title--stacked {
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.94;
  max-width: 13ch;
  text-wrap: balance;
}

.cg-community-photos--cyan .cg-community-section-heading h2.cg-live-title--stacked em {
  color: var(--cg-pink-strong);
  display: block;
  margin-top: 10px;
}

.cg-community-photos--cyan .cg-community-kicker {
  color: var(--cg-navy);
}

.cg-community-photos--cyan .cg-live-scroll-gallery--marquee .cg-live-scroll-gallery__viewport {
  background: var(--cg-paper-light);
  box-shadow: 8px 8px 0 rgba(235, 69, 173, 0.7);
}

/* Final conversion and related navigation */
.cg-community-final,
.cg-community-related {
  background: var(--cg-navy-deep);
  color: var(--cg-white);
  padding: clamp(72px, 7vw, 98px) 0;
}

@keyframes cg-community-final-swipe {
  from {
    clip-path: inset(0 100% 0 0);
    transform: translateX(-72px);
  }

  to {
    clip-path: inset(0);
    transform: translateX(0);
  }
}

@keyframes cg-community-final-slam {
  from {
    opacity: 0;
    transform: translateY(64px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cg-community-final--band {
  background: var(--cg-white);
  color: var(--cg-navy);
  overflow: hidden;
  padding: clamp(68px, 8vw, 110px) 0;
  position: relative;
}

.cg-community-final--band::before,
.cg-community-final--band::after {
  background: var(--cg-pink-strong);
  content: "";
  height: 12px;
  left: 0;
  position: absolute;
  right: 0;
}

.cg-community-final--band::before {
  top: 0;
}

.cg-community-final--band::after {
  background: var(--cg-cyan-strong);
  bottom: 0;
}

.cg-community-final--band .cg-community-final__layout {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.5fr) minmax(260px, 0.7fr);
}

.cg-community-final--band .cg-community-final__message {
  animation: cg-community-final-swipe 680ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cg-community-final--band .cg-community-kicker {
  color: var(--cg-pink-strong);
}

.cg-community-final--band h2 {
  color: var(--cg-navy);
  font-size: clamp(42px, 5.3vw, 68px);
  margin: 0;
}

.cg-community--chess-meetups .cg-community-final--band h2 {
  color: var(--cg-navy);
}

.cg-community-final--band .cg-community-final__copy {
  animation: cg-community-final-swipe 680ms 100ms cubic-bezier(0.16, 1, 0.3, 1) both;
  border-left: 2px solid var(--cg-navy);
  color: var(--cg-ink);
  font-size: 17px;
  line-height: 1.6;
  padding-left: 28px;
}

body[data-button-style] .cg-community-final--band .cg-community-button,
.cg-community-final--band .cg-community-button {
  animation: cg-community-final-slam 620ms 180ms cubic-bezier(0.16, 1, 0.3, 1) both;
  align-items: center;
  background: var(--cg-navy);
  box-shadow: 8px 8px 0 var(--cg-cyan-strong);
  color: var(--cg-white);
  display: flex;
  justify-content: space-between;
  min-height: 112px;
  padding: 24px 26px;
  transform: rotate(-1deg);
}

body[data-button-style] .cg-community--chess-meetups .cg-community-final--band .cg-community-button--cyan,
.cg-community--chess-meetups .cg-community-final--band .cg-community-button--cyan {
  background: var(--cg-green) !important;
  box-shadow: 8px 8px 0 var(--cg-green-strong);
  color: var(--cg-navy-deep);
}

body[data-button-style] .cg-community--chess-meetups .cg-community-final--band .cg-community-button--cyan:hover,
.cg-community--chess-meetups .cg-community-final--band .cg-community-button--cyan:hover {
  background: color-mix(in oklch, var(--cg-green) 88%, var(--cg-white)) !important;
  box-shadow: 10px 10px 0 var(--cg-green-strong);
}

.cg-final-color--warm {
  background: var(--cg-pink);
  color: var(--cg-navy);
  overflow: hidden;
  padding: clamp(76px, 8vw, 110px) 0;
  position: relative;
}

.cg-final-color--warm::before {
  background: var(--cg-pink-strong);
  height: 14px;
}

.cg-final-color--warm .cg-final-color__layout {
  align-items: center;
  display: grid;
  gap: clamp(28px, 4vw, 58px);
  grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.55fr) minmax(260px, 0.7fr);
}

.cg-final-color--warm .cg-final-color__message {
  position: relative;
}

.cg-final-color--warm .cg-final-color__kicker {
  color: var(--cg-navy);
  font-size: clamp(14px, 1.05vw, 16px);
  margin-bottom: 14px;
}

.cg-community--chess-meetups .cg-final-color--warm .cg-final-color__kicker {
  color: var(--cg-navy) !important;
}

.cg-final-color--warm .cg-final-color__message h2 {
  color: var(--cg-navy);
  font-size: clamp(42px, 5.3vw, 68px);
  margin: 0;
}

.cg-final-color--warm .cg-final-color__message h2 em {
  color: var(--cg-pink-strong);
}

.cg-final-color--warm .cg-final-color__copy {
  border-top: 3px solid var(--cg-pink-strong);
  color: var(--cg-navy-deep);
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  padding-top: 20px;
}

body[data-button-style] .cg-community--chess-meetups .cg-final-color--warm .cg-final-color__button,
.cg-community--chess-meetups .cg-final-color--warm .cg-final-color__button {
  background: var(--cg-green) !important;
  box-shadow: 8px 8px 0 var(--cg-green-strong) !important;
  color: var(--cg-navy-deep) !important;
}

body[data-button-style] .cg-community--chess-meetups .cg-final-color--warm .cg-final-color__button:hover,
.cg-community--chess-meetups .cg-final-color--warm .cg-final-color__button:hover {
  background: color-mix(in oklch, var(--cg-green) 88%, var(--cg-white)) !important;
  box-shadow: 10px 10px 0 var(--cg-green-strong) !important;
}

@media (max-width: 920px) {
  .cg-final-color--warm .cg-final-color__layout {
    grid-template-columns: 1fr 1fr;
  }

  .cg-final-color--warm .cg-final-color__message {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .cg-final-color--warm .cg-final-color__layout {
    grid-template-columns: 1fr;
  }

  .cg-final-color--warm .cg-final-color__message {
    grid-column: auto;
  }
}

.cg-community-final__layout {
  align-items: center;
  display: grid;
  gap: 50px 80px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.cg-community-final h2,
.cg-community-related h2 {
  color: var(--cg-white);
}

.cg-community-final__layout > div:last-child > p {
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 26px !important;
}

.cg-community-related header {
  max-width: 760px;
}

.cg-community-related nav {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 50px;
}

.cg-community-related nav a {
  background: rgba(255, 255, 255, 0.07);
  min-height: 190px;
  padding: 34px;
  position: relative;
  transition: background-color 180ms ease, transform 180ms ease;
}

.cg-community-related nav a:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-3px);
}

.cg-community-related nav a > span:first-child {
  color: var(--cg-cyan);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.cg-community-related nav strong {
  display: block;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.15;
  max-width: 390px;
}

.cg-community-related nav .fa {
  align-items: center;
  bottom: 32px !important;
  color: var(--cg-pink) !important;
  display: flex;
  height: 32px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 34px !important;
  top: auto !important;
  width: 32px;
}

.cg-community--chess-for-the-community .cg-community-related .cg-community-kicker,
.cg-community--chess-for-the-community .cg-community-related nav a > span:first-child {
  color: var(--cg-pink) !important;
}

.cg-community--chess-for-the-community .cg-community-related .cg-community-kicker::before {
  background: var(--cg-pink) !important;
}

.cg-community-related--runway .cg-community-shell {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
}

.cg-community-related--runway .cg-community-shell > header {
  align-items: flex-start;
  border-top: 3px solid var(--cg-pink-strong);
  display: flex;
  flex-direction: column;
  gap: 18px;
  grid-column: 1 / -1;
  max-width: none;
  padding-top: 18px;
}

.cg-community-related--runway .cg-community-shell > header .cg-community-kicker {
  margin-bottom: -10px !important;
}

.cg-community-related--runway .cg-community-shell > header h2 {
  margin: 0;
  max-width: 12ch;
}

.cg-community-related--runway .cg-community-shell > nav {
  gap: 16px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  margin-top: 0;
}

.cg-community-related--runway .cg-community-shell > nav a {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  min-height: 132px;
  padding: 26px;
}

.cg-community-related--runway .cg-community-shell > nav a > span:first-child {
  font-size: clamp(14px, 1.15vw, 16px);
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

.cg-community-related--runway .cg-community-shell > nav strong {
  grid-column: 1;
  grid-row: 2;
  max-width: none;
}

.cg-community-related--runway .cg-community-shell > nav .fa {
  bottom: auto !important;
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  position: static !important;
  right: auto !important;
  top: auto !important;
}

/* Progressive motion */
.cg-community [data-cg-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.cg-community [data-cg-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cg-community-hero__media[data-cg-reveal] {
  transform: translateY(22px) rotate(1deg);
}

.cg-community-hero__media[data-cg-reveal].is-visible {
  transform: translateY(0) rotate(1deg);
}

@media (max-width: 980px) {
  .cg-community-hero {
    min-height: 0;
  }

  .cg-community-hero__layout,
  .cg-community-intro__layout,
  .cg-community-case__layout,
  .cg-community-case__layout--reverse,
  .cg-community-final__layout {
    grid-template-columns: 1fr;
  }

  .cg-community-hero__copy {
    max-width: 740px;
  }

  .cg-community-hero--chessboard .cg-community-hero__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .cg-community-hero--chessboard .cg-community-hero__copy,
  .cg-community-hero--chessboard .cg-community-hero__media,
  .cg-community-hero--chessboard .cg-community-hero__intro {
    grid-column: 1;
    grid-row: auto;
    min-height: 0;
  }

  .cg-community-hero--chessboard .cg-community-hero__intro {
    gap: 24px;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .cg-community-hero--chessboard .cg-community-hero__media {
    height: min(680px, calc(100vw - 48px));
  }

  .cg-community-hero--chessboard .cg-community-hero__facts {
    bottom: auto;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    left: auto;
    margin-top: 24px;
    position: static;
    right: auto;
  }

  .cg-community-hero--chessboard .cg-community-hero__fact + .cg-community-hero__fact {
    border-left: 1px solid var(--cg-line);
    padding-left: 10px;
  }

  .cg-community-final--band .cg-community-final__layout {
    grid-template-columns: 1fr;
  }

  .cg-community-final--band .cg-community-final__copy {
    border-left: 0;
    border-top: 2px solid var(--cg-navy);
    padding-left: 0;
    padding-top: 24px;
  }

  body[data-button-style] .cg-community-final--band .cg-community-button,
  .cg-community-final--band .cg-community-button {
    min-height: 72px;
  }

  .cg-community-case__layout--reverse .cg-community-case__copy,
  .cg-community-case__layout--reverse .cg-community-case__hero {
    grid-column: auto;
    grid-row: auto;
  }

  .cg-community-case__layout--reverse .cg-community-case__copy {
    grid-row: 1;
  }

  .cg-community-case--has-fan .cg-community-case__layout,
  .cg-community-case--has-fan .cg-community-case__layout--reverse {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cg-community-case--has-fan .cg-event-fan {
    grid-column: auto;
    grid-row: auto;
  }

  .cg-community-intro__copy {
    border-left: 0;
    border-top: 1px solid var(--cg-line);
    padding-left: 0;
    padding-top: 34px;
  }

  .cg-community--chess-meetups .cg-community-hero--chessboard .cg-community-intro__copy {
    padding-top: 0;
  }

  .cg-community-gallery__item,
  .cg-community-gallery__item--2,
  .cg-community-gallery__item--3 {
    grid-column: span 6;
  }

  .cg-community-gallery__item--2 img,
  .cg-community-gallery__item--3 img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 760px) {
  .cg-community-facts dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cg-community-facts dl > div:nth-child(3) {
    border-left: 0;
  }

  .cg-community-facts dl > div:nth-child(n + 3) {
    border-top: 1px solid var(--cg-line);
  }

  .cg-community-feature-list,
  .cg-community-offering-list,
  .cg-community-related nav {
    grid-template-columns: 1fr;
  }

  .cg-community-feature-list li,
  .cg-community-feature-list li:first-child {
    min-height: 0;
    padding: 28px 0;
  }

  .cg-community-feature-list li + li {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

  .cg-community-feature-list li > span {
    margin-bottom: 24px;
  }

  .cg-community-offering-list li:nth-child(even) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 680px) {
  .cg-community-shell {
    width: calc(100% - 32px);
  }

  .cg-community [id] {
    scroll-margin-top: 86px;
  }

  .cg-community-hero {
    padding: 46px 0 62px;
  }

  .cg-community-hero__layout {
    gap: 42px;
  }

  .cg-community-hero h1 {
    font-size: clamp(44px, 13.2vw, 61px);
  }

  .cg-community-hero__lead {
    font-size: 16px;
  }

  .cg-community-hero--chessboard .cg-community-hero__copy {
    padding: 30px 24px;
    padding-bottom: 30px;
  }

  .cg-community-hero--chessboard .cg-community-kicker {
    font-size: 14px;
    gap: 9px;
    letter-spacing: 0.08em !important;
  }

  .cg-community-hero--chessboard .cg-community-kicker::before {
    width: 22px;
  }

  .cg-community-hero--chessboard .cg-community-hero__facts {
    bottom: auto;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    left: auto;
    margin-top: 28px;
    position: relative;
    right: auto;
  }

  .cg-community-hero--chessboard .cg-community-hero__fact {
    flex-direction: column;
    line-height: 1.25;
  }

  .cg-community-hero--chessboard .cg-community-hero__fact strong {
    margin: 0 0 4px;
  }

  .cg-community-hero--chessboard .cg-community-hero__intro {
    gap: 20px;
    padding-top: 52px;
  }

  .cg-community-hero--chessboard .cg-community-hero__fact + .cg-community-hero__fact {
    border-left: 1px solid var(--cg-line);
    border-top: 0;
    padding-left: 10px;
  }

  .cg-community-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cg-community-text-link {
    align-self: flex-end;
  }

  .cg-community-hero__media,
  .cg-community-case__hero {
    box-shadow: 9px 9px 0 var(--cg-accent);
    margin-right: 9px;
  }

  .cg-community-facts dl > div {
    min-height: 96px;
    padding: 22px 16px;
  }

  .cg-community-facts dd {
    font-size: 16px;
  }

  .cg-community-intro,
  .cg-community-case,
  .cg-community-photos {
    padding-block: 72px;
  }

  .cg-community-expect {
    padding-block: 72px 78px;
  }

  .cg-community-intro h2,
  .cg-community-section-heading h2,
  .cg-community-case h2,
  .cg-community-related h2 {
    font-size: clamp(40px, 11.7vw, 54px);
  }

  .cg-community-intro__copy > p {
    font-size: 16px;
  }

  .cg-community-offering-list li {
    min-height: 0;
    padding-block: 23px;
  }

  .cg-community-gallery {
    gap: 28px;
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .cg-community-gallery__item,
  .cg-community-gallery__item--2,
  .cg-community-gallery__item--3 {
    grid-column: auto;
  }

  .cg-community-gallery__item img,
  .cg-community-gallery__item--2 img,
  .cg-community-gallery__item--3 img {
    aspect-ratio: 4 / 3;
  }

  .cg-community-gallery.cg-community-gallery--marquee {
    --cg-marquee-card: min(74vw, 300px);
    margin-top: 36px;
  }

  .cg-event-carousel {
    margin-top: 38px;
  }

  .cg-event-carousel__media img {
    aspect-ratio: 4 / 3;
  }

  .cg-event-carousel__arrow {
    height: 44px;
    top: 50%;
    width: 44px;
  }

  .cg-event-carousel__arrow--previous {
    left: 12px;
  }

  .cg-event-carousel__arrow--next {
    right: 12px;
  }

  .cg-event-carousel__thumbnails {
    margin-top: 18px;
    padding-inline: 0;
  }

  .cg-event-carousel__thumbnail {
    height: 68px;
  }

  .cg-event-carousel__thumbnail.is-active {
    flex-grow: 2.8;
  }

  .cg-event-fan__layout {
    height: clamp(330px, 86vw, 500px);
    margin-inline: calc((100% - 100vw) / 2);
    width: 100vw;
  }

  body[data-button-style] .cg-community .cg-event-fan__card,
  .cg-event-fan__card {
    top: 47%;
    width: clamp(160px, 44vw, 250px);
  }

  .cg-event-fan__controls {
    margin-top: 2px;
  }

  .cg-community--chess-for-the-community .cg-community-case--castle .cg-event-fan__controls,
  .cg-community--chess-for-the-community .cg-community-case--greenwood .cg-event-fan__controls {
    margin-top: 20px;
  }

  .cg-community-gallery--marquee .cg-community-gallery__item img,
  .cg-community-gallery--marquee .cg-community-gallery__item--2 img,
  .cg-community-gallery--marquee .cg-community-gallery__item--3 img {
    aspect-ratio: 1 / 1;
  }

  .cg-community-final,
  .cg-community-related {
    padding-block: 68px;
  }

  .cg-community-related nav a {
    min-width: 0;
    min-height: 164px;
    overflow: hidden;
    padding: 28px 64px 28px 28px;
  }

  .cg-community-related nav {
    gap: 12px;
    margin-top: 36px;
  }

  .cg-community-related nav strong {
    font-size: clamp(22px, 7vw, 28px);
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .cg-community-related nav .fa {
    bottom: 28px !important;
    right: 28px !important;
  }

}

@media (max-width: 360px) {
  .cg-community-shell {
    width: calc(100% - 24px);
  }

  .cg-community-hero h1 {
    font-size: 41px;
  }

  .cg-community-facts dl {
    grid-template-columns: 1fr;
  }

  .cg-community-facts dl > div + div,
  .cg-community-facts dl > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--cg-line);
  }

  body[data-button-style] .cg-community .cg-community-button,
  .cg-community .cg-community-button {
    padding-inline: 16px;
  }
}

/* Open houses hero: accepted Impeccable color direction. */
.cg-community--open-houses-public-events .cg-color-hero--pink {
  background: color-mix(in srgb, #ffffff 5%, #f9b1f9 95%);
  color: #17234d;
  overflow: hidden;
  padding: clamp(68px, 7vw, 112px) 0;
  position: relative;
}

.cg-community--open-houses-public-events .cg-color-hero--pink::after {
  background: #eb45ad;
  content: "";
  height: clamp(18px, 2.2vw, 34px);
  inset: auto 0 0;
  position: absolute;
}

.cg-community--open-houses-public-events .cg-color-hero__layout {
  display: grid;
  gap: clamp(24px, 3vw, 48px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  grid-template-rows: auto auto 1fr;
  position: relative;
}

.cg-community--open-houses-public-events .cg-color-hero__kicker {
  align-self: start;
  color: #17234d !important;
  grid-column: 1;
  margin: 0 !important;
}

.cg-community--open-houses-public-events .cg-color-hero__title {
  color: #17234d;
  font-size: clamp(42px, 5.3vw, 68px);
  grid-column: 1;
  letter-spacing: -0.04em;
  line-height: 0.98;
  max-width: 13ch;
}

.cg-community--open-houses-public-events .cg-color-hero__title em {
  color: #bd176f;
}

.cg-community--open-houses-public-events .cg-color-hero__media {
  align-self: stretch;
  border: 2px solid #212f5f;
  box-shadow: 14px 14px 0 #1bc4df;
  grid-column: 2;
  grid-row: 1 / 4;
  margin: 0 14px 14px 0;
  min-height: 560px;
  overflow: hidden;
  transform: rotate(1deg);
}

.cg-community--open-houses-public-events .cg-color-hero__media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cg-community--open-houses-public-events .cg-color-hero__info {
  align-self: end;
  background: #ffffff;
  border: 2px solid #212f5f;
  box-shadow: 10px 10px 0 #eb45ad;
  grid-column: 1;
  max-width: 620px;
  padding: clamp(24px, 3vw, 38px);
}

.cg-community--open-houses-public-events .cg-color-hero__lead {
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 600;
  line-height: 1.65;
  max-width: 48ch;
}

.cg-community--open-houses-public-events .cg-color-hero__info .cg-community-actions {
  margin-top: 24px;
}

@media (max-width: 920px) {
  .cg-community--open-houses-public-events .cg-color-hero__layout {
    grid-template-columns: 1fr;
  }

  .cg-community--open-houses-public-events .cg-color-hero__media {
    grid-column: 1;
    grid-row: auto;
    min-height: 460px;
  }
}

@media (max-width: 640px) {
  .cg-community--open-houses-public-events .cg-color-hero__title {
    font-size: clamp(42px, 12vw, 68px);
  }

  .cg-community--open-houses-public-events .cg-color-hero__media {
    min-height: 340px;
  }
}

/* Open houses hero: accepted Impeccable poster direction. */
.cg-community--open-houses-public-events .cg-overdrive-poster {
  background: var(--cg-navy-deep);
  color: #17234d;
  min-height: 850px;
  overflow: hidden;
  padding-bottom: 68px;
  position: relative;
}

.cg-community--open-houses-public-events .cg-overdrive-poster__marquee {
  background: #101a3d;
  color: #f9b1f9;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  overflow: hidden;
  padding: 14px 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.cg-community--open-houses-public-events .cg-overdrive-poster__marquee-track {
  animation: cg-event-marquee 18s linear infinite;
  animation-play-state: paused;
  display: flex;
  gap: 40px;
  width: max-content;
  will-change: transform;
}

.cg-community--open-houses-public-events .cg-overdrive-poster__marquee.is-in-view .cg-overdrive-poster__marquee-track {
  animation-play-state: running;
}

.cg-community--open-houses-public-events .cg-overdrive-poster__marquee-track span {
  flex: none;
}

@keyframes cg-event-marquee {
  to {
    transform: translate3d(calc(-50% - 20px), 0, 0);
  }
}

.cg-community--open-houses-public-events .cg-overdrive-poster__layout {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  min-height: 720px;
  padding-top: 62px;
}

.cg-community--open-houses-public-events .cg-overdrive-poster__copy {
  align-self: center;
  background: #ffffff;
  border: 3px solid #17234d;
  box-shadow: 18px 18px 0 #eb45ad;
  padding: 44px;
  position: relative;
  transform: rotate(-1.4deg);
  z-index: 2;
}

.cg-community--open-houses-public-events .cg-overdrive-poster__eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.cg-community--open-houses-public-events .cg-overdrive-poster h1 {
  color: #17234d;
  font-size: clamp(42px, 5.3vw, 68px);
  letter-spacing: -0.04em;
  line-height: 0.88;
  margin: 0;
}

.cg-community--open-houses-public-events .cg-overdrive-poster h1 em {
  color: #eb45ad;
  font-style: italic;
}

.cg-community--open-houses-public-events .cg-overdrive-poster__lead {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.55;
  margin: 28px 0 0;
  max-width: 47ch;
}

.cg-community--open-houses-public-events .cg-overdrive-poster .cg-community-actions {
  margin-top: 26px;
}

.cg-community--open-houses-public-events .cg-overdrive-poster__image {
  border: 3px solid #17234d;
  margin: 32px 0 32px -28px;
  min-height: 640px;
  overflow: hidden;
  position: relative;
  transform: rotate(2.5deg);
}

.cg-community--open-houses-public-events .cg-overdrive-poster__image::after {
  background: linear-gradient(135deg, transparent 0 62%, rgba(23, 35, 77, 0.88) 62%);
  content: "";
  inset: 0;
  position: absolute;
}

.cg-community--open-houses-public-events .cg-overdrive-poster__image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cg-community--open-houses-public-events .cg-overdrive-poster__image span {
  bottom: 24px;
  color: var(--cg-cyan);
  font-size: clamp(42px, 4.6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.75;
  position: absolute;
  right: 24px;
  text-align: right;
  z-index: 2;
}

/* The open-house hero assembles like a physical event poster: the paper
 * copy sheet uncovers from the left, then the photo panel locks in from the
 * right before the final stamp settles into place. */
.cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared .cg-overdrive-poster__copy {
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transform: translate3d(-48px, 0, 0) rotate(-1.4deg);
  transition: clip-path 720ms cubic-bezier(0.16, 1, 0.3, 1), opacity 480ms ease, transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path, opacity, transform;
}

.cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared .cg-overdrive-poster__image {
  clip-path: inset(0 0 0 100%);
  opacity: 0;
  transform: translate3d(48px, 0, 0) rotate(2.5deg);
  transition: clip-path 720ms 110ms cubic-bezier(0.16, 1, 0.3, 1), opacity 480ms 110ms ease, transform 720ms 110ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path, opacity, transform;
}

.cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared .cg-overdrive-poster__eyebrow,
.cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared h1,
.cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared .cg-overdrive-poster__lead,
.cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared .cg-community-actions,
.cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared .cg-overdrive-poster__image span {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared.is-visible .cg-overdrive-poster__copy {
  clip-path: inset(0);
  opacity: 1;
  transform: rotate(-1.4deg);
  will-change: auto;
}

.cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared.is-visible .cg-overdrive-poster__image {
  clip-path: inset(0);
  opacity: 1;
  transform: rotate(2.5deg);
  will-change: auto;
}

.cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared.is-visible .cg-overdrive-poster__eyebrow,
.cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared.is-visible h1,
.cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared.is-visible .cg-overdrive-poster__lead,
.cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared.is-visible .cg-community-actions,
.cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared.is-visible .cg-overdrive-poster__image span {
  opacity: 1;
  transform: translateY(0);
}

.cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared.is-visible h1 {
  transition-delay: 100ms;
}

.cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared.is-visible .cg-overdrive-poster__lead {
  transition-delay: 180ms;
}

.cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared.is-visible .cg-community-actions,
.cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared.is-visible .cg-overdrive-poster__image span {
  transition-delay: 250ms;
}

@media (max-width: 860px) {
  .cg-community--open-houses-public-events .cg-overdrive-poster__layout {
    grid-template-columns: 1fr;
  }

  .cg-community--open-houses-public-events .cg-overdrive-poster__copy {
    padding: 32px 26px;
  }

  .cg-community--open-houses-public-events .cg-overdrive-poster__image {
    margin: -12px 18px 0;
    min-height: 440px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cg-community *,
  .cg-community *::before,
  .cg-community *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .cg-community [data-cg-reveal],
  .cg-community-hero__media[data-cg-reveal] {
    opacity: 1;
    transform: none;
  }

  .cg-community--open-houses-public-events .cg-overdrive-poster__marquee-track,
  .cg-community--open-houses-public-events .cg-offerings-motionfix__heading,
  .cg-community--open-houses-public-events .cg-offerings-motionfix__lift-item[data-cg-reveal] {
    animation: none;
    clip-path: none;
    transform: none;
  }

  .cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared .cg-overdrive-poster__copy,
  .cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared .cg-overdrive-poster__image {
    clip-path: none !important;
    opacity: 1 !important;
    transition: none !important;
    will-change: auto !important;
  }

  .cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared .cg-overdrive-poster__copy {
    transform: rotate(-1.4deg) !important;
  }

  .cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared .cg-overdrive-poster__image {
    transform: rotate(2.5deg) !important;
  }

  .cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared .cg-overdrive-poster__eyebrow,
  .cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared h1,
  .cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared .cg-overdrive-poster__lead,
  .cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared .cg-community-actions,
  .cg-community--open-houses-public-events .cg-overdrive-poster__layout[data-cg-poster-hero].cg-poster-motion--prepared .cg-overdrive-poster__image span {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .cg-event-carousel__thumbnails {
    scroll-behavior: auto;
  }

  .cg-event-fan__card {
    transition: none;
  }
}

/* Accepted Impeccable bold treatment for the community intro copy. */
.cg-community-intro__copy--impact {
  background: var(--cg-navy);
  border-left: 0;
  box-shadow: 12px 12px 0 var(--cg-pink-strong);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 54px);
}

.cg-community-intro__copy--impact > p:first-child {
  color: var(--cg-white) !important;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
  max-width: 17ch;
}

.cg-community-intro__copy--impact > p:last-child {
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  color: rgba(255, 255, 255, 0.82) !important;
  margin-top: 28px;
  max-width: 44ch;
  padding-top: 20px;
}

/* Accepted Impeccable animate treatment for the Greenwood photo fan. */
@keyframes cg-greenwood-deal-card {
  from {
    opacity: 0;
    transform: translate3d(calc(-50% + var(--cg-fan-x)), calc(-50% + var(--cg-fan-y) + 72px), 0) rotate(calc(var(--cg-fan-rotation) - 8deg)) scale(calc(var(--cg-fan-scale) - 0.12));
  }

  to {
    opacity: 1;
    transform: translate3d(calc(-50% + var(--cg-fan-x)), calc(-50% + var(--cg-fan-y)), 0) rotate(var(--cg-fan-rotation)) scale(var(--cg-fan-scale));
  }
}

@keyframes cg-greenwood-deal-controls {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cg-community--chess-for-the-community .cg-greenwood-motion--deal .cg-event-fan.is-ready .cg-event-fan__card.is-visible {
  animation: cg-greenwood-deal-card 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(120ms + var(--cg-fan-delay, 0ms));
  will-change: opacity, transform;
}

.cg-community--chess-for-the-community .cg-greenwood-motion--deal .cg-event-fan.is-ready .cg-event-fan__controls {
  animation: cg-greenwood-deal-controls 420ms cubic-bezier(0.16, 1, 0.3, 1) 520ms both;
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  .cg-community--chess-for-the-community .cg-greenwood-motion--deal .cg-event-fan.is-ready .cg-event-fan__card.is-visible,
  .cg-community--chess-for-the-community .cg-greenwood-motion--deal .cg-event-fan.is-ready .cg-event-fan__controls {
    animation: none;
    will-change: auto;
  }
}

/* Accepted Impeccable focus treatment for the community contact sheet. */
@keyframes cg-community-contact-focus {
  from {
    filter: saturate(0.72) contrast(0.96);
    opacity: 0.5;
    transform: translate3d(0, 18px, 0) scale(1.06);
  }

  to {
    filter: saturate(1) contrast(1);
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.cg-community--chess-for-the-community .cg-community-motion--focus .cg-live-scroll-gallery__group:first-child .cg-live-scroll-gallery__item {
  animation: cg-community-contact-focus 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: filter, opacity, transform;
}

.cg-community--chess-for-the-community .cg-community-motion--focus .cg-live-scroll-gallery__group:first-child .cg-live-scroll-gallery__item:nth-child(1) {
  animation-delay: 80ms;
}

.cg-community--chess-for-the-community .cg-community-motion--focus .cg-live-scroll-gallery__group:first-child .cg-live-scroll-gallery__item:nth-child(2) {
  animation-delay: 140ms;
}

.cg-community--chess-for-the-community .cg-community-motion--focus .cg-live-scroll-gallery__group:first-child .cg-live-scroll-gallery__item:nth-child(3) {
  animation-delay: 200ms;
}

.cg-community--chess-for-the-community .cg-community-motion--focus .cg-live-scroll-gallery__group:first-child .cg-live-scroll-gallery__item:nth-child(4) {
  animation-delay: 260ms;
}

.cg-community--chess-for-the-community .cg-community-motion--focus .cg-live-scroll-gallery__group:first-child .cg-live-scroll-gallery__item:nth-child(5) {
  animation-delay: 320ms;
}

.cg-community--chess-for-the-community .cg-community-motion--focus .cg-live-scroll-gallery__group:first-child .cg-live-scroll-gallery__item:nth-child(6) {
  animation-delay: 380ms;
}

@media (prefers-reduced-motion: reduce) {
  .cg-community--chess-for-the-community .cg-community-motion--focus .cg-live-scroll-gallery__item {
    animation: none;
    filter: none;
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

/* Accepted Impeccable cascade treatment for the community intro. */
@keyframes cg-community-intro-cascade {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Start the authored sequence only after the impact copy enters the viewport. */
.cg-community--chess-for-the-community .cg-community-motion--intro-cascade.is-intro-visible header {
  animation: cg-community-intro-cascade 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: opacity, transform;
}

.cg-community--chess-for-the-community .cg-community-motion--intro-cascade.is-intro-visible .cg-community-intro__copy {
  animation: cg-community-intro-cascade 620ms cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
  will-change: opacity, transform;
}

.cg-community--chess-for-the-community .cg-community-motion--intro-cascade.is-intro-visible .cg-community-intro__copy > p:first-child {
  animation: cg-community-intro-cascade 440ms cubic-bezier(0.16, 1, 0.3, 1) 280ms both;
  will-change: opacity, transform;
}

.cg-community--chess-for-the-community .cg-community-motion--intro-cascade.is-intro-visible .cg-community-intro__copy > p:last-child {
  animation: cg-community-intro-cascade 440ms cubic-bezier(0.16, 1, 0.3, 1) 360ms both;
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  .cg-community--chess-for-the-community .cg-community-motion--intro-cascade header,
  .cg-community--chess-for-the-community .cg-community-motion--intro-cascade .cg-community-intro__copy,
  .cg-community--chess-for-the-community .cg-community-motion--intro-cascade .cg-community-intro__copy > p {
    animation: none;
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}
