/* =========================================================
   COMMUNITY — START
   ========================================================= */

.community {
  padding: var(--section-pad-top) 0 var(--section-pad-bottom);
  background: var(--white);
}

.community__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.community__copy h2 {
  color: var(--navy);
  margin: 0 0 0.95rem;
}
.community__copy p {
  color: var(--slate);
  margin: 0 0 1.35rem;
  max-width: 30rem;
  font-size: var(--section-lede-size);
  line-height: var(--section-lede-leading);
}

.community__media {
  margin: 0;
  position: relative;
  width: 100%;
  max-width: 26rem;
  justify-self: end;
}
.community__media .media-mask {
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
}
.community__media figcaption {
  position: absolute;
  left: 0.95rem;
  bottom: 0.95rem;
  background: rgba(41, 56, 150, 0.88);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}

@media (max-width: 980px) {
  .community__grid { grid-template-columns: 1fr; }
  .community__media {
    max-width: min(100%, 22rem);
    justify-self: start;
  }
}

/* =========================================================
   COMMUNITY — END
   ========================================================= */
