/*
Theme Name: THINK MONEY SWELL CHILD
Template: swell
Description: THINK MONEY用SWELL子テーマ。記事機能は専用プラグインで維持します。
Version: 1.0.0
Author: Rocklink LLC
*/
:root { --tm-ink:#14213d; --tm-paper:#f7f5ef; --tm-gold:#9b6b24; }
.tm-home-intro { border-bottom:1px solid #ded8ca; padding-block:1rem 2.5rem; margin-bottom:2.5rem; }
.tm-home-intro .wp-block-heading { color:var(--tm-ink); font-weight:700; }
.tm-home-section { margin-block:3rem; }
.tm-home-section .wp-block-post-title { font-size:1.05rem; line-height:1.7; margin-top:.8rem; }
.tm-home-section .wp-block-post-title a { text-decoration:none; }
.tm-home-section .wp-block-post-excerpt { font-size:.9rem; color:#5e626b; }
.tm-home-section .wp-block-post-featured-image { overflow:hidden; border-radius:4px; }
.tm-home-section .wp-block-post-featured-image img { aspect-ratio:3/2; object-fit:cover; }
.tm-home-section .wp-block-post-template { gap:1.8rem; }
.tm-home-section .wp-block-post-template > li { min-width:0; }
@media (max-width:767px) { .tm-home-section .wp-block-post-template { grid-template-columns:1fr!important; gap:2rem; } }
a:focus-visible, button:focus-visible { outline:3px solid var(--tm-gold); outline-offset:3px; }
@media (prefers-reduced-motion:reduce) { html {scroll-behavior:auto;} }

.tm-home-blocks .p-homeContent {display:none;}

.tm-home-section .wp-block-post-template {list-style:none; padding:0; margin:0;}
.tm-home-section .wp-block-post-title {border:0; padding:0; background:none;}
.tm-home-section .wp-block-post-title::after,.tm-home-section .wp-block-post-title::before {display:none;}
.tm-featured-placeholder {aspect-ratio:3/2; border:1px solid #ded8ca; background:#efebe2;}
.tm-featured-placeholder a {display:grid; place-items:center; height:100%; color:#6a6d76; text-decoration:none; font-size:.85rem; letter-spacing:.08em;}

.tm-related-category {margin-top:.5rem;font-size:.8rem;color:#666a73;}
