/* Formation / documentation — identité groupe, y compris hors du portail. */
.dp-ce, .dp-rh { color: var(--dp-color-text,#303030); font-family: var(--dp-font-base,"Graphie",sans-serif); }
.dp-ce .dp-ce__header { margin-bottom: 32px; }
.dp-ce .dp-ce__eyebrow, .dp-rh .dp-rh__eyebrow { background: none; padding: 0; border-radius: 0; color: #626766; font-size: 10px; letter-spacing: .13em; }
.dp-ce .dp-ce__title, .dp-rh .dp-rh__title { letter-spacing: -.035em; font-weight: 700; line-height: 1.12; }
.dp-ce .dp-ce__toolbar, .dp-rh .dp-rh__toolbar { background: #f2f7f5; border: none; border-radius: 16px; padding: 20px; }
.dp-ce .dp-ce__card, .dp-rh .dp-rh__card { border: 0; border-radius: 16px; box-shadow: 0 4px 20px rgba(16,51,96,.07); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.dp-ce .dp-ce__card:hover, .dp-rh .dp-rh__card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(16,51,96,.11); }
.dp-ce .dp-ce__card-media { background: #e2f0eb; aspect-ratio: 1.8; }
.dp-ce .dp-ce__card:nth-child(even) .dp-ce__card-media { background: #e5f1f4; }
.dp-ce .dp-ce__card-title, .dp-rh .dp-rh__card-title { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.dp-ce .dp-ce__card-body { padding: 24px; }
.dp-ce .dp-ce__card-topic { color: #526961; letter-spacing: .12em; font-size: 10px; }
.dp-ce .dp-ce__card-format { background: #fff; color: #303030; border-radius: 99px; }
.dp-ce .dp-ce__card-badge { background: #a9cf8e; color: #303030; }
.dp-ce .dp-ce__pill, .dp-rh .dp-rh__pill { border-radius: 99px; color: #303030; border-color: #d3ded8; background: #fff; min-height: 40px; }
.dp-ce .dp-ce__pill.is-active, .dp-rh .dp-rh__pill.is-active { background: #303030; color: #fff; border-color: #303030; }
.dp-ce .dp-ce__card-cta { background: #61c2d0; color: #303030; border: 0; border-radius: 99px; min-height: 44px; justify-content: space-between; }
.dp-ce .dp-ce__card-cta:hover { background: #61c2d0; color: #303030; }
.dp-ce .dp-ce__card-cta--soon { background: #edf3f0; color: #626766; }
.dp-ce__learning-link { display: block; padding: 12px 0 0; color: #286672; font-size: 13px; }
.dp-ce .dp-ce__card[hidden], .dp-rh .dp-rh__card[hidden] { display: none; }
.dp-ce :is(a,button,input):focus-visible, .dp-rh :is(a,button,input):focus-visible { outline: 3px solid #237f91; outline-offset: 3px; }
@media(prefers-reduced-motion:reduce) { .dp-ce .dp-ce__card, .dp-rh .dp-rh__card { transition: none; }.dp-ce .dp-ce__card:hover, .dp-rh .dp-rh__card:hover { transform: none; } }

/* Les rangées courtes sont centrées, les actions restent alignées. */
.dp-ce .dp-ce__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.dp-ce .dp-ce__card { flex: 1 1 300px; max-width: 440px; min-width: 0; }
.dp-ce .dp-ce__card-body { display: flex; flex-direction: column; flex: 1; }
.dp-ce .dp-ce__card-cta { margin-top: auto; }
