/* 4.27 (26 Oct 2026): four-cover hero deck — MedERA joins JPSIM, Esculapio and Annals.
   Applies only to a deck that holds four covers (data-covers="4"); every existing three-cover rule in
   editorial.css, journal-preview.css, home-atelier.css and living-publication.css is left untouched.
   Same cover treatment, shadows, featured lift and motion; only width, overlap and tilt are set for four. */
.tp-page-home .tp-hero-v3 .tp-hero-deck[data-covers="4"] .tp-hero-cover{flex-basis:32%;width:32%;margin-inline:-6%}
.tp-page-home .tp-hero-v3 .tp-hero-deck[data-covers="4"] .tp-hero-cover:nth-child(1){--rx:-6deg;--ty:22px;--sc:1;z-index:1}
.tp-page-home .tp-hero-v3 .tp-hero-deck[data-covers="4"] .tp-hero-cover:nth-child(2){--rx:-2.5deg;--ty:-4px;--sc:1;z-index:3}
.tp-page-home .tp-hero-v3 .tp-hero-deck[data-covers="4"] .tp-hero-cover:nth-child(3){--rx:2.5deg;--ty:-4px;--sc:1;z-index:2}
.tp-page-home .tp-hero-v3 .tp-hero-deck[data-covers="4"] .tp-hero-cover:nth-child(4){--rx:6deg;--ty:22px;--sc:1;z-index:1}
/* The chosen cover (featured, pointer or keyboard focus) still lifts to the front, as before. */
.tp-page-home .tp-hero-v3 .tp-hero-deck[data-covers="4"] .tp-hero-cover:is(.is-featured,:hover,:focus-within){--ty:-20px;--rx:0deg;--sc:1.06;z-index:5}
@media(max-width:760px){
 .tp-page-home .tp-hero-v3 .tp-hero-deck[data-covers="4"]{padding-inline:2%}
 .tp-page-home .tp-hero-v3 .tp-hero-deck[data-covers="4"] .tp-hero-cover{flex-basis:33%;width:33%;margin-inline:-6.5%}
 .tp-page-home .tp-hero-v3 .tp-hero-deck[data-covers="4"] .tp-hero-cover:is(:nth-child(1),:nth-child(4)){--ty:12px}
 .tp-page-home .tp-hero-v3 .tp-hero-deck[data-covers="4"] .tp-hero-cover:is(:nth-child(2),:nth-child(3)){--ty:-2px}
 .tp-page-home .tp-hero-v3 .tp-hero-deck[data-covers="4"] .tp-hero-cover:is(.is-featured,:hover,:focus-within){--ty:-10px;--sc:1.05}
}
