/*
Theme Name: Cedarhill
Theme URI: https://cedarhill.example/
Description: Minimal block theme for service business sites.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.9
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: cedarhill
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, threaded-comments, translation-ready, wide-blocks, block-styles
*/

:root {
	--cd-bg: #ffffff;
	--cd-fg: #14201a;
}

html { -webkit-text-size-adjust: 100%; }
body { background: var(--cd-bg); color: var(--cd-fg); margin: 0; line-height: 1.6; }
* { box-sizing: border-box; }
img, svg, video, iframe { max-width: 100%; height: auto; }
a { color: inherit; }

/* page-title (post-title block on /about/ /contact/ /reviews/) — must be visually bigger than block H2s */
.wp-block-post-title {
  font-family: var(--wp--preset--font-family--heading, Poppins, system-ui, sans-serif);
  font-size: clamp(2.4rem, 1.6rem + 2vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 2.5rem 0 1.5rem;
  text-align: center;
  color: var(--wp--preset--color--text, #14201A);
}

/* kill default Gutenberg block-gap between top-level sections — no white stripes */
body main.wp-block-group,
body main.wp-block-group > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.wp-site-blocks > * + *,
.wp-block-template-part + .wp-block-template-part,
main + * { margin-block-start: 0 !important; }
.wp-block-template-part { margin: 0 !important; padding: 0 !important; }

/* wpautop вставляет <br> внутрь shortcode-вывода между PHP-echo и whitespace —
   ломает flex-layout кнопок (двойная высота, текст и icon на разных строках).
   Гасим <br> внутри inline-flex CTA-обёрток. */
.grxp-hr__cta > br, .grxp-hr__call > br, .grxp-hr__btns > br,
.grxp-h__cta > br, .grxp-h__phone > br, .grxp-h__nav > br,
.grxp-pr__cta > br, .grxp-pr__price > br,
.grxp-sv__card > br, .grxp-ct__row > br,
.grxp-h__strip-i > br {
  display: none;
}
