/* Only the enrollment CTA added inside the shared guide; card/layout CSS remains in OceanWP Child. */
.ct25-shared-editorial .ct25-shared-editorial__enroll{display:flex;justify-content:center;align-items:center;margin:14px 0 4px;width:100%}
.ct25-shared-editorial a.ct25-shared-editorial__cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:12px;background:#e5181f;color:#fff!important;text-decoration:none!important;font-size:15px;font-weight:800;box-shadow:0 10px 22px rgba(229,24,31,.18)}
.ct25-shared-editorial a.ct25-shared-editorial__cta:hover,.ct25-shared-editorial a.ct25-shared-editorial__cta:focus-visible{background:#c9141b;color:#fff!important;transform:translateY(-2px)}
@media(max-width:700px){.ct25-shared-editorial a.ct25-shared-editorial__cta{width:100%;max-width:280px}}

/* Reuse the exact Carta del Docente styles from hub-pa-full.css outside .ct25PAFull. */
.ct25-shared-carta .ct25-heroCartaDocente{width:calc(100% - 28px);max-width:1100px;padding:34px 24px;border-radius:22px;background:linear-gradient(135deg,#062b71,#0b3cff);color:#fff;box-shadow:0 30px 60px rgba(0,0,0,.25)}
.ct25-shared-carta .ct25-cdTitle{text-align:center;color:#ffd400;font-size:30px;font-weight:900;margin:0 0 28px}
.ct25-shared-carta .ct25-cdWrap{display:grid;grid-template-columns:320px minmax(0,1fr);gap:34px;align-items:center}
.ct25-shared-carta .ct25-cdImg img{width:100%;height:auto;border-radius:16px;box-shadow:0 15px 30px rgba(0,0,0,.35)}
.ct25-shared-carta .ct25-cdText{font-size:17px;line-height:1.65}
.ct25-shared-carta .ct25-cdText strong{color:#ffd400}
.ct25-shared-carta .ct25-cdBox{margin-top:22px;padding:22px;border-left:6px solid #ffd400;border-radius:16px;background:#fff;color:#062b71}
.ct25-shared-carta .ct25-cdOptions{list-style:none;margin:0;padding:0}
.ct25-shared-carta .ct25-cdOptions li{display:flex;gap:8px;margin:0 0 12px}
.ct25-shared-carta .ct25-cdCheck{color:#07883f}
.ct25-shared-carta .ct25-cdBox strong{color:#062b71}
.ct25-shared-carta .ct25-cdWarn{margin-top:22px;padding:18px;border:2px solid #ffd400;border-radius:14px;background:#fff4cc;color:#111}
.ct25-shared-carta .ct25-cdWarn ul{margin-bottom:0}
@media(max-width:768px){.ct25-shared-carta .ct25-cdWrap{grid-template-columns:1fr}.ct25-shared-carta .ct25-cdTitle{font-size:24px}}

/* Contrasto avvertenza marca da bollo, in tutte le istanze della sezione Carta del Docente. */
.ct25-shared-carta .ct25-cdWarn, .ct25-shared-carta .ct25-cdWarn strong{color:#173D77;}


/* .29 — accessible contrast for all highlighted payment labels inside the yellow warning. */
.ct25-shared-carta .ct25-cdWarn li,
.ct25-shared-carta .ct25-cdWarn li strong,
.ct25-shared-carta .ct25-cdWarn li b,
.ct25-shared-carta .ct25-cdWarn li span,
.ct25-shared-carta .ct25-cdWarn p,
.ct25PAFull .ct25-cdWarn li,
.ct25PAFull .ct25-cdWarn li strong,
.ct25PAFull .ct25-cdWarn li b,
.ct25PAFull .ct25-cdWarn li span,
.ct25PAFull .ct25-cdWarn p{color:#173D77!important;}

/* 0.6.54: testo introduttivo Carta del Docente giustificato su mobile. */
@media (max-width: 768px) {
  .ct25-shared-carta .ct25-cdText > p:first-child {
    text-align: justify;
    text-justify: inter-word;
  }
}
