/*
Theme Name: KINEMBREW
Description: 馭構咖啡系統器具原生區塊子佈景；本機候選，啟用前須完成本站資料綁定與 WordPress 執行驗證。
Template: twentytwentyfive
Version: 0.1.0
Requires at least: 6.7
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kinembrew
*/
/* Initial source: Twenty Twenty-Five 1.5 (WordPress.org), GPL-2.0-or-later.
   Brand changes: bound initial-design exception, 2026-10-19. */
:root{--kb-bg:#fff;--kb-ink:#1a1a1a;--kb-muted:#555;--kb-surface:#f4f4f1;--kb-border:#d8d8d3;--kb-width:1120px;--kb-article:760px}
*{box-sizing:border-box}
body{margin:0;background:var(--kb-bg);color:var(--kb-ink);font-family:system-ui,'Microsoft JhengHei',sans-serif;font-size:18px;line-height:1.75;overflow-wrap:anywhere}
img{max-width:100%;height:auto}
a{color:inherit;text-underline-offset:.2em}
a:hover{text-decoration-thickness:2px}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #1a1a1a;outline-offset:4px}
h1,h2,h3{font-weight:650;line-height:1.35;text-wrap:balance}
h1{font-size:40px}
h2{font-size:28px}
h3{font-size:22px}
.kb-shell{width:min(100% - 32px,1120px);margin-inline:auto}
.kb-header{padding-block:24px;border-bottom:1px solid var(--kb-border);display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.kb-wordmark{display:block;max-width:320px}
.kb-wordmark img{display:block;width:320px;height:auto}
.kb-nav{display:flex;flex-wrap:wrap;gap:8px 24px}
.kb-nav a{min-height:44px;display:inline-flex;align-items:center;font-size:16px;text-decoration:none}
.kb-nav a:hover,.kb-nav a[aria-current=page]{text-decoration:underline}
.kb-hero{padding-block:64px 48px;max-width:760px}
.kb-hero p{color:var(--kb-muted)}
.kb-center-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-block:0 64px}
.kb-center{padding:28px;border:1px solid var(--kb-border);background:var(--kb-surface)}
.kb-center h2{margin-block:0 12px}
.kb-center p{margin-block:0 20px;color:var(--kb-muted)}
.kb-button,.wp-element-button{background:#1a1a1a;color:#fff;padding:12px 20px;border:1px solid #1a1a1a;border-radius:0;display:inline-block;text-decoration:none;font:inherit;cursor:pointer}
.kb-section{margin-block:0 64px}
.kb-section-head{display:flex;gap:16px;align-items:baseline;justify-content:space-between;flex-wrap:wrap;margin-bottom:24px}
.kb-section-head h2{margin:0}
.kb-posts,.kb-posts.wp-block-post-template{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px;padding:0;list-style:none}
.kb-card{min-width:0}
.kb-card figure{margin:0 0 16px}
.kb-card img,.kb-card .wp-block-post-featured-image img{width:100%;aspect-ratio:3/2;object-fit:contain;background:#fff;border:1px solid var(--kb-border)}
.kb-card h2,.kb-card h3{font-size:22px;margin-block:8px 12px}
.kb-card p{font-size:16px;color:var(--kb-muted);margin-block:0 16px}
.kb-card .kb-meta,.kb-meta{font-size:14px;color:var(--kb-muted)}
.kb-archive-head{padding-block:48px 24px;max-width:760px}
.kb-tools{padding:20px;background:var(--kb-surface);margin-block:0 32px}
.kb-topics{display:flex;flex-wrap:wrap;gap:8px 24px;margin-bottom:16px}
.kb-search{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.kb-search label{display:block;font-size:16px}
.kb-search input{min-width:0;width:100%;padding:11px;border:1px solid #555;background:#fff;color:#1a1a1a;font:inherit}
.kb-search-field{flex:1;min-width:180px}
.wp-block-search__input{border:1px solid #555;color:#1a1a1a;background:#fff;min-width:0}
.kb-pagination,.wp-block-query-pagination{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-block:40px 64px}
.kb-pagination a,.kb-pagination span,.wp-block-query-pagination a,.wp-block-query-pagination span{padding:6px 12px;min-height:44px}
.kb-pagination [aria-current=page]{background:#1a1a1a;color:#fff}
.kb-no-results{padding:24px;border:1px solid var(--kb-border)}
.kb-article{max-width:760px;margin:40px auto 64px}
.kb-breadcrumbs{font-size:14px;margin-bottom:24px}
.kb-article .wp-block-post-featured-image img{width:100%;object-fit:contain}
.kb-article .wp-block-post-content{line-height:1.75}
.kb-article .wp-block-post-content h2{margin-top:40px}
.kb-footer{padding-block:24px 36px;border-top:1px solid var(--kb-border);font-size:14px;color:var(--kb-muted)}
@media(max-width:900px){.kb-posts,.kb-posts.wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
body{font-size:16px}h1{font-size:28px}h2{font-size:24px}h3{font-size:20px}
.kb-header{padding-block:16px;gap:12px}.kb-nav{gap:4px 20px;width:100%}.kb-wordmark,.kb-wordmark img{width:288px;max-width:100%}
.kb-hero{padding-block:36px 28px}.kb-center-grid{grid-template-columns:1fr;gap:16px;margin-bottom:40px}.kb-center{padding:20px}
.kb-section{margin-bottom:40px}.kb-posts,.kb-posts.wp-block-post-template{grid-template-columns:1fr;gap:32px}.kb-section-head{margin-bottom:20px}
.kb-archive-head{padding-top:32px}.kb-tools{padding:16px}.kb-search{gap:12px}.kb-search-field{min-width:100%;flex-basis:100%}.kb-search button{width:100%}
.kb-card h2,.kb-card h3{font-size:22px}.kb-pagination{gap:4px}.kb-article{margin-top:28px}
}

.kb-card figcaption{font-size:13px;line-height:1.6;color:#555;margin-top:8px}.kb-article table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:16px}.kb-article th,.kb-article td{border:1px solid #d8d8d3;padding:10px;overflow-wrap:anywhere;vertical-align:top}.kb-article figure{margin:28px 0}.kb-article figure img{width:100%;height:auto;object-fit:contain}.kb-article figcaption{font-size:14px;color:#555}.kb-article .kb-posts{grid-template-columns:repeat(2,minmax(0,1fr))}.kb-article hr{margin-block:36px;border:0;border-top:1px solid #d8d8d3}@media(max-width:600px){.kb-article .kb-posts{grid-template-columns:1fr}.kb-article table{font-size:14px}.kb-article th,.kb-article td{padding:7px}}

/* Explicit parent-merge overrides; static review does not prove WP merge/runtime. */
body .wp-site-blocks{padding:0}
:root{--wp--preset--color--accent-1:#f4f4f1;--wp--preset--color--accent-2:#f4f4f1;--wp--preset--color--accent-3:#f4f4f1;--wp--preset--color--accent-4:#555;--wp--preset--color--accent-5:#f4f4f1;--wp--preset--color--accent-6:#d8d8d3}
body h1,body h1.wp-block-post-title{font-size:40px;line-height:1.35;font-weight:650}
body h2{font-size:28px;line-height:1.35;font-weight:650}body h3{font-size:22px;line-height:1.35;font-weight:650}
body .kb-card h2,body .kb-card h3{font-size:22px}
body .wp-block-search__button{border-radius:0;background:#1a1a1a;color:#fff}
@media(max-width:600px){body,body .wp-site-blocks{font-size:16px}body h1,body h1.wp-block-post-title{font-size:28px}body h2{font-size:24px}body h3{font-size:20px}}

.kb-article .kb-invitation{margin-top:40px;padding:28px;background:#f4f4f1;border:1px solid #d8d8d3;color:#1a1a1a}
.kb-article .kb-invitation h2{margin-top:0}
.kb-invitation .kb-actions{display:flex;flex-wrap:wrap;gap:16px;margin-block:24px}
.kb-invitation .kb-actions .kb-button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;background:#1a1a1a;color:#fff;border:1px solid #1a1a1a;padding:12px 20px;font-size:16px;line-height:1.5;text-decoration:none;white-space:normal}
.kb-invitation .kb-actions .kb-button:focus-visible{outline:3px solid #1a1a1a;outline-offset:4px}
@media(max-width:600px){.kb-article .kb-invitation{padding:20px;margin-top:32px}.kb-invitation .kb-actions{flex-direction:column;gap:12px}.kb-invitation .kb-actions .kb-button{width:100%}}
