.community-section {
  --community-bg: #edf8fc;
  --community-bg-rgb: 237, 248, 252;
  padding: 32px 0 0;
  background: var(--community-bg);
}

.community-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 116px minmax(320px, 1fr) minmax(340px, 42%);
  gap: 24px;
  align-items: center;
  min-height: 230px;
  padding: 18px 0 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.community-icon {
  align-self: center;
}

.community-icon img {
  display: block;
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.community-copy {
  align-self: center;
  padding: 10px 0 20px;
}

.community-copy h2 {
  margin: 0 0 8px;
  color: var(--azul);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.15;
}

.community-copy p {
  max-width: 560px;
  margin: 0 0 12px;
  color: var(--azul2);
  font-size: 13px;
  line-height: 1.55;
}

.community-copy .btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(0, 87, 168, .14);
}

.community-art {
  position: relative;
  align-self: end;
  display: flex;
  justify-content: flex-end;
  height: 220px;
  overflow: hidden;
}

.community-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--community-bg) 0%,
    rgba(var(--community-bg-rgb), .95) 5%,
    rgba(var(--community-bg-rgb), .55) 15%,
    rgba(var(--community-bg-rgb), 0) 30%,
    rgba(var(--community-bg-rgb), 0) 72%,
    rgba(var(--community-bg-rgb), .55) 88%,
    rgba(var(--community-bg-rgb), .95) 96%,
    var(--community-bg) 100%
  );
}

.community-art img {
  display: block;
  align-self: flex-end;
  width: 100%;
  height: 100%;
  max-width: 620px;
  object-fit: contain;
  object-position: center bottom;
  margin-bottom: 0;
  filter: drop-shadow(0 16px 24px rgba(18, 53, 91, .16));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

@media (min-width: 1200px) {
  .community-art::before {
    background: linear-gradient(
      90deg,
      var(--community-bg) 0%,
      rgba(var(--community-bg-rgb), .98) 10%,
      rgba(var(--community-bg-rgb), .7) 22%,
      rgba(var(--community-bg-rgb), 0) 36%,
      rgba(var(--community-bg-rgb), 0) 64%,
      rgba(var(--community-bg-rgb), .7) 78%,
      rgba(var(--community-bg-rgb), .98) 90%,
      var(--community-bg) 100%
    );
  }

  .community-art img {
    -webkit-mask-image: linear-gradient(90deg, transparent 9%, #000 24%, #000 76%, transparent 91%);
    mask-image: linear-gradient(90deg, transparent 9%, #000 24%, #000 76%, transparent 91%);
  }
}

@media (max-width: 900px) {
  .community-section {
    padding-top: 24px;
  }

  .community-card {
    grid-template-columns: 82px 1fr;
    gap: 16px;
    min-height: 0;
    padding-top: 18px;
  }

  .community-icon img {
    width: 78px;
    height: 78px;
  }

  .community-copy {
    padding: 0 0 18px;
  }

  .community-copy h2 {
    font-size: 18px;
  }

  .community-copy p {
    font-size: 12px;
  }

  .community-art {
    display: none;
  }
}

@media (max-width: 560px) {
  .community-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .community-icon {
    display: none;
  }

  .community-copy {
    padding-inline: 10px;
  }

  .community-copy .btn {
    width: 100%;
    max-width: 280px;
  }
}
