/* ========================================================================
   NON-HOME HERO CTA — reference-matched button treatment
   ------------------------------------------------------------------------
   Scope: non-home Hero CTAs only. Home intentionally does NOT load this
   stylesheet and therefore remains exactly as it was before these updates.

   Reference behavior used here:
   - CTA occupies the existing white bottom/right Hero bay only.
   - desktop/laptop width is proportional to the Hero canvas, not viewport.
   - exact reference geometry: 370.729px x 61.1667px where the parent bay allows it.
   - thin dark outline, restrained rounded corners, white fill.
   - regular-weight uppercase text and turquoise circular arrow.
   ======================================================================== */

@media (min-width: 768px) {
  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn {
    --dc-hero-cta-right-inset: clamp(12px, 1.3vw, 22px);
    --dc-hero-cta-bottom-inset: clamp(14px, 2.15vw, 34px);

    box-sizing: border-box !important;
    position: absolute !important;
    left: auto !important;
    right: var(--dc-hero-cta-right-inset) !important;
    bottom: var(--dc-hero-cta-bottom-inset) !important;

    /* Explore Partnerships is the canonical non-home Hero CTA.
       At the supplied reference viewport its computed width is 370.729px.
       Every non-home Hero CTA now uses that same master width at the
       same breakpoint, shrinking only when its own white bay is narrower. */
    --dc-partnership-master-width: 370.729px;
    width: min(var(--dc-partnership-master-width), calc(100% - (2 * var(--dc-hero-cta-right-inset)))) !important;
    max-width: calc(100% - (2 * var(--dc-hero-cta-right-inset))) !important;
    min-width: 0 !important;

    /* Keep the same Partnership-button vertical proportion. */
    height: 61.1667px !important;
    min-height: 61.1667px !important;
    max-height: 61.1667px !important;

    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(12px, 1.25vw, 20px) !important;

    padding: 7px clamp(8px, .72vw, 11px) 7px clamp(18px, 1.45vw, 24px) !important;

    border: 0.666667px solid #000 !important;
    border-radius: 23.4375px !important;
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;

    font-family: "Archivo", "Plus Jakarta Sans", Arial, sans-serif !important;
    font-size: 17.1875px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 18.9062px !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;

    overflow: hidden !important;
    transform: none !important;
    cursor: pointer !important;
    z-index: 12 !important;
  }

  /* Neutralize legacy Hero CTA overlay layers so the visible outline/radius is
     controlled by this exact reference geometry on every non-home page. */
  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn::before,
  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn::after {
    content: none !important;
    display: none !important;
  }

  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn > span:first-child {
    display: block !important;
    min-width: 0 !important;
    max-width: calc(100% - clamp(48px, 3.8vw, 62px)) !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    line-height: 1.1 !important;
    color: inherit !important;
  }

  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn .top-dev-arrow {
    box-sizing: border-box !important;
    width: clamp(36px, 2.75vw, 44px) !important;
    height: clamp(36px, 2.75vw, 44px) !important;
    min-width: clamp(36px, 2.75vw, 44px) !important;
    min-height: clamp(36px, 2.75vw, 44px) !important;
    flex: 0 0 clamp(36px, 2.75vw, 44px) !important;
    margin: 0 !important;

    display: grid !important;
    place-items: center !important;
    align-self: center !important;

    border: 0 !important;
    border-radius: 50% !important;
    background: #14f595 !important;
    color: #000 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    transform: none !important;
  }

  /* Replace the legacy white-circle SVG artwork with the simple dark arrow
     used by the supplied reference. */
  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn .top-dev-arrow > img,
  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn .top-dev-arrow > svg {
    display: none !important;
  }

  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn .top-dev-arrow::before {
    content: "" !important;
    width: 27px !important; height: 22px !important;
    background: currentColor !important;
    -webkit-mask: url("/assets/supplied/ui/arrow-right.svg") center / contain no-repeat !important;
    mask: url("/assets/supplied/ui/arrow-right.svg") center / contain no-repeat !important;
    display: block !important;
    color: #000 !important;
    font-family: Arial, sans-serif !important;
    font-size: clamp(20px, 1.65vw, 27px) !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    transform: translateY(-1px) !important;
    transition: transform .22s ease !important;
  }

  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn .top-dev-arrow::after {
    content: none !important;
    display: none !important;
  }

  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn:hover,
  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn:focus-visible {
    background: #fff !important;
    color: #000 !important;
    border-color: #000 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn:hover .top-dev-arrow::before,
  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn:focus-visible .top-dev-arrow::before {
    transform: translate(2px, -1px) !important;
  }
}

/* Laptop/tablet: preserve the same family while fitting the narrower white bay
   with balanced horizontal inset and zero overflow. */
@media (min-width: 768px) and (max-width: 1023px) {
  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn {
    --dc-hero-cta-right-inset: clamp(10px, 1.6vw, 16px);
    --dc-hero-cta-bottom-inset: clamp(10px, 1.8vw, 18px);

    --dc-partnership-master-width: 370.729px;
    width: min(var(--dc-partnership-master-width), calc(100% - (2 * var(--dc-hero-cta-right-inset)))) !important;
    height: 61.1667px !important;
    min-height: 61.1667px !important;
    max-height: 61.1667px !important;

    padding: 7px clamp(8px, .72vw, 11px) 7px clamp(18px, 1.45vw, 24px) !important;
    gap: clamp(12px, 1.25vw, 20px) !important;
    border-width: 0.666667px !important;
    border-radius: 23.4375px !important;
    font-size: 17.1875px !important;
    line-height: 18.9062px !important;
  }

  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn .top-dev-arrow {
    width: clamp(34px, 4vw, 39px) !important;
    height: clamp(34px, 4vw, 39px) !important;
    min-width: clamp(34px, 4vw, 39px) !important;
    min-height: clamp(34px, 4vw, 39px) !important;
    flex-basis: clamp(34px, 4vw, 39px) !important;
  }

  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn .top-dev-arrow::before {
    font-size: clamp(19px, 2.45vw, 23px) !important;
  }
}

/* Phone layouts retain their original mobile Hero CTA composition. */
@media (max-width: 767px) {
  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn {
    max-width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn,
  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn .top-dev-arrow::before {
    transition: none !important;
  }
}

/* ------------------------------------------------------------------------
   NON-HOME HERO CTA — normal-state text visibility fix
   Legacy service/about/portfolio styles can leave -webkit-text-fill-color
   white even after `color` is overridden, making CTA copy invisible until
   hover. Lock both paint properties in the normal and interactive states.
   ------------------------------------------------------------------------ */
@media (min-width: 768px) {
  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn,
  html body .top-svg-section .top-svg-inner > a.top-dev-cta.dc-master-btn,
  html body .top-svg-section .top-svg-inner > button.top-dev-cta.dc-master-btn {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
  }

  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn > span:first-child,
  html body .top-svg-section .top-svg-inner > a.top-dev-cta.dc-master-btn > span:first-child,
  html body .top-svg-section .top-svg-inner > button.top-dev-cta.dc-master-btn > span:first-child {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn:hover,
  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn:focus-visible,
  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn:hover > span:first-child,
  html body .top-svg-section .top-svg-inner > .top-dev-cta.dc-master-btn:focus-visible > span:first-child {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
  }
}

/* ========================================================================
   FINAL NON-HOME HERO CTA LOCK
   ------------------------------------------------------------------------
   button-system.css uses a deliberately high-specificity :is(#id...) branch.
   This final lock uses a still-higher specificity branch so the visual target
   above is what the browser actually computes on non-home Hero CTAs.
   Home never loads this stylesheet.
   ======================================================================== */
@media (min-width: 769px) {
  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-ref-1#dc-nhcta-ref-2#dc-nhcta-ref-3#dc-nhcta-ref-4#dc-nhcta-ref-5#dc-nhcta-ref-6,
    .top-dev-cta.dc-master-btn
  ) {
    --dc-hero-cta-right-inset: clamp(12px, 1.3vw, 22px);
    --dc-hero-cta-bottom-inset: clamp(12px, 2.15vw, 34px);

    box-sizing: border-box !important;
    position: absolute !important;
    left: auto !important;
    top: auto !important;
    right: var(--dc-hero-cta-right-inset) !important;
    bottom: var(--dc-hero-cta-bottom-inset) !important;

    width: min(370.729px, calc(100% - (2 * var(--dc-hero-cta-right-inset)))) !important;
    max-width: calc(100% - (2 * var(--dc-hero-cta-right-inset))) !important;
    min-width: 0 !important;
    height: 61.1667px !important;
    min-height: 61.1667px !important;
    max-height: 61.1667px !important;

    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: clamp(12px, 1.25vw, 20px) !important;

    padding: 7px clamp(8px, .72vw, 11px) 7px clamp(18px, 1.45vw, 24px) !important;
    border: 0.666667px solid #000 !important;
    border-radius: 23.4375px !important;
    background: #fff !important;
    background-color: #fff !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    box-shadow: none !important;

    font-family: "Archivo", Arial, sans-serif !important;
    font-size: 17.1875px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 18.9062px !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    transform: none !important;
    cursor: pointer !important;
    z-index: 220 !important;
  }

  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-ref-1#dc-nhcta-ref-2#dc-nhcta-ref-3#dc-nhcta-ref-4#dc-nhcta-ref-5#dc-nhcta-ref-6,
    .top-dev-cta.dc-master-btn
  )::before,
  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-ref-1#dc-nhcta-ref-2#dc-nhcta-ref-3#dc-nhcta-ref-4#dc-nhcta-ref-5#dc-nhcta-ref-6,
    .top-dev-cta.dc-master-btn
  )::after {
    content: none !important;
    display: none !important;
  }

  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-ref-1#dc-nhcta-ref-2#dc-nhcta-ref-3#dc-nhcta-ref-4#dc-nhcta-ref-5#dc-nhcta-ref-6,
    .top-dev-cta.dc-master-btn
  ) > span:first-child {
    display: block !important;
    min-width: 0 !important;
    max-width: calc(100% - 54px) !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-family: "Archivo", Arial, sans-serif !important;
    font-size: 17.1875px !important;
    font-weight: 400 !important;
    line-height: 18.9062px !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
  }

  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-ref-1#dc-nhcta-ref-2#dc-nhcta-ref-3#dc-nhcta-ref-4#dc-nhcta-ref-5#dc-nhcta-ref-6,
    .top-dev-cta.dc-master-btn
  ) .top-dev-arrow {
    box-sizing: border-box !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    flex: 0 0 44px !important;
    margin: 0 0 0 auto !important;
    display: grid !important;
    place-items: center !important;
    align-self: center !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #14f595 !important;
    background-color: #14f595 !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    transform: none !important;
  }

  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-ref-1#dc-nhcta-ref-2#dc-nhcta-ref-3#dc-nhcta-ref-4#dc-nhcta-ref-5#dc-nhcta-ref-6,
    .top-dev-cta.dc-master-btn
  ) .top-dev-arrow > img,
  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-ref-1#dc-nhcta-ref-2#dc-nhcta-ref-3#dc-nhcta-ref-4#dc-nhcta-ref-5#dc-nhcta-ref-6,
    .top-dev-cta.dc-master-btn
  ) .top-dev-arrow > svg {
    display: none !important;
  }

  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-ref-1#dc-nhcta-ref-2#dc-nhcta-ref-3#dc-nhcta-ref-4#dc-nhcta-ref-5#dc-nhcta-ref-6,
    .top-dev-cta.dc-master-btn
  ) .top-dev-arrow::before {
    content: "" !important;
    width: 27px !important; height: 22px !important;
    background: currentColor !important;
    -webkit-mask: url("/assets/supplied/ui/arrow-right.svg") center / contain no-repeat !important;
    mask: url("/assets/supplied/ui/arrow-right.svg") center / contain no-repeat !important;
    display: block !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    font-family: Arial, sans-serif !important;
    font-size: 27px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    transform: translateY(-1px) !important;
    transition: transform .22s ease !important;
  }

  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-ref-1#dc-nhcta-ref-2#dc-nhcta-ref-3#dc-nhcta-ref-4#dc-nhcta-ref-5#dc-nhcta-ref-6,
    .top-dev-cta.dc-master-btn
  ):hover,
  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-ref-1#dc-nhcta-ref-2#dc-nhcta-ref-3#dc-nhcta-ref-4#dc-nhcta-ref-5#dc-nhcta-ref-6,
    .top-dev-cta.dc-master-btn
  ):focus-visible {
    background: #fff !important;
    background-color: #fff !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    border-color: #000 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-ref-1#dc-nhcta-ref-2#dc-nhcta-ref-3#dc-nhcta-ref-4#dc-nhcta-ref-5#dc-nhcta-ref-6,
    .top-dev-cta.dc-master-btn
  ):hover > span:first-child,
  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-ref-1#dc-nhcta-ref-2#dc-nhcta-ref-3#dc-nhcta-ref-4#dc-nhcta-ref-5#dc-nhcta-ref-6,
    .top-dev-cta.dc-master-btn
  ):focus-visible > span:first-child {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
  }

  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-ref-1#dc-nhcta-ref-2#dc-nhcta-ref-3#dc-nhcta-ref-4#dc-nhcta-ref-5#dc-nhcta-ref-6,
    .top-dev-cta.dc-master-btn
  ):hover .top-dev-arrow::before,
  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-ref-1#dc-nhcta-ref-2#dc-nhcta-ref-3#dc-nhcta-ref-4#dc-nhcta-ref-5#dc-nhcta-ref-6,
    .top-dev-cta.dc-master-btn
  ):focus-visible .top-dev-arrow::before {
    transform: translate(2px, -1px) !important;
  }
}

/* Laptop geometry: same Partnership CTA family, scaled to the actual white
   Hero bay so it does not intrude over the image at narrower desktop widths. */
@media (min-width: 1024px) and (max-width: 1199px) {
  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-ref-1#dc-nhcta-ref-2#dc-nhcta-ref-3#dc-nhcta-ref-4#dc-nhcta-ref-5#dc-nhcta-ref-6,
    .top-dev-cta.dc-master-btn
  ) {
    width: min(370.729px, 27.06vw) !important;
    height: clamp(52px, 4.7vw, 58px) !important;
    min-height: clamp(52px, 4.7vw, 58px) !important;
    max-height: clamp(52px, 4.7vw, 58px) !important;
    padding: 6px 8px 6px 18px !important;
    gap: 10px !important;
    border-radius: 23.4375px !important;
    font-size: clamp(14px, 1.25vw, 16px) !important;
    line-height: 1.1 !important;
  }

  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-ref-1#dc-nhcta-ref-2#dc-nhcta-ref-3#dc-nhcta-ref-4#dc-nhcta-ref-5#dc-nhcta-ref-6,
    .top-dev-cta.dc-master-btn
  ) > span:first-child {
    max-width: calc(100% - 48px) !important;
    font-size: clamp(14px, 1.25vw, 16px) !important;
    line-height: 1.1 !important;
  }

  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-ref-1#dc-nhcta-ref-2#dc-nhcta-ref-3#dc-nhcta-ref-4#dc-nhcta-ref-5#dc-nhcta-ref-6,
    .top-dev-cta.dc-master-btn
  ) .top-dev-arrow {
    width: clamp(38px, 3.5vw, 42px) !important;
    height: clamp(38px, 3.5vw, 42px) !important;
    min-width: clamp(38px, 3.5vw, 42px) !important;
    min-height: clamp(38px, 3.5vw, 42px) !important;
    flex-basis: clamp(38px, 3.5vw, 42px) !important;
  }

  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-ref-1#dc-nhcta-ref-2#dc-nhcta-ref-3#dc-nhcta-ref-4#dc-nhcta-ref-5#dc-nhcta-ref-6,
    .top-dev-cta.dc-master-btn
  ) .top-dev-arrow::before {
    font-size: clamp(22px, 2.2vw, 25px) !important;
  }
}

/* ========================================================================
   FINAL WIDTH SYNC — Explore Partnerships is the single width master
   ------------------------------------------------------------------------
   Every non-home desktop/tablet Hero CTA uses the exact same responsive
   width curve as the Partnership Hero CTA. Text length must never decide
   the outer button width. Home does not load this stylesheet.
   ======================================================================== */
@media (min-width: 769px) {
  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-width-master-1#dc-nhcta-width-master-2#dc-nhcta-width-master-3#dc-nhcta-width-master-4#dc-nhcta-width-master-5#dc-nhcta-width-master-6#dc-nhcta-width-master-7,
    .top-dev-cta.dc-master-btn
  ) {
    /* Partnership reference: 370.729px at a 1370px viewport.
       The same ratio is shared by every non-home Hero CTA. */
    --dc-partnership-cta-width: clamp(220px, 27.06vw, 370.729px);
    width: min(
      var(--dc-partnership-cta-width),
      calc(100% - (2 * var(--dc-hero-cta-right-inset, 12px)))
    ) !important;
    min-width: 0 !important;
    max-width: calc(100% - (2 * var(--dc-hero-cta-right-inset, 12px))) !important;
    box-sizing: border-box !important;
  }
}

/* Final micro-positioning pass: move the shared non-home Hero CTA slightly further
   lower without changing its width, size, border, radius, typography or icon. */
@media (min-width: 769px) {
  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-y-nudge-1#dc-nhcta-y-nudge-2#dc-nhcta-y-nudge-3#dc-nhcta-y-nudge-4#dc-nhcta-y-nudge-5#dc-nhcta-y-nudge-6#dc-nhcta-y-nudge-7#dc-nhcta-y-nudge-8,
    .top-dev-cta.dc-master-btn
  ) {
    bottom: calc(var(--dc-hero-cta-bottom-inset, 12px) - 14px) !important;
  }
}

/* Final micro-positioning pass: nudge the shared non-home Hero CTA slightly
   to the right while preserving the existing 14px lower position and all
   dimensions/visual styling. Home does not load this stylesheet. */
@media (min-width: 769px) {
  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-x-nudge-1#dc-nhcta-x-nudge-2#dc-nhcta-x-nudge-3#dc-nhcta-x-nudge-4#dc-nhcta-x-nudge-5#dc-nhcta-x-nudge-6#dc-nhcta-x-nudge-7#dc-nhcta-x-nudge-8,
    .top-dev-cta.dc-master-btn
  ) {
    right: max(4px, calc(var(--dc-hero-cta-right-inset, 12px) - 6px)) !important;
  }
}

/* Final width trim: reduce shared non-home Hero CTA width from the LEFT side.
   The right edge/arrow position stays anchored by the existing `right` inset.
   Tablet keeps a lighter trim so longer labels never get squeezed; desktop
   uses a stronger responsive trim to match the requested more compact look. */
@media (min-width: 769px) {
  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-left-trim-1#dc-nhcta-left-trim-2#dc-nhcta-left-trim-3#dc-nhcta-left-trim-4#dc-nhcta-left-trim-5#dc-nhcta-left-trim-6#dc-nhcta-left-trim-7#dc-nhcta-left-trim-8#dc-nhcta-left-trim-9,
    .top-dev-cta.dc-master-btn
  ) {
    --dc-hero-cta-width-trim: clamp(12px, 1.25vw, 20px);
    width: min(
      calc(var(--dc-partnership-cta-width, 370.729px) - var(--dc-hero-cta-width-trim)),
      calc(100% - (2 * var(--dc-hero-cta-right-inset, 12px)) - var(--dc-hero-cta-width-trim))
    ) !important;
    max-width: calc(100% - (2 * var(--dc-hero-cta-right-inset, 12px)) - var(--dc-hero-cta-width-trim)) !important;
  }
}

@media (min-width: 1024px) {
  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-left-trim-desktop-1#dc-nhcta-left-trim-desktop-2#dc-nhcta-left-trim-desktop-3#dc-nhcta-left-trim-desktop-4#dc-nhcta-left-trim-desktop-5#dc-nhcta-left-trim-desktop-6#dc-nhcta-left-trim-desktop-7#dc-nhcta-left-trim-desktop-8#dc-nhcta-left-trim-desktop-9#dc-nhcta-left-trim-desktop-10,
    .top-dev-cta.dc-master-btn
  ) {
    --dc-hero-cta-width-trim: clamp(44px, 4.6vw, 66px);
  }
}

/* Final horizontal position adjustment: move the shared non-home Hero CTA
   further to the RIGHT without changing its compact width, height, content,
   arrow, hover treatment, or vertical position. Home never loads this file. */
@media (min-width: 769px) {
  html body .top-svg-section .top-svg-inner > :is(
    #dc-nhcta-right-shift-final-1#dc-nhcta-right-shift-final-2#dc-nhcta-right-shift-final-3#dc-nhcta-right-shift-final-4#dc-nhcta-right-shift-final-5#dc-nhcta-right-shift-final-6#dc-nhcta-right-shift-final-7#dc-nhcta-right-shift-final-8#dc-nhcta-right-shift-final-9#dc-nhcta-right-shift-final-10#dc-nhcta-right-shift-final-11,
    .top-dev-cta.dc-master-btn
  ) {
    right: clamp(2px, 0.25vw, 5px) !important;
  }
}
