/* A2.3 only: adsorption followed by genome injection; capsid stays outside. */
.a23-phage-card .a23-phage {transform:translate(-150px,18px)}
.a23-phage-card .a23-head-dna {stroke-dasharray:1;stroke-dashoffset:0}
.a23-phage-card .a23-injected-dna {stroke-dasharray:1;stroke-dashoffset:1;opacity:0}
.a23-phage-card:is(:hover,:focus-within) {transform:none}
@media(prefers-reduced-motion:no-preference) {
 .a23-phage-card:is(:hover,:focus-within) .a23-phage {animation:a23-phage-land .9s ease-in-out both}
 .a23-phage-card:is(:hover,:focus-within) .a23-head-dna {animation:a23-genome-exit 2.5s 1s linear both}
 .a23-phage-card:is(:hover,:focus-within) .a23-injected-dna {animation:a23-genome-inject 2.5s 1s linear both}
}
@keyframes a23-phage-land {from{transform:translate(-150px,18px)}to{transform:translate(0,0)}}
@keyframes a23-genome-exit {0%{stroke-dashoffset:0}100%{stroke-dashoffset:1}}
@keyframes a23-genome-inject {0%{opacity:1;stroke-dashoffset:1}100%{opacity:1;stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce) {
 .a23-phage-card:is(:hover,:focus-within) .a23-phage {transform:translate(0,0)}
 .a23-phage-card:is(:hover,:focus-within) .a23-head-dna {stroke-dashoffset:1}
 .a23-phage-card:is(:hover,:focus-within) .a23-injected-dna {opacity:1;stroke-dashoffset:0}
}
