.ld-card-stack,:host{--ld-card-stack-translate-amount-x:var(--ld-sp-6);--ld-card-stack-translate-amount-y:var(--ld-sp-6);--ld-card-stack-translate-direction-x:-1;display:grid;grid-template-areas:"card";grid-template-columns:1fr;padding:0;position:relative;z-index:0}.ld-card-stack .ld-card,.ld-card-stack ::slotted(.ld-card),:host .ld-card,:host ::slotted(.ld-card){grid-area:card;opacity:0;transition:transform var(--ld-transition-duration-normal) ease,opacity var(--ld-transition-duration-normal) linear,visibility var(--ld-transition-duration-normal) 0s linear;visibility:hidden}.ld-card-stack .ld-card:after,.ld-card-stack .ld-card:before,.ld-card-stack ::slotted(.ld-card):after,.ld-card-stack ::slotted(.ld-card):before,:host .ld-card:after,:host .ld-card:before,:host ::slotted(.ld-card):after,:host ::slotted(.ld-card):before{opacity:.3}.ld-card-stack .ld-card:first-of-type:not(:last-of-type),.ld-card-stack ::slotted(.ld-card:first-of-type:not(:last-of-type)),:host .ld-card:first-of-type:not(:last-of-type),:host ::slotted(.ld-card:first-of-type:not(:last-of-type)){transform:translate(calc(var(--ld-card-stack-translate-direction-x) * var(--ld-card-stack-translate-amount-x)),calc(-1 * var(--ld-card-stack-translate-amount-y)));z-index:1}.ld-card-stack .ld-card:nth-of-type(-n+3),.ld-card-stack ::slotted(.ld-card:nth-of-type(-n+3)),:host .ld-card:nth-of-type(-n+3),:host ::slotted(.ld-card:nth-of-type(-n+3)){opacity:1;transition:transform var(--ld-transition-duration-normal) ease,opacity var(--ld-transition-duration-normal) linear;visibility:inherit}.ld-card-stack .ld-card:nth-of-type(3),.ld-card-stack ::slotted(.ld-card:nth-of-type(3)),:host .ld-card:nth-of-type(3),:host ::slotted(.ld-card:nth-of-type(3)){transform:translate(calc(-1 * var(--ld-card-stack-translate-direction-x) * var(--ld-card-stack-translate-amount-x)),var(--ld-card-stack-translate-amount-y));z-index:-1}.ld-card-stack .ld-card:focus-within,.ld-card-stack ::slotted(.ld-card:focus-within),:host .ld-card:focus-within,:host ::slotted(.ld-card:focus-within){z-index:2}.ld-card-stack:after,:host:after{border-radius:var(--ld-br-l);box-shadow:var(--ld-shadow-hover);content:"";inset:calc(var(--ld-card-stack-translate-amount-y) * 2) var(--ld-card-stack-translate-amount-x);opacity:.8;position:absolute;z-index:-2}.ld-card-stack--rtl,:host(.ld-card-stack--rtl){--ld-card-stack-translate-direction-x:1}.ld-card-stack--vertical,:host(.ld-card-stack--vertical){--ld-card-stack-translate-direction-x:0}