/* Community project photographs retain the entire wide frame. */
body.site-v3 .brand-projects--compact .brand-project-grid {
  align-items: stretch;
}

body.site-v3 .brand-projects--compact .brand-project--community {
  display: block;
  min-width: 0;
}

body.site-v3 .community-project-picture {
  display: block;
  width: 100%;
}

body.site-v3 .brand-project--community .community-project-picture img,
body.site-v3 .about-story .community-project-figure .community-project-picture img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 12px;
}

body.site-v3 .community-project-card__copy {
  min-width: 0;
  padding-top: 20px;
}

body.site-v3 .brand-projects--compact .brand-project--community .community-project-card__beneficiary {
  display: block;
  margin: 7px 0 0;
  color: #203c2b;
  font-size: var(--read-action, 16px);
  font-weight: 650;
  line-height: 1.55;
}

body.site-v3 .brand-projects--compact .brand-project--community h3 {
  margin-top: 13px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.25;
}

body.site-v3 .brand-projects--compact .brand-project--community .community-project-card__link {
  margin: 16px 0 0;
  font-size: var(--read-action, 16px);
  line-height: 1.6;
}

body.site-v3 .about-story .community-project-figure {
  grid-column: 1 / -1;
  min-width: 0;
  width: 100%;
  margin: 12px 0 0;
}

body.site-v3 .community-project-figure figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 30px;
  padding-top: 16px;
}

body.site-v3 .about-story .community-project-figure figcaption p {
  max-width: 75ch;
  margin: 0;
  font-size: var(--read-detail, 15px);
  line-height: 1.7;
}

body.site-v3 .community-project-figure figcaption a {
  flex-shrink: 0;
  color: #203c2b;
  font-size: var(--read-action, 16px);
  font-weight: 600;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.site-v3 .community-project-figure figcaption a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
  border-radius: 3px;
}

@media (max-width: 800px) {
  body.site-v3 .community-project-figure figcaption {
    display: block;
  }

  body.site-v3 .community-project-figure figcaption a {
    display: inline-block;
    margin-top: 12px;
  }
}

@media (max-width: 700px) {
  body.site-v3 .community-project-card__copy {
    padding-top: 17px;
  }

  body.site-v3 .brand-projects--compact .brand-project--community h3 {
    font-size: 23px;
  }

  body.site-v3 .about-story .community-project-figure {
    margin-top: 8px;
  }
}

/* A still from the restaurant project reel; playback remains on the project page. */
body.site-v3 .brand-projects--compact .brand-project--restaurant {
  display: block;
  min-width: 0;
}

body.site-v3 .commercial-project-card__picture {
  display: block;
  width: 100%;
}

body.site-v3 .brand-project--restaurant .commercial-project-card__picture img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: 12px;
}

body.site-v3 .commercial-project-card__copy {
  min-width: 0;
  padding-top: 20px;
}

body.site-v3 .brand-projects--compact .brand-project--restaurant h3 {
  margin-top: 13px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.25;
}

body.site-v3 .brand-projects--compact .brand-project--restaurant p {
  margin: 16px 0 0;
  font-size: var(--read-action, 16px);
  line-height: 1.6;
}

@media (max-width: 700px) {
  body.site-v3 .commercial-project-card__copy {
    padding-top: 17px;
  }

  body.site-v3 .brand-projects--compact .brand-project--restaurant h3 {
    font-size: 23px;
  }
}

/* Matching home previews; the full-width About photograph keeps its full frame. */
body.site-v3 .brand-projects--compact .brand-project--restaurant,
body.site-v3 .brand-projects--compact .brand-project--community {
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.site-v3 .brand-projects--compact .commercial-project-card__picture,
body.site-v3 .brand-projects--compact .community-project-card__media {
  flex: 0 0 auto;
}

body.site-v3 .brand-projects--compact .brand-project--restaurant .commercial-project-card__picture img,
body.site-v3 .brand-projects--compact .brand-project--community .community-project-picture img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  object-fit: cover;
}

body.site-v3 .brand-projects--compact .brand-project--community .community-project-picture img {
  object-position: 55% 50%;
}

body.site-v3 .brand-projects--compact .commercial-project-card__copy,
body.site-v3 .brand-projects--compact .community-project-card__copy {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  align-items: stretch;
}

body.site-v3 .brand-projects--compact .brand-project--restaurant .commercial-project-card__copy > p:last-child,
body.site-v3 .brand-projects--compact .brand-project--community .community-project-card__link {
  margin-top: auto;
  padding-top: 16px;
}

@media (max-width: 700px) {
  body.site-v3 .brand-projects--compact .brand-project--restaurant,
  body.site-v3 .brand-projects--compact .brand-project--community {
    height: auto;
  }
}
