.community-open {
  padding-top: 28px;
  padding-bottom: 42px;
}

.community-card {
  position: relative;
  display: block;
  min-height: 490px;
  overflow: hidden;
  border: 1px solid rgba(255, 184, 0, .72);
  border-radius: 24px;
  background: #04130d;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .34);
  isolation: isolate;
}

.community-background,
.community-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.community-background {
  z-index: -2;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.community-overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgba(1, 12, 8, .98) 0%, rgba(1, 12, 8, .92) 37%, rgba(1, 12, 8, .28) 72%, rgba(1, 12, 8, .18) 100%);
}

.community-content {
  display: flex;
  width: min(620px, 58%);
  min-height: 490px;
  padding: 42px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  box-sizing: border-box;
}

.community-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: .08em;
}

.community-brand img {
  width: 56px;
  height: 56px;
}

.community-brand small {
  display: block;
  margin-top: 3px;
  color: #ffb800;
  font-size: 10px;
  letter-spacing: .16em;
}

.community-kicker {
  margin-bottom: 8px;
  color: #ffb800;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.community-content > strong {
  max-width: 570px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: .96;
  letter-spacing: .015em;
}

.community-copy {
  max-width: 555px;
  margin-top: 18px;
  color: #dbe7e1;
  font-size: 15px;
  line-height: 1.6;
}

.community-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  color: #fff;
  font-size: 12px;
}

.community-benefits b::first-letter {
  color: #18d96f;
}

.community-button {
  display: inline-flex;
  min-height: 52px;
  margin-top: 24px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #17c964;
  color: #06140d;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(23, 201, 100, .24);
}

.community-content > small {
  margin-top: 10px;
  color: #a9bbb2;
  font-size: 10px;
}

.community-card:hover .community-background,
.community-card:focus-visible .community-background {
  transform: scale(1.018);
}

.community-card:hover .community-button,
.community-card:focus-visible .community-button {
  background: #23e77a;
}

.community-card:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .community-open {
    padding-top: 18px;
    padding-bottom: 28px;
  }

  .community-card {
    min-height: 650px;
    border-radius: 18px;
  }

  .community-background {
    object-position: 67% center;
  }

  .community-overlay {
    background: linear-gradient(180deg, rgba(1, 12, 8, .9) 0%, rgba(1, 12, 8, .44) 40%, rgba(1, 12, 8, .96) 72%, #010c08 100%);
  }

  .community-content {
    width: 100%;
    min-height: 650px;
    padding: 24px 20px;
    justify-content: flex-end;
    text-align: left;
  }

  .community-brand {
    margin-bottom: 14px;
  }

  .community-brand img {
    width: 46px;
    height: 46px;
  }

  .community-content > strong {
    font-size: 41px;
  }

  .community-copy {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.5;
  }

  .community-benefits {
    margin-top: 14px;
  }

  .community-button {
    width: 100%;
    min-height: 56px;
    margin-top: 20px;
    padding: 0 14px;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .community-background {
    transition: none;
  }
}
