.ortho-hero .ortho-hero-visual--deck{container-type:inline-size;background:#ffad53;isolation:isolate}
.ortho-hero-visual--deck::before{content:"";position:absolute;inset:0 0 0 48%;background:url("/img/orthotics-booklet/cover-walking-orange.jpg") center right/contain no-repeat;pointer-events:none}
.ortho-hero-visual--deck .ortho-hero-stamp{display:none}
.ortho-hero-visual--deck .ortho-hero-float{left:14px;right:auto;width:max-content;max-width:44%;padding:7px 10px}
.ortho-hero-visual--deck .ortho-hero-float-top{top:12px}
.ortho-hero-visual--deck .ortho-hero-float-bottom{top:70px;bottom:auto}
.ortho-hero-visual--deck .ortho-hero-deck{left:5px;bottom:14px;width:47%;max-width:310px;transform:none}
.ortho-hero-deck .ortho-hero-deck-card{width:calc(100% - 16px);padding:7px 8px}
.ortho-hero-deck-card[data-state="previous"]{transform:translate(-5px,-4px) rotate(-2deg) scale(.98)}
.ortho-hero-deck-card[data-state="next"]{transform:translate(5px,-4px) rotate(2deg) scale(.98)}
@container(max-width:540px){
 .ortho-hero-visual--deck::before{inset:0 0 0 0}
 .ortho-hero-visual--deck .ortho-hero-deck{position:relative;left:auto;bottom:auto;width:100%;max-width:none;padding:9px 12px;background:#fff2e1;align-self:end}
 .ortho-hero-visual--deck .ortho-hero-deck-card{width:calc(100% - 12px);display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-content:center;align-items:center;column-gap:8px}
 .ortho-hero-visual--deck .ortho-hero-deck-card img{grid-area:1/1/5/2;width:220px;max-width:none;justify-self:center;margin:0;pointer-events:none}
 .ortho-hero-deck-card>:not(img){grid-column:2;z-index:1}
 .ortho-hero-visual--deck .ortho-hero-float{display:none}
}
@media(min-width:761px) and (max-width:1150px),(max-width:760px){
 .ortho-hero .ortho-hero-visual--deck{display:grid;grid-template-rows:minmax(0,1fr) auto}
}
@supports(container-type:inline-size){
 @container(max-width:540px){
 .ortho-hero-visual--deck::before{position:relative;grid-row:1;inset:auto;display:block;background-position:center}
 .ortho-hero-visual--deck .ortho-hero-deck{grid-row:2}
 }
}
