/* One visible download card: sidebar on desktop, beside the instructions on mobile. */
.template-card{display:block;min-width:0;overflow:hidden;border:1px solid var(--line);border-top:3px solid var(--forest);border-radius:6px;background:var(--white);color:var(--ink);text-decoration:none}
.template-card-preview{display:block;padding:0;background:#fff}
.template-card-preview img{display:block;width:100%;height:auto}
.template-card-copy{display:grid;gap:.55rem;padding:1rem}
.template-card-label{color:var(--muted);font-size:.75rem;line-height:1.4;font-weight:650}
.template-card-title{font:800 1.25rem/1.2 "Iowan Old Style","Palatino Linotype",Baskerville,Georgia,serif}
.template-card-description{font-size:.875rem;line-height:1.5}
.template-card .button{width:100%;margin-top:.2rem}
.template-card:focus-visible{outline:3px solid var(--ink);outline-offset:4px;box-shadow:0 0 0 4px var(--sun)}
.template-card--desktop{margin-top:1rem}
.template-card--mobile{display:none}
@media(max-width:900px){
 .template-card--desktop{display:none}
 .template-card--mobile{display:block;width:100%;max-width:22rem;margin:1.25rem auto 1.75rem}
}
/* The card follows only as far as the paper-bat instructions. */
@media(min-width:901px){
 .hero-halloween .article-aside{position:relative;top:auto}
 .hero-halloween .article-aside.template-follow-ready{height:var(--template-follow-height)}
 .template-follow-ready .template-card--desktop{position:sticky;top:var(--template-follow-top,100px)}
}
