/* Center native image blocks in the archived front-end layout. */
#primary .content figure.wp-block-image.aligncenter {
    float: none;
    display: table;
    /* Image blocks may save zero inline side margins alongside center alignment. */
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Keep footer buttons on one row when zoom rounds their borders to whole pixels. */
#footer-buttons {
    display: flex;
    flex-wrap: nowrap;
}

#footer-buttons > li {
    float: none;
    flex: 1 1 0;
    min-width: 0;
}

#footer-buttons > li > a.dashicons {
    width: 100%;
}

/* Keep news covers square, including older images and narrow screens. */
#newstab-display img.wp-post-image {
    display: block;
    /* Archived mobile styles force all content images to full width. */
    width: 220px !important;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}
