/* Official Apple "Download on the App Store" badge, black version, used unchanged (/media/app-store/).
   Apple rules kept: height never under 40px, clear space = 1/4 of the badge height on every side (padding), nothing touches it. */
.appstore{--h:44px;display:block;box-sizing:content-box;width:calc(var(--h)*2.99160);height:var(--h);min-height:40px;padding:calc(var(--h)/4);margin:0 auto;line-height:0}
.appstore img{display:block;width:100%;height:100%}
.appstore:focus-visible{outline:2px solid currentColor;outline-offset:0}
.announce--badge{display:flex;flex-direction:column;align-items:center;gap:0;padding:.35rem 1.25rem 0;font-size:1rem}
.announce__line{display:block;line-height:1.2}
.appstore--pricing{--h:52px;margin:0;margin-left:calc(var(--h)/-4)}
.appstore--footer{--h:40px;margin:0 0 0 calc(var(--h)/-4)}
.site-footer__badge{flex-basis:100%;margin:0}

/* MS01-139: "Updates" link beside the top badge. The badge stays centred in the middle column with its clear space; the link sits in the column to its right. */
.announce--badge{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;justify-items:center}
.announce--badge .announce__line{grid-column:1/-1}
.announce--badge .appstore{grid-column:2}
.announce__updates{grid-column:3;justify-self:start;display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}

/* Paul, Nov 5: version numbers in the site's display font, italic. Larger blue Updates link beside the badge. */
.updates-num{font-family:var(--font-serif);font-style:italic}
.announce__updates{font-size:1.25rem}

/* Paul, Nov 5: orange link with the longer wording. Below the badge when the side column can't hold it. */
.announce--badge a.announce__updates,.announce--badge a.announce__updates:visited{color:#ff9f43}
.announce--badge a.announce__updates:hover{color:#ffb56b}
@media(max-width:1000px){.announce--badge .announce__updates{grid-column:1/-1;justify-self:center;white-space:normal;text-align:center;line-height:1.2;padding:0 0 .35rem}}
