.munduscms-election-widget {
	width: 100%;
}

.munduscms-election-widget__iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	border: 0;
}

.munduscms-election-widget__hint {
	padding: 1rem;
	background: #f3f4f6;
	border: 1px dashed #9ca3af;
	text-align: center;
}

/* regular-article: el widget substitueix la imatge dins .regular-article-img */
.regular-article-img.election-widget-mode {
	position: static;
	height: auto;
	padding: 0;
	overflow: visible;
}

.regular-article-img.election-widget-mode::before,
.regular-article-img.election-widget-mode::after {
	content: none;
}

.regular-article-img.election-widget-mode iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	/* el widget és només visual: el clic travessa l'iframe i arriba a l'enllaç de l'article */
	pointer-events: none;
}

/* a l'editor, evita que el bloc independent capturi els clics */
.is-preview .munduscms-election-widget__iframe {
	pointer-events: none;
}
