@charset "UTF-8";
/* =========================================================================
   tospa.jp  /guide ブロック版  下地（guide.css より前に読む）
   -------------------------------------------------------------------------
   ブロックエディタで組んだ本文には、WordPress が次の余白を自動で付ける。
     :root :where(.is-layout-flow) > * { margin-block-start: 24px }   … 詳細度 (0,1,0)
     .wp-block-image / .wp-block-columns などの margin-bottom          … 詳細度 (0,1,0)
   これらを、同じ詳細度 (0,1,0) で WP より後ろ・guide.css より前に打ち消す。
   guide.css の部品の指定（.tsg-lead { margin-bottom } など。同じく (0,1,0)）は
   この後に読まれるので、ソース順でそのまま勝つ。

   読み込み順は tsg-guide-blocks.php の依存関係で固定している:
     global-styles → このファイル → guide.css → guide-blocks.css
   ここに詳細度 (0,2,0) 以上のセレクタを書くと guide.css の指定を潰すので書かないこと。
   ========================================================================= */

:where(.tsg-b) .is-layout-flow > *,
:where(.tsg-b) .is-layout-constrained > * { margin-block: 0; }

:where(.tsg-b) .wp-block-image,
:where(.tsg-b) .wp-block-columns,
:where(.tsg-b) .wp-block-buttons,
:where(.tsg-b) .wp-block-details,
:where(.tsg-b) .wp-block-list { margin: 0; }

:where(.tsg-b) .wp-block-list { padding: 0; list-style: none; }
:where(.tsg-b) .wp-element-caption { margin: 0; }
