/* AE_COMMUNITY_PROJECTS_V1 — only editor-approved published project stories. */
.ae-community-projects {
  background: #eeeae0;
  color: #263d34;
}
.ae-community-projects-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.8rem);
}
.ae-community-projects-heading > div { max-width: 760px; }
.ae-community-projects-heading h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
  margin: .35rem 0 .55rem;
}
.ae-community-projects-heading p {
  color: #526759;
  max-width: 650px;
  margin: 0;
  line-height: 1.65;
}
.ae-community-projects-heading > a {
  flex: 0 0 auto;
  color: #315541;
  margin-bottom: .3rem;
}
.ae-community-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.ae-community-project-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #d8d8cb;
  border-radius: 10px;
  overflow: hidden;
  background: #faf9f3;
}
.ae-community-project-image {
  display: block;
  background: #d6dfd2;
  overflow: hidden;
}
.ae-community-project-image img,
.ae-community-project-image-empty {
  display: block;
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  transition: transform .3s ease;
}
.ae-community-project-image:hover img { transform: scale(1.025); }
.ae-community-project-image-empty {
  background: linear-gradient(135deg, #b5cab3, #4a6e58);
}
.ae-community-project-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.2rem, 2vw, 1.7rem);
}
.ae-community-project-copy .ae-meta { color: #64806a; }
.ae-community-project-copy h3 {
  font-size: clamp(1.75rem, 2.5vw, 2.3rem);
  margin: .4rem 0 .65rem;
}
.ae-community-project-copy h3 a {
  text-decoration: none;
  text-underline-offset: .17em;
}
.ae-community-project-copy h3 a:hover { text-decoration: underline; }
.ae-community-project-copy p {
  color: #52695b;
  font-size: .91rem;
  line-height: 1.65;
  margin: 0 0 1.25rem;
}
.ae-community-project-link {
  color: #315741;
  margin-top: auto;
  font-size: .87rem;
  font-weight: 700;
  text-underline-offset: .2em;
}
.ae-community-projects a:focus-visible {
  outline: 3px solid #97764e;
  outline-offset: 4px;
}
@media (max-width: 960px) {
  .ae-community-projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .ae-community-projects-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ae-community-project-image img { transition: none; }
}
