/* Liste de documents (front). Le shortcode l'utilise directement ;
   le widget Elementor s'appuie surtout sur les styles de bouton Elementor,
   ces règles servent de repli propre hors Elementor. */

.ckwc-documents-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ckwc-documents-list > li {
    margin: 0;
    padding: 0;
}

.ckwc-doc-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
}

.ckwc-doc-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* Repli visuel du bouton quand Elementor n'habille pas .elementor-button.
   Jamais quand un aspect CercleKit habille le bouton (.ck-btn) : le padding
   et le rayon appartiennent alors à l'aspect. */
.ckwc-doc-btn:not(.ck-btn) {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    line-height: 1.2;
}

.ckwc-doc-btn .elementor-button-content-wrapper {
    display: inline-flex;
    align-items: center;
}
