/* =========================================
   書籍詳細専用 (single-books.css)
   ========================================= */

/* 書籍詳細 */
.img-wrapper {
    text-align: center;
}

/* === 【書籍記事本文の画像を中央寄せ（PC）】 === */
/* 意図: 通常記事型 books（blp-* 等）の post_content 内 wp-block-image は
   既定で左寄せになり、コンテナ幅より狭い画像が左に偏る。PC では中央に揃える。 */
@media (min-width: 960px) {
    .single-books .post_content figure.wp-block-image {
        margin: 0 auto var(--swl-block-margin, 2em);
        text-align: center;
    }

    .single-books .post_content figure.wp-block-image img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}
