/* Testimonials Section — extracted from relume.io (live site, Feb 2026) */

/* === Section & layout === */
.section_community { position: relative; overflow: hidden; background-color: #FAFAFA; }
.section_community .rl-page-padding { padding-left: 2.5rem; padding-right: 2.5rem; }
.section_community .container-large { width: 100%; max-width: 1307px; margin-left: auto; margin-right: auto; }

/* === Header === */
.community_avatars-list { gap: 0.5rem; flex-wrap: wrap; justify-content: center; align-items: center; margin-bottom: 0.75rem; display: flex; }
.community_avatar { border-radius: 0.375rem; height: 1.5rem; }
.community_avatar.avatar-opacity20 { opacity: 0.2; }
.community_avatar.avatar-opacity40 { opacity: 0.4; }
.community_avatar.avatar-opacity80 { opacity: 0.8; }

.section_community .heading-style-h2 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  color: #161616;
  margin: 0;
}

.section_community .text-color-mediumgrey {
  color: #686868;
  font-size: 0.875rem;
  margin: 0;
}

/* Buttons */
.section_community .button-group {
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  display: flex;
}
.section_community .button-group.is-center { justify-content: center; }

.section_community .button-secondary {
  gap: 0.5rem;
  color: #161616;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  height: 2.5rem;
  min-height: 2.5rem;
  padding: 0.625rem 1rem;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s;
  display: flex;
  position: relative;
}
.section_community .button-secondary:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

/* === Utility classes (scoped) === */
.section_community .padding-top { padding-bottom: 0; padding-left: 0; padding-right: 0; }
.section_community .padding-xhuge { padding: 7rem; }
.section_community .padding-top.padding-xhuge { padding: 7rem 0 0 0; }
.section_community .margin-bottom { margin-top: 0; margin-left: 0; margin-right: 0; }
.section_community .margin-bottom.margin-xlarge { margin-bottom: 4rem; }
.section_community .margin-bottom.margin-small { margin-bottom: 1.5rem; }
.section_community .margin-bottom.margin-xxsmall { margin-bottom: 0.5rem; }
.section_community .margin-top.margin-small { margin-top: 1.5rem; margin-bottom: 0; margin-left: 0; margin-right: 0; }
.section_community .text-align-center { text-align: center; }
.section_community .max-width-large { width: 100%; max-width: 48rem; }
.section_community .align-center { margin-left: auto; margin-right: auto; }

/* === Grid & cards === */
.community_content { height: 50rem; overflow: hidden; position: relative; padding-top: 0.5rem; }

.community_testimonial-list {
  gap: 1rem;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  place-items: start stretch;
  display: grid;
}

.community_collection-list {
  will-change: transform;
  transform-style: preserve-3d;
}

.community_testimonial-wrapper {
  width: 100%;
  margin-bottom: 1rem;
  display: inline-block;
}

.community_overlay-gray {
  background-image: linear-gradient(180deg, rgba(250, 250, 250, 0), #FAFAFA);
  height: 9.5rem;
  position: absolute;
  inset: auto 0% 0px;
}

/* === Tweet card === */
.tweet_component {
  background-color: #fff;
  border-radius: 1rem;
  width: 100%;
  padding: 1.25rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid #E0E0E0;
  box-shadow: none;
  display: block;
  text-decoration: none;
  color: #161616;
}
.tweet_component:hover {
  transform: translateY(-4px);
}

.tweet_post {
  font-size: 1.125rem;
  line-height: 1.5;
  color: #161616;
}

.tweet_top-wrapper {
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 1.25rem;
  display: flex;
}

.tweet_profile-wrapper { display: flex; }

.tweet_name {
  font-weight: 500;
  font-size: 1rem;
  color: #161616;
}

.tweet_username {
  color: rgba(22, 22, 22, 0.65);
  font-size: 0.875rem;
}

.tweet_usernamedate-wrapper {
  gap: 0.375rem;
  flex-wrap: wrap;
  align-items: center;
  display: flex;
}

.tweet_dp-wrapper {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
}

.tweet_dp {
  object-fit: cover;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
}

/* === Webflow utility classes === */
.section_community .w-inline-block { max-width: 100%; display: inline-block; }
.section_community .w-dyn-list { display: block; }
.section_community .w-dyn-items { display: block; }
.section_community .w-dyn-item { display: block; }
.section_community a.w-inline-block { cursor: default; }

/* === Responsive === */
@media screen and (max-width: 991px) {
  .community_content { height: 75rem; overflow: visible; }
  .community_testimonial-list { gap: 0 1.25rem; grid-template-columns: 1fr 1fr; }
  .section_community .padding-top.padding-xhuge { padding-top: 6rem; }
}

@media screen and (max-width: 767px) {
  .community_testimonial-list { column-gap: 1rem; }
  .tweet_component { border-radius: 0.75rem; padding: 1rem; }
  .tweet_top-wrapper { flex-direction: column-reverse; }
  .tweet_profile-wrapper { margin-top: 0.5rem; }
  .tweet_post { font-size: 1rem; }
  .tweet_dp-wrapper { width: 2.5rem; height: 2.5rem; overflow: hidden; }
  .community_testimonial-wrapper { margin-bottom: 1rem; }
  .section_community .rl-page-padding { padding-left: 1rem; padding-right: 1rem; }
}

@media screen and (max-width: 479px) {
  .community_content { height: 62rem; }
  .community_testimonial-list { grid-template-columns: 1fr; }
  .section_community .heading-style-h2 { font-size: 2rem; }
  .section_community .padding-top.padding-xhuge { padding-top: 4rem; }
}
