/* Keep genuine, small-format staff portraits at a natural scale. */
body.egps-refined:not(.home) .canvas-page--staff {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 0 60px;
  max-width: 1040px;
  margin-inline: auto;
}
body.egps-refined:not(.home) .canvas-page--staff > .canvas-page-opening {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding: 2px 0 0;
}
body.egps-refined:not(.home) .canvas-page--staff .canvas-page-opening h1 {
  margin-bottom: 18px;
  color: #242724;
  font-size: 42px;
}
body.egps-refined:not(.home) .canvas-page--staff .canvas-page-opening__intro {
  font-size: 19px;
  line-height: 1.6;
}
/* The neutral content wrapper lets the opening and leadership share the first row. */
body.egps-refined:not(.home) .canvas-page--staff > .entry-content { display: contents; }
body.egps-refined .canvas-page--staff .entry-content > .staff-team-directory { grid-column: 1 / -1; }
body.egps-refined .canvas-page--staff .entry-content > p:empty,
body.egps-refined .canvas-page--staff .entry-content .staff-leadership-gallery > p:empty { display: none; }
body.egps-refined .canvas-page--staff .entry-content :is(.staff-leadership, .staff-team-directory) { scroll-margin-top: 124px; }
body.egps-refined .canvas-page--staff .entry-content .staff-leadership {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 0;
  color: #242724;
  background: transparent;
}
body.egps-refined .canvas-page--staff .entry-content .staff-section-heading {
  display: block;
  margin: 0 0 26px;
  padding: 0;
}
body.egps-refined .canvas-page--staff .entry-content .staff-section-heading h2 {
  margin: 0;
  color: #242724;
  font: 400 27px/1.3 'Lora', Georgia, serif;
  letter-spacing: -.02em;
  text-wrap: balance;
}
body.egps-refined .canvas-page--staff .entry-content .staff-leadership .staff-section-heading h2 { font-size: 24px; }
body.egps-refined .canvas-page--staff .entry-content .staff-leadership-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
body.egps-refined .canvas-page--staff .entry-content .staff-leader {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: start;
  gap: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.egps-refined .canvas-page--staff .entry-content .staff-leader img {
  display: block;
  width: 154px;
  height: 202px;
  max-width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: center 35%;
}
body.egps-refined .canvas-page--staff .entry-content .staff-leader figcaption {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}
body.egps-refined .canvas-page--staff .entry-content .staff-leader h3 {
  margin: 0 0 5px;
  color: #242724;
  font: 600 19px/1.3 'Source Sans 3', sans-serif;
  letter-spacing: 0;
}
body.egps-refined .canvas-page--staff .entry-content .staff-leader p {
  margin: 0;
  color: #5B5F59;
  font: 400 16px/1.45 'Source Sans 3', sans-serif;
}
body.egps-refined .canvas-page--staff .entry-content .staff-team-directory {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #DEDCD6;
}
body.egps-refined .canvas-page--staff .entry-content .staff-leadership + .staff-team-directory {
  margin-top: 48px;
  border-top: 1px solid #DEDCD6;
}
body.egps-refined .canvas-page--staff .entry-content .staff-team-directory > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 0;
  list-style: none;
  cursor: pointer;
}
body.egps-refined .canvas-page--staff .entry-content .staff-team-directory > summary::-webkit-details-marker { display: none; }
body.egps-refined .canvas-page--staff .entry-content .staff-team-directory > summary h2 {
  margin: 0;
  color: #242724;
  font: 400 25px/1.3 'Lora', Georgia, serif;
  letter-spacing: -.015em;
}
body.egps-refined .canvas-page--staff .entry-content .staff-team-directory > summary:hover h2 { color: #BD0001; }
body.egps-refined .canvas-page--staff .entry-content .staff-disclosure-icon {
  position: relative;
  display: block;
  flex: 0 0 18px;
  height: 18px;
  color: #BD0001;
}
body.egps-refined .canvas-page--staff .entry-content .staff-disclosure-icon::before,
body.egps-refined .canvas-page--staff .entry-content .staff-disclosure-icon::after {
  position: absolute;
  content: '';
  background: currentColor;
}
body.egps-refined .canvas-page--staff .entry-content .staff-disclosure-icon::before { width: 18px; height: 1px; top: 8px; left: 0; }
body.egps-refined .canvas-page--staff .entry-content .staff-disclosure-icon::after { width: 1px; height: 18px; top: 0; left: 8px; }
body.egps-refined .canvas-page--staff .entry-content .staff-team-directory[open] .staff-disclosure-icon::after { display: none; }
body.egps-refined .canvas-page--staff .entry-content .staff-team-directory[open] { padding-bottom: 30px; }
body.egps-refined .canvas-page--staff .entry-content .staff-people-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 44px;
  margin: 0;
  padding: 0;
}
body.egps-refined .canvas-page--staff .entry-content .staff-person { min-width: 0; margin: 0; padding: 0; }
body.egps-refined .canvas-page--staff .entry-content .staff-person dt {
  margin: 0;
  color: #242724;
  font: 600 18px/1.35 'Source Sans 3', sans-serif;
}
body.egps-refined .canvas-page--staff .entry-content .staff-person dd {
  margin: 4px 0 0;
  color: #5B5F59;
  font: 400 16px/1.5 'Source Sans 3', sans-serif;
}
body.egps-refined .canvas-page--staff .entry-content .staff-office-link {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 22px;
  color: #BD0001;
  font: 600 16px/1.45 'Source Sans 3', sans-serif;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
@media (max-width: 1100px) {
  body.egps-refined:not(.home) .canvas-page--staff { grid-template-columns: 250px minmax(0, 1fr); gap: 0 40px; }
  body.egps-refined .canvas-page--staff .entry-content .staff-leadership-gallery { gap: 18px; }
  body.egps-refined .canvas-page--staff .entry-content .staff-leader img { width: 140px; height: 183px; }
  body.egps-refined .canvas-page--staff .entry-content .staff-leader h3 { font-size: 18px; }
}
@media (max-width: 900px) {
  body.egps-refined:not(.home) .canvas-page--staff { display: block; max-width: 700px; }
  body.egps-refined:not(.home) .canvas-page--staff > .canvas-page-opening { margin-bottom: 30px; }
  body.egps-refined:not(.home) .canvas-page--staff .canvas-page-opening__intro { max-width: 52ch; }
  body.egps-refined .canvas-page--staff .entry-content .staff-leadership-gallery { gap: 30px; }
  body.egps-refined .canvas-page--staff .entry-content .staff-leader img { width: 154px; height: 202px; }
  body.egps-refined .canvas-page--staff .entry-content .staff-leader h3 { min-height: 0; font-size: 19px; }
  body.egps-refined .canvas-page--staff .entry-content .staff-people-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 36px; }
}
@media (max-width: 600px) {
  body.egps-refined:not(.home) .canvas-page--staff .canvas-page-opening h1 { font-size: 34px; margin-bottom: 14px; }
  body.egps-refined:not(.home) .canvas-page--staff .canvas-page-opening__intro { font-size: 18px; line-height: 1.5; }
  body.egps-refined .canvas-page--staff .entry-content .staff-section-heading { margin-bottom: 22px; }
  body.egps-refined .canvas-page--staff .entry-content .staff-section-heading h2 { font-size: 25px; }
  body.egps-refined .canvas-page--staff .entry-content .staff-leadership-gallery { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.egps-refined .canvas-page--staff .entry-content .staff-leader { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto; align-items: center; gap: 22px; }
  body.egps-refined .canvas-page--staff .entry-content .staff-leader img { width: 96px; height: 126px; }
  body.egps-refined .canvas-page--staff .entry-content .staff-leader h3 { min-height: 0; margin-bottom: 6px; font-size: 19px; }
  body.egps-refined .canvas-page--staff .entry-content .staff-leader p { font-size: 16px; }
  body.egps-refined .canvas-page--staff .entry-content .staff-leadership + .staff-team-directory { margin-top: 30px; }
  body.egps-refined .canvas-page--staff .entry-content .staff-team-directory > summary { padding-block: 21px; }
  body.egps-refined .canvas-page--staff .entry-content .staff-team-directory > summary h2 { font-size: 23px; }
  body.egps-refined .canvas-page--staff .entry-content .staff-people-list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

@media print {
  body.egps-refined .canvas-page--staff .entry-content .staff-team-directory::details-content { content-visibility: visible; }
  body.egps-refined .canvas-page--staff .entry-content .staff-disclosure-icon { display: none; }
}
