.community-photos {
  margin: 2rem 0;
  color: #1e1428;
}
.community-photos h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
}
.community-photos__intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 2rem;
  align-items: end;
  margin-bottom: 1rem;
}
.community-photos__intro .section-eyebrow {
  grid-column: 1 / -1;
}
.community-photos__record {
  max-width: 17rem;
  margin: 0;
  color: #6b5f75;
  font-size: 0.7rem;
  line-height: 1.6;
}
.community-photos__record strong {
  color: #641e78;
  font-size: 1.1rem;
}
.community-photos__figure {
  display: block;
  margin: 0;
}
.community-photos__grid {
  overflow: hidden;
  border-radius: 10px;
}
.community-photos__grid img {
  display: block;
  width: 100%;
  height: 20rem;
  object-fit: cover;
  object-position: center 65%;
}
.community-photos__figure figcaption,
.about-community-photos figcaption {
  margin-top: 0.5rem;
  color: #6b5f75;
  font-size: 0.6rem;
  line-height: 1.5;
}
.community-photos__copy {
  margin: 0;
  color: #6b5f75;
  font-size: 0.75rem;
  line-height: 1.6;
}
.community-photos__link,
.community-photos__link:visited {
  display: inline-block;
  flex-shrink: 0;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  background: #641e78;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
}
.community-photos__link:hover { background: #8e24aa; color: #fff; }
.community-photos__link:focus-visible { outline: 3px solid #641e78; outline-offset: 4px; }
.community-photos--mosaic {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: center;
}
.community-photos--mosaic .community-photos__intro {
  display: block;
  margin: 0;
}
.community-photos--mosaic .community-photos__copy { margin-top: 1rem; }
.community-photos--mosaic .community-photos__record {
  max-width: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e6dcea;
}
.community-photos--mosaic .community-photos__record strong {
  display: block;
  font-size: 2.2rem;
  line-height: 1.2;
}
.community-photos--mosaic .community-photos__link { margin-top: 1rem; }
.community-photos--mosaic .community-photos__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.6rem;
  border-radius: 0;
}
.community-photos--mosaic .community-photos__grid img {
  height: 8rem;
  border-radius: 8px;
}
.community-photos--mosaic .community-photos__grid .community-photos__main {
  grid-column: 1 / -1;
  height: 14rem;
}
.community-photos--mosaic .community-photos__grid img:last-child { object-position: center 35%; }
.about-community-photos {
  display: block;
  margin: 1.5rem 0;
}
.about-community-photos__grid {
  display: grid;
  gap: 0.6rem;
}
.about-community-photos__grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.about-community-photos__grid--mosaic {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.about-community-photos__grid--mosaic img {
  height: 10rem;
  object-fit: cover;
}
.about-community-photos__grid--mosaic img:first-child {
  grid-column: 1 / -1;
  height: 18rem;
  object-position: center 65%;
}
@media (max-width: 700px) {
  .community-photos { margin: 1.5rem 0; }
  .community-photos__intro,
  .community-photos--mosaic { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .community-photos__record { max-width: none; }
  .community-photos__grid img { height: 16rem; }
  .community-photos--mosaic .community-photos__grid .community-photos__main { height: 14rem; }
  .community-photos--mosaic .community-photos__grid img { height: 7rem; }
  .about-community-photos__grid--mosaic img { height: 7rem; }
  .about-community-photos__grid--mosaic img:first-child { height: 14rem; }
}
