/* ─────────────────────────────────────────────────────────────────────────
   INLINE / CONTENT CTA strip — glass cards between page sections.
   Never style Hero. Hero uses .da-hero-cta in hero-cta-buttons.css.
   ───────────────────────────────────────────────────────────────────────── */
html body .ec-hero .cta-action-strip,
html body .wp-sec--hero .cta-action-strip {
  display: none !important;
}

html body .cta-action-strip {
  --da-public-cta-h: 46px;
  --da-public-cta-pad-x: 1.2rem;
  --da-public-cta-font: 0.92rem;
  --da-public-cta-weight: 800;
  --da-public-cta-radius: 12px;
  --da-public-cta-icon: 26px;
  --da-public-cta-card-min-h: 156px;
  --da-public-cta-gap: 22px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 1.15rem 0;
  box-sizing: border-box;
  direction: rtl;
  background: transparent;
  border: 0;
  box-shadow: none;
}

html body .wp-page .wp-sec.wp-sec--cta:has(.cta-action-strip),
html body .wp-page--course > .wp-sec.wp-sec--cta:has(.cta-action-strip),
html body .wp-page--course .wp-sec--cta:has(.cta-action-strip),
html body .wp-page--course .ec-section--cta:has(.cta-action-strip) {
  padding: 1.15rem 0 !important;
  margin: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
}

html body .cta-action-strip__wrap {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: var(--da-public-cta-gap) !important;
  width: min(1040px, calc(100% - 1.75rem));
  max-width: 1040px;
  margin-inline: auto;
  padding: 0;
  box-sizing: border-box;
}

/* Shared wrapper leftover — must not look like one joined component */
html body .cta-action-strip__card {
  display: contents;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
}

html body .cta-action-strip__action,
html body .cta-action-strip__action--placement {
  flex: 1 1 0;
  align-self: stretch;
  min-width: 0;
  max-width: none;
  min-height: var(--da-public-cta-card-min-h) !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: stretch;
  padding: 1.35rem 1.4rem 1.25rem !important;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-sizing: border-box;
  text-align: right;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  background: rgba(255, 255, 255, 0.42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 8px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

html body .cta-action-strip__action:hover,
html body .cta-action-strip__action:focus-visible {
  color: inherit;
  outline: none;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.78) !important;
  background: rgba(255, 255, 255, 0.56) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 14px 32px rgba(15, 23, 42, 0.08);
}

html body .cta-action-strip__action:focus-visible {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 0 0 3px rgba(249, 115, 22, 0.28),
    0 14px 32px rgba(15, 23, 42, 0.08);
}

html body .cta-action-strip__text,
html body .cta-action-strip__text--placement {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  min-height: 100%;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  gap: 1.1rem;
  text-align: right;
}

html body .cta-action-strip__head {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
}

html body .cta-action-strip__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.28rem;
  min-width: 0;
  flex: 1 1 auto;
}

html body .cta-action-strip__title,
html body .cta-action-strip__action--placement .cta-action-strip__title {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  clip: auto !important;
  overflow: visible !important;
  border: 0 !important;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: #0f172a;
  white-space: normal !important;
  text-overflow: unset;
}

html body .cta-action-strip__sub,
html body .cta-action-strip__age {
  display: block !important;
  position: static !important;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  clip: auto !important;
  overflow: visible !important;
  border: 0 !important;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.5;
  color: #64748b;
  white-space: normal !important;
  text-overflow: unset;
}

html body .cta-action-strip__divider,
html body .cta-action-strip__arrow,
html body .cta-action-strip__btn-arrow {
  display: none !important;
}

html body .cta-action-strip__btn,
html body .cta-action-strip__btn--blue,
html body .cta-action-strip__btn--orange,
html body .cta-action-strip__btn--green {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0;
  flex: 0 0 auto;
  align-self: stretch;
  min-width: 0;
  width: 100% !important;
  max-width: 100%;
  min-height: var(--da-public-cta-h) !important;
  height: var(--da-public-cta-h) !important;
  margin: 0;
  padding: 0 var(--da-public-cta-pad-x);
  border-radius: var(--da-public-cta-radius);
  border: 1.5px solid transparent;
  font-size: var(--da-public-cta-font);
  font-weight: var(--da-public-cta-weight);
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

html body .cta-action-strip__icon,
html body .cta-action-strip__icon--img {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: var(--da-public-cta-icon) !important;
  height: var(--da-public-cta-icon) !important;
  min-width: var(--da-public-cta-icon) !important;
  min-height: var(--da-public-cta-icon) !important;
  padding: 0 !important;
  margin: 0.12rem 0 0 !important;
  color: #0f172a;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 0 0 var(--da-public-cta-icon);
}

html body .cta-action-strip__icon svg,
html body .cta-action-strip__icon--img img {
  width: var(--da-public-cta-icon) !important;
  height: var(--da-public-cta-icon) !important;
  object-fit: contain;
  display: block;
}

html body .cta-action-strip__btn-label {
  font-weight: 800;
}

html body .cta-action-strip__btn--blue,
html body .cta-action-strip__action--blue .cta-action-strip__btn {
  background: #f97316 !important;
  border-color: #f97316 !important;
  color: #fff !important;
  box-shadow: 0 8px 18px -10px rgba(249, 115, 22, 0.7);
}

html body .cta-action-strip__btn--blue .cta-action-strip__btn-label,
html body .cta-action-strip__action--blue .cta-action-strip__btn-label {
  color: #fff !important;
}

html body .cta-action-strip__action--blue:hover .cta-action-strip__btn--blue,
html body .cta-action-strip__action--blue:focus-visible .cta-action-strip__btn--blue {
  background: #ea580c !important;
  border-color: #ea580c !important;
  box-shadow: 0 10px 20px -10px rgba(234, 88, 12, 0.65);
}

html body .cta-action-strip__btn--orange,
html body .cta-action-strip__action--orange .cta-action-strip__btn {
  background: transparent !important;
  border-color: rgba(15, 23, 42, 0.22) !important;
  color: #0f172a !important;
  box-shadow: none;
}

html body .cta-action-strip__btn--orange .cta-action-strip__btn-label,
html body .cta-action-strip__action--orange .cta-action-strip__btn-label,
html body .cta-action-strip__btn--orange .cta-action-strip__icon,
html body .cta-action-strip__action--orange .cta-action-strip__icon {
  color: #0f172a !important;
}

html body .cta-action-strip__action--orange:hover .cta-action-strip__btn--orange,
html body .cta-action-strip__action--orange:focus-visible .cta-action-strip__btn--orange {
  background: rgba(255, 255, 255, 0.45) !important;
  color: #0f172a !important;
  border-color: #0f172a !important;
}

html body .cta-action-strip__btn--green {
  background: #f97316 !important;
  border-color: #f97316 !important;
  color: #fff !important;
}

html body .why-diako__global-cta .cta-action-strip {
  padding-top: 1.15rem !important;
  padding-bottom: 1.15rem !important;
}

@media (max-width: 720px) {
  html body .cta-action-strip {
    --da-public-cta-card-min-h: 148px;
    --da-public-cta-gap: 20px;
    --da-public-cta-font: 0.88rem;
    --da-public-cta-pad-x: 1rem;
    padding: 0.9rem 0;
  }

  html body .cta-action-strip__wrap {
    flex-direction: column !important;
    width: min(1040px, calc(100% - 1.25rem));
  }

  html body .cta-action-strip__action,
  html body .cta-action-strip__action--placement {
    flex: 0 0 auto !important;
    width: 100%;
    height: auto !important;
    min-height: var(--da-public-cta-card-min-h) !important;
  }

  html body .cta-action-strip__btn,
  html body .cta-action-strip__btn--blue,
  html body .cta-action-strip__btn--orange {
    width: 100% !important;
  }
}

html body .gcta-admin__preview-strip .cta-action-strip__wrap {
  width: 100%;
  max-width: none;
}

html body .gcta-admin__preview-strip .cta-action-strip__action,
html body .gcta-admin__preview-strip .cta-action-strip__action--placement {
  width: 100%;
  flex: 1 1 auto;
}
