/* zulian-ed-portrait-hover-20261022 */
#ABOUT-HERO.ed-about-hero .ed-wrap,
.ed-about-hero .ed-wrap,
[data-v2-editorial] .ed-about-hero .ed-wrap,
[data-editorial-system] .ed-about-hero .ed-wrap{
  grid-template-columns:minmax(480px,1.15fr) minmax(0,1fr)!important;
  gap:clamp(28px,4vw,56px)!important;
  align-items:center;
}
.ed-portrait{
  max-width:min(720px,100%)!important;
  width:100%!important;
  margin:0!important;
}
.ed-portrait img,
.ed-portrait [data-ed-photo]{
  width:100%!important;
  height:auto!important;
  aspect-ratio:4/5;
  object-fit:cover;
  object-position:center 18%;
  filter:grayscale(1)!important;
  transition:filter .55s cubic-bezier(.45,0,.55,1)!important;
  background:#e8e4df;
}
.ed-portrait:hover img,
.ed-portrait:hover [data-ed-photo],
.ed-portrait:focus-within img,
.ed-portrait:focus-within [data-ed-photo]{
  filter:grayscale(0)!important;
}
.ed-portrait button[data-ed-color],
button[data-ed-color],
button[data-r3-portrait-toggle],
.ed-portrait > button{
  display:none!important;
}

/* PHOTO IN THE OLD BIG-NUMBER SLOT (01 / 02) */
[data-v2-editorial] .ed-story-text .ed-wrap,
.ed-story-text .ed-wrap{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  align-items:center!important;
  gap:clamp(28px,5vw,64px)!important;
  position:relative;
}
[data-v2-editorial] .ed-story-text .ed-chapter-copy,
.ed-story-text .ed-chapter-copy{
  grid-area:1/2!important;
}
[data-v2-editorial] .ed-chapter-photo.ed-chapter-number-slot,
.ed-chapter-photo.ed-chapter-number-slot{
  grid-area:1/1!important;
  max-width:min(460px,100%)!important;
  width:100%!important;
  margin:0!important;
  justify-self:center;
  z-index:1;
}
/* alternating layout where number was on column 2 */
#ABOUT-COSTRUIRE .ed-chapter-photo.ed-chapter-number-slot,
#ABOUT-METODO .ed-chapter-photo.ed-chapter-number-slot{
  grid-area:1/2!important;
}
#ABOUT-COSTRUIRE .ed-chapter-copy,
#ABOUT-METODO .ed-chapter-copy{
  grid-area:1/1!important;
}
.ed-chapter-photo img{
  width:100%!important;
  aspect-ratio:3/4;
  object-fit:cover;
  object-position:center 12%;
  filter:grayscale(1)!important;
  transition:filter .55s ease!important;
}
.ed-chapter-photo:hover img,
.ed-chapter-photo:focus-within img{
  filter:grayscale(0)!important;
}
.ed-chapter-photo figcaption{
  margin-top:12px;
  font-size:12px;
  letter-spacing:.04em;
  opacity:.75;
}
/* hide leftover numbers if any */
.ed-story-text .ed-chapter-number{display:none!important}

@media (max-width:900px){
  [data-v2-editorial] .ed-story-text .ed-wrap,
  .ed-story-text .ed-wrap{
    grid-template-columns:1fr!important;
  }
  [data-v2-editorial] .ed-story-text .ed-chapter-copy,
  .ed-story-text .ed-chapter-copy,
  [data-v2-editorial] .ed-chapter-photo.ed-chapter-number-slot,
  .ed-chapter-photo.ed-chapter-number-slot,
  #ABOUT-COSTRUIRE .ed-chapter-photo.ed-chapter-number-slot,
  #ABOUT-METODO .ed-chapter-photo.ed-chapter-number-slot,
  #ABOUT-COSTRUIRE .ed-chapter-copy,
  #ABOUT-METODO .ed-chapter-copy{
    grid-area:auto!important;
  }
  .ed-chapter-photo.ed-chapter-number-slot{
    max-width:min(420px,100%)!important;
    margin-inline:auto!important;
  }
}
