/*
Theme Name: Tugotto B
Theme URI: https://kintugi.net/
Author: Tugotto
Description: 金継ぎ教室つごっと（吉祥寺）用ブロックテーマ。B案「工房の手仕事感」— 焦げ茶・漆黒・朱・金、明朝見出し＋ゴシック本文。Gutenberg / FSE 対応。
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tugotto-b
Tags: full-site-editing, block-patterns, custom-colors, custom-menu, threaded-comments
*/

/* Base — mobile first */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;overflow-x:hidden}
img{max-width:100%;height:auto}
a{min-height:44px}
.wp-block-button__link{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:.75em 1.6em}
.wp-block-navigation__responsive-container-open{min-width:44px;min-height:44px}

/* Craft details */
.tug-gold-rule{border:none;border-top:2px solid var(--wp--preset--color--gold);width:64px;margin-left:0}
.tug-hero{background-color:var(--wp--preset--color--base-dark)}
.tug-hero .wp-block-cover__background{opacity:.55}
.tug-card{background-color:var(--wp--preset--color--ivory);border:1px solid rgba(74,52,35,.18);border-top:4px solid var(--wp--preset--color--gold);padding:clamp(1.25rem,4vw,2rem)}
.tug-price{font-size:clamp(1.8rem,6vw,2.4rem);font-weight:700;line-height:1.2}
.tug-price .yen{font-size:.55em;font-weight:400}
.tug-cta-band{background-color:var(--wp--preset--color--vermilion);color:#fff}
.tug-cta-band a{color:#fff}
.tug-dark-band{background-color:var(--wp--preset--color--brown);color:var(--wp--preset--color--ivory)}
.tug-info{background-color:var(--wp--preset--color--ivory);padding:clamp(1.25rem,4vw,2rem)}
.tug-site-header{position:sticky;top:0;z-index:50;background-color:var(--wp--preset--color--base-dark)}
.admin-bar .tug-site-header{top:32px}
@media (max-width:782px){.admin-bar .tug-site-header{top:46px}}
/* Header inner row (v1.0.1): full-width bar, one centred row up to 1200px.
   The outer group is layout:default so theme.json contentSize (760px)
   no longer squeezes title + nav + button onto two lines. */
.tug-site-header .tug-header-inner{max-width:1200px;margin-inline:auto;padding-inline:1rem}
.tug-site-header .wp-block-site-title{white-space:nowrap}
.tug-site-header .wp-block-navigation{font-size:.9rem}
@media (min-width:782px){
  .tug-site-header .tug-header-inner{flex-wrap:nowrap;gap:1rem}
  .tug-site-header .wp-block-navigation{flex-wrap:nowrap}
  .tug-site-header .wp-block-navigation__container{flex-wrap:nowrap;gap:1.25rem}
  .tug-site-header .wp-block-buttons{flex-wrap:nowrap}
  .tug-site-header .wp-block-button__link{white-space:nowrap;padding:.6em 1.2em}
}
/* Wide sections (v1.0.1): column-based patterns (pricing cards, two-cards,
   about) span up to 1180px instead of the 760px reading width, so card
   columns get ~370px each instead of ~240px. Text-only sections keep
   the 760px constrained layout. On narrow screens the width is simply
   100% - 2rem and WP columns stack vertically as before. */
.tug-wide-section{width:min(1180px,calc(100% - 2rem));margin-inline:auto}
.tug-wide-columns{width:100%;max-width:1180px;margin-inline:auto}
.tug-card-grid{gap:1.5rem}
.tug-site-footer{background-color:var(--wp--preset--color--base-dark);color:var(--wp--preset--color--ivory)}
.tug-site-footer a{color:var(--wp--preset--color--ivory)}
@media (min-width:782px){
  .tug-card-grid{gap:2rem}
}
