/*
Theme Name: Smiling Buddha
Theme URI: https://smilingbuddha.uk
Description: Child theme of Twenty Twenty-Five for Smiling Buddha, a construction company in Reading, Berkshire.
Author: Smiling Buddha
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smilingbuddha
*/

/* Buttons */
.wp-block-button__link { font-weight: 700; letter-spacing: 0.01em; }
.is-style-outline .wp-block-button__link { border-width: 2px; }

/* Cards */
.sb-card { border-radius: 12px; overflow: hidden; border: 1px solid var(--wp--preset--color--accent-6); height: 100%; }
.sb-card .wp-block-image { margin: 0; }
.sb-card .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; display: block; }
.sb-card-body { padding: var(--wp--preset--spacing--40); }
.sb-card-body h3 { margin-top: 0; font-size: 1.25rem; }
.sb-eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 800; }
.sb-stat { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1; }
.sb-step-num { font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--wp--preset--color--accent-1); }

/* Hero cover */
.sb-hero .wp-block-cover__inner-container { max-width: 900px; }
.sb-hero h1 { text-wrap: balance; }

/* Safety-stripe accent under headings */
.sb-stripe { width: 72px; height: 6px; background: repeating-linear-gradient(135deg, var(--wp--preset--color--accent-1) 0 12px, var(--wp--preset--color--contrast) 12px 24px); border-radius: 3px; margin: 0.5rem 0 1.25rem; }

/* Project gallery */
.sb-project img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: 12px; }
.sb-project figcaption { font-size: 0.9rem; color: var(--wp--preset--color--accent-5); }

/* Checklist */
.sb-check { list-style: none; padding-left: 0; }
.sb-check li { position: relative; padding-left: 1.9rem; margin-bottom: 0.6rem; }
.sb-check li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--wp--preset--color--accent-1); box-shadow: inset 0 0 0 0.33rem var(--wp--preset--color--accent-1); }
.sb-check li::after { content: ""; position: absolute; left: 0.34rem; top: 0.52em; width: 0.32rem; height: 0.55rem; border: solid var(--wp--preset--color--contrast); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Contact Form 7 */
.wpcf7 label { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
  width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--wp--preset--color--accent-6); border-radius: 8px; font: inherit; background: #fff; }
.wpcf7 textarea { min-height: 160px; }
.wpcf7 input[type="submit"] { background: var(--wp--preset--color--accent-1); color: var(--wp--preset--color--contrast); border: 0; border-radius: 6px; padding: 0.9rem 1.8rem; font-weight: 700; cursor: pointer; }
.wpcf7 input[type="submit"]:hover { filter: brightness(0.95); }
.wpcf7 p { margin-bottom: 1rem; }

/* Header + footer */
.sb-header { border-bottom: 4px solid var(--wp--preset--color--accent-1); }
.sb-header .wp-block-site-logo img { max-height: 64px; width: auto; }
.sb-footer a { text-decoration: none; }
.sb-footer a:hover { text-decoration: underline; }