/**
 * 本文ユーティリティ
 *
 * Gutenberg「高度な設定 → 追加CSSクラス」で利用:
 * - text-inline … 強調テキストの意図しない改行防止
 * - image-small … 幅250pxの小サイズ画像（スマホは max-width:100% ではみ出し防止）
 */

.text-inline {
	display: inline !important;
}

strong.text-inline {
	display: inline !important;
}

/* Gutenberg: 段落ブロック等の親に text-inline を付けたとき、子の strong もインライン */
.text-inline strong,
.text-inline b {
	display: inline !important;
}

/* イベント本文: block 用 margin をインライン時のみ解除 */
.single-event-body p strong.text-inline,
.single-event-body p.text-inline strong,
.single-event-body .wp-block-paragraph.text-inline strong {
	margin: 0 !important;
}

/* image-small（Gutenberg 画像ブロックの追加CSSクラスに image-small を指定） */
.image-small,
img.image-small {
	width: 250px !important;
	max-width: 100%;
	height: auto !important;
}

figure.image-small,
.wp-block-image.image-small {
	width: 250px !important;
	max-width: 100%;
	height: auto !important;
}

figure.image-small img,
.wp-block-image.image-small img,
.image-small img {
	width: 250px !important;
	max-width: 100%;
	height: auto !important;
}

/* 本文エリア内の強制サイズ指定より優先 */
.single-event-body .wp-block-image.image-small,
.single-event-body figure.image-small,
.single-passion-body .wp-block-image.image-small,
.single-passion-body figure.image-small,
.page-shop-story-body .wp-block-image.image-small,
.page-shop-story-body figure.image-small {
	width: 250px !important;
	max-width: 100%;
	height: auto !important;
}

.single-event-body .wp-block-image.image-small img,
.single-event-body figure.image-small img,
.single-event-body img.image-small,
.single-passion-body .wp-block-image.image-small img,
.single-passion-body figure.image-small img,
.single-passion-body img.image-small,
.page-shop-story-body .wp-block-image.image-small img,
.page-shop-story-body figure.image-small img,
.page-shop-story-body img.image-small,
main.page-shop-story .page-shop-story-body .wp-block-image.image-small img,
main.page-shop-story .page-shop-story-body figure.image-small img,
main.page-shop-story .page-shop-story-body img.image-small {
	width: 250px !important;
	max-width: 100%;
	height: auto !important;
	object-fit: unset !important;
}
