/*
Theme Name: Bloom
Theme URI: https://trustdialersms.localhost
Description: TrustDialerSms child theme for WPressOne, using the TrustDialer visual system.
Author: TrustDialerSms
Template: wpressone
Version: 1.0.0
Text Domain: bloom
*/

/* ---------------------------------------------------------------------------
 * Design tokens. Site-specific values live here; WPressOne's --wp1-* and
 * --wpo-* tokens remain available and take precedence for shared surfaces.
 * ------------------------------------------------------------------------- */
:root {
  --bloom-bg: #f7f3eb;
  --bloom-bg-soft: #f0e7ec;
  --bloom-cream: #ffffff;
  --bloom-ink: #302731;
  --bloom-ink-soft: #6c616c;
  --bloom-accent: #77475b;
  --bloom-green: var(--bloom-accent);
  --bloom-green-deep: #593344;
  --bloom-coral: #a34358;
  --bloom-sage: #d6bac7;
  --bloom-line: rgba(48, 39, 49, 0.16);
  --bloom-radius: 9px;
  --bloom-serif: var(--bloom-sans);
  --bloom-sans: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --bloom-section-pad: clamp(64px, 7vw, 112px);
}

body.bloom-page {
  background: var(--bloom-bg);
  color: var(--bloom-ink);
  font-family: var(--bloom-sans);
  line-height: 1.65;
}

body.bloom-page :where(h1, h2, h3, p, li, a) {
  overflow-wrap: break-word;
}

body.bloom-page :where(a, button, input, summary):focus-visible {
  outline: 3px solid var(--bloom-green);
  outline-offset: 5px;
}

body.bloom-page [id] {
  scroll-margin-top: 28px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------------------------------------------------------------------------
 * WPressOne wraps regular pages in a fixed-width container. Bloom's WPO rows
 * provide their own reading widths and full-bleed section backgrounds.
 * ------------------------------------------------------------------------- */
body.bloom-page .wpo-content.wpo-container {
  width: 100%;
  max-width: none;
  padding: 0 !important;
}

.bloom-page-top-target {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.bloom-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
