/**
 * Who We Are — page-scoped presentation on top of shared interior tokens.
 * Targets imported Drupal body classes without rewriting post content.
 */

/* Objective strip → Home 2-style pillar cards (h2+p pairs via column flow) */
body.page-who-we-are .interior-content .objective-text {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  grid-auto-flow: column;
  gap: 0 1rem;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  padding: 0;
}
body.page-who-we-are .interior-content .objective-text h2,
body.page-who-we-are .interior-content .objective-text p {
  margin: 0;
  padding: 0;
  border: 0;
  text-transform: none;
  background: #fff;
}
body.page-who-we-are .interior-content .objective-text h2 {
  font-family: var(--home2-display);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--home2-ink);
  border: 1px solid var(--line);
  border-bottom: 0;
  padding: 1.15rem 1.15rem .35rem;
}
body.page-who-we-are .interior-content .objective-text p {
  color: var(--home2-mute);
  font-size: .98rem;
  line-height: 1.5;
  border: 1px solid var(--line);
  border-top: 0;
  padding: .35rem 1.15rem 1.25rem;
}

/* Section headings — serif display, teal kicker-adjacent underline */
body.page-who-we-are .interior-content > h2,
body.page-who-we-are .interior-content .article-cont > h2 {
  font-family: var(--home2-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--home2-ink);
  margin: clamp(2rem, 4vw, 2.75rem) 0 1rem;
  padding: 0 0 .65rem;
  border-bottom: 2px solid var(--teal-bright);
  max-width: 40rem;
}
body.page-who-we-are .interior-content .article-cont:first-of-type > h2,
body.page-who-we-are .interior-content > h2:first-of-type {
  margin-top: 0;
}

/* Article blocks */
body.page-who-we-are .interior-content .article-cont {
  margin: 0 0 1.5rem;
}
body.page-who-we-are .interior-content .article,
body.page-who-we-are .interior-content section.article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem 1.5rem;
  align-items: start;
  margin: 0 0 1.5rem;
  padding: 1.35rem 1.35rem 1.45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: visible;
}
body.page-who-we-are .interior-content .article:last-child,
body.page-who-we-are .interior-content .article-cont .article:last-child {
  border-bottom: 1px solid var(--line);
}
body.page-who-we-are .interior-content .img-article {
  float: none;
  margin: 0;
}
body.page-who-we-are .interior-content .img-article:empty {
  display: none;
}
body.page-who-we-are .interior-content .img-article img {
  width: min(200px, 42vw);
  height: auto;
  border-radius: 0;
  filter: none;
}
/* When image cell is empty, let content span full width */
body.page-who-we-are .interior-content .article:has(.img-article:empty),
body.page-who-we-are .interior-content section.article:has(.img-article:empty) {
  grid-template-columns: minmax(0, 1fr);
}
body.page-who-we-are .interior-content .content-article {
  overflow: visible;
  color: var(--home2-mute);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 42rem;
}
body.page-who-we-are .interior-content .content-article h3 {
  font-family: var(--home2-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--home2-ink);
  margin: 1.1em 0 .4em;
}
body.page-who-we-are .interior-content .content-article h3:first-child { margin-top: 0; }
body.page-who-we-are .interior-content .content-article p { margin: 0 0 1rem; }
body.page-who-we-are .interior-content .content-article p:last-child { margin-bottom: 0; }
body.page-who-we-are .interior-content .content-article a {
  font-weight: 700;
  color: var(--teal-deep);
}
body.page-who-we-are .interior-content .content-article a:hover { color: var(--green); }

/* Hide leftover empty / comment wrappers from Drupal markup */
body.page-who-we-are .interior-content > p:empty,
body.page-who-we-are .interior-content > p:has(> :only-child:is(br)),
body.page-who-we-are .interior-content .article-hidden { display: none; }

@media (max-width: 760px) {
  body.page-who-we-are .interior-content .objective-text {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: 0;
  }
  body.page-who-we-are .interior-content .objective-text h2 {
    margin-top: .65rem;
  }
  body.page-who-we-are .interior-content .objective-text h2:first-child {
    margin-top: 0;
  }
  body.page-who-we-are .interior-content .article,
  body.page-who-we-are .interior-content section.article {
    grid-template-columns: minmax(0, 1fr);
  }
}
