/* ============================================================
   CTA Graphic — module.css
   ============================================================ */

.sj-cta {
  font-family: 'Macan', 'Inter', sans-serif;
  color: #E6EBE8;
}
.sj-cta * { box-sizing: border-box; }

.sj-cta__inner { margin: 0 auto; }

/* ---- Card shell ----
   Corner radius + accent edge are set inline by the module HubL (dynamic
   values). The accent-corner rule — square corners on the accent edge,
   rounded on the opposite edge — is computed there per accent_style
   (top | right | bottom | left | none). These classes are layout hooks. */
.sj-cta__card {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}
.sj-cta__card--split { flex-direction: row; align-items: stretch; }
.sj-cta__card--split.sj-cta__card--flip { flex-direction: row-reverse; }

/* ---- Content column ---- */
.sj-cta__content {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sj-cta__eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin:0 0 14px;
  display:block;
}
}

@media (min-width: 901px) {
  .sj-cta__eyebrow { margin-top: 24px; }
}

.sj-cta__heading {
  font-family: 'Macan', sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 1.28;
  letter-spacing: -.01em;
  margin: 0;
  max-width: 22em;
  text-wrap: balance;
}

.sj-cta__subhead {
  font-size: 14px;
  line-height: 1.6;
  color: #9A95A3;
  margin: 22px 0 0;
  max-width: 34em;
  text-wrap: pretty;
}
.sj-cta__subhead p { margin: 0 0 12px; }
.sj-cta__subhead p:last-child { margin-bottom: 0; }

/* ---- Button ---- */
.sj-cta__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.sj-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition: filter .15s ease, background-color .15s ease, color .15s ease;
  margin: 0 0 24px;
}

.sj-cta__btn:hover { filter: brightness(1.12); text-decoration: none; }
.sj-cta__btn--outline { background: transparent; }
.sj-cta__btn--outline:hover { filter: none; background: rgba(255,255,255,.07); }
.sj-cta__btn--text {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---- Media column ---- */
.sj-cta__media {
  flex: 0 0 var(--sj-cta-media, 45%);
  max-width: var(--sj-cta-media, 45%);
  position: relative;
  overflow: hidden;
}
.sj-cta__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---- Light-text scheme (dark background) ---- */
.sj-cta--light { color: #E6EBE8; }
.sj-cta--light .sj-cta__subhead { color: #9A95A3; }

/* ---- Dark-text scheme (light background) ---- */
.sj-cta--dark { color: #1B211E; }
.sj-cta--dark .sj-cta__subhead { color: #525B57; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .sj-cta__card--split,
  .sj-cta__card--split.sj-cta__card--flip { flex-direction: column; }
  .sj-cta__card { height: auto !important; }
  .sj-cta__media {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16 / 10;
    order: -1;
  }

  .sj-cta__content { padding: 36px !important; }
}

@media (max-width: 480px) {
  .sj-cta__heading { font-size: 28px; }
  .sj-cta__btn { width: 100%; }
}