/* Consentimiento: aspecto de vanilla-cookieconsent con los valores de theme.json. Acotado a #cc-main y .cisa-embed. */
#cc-main {
	--cc-font-family: var(--wp--preset--font-family--body);
	--cc-bg: var(--wp--preset--color--base);
	--cc-primary-color: var(--wp--preset--color--contrast);
	--cc-secondary-color: var(--wp--preset--color--muted);
	--cc-link-color: var(--wp--preset--color--primary);
	--cc-btn-border-radius: 6px;
	--cc-modal-border-radius: 8px;
	--cc-btn-primary-bg: var(--wp--preset--color--primary);
	--cc-btn-primary-color: var(--wp--preset--color--primary-contrast);
	--cc-btn-primary-border-color: var(--wp--preset--color--primary);
	--cc-btn-primary-hover-bg: var(--wp--preset--color--contrast);
	--cc-btn-primary-hover-color: var(--wp--preset--color--base);
	--cc-btn-primary-hover-border-color: var(--wp--preset--color--contrast);
	--cc-btn-secondary-bg: var(--wp--preset--color--surface);
	--cc-btn-secondary-color: var(--wp--preset--color--contrast);
	--cc-btn-secondary-border-color: var(--wp--preset--color--surface);
	--cc-btn-secondary-hover-bg: var(--wp--preset--color--border);
	--cc-btn-secondary-hover-color: var(--wp--preset--color--contrast);
	--cc-btn-secondary-hover-border-color: var(--wp--preset--color--border);
	--cc-separator-border-color: var(--wp--preset--color--border);
	--cc-toggle-on-bg: var(--wp--preset--color--primary);
	--cc-toggle-readonly-bg: var(--wp--preset--color--border);
	--cc-cookie-category-block-bg: var(--wp--preset--color--surface);
	--cc-cookie-category-block-border: var(--wp--preset--color--surface);
	--cc-cookie-category-block-hover-bg: var(--wp--preset--color--border);
	--cc-cookie-category-block-hover-border: var(--wp--preset--color--border);
	--cc-cookie-category-expanded-block-bg: var(--wp--preset--color--base);
	--cc-cookie-category-expanded-block-hover-bg: var(--wp--preset--color--surface);
	--cc-footer-bg: var(--wp--preset--color--surface);
	--cc-footer-border-color: var(--wp--preset--color--border);
	--cc-footer-color: var(--wp--preset--color--muted);
}

/* Aviso que sustituye a un vídeo de YouTube hasta que se acepta. */
.cisa-embed {
	aspect-ratio: 16 / 9;
	background: var(--wp--preset--color--surface);
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--20);
	justify-content: center;
	padding: var(--wp--preset--spacing--40);
	text-align: center;
}

.cisa-embed p {
	margin: 0;
}

.cisa-embed__iframe {
	aspect-ratio: 16 / 9;
	border: 0;
	height: auto;
	width: 100%;
}
