/* Overrides loaded after clearcase.css to ensure LeadsOnline page styles win the cascade.
   Very small, high-specificity rules only. */

/* Skip to main content link (WCAG 2.4.1) */
body.leadsonline .skip-to-content {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 100000;
  padding: 10px 18px;
  background: #07173a;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.15s;
}
body.leadsonline .skip-to-content:focus {
  top: 0;
}

/* Footer logo spacing (moved from inline style) */
body.leadsonline .footer-logo {
  display: block;
  margin-bottom: 18px;
}

/* Leadership bio modal close button */
body.aboutleads .leadership-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 999999;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #fff;
  background-image: none;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  color: #07173a;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Hero video pause/play button (WCAG 2.2.2) */
body.aboutleads .hero-video-pause {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
body.aboutleads .hero-video-pause:hover,
body.aboutleads .hero-video-pause:focus-visible {
  background: rgba(0, 0, 0, 0.8);
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Contact page — standalone heading class, no cascade conflicts */
body.leadsonline h1.contact-pg-title,
body.leadsonline h2.contact-pg-title {
  font-family: 'Barlow', Arial, sans-serif;
  color: #fff;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 16px;
  width: 100%;
}
@media (max-width: 768px) {
  body.leadsonline h1.contact-pg-title,
  body.leadsonline h2.contact-pg-title {
    font-size: 1.8rem;
  }
}
body.leadsonline .clearcase-contact__subheading {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 40px;
}

/* Contact page — solutions line on info card */
body.leadsonline .contact-info-card__solutions {
  font-size: 0.85rem;
  color: #fff;
  margin: 6px 0 16px;
  line-height: 1.4;
}

/* Sticky nav on About page — prevent the scroll-away behaviour */
body.aboutleads .site-header.leads-nav.scrolled {
  transform: none;
  pointer-events: auto;
}


/* Placeholder / coming-soon links that have no destination yet (aria-disabled) */
body.leadsonline [aria-disabled="true"] {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* Contact Section - Match footer dark blue gradient (matching CellHawk) */
html body.leadsonline .clearcase-contact {
  background: linear-gradient(135deg, #0a1f44 0%, #0a2a5c 50%, #1a3666 100%);
  background-image: linear-gradient(135deg, #0a1f44 0%, #0a2a5c 50%, #1a3666 100%);
}

/* Contact Section - flex column layout to accommodate heading above grid */
html body.leadsonline .clearcase-contact__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

/* Contact Section Heading - centered */
html body.leadsonline .clearcase-contact__heading {
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  width: 100%;
}

/* Contact Section Heading - smaller on mobile */
@media (max-width: 768px) {
  html body.leadsonline .clearcase-contact__heading {
    font-size: 1.8rem;
    text-align: center;
  }
}

/* Contact Section - wrapper for left/right columns */
html body.leadsonline .clearcase-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
}

/* Contact Section - two column grid for left/right */
html body.leadsonline .clearcase-contact__left,
html body.leadsonline .clearcase-contact__right {
  display: block;
}

@media (max-width: 900px) {
  html body.leadsonline .clearcase-contact__grid {
    grid-template-columns: 1fr;
  }
}

/* Solution Section - Dark Navy Background */
html body.leadsonline .clearcase-solution.leads-soukltion {
  background: #002855;
  background-color: #002855;
  background-image: none;
}

/* Solution Section - Hide orbs and decorative elements */
html body.leadsonline .clearcase-solution.leads-soukltion .leads-soukltion-deco,
html body.leadsonline .clearcase-solution.leads-soukltion .leads-soukltion-overlay,
html body.leadsonline .clearcase-solution.leads-soukltion .solution-particles-canvas,
html body.leadsonline .leads-soukltion-deco,
html body.leadsonline .leads-soukltion-overlay {
  display: none;
  opacity: 0;
  visibility: hidden;
}

html body.leadsonline .clearcase-solution.leads-soukltion::before,
html body.leadsonline .clearcase-solution.leads-soukltion::after {
  display: none;
  content: none;
  background: none;
}

/* Solution Section - Fix truncated background images */
html body.leadsonline .solution-card__bg {
  object-fit: cover;
  object-position: center center;
}

/* Solution cards grow to fit content */
html body.leadsonline .solution-card {
  height: auto;
}

/* Style solution card media images like the top image */
html body.leadsonline .solution-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 16px;
  display: block;
  max-width: none;
}

/* Media & Resources Section - Solid Navy Background (matching CellHawk) */
html body.leadsonline .clearcase-media-resources,
html body.leadsonline .leadsonline-media-resources,
html body.leadsonline .clearcase-media-resources.leadsonline-media-resources {
  position: relative;
  background: #002855;
  background-image: none;
  background-color: #002855;
  min-height: 520px;
  padding-top: 56px;
  padding-bottom: 56px;
  color: #fff;
  overflow: hidden;
}

/* Hide the overlay/orbs */
html body.leadsonline .clearcase-media-resources::before,
html body.leadsonline .clearcase-media-resources::after {
  display: none;
  content: none;
  background: none;
}

/* Headline size override to restore larger H2 */
html body.leadsonline .clearcase-media-resources .benefits-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.02;
  margin: 0 0 18px 0;
}

/* Media & Resources title - smaller and centered on mobile */
@media (max-width: 768px) {
  html body.leadsonline .clearcase-media-resources .benefits-title {
    font-size: 1.8rem;
    text-align: center;
  }
}

/* Ensure cards are above overlays and visible */
html body.leadsonline .clearcase-media-resources > .container { position: relative; z-index: 3; }

/* Glassmorphism benefit cards (matching CellHawk) */
html body.leadsonline .clearcase-media-resources .benefit-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 4;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

html body.leadsonline .clearcase-media-resources .benefit-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
}

html body.leadsonline .clearcase-media-resources .benefit-card p {
  color: rgba(255, 255, 255, 0.9);
}

/* Icon sizing (matching CellHawk) */
html body.leadsonline .clearcase-media-resources .benefit-card__icon,
html body.leadsonline .clearcase-media-resources .benefit-card__icon--paper,
html body.leadsonline .clearcase-media-resources .benefit-card__icon--press,
html body.leadsonline .clearcase-media-resources .benefit-card__icon--watch {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 5;
}

html body.leadsonline .clearcase-media-resources .benefit-card__icon svg {
  width: 36px;
  height: 36px;
  display: block;
  margin: 0 auto;
}

/* Remove scroller mask/fade */
html body.leadsonline .clearcase-media-resources .benefits-scroller-wrap {
  overflow: visible;
  padding-top: 12px;
  margin-top: -12px;
}

html body.leadsonline .clearcase-media-resources .benefits-scroller {
  overflow-x: auto;
  overflow-y: visible;
  padding-top: 12px;
  padding-bottom: 20px;
  margin-top: -12px;
  -webkit-mask-image: none;
  mask-image: none;
}

html body.leadsonline .benefits-scroller-wrap::after { display: none; }

/* =================== FAQ SECTION - Light Blue Background with Black Text (matching CellHawk) =================== */
html body.leadsonline .leadsonline-faq,
html body.leadsonline .clearcase-faq.leadsonline-faq,
html body.leadsonline section.leadsonline-faq,
section.leadsonline-faq.clearcase-faq,
.leadsonline-faq.clearcase-faq {
  background: #F5F9FF;
  background-color: #F5F9FF;
  background-image: none;
}

/* Hide decorative orbs in FAQ */
html body.leadsonline .leadsonline-faq::before,
html body.leadsonline .leadsonline-faq::after,
section.leadsonline-faq.clearcase-faq::before,
section.leadsonline-faq.clearcase-faq::after {
  display: none;
  content: none;
  background: none;
}

/* FAQ title - black text */
html body.leadsonline .leadsonline-faq .clearcase-faq__title,
.leadsonline-faq .clearcase-faq__title,
section.leadsonline-faq .clearcase-faq__title {
  color: #000000;
}

/* FAQ accordion items - light blue background */
html body.leadsonline .leadsonline-faq .faq-item,
html body.leadsonline .leadsonline-faq.clearcase-faq .faq-item,
html body.leadsonline section.leadsonline-faq .faq-item,
html body.leadsonline .clearcase-faq.leadsonline-faq .faq-item {
  background: #F5F9FF;
  background-color: #F5F9FF;
  border: 1px solid rgba(0, 40, 85, 0.2);
  box-shadow: none;
}

/* FAQ item hover state */
html body.leadsonline .clearcase-faq.leadsonline-faq .faq-item:hover,
html body.leadsonline .leadsonline-faq .faq-item:hover {
  background: #e8f1fc;
  background-color: #e8f1fc;
  transform: none;
  box-shadow: none;
}

/* FAQ item open state */
html body.leadsonline .clearcase-faq.leadsonline-faq .faq-item[open],
html body.leadsonline .leadsonline-faq .faq-item[open] {
  background: #F5F9FF;
  background-color: #F5F9FF;
}

/* All text inside FAQ items - black */
.leadsonline-faq .faq-item,
.leadsonline-faq .faq-item *,
.leadsonline-faq .faq-item summary,
.leadsonline-faq .faq-item__q,
.leadsonline-faq .faq-item__a,
.leadsonline-faq .faq-item__a p,
section.leadsonline-faq .faq-item,
section.leadsonline-faq .faq-item * {
  color: #000000;
}

/* Dropdown arrow - black */
.leadsonline-faq .faq-item summary::after,
.leadsonline-faq .faq-item summary::marker,
section.leadsonline-faq .faq-item summary::after,
section.leadsonline-faq .faq-item summary::marker {
  color: #000000;
  border-color: #000000;
}

/* Proof & Validation: white background with black copy */
html body.leadsonline .proof-validation {
  background: #ffffff;
  color: #0b0b0b;
  padding: 64px 0; /* increased vertical padding for taller section */
}

html body.leadsonline .proof-validation__inner,
html body.leadsonline .proof-validation__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px; /* increased gap on mobile/smaller screens */
  align-items: center;
  grid-template-areas: "content" "media";
}

html body.leadsonline .proof-validation__title {
  font-size: 2.125rem; /* larger on mobile/tablet */
  font-weight: 800;
  margin: 0 0 12px 0;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #0b0b0b;
  -webkit-text-fill-color: #0b0b0b; /* ensure webkit-based fills follow */
  text-shadow: none; /* remove any inherited light text-shadow */
}

html body.leadsonline .proof-validation__p,
html body.leadsonline .proof-validation__list {
  color: #111111;
}

html body.leadsonline .proof-validation__media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 8px 30px rgba(2,6,23,0.06);
}

/* Ensure the lead paragraph under the Proof & Validation title is visible
   and not overridden by page-level heading color rules. */
html body.leadsonline .proof-validation__lead {
  color: #0b0b0b;
  -webkit-text-fill-color: #0b0b0b;
  font-size: 1.05rem;
  line-height: 1.45;
  margin-top: 12px;
  margin-bottom: 0;
}

/* Ensure the right column content (header) is visible and centered */
/* Stack the header and lead paragraph vertically in the right column. Previously
   this used a single-line flex which placed the paragraph to the right of the heading. */
html body.leadsonline .proof-validation__col--right,
html body.leadsonline .proof-validation__content {
  display: flex;
  flex-direction: column; /* stack children vertically */
  align-items: flex-start; /* keep left-aligned */
  justify-content: center;
  gap: 12px; /* spacing between title and lead */
  min-height: 160px;
  color: #0b0b0b;
}

html body.leadsonline .proof-validation__title {
  margin: 0;
  max-width: 520px;
}

/* Slightly reduce the paragraph max-width to keep it visually near the title */
html body.leadsonline .proof-validation__lead {
  max-width: 420px;
}

/* Small muted 'trusted by' line below the lead paragraph */
html body.leadsonline .proof-validation__trusted {
  margin: 6px 0 0 0;
  font-size: 0.8125rem; /* ~13px */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11,11,11,0.6); /* muted, but readable */
  font-weight: 700;
}

/* Logos row under the 'trusted by' heading */
html body.leadsonline .proof-validation__trusted-logos {
  display: flex;
  gap: 48px; /* increased by 20px */
  align-items: center;
  margin-top: 18px;
}
html body.leadsonline .proof-validation__trusted-logos img {
  display: block;
  width: 120px; /* larger logo width on desktop */
  height: auto;
  opacity: 0.95;
  filter: grayscale(0.05) contrast(1);
}

@media (max-width: 880px) {
  html body.leadsonline .proof-validation__trusted-logos img { width: 88px; }
  html body.leadsonline .proof-validation__trusted-logos { gap: 38px; }
}

/* Testimonial styling for left column */
html body.leadsonline .proof-validation__testimonial {
  font-style: italic;
  background: transparent;
  border-left: 4px solid rgba(2,6,23,0.06);
  padding: 18px 20px;
  margin: 0;
  color: #111;
}
html body.leadsonline .proof-validation__testimonial footer {
  margin-top: 12px;
  font-weight: 600;
  color: #222;
}

/* Ensure heading and testimonial text inside the white proof-validation section are dark
   (overrides page-scoped heading color rules that set h1-h4 to white). */
html body.leadsonline .proof-validation .testimonial-card-large,
html body.leadsonline .proof-validation .testimonial-card-large h1,
html body.leadsonline .proof-validation .testimonial-card-large h2,
html body.leadsonline .proof-validation .testimonial-card-large h3,
html body.leadsonline .proof-validation .testimonial-card-large h4,
html body.leadsonline .proof-validation .testimonial-card-large p,
html body.leadsonline .proof-validation .testimonial-card-large .author-name,
html body.leadsonline .proof-validation .testimonial-card-large .author-title,
html body.leadsonline .proof-validation .testimonial-card-large .author-stats {
  color: #0b0b0b;
}

@media (min-width: 880px) {
  /* Apply desktop two-column layout to the actual grid wrapper */
  html body.leadsonline .proof-validation__grid {
  grid-template-columns: 520px 1fr; /* left: testimonial, right: content */
  grid-template-areas: "media content";
  align-items: center;
  gap: 84px; /* larger desktop gap for extra breathing room */
  }

  /* Make the section noticeably taller on desktop */
  html body.leadsonline .proof-validation {
    padding: 120px 0; /* larger vertical padding on desktop */
  }

  /* reduce the title size slightly on desktop for balance */
  html body.leadsonline .proof-validation__title { font-size: 2.75rem; line-height: 1.02; }

  /* Remove large translate that pushes the card over the right column */
  html body.leadsonline .proof-validation .testimonial-card-large {
    transform: none;
  }

  /* Add left padding to right column so the heading sits clearly to the right */
  html body.leadsonline .proof-validation__col--right { padding-left: 28px; }
}

/* Assign areas to existing elements (no HTML changes) */
html body.leadsonline .proof-validation__media { grid-area: media; }
html body.leadsonline .proof-validation__col--left { grid-area: media; }
html body.leadsonline .proof-validation__col--right { grid-area: content; }

/* If the global animation script isn't included on this page, ensure the testimonial
   card inside the proof-validation section is visible by default. */
html body.leadsonline .proof-validation .animate-card {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Make testimonial card use the full column width and be responsive */
html body.leadsonline .proof-validation .testimonial-card-large {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 40px 36px; /* keep comfortable padding */
  min-height: auto;
}

/* ------------------------------
   Intro side card sizing tweaks
   Target the intro-side-card inside the intro section added to this page.
   We increase image scale and card size on desktop while keeping a
   sensible mobile size. These are page-scoped overrides only.
   ------------------------------ */

/* ------------------------------
   Intro side card sizing tweaks
   Match CellHawk page styling exactly
   ------------------------------ */
html body.leadsonline .clearcase-intro .intro-side-card--large {
  max-width: 420px;
  width: 100%;
  box-shadow: none;
  border-radius: 10px;
  overflow: hidden;
}

/* Image styling - use base clearcase.css values, no transforms */
html body.leadsonline .clearcase-intro .intro-side-card__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
  border-radius: 10px;
}

/* Desktop specific: grid layout */
@media (min-width: 880px) {
  html body.leadsonline .clearcase-intro .intro-side-card--large { max-width: 420px; }
  html body.leadsonline .clearcase-intro__grid { grid-template-columns: 1fr 420px; gap: 48px; align-items: center; }
  html body.leadsonline .clearcase-intro__col--right .intro-side-card--large { width: 420px; }
}

/* Challenge (image-left) section: larger image to match CellHawk reference */
@media (min-width: 880px) {
  html body.leadsonline .clearcase-intro--image-left .clearcase-intro__grid { grid-template-columns: 580px 1fr; }
  html body.leadsonline .clearcase-intro--image-left .intro-side-card--large { max-width: 580px; width: 580px; }
}

/* Quantum 3D Solution section: larger image */
@media (min-width: 880px) {
  html body.leadsonline .cellhawk-solution-section .clearcase-intro__grid { grid-template-columns: 1fr 580px; }
  html body.leadsonline .cellhawk-solution-section .intro-side-card--large { max-width: 580px; width: 580px; }
}

/* Overview section: larger image */
@media (min-width: 880px) {
  html body.leadsonline .cellhawk-overview-section .clearcase-intro__grid { grid-template-columns: 1fr 580px; }
  html body.leadsonline .cellhawk-overview-section .intro-side-card--large { max-width: 580px; width: 580px; }
}

/* Mobile adjustments */
@media (max-width: 879px) {
  html body.leadsonline .clearcase-intro .intro-side-card--large { max-width: 100%; padding: 0; }
}

/* Mobile hero: Hide secondary buttons, show only Request Demo */
@media (max-width: 768px) {
  .hero-cta-group .btn-secondary {
    display: none;
  }
  
  /* Mobile: Make logo larger */
  .clearcase-hero-logo {
    width: 60%;
    max-width: 400px;
  }
  
  /* Mobile hero: Add left padding to prevent content from being too close to edge */
  .careers-hero-inner.clearcase-hero-inner {
    padding-left: 20px;
  }
}

/* =================== HERO CTA BUTTON GROUP =================== */
/* Button spacing for hero sections with multiple CTAs */
.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-cta-group .btn {
  margin: 0;
}

.hero-cta-group .btn-secondary,
.hero-cta-group .hero-cta-btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.hero-cta-group .btn-secondary:hover,
.hero-cta-group .hero-cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* =================== LEAD WHITE BACKGROUND MODULE =================== */
/* Light background variant for content sections */
html body.leadsonline .clearcase-intro.lead-white-bg,
.clearcase-intro.lead-white-bg {
  background-color: #F5F9FF;
  background: #F5F9FF;
}

html body.leadsonline .clearcase-intro.lead-white-bg .clearcase-intro__h,
html body.leadsonline .clearcase-intro.lead-white-bg .clearcase-intro__p,
.clearcase-intro.lead-white-bg .clearcase-intro__h,
.clearcase-intro.lead-white-bg .clearcase-intro__p {
  color: #1a1a2e;
}

/* Adjust the underline/accent color for light background */
html body.leadsonline .clearcase-intro.lead-white-bg .clearcase-intro__col--left::after,
.clearcase-intro.lead-white-bg .clearcase-intro__col--left::after {
  background: #005587;
}

/* =================== CELLHAWK FAQ STYLES (CMS MODULES) =================== */
/* White background FAQ section with black text - matches CellHawk exactly */
section.cellhawk-faq.clearcase-faq,
.cellhawk-faq.clearcase-faq {
  background: #ffffff;
  background-color: #ffffff;
}

section.cellhawk-faq.clearcase-faq::before,
section.cellhawk-faq.clearcase-faq::after,
.cellhawk-faq.clearcase-faq::before,
.cellhawk-faq.clearcase-faq::after {
  display: none;
  content: none;
  background: none;
}

/* FAQ title - black text */
.cellhawk-faq .clearcase-faq__title,
section.cellhawk-faq .clearcase-faq__title {
  color: #000000;
}

/* FAQ accordion items - white background with black border */
html body.leadsonline .cellhawk-faq .faq-item,
html body.leadsonline .cellhawk-faq.clearcase-faq .faq-item,
html body.leadsonline section.cellhawk-faq .faq-item,
html body.leadsonline .clearcase-faq.cellhawk-faq .faq-item,
html body.leadsonline .clearcase-faq .faq-item {
  background: #ffffff;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  box-shadow: none;
}

/* FAQ item hover state */
html body.leadsonline .clearcase-faq.cellhawk-faq .faq-item:hover,
html body.leadsonline .cellhawk-faq .faq-item:hover {
  background: #f8f8f8;
  background-color: #f8f8f8;
  transform: none;
  box-shadow: none;
}

/* FAQ item open state */
html body.leadsonline .clearcase-faq.cellhawk-faq .faq-item[open],
html body.leadsonline .cellhawk-faq .faq-item[open] {
  background: #ffffff;
  background-color: #ffffff;
}

/* All text inside FAQ items - black */
.cellhawk-faq .faq-item,
.cellhawk-faq .faq-item *,
.cellhawk-faq .faq-item summary,
.cellhawk-faq .faq-item__q,
.cellhawk-faq .faq-item__a,
.cellhawk-faq .faq-item__a p,
section.cellhawk-faq .faq-item,
section.cellhawk-faq .faq-item * {
  color: #000000;
}

/* Dropdown caret/chevron - black */
.cellhawk-faq .faq-item summary::after,
section.cellhawk-faq .faq-item summary::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23d1d5db' d='M7 10l5 5 5-5z'/></svg>");
}

.cellhawk-faq .clearcase-faq__inner,
html body.leadsonline .clearcase-faq.cellhawk-faq .clearcase-faq__inner {
  position: relative;
  z-index: 1;
}

/* =================== FAQ VISIBILITY FIX =================== */
/* Ensure FAQ section is visible with proper dimensions */
html body.leadsonline .clearcase-faq.cellhawk-faq,
html body.leadsonline section.clearcase-faq.cellhawk-faq,
.clearcase-faq.cellhawk-faq {
  display: block;
  visibility: visible;
  opacity: 1;
  padding: 60px 0;
  min-height: 200px;
  position: relative;
  width: 100%;
  left: auto;
  right: auto;
  margin-left: 0;
  margin-right: 0;
}

html body.leadsonline .clearcase-faq.cellhawk-faq .clearcase-faq__inner,
.clearcase-faq.cellhawk-faq .clearcase-faq__inner {
  display: block;
  visibility: visible;
  opacity: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

html body.leadsonline .clearcase-faq.cellhawk-faq .clearcase-faq__list,
.clearcase-faq.cellhawk-faq .clearcase-faq__list {
  display: grid;
  visibility: visible;
  opacity: 1;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

html body.leadsonline .clearcase-faq.cellhawk-faq .faq-item,
.clearcase-faq.cellhawk-faq .faq-item {
  display: block;
  visibility: visible;
  opacity: 1;
}

/* Force visibility for animation classes */
.fade-in-up,
.stagger-children,
.stagger-children > * {
  opacity: 1;
  transform: none;
  visibility: visible;
}

/* =================== FAQ LEADSONLINE WHITE BACKGROUND =================== */
/* Light blue background variant for FAQ sections */
html body.leadsonline .clearcase-faq.lead-white-bg,
.clearcase-faq.lead-white-bg,
section.clearcase-faq.lead-white-bg {
  background: #F5F9FF;
  background-color: #F5F9FF;
}

/* FAQ items keep white background on light blue section background */
html body.leadsonline .clearcase-faq.lead-white-bg .faq-item,
.clearcase-faq.lead-white-bg .faq-item {
  background: #ffffff;
  background-color: #ffffff;
}

/* FAQ items match background when lead-white-bg is active */
html body.leadsonline .clearcase-faq.lead-white-bg .faq-item,
.clearcase-faq.lead-white-bg .faq-item,
section.clearcase-faq.lead-white-bg .faq-item {
  background: #F5F9FF;
  background-color: #F5F9FF;
}

/* FAQ items hover state on light background */
html body.leadsonline .clearcase-faq.lead-white-bg .faq-item:hover,
.clearcase-faq.lead-white-bg .faq-item:hover {
  background: #e8f0fb;
  background-color: #e8f0fb;
}

/* Mobile menu - ensure proper font and left-justified links with visible carets */
html body.leadsonline .mobile-menu-category__summary,
html body.leadsonline .mobile-menu-column h3,
html body.leadsonline .mobile-menu-column h4,
html body.leadsonline .mobile-menu-column a {
  font-family: 'Barlow', Arial, sans-serif;
  text-align: left;
}

/* Leadership team - stack images vertically on mobile */
@media (max-width: 768px) {
  html body.leadsonline .leadership-team__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
  }
  html body.leadsonline .leadership-team__grid .profile {
    text-align: center;
  }
  html body.leadsonline .leadership-team__grid .profile__img {
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
  }
  /* Show name and title on mobile, keep bio hidden */
  html body.leadsonline .leadership-team__grid .profile__name,
  html body.leadsonline .leadership-team__grid .profile__title {
    display: block;
    color: #fff;
  }
  html body.leadsonline .leadership-team__grid .profile__name {
    font-weight: 700;
    margin-top: 8px;
    font-size: 1rem;
  }
  html body.leadsonline .leadership-team__grid .profile__title {
    font-size: 0.9rem;
    margin-top: 4px;
    color: rgba(255,255,255,0.85);
  }
  html body.leadsonline .leadership-team__grid .profile__bio {
    display: none;
  }
}

/* Scroll to top button - show when visible class is added */
html body.leadsonline #returnToTop.visible {
  opacity: 1;
  visibility: visible;
}


/* =================== NAV ICON BUTTON RESETS =================== */
/* Override global button rule (styles.css) for nav icon buttons converted to <button> elements */
body.leadsonline .nav-search-icon,
body.leadsonline .nav-toggle {
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  border-radius: 0;
  box-shadow: none;
  transition: none;
  color: inherit;
}
body.leadsonline .nav-search-icon {
  background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
body.leadsonline .nav-toggle {
  background: none;
  border: none;
}

/* Toolbox media carousel - 2 cards centered */
.media-carousel.media-carousel--two-up {
  grid-template-columns: repeat(2, 1fr);
  max-width: 940px;
  justify-content: center;
}
@media (max-width: 768px) {
  .media-carousel.media-carousel--two-up {
    grid-template-columns: 1fr;
  }
}

/* =================== LEADS PAGE OVERRIDES =================== */

/* Product nav logo size */
body.leadsonline.leads .leads-product-logo {
  height: 24px;
  width: auto;
}

/* Hidden carousel cards (pagination-controlled) */
.carousel-hidden {
  display: none;
}

/* Flow step scroll animation (moved from leads.html inline style) */
body.leadsonline.leads .features-flow .flow-step {
  opacity: 0;
  transform: translateY(40px);
  animation: none;
}
body.leadsonline.leads .features-flow .flow-step.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* LeadSuite hero - darker overlay for readability */
body.leadsonline.leadsuite .careers-hero-overlay::before {
  background: rgba(0, 0, 0, 0.58);
}

/* WCAG AA contrast fix — raise use-case card body text from 70% to 90% white */
body.leadsonline .feature-grid-card__text {
  color: rgba(255, 255, 255, 0.9);
}

/* WCAG AA contrast fix — raise case study card description text opacity */
body.leadsonline .case-study-desc {
  color: rgba(255, 255, 255, 0.9);
}

/* H1 → H2 heading size preservation — these section titles were changed from h1 to h2
   for SEO (single H1 per page). The scoped selectors restore their visual size against
   the .leadsonline h2 { font-size: 1.95rem } base rule in styles.css. */
body.leadsonline h2.case-studies-title {
  font-size: 3.2rem;
}
body.leadsonline h2.testimonials-section-title {
  font-size: 3.2rem;
}

/* =================== CONTACT PAGE FORM STYLES =================== */
/* Moved from inline styles on contact.html */
body.leadsonline .contact-form__title {
  margin-bottom: 24px;
}
body.leadsonline .contact-form .form-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
body.leadsonline .contact-form .form-required {
  color: #c0392b;
}
body.leadsonline .contact-form .form-field.fullwidth {
  margin-top: 12px;
}
body.leadsonline .contact-form .form-row {
  margin-top: 12px;
}
body.leadsonline .contact-form .form-row--checkbox {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
body.leadsonline .contact-form .form-row--checkbox input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #0d7bff;
  cursor: pointer;
}
body.leadsonline .contact-form .form-row--checkbox label {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  cursor: pointer;
}

/* =================== SKIP LINK =================== */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  background: #007aff;
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 6px 6px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* =================== CONTACT PAGE: STATUS BANNER =================== */
#form-status-banner {
  padding: 16px 24px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
}
#form-status-banner.status-success {
  background: #d1fae5;
  color: #065f46;
}
#form-status-banner.status-error {
  background: #fee2e2;
  color: #991b1b;
}

/* =================== CONTACT PAGE: MATERIAL DESIGN FORM FIELDS =================== */
/* html prefix gives specificity 0-3-3, beating body.leadsonline rules at 0-3-2 */
html body.leadsonline .contact-form .material-field {
  position: relative;
  margin-bottom: 20px;
}
html body.leadsonline .contact-form .material-field input,
html body.leadsonline .contact-form .material-field textarea {
  width: 100%;
  border: 1.5px solid #cbd5e0;
  border-radius: 8px;
  background: #fff;
  font-size: 1rem;
  color: #1a1a2e;
  padding: 20px 16px 8px;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  outline: none;
  transform: none;
  transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
html body.leadsonline .contact-form .material-field textarea {
  resize: vertical;
  min-height: 120px;
}
html body.leadsonline .contact-form .material-field input:focus,
html body.leadsonline .contact-form .material-field textarea:focus {
  border-color: #007aff;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
  transform: none;
}
html body.leadsonline .contact-form .material-field input:hover,
html body.leadsonline .contact-form .material-field textarea:hover {
  border-color: #a0aec0;
  transform: none;
}
/* Label: resting state — small, centered vertically inside the field */
html body.leadsonline .contact-form .material-field label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #5f6b7a; /* darkened from #718096 to pass WCAG 4.5:1 contrast on white */
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 0;
  display: inline;
  pointer-events: none;
  background: #fff;
  padding: 0 4px;
  line-height: 1;
  white-space: nowrap;
  z-index: 1;
  transition: top 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
}
html body.leadsonline .contact-form .material-field--textarea label {
  top: 18px;
  transform: none;
  transition: top 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
}
/* Label: floated state — animates to top border, turns blue */
html body.leadsonline .contact-form .material-field input:focus + label,
html body.leadsonline .contact-form .material-field input:not(:placeholder-shown) + label,
html body.leadsonline .contact-form .material-field--textarea textarea:focus + label,
html body.leadsonline .contact-form .material-field--textarea textarea:not(:placeholder-shown) + label,
html body.leadsonline .contact-form .material-field.has-value label {
  top: 0;
  transform: translateY(-50%);
  color: #007aff;
}
html body.leadsonline .contact-form .material-field label[data-required]::after {
  content: " *";
  color: #e53e3e;
}
html body.leadsonline .contact-form .material-field label span,
html body.leadsonline .contact-form .material-field label .form-required {
  font-size: inherit;
}
html body.leadsonline .contact-form .form-grid.two-col {
  gap: 16px;
}
html body.leadsonline .contact-form .contact-form__required-note {
  font-size: 0.75rem;
  color: #5f6b7a;
  margin: -8px 0 16px;
}
html body.leadsonline .contact-form .field-error {
  display: block;
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 4px;
}
html body.leadsonline .contact-form .field-error[hidden] {
  display: none;
}
html body.leadsonline .contact-form .contact-legal-disclaimer {
  font-size: 0.65rem;
  color: #718096;
  line-height: 1.4;
  margin-bottom: 12px;
  display: block;
}
html body.leadsonline .contact-form .contact-legal-disclaimer .legal-link {
  color: #007aff;
  text-decoration: underline;
  font-size: inherit;
  cursor: pointer;
}

/* =================== CONTACT PAGE: CUSTOM DROPDOWN =================== */
/* Trigger: readonly input — inherits all material-field input styles above */
html body.leadsonline .contact-form .custom-select-trigger {
  padding-right: 40px;
  cursor: pointer;
}
html body.leadsonline .contact-form .custom-select-trigger[aria-expanded="true"] {
  border-color: #007aff;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}
html body.leadsonline .contact-form .custom-select-trigger.invalid {
  border-color: #e53e3e;
}
/* Caret arrow — absolutely positioned over the right side of the trigger */
html body.leadsonline .contact-form .custom-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: transform 0.2s;
  z-index: 2;
  width: 12px;
  height: 8px;
  flex-shrink: 0;
}
html body.leadsonline .contact-form .material-field.is-open .custom-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}
/* Dropdown list */
html body.leadsonline .contact-form .custom-select-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid #cbd5e0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 200;
  list-style: none;
  padding: 6px 0;
  margin: 0;
  max-height: 240px;
  overflow-y: auto;
}
html body.leadsonline .contact-form .custom-select-opt {
  padding: 10px 16px;
  font-size: 0.875rem;
  font-family: 'Barlow', sans-serif;
  color: #1a1a2e;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s;
}
html body.leadsonline .contact-form .custom-select-opt:hover,
html body.leadsonline .contact-form .custom-select-opt:focus {
  background: #f0f7ff;
  color: #007aff;
  outline: none;
}
html body.leadsonline .contact-form .custom-select-opt[aria-selected="true"] {
  color: #007aff;
  font-weight: 600;
}
html body.leadsonline .contact-form .custom-select-opt[aria-selected="true"]::after {
  content: "✓";
  font-size: 0.75rem;
  margin-left: 8px;
}

/* ── Learning Page: Training Contact Section ── */

/* Native select styled to match material fields */
html body.leadsonline .learning-select-wrap {
  position: relative;
}

html body.leadsonline .learning-select {
  width: 100%;
  padding: 22px 16px 8px;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  background: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  color: #1a202c;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}

html body.leadsonline .learning-select:focus {
  border-color: #3575e2;
}

html body.leadsonline .learning-select-label {
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 0.7rem;
  color: #718096;
  pointer-events: none;
  font-weight: 500;
  letter-spacing: 0.01em;
}

html body.leadsonline .learning-select-label::after {
  content: " *";
  color: #e53e3e;
}

/* Chevron arrow */
html body.leadsonline .learning-select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #718096;
  pointer-events: none;
}

/* eLearning note box */
html body.leadsonline .learning-elearning-note {
  margin-top: 36px;
  padding: 24px;
  background: transparent;
  border-left: 3px solid #3575e2;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

html body.leadsonline .learning-elearning-note__title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
}

html body.leadsonline .learning-elearning-note__body {
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.6;
  margin: 0 0 16px;
}

html body.leadsonline .learning-elearning-btn {
  font-size: 0.85rem;
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  align-self: flex-start;
}

html body.leadsonline .learning-elearning-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: #ffffff;
}

/* Left column headings */
html body.leadsonline .clearcase-contact__heading {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0;
  line-height: 1.2;
}

html body.leadsonline .clearcase-contact__body {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.7;
  margin: 32px 0 0;
}

/* ── Support page overview subtitle width ── */
html body.leadsonline.learning .leadsonline-overview.customer-key-benefits .case-studies-subtitle {
  max-width: 1080px;
}

/* ── Support page overview: 2-column card grid ── */
html body.leadsonline.learning .leadsonline-overview.customer-key-benefits .case-studies-carousel {
  grid-template-columns: repeat(2, minmax(0, 560px));
  justify-content: center;
  max-width: 1200px;
}

@media (max-width: 768px) {
  html body.leadsonline.learning .leadsonline-overview.customer-key-benefits .case-studies-carousel {
    grid-template-columns: 1fr;
  }
}

/* ── Support page contact block card styling ── */
body.leadsonline.learning .support-contact-block {
  padding: 32px 36px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  border-left: 4px solid #1a3c6e;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-left-color 0.25s ease;
}

body.leadsonline.learning .support-contact-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-left-color: #3575e2;
}

body.leadsonline.learning .support-contact-block__divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 16px 0;
}

body.leadsonline.learning .support-icon-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.leadsonline.learning .support-icon-label svg {
  flex-shrink: 0;
  color: #1a3c6e;
  position: relative;
  top: -1px;
}

body.leadsonline.learning .support-contact-block__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a3c6e;
  margin: 0 0 10px;
}

body.leadsonline.learning .support-contact-block__desc {
  font-size: 0.95rem;
  color: #3d4f63;
  margin: 0 0 12px;
  line-height: 1.6;
}

body.leadsonline.learning .support-contact-block__availability {
  font-size: 0.9rem;
  color: #3d4f63;
  margin: 0 0 12px;
  line-height: 1.6;
}

body.leadsonline.learning .support-contact-block__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  color: #3d4f63;
  line-height: 1.6;
}

body.leadsonline.learning .support-contact-block__links [data-i18n="support.call.label"],
body.leadsonline.learning .support-contact-block__links [data-i18n="support.email.label"],
body.leadsonline.learning .support-contact-block__links strong,
body.leadsonline.learning .support-contact-block__links a [data-i18n="support.call.label"],
body.leadsonline.learning .support-contact-block__links a [data-i18n="support.email.label"] {
  color: #000000;
  font-weight: 600;
}

body.leadsonline.learning .support-contact-block__links a {
  color: #1a6ef5;
  text-decoration: none;
  font-weight: 400;
}

body.leadsonline.learning .support-contact-block__links a:hover {
  text-decoration: underline;
}

body.leadsonline.ballistics .intel-hero-overlay {
  background: rgba(0, 0, 0, 0.38);
}

