.add-designation {
    background-color: #000;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}
.remove-designation {
    background-color: #000;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}


#tabs-1-patterns{
    display:none !important;
}

.block-editor-inserter__tab .css-174nrkn .enfox0g1{
    display:none !important;
}

.card {
    max-width: 400px;
    background: #ffffff;
    margin: 20px auto;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid; /* Le contour de la carte, la couleur est définie en ligne */
    position:relative;
    padding: 0em 0em 0em !important;
}

/* Correction pour l'éditeur */
.editor-styles-wrapper .cover-image {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
}

.editor-styles-wrapper .profile-image {
    width: 125px !important;
    height: 125px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    position: absolute !important;
    bottom: 610px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.profile-image {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffffff;
    background-color: #ffffff;
    position:relative !important;
    margin-top: -100px !important;

}

.cover-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card h1 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: #333333;
}

.card .company {
    color: #333333;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 15px;
}

.card .title {
    color: #777777;
    margin-bottom: 1px;
    font-size: 16px;
}

.card p {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 20px;
    color: #555555;
}

/* Icônes de contact */
.card .contact-icons {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card .contact-icon-link {
    text-decoration: none;
    margin: 0 5px;
    transition: transform 0.3s ease;
}

.card .contact-icon-link:hover {
    transform: scale(1.1);
}

.card .contact-icon-circle {
    width: 50px;
    height: 50px;
    background-color: #000; /* La couleur sera définie en ligne */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .contact-icon-image {
    width: 24px;
    height: 24px;
}


.card .social-icons {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card .social-icon-link {
    text-decoration: none;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.card .social-icon-link:hover {
    transform: scale(1.1);
}

.card .social-icon-circle {
    width: 50px;
    height: 50px;
    background-color: #000; /* La couleur sera définie en ligne */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .social-icon-image {
    width: 24px;
    height: 24px;
}

.contact-button-container {
    text-align: center;
    margin-bottom: 20px;
}

/* Style du bouton de contact */
.contact-button {
    display: inline-block;
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 10px !important;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    /* Les couleurs du texte et de fond sont définies en ligne via le style */
}

/* Désactiver le bouton dans l'éditeur sans le griser */
.editor-styles-wrapper .contact-button {
    pointer-events: none; /* Désactive les interactions */
    cursor: default; /* Change le curseur */
}

/* Style pour la vidéo avec maintien du ratio et coins arrondis */
.card .video-container {
    position: relative;
    width: 90%;
    padding-bottom: 50.625%; /* Ratio 16:9 (pour YouTube/Vimeo) */
    border-radius: 12px;
    overflow: hidden;
    margin:auto auto 20px;
}

.card .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

@media (max-width: 480px) {
    .card h1 {
        font-size: 22px;
    }
    .card .social-icon-link {
         text-decoration: none;
         margin: 0 8px;
         transition: transform 0.3s ease;
    }
    .card .title {
        font-size: 15px;
    }
    .card p {
        font-size: 13px;
    }
    .cover-image {
        height: 250px;
    }
    .profile-image {
        width: 150px;
        height: 150px;
        bottom: 0px;
    }

}

.editor-styles-wrapper .image-container {
    position: relative !important;
    height: 300px !important;
}

.editor-styles-wrapper .cover-image {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
}

.editor-styles-wrapper .profile-container {
    position: absolute !important;
    bottom: -50px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
}

.editor-styles-wrapper .profile-image {
    width: 125px !important;
    height: 125px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    position: absolute !important;
    bottom: 10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.editor-styles-wrapper .content-container {
    padding-top: 80px !important;
}

.editor-styles-wrapper .designation-field-container p {
    margin: 0px !important;
}

.designation-field-container p {
    margin: 0px !important;
}

