/* herpesbook.com design system — per Claude 9-section spec + family palette (2026-09-26)
   Canvas #F6F6F6 / charcoal body #2E2E2E / sky-blue headlines #2AA8D8 / deep-plum button #5B2A6E
   Serif display, sans body, white space carries the page, plum = only saturated element */

:root {
  --hb-canvas: #F6F6F6;
  --hb-body: #2E2E2E;
  --hb-accent: #2AA8D8;
  --hb-plum: #5B2A6E;
  --hb-plum-dark: #472057;
}

html, body {
  background: var(--hb-canvas) !important;
  color: var(--hb-body) !important;
}

/* TYPE: serif display for headings, clean sans for body */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 19px !important;
  line-height: 1.65 !important;
}
h1, h2, h3, .wp-block-post-title, .wp-block-post-title a {
  font-family: Georgia, "Times New Roman", serif !important;
  color: var(--hb-accent) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(30px, 5vw, 44px) !important; margin: 0 0 0.4em !important; font-weight: 700; }
h2 { font-size: clamp(24px, 4vw, 32px) !important; margin: 1.6em 0 0.5em !important; font-weight: 700; }
h3 { font-size: 21px !important; margin: 1.4em 0 0.4em !important; }

/* LAYOUT: single column, reading width, white space */
.wp-block-post-content, .entry-content, .entry-content > * {
  max-width: 680px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.entry-content, .wp-block-post-content {
  padding: 24px 20px 64px !important;
}
p { margin: 0 0 1.1em !important; }

/* COVER: centered, real size, subtle shadow only */
.wp-block-image img { border-radius: 2px; }
.wp-block-image.aligncenter { margin: 8px auto 40px !important; float: none !important; }
.wp-block-image img {
  box-shadow: 0 10px 30px rgba(46, 46, 46, 0.18) !important;
  max-width: 420px !important;
  height: auto !important;
}

/* QUOTES (endorsements): quiet, serif, plum attribution */
blockquote, .wp-block-quote {
  border: none !important;
  border-left: 3px solid #D8D8D8 !important;
  margin: 2em 0 !important;
  padding: 4px 0 4px 22px !important;
  font-style: normal !important;
  background: transparent !important;
}
blockquote p, .wp-block-quote p { font-size: 17px !important; color: #4A4A4A !important; margin-bottom: 0.4em !important; }
blockquote cite, .wp-block-quote cite {
  font-style: normal !important;
  font-size: 15px !important;
  color: var(--hb-plum) !important;
  font-weight: 600 !important;
}

/* LINKS: quiet, underlined, charcoal -> plum on hover */
a { color: var(--hb-plum) !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--hb-accent) !important; }

/* BUTTONS: deep plum, the ONLY saturated element; large tap targets */
input[type="submit"], .wp-block-button__link, button[type="submit"], .hb-btn {
  background: var(--hb-plum) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 3px !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  padding: 16px 34px !important;
  min-height: 48px !important;
  min-width: 44px !important;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: background 0.15s ease;
}
.wp-block-button__link:hover, input[type="submit"]:hover, button[type="submit"]:hover {
  background: var(--hb-plum-dark) !important;
}

/* FORM FIELDS */
input[type="text"], input[type="email"], input[type="first_name"], input:not([type]), textarea, select {
  font-size: 18px !important;
  padding: 14px 14px !important;
  border: 1px solid #C9C9C9 !important;
  border-radius: 3px !important;
  background: #FFFFFF !important;
  width: 100% !important;
  max-width: 420px !important;
  box-sizing: border-box !important;
  min-height: 48px !important;
}

/* HEADER AREA: no nav menu, no site-title clutter — the page IS the page */
.wp-block-template-part:has(nav), .wp-block-navigation { display: none !important; }
header.wp-block-template-part .wp-block-site-title,
header.wp-block-template-part .wp-block-navigation { display: none !important; }

/* FOOTER: minimal, quiet */
.hb-footer {
  max-width: 680px; margin: 48px auto 0; padding: 28px 20px 40px;
  border-top: 1px solid #E2E2E2; text-align: center; font-size: 15px; color: #6B6B6B;
}
.hb-footer a { color: #6B6B6B !important; }

/* PAGE TITLE hidden (content carries its own H1) */
.wp-block-post-title, .page-title, .entry-title { display: none !important; }

/* Calm pacing: extra air before signup form placeholder + endorsement heading */
.wp-block-paragraph em:only-child { color: #8A8A8A; }

/* Mobile: single column already; tighten sides */
@media (max-width: 600px) {
  body { font-size: 17.5px !important; }
  .entry-content, .wp-block-post-content { padding: 16px 18px 48px !important; }
  .wp-block-image img { max-width: 280px !important; }
}

/* Reduced motion / no neon guarantee: no animations defined anywhere. */