/*
 * Keeps post content looking the way it did on WordPress 5.8.
 * Since WordPress 6, core prints its own block styles and preset classes
 * (some with !important) before the theme CSS; these rules put back the
 * previous rendering. Loaded after the theme stylesheet (see functions.php).
 */

/* Core palette colors on links used to lose to the theme link color. */
.blog-section .entry-content a.has-black-color,
.blog-section .entry-content a.has-cyan-bluish-gray-color,
.blog-section .entry-content a.has-white-color,
.blog-section .entry-content a.has-pale-pink-color,
.blog-section .entry-content a.has-vivid-red-color,
.blog-section .entry-content a.has-luminous-vivid-orange-color,
.blog-section .entry-content a.has-luminous-vivid-amber-color,
.blog-section .entry-content a.has-light-green-cyan-color,
.blog-section .entry-content a.has-vivid-green-cyan-color,
.blog-section .entry-content a.has-pale-cyan-blue-color,
.blog-section .entry-content a.has-vivid-cyan-blue-color,
.blog-section .entry-content a.has-vivid-purple-color {
    color: #004677 !important;
}

/* The "normal" font size followed the surrounding text (core now forces 16px). */
.blog-section .entry-content .has-normal-font-size,
.blog-section .entry-content .has-regular-font-size {
    font-size: 1em !important;
}

/* Buttons were spaced with a bottom margin, not a row gap. */
.blog-section .entry-content .wp-block-buttons {
    row-gap: 0;
}
.blog-section .entry-content .wp-block-buttons > .wp-block-button {
    margin-bottom: .5em;
}

/* Images, embeds and tables had 1em below; images sat on the site's own vertical alignment. */
.blog-section .entry-content .wp-block-image,
.blog-section .entry-content .wp-block-embed,
.blog-section .entry-content .wp-block-table {
    margin-bottom: 1em;
}
.blog-section .entry-content .wp-block-image img {
    vertical-align: baseline;
}
.blog-section.isMobile .entry-content .wp-block-image img {
    vertical-align: middle;
}

/* Table cells had no borders. */
.blog-section .entry-content .wp-block-table td,
.blog-section .entry-content .wp-block-table th {
    border: 0;
    padding: 1px;
}
.blog-section.isMobile .entry-content .wp-block-table td,
.blog-section.isMobile .entry-content .wp-block-table th {
    padding: 0;
}

/* Quote citations stayed inline. */
.blog-section .entry-content .wp-block-quote cite {
    display: inline;
}

/* Separators used the browser's default rule. */
.blog-section .entry-content .wp-block-separator {
    border-width: 1px;
    border-style: solid inset;
}
