/* Match the approved specialty header while keeping the original text and links. */
main [data-cisme-photo-replaced], main .cisme-header-photo[hidden],
main .cisme-magazine-photo[hidden] { display:none !important; }

main section[data-cisme-photo-header] {
  color:#202624;
  background:#f7f8f5;
  border-bottom:1px solid #d7ddda;
  text-align:start;
}
[data-cisme-photo-header] > .mx-auto {
  box-sizing:border-box;
  width:100%;
  max-width:80rem;
  margin-inline:auto;
  padding-inline:clamp(1.25rem,4vw,2rem);
}
[data-cisme-photo-header] > .mx-auto > .grid {
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  align-items:center;
  column-gap:clamp(2rem,5.2vw,5rem);
  row-gap:1.2rem;
  padding-block:clamp(1.5rem,3vw,2.75rem) clamp(1.25rem,2.4vw,2rem);
}
[data-cisme-photo-header] .grid > .motion-reveal {
  min-width:0;
  padding-block:0;
}
[data-cisme-photo-header] .motion-reveal > p:first-child {
  margin:0 0 .75rem;
  color:#506c5e;
}
main section[data-cisme-photo-header] h1 {
  max-width:20ch;
  margin:0;
  color:#202624;
  font-family:inherit;
  font-size:clamp(2.35rem,4.25vw,4.25rem);
  font-weight:600;
  line-height:1.09;
  letter-spacing:-.044em;
  text-wrap:balance;
  overflow-wrap:break-word;
}
[data-cisme-photo-header] h1 + p {
  max-width:47ch;
  margin:1.25rem 0 0;
  color:#40534a;
  font-family:inherit;
  font-size:clamp(1.0625rem,1.55vw,1.25rem);
  line-height:1.58;
  text-wrap:pretty;
}
[data-cisme-photo-header] h1 + p + div { margin-top:1.3rem; }
main section[data-cisme-photo-header] + section.section-v4 {
  padding-block-start:clamp(1.65rem,3.2vw,2.25rem);
}
[data-cisme-photo-header="sobre-cisme"] + .section-v4 > .mx-auto > .grid.mt-12 {
  margin-block-start:clamp(1.35rem,2.25vw,2rem);
}
.cisme-header-photo, [data-cisme-photo-header] .grid > .render-ready-frame {
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  aspect-ratio:1.52;
  overflow:hidden;
  margin:0;
  border-radius:4px;
  background:#e6ede8;
}
[data-cisme-photo-header] .grid > .render-ready-frame { min-height:0; }
.cisme-header-photo img {
  display:block;
  height:100%;
  width:100%;
  object-fit:cover;
  object-position:50% 39%;
}
main .cisme-magazine-photo img { object-position:46% 60%; }
@media (max-width:48rem) {
  [data-cisme-photo-header] > .mx-auto > .grid { grid-template-columns:minmax(0,1fr); }
  main section[data-cisme-photo-header] h1 { max-width:100%; }
  [data-cisme-photo-header] h1 + p { margin-top:1rem; }
  .cisme-header-photo, [data-cisme-photo-header] .grid > .render-ready-frame {
    aspect-ratio:1.85;
    max-height:18rem;
  }
}
