/*
Theme Name: CRM News Today v3.1
Theme URI: https://crmnewstoday.com
Description: Editorial sage-and-peach design for CRM News Today — inspired by CRMVAULT. No rounded corners, no italics, Outfit font, compact outer with roomy inner spacing.
Version: 3.1.0
Author: CRM News Today
Author URI: https://crmnewstoday.com
Text Domain: crm-news-today
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ==========================================================
   RESET & VARIABLES
   ========================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #2b2b28;
  --sage: #a8c5a0;
  --sage-deep: #7aaa70;
  --sage-light: #c8dfc2;
  --sage-bg: #d5e8d0;
  --white: #ffffff;
  --charcoal: #3a3a36;
  --grey: #908e88;
  --grey-l: #d6d3cc;
  --peach: #e8a87c;
  --peach-light: #f5dcc8;
  --off-white: #f6f4ef;
  --hero-h: 52vh;
  --cta-h: 48px;
  --header-h: 52px;
  --wrap-max: 1280px;
  --pad: 28px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--off-white);
  color: var(--black);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--sage); color: var(--charcoal); }

a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; border-radius: 0; -webkit-appearance: none; }
img { display: block; max-width: 100%; }

/* Kill all italics globally */
em, i { font-style: normal; }

/* Accent highlights */
.hl { color: var(--sage); font-weight: 900; }
.hero-h1 .hl { color: var(--sage-light); }
.section-h2 .hl,
.intro-h2 .hl { color: var(--sage-deep); }

.container { max-width: var(--wrap-max); margin: 0 auto; padding: 0 var(--pad); }
.site-wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
}

/* Screen reader text */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: var(--off-white); clip: auto !important; clip-path: none;
  display: block; font-size: 14px; font-weight: 700; height: auto;
  left: 5px; line-height: normal; padding: 12px 16px;
  top: 5px; width: auto; z-index: 100000;
}

/* =========================
   HERO — fixed behind scroll layer
   ========================= */
.hero {
  position: relative;
  background: var(--sage-bg);
  color: var(--black);
  overflow: hidden;
}

/* Background symbols — very faint, visible on all screens */
.hero-bg-symbols {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-sym {
  position: absolute;
  opacity: 0.18;
}

.hero-sym--1 { width: 120px; top: 8%; right: 5%; }
.hero-sym--2 { width: 50px; top: 60%; left: 8%; }
.hero-sym--3 { width: 70px; bottom: 12%; right: 18%; }
.hero-sym--4 { width: 30px; top: 25%; left: 30%; }
.hero-sym--5 { width: 100px; bottom: 5%; left: 50%; }
.hero-sym--6 { width: 55px; top: 15%; right: 35%; }

.hero-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 48px var(--pad) 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-left { position: relative; z-index: 2; }

.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--sage-deep);
  margin-bottom: 16px;
  border-left: 3px solid var(--sage-deep);
  padding-left: 10px;
}

.hero-h1 {
  font-size: clamp(34px, 5.5vw, 66px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--charcoal);
}

.hero-h1 .hl { color: var(--sage-deep); }
.hero-h1-small {
  display: block;
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0;
  opacity: 0.7;
  margin-top: 4px;
}

.hero-right {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-right-text {
  text-align: right;
  position: relative;
  z-index: 2;
}

.hero-stat-num {
  display: block;
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  color: var(--charcoal);
}

.hero-stat-label {
  font-size: 12px;
  color: #4a4a44;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* Hero shapes (legacy — removed, using .hero-bg-symbols now) */

/* Hero bottom strip */
.hero-bottom-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 36px;
  background: rgba(58,58,54,0.08);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 var(--pad);
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(58,58,54,0.08);
}

.strip-item {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a4a44;
}

.strip-sep { font-size: 5px; color: var(--sage-deep); }

/* Hero CTA button */
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s;
  font-family: inherit;
}

.hero-cta-btn:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-cta-btn .hero-cta-arrow {
  font-size: 16px;
  transition: transform 0.3s;
}

.hero-cta-btn:hover .hero-cta-arrow {
  transform: translateX(4px);
}

/* =========================
   SCROLL LAYER
   ========================= */
.scroll-layer {
  position: relative;
  z-index: 10;
  background: var(--off-white);
}

.main-content {
  background: var(--off-white);
}

#site-main {
  padding-left: 28px;
  padding-right: 28px;
}
@media (max-width: 768px) { #site-main { padding-left: 16px; padding-right: 16px; } }

/* =========================
   CTA BAR
   ========================= */
.cta-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--cta-h);
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cta-bar-copy {
  flex: 0 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem clamp(0.5rem, 2vw, 1rem);
}

.cta-bar-text {
  margin: 0;
  font-size: clamp(0.65rem, 1.15vw + 0.5rem, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.cta-bar-btn {
  flex: 0 0 auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: var(--cta-h);
  padding: 0 clamp(1rem, 3vw, 1.65rem);
  border: none;
  border-left: 1px solid rgba(255,255,255,0.95);
  border-right: 1px solid rgba(255,255,255,0.95);
  border-radius: 0;
  background: var(--sage-deep);
  color: #fff;
  font-family: inherit;
  font-size: clamp(0.65rem, 1vw + 0.5rem, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.cta-bar-btn:hover {
  background: #5d9455;
}

/* =========================
   BOTTOM CTA FORM
   ========================= */
.bottom-cta {
  background: var(--charcoal);
  color: var(--white);
  padding: 56px 40px;
  margin-top: 36px;
}
.bottom-cta-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
}
.bottom-cta-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.bottom-cta-copy {
  padding-top: 8px;
}
.bottom-cta-heading {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--white);
  line-height: 1.15;
}
.bottom-cta-sub {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}
.bottom-cta-services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bottom-cta-services li {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.bottom-cta-services li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}
.bottom-cta-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 28px;
}
.bottom-cta-card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--white);
}
.bottom-cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bottom-cta-input {
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bottom-cta-input::placeholder { color: rgba(255,255,255,0.4); }
.bottom-cta-input:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(168,197,160,0.25);
}
.bottom-cta-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
}
.bottom-cta-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--sage);
  cursor: pointer;
  flex-shrink: 0;
  -webkit-appearance: auto;
  appearance: auto;
  background: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 3px;
}
.bottom-cta-social[hidden] {
  display: none !important;
}
.bottom-cta-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bottom-cta-social select {
  -webkit-appearance: none;
  appearance: none;
}
.bottom-cta-turnstile {
  margin-top: 4px;
}
.bottom-cta-hp { position: absolute; left: -9999px; }
.bottom-cta-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  margin-top: 4px;
  background: var(--sage-deep);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.bottom-cta-submit:hover { background: #5d9455; transform: translateY(-1px); }
.bottom-cta-privacy {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-top: 10px;
}
.bottom-cta-success {
  text-align: center;
  padding: 24px 0;
}
.bottom-cta-success p {
  font-size: 16px;
  font-weight: 600;
  color: var(--sage-light);
}
.bottom-cta-loading[hidden] {
  display: none !important;
}
.bottom-cta-loading {
  text-align: center;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.bottom-cta-loading::after {
  content: 'Submitting your details…';
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  animation: bottomCtaPulse 1.5s ease-in-out infinite;
}
@keyframes bottomCtaPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.bottom-cta-loading .cta-lead-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--sage-light);
  border-radius: 50%;
  animation: bottomCtaSpin 0.8s linear infinite;
}
@keyframes bottomCtaSpin {
  to { transform: rotate(360deg); }
}

/* =========================
   FLOATING EXPERT BUTTON
   ========================= */
.floating-expert-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  background: var(--sage-deep);
  color: var(--white);
  border-radius: 24px 0 0 24px;
  padding: 14px 14px 14px 18px;
  text-decoration: none;
  box-shadow: -2px 2px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s, opacity 0.3s, padding 0.3s;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.floating-expert-btn.is-hidden {
  transform: translateY(-50%) translateX(100%);
  opacity: 0;
  pointer-events: none;
}
.floating-expert-btn__text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.floating-expert-btn:hover {
  padding-right: 20px;
  background: #5d9455;
}
@media (max-width: 768px) {
  .floating-expert-btn {
    padding: 10px 10px 10px 14px;
  }
  .floating-expert-btn__text {
    font-size: 10px;
  }
}
@media (max-width: 768px) {
  .bottom-cta { padding: 36px 20px; }
  .bottom-cta-layout { grid-template-columns: 1fr; gap: 28px; }
  .bottom-cta-card { padding: 22px; }
}

/* =========================
   HEADER
   ========================= */
.site-header {
  position: sticky;
  top: var(--cta-h);
  z-index: 99;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--grey-l);
}

body.ctn-head-lead-active .site-header {
  top: calc(var(--ctn-head-lead-h, 52px) + var(--cta-h));
}

body.ctn-head-lead-active .cta-bar {
  top: var(--ctn-head-lead-h, 52px);
}

.header-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
}

.site-title--logo { gap: 0; }

.site-logo { display: flex; align-items: center; }

.site-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.site-title-word {
  display: inline;
}

.site-title-word + .site-title-word::before {
  content: ' ';
}

/* Logo mark fallback (SVG) */
.logo-mark { flex-shrink: 0; }

.header-nav {
  display: flex;
  align-items: center;
}

.header-link {
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  transition: color 0.2s;
}

.header-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 2px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}

.header-link:hover::after { transform: scaleX(1); }

.header-time {
  font-size: 11px;
  color: #666660;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* =========================
   HAMBURGER MENU TOGGLE
   ========================= */
.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 6px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle__icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.menu-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  transition: transform 0.3s, opacity 0.3s;
}

/* =========================
   OVERLAY MENU
   ========================= */
.site-menu-overlay[hidden] {
  display: none !important;
}

.site-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.site-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.site-menu-overlay__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 400px;
  background: var(--charcoal);
  color: var(--white);
  padding: 48px var(--pad);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}

.site-menu-overlay.is-open .site-menu-overlay__panel {
  transform: translateX(0);
}

.site-menu-overlay__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
}

.site-menu-overlay__close-line {
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--white);
}

.site-menu-overlay__close-line--a { transform: rotate(45deg); }
.site-menu-overlay__close-line--b { transform: rotate(-45deg); }

.overlay-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.overlay-menu__list li { border-bottom: 1px solid rgba(255,255,255,0.08); }

.overlay-menu__list a {
  display: block;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.overlay-menu__list a:hover { color: var(--sage); }

/* Sub-menus */
.overlay-menu__list .sub-menu {
  list-style: none;
  padding: 0 0 0 16px;
}

.overlay-menu__list .sub-menu a {
  font-size: 12px;
  font-weight: 500;
  padding: 10px 0;
}

body.menu-overlay-open { overflow: hidden; }

/* =========================
   MARQUEE
   ========================= */
.marquee {
  background: #e6f2e2;
  padding: 8px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--sage);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-size: clamp(18px, 2.5vw, 32px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  padding: 0 20px;
}

.mq-dot { font-size: 14px !important; display: inline-flex; align-items: center; }

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}

/* =========================
   LABELS & SECTION HEADS
   ========================= */
.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #666660;
  margin-bottom: 12px;
  border-left: 3px solid var(--sage);
  padding-left: 10px;
}

.section-head { margin-bottom: 32px; }

.section-h2 {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.home-section-heading {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  border-left: 3px solid var(--sage);
  padding-left: 12px;
}

/* =========================
   INTRO STATEMENT
   ========================= */
.intro {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--grey-l);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.intro-h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.intro-p {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: 16px;
}

.text-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 2px solid var(--sage);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.text-link:hover { color: #c47d4f; }

/* =========================
   HERO BAND (inner pages)
   ========================= */
.hero-band {
  background: var(--sage-bg);
  color: var(--black);
  padding: 48px 0 40px;
  border-bottom: 3px solid var(--sage);
}

.hero-band-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.hero-kicker {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--charcoal);
}

.hero-kicker .hl { color: var(--sage-deep); }

.hero-lead {
  font-size: 15px;
  color: #4a4a44;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 640px;
}

.hero-band--crm-single,
.hero-band--post-single {
  padding: 56px 0 48px;
}

.hero-band-inner--crm-single,
.hero-band-inner--post-single {
  max-width: 860px;
}

.crm-entity-h1 {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--charcoal);
}

.post-hero-title {
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.post-hero-title__first { color: var(--sage-deep); }
.post-hero-title__rest { color: var(--charcoal); }

.hero-lead--crm-single { max-width: 720px; }

.crm-single-meta {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.crm-single-chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid rgba(58,58,54,0.2);
  color: var(--sage-deep);
}

.crm-single-chip--muted { color: #4a4a44; }

/* =========================
   NEWS GRID
   ========================= */
/* Front page hidden H1 for SEO */
.front-page-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.home-news-block { padding: 36px 0 24px; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.news-card {
  padding: 28px 24px;
  border: 1px solid var(--grey-l);
  background: var(--white);
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), #c5c2bb);
}

.news-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); transform: translateY(-2px); }

.news-source {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 10px;
}

.news-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.news-title a {
  color: inherit;
  transition: color 0.2s;
}

.news-title a:hover { color: var(--sage-deep); }

.news-excerpt {
  font-size: 13px;
  color: #555550;
  line-height: 1.7;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.news-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 2px solid var(--sage);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.news-link:hover { color: var(--sage-deep); }

/* =========================
   NUMBERS BAND
   ========================= */
.numbers-band {
  background: var(--sage-bg);
  padding: 40px 0;
  border-top: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
}

.numbers-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.number-block { text-align: center; flex: 1; }

.nb-num {
  display: inline;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.nb-plus {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 300;
  color: var(--sage-deep);
}

.nb-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a4a44;
  margin-top: 6px;
}

.number-sep {
  width: 1px;
  height: 48px;
  background: rgba(58,58,54,0.12);
}

/* =========================
   ARTICLES GRID (tiles)
   ========================= */
.home-articles-block { padding: 36px 0; }

.home-articles-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.home-articles-head .home-section-heading { margin-bottom: 0; }

.home-articles-read-all {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 2px solid var(--sage);
  padding-bottom: 2px;
  transition: color 0.2s;
  white-space: nowrap;
}

.home-articles-read-all:hover { color: var(--sage-deep); }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--grey-l);
}

.article-tile {
  padding: 24px 20px;
  border: 1px solid var(--grey-l);
  margin: -1px;
  border-radius: 8px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.article-tile:hover { transform: translateY(-2px); box-shadow: 0 2px 8px rgba(0,0,0,0.04); }

/* 1 — soft sage green bg */
.article-tile--tone-1 { background: #e4f0e0; }
.article-tile--tone-1:hover { background: #d9e8d4; }

/* 2 — warm cream */
.article-tile--tone-2 { background: #f2ede4; }
.article-tile--tone-2:hover { background: #ece7de; }

/* 3 — off-white bg, dark green title */
.article-tile--tone-3 { background: #f7f6f3; }
.article-tile--tone-3:hover { background: #f0efec; }
.article-tile--tone-3 .article-tile-title { color: #3a6b32; }

/* 4 — pale stone */
.article-tile--tone-4 { background: #e8e4dd; }
.article-tile--tone-4:hover { background: #e0dcd5; }

/* 5 — muted sage, slightly deeper */
.article-tile--tone-5 { background: #d5e3cf; }
.article-tile--tone-5:hover { background: #cddcc7; }

/* 6 — soft olive tint */
.article-tile--tone-6 { background: #e0e6d5; }
.article-tile--tone-6:hover { background: #d8dece; }

/* 7 — light grey bg, dark green title */
.article-tile--tone-7 { background: #eaeae7; }
.article-tile--tone-7:hover { background: #e2e2df; }
.article-tile--tone-7 .article-tile-title { color: #3a6b32; }

/* 8 — light peach-sand (gentle, no red) */
.article-tile--tone-8 { background: #f0e8de; }
.article-tile--tone-8:hover { background: #e9e1d7; }

/* 9 — white with sage left border */
.article-tile--tone-9 { background: var(--white); border-left: 3px solid var(--sage); }
.article-tile--tone-9:hover { background: #f7f7f4; }

.article-tile-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.article-tile-title a { color: inherit; transition: color 0.2s; }
.article-tile-title a:hover { color: var(--sage-deep); }

.article-tile-summary {
  font-size: 13px;
  color: #4a4a44;
  line-height: 1.65;
}

/* =========================
   CRM DIRECTORY (bubbles)
   ========================= */
.crm-directory {
  padding: 36px 0;
  border-top: 1px solid var(--grey-l);
}

.crm-directory h2 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  border-left: 3px solid var(--sage);
  padding-left: 12px;
}

.crm-directory-note {
  font-size: 13px;
  color: #555550;
  margin-bottom: 16px;
  padding-left: 15px;
}

.crm-directory-empty {
  font-size: 14px;
  color: #555550;
  padding-left: 15px;
}

.crm-directory-empty--link a {
  color: var(--sage-deep);
  font-weight: 600;
  border-bottom: 1px solid var(--sage);
}

.crm-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0;
}

.crm-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 18px;
  border: 1px solid transparent;
  border-radius: 20px;
  color: var(--charcoal);
  transition: all 0.2s;
  cursor: pointer;
}

/* Cycle pastel bubble colors via nth-child */
.crm-tag:nth-child(5n+1) { background: #dff0da; }
.crm-tag:nth-child(5n+2) { background: var(--peach-light); }
.crm-tag:nth-child(5n+3) { background: #e8e5de; }
.crm-tag:nth-child(5n+4) { background: #d5e8d0; }
.crm-tag:nth-child(5n+5) { background: #f0ede6; }

.crm-tag:hover {
  background: var(--sage);
  color: var(--white);
  transform: translateY(-1px);
}

.crm-toggle { margin-top: 12px; }

.crm-toggle summary.see-all-btn {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-deep);
  cursor: pointer;
  padding: 6px 0;
  list-style: none;
}

.crm-toggle summary.see-all-btn::-webkit-details-marker { display: none; }

.crm-toggle[open] { display: flex; flex-direction: column-reverse; }

.all-crms-wrap { margin-top: 8px; }

/* =========================
   PAGINATION
   ========================= */
.pagination {
  padding: 24px 0;
  display: flex;
  justify-content: center;
}

.pagination .page-numbers {
  list-style: none;
  display: flex;
  gap: 0;
  padding: 0;
  margin: 0;
}

.pagination .page-numbers li {
  display: inline;
}

.pagination .page-numbers a,
.pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid var(--grey-l);
  margin: 0 -1px;
  background: var(--off-white);
  color: var(--black);
  transition: background 0.2s, color 0.2s;
}

.pagination .page-numbers a:hover {
  background: var(--sage);
  color: var(--charcoal);
  border-color: var(--sage);
}

.pagination .page-numbers .current {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

/* =========================
   TICKER BAND
   ========================= */
.home-ticker-band {
  margin: 0 0 8px;
  border-bottom: 1px solid var(--grey-l);
}

.home-ticker-band__meta {
  font-size: 11px;
  color: #555550;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 0 0;
}

.home-ticker-band__keywords { font-weight: 700; color: var(--sage-deep); }

.home-ticker-band__viewport {
  min-height: 46px;
  overflow: hidden;
}

/* =========================
   TESTIMONIAL BAND
   ========================= */
.testimonial-band {
  padding: 48px 0;
  background: var(--sage-bg);
  border-top: 1px solid var(--grey-l);
  border-bottom: 1px solid var(--grey-l);
}

.testimonial-inner {
  max-width: 760px;
  position: relative;
}

.tq {
  position: absolute;
  top: -8px; left: -8px;
  width: 36px;
  opacity: 0.25;
}

.tq-text {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 20px;
  padding-left: 36px;
}

.tq-author {
  font-size: 12px;
  color: rgba(0,0,0,0.55);
  padding-left: 36px;
}

.tq-author strong { color: var(--black); font-weight: 700; }

/* =========================
   CONTACT FORM
   ========================= */
.contact-section { padding: 56px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-p {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.7;
  margin-top: 12px;
  margin-bottom: 24px;
}

.ci-row {
  display: flex;
  gap: 20px;
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-l);
}

.ci-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666660;
  min-width: 72px;
}

.ci-val { font-size: 13px; font-weight: 500; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--grey-l);
  padding: 36px;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cf-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555550;
}

.cf-field input,
.cf-field select,
.cf-field textarea {
  padding: 11px 14px;
  border: 1px solid var(--grey-l);
  background: var(--off-white);
  color: var(--black);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 2px var(--sage);
}

.cf-field textarea { resize: vertical; }

.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--charcoal);
  color: var(--white);
  transition: background 0.25s, transform 0.25s;
}

.form-submit:hover { background: #4a4a44; transform: translateY(-2px); }

.fs-arrow { font-size: 16px; transition: transform 0.3s; }
.form-submit:hover .fs-arrow { transform: translateX(4px); }

/* =========================
   FOOTER
   ========================= */
.site-footer {
  padding: 32px 0 0;
  background: #d6d3cc;
  color: var(--charcoal);
  border-top: 1px solid #c5c2bb;
}

.footer-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.footer-top--compact {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--grey-l);
}

.footer-brand--inline {
  flex: 1 1 0;
  min-width: 0;
}
.footer-brand--inline .site-title {
  display: inline-flex;
  margin-bottom: 6px;
}
.footer-brand p { font-size: 12px; color: #4a4a44; line-height: 1.5; max-width: 320px; }

.footer-menus {
  flex: 1 1 0;
  display: flex;
  gap: 40px;
  justify-content: space-evenly;
}
@media (max-width: 600px) {
  .footer-top--compact { flex-direction: column; gap: 24px; align-items: center; text-align: center; }
  .footer-brand p { max-width: none; }
  .footer-brand--inline .site-title { justify-content: center; }
  .footer-menus { justify-content: center; gap: 48px; width: 100%; }
  .footer-col { text-align: center; }
  .footer-bar { flex-direction: column; gap: 8px; text-align: center; }
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4a4a44;
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: #555550;
  padding: 3px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--sage-deep); }

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.footer-bar > div:first-child { font-size: 12px; color: #4a4a44; }

.compliance-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.compliance-links a {
  font-size: 12px;
  color: #555550;
  transition: color 0.2s;
}

.compliance-links a:hover { color: var(--sage-deep); }

.footer-socials { display: flex; gap: 14px; }
.footer-socials a { color: #555550; transition: color 0.2s; }
.footer-socials a:hover { color: var(--sage-deep); }

/* =========================
   PAGE CONTENT (generic)
   ========================= */
.page-content {
  padding: 36px 0 56px;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  word-break: break-word;
}

.page-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--charcoal);
  max-width: 800px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.page-body h1, .page-body h2, .page-body h3, .page-body h4, .page-body h5, .page-body h6 {
  color: var(--black);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 1.5em 0 0.5em;
  line-height: 1.2;
}

.page-body h2 { font-size: clamp(22px, 3vw, 32px); }
.page-body h3 { font-size: clamp(18px, 2.5vw, 24px); }

.page-body p { margin-bottom: 1em; }
.page-body ul, .page-body ol { margin: 0.5em 0 1em 1.5em; }
.page-body li { margin-bottom: 0.25em; }
.page-body a { color: var(--sage-deep); border-bottom: 1px solid var(--sage); }
.page-body a:hover { color: var(--charcoal); }
.page-body blockquote {
  border-left: 3px solid var(--sage);
  padding: 12px 20px;
  margin: 1em 0;
  background: var(--sage-bg);
  font-size: 14px;
}
.page-body img { margin: 1.5em 0; max-width: 100%; height: auto; }
.page-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 13px;
  display: block;
  overflow-x: auto;
}
.page-body th, .page-body td {
  padding: 10px 12px;
  border: 1px solid var(--grey-l);
  text-align: left;
}
.page-body th {
  background: var(--charcoal);
  color: var(--white);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================
   CRM ENTITY (single CRM & single post)
   ========================= */
.crm-single-page .page-content { padding-top: 24px; }


.crm-entity-breadcrumb {
  font-size: 12px;
  color: #555550;
  margin-bottom: 28px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.crm-entity-breadcrumb a {
  color: var(--sage-deep);
  font-weight: 600;
}

.crm-entity-breadcrumb a:hover { color: var(--black); }

.crm-bc-sep { color: var(--grey-l); }

.crm-entity-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.crm-toc-shell {
  position: sticky;
  top: calc(var(--cta-h) + var(--header-h) + 16px);
}

.crm-entity-toc {
  border: 1px solid var(--grey-l);
  background: var(--white);
  padding: 20px;
}

.crm-toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #555550;
  margin-bottom: 12px;
}

.crm-toc-scroll { max-height: 60vh; overflow-y: auto; }

.crm-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.crm-toc-list li { margin-bottom: 2px; }

.crm-toc-list a {
  display: block;
  padding: 4px 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--charcoal);
  transition: color 0.2s;
  border-left: 2px solid transparent;
  padding-left: 10px;
}

.crm-toc-list a:hover {
  color: var(--sage-deep);
  border-left-color: var(--sage);
}

.post-toc-level-3 a { padding-left: 22px; font-size: 11px; }
.post-toc-level-4 a { padding-left: 34px; font-size: 11px; opacity: 0.8; }

.crm-entity-main {
  min-width: 0;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

.crm-entity-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--grey-l);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.crm-entity-h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  border-left: 3px solid var(--sage);
  padding-left: 12px;
}

.crm-entity-h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.crm-entity-prose {
  font-size: 15px;
  line-height: 1.8;
  color: var(--charcoal);
  overflow-wrap: anywhere;
  word-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

.crm-entity-prose p { margin-bottom: 0.75em; }
.crm-entity-prose h2, .crm-entity-prose h3, .crm-entity-prose h4 {
  font-weight: 800;
  margin: 1.5em 0 0.5em;
  color: var(--black);
}
.crm-entity-prose ul, .crm-entity-prose ol { margin: 0.5em 0 1em 1.5em; }
.crm-entity-prose li { margin-bottom: 0.25em; }
.crm-entity-prose a { color: var(--sage-deep); border-bottom: 1px solid var(--sage); }
.crm-entity-prose a:hover { color: var(--charcoal); }
.crm-entity-prose blockquote {
  border-left: 3px solid var(--sage);
  padding: 12px 20px;
  background: var(--sage-bg);
  margin: 1em 0;
}

.crm-entity-prose img { max-width: 100%; height: auto; }
.crm-entity-prose table { display: block; overflow-x: auto; max-width: 100%; }
.crm-entity-prose pre { overflow-x: auto; max-width: 100%; }
.crm-entity-prose iframe { max-width: 100%; }

.crm-entity-dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 16px;
  font-size: 13px;
  margin-bottom: 16px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--grey-l);
  max-width: 100%;
}

.crm-entity-dl dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555550;
  padding: 4px 0;
}

.crm-entity-dl dd {
  font-weight: 500;
  padding: 4px 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .crm-entity-dl {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
  .crm-entity-dl dt { margin-top: 8px; }
  .crm-entity-dl dt:first-child { margin-top: 0; }
}

.crm-entity-note {
  font-size: 11px;
  color: #666660;
  margin-top: 8px;
}

.crm-entity-muted {
  font-size: 13px;
  color: #666660;
}

.crm-entity-muted a {
  color: var(--sage-deep);
  font-weight: 600;
}

.crm-feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}

.crm-feature-list li {
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid var(--grey-l);
  padding-left: 14px;
  position: relative;
}

.crm-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--sage);
}

.crm-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.crm-pros-col { border-left: 3px solid var(--sage); padding-left: 16px; }
.crm-cons-col { border-left: 3px solid var(--peach); padding-left: 16px; }

.crm-alt-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.crm-alt-list li a {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border: 1.5px solid var(--grey-l);
  transition: all 0.2s;
}

.crm-alt-list li a:hover {
  background: var(--sage);
  border-color: var(--sage);
}

.crm-explore-more { margin-top: 32px; }

/* Post single */
.post-single-featured {
  margin-bottom: 24px;
  border: 1px solid var(--grey-l);
}

.post-single-featured img { width: 100%; display: block; }

.post-single-body .crm-entity-prose { font-size: 15px; }

/* =========================
   CRM HUB (archive)
   ========================= */
.crm-hub-intro {
  margin-bottom: 20px;
}

.crm-hub-back {
  font-size: 12px;
  font-weight: 700;
  color: var(--sage-deep);
  letter-spacing: 0.04em;
}

.crm-hub-back:hover { color: var(--black); }

.crm-hub-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--grey-l);
}

.crm-hub-card {
  border: 1px solid var(--grey-l);
  margin: -1px;
  background: var(--off-white);
  transition: background 0.3s;
}

.crm-hub-card:hover { background: var(--white); }

.crm-hub-card-link {
  display: block;
  padding: 24px 20px;
}

.crm-hub-card-title {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
}

.crm-hub-card-excerpt {
  display: block;
  font-size: 13px;
  color: #555550;
  line-height: 1.65;
}

.crm-empty-msg {
  font-size: 13px;
  color: #666660;
  line-height: 1.6;
}

/* =========================
   GLOSSARY PAGE
   ========================= */
.glossary-page-inner { padding-top: 24px; }

.glossary-alpha-nav { margin-bottom: 24px; }

.glossary-alpha-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
}

.glossary-alpha-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid var(--grey-l);
  border-radius: 50%;
  background: var(--white);
  transition: all 0.2s;
}

.glossary-alpha-pill:hover,
.glossary-alpha-pill--h0:hover { background: var(--sage); border-color: var(--sage); }
.glossary-alpha-pill--h1:hover { background: var(--peach-light); border-color: var(--peach-light); }
.glossary-alpha-pill--h2:hover { background: var(--sage-bg); border-color: var(--sage-bg); }
.glossary-alpha-pill--h3:hover { background: #f0ede6; border-color: #f0ede6; }
.glossary-alpha-pill--h4:hover { background: var(--white); border-color: #666660; }

.glossary-letter-section { margin-bottom: 24px; }

.glossary-letter-heading {
  font-size: 28px;
  font-weight: 900;
  color: var(--sage-deep);
  margin-bottom: 8px;
  border-left: 4px solid var(--sage);
  padding-left: 12px;
}

.glossary-bubbles-row { margin-bottom: 12px; }

.glossary-bubble {
  border: none;
  font-family: inherit;
}

.glossary-bubble--h0 { border-color: var(--sage); }
.glossary-bubble--h1 { border-color: var(--peach); }
.glossary-bubble--h2 { border-color: var(--sage-bg); }
.glossary-bubble--h3 { border-color: #d6d3cc; }
.glossary-bubble--h4 { border-color: var(--grey-l); }

/* SEO definitions (visible to crawlers, collapsed for users) */
.glossary-seo-definitions {
  margin-top: 32px;
  border-top: 1px solid var(--grey-l);
  padding-top: 16px;
}

.glossary-seo-definitions__heading {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  border-left: 3px solid var(--sage);
  padding-left: 12px;
}

.glossary-entry {
  padding: 16px 0;
  border-bottom: 1px solid var(--grey-l);
}

.glossary-entry__term {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.glossary-entry__meaning {
  font-size: 14px;
  line-height: 1.7;
  color: var(--charcoal);
}

.glossary-entry__refs {
  margin-top: 8px;
}

.glossary-entry__refs-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555550;
}

.glossary-entry__refs-body {
  font-size: 13px;
  color: #555550;
  line-height: 1.5;
}

/* =========================
   GLOSSARY SHEET (bottom sheet modal)
   ========================= */
.glossary-sheet[hidden] {
  display: none !important;
}

.glossary-sheet {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.glossary-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.glossary-sheet__panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 70vh;
  background: var(--white);
  border-top: 3px solid var(--sage);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.glossary-sheet__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #666660;
  cursor: pointer;
  background: none;
  border: none;
}

.glossary-sheet__close:hover { color: var(--black); }

.glossary-sheet__title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  padding-right: 32px;
}

.glossary-sheet__scroll {
  overflow-y: auto;
  flex: 1;
}

.glossary-sheet__body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--charcoal);
}

.glossary-sheet__refs-heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666660;
  margin: 16px 0 6px;
}

.glossary-sheet__refs {
  font-size: 12px;
  color: #666660;
  line-height: 1.5;
}

/* =========================
   GLOSSARY SEARCH DOCK
   ========================= */
.glossary-search-dock {
  position: sticky;
  bottom: 0;
  z-index: 90;
  background: var(--off-white);
  border-top: 1px solid var(--grey-l);
  padding: 6px 0;
  display: flex;
  justify-content: center;
}

.glossary-search-dock__inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  max-width: 480px;
}

.glossary-search-dock__results {
  max-height: 120px;
  overflow-y: auto;
  padding: 2px 0;
}

.glossary-search-dock__form {
  display: flex;
}

.glossary-search-dock__input {
  width: 100%;
  padding: 5px 14px;
  font-size: 12px;
  background: var(--white);
  border: 1px solid var(--grey-l);
  border-radius: 16px;
  color: var(--charcoal);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.glossary-search-dock__input::placeholder { color: #999; }

.glossary-search-dock__input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 2px rgba(168,197,160,0.25);
}

/* =========================
   ARCHIVE PAGES
   ========================= */
.archive-posts-block { padding: 24px 0; }

.archive-empty {
  font-size: 14px;
  color: #666660;
  padding: 24px 0;
}

.home-empty-news {
  font-size: 14px;
  color: #666660;
  padding: 24px 0;
}

/* =========================
   ANIMATIONS
   ========================= */
.anim-up {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.anim-up.vis { opacity: 1; transform: translateY(0); }

.news-card,
.article-tile,
.crm-hub-card {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.3s;
}

.news-card.vis,
.article-tile.vis,
.crm-hub-card.vis {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   LANDING PAGE (full-width template)
   ========================= */
/* Remove all side padding on landing pages */
.landing-page-content {
  width: 100%;
  padding: 0;
}

#site-main:has(.landing-page-content) {
  padding-left: 0;
  padding-right: 0;
}

.landing-page-body {
  font-size: 15px;
  line-height: 1.7;
}

/* --- Landing hub nav --- */
.lp-hub-nav {
  position: sticky;
  top: calc(var(--cta-h) + var(--header-h));
  z-index: 98;
}

body.ctn-head-lead-active .lp-hub-nav {
  top: calc(var(--ctn-head-lead-h, 52px) + var(--cta-h) + var(--header-h));
}

.lp-hub-strip {
  display: flex;
  gap: 0;
}

/* Each hub cell holds the button + dropdown */
.lp-hub-cell {
  flex: 1;
  position: relative;
  display: flex;
  align-items: stretch;
}

.lp-hub-cell:nth-child(1) { background: #4a8a42; }
.lp-hub-cell:nth-child(2) { background: #3d7536; }
.lp-hub-cell:nth-child(3) { background: #2f612b; }


/* Hub link — thin, low height */
.lp-hub-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  transition: filter 0.2s;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.lp-hub-link:hover { filter: brightness(1.15); color: #fff; }

/* Chevron icon */
.lp-hub-chevron {
  transition: transform .2s;
  opacity: .7;
}
.lp-hub-cell.is-open .lp-hub-chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.lp-hub-drop {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  border-top: 3px solid #4a8a42;
  border-radius: 0 0 8px 8px;
  z-index: 10;
  overflow: hidden;
}

.lp-hub-cell:nth-child(2) .lp-hub-drop { border-top-color: #3d7536; }
.lp-hub-cell:nth-child(3) .lp-hub-drop { border-top-color: #2f612b; }

/* Desktop: show on hover */
.lp-hub-cell:hover .lp-hub-drop { display: flex; }
/* Both: show when toggled open */
.lp-hub-cell.is-open .lp-hub-drop { display: flex; }

/* Parent link in dropdown */
.lp-sub-link--parent {
  font-weight: 700;
  color: var(--sage-deep);
  background: var(--sage-bg);
  font-size: 11px;
  letter-spacing: .03em;
}

.lp-sub-link {
  display: block;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid var(--grey-l);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}

.lp-sub-link:last-child { border-bottom: none; }

.lp-sub-link:hover {
  background: var(--sage-bg);
  color: var(--black);
}

.lp-sub-link.is-active {
  color: var(--sage-deep);
  font-weight: 700;
  border-left: 3px solid var(--sage-deep);
}

/* Mobile — stay inline, no hamburger */
@media (max-width: 768px) {
  .lp-hub-link {
    padding: 6px 10px;
    font-size: 10px;
    letter-spacing: 0.06em;
  }
  .lp-hub-toggle { padding: 0 6px 0 0; }
  .lp-sub-link { padding: 7px 12px; font-size: 10px; }
}

@media (max-width: 420px) {
  .lp-hub-link {
    padding: 6px 6px;
    font-size: 9px;
    letter-spacing: 0.03em;
  }
  .lp-hub-toggle { padding: 0 4px 0 0; }
  .lp-sub-link { padding: 6px 10px; font-size: 9px; }
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .crm-entity-layout { grid-template-columns: 1fr; }
  .crm-toc-shell { position: static; }
  .crm-feature-list { grid-template-columns: 1fr; }
  .crm-pros-cons { grid-template-columns: 1fr; }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: 1fr 1fr;
  }

  .crm-hub-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --pad: 16px;
  }

  .hero-inner { grid-template-columns: 1fr; padding: 28px var(--pad) 24px; }
  .hero-right { display: none; }
  .hero-sym--1 { width: 80px; }
  .hero-sym--3 { width: 50px; }
  .hero-sym--5 { width: 60px; }

  .header-nav { display: none; }
  .menu-toggle { display: flex; }

  .cta-bar-copy { padding: 0.4rem 0.3rem; }
  .cta-bar-btn { padding: 0 0.5rem; font-size: clamp(0.46rem, 1.9vw + 0.26rem, 0.65rem); }

  .news-card { padding: 20px 16px; }
  .articles-grid { grid-template-columns: 1fr 1fr; }

  /* TOC: horizontal pill strip on mobile */
  .crm-toc-shell {
    position: static;
    margin-bottom: 16px;
    max-width: calc(100vw - 32px);
    overflow: hidden;
  }
  .crm-entity-toc {
    padding: 10px 0;
    border-radius: 8px;
  }
  .crm-toc-title { display: none; }
  .crm-toc-scroll {
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .crm-toc-scroll::-webkit-scrollbar { display: none; }
  .crm-toc-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    width: max-content;
  }
  .crm-toc-list li { margin-bottom: 0; flex-shrink: 0; }
  .crm-toc-list a {
    display: block;
    padding: 6px 14px;
    white-space: nowrap;
    border-left: none;
    font-size: 12px;
    border-radius: 14px;
  }
  .crm-toc-list a:hover {
    background: var(--sage-bg);
    border-left-color: transparent;
  }
  .post-toc-level-3 a,
  .post-toc-level-4 a { padding-left: 14px; font-size: 11px; }

  /* Contain content within viewport on mobile */
  .crm-entity-main,
  .crm-entity-prose,
  .crm-entity-section,
  .crm-entity-dl,
  .page-body,
  .post-single-body {
    max-width: calc(100vw - 32px);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .numbers-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .number-sep { display: none; }

  .crm-hub-grid { grid-template-columns: 1fr; }

  .cf-row { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 24px; }

  .footer-bar { flex-direction: column; gap: 8px; text-align: center; }
  .compliance-links { justify-content: center; }

  .intro { padding: 40px 0 36px; }
  .home-news-block { padding: 24px 0 16px; }
  .home-articles-block { padding: 24px 0; }
  .crm-directory { padding: 24px 0; }
  .contact-section { padding: 40px 0; }
  .testimonial-band { padding: 36px 0; }
  .hero-band { padding: 36px 0 28px; }
}

@media (max-width: 420px) {
  .hero-h1 { font-size: 32px; }
}

/* Scrollbar styling */
.news-grid::-webkit-scrollbar,
.articles-grid::-webkit-scrollbar {
  height: 4px;
}

.news-grid::-webkit-scrollbar-track,
.articles-grid::-webkit-scrollbar-track {
  background: var(--grey-l);
}

.news-grid::-webkit-scrollbar-thumb,
.articles-grid::-webkit-scrollbar-thumb {
  background: var(--grey);
}

/* =========================
   THEME LEAD FORM (CTA bar panel)
   ========================= */
.cta-lead-overlay[hidden] { display: none !important; }
.cta-lead-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43,43,40,0.42);
  z-index: 200;
}

.cta-lead-panel[hidden] { display: none !important; }
.cta-lead-panel {
  position: fixed;
  left: 0; right: 0;
  top: 0;
  z-index: 201;
  max-height: 100vh;
  overflow: auto;
  pointer-events: none;
}

.cta-lead-panel.is-open { pointer-events: auto; }

.cta-lead-card {
  pointer-events: auto;
  margin: 0 auto;
  max-width: 440px;
  width: calc(100% - 2rem);
  background: var(--white);
  border: 1px solid var(--grey-l);
  border-top: 3px solid var(--sage);
  border-radius: 0 0 12px 12px;
  transform: translateY(-100%);
  transition: transform 0.38s cubic-bezier(0.22,1,0.36,1);
}

.cta-lead-panel.is-open .cta-lead-card {
  transform: translateY(0);
}

.cta-lead-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--grey-l);
}

.cta-lead-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.cta-lead-close {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1px solid var(--grey-l);
  background: var(--off-white);
  color: var(--charcoal);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s;
  font-family: inherit;
}

.cta-lead-close:hover { background: var(--sage-bg); }

.cta-lead-form {
  padding: 14px 20px 20px;
}

.cta-lead-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.cta-lead-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555550;
}

.cta-lead-label abbr { text-decoration: none; color: var(--peach); }

.cta-lead-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--grey-l);
  border-radius: 6px;
  background: var(--off-white);
  color: var(--black);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cta-lead-input:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 2px var(--sage);
}

.cta-lead-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--charcoal);
  cursor: pointer;
  margin-top: 4px;
}

.cta-lead-check input[type="checkbox"] {
  -webkit-appearance: auto;
  appearance: auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--sage-deep);
  cursor: pointer;
}

.cta-lead-hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.cta-lead-social[hidden] { display: none !important; }

.cta-lead-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}

.cta-lead-turnstile {
  display: flex;
  justify-content: center;
  min-height: 40px;
  margin: 8px 0;
}

.cta-lead-actions { margin-top: 14px; }

.cta-lead-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--sage-deep);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.25s, transform 0.25s;
}

.cta-lead-submit:hover { background: #5d9455; transform: translateY(-2px); }

.cta-lead-submit:disabled { opacity: 0.6; cursor: wait; }

.cta-lead-submit-arrow { font-size: 16px; transition: transform 0.3s; }
.cta-lead-submit:hover .cta-lead-submit-arrow { transform: translateX(4px); }

.cta-lead-success[hidden] { display: none !important; }
.cta-lead-success {
  padding: 20px;
  text-align: center;
}

.cta-lead-success-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--sage-deep);
  font-weight: 600;
  animation: ctaLeadFade 0.45s ease;
}

@keyframes ctaLeadFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.cta-lead-loading[hidden] { display: none !important; }
.cta-lead-loading {
  display: flex;
  justify-content: center;
  padding: 24px;
}

.cta-lead-spinner {
  width: 28px; height: 28px;
  border: 2px solid var(--grey-l);
  border-top-color: var(--sage);
  border-radius: 50%;
  animation: ctaLeadSpin 0.7s linear infinite;
}

@keyframes ctaLeadSpin { to { transform: rotate(360deg); } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .anim-up, .news-card, .article-tile, .crm-hub-card {
    opacity: 1;
    transform: none;
  }
}
