
.card-cta-sa{
  --ccsa-border: rgba(0,0,0,.12);
  --ccsa-text: #0f172a;
  --ccsa-muted: rgba(15,23,42,.65);
  --ccsa-bg: #fff;
  --ccsa-shadow: 0 10px 30px rgba(0,0,0,.10);

  margin: 16px 14px;
  border-left: 1px solid var(--ccsa-border);
  border-right: 1px solid var(--ccsa-border);
  border-bottom: 1px solid var(--ccsa-border);
  background: var(--ccsa-bg);
  border-radius: 14px;
  overflow: hidden;
}

.card-cta-sa__bar{
  height: 6px;
  background: rgba(0,0,0,.06);
  border-radius: 999px;
  overflow: hidden;
  margin: 10px 12px 0;
  position: relative;
}
.card-cta-sa__bar::after{
  content:"";
  position:absolute; left:0; top:0; bottom:0;
  width: 180px;
  background: var(--ccsa-bar, #0f766e);
}

.card-cta-sa__wrap{
  display:flex;
  flex-direction: column;
  gap: 14px;
  padding: 12px 12px 16px;
  align-items:center;
  text-align:center;
}

.card-cta-sa__media{
  width:100%;
  max-width:520px;
  text-decoration:none;
  padding:0 6px;
  box-sizing:border-box;
}
.card-cta-sa__media img,
.card-cta-sa__media--placeholder{
  width:100%;
  height:170px;
  object-fit:cover;
  border-radius:14px;
  display:block;
  box-shadow: var(--ccsa-shadow);
  background: rgba(0,0,0,.04);
}
.card-cta-sa__media--placeholder{ height:170px; }

.card-cta-sa__content{
  width:100%;
  max-width:520px;
  padding:0 6px;
  box-sizing:border-box;
  display:flex;
  flex-direction: column;
  gap: 14px;
}

.card-cta-sa__category{
  margin:0 0 6px;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: var(--ccsa-muted);
}

.card-cta-sa__title{
  margin:0 0 10px;
  font-size:24px;
  line-height:1.1;
  color: var(--ccsa-text);
  font-weight:700;
}

.card-cta-sa__badges{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:6px;
  margin:0 0 12px;
}
.card-cta-sa__badge{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.06em;
  padding:6px 10px;
  border-radius:999px;
  background: var(--ccsa-badge-bg, rgba(15,118,110,.10));
  color: var(--ccsa-badge-color, #0f766e);
  font-weight:700;
}

.card-cta-sa__desc{
  margin:0;
  color: rgba(15,23,42,.78);
  font-size:13px;
  line-height:1.4;
}

.card-cta-sa__actions{
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 10px;
}

.card-cta-sa__cta{ display:flex; justify-content:center; width:100%; text-decoration:none; }
.card-cta-sa__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  min-width: 200px;
  max-width: 320px;
  border-radius: 14px;
  color: var(--ccsa-btn-text, #fff);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 13px;
  background: var(--ccsa-btn-bg, #0f766e);
  box-shadow: 0 10px 22px rgba(0,0,0,.14);
  transition: transform .15s ease, filter .15s ease;
}
.card-cta-sa__cta:hover .card-cta-sa__btn{ filter: brightness(.97); transform: translateY(-1px); }
.card-cta-sa__cta:active .card-cta-sa__btn{ transform: translateY(0px) scale(.99); }

.card-cta-sa__hint{
  margin: 0;
  text-align:center;
  font-size:11px;
  color: rgba(15,23,42,.55);
  max-width: 320px;
}

/* Desktop reference: CTA bottom-right under text, hint centered below button */
@media (min-width: 900px){
  .card-cta-sa{
    margin: 20px 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 0;
    overflow: visible;
  }
  .card-cta-sa__bar{ margin: 0 0 10px; }
  .card-cta-sa__wrap{
    flex-direction: row;
    align-items: stretch;
    text-align: left;
    padding: 12px 0 0;
    gap: 18px;
  }
  .card-cta-sa__media{
    flex: 0 0 40%;
    max-width: 40%;
    padding: 0;
  }
  .card-cta-sa__media img,
  .card-cta-sa__media--placeholder{
    height: 190px;
    border-radius: 12px;
  }
  .card-cta-sa__content{
    flex: 1;
    max-width: none;
    padding: 0;
    gap: 12px;
    display:flex;
    flex-direction: column;
  }
  .card-cta-sa__badges{ justify-content: flex-start; }
  .card-cta-sa__desc{ max-width: 720px; }

  .card-cta-sa__actions{
    margin-top: auto;
    align-items: flex-end;
    width: 100%;
  }
  .card-cta-sa__cta{
    width: auto;
    justify-content: flex-end;
  }
  .card-cta-sa__btn{
    min-width: 0;
    max-width: none;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 13px;
  }
  .card-cta-sa__hint{
    width: auto;
    max-width: none;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce){
  .card-cta-sa__btn{ transition:none; }
}
