/*
Theme Name: CleverWP
Template: generatepress
Description: Child theme of GeneratePress for CleverWP — automation & development positioning
Version: 2.2
*/

/* Brand colours as CSS variables for use anywhere */
:root {
  --cw-ink: #151a23;
  --cw-slate: #4a5568;
  --cw-teal: #0f8b8d;
  --cw-paper: #f7f6f3;
  --cw-white: #ffffff;
}

/* Prevent horizontal overflow on mobile — safety net */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/*
 * Neutralise GeneratePress's "wide content bleed" CSS
 * (.entry-content .alignwide gets a negative margin-left + oversized
 * width, meant for headings that sit directly in GP's own content
 * column). All our alignwide headings/paragraphs are nested inside
 * our own manually-padded alignfull wrapper divs instead, so GP's
 * bleed maths fights our padding and produces a small (~5px) offset.
 * We control full/wide width ourselves, so switch this off.
 */
.entry-content .alignwide {
  margin-left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

a { color: var(--cw-teal); }
a:hover { opacity: 0.8; }

.wp-block-button__link {
  border-radius: 4px;
  font-weight: 600;
}
