.wp-block-pullquote {
	margin: 0 0 1em 0;
	padding: 3em 0;
	text-align: center; // Default text-alignment where the `textAlign` attribute value isn't specified.
	overflow-wrap: break-word; // Break long strings of text without spaces so they don't overflow the block.
	box-sizing: border-box;

	p,
	blockquote,
	cite {
		color: inherit;
	}

	&.alignleft,
	&.alignright {
		max-width: $content-width * 0.5;
	}

	cite,
	footer {
		position: relative;
	}
	.has-text-color a {
		color: inherit;
	}
}

// Ensure that we are reasonably specific to override theme defaults.
.wp-block-pullquote.has-text-align-left blockquote {
	text-align: left;
}

// Ensure that we are reasonably specific to override theme defaults.
.wp-block-pullquote.has-text-align-right blockquote {
	text-align: right;
}

// .is-style-solid-color is deprecated.
.wp-block-pullquote.is-style-solid-color {
	border: none;
	blockquote {
		margin-left: auto;
		margin-right: auto;
		max-width: 60%;

		p {
			margin-top: 0;
			margin-bottom: 0;
			font-size: 2em;
		}

		cite {
			text-transform: none;
			font-style: normal;
		}
	}
}

.wp-block-pullquote cite {
	color: inherit;
}
