/* Final CTA shot wheel. Shared by the homepage and the project template, so it cannot
   live in a page- or template-specific stylesheet. */
.final-cta__shot {
    --y: 45rem;
  }

  .final-cta__wheel.is-moving .final-cta__shot {
    filter: saturate(1.035);
  }

  .final-cta__shot:hover,
  .final-cta__shot:focus-visible {
    filter: saturate(1.08) brightness(1.035);
  }
  .final-cta__shot:hover .final-cta__shot-wrap,
  .final-cta__shot:focus-visible .final-cta__shot-wrap {
    transform: translateZ(0) scale(1.025);
  }

  .final-cta__shot:focus-visible {
    box-shadow:
      0 0 0 3px rgba(255, 255, 255, 0.9),
      0 0 0 6px rgba(36, 103, 199, 0.4);
  }

  .final-cta.is-dragging .final-cta__shot {
    cursor: grabbing;
  }

  .section.mod--new-discuss:has(.final-cta.is-boosted) .new-discuss__title-wrap .heading-3 {
    opacity: 0 !important;
    filter: blur(7px);
    transform: scale(0.9);
  }

  .section.mod--new-discuss:has(.final-cta.is-boosted) .final-cta__spin-gif {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0);
  }

  @media screen and (max-width: 992px) {
    .final-cta__shot {
      --y: 30rem;
    }
  }
  @media screen and (max-width: 768px) {
    .final-cta__shot {
      --y: 24rem;
    }
  }
  @media screen and (max-width: 479px) {
    .final-cta__shot {
      --y: 18rem;
    }
  }

/* Dark variant (New case pages): the shots ride above the lower violet gradient, which sits at
   z-index 0 after the wheel in the markup, and stay below the copy and button (z-index 5). */
.section.mod--new-discuss.w-variant-9becc955-a4f7-8a6e-9d6c-475c5e79e963 > .final-cta {
  z-index: 1;
}

/* Approved reference variant: current component owns its styles.
   The existing page opt-in preserves all other consumers. */
@media screen and (max-width: 767px) {
[data-mobile-layout="2026"] .new-discuss__title-wrap h2.heading-3 {
    width: 15.25rem;
    max-width: 100%;
  }
}

@media screen and (max-width: 767px) {
[data-mobile-layout="2026"] .new-discuss__text {
    max-width: 14.75rem;
    margin-inline: auto;
    letter-spacing: 0;
    color: rgba(16,20,10, .5);
  }
}

/* Measure the gap to the wheel artwork, including the existing FAQ inset.
   The wheel controller supplies its empty leading space in rem. */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .section.mod--new-discuss .container.mod--new-discuss {
    padding-top: calc(16.875rem - var(--final-cta-copy-shift, 0rem));
  }

  .section.mod--new-discuss .final-cta__orbit {
    bottom: calc(-70vw - var(--final-cta-copy-shift, 0rem));
  }

  .page-branding-redesign[data-mobile-layout="2026"] .section.mod--faq-custom + .section.mod--new-discuss {
    margin-top: calc(var(--112) - var(--final-cta-leading-space, 0rem));
  }
}

@media screen and (max-width: 767px) {
  .page-branding-redesign[data-mobile-layout="2026"] .section.mod--faq-custom + .section.mod--new-discuss {
    margin-top: calc(var(--80) - 4rem - var(--final-cta-leading-space, 0rem));
  }
}

[data-mobile-layout="2026"] .new-discuss__title-wrap h2.heading-3 {
  font-size: var(--type-section-size);
  font-weight: var(--type-section-weight);
  line-height: 1.1;
}

[data-mobile-layout="2026"] .new-discuss__text {
  font-size: var(--type-cta-copy-size);
  font-weight: 500;
  line-height: 1.6;
}

[data-mobile-layout="2026"] .new-discuss .button.is-simple {
  font-size: var(--type-small-size);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: calc(var(--type-small-size) * .06);
  text-transform: uppercase;
}

@media screen and (min-width: 992px) {
  .new-discuss__title-wrap.is--wide-desktop { max-width: 48rem; }
}
