.cp-external-content {
    width: 100%;
    margin: 1.5rem 0;
}

.cp-external-content > iframe {
    display: block;
    width: 100%;
    border: 0;
}

.cp-cookie-fallback {
    display: flex;
    min-height: 280px;
    padding: 1.5rem;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    background: #f4f1e9;
    border: 2px solid #e1b936;
    border-radius: 12px;
}

.cp-cookie-fallback img {
    display: block;
    width: 100%;
    max-width: 700px;
    max-height: 380px;
    object-fit: cover;
    border-radius: 8px;
}

.cp-cookie-message {
    margin: 0;
    max-width: 650px;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #555;
}

.cp-external-link {
    display: inline-flex;
    gap: 0.65rem;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.1rem;
    color: #111;
    background: #e1b936;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
}

.cp-external-link:hover {
    color: #fff;
    background: #111;
}

/* Visible tant que le contenu externe n’est pas réellement chargé */
.cp-cookie-fallback {
    display: flex;
}

/* L’iframe externe est chargée : masquer le remplacement */
.cp-external-content.cp-content-loaded .cp-cookie-fallback {
    display: none !important;
}

.cp-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.cp-social-link {
    display: inline-flex;
    min-width: 145px;
    padding: 0.85rem 1rem;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.cp-social-link.facebook {
    background: #1877f2;
}

.cp-social-link.instagram {
    background: #c13584;
}

.cp-social-link.youtube {
    background: #ff0000;
}

@media (max-width: 700px) {
    .cp-cookie-fallback {
        min-height: 220px;
        padding: 1rem;
    }

    .cp-social-links {
        flex-direction: column;
        width: 100%;
    }

    .cp-social-link {
        width: 100%;
        box-sizing: border-box;
    }
}

.cp-external-content.cp-content-loaded .cp-cookie-fallback {
    display: none !important;
}