/*
Theme Name: Aneeson
Template: twentytwentyfive
Description: aneeson.com 用の子テーマ（Twenty Twenty-Five をもとに、記事ページの代表写真の重複表示・コメント欄を外す）
Version: 1.0
*/

/* 記事内の写真：iWeb 時代の小さめの写真を中央に、少し影を付けて */
.wp-block-post-content .wp-block-image img { box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.wp-block-post-content .wp-block-gallery { margin-top: 1.5em; margin-bottom: 1.5em; }
.wp-block-post-content p { line-height: 1.9; }

/* 一覧：写真を左に小さく、題・日付・書き出しを右に */
.aneeson-list .wp-block-post-template > li { border-bottom: 1px solid rgba(0,0,0,.1); }
.aneeson-thumb img { box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.aneeson-years { columns: 4 8em; list-style: none; padding-left: 0; }
.aneeson-list .wp-block-column { min-width: 0; }
.aneeson-list .wp-block-post-excerpt, .wp-block-post-content p { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .aneeson-list .wp-block-column:first-child { flex-basis: 35% !important; }
  .aneeson-list .wp-block-post-title { font-size: 1.1rem !important; }
}
/* 文章の段は残りの幅だけ使う（段の間隔ぶんはみ出さないように） */
.aneeson-list .wp-block-columns { flex-wrap: nowrap !important; }
.aneeson-list .wp-block-column:last-child { flex: 1 1 0 !important; }
.aneeson-list .wp-block-column:first-child { flex: 0 0 30% !important; }
@media (max-width: 600px) { .aneeson-list .wp-block-column:first-child { flex-basis: 35% !important; } }
