/*
 * CIRRIUS Pages Stylesheet (cb-pages.css)
 * ---------------------------------------------------------------
 * Shared landing/industry/platform page design system (cb-* classes).
 * Extracted 2026-08-12 from the WordPress Customizer "Additional CSS"
 * (wp-custom-css) block as part of CBR-162 (centralize industry-page CSS).
 *
 * Scope: hero, sections, CTAs, split layouts, fit columns, partner cards,
 * industry finder, platform/industry card grids. Sitewide chrome CSS
 * (menus, promo bar, footer, blog styling) intentionally stays in the
 * Customizer for now.
 *
 * Loaded conditionally via cb_enqueue_pages_stylesheet() in the
 * quantum-child theme. Once verified on staging and production, the
 * duplicated rules must be REMOVED from the Customizer Additional CSS
 * (they load sitewide today) — do not leave both active long-term.
 */
/* ---------------------------------------------------------
   Tokens / base
   --------------------------------------------------------- */
.e-con.e-flex>.e-con-inner {
	padding-top: 1.5rem;
}
.cb-platform-page {
  --cb-orange: #f37021;
  --cb-cyan: #00bce4;
  --cb-ink: rgba(0,0,0,.88);
  --cb-muted: rgba(0,0,0,.62);
  --cb-line: rgba(0,0,0,.10);
  --cb-soft: rgba(0,0,0,.06);
  color: var(--cb-ink);
  /* Layout */
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px;
}
/* ---------------------------------------------------------
   Typography (scoped - no global damage)
   --------------------------------------------------------- */
.cb-platform-page p {
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 12px;
}
.cb-platform-page p.cb-subhead {
	margin-bottom: 1rem
}
@media (min-width: 768px) {
  .cb-platform-page p {
		font-size: 17px; }
	.cb-platform-page p.cb-subhead {
	  margin-bottom: 1.5rem
  }
}
p.cb-subhead {
	margin-bottom: 1.5rem
}
.cb-platform-page h1,
.cb-platform-page h2,
.cb-platform-page h3 { 
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -moz-hyphens: none !important;
  -ms-hyphens: none !important;
}
.cb-platform-page h1 {
  letter-spacing: -0.02em;
  line-height: 1.12 !important;
  margin: 0 0 1.5rem;
  font-size: clamp(34px, 3.1vw, 48px);
}
.cb-platform-page h2 {
  letter-spacing: -0.015em;
  line-height: 1.18 !important;
  font-size: clamp(22px, 2.0vw, 30px);
  margin: 0 0 12px !important;
}
.cb-platform-page h3 {
  letter-spacing: -0.01em;
  line-height: 1.25 !important;
  font-size: 18px;
  margin: 16px 0 8px !important;
}
.cb-platform-page .cb-muted {
  opacity: 1;
  color: var(--cb-muted);
	font-size: .75rem;
  text-transform: uppercase;
  font-weight: 600;
}
/* ---------------------------------------------------------
   Links / CTA
   --------------------------------------------------------- */
.cb-platform-page a.cb-cta-link {
  font-weight: 800;
  color: var(--cb-orange);
  text-decoration: none;
  border-bottom: 3px solid rgba(243,112,33,.35);
}
.cb-platform-page a.cb-cta-link:hover {
  color: rgba(0,188,228,.95);
  border-bottom-color: rgba(0,188,228,.65);
}
.cb-platform-page .cb-cta {
  margin: 0 0 1rem;
}
.cb-platform-page .cb-cta-note {
  display: inline-block;
  margin-left: 8px !important;
  opacity: .85;
  font-size: 14px;
}
.cb-platform-page .cb-cta {
  margin: 0 0 1rem;
}
@media (min-width: 768px) {
	.cb-platform-page .cb-cta {
    margin: 0 0 1.5rem;
  }
}
/* ---------------------------------------------------------
   Eyebrow label
   --------------------------------------------------------- */
.cb-hero-eb-position {
    position: absolute;
    top: 2rem;
    left: 2rem;
		z-index: 3;
}
.cb-platform-page .cb-eyebrow {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--cb-line);
  background: rgba(0,0,0,0.10);
  opacity: 1;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 10px !important;
  box-shadow: 0 8px 18px rgba(243,112,33,.12);
}
/* ---------------------------------------------------------
   Divider
   --------------------------------------------------------- */
.cb-platform-page .cb-divider{
  margin: 0 0 1.5rem !important;
  opacity: 1;
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,0,0,.12), transparent);
}
/* ---------------------------------------------------------
   Media baseline (picture/img)
   --------------------------------------------------------- */
.cb-platform-page picture,
.cb-platform-page img {
  max-width: 100%;
}
.cb-platform-page .cb-media {
  display: block;
  width: 100%;
  height: auto;
}
/* Shared “media card” treatment */
.cb-platform-page .cb-media--hero,
.cb-platform-page .cb-media--split {
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
}
/* ---------------------------------------------------------
   HERO (image background + overlay content)
   Required markup pieces:
   - .cb-hero-media wrapper around the picture/img
   - .cb-hero-content overlay container
   --------------------------------------------------------- */
.cb-platform-page .cb-platform-hero{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 0 !important;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 16px 40px rgba(0,0,0,.05);
}
/* Creates a stable 16:9 slot while the image loads */
.cb-platform-page .cb-hero-media{
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(900px 260px at 20% 0%, rgba(0,188,228,.12), transparent 60%),
    radial-gradient(900px 320px at 90% 10%, rgba(243,112,33,.14), transparent 55%),
    rgba(0,0,0,.02);
}
.cb-platform-page .cb-hero-media::before{
  content: "";
  display: block;
  padding-top: 56.25%;
}
/* Hero image covers the slot */
.cb-platform-page .cb-media--hero{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Readability overlay */
.cb-platform-page .cb-hero-media::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(255,255,255,.58), rgba(255,255,255,.52) 40%, rgba(255,255,255,.56));
  pointer-events: none;
}
/* Overlay content */
.cb-platform-page .cb-hero-content{
  max-width: 760px;
  width: 100%;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 18px 14px;
}
@media (min-width: 768px){
  .cb-platform-page .cb-hero-content{
    padding: 26px 26px 18px;
    margin-left: 4rem;
  }
}
.cb-platform-page .cb-subhead 
  max-width: 72ch;
  margin: 0 0 10px;
  color: var(--cb-muted);
  font-size: 18px;
  line-height: 1.75;
}
/* Optional hero caption line under media (if used) */
.cb-platform-page .cb-hero-caption,
.cb-platform-page figcaption{
  margin-top: 10px;
  font-size: 13px;
  color: rgba(0,0,0,.55);
}
/* ---------------------------------------------------------
   Section cards (light “homepage-ish” rhythm)
   --------------------------------------------------------- */
.cb-platform-page .cb-section{
  margin-top: 18px;
  padding: 16px 18px 12px !important;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 30px rgba(0,0,0,.035);
}
/* subtle alternation */
.cb-platform-page .cb-section:nth-of-type(even){
  background: rgba(0,0,0,.012);
}
/* h2 accent underline */
.cb-platform-page .cb-section h2{
  position: relative;
  padding-bottom: 8px;
}
.cb-platform-page .cb-section h2::after{
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  margin-top: 10px;
  background: linear-gradient(to right, var(--cb-orange), var(--cb-cyan));
  opacity: .85;
}
/* h3 bullet label */
.cb-platform-page .cb-section h3{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cb-platform-page .cb-section h3::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0,188,228,.75);
  box-shadow: 0 8px 18px rgba(0,188,228,.18);
}
/* Lists: “designed” bullets */
.cb-platform-page ul{
  padding-left: 0 !important;
  margin: 0 0 1rem 1rem !important;
  list-style: none;
}
.cb-platform-page li{
  position: relative;
  padding-left: 18px;
  margin: 0 0 8px !important;
  line-height: 1.6;
}
.cb-platform-page li strong{
  color: rgba(0,0,0,.88);
}
.cb-platform-page li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(243,112,33,.75);
  box-shadow: 0 6px 14px rgba(243,112,33,.16);
}
/* Ordered lists keep numbers */
.cb-platform-page ol{
  margin: 0 0 12px 18px;
}
.cb-platform-page ol li{
  padding-left: 0;
}
.cb-platform-page ol li::before{
  content: none;
}
/* ---------------------------------------------------------
   Split sections (stacked mobile, side-by-side desktop)
   Requires .cb-split-inner wrapper in markup
   --------------------------------------------------------- */
.cb-platform-page .cb-split .cb-split-inner{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
@media (min-width: 768px){
  .cb-platform-page .cb-split .cb-split-inner{
    grid-template-columns: 1.05fr .95fr;
    gap: 22px;
    align-items: center;
  }
  .cb-platform-page .cb-split-img-text .cb-split-inner{
    grid-template-columns: .95fr 1.05fr;
  }
}
.cb-platform-page .cb-split-media{
  margin: 0;
}
/* ---------------------------------------------------------
   Two-column layouts (Fit + Partner)
   --------------------------------------------------------- */
.cb-platform-page .cb-columns,
.cb-platform-page .cb-partner-cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px){
  .cb-platform-page .cb-columns,
  .cb-platform-page .cb-partner-cards{
    grid-template-columns: 1fr 1fr;
  margin-bottom: 1.5rem;
  }
}
/* Fit cards */
.cb-platform-page .cb-columns .cb-col{
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px;
  padding: 14px 14px 8px !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.05);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.cb-platform-page .cb-columns .cb-col:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(0,0,0,.07);
  border-color: rgba(0,188,228,.25);
}
/* ---------------------------------------------------------
   Partner / Affiliate block
   --------------------------------------------------------- */
.cb-platform-page .cb-partner-cards{
  margin-top: 10px !important;
  gap: 14px !important;
  align-items: stretch;
}
.cb-platform-page .cb-partner-card{
  height: 100%;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 14px !important;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.cb-platform-page .cb-partner-card::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(to right, var(--cb-orange), var(--cb-cyan));
}
.cb-platform-page .cb-partner-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(0,0,0,.085);
  border-color: rgba(243,112,33,.22);
}
.cb-platform-page .cb-partner-actions{
  margin-top: 10px !important;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cb-platform-page .cb-partner-note{
  margin-top: 14px;
  border-left: 4px solid rgba(0,188,228,.55);
  padding-left: 12px;
  color: rgba(0,0,0,.62);
}
/* Buttons */
.cb-platform-page .cb-btn{
  display: inline-block;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.1;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.12);
  transition: transform .08s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}
/* Primary */
.cb-platform-page .cb-btn.cb-cta-link{
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--cb-orange), #ff8a3a);
  color: #fff;
  border-color: rgba(0,0,0,.08);
  box-shadow: 0 10px 20px rgba(243,112,33,.25);
  text-decoration: none;
  overflow: hidden;
  transition: transform .12s ease, box-shadow .12s ease;
  z-index: 0; /* create stacking context */
}
/* overlay UNDER text */
.cb-platform-page .cb-btn.cb-cta-link::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .15s ease;
  pointer-events: none;
  z-index: -1; /* key: behind button content */
}
/* ensure button content is above overlay */
.cb-platform-page .cb-btn.cb-cta-link > *{
  position: relative;
  z-index: 1;
}
.cb-platform-page .cb-btn.cb-cta-link:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(243,112,33,.35);
  color: #fff;
}
.cb-platform-page .cb-btn.cb-cta-link:hover::after{
  background: rgba(0,0,0,0.22);
}
/* Secondary */
p.cb-cta.seondary-lnk {
    margin-bottom: 1.5rem !important;
}
.cb-platform-page .cb-btn.cb-btn-secondary{
  background: #fff;
  border-color: rgba(0,0,0,.14);
  color: rgba(0,0,0,.82);
  opacity: .98;
}
.cb-platform-page .cb-btn.cb-btn-secondary:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0,0,0,.08);
}
/* Fine print */
.cb-platform-page .cb-fineprint{
  font-size: 13px;
  margin-top: 10px;
  color: rgba(0,0,0,.55);
  line-height: 1.55;
}
/* ---------------------------------------------------------
   Jobber Partner Badge (card-level trust signal)
   --------------------------------------------------------- */
.cb-platform-page .cb-partner-card--jobber {
  position: relative;
  overflow: hidden;
}
.cb-platform-page .cb-partner-card--jobber::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 120px;
  height: 120px;
  background-image: url("/wp-content/uploads/2026/01/jobber-partner-120.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom right;
  opacity: 0.9;
  pointer-events: none;
}
.cb-platform-page .cb-partner-card--jobber p,
.cb-platform-page .cb-partner-card--jobber .cb-partner-actions {
    padding-right: 160px;
}
/* Retina / large screens */
@media (min-width: 768px) {
  .cb-platform-page .cb-partner-card--jobber::after {
    width: 140px;
    height: 140px;
    background-image: url("/wp-content/uploads/2026/01/jobber-partner-240.png");
  }
}
/* Final section: stronger close */
.cb-platform-page .cb-final{
  background:
    radial-gradient(900px 260px at 20% 0%, rgba(0,188,228,.10), transparent 60%),
    radial-gradient(900px 320px at 90% 10%, rgba(243,112,33,.12), transparent 55%),
    rgba(0,0,0,.012);
  border-color: rgba(0,0,0,.07);
	margin-bottom: 1.5rem;
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .cb-platform-page *{
    transition: none !important;
  }
}
/* =========================
   HERO: responsive behavior
   ========================= */
/* Ensure hero media establishes height */
.cb-platform-page .cb-hero-media{
  position: relative;
}
/* Use the image’s intrinsic ratio (preferred) but keep a fallback */
.cb-platform-page .cb-hero-media::before{
  content:"";
  display:block;
  padding-top:56.25%; /* 16:9 fallback */
}
/* Cover the hero media area */
.cb-platform-page .cb-media--hero {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
/* Overlay content defaults (desktop/tablet) */
.cb-platform-page .cb-platform-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
	margin-top: 0;
	margin-bottom: 1.5rem 
}
.cb-platform-page .cb-hero-content{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 22px 18px;
  max-width: 720px; /* keeps copy from stretching too far */
}
/* Stronger readability overlay */
.cb-platform-page .cb-platform-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to right,
    rgba(255,255,255,.92) 0%,
    rgba(255,255,255,.88) 45%,
    rgba(255,255,255,.45) 70%,
    rgba(255,255,255,0) 100%);
  pointer-events:none;
}
/* Make sure content is above overlay */
.cb-platform-page .cb-hero-content {
  position: absolute;
  z-index: 2;
}
/* Mobile: stop overlaying (fixes squish/overlap issues) */
@media (max-width: 767px){
  .cb-platform-page .cb-platform-hero::after{
    background: rgba(255,255,255,.0);
  }
  .cb-platform-page .cb-hero-content{
    position: relative;
    inset: auto;
    padding: 16px 16px 14px;
    max-width: none;
  }
  .cb-platform-page .cb-hero-eb-position{
    position: absolute;
    top: 10px;
    left: 10px;
  }
  /* Let the image show first, content stacks below */
  .cb-platform-page .cb-hero-media::before{
    padding-top: 62%; /* a bit taller on mobile so it feels less cramped */
  }
}
/* =========================
   CTA: button + secondary link
   ========================= */
.cb-platform-page .cb-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-bottom: 1.5rem;
}
.cb-platform-page .cb-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.1;
  border: 1px solid rgba(0,0,0,.10);
}
.cb-platform-page .cb-btn-primary{
  background: var(--cb-orange);
  color: #fff;
  box-shadow: 0 10px 22px rgba(243,112,33,.25);
  border-color: rgba(0,0,0,.06);
}
.cb-platform-page .cb-btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(243,112,33,.32);
}
.cb-platform-page .cb-cta-secondary{
  font-weight: 700;
  color: rgba(0,0,0,.80);
  text-decoration: none;
  border-bottom: 2px solid rgba(0,0,0,.18);
}
.cb-platform-page .cb-cta-secondary:hover{
  border-bottom-color: rgba(0,188,228,.65);
}
/*************************
 * 
 * Hide global preheader
 * 
 * **********************/
body.header_style_header-custom-64300 .cb-preheader-bar {
	display: none;
}
/* =========================================================
   Industries Index — Hero w/ Typeahead (scoped + additive)
   Uses existing cb-platform-hero markup for the hero shell.
   Drop your industry finder block INSIDE .cb-hero-content.
   ========================================================= */
.page_content_wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.cb-industries-page .cb-platform-hero{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0,0,0,.10);
}
/* make sure media fills and stays behind */
.cb-industries-page .cb-platform-hero .cb-hero-media{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cb-industries-page .cb-platform-hero .cb-media--hero{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* subtle wash so text stays readable on any image */
.cb-industries-page .cb-platform-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.92) 0%,
      rgba(255,255,255,.84) 44%,
      rgba(255,255,255,.18) 78%,
      rgba(255,255,255,0) 100%);
  pointer-events:none;
}
/* eyebrow */
.cb-industries-page .cb-platform-hero .cb-hero-eb-position{
  position: relative;
  z-index: 3;
  padding: 18px 18px 0 18px;
}
.cb-industries-page .cb-platform-hero .cb-eyebrow{
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(0,0,0,.08);
  font-size: 13px;
  line-height: 1;
}
/* hero content layout */
.cb-industries-page .cb-platform-hero .cb-hero-content{
  position: relative;
  z-index: 2;
  padding: clamp(28px, 4vw, 56px) 18px 28px 18px;
  max-width: 680px;
}
@media (min-width: 1024px){
  .cb-industries-page .cb-platform-hero .cb-hero-content{
    padding-left: 56px;
    padding-top: 56px;
    padding-bottom: 56px;
  }
}
.cb-platform-page .cb-section.cb-industry-finder {
    margin-bottom: 1rem;
    padding: 1rem !important;
    border-radius: 16px;
    background: transparent !important;
    border: 1px solid rgba(0, 0, 0, 0);
    box-shadow: none;
}
/* hero headings/subhead */
.cb-industries-page .cb-platform-hero h1{
  margin: 0 0 12px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-size: clamp(34px, 3.1vw, 54px);
}
.cb-industries-page .cb-platform-hero .cb-subhead{
  margin: 0 0 18px;
  color: rgba(0,0,0,.72);
  font-size: 18px;
  line-height: 1.6;
  max-width: 54ch;
}
/* CTA stack (your existing classes) */
.cb-industries-page p.cb-cta.primary-btn{ margin: 0 0 1rem !important; }
.cb-industries-page p.cb-cta.seondary-lnk{ margin: 0 0 18px !important; }
.cb-industries-page .cb-cta-secondary{
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 4px;
}
/* caption */
.cb-industries-page .cb-platform-hero .cb-hero-caption{
  margin: 14px 0 0;
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
}
/* =========================================================
   Industry Finder block ========================================================= */
.cb-industries-page .cb-industry-finder {
  margin-top: 14px;
  padding: 0;
  background: transparent;
  border: 0;
}
.cb-industries-page .cb-industry-finder h2 {
  font-size: 16px;
  margin: 0 0 8px;
  color: rgba(0,0,0,.78);
  letter-spacing: .01em;
}
.cb-industries-page .cb-industry-finder .cb-muted {
  margin: 0 0 12px;
  color: rgba(0,0,0,.58);
  font-size: 14px;
}
/* typeahead container */
.cb-industries-page .cb-typeahead {
  position: relative;
  max-width: 560px;
}
/* input (hero-friendly) */
.cb-typeahead-input {
  width: 100% !important;
  padding: 1rem !important;
  border-radius: 14px !important;
  border: 1px solid rgba(0,0,0,.32) !important;
  background: rgba(255,255,255,.92) !important;
  font-size: 1rem !important;
}
/* focus */
.cb-industries-page .cb-typeahead-input:focus {
  outline: none;
  border-color: rgba(0,188,228,.55);
  box-shadow: 0 0 0 4px rgba(0,188,228,.14), 0 12px 28px rgba(0,0,0,.10);
}
/* dropdown */
.cb-industries-page .cb-typeahead-results {
  display: none;
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  box-shadow: 0 22px 54px rgba(0,0,0,.14);
  overflow: hidden;
}
.cb-industries-page .cb-typeahead-results.is-open {
    display: block;
}
/* item */
.cb-industries-page .cb-typeahead-item {
  display: block;
  width: 100%;
  padding: 1rem;
  cursor: pointer;
  text-decoration: none;
  color: rgba(0,0,0,.86);
  font-weight: 700;
}
.cb-industries-page .cb-typeahead-item small{
  display: block;
  margin-top: 2px;
  font-weight: 500;
  color: rgba(0,0,0,.58);
}
.cb-industries-page .cb-typeahead-item:hover,
.cb-industries-page .cb-typeahead-item:focus{
  background: rgba(0,0,0,.03);
  outline: none;
}
/* =========================================================
   Industries Index — 3-up card grid
   (scoped, additive, won’t touch other pages)
========================================================= */
.cb-industries-page .cb-industries-grid .cb-card-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}
@media (min-width: 640px){
  .cb-industries-page .cb-industries-grid .cb-card-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px){
  .cb-industries-page .cb-industries-grid .cb-card-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* Card base */
.cb-industries-page .cb-industry-card{
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cb-industries-page .cb-industry-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,.10);
}
/* Image area: consistent height */
.cb-industries-page .cb-industry-card__media{
  width: 100%;
  aspect-ratio: 16 / 10; /* tweak if you want taller cards */
  background: rgba(0,0,0,.04);
}
.cb-industries-page .cb-industry-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Body */
.cb-industries-page .cb-industry-card__body{
  padding: 14px 16px 16px;
}
.cb-industries-page .cb-industry-card__body h3{
  margin: 0 0 6px;
}
.cb-industries-page .cb-industry-card__cta{
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  color: var(--cb-orange);
}
/* =========================================
   Platform card logo: sprite fade (B/W -> Color)
   Uses a single image that contains:
   - top half: B/W
   - bottom half: color
   Image size: 216x180 (so each half is 216x90)
========================================= */
.cb-logo-sprite{
  /* control display size here */
  --logo-w: 132px;         /* tweak to fit your card */
  --logo-h: 55px;          /* visible height (one half) */
  width: var(--logo-w);
  height: var(--logo-h);
  position: relative;
  display: inline-block;
  /* B/W base layer = show TOP half */
  background-repeat: no-repeat;
  background-image: var(--logo-src);
  background-size: 100% 200%;     /* important: two halves stacked */
  background-position: center top;
  /* optional */
  border-radius: 10px;
}
/* Color overlay layer = show BOTTOM half, fade in */
.cb-logo-sprite::after{
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-image: var(--logo-src);
  background-size: 100% 200%;
  background-position: center bottom;
  opacity: 0;
  transition: opacity 160ms ease;
  pointer-events: none;
  border-radius: inherit;
}
/* Hover (apply hover to the card if you want) */
.cb-platform-card:hover .cb-logo-sprite::after,
.cb-logo-sprite:hover::after{
  opacity: 1;
}
/* Optional: if you want a subtle “disabled” look in BW state */
.cb-logo-sprite{
  opacity: .92;
}
.cb-platform-card:hover .cb-logo-sprite{
  opacity: 1;
}
/* =========================================
   Per-logo source mapping
   (Update the URLs to your uploads path)
========================================= */
.cb-logo--ringcentral{ --logo-src: url("/wp-content/uploads/2026/01/ringcentral_hover.png"); }
.cb-logo--gmb{        --logo-src: url("/wp-content/uploads/2026/02/google-my-business_hover.png"); }
.cb-logo--quickbooks{ --logo-src: url("/wp-content/uploads/2026/01/quickbooks_hover.png"); }
.cb-logo--quo { --logo-src: url("/wp-content/uploads/2026/04/quo-hover.png"); }
.cb-logo--jobber{     --logo-src: url("/wp-content/uploads/2026/01/jobber_hover.png"); }
.cb-logo--leadtruffle{     --logo-src: url("/wp-content/uploads/2026/06/leadtruffle-logo-hover.png"); }
.cb-logo--stripe{     --logo-src: url("/wp-content/uploads/2026/01/stripe_hover.png"); }
.cb-logo--wordpress{  --logo-src: url("/wp-content/uploads/2026/01/wordpress_hover.png"); }
.cb-logo--housecall-pro{  --logo-src: url("/wp-content/uploads/2026/02/housecall-pro_hover.png"); }
.cb-platform-card__logo{
  margin-bottom: 14px;
}
.cb-platform-card__body{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* =========================================================
   Platforms index: force 3-up grid like Industries
   Scoped: .cb-platforms-page
========================================================= */
.cb-platforms-page .cb-card-grid.cb-card-grid--3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
/* Responsive */
@media (max-width: 1024px){
  .cb-platforms-page .cb-card-grid.cb-card-grid--3{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px){
  .cb-platforms-page .cb-card-grid.cb-card-grid--3{
    grid-template-columns: 1fr;
  }
}
/* Make sure the anchor behaves like a card */
.cb-platforms-page a.cb-platform-card{
  display: block;
  height: 100%;
  text-decoration: none;
}
/* If your card styles live on .cb-card, mirror them here */
.cb-platforms-page .cb-platform-card{
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cb-platforms-page .cb-platform-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
}
/* Card inner spacing */
.cb-platforms-page .cb-platform-card__body{
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* Logo sizing so it doesn’t collapse the layout */
.cb-platforms-page .cb-platform-card__logo{
  width: 216px;
  height: 90px; /* show top half by default via bg-position */
  margin-bottom: 6px;
}
/* PLATFORM FIX SECTION — remove decorative h3 dot */
.cb-platform-page .cb-fix h3::before {
  content: none !important;
}
