@charset "UTF-8";
/*
 * Ensure article widgets always occupy full available width in flex containers.
 * This avoids narrow widget columns when dropped into a full-width post layout.
 */
.elementor-widget-cai_post_article_toc,
.elementor-widget-cai_post_article_image,
.elementor-widget-cai_post_article_section,
.elementor-widget-cai_post_article_wp_content,
.elementor-widget-cai_post_article_quote,
.elementor-widget-cai_post_article_byline {
  width: 100%;
  max-width: 100%;
}

.e-con > .elementor-widget-cai_post_article_toc,
.e-con > .elementor-widget-cai_post_article_image,
.e-con > .elementor-widget-cai_post_article_section,
.e-con > .elementor-widget-cai_post_article_wp_content,
.e-con > .elementor-widget-cai_post_article_quote,
.e-con > .elementor-widget-cai_post_article_byline {
  flex: 1 1 100%;
}

.cai-post-article-wp-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
}
.cai-post-article-wp-content__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.cai-post-article-wp-content__body h2 {
  scroll-margin-top: 120px;
  margin: 0 0 16px;
  font-family: var(--cai-font-base, Arial, Helvetica, sans-serif);
  font-size: clamp(30px, 2.6vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--cai-color-navy, #1f3144);
}
.cai-post-article-wp-content__body h3 {
  font-size: var(--cai-fs-h4, clamp(24px, 21.18px + 0.75vw, 32px));
  line-height: var(--cai-lh-h4, 1.2);
}
.cai-post-article-wp-content__body p, .cai-post-article-wp-content__body li {
  margin: 0 0 1.1rem;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
}
.cai-post-article-wp-content__body ul {
  margin-bottom: 20px;
}
.cai-post-article-wp-content__body li {
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.cai-post-article-wp-content__body blockquote:not(.cai-testimonial__quote-wrap) {
  margin: 1.5rem 0 2.5rem;
  padding: 12px 0 12px 30px;
  border-left: 4px solid var(--cai-blue-brand, #0085ca);
}
.cai-post-article-wp-content__body blockquote:not(.cai-testimonial__quote-wrap) p {
  margin: 0 0 1.1rem;
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4;
  color: var(--cai-color-ink, #141414);
}
.cai-post-article-wp-content__body blockquote:not(.cai-testimonial__quote-wrap) p:last-of-type {
  margin-bottom: 0;
}
.cai-post-article-wp-content__body .cai-testimonial {
  margin: 1.5rem 0 3rem;
}
.cai-post-article-wp-content__body .cai-testimonial.cai-testimonial--carousel {
  margin: 1.5rem 0;
}
.cai-post-article-wp-content__body p.cai-testimonial__quote {
  margin: 0;
  font-family: var(--cai-font-base);
  font-weight: 400;
  font-size: var(--cai-fs-subtitle);
  line-height: 1.5;
  color: var(--cai-color-ink, #141414);
}
.cai-post-article-wp-content__body .cai-quote-cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--cai-color-body-muted, #606d7b);
}
.cai-post-article-wp-content__body .cai-quote-cite::before {
  content: "— ";
}
.cai-post-article-wp-content__body .cai-testimonial__nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 40px;
}
.cai-post-article-wp-content__body .cai-testimonial__prev,
.cai-post-article-wp-content__body .cai-testimonial__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--cai-color-border, #dee2e6);
  border-radius: 50%;
  background: var(--cai-color-white, #fff);
  color: var(--cai-color-ink, #141414);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.cai-post-article-wp-content__body .cai-testimonial__prev:hover,
.cai-post-article-wp-content__body .cai-testimonial__next:hover {
  background: var(--cai-color-action-hover, #2f2951);
  border-color: var(--cai-color-action-hover, #2f2951);
  color: var(--cai-color-white, #fff);
}
.cai-post-article-wp-content__body .cai-testimonial__prev:active,
.cai-post-article-wp-content__body .cai-testimonial__next:active {
  background: var(--cai-color-action-active);
  border-color: var(--cai-color-action-active);
  color: var(--cai-color-white, #fff);
}
.cai-post-article-wp-content__body .cai-testimonial__prev:focus,
.cai-post-article-wp-content__body .cai-testimonial__next:focus {
  outline: none !important;
  box-shadow: none !important;
}
.cai-post-article-wp-content__body .cai-testimonial__prev:focus-visible,
.cai-post-article-wp-content__body .cai-testimonial__next:focus-visible {
  outline: 2px solid var(--cai-color-action, #6A6BD4);
  outline-offset: 2px;
  box-shadow: none !important;
}
.cai-post-article-wp-content__body .cai-testimonial__prev svg,
.cai-post-article-wp-content__body .cai-testimonial__next svg {
  display: block;
  width: 20px;
  height: 20px;
}
.cai-post-article-wp-content__body .cai-testimonial__prev.swiper-button-disabled,
.cai-post-article-wp-content__body .cai-testimonial__next.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.cai-post-article-wp-content__body .cai-testimonial__prev svg {
  transform: scaleX(-1);
}
.cai-post-article-wp-content__body .cai-testimonial__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--cai-color-border, #dee2e6);
  border-radius: 50%;
  background: var(--cai-color-white, #fff);
  color: var(--cai-color-ink, #141414);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.cai-post-article-wp-content__body .cai-testimonial__arrow:hover {
  background: var(--cai-color-action-hover, #2f2951);
  border-color: var(--cai-color-action-hover, #2f2951);
  color: var(--cai-color-white, #fff);
}
.cai-post-article-wp-content__body .cai-testimonial__arrow:active {
  background: var(--cai-color-action-active);
  border-color: var(--cai-color-action-active);
  color: var(--cai-color-white, #fff);
}
.cai-post-article-wp-content__body .cai-testimonial__arrow:focus {
  outline: none !important;
  box-shadow: none !important;
}
.cai-post-article-wp-content__body .cai-testimonial__arrow:focus-visible {
  outline: 2px solid var(--cai-color-action, #6A6BD4);
  outline-offset: 2px;
  box-shadow: none !important;
}
.cai-post-article-wp-content__body .cai-testimonial__arrow svg {
  display: block;
  width: 20px;
  height: 20px;
}
.cai-post-article-wp-content__body .cai-testimonial__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.cai-post-article-wp-content__body .cai-testimonial__nav--solid .cai-testimonial__prev,
.cai-post-article-wp-content__body .cai-testimonial__nav--solid .cai-testimonial__next {
  background: var(--cai-color-action, #6A6BD4);
  border-color: var(--cai-color-action, #6A6BD4);
  color: var(--cai-color-white, #fff);
}
.cai-post-article-wp-content__body .cai-testimonial__arrow svg {
  width: 20px;
  height: 20px;
}

body.single.single-post.elementor-default .elementor-location-single .elementor-widget-theme-post-content h2.wp-block-heading,
body.single.single-post.elementor-default .elementor-location-single .elementor-widget-theme-post-content h2,
body.single.single-post.elementor-default .elementor-location-single .elementor-widget-post-content h2,
body.single.single-post.elementor-default .elementor-location-single .elementor-widget-cai_post_article_wp_content .cai-post-article-wp-content__body h2 {
  color: #141414 !important;
}

.cai-post-article-section {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.cai-post-article-section__title {
  scroll-margin-top: 120px;
  margin: 0 0 16px;
  font-weight: 700;
  font-size: clamp(30px, 2.6vw, 40px);
  line-height: 1.15;
  color: var(--cai-color-ink, #141414);
}

.cai-post-article-section__body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.cai-post-article-section__body p,
.cai-post-article-section__body li {
  margin: 0 0 1.1rem;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
}

.cai-post-article-image {
  margin: 0 0 36px;
  padding-bottom: 34px;
}

.cai-post-article-image--split {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.cai-post-article-image__column {
  flex: 1 1 calc(50% - 12px);
  min-width: 0;
}

.cai-post-article-image__figure {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.cai-post-article-image__img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.cai-post-featured-image {
  padding: 0 0 36px !important;
}

.cai-post-article-image--split .cai-post-article-image__figure {
  aspect-ratio: 16/10;
}

.cai-post-article-image--split .cai-post-article-image__img {
  height: 100%;
  object-fit: cover;
}

.cai-post-article-image__caption {
  margin-top: 10px;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--cai-color-body-muted, #606d7b);
}

.cai-post-article-quote {
  margin: 1.5rem 0 2.5rem;
  padding: 12px 0 12px 30px;
  border-left: 4px solid var(--cai-blue-brand, #0085ca);
}

.cai-post-article-quote__text {
  margin: 0;
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.05;
  color: var(--cai-color-ink, #141414);
}

.cai-post-article-quote__cite {
  display: block;
  margin-top: 16px;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--cai-color-body-muted, #606d7b);
}

/*
 * Sticky in-page nav. The sticky element is the widget WRAPPER, not the inner
 * <nav>: sticky is constrained to its parent's box, and the wrapper's parent is
 * the full-height sidebar column (align-self:stretch, set in the template),
 * whereas the <nav>'s parent (.elementor-widget-container) hugs it tightly.
 * flex:0 0 auto overrides Elementor's flex:1 1 100% so the wrapper stays
 * content-height and actually has room to travel.
 */
/* Matches the specificity of the `.e-con > ...` flex rule above so flex:0 0 auto
   wins (later in source), keeping the wrapper content-height. */
.e-con > .elementor-widget-cai_post_article_toc {
  position: sticky;
  top: 32px;
  flex: 0 0 auto;
}

/*
 * When the site header is sticky, stick just below the live header height
 * instead of the viewport top, so it never slides under the header while
 * scrolling. Matched directly off .cai-siteheader-sticky (see header.scss).
 */
body:has(.cai-siteheader-sticky):not(.elementor-editor-active) .elementor-widget-cai_post_article_toc {
  top: calc(var(--cai-header-h, 85px) + 48px);
}

/* Desktop (>=768px): the toggle reads as a plain label; chevron hidden. */
.cai-post-article-toc__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  margin: 0 0 16px;
  padding: 0;
  background: none;
  border: 0;
  cursor: default;
  text-align: left;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  pointer-events: none;
}

.cai-post-article-toc__heading {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--cai-color-action, #6A6BD4);
}

.cai-post-article-toc__chevron {
  display: none;
  flex: none;
  color: var(--cai-color-action, #6A6BD4);
}

.cai-post-article-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--cai-color-border, #dee2e6);
}

.cai-post-article-toc__link {
  display: block;
  padding: 8px 0 8px 12px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--cai-color-action, #6A6BD4);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.cai-post-article-toc__link:hover,
.cai-post-article-toc__link:focus-visible {
  color: var(--cai-color-action-hover, #2f2951);
}

.cai-post-article-toc__link.is-active {
  border-left-color: var(--Blue-Primary, #3883BF);
  color: var(--cai-color-action-hover, #2f2951);
  font-weight: 700;
}

/* Below 768px: collapse the TOC into a tappable dropdown above the content. */
@media (max-width: 767.98px) {
  .e-con > .elementor-widget-cai_post_article_toc {
    position: static;
  }
  .cai-post-article-byline {
    flex-direction: column;
  }
  .cai-post-article-toc {
    position: static;
    width: 100%;
    margin: 0;
    border: 1px solid var(--cai-color-border, #dee2e6);
    border-radius: 8px;
    background: var(--cai-color-surface, #ffffff);
  }
  .cai-post-article-toc__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    cursor: pointer;
    pointer-events: auto;
  }
  .cai-post-article-toc__toggle .cai-post-article-toc__heading {
    color: inherit;
  }
  .cai-post-article-toc__chevron {
    display: block;
    transition: transform 0.2s ease;
    color: inherit;
  }
  .cai-post-article-toc__toggle:focus, .cai-post-article-toc__toggle:hover, button.cai-post-article-toc__toggle:focus, button.cai-post-article-toc__toggle:hover {
    background-color: var(--cai-color-purple-mid);
    color: #FFF;
  }
  .cai-post-article-toc__toggle[aria-expanded=true] {
    background-color: var(--cai-color-purple-mid);
    color: #FFF;
  }
  .cai-post-article-toc__toggle[aria-expanded=true] .cai-post-article-toc__chevron {
    transform: rotate(180deg);
  }
  /*
   * Collapsed by default; expanded state driven by the toggle's ARIA.
   * Force an explicit vertical stack rather than trusting UA/framework
   * defaults — the `.elementor` prefix lifts specificity above global
   * list/flex rules that were laying these items out as columns.
   */
  .cai-post-article-toc__list,
  .elementor .cai-post-article-toc__list {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0 16px 8px;
    border-left: 0;
    list-style: none;
  }
  .elementor .cai-post-article-toc__toggle[aria-expanded=true] + .cai-post-article-toc__list {
    display: flex;
  }
  .elementor .cai-post-article-toc__item {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .elementor .cai-post-article-toc__link {
    display: block;
    width: 100%;
    padding: 8px 0;
    margin-left: 0;
    border-left: 0;
    white-space: normal;
  }
  .elementor .cai-post-article-toc__link.is-active {
    border-left: 0;
  }
}
/* Fallback sidebar rail shown (via JS) when a post has no headings. */
.cai-post-article-toc__meta {
  /* Sticky is handled by the widget wrapper (.elementor-widget-cai_post_article_toc). */
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 767.98px) {
  .cai-post-article-toc__meta {
    gap: 0;
  }
}

.cai-post-article-toc__meta[hidden] {
  display: none;
}

.cai-post-article-toc__meta-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cai-post-article-toc__meta-label {
  position: relative;
  display: block;
  margin: 0;
  font-family: var(--cai-font-base, Arial, Helvetica, sans-serif);
  font-weight: 700;
  font-size: var(--cai-fs-body-2-small);
  line-height: 1.4;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--cai-color-body-muted, #606d7b);
}

.cai-post-article-toc__meta-value {
  position: relative;
  display: block;
  margin: 0;
  font-family: var(--cai-font-base, Arial, Helvetica, sans-serif);
  font-weight: 400;
  font-size: var(--cai-fs-body-2);
  line-height: 1.4;
  color: var(--cai-color-ink, #141414);
}

@media (max-width: 767.98px) {
  .cai-post-article-toc__meta-item {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: flex-end;
  }
  .cai-post-article-toc__meta-item .cai-post-article-toc__meta-label,
  .cai-post-article-toc__meta-item .cai-post-article-toc__meta-value {
    display: inline-block;
  }
}

.cai-post-article-toc__meta-tags {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cai-post-article-toc__meta-tag {
  padding: 4px 12px;
  border: 1px solid var(--cai-color-border, #dee2e6);
  border-radius: 4px;
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
  color: var(--cai-color-body-muted, #606d7b);
}

.cai-post-article-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 0 0 32px;
  padding-top: 28px;
}

.cai-post-article-header__content {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

body.single-customer-story .cai-post-article-header__content {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

.cai-post-article-header__eyebrow {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--cai-color-brand-blue, #0085ca);
}

.cai-post-article-header__title {
  margin: 0 0 24px;
  font-family: var(--cai-font-base, Arial, Helvetica, sans-serif);
  font-size: clamp(36px, 28.96px + 1.88vw, 56px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--cai-color-ink, #141414);
}

.cai-post-article-header__image {
  flex: 1 1 auto;
  width: calc(100% + 50vw - 50%);
  max-width: none;
  min-width: 0;
  margin-left: 0;
  margin-right: calc(50% - 50vw);
  display: flex;
  justify-content: flex-end;
  align-self: center;
}

.cai-post-article-header__image-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.cai-post-article-header__image--placeholder .cai-post-article-header__image-img {
  width: min(470px, 42vw);
  max-width: 100%;
  height: 331px;
  object-fit: cover;
  object-position: right top;
}

body.single-customer-story .cai-post-article-header__image--placeholder .cai-post-article-header__image-img {
  filter: grayscale(100%);
  opacity: 0.25;
}

body.single-customer-story figure.wp-block-pullquote {
  padding: 2rem 0;
}

.cai-post-article-byline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  column-gap: 44px;
  row-gap: 16px;
  margin: 0;
}

.cai-post-article-byline__author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cai-post-article-byline__avatar-img {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.cai-post-article-byline__author-text {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: var(--cai-color-body-muted, #606d7b);
}

.cai-post-article-byline__author-label {
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.cai-post-article-byline__author-name {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  color: var(--cai-color-ink, #141414);
}

.cai-post-article-byline__company-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--cai-color-ink, #141414);
}

.cai-post-article-byline__company-separator {
  font-size: 14px;
  color: var(--cai-color-body-muted, #606d7b);
}

.cai-post-article-byline__company-description {
  font-size: 14px;
  font-weight: 400;
}

@media (max-width: 767.98px) {
  body.single-customer-story .cai-post-article-byline__author-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  body.single-customer-story .cai-post-article-byline__company-separator {
    display: none; /* Hides pipe on mobile */
  }
}
.cai-post-article-byline__share {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.cai-post-article-byline__share-label {
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--cai-color-body-muted, #606d7b);
}

.cai-post-article-byline__share-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cai-post-article-byline__share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--cai-color-ink, #141414);
  cursor: pointer;
  transition: color 0.15s ease;
}

.cai-post-article-byline__share-icon svg {
  width: 20px;
  height: 20px;
}

.cai-post-article-byline__share-icon:hover,
.cai-post-article-byline__share-icon:focus-visible {
  color: var(--cai-color-action, #0000ff);
}

.cai-post-article-byline__copy-link {
  position: relative;
}

.cai-post-article-byline__copy-link.is-copied {
  color: var(--cai-color-action, #0000ff);
}

.cai-post-article-byline__copy-link.is-copied::after {
  content: "Copied!";
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: var(--cai-color-white, #fff);
  background: var(--cai-color-ink, #141414);
}

@media (max-width: 1200px) {
  body.single-post {
    overflow-x: hidden;
  }
  .cai-post-article-quote__text {
    font-size: clamp(26px, 8vw, 40px);
  }
  .cai-post-article-toc__link {
    white-space: normal;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: 8px 12px;
    margin-left: 0;
  }
  .cai-post-article-image--split {
    gap: 16px;
  }
  .cai-post-article-image__column {
    flex-basis: 100%;
  }
  .cai-post-article-byline {
    align-items: flex-start;
    gap: 16px;
  }
  .cai-post-article-header {
    flex-direction: column;
    gap: 24px;
    padding-top: 22px;
    align-items: stretch;
  }
  .cai-post-article-header__image {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    align-self: stretch;
    justify-content: flex-start;
  }
  .cai-post-article-header__image--placeholder .cai-post-article-header__image-img {
    width: 100%;
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: right top;
  }
  .cai-post-article-header__image--placeholder {
    display: none;
  }
}
