/* Custom Spec-Site Showcase styles for capecodvegan.com */
/* palette: #0d9488 #115e59 */
:root {
  --primary-color: #0a6e66;
  --primary-rgb: 10, 110, 102;
  --secondary-color: #115e59;
  --secondary-rgb: 17, 94, 89;
  /* Contrast-safe derivatives (WCAG 1.4.3): accent usable on dark chrome,
     and the text color to pair with primary-colored fills. */
  --primary-on-dark: #14dfcd;
  --on-primary: #ffffff;
  --on-secondary: #ffffff;
  --contrast-color: #ffffff;
  /* Gradient used AS text (background-clip: text): stops are the page-
     adjusted accents, readable on the theme's own surfaces — never the
     raw fill palette, which on dark themes can vanish into the page. */
  --accent-gradient-text: linear-gradient(135deg, #0a6e66 0%, #115e59 100%);

  --primary: #0b8177;
  --secondary: #115e59;
  --bg-card: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-color: #cbd5e1;
}

/* Prevent sideways scroll on mobile caused by off-canvas AOS animation
   transforms and Bootstrap gutter overflow */
html, body {
  overflow-x: hidden;
}

/* Push header and mobile menu down when alert banner is active.
   --bwg-banner-h is set from the banner's real height by a script in
   lead-cta.html, so a wrapped multi-line banner never overlaps the header. */
body.has-alert-banner {
  margin-top: var(--bwg-banner-h, 46px) !important;
}
body.has-alert-banner .header {
  top: var(--bwg-banner-h, 46px) !important;
}
@media (max-width: 1199px) {
  body.has-alert-banner .navmenu {
    top: calc(100% + var(--bwg-banner-h, 46px)) !important;
  }
}

/* Inner pages start below the fixed header without waiting for JS (CLS).
   --bwg-header-h is set per theme in main.css; the banner script's overlap
   check remains as a corrective fallback only. */
body.has-alert-banner .page-title {
  padding-top: calc(var(--bwg-header-h, 90px) + 24px);
}
