/* Complianz: lo que no cubre su configuración (colores y bordes del banner: Complianz → Banner) */

#cmplz-cookiebanner-container .cmplz-cookiebanner,
body #cmplz-document{
    --cmplz_category_header_always_active_color: #434159;
}

/* Política de cookies: letra y ancho de las demás páginas legales */
body #cmplz-document{
    max-width: none;
    font-size: inherit;
}

body #cmplz-document p,
body #cmplz-document li{
    font-size: inherit;
    line-height: 1.75;
}

body #cmplz-document h2{
    margin: 40px 0 20px;
    font-family: "Work Sans", sans-serif;
    font-weight: 600;
}

/* Aviso de los vídeos bloqueados */
body .cmplz-blocked-content-container .cmplz-blocked-content-notice,
body .cmplz-wp-video .cmplz-blocked-content-notice{
    width: max-content;
    max-width: calc(100% - 32px);
    padding: 12px 20px;
    border: 0;
    border-radius: 0;
    background-color: #000000;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
}

/* Rueda para reabrir el banner; el texto queda oculto como nombre para lectores de pantalla */
#cmplz-manage-consent button.cmplz-manage-consent{
    bottom: 12px;
    left: 12px;
    width: 36px;
    min-width: 0;
    height: 36px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #000000;
    border-radius: 50%;
    background-color: #ffffff;
    color: transparent;
    font-size: 0;
    animation: none;
}

#cmplz-manage-consent button.cmplz-manage-consent:hover,
#cmplz-manage-consent button.cmplz-manage-consent:focus{
    animation: none;
}

#cmplz-manage-consent button.cmplz-manage-consent::before{
    content: "";
    position: absolute;
    inset: 22%;
    background-color: #000000;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.6s ease;
}

#cmplz-manage-consent button.cmplz-manage-consent:hover::before{
    transform: rotate(60deg);
}

#cmplz-manage-consent button.cmplz-manage-consent:focus-visible{
    outline: 2px solid #000000;
    outline-offset: 3px;
}
