/* DiraChart live closing CTA clarity fix — v3.1.3 */

body.dc-route-home .dc-live-final-cta,
body.path-frontpage .dc-live-final-cta {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 42px !important;

  width: min(1180px, calc(100% - 40px)) !important;
  max-width: 1180px !important;

  margin: clamp(70px, 8vw, 110px) auto !important;
  padding: clamp(42px, 5vw, 62px) !important;

  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 24px !important;

  align-items: center !important;

  background:
    radial-gradient(
      circle at 92% 12%,
      rgba(105, 208, 198, .16),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #10243d 0%,
      #193553 52%,
      #274b73 100%
    ) !important;

  color: #ffffff !important;
  text-align: left !important;

  box-shadow:
    0 24px 54px rgba(15, 35, 57, .18) !important;
}

body.dc-route-home
.dc-live-final-cta
:where(h1, h2, h3, h4),
body.path-frontpage
.dc-live-final-cta
:where(h1, h2, h3, h4) {
  max-width: 790px !important;

  margin: 0 0 18px !important;

  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;

  opacity: 1 !important;

  font-family: var(--display) !important;
  font-size: clamp(3rem, 5vw, 4.8rem) !important;
  font-weight: 700 !important;
  line-height: .96 !important;
  letter-spacing: .01em !important;

  text-shadow: none !important;
}

body.dc-route-home .dc-live-final-cta p,
body.path-frontpage .dc-live-final-cta p {
  max-width: 760px !important;

  margin: 0 !important;

  color: #e0ebf2 !important;
  -webkit-text-fill-color: #e0ebf2 !important;

  opacity: 1 !important;

  font-family: var(--serif) !important;
  font-size: 1.04rem !important;
  line-height: 1.65 !important;
}

body.dc-route-home
.dc-live-final-cta
:where(a, button, .button, [class*="btn"]),
body.path-frontpage
.dc-live-final-cta
:where(a, button, .button, [class*="btn"]) {
  min-height: 48px !important;
  padding: 15px 21px !important;

  border: 1px solid rgba(255, 255, 255, .24) !important;
  border-radius: 7px !important;

  background: #ffffff !important;
  color: #10243d !important;
  -webkit-text-fill-color: #10243d !important;

  opacity: 1 !important;

  font-family: var(--ui) !important;
  font-size: .83rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;

  text-decoration: none !important;
}

body.dc-route-home
.dc-live-final-cta
:where(a, button, .button, [class*="btn"]):first-of-type,
body.path-frontpage
.dc-live-final-cta
:where(a, button, .button, [class*="btn"]):first-of-type {
  border-color: #69d0c6 !important;
  background: #69d0c6 !important;
  color: #10243d !important;
  -webkit-text-fill-color: #10243d !important;
}

body.dc-route-home
.dc-live-final-cta
:where(a, button, .button, [class*="btn"]):hover,
body.path-frontpage
.dc-live-final-cta
:where(a, button, .button, [class*="btn"]):hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18) !important;
}

@media (max-width: 900px) {
  body.dc-route-home .dc-live-final-cta,
  body.path-frontpage .dc-live-final-cta {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    align-items: start !important;
  }
}

@media (max-width: 700px) {
  body.dc-route-home .dc-live-final-cta,
  body.path-frontpage .dc-live-final-cta {
    width: calc(100% - 24px) !important;
    margin: 52px auto !important;
    padding: 32px 24px !important;
    border-radius: 18px !important;
  }

  body.dc-route-home
  .dc-live-final-cta
  :where(h1, h2, h3, h4),
  body.path-frontpage
  .dc-live-final-cta
  :where(h1, h2, h3, h4) {
    font-size: clamp(2.7rem, 12vw, 4rem) !important;
  }

  body.dc-route-home
  .dc-live-final-cta
  :where(a, button, .button, [class*="btn"]),
  body.path-frontpage
  .dc-live-final-cta
  :where(a, button, .button, [class*="btn"]) {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}
