.editor-styles-wrapper {
	font-family: "Roboto", sans-serif;
	font-size: 20px;
	line-height: 1.8;
	color: #101010;
	padding: 20px;
}

.editor-styles-wrapper .is-root-container {
	max-width: 1080px;
	margin: 0 auto;
}

.editor-styles-wrapper .is-root-container > * {
	margin-top: 0;
	margin-bottom: 30px;
}

.editor-styles-wrapper p {
	margin-top: 0;
	margin-bottom: 30px;
}

.editor-styles-wrapper ul,
.editor-styles-wrapper ol {
	margin-top: 0;
	margin-bottom: 30px;
}

.editor-styles-wrapper li {
	margin-bottom: 0.35em;
}

.editor-styles-wrapper .wp-block-heading {
	display: block !important;
	max-width: 960px;
	margin: 0 auto 30px;
	padding: 0;
	border-bottom: none;
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	line-height: 1.1;
	text-transform: none;
	color: #101010;
}

.editor-styles-wrapper .wp-block-heading.is-style-perun-heading-classic {
	display: inline-block !important;
	margin-bottom: 0;
	padding: 0;
	border-bottom: 5px solid #18bcff;
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	color: #00acea;
	position: relative;
	bottom: -5px;
}

.editor-styles-wrapper .wp-block-heading.is-style-perun-heading-classic strong {
	font-weight: 700;
}

.editor-styles-wrapper p.is-style-middle-width-par {
	max-width: 1080px;
}

.editor-styles-wrapper .wp-block-image,
.editor-styles-wrapper .wp-block-media-text__media {
	position: relative;
	width: fit-content;
	max-width: 1080px;
	margin: 0 auto 30px;
	text-align: center;
}

.editor-styles-wrapper .wp-block-image.is-style-min-width-pic {
	max-width: 960px;
}

.editor-styles-wrapper .wp-block-image.is-style-full-width-pic {
	max-width: 100%;
}

.editor-styles-wrapper .wp-block-image img,
.editor-styles-wrapper .wp-block-media-text__media img,
.editor-styles-wrapper .wp-block-gallery .wp-block-image img,
.editor-styles-wrapper .wp-block-gallery .wp-block-image picture {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.editor-styles-wrapper .wp-block-image .wp-element-caption {
	position: absolute;
	left: 0;
	bottom: 30px;
	margin: 0 30px;
	padding: 15px;
	font-size: 17px;
	font-style: italic;
	line-height: 1.5;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.35);
}

.editor-styles-wrapper .wp-block-cover {
	max-width: 1080px;
	margin: 0 auto 30px;
}

.editor-styles-wrapper .wp-block-cover.is-style-min-width-cover-pbg,
.editor-styles-wrapper .wp-block-cover.is-style-min-width-cover-tbg {
	max-width: 960px;
}

.editor-styles-wrapper .wp-block-cover.is-style-full-width-cover-pbg,
.editor-styles-wrapper .wp-block-cover.is-style-full-width-cover-tbg {
	max-width: none;
}

.editor-styles-wrapper .wp-block-cover.is-style-full-width-cover-tbg span,
.editor-styles-wrapper .wp-block-cover.is-style-middle-width-cover-tbg span,
.editor-styles-wrapper .wp-block-cover.is-style-min-width-cover-tbg span {
	display: none;
}

.editor-styles-wrapper .wp-block-cover.is-style-full-width-cover-tbg p,
.editor-styles-wrapper .wp-block-cover.is-style-middle-width-cover-tbg p,
.editor-styles-wrapper .wp-block-cover.is-style-min-width-cover-tbg p {
	max-width: none;
	margin: 15px;
	padding: 15px 30px;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.35);
}

.editor-styles-wrapper .wp-block-embed {
	max-width: 1080px;
	margin: 0 auto 30px;
}

.editor-styles-wrapper .wp-block-embed.is-type-video.is-style-full-width-video {
	max-width: 100%;
}

.editor-styles-wrapper .wp-block-embed.is-type-video.is-style-min-width-video,
.editor-styles-wrapper .wp-block-embed.is-style-min-width-embed-other {
	max-width: 960px;
}

.editor-styles-wrapper .wp-block-embed.is-type-rich {
	display: flex;
	justify-content: center;
}

.editor-styles-wrapper .wp-block-gallery {
	max-width: 1080px;
	margin: 0 auto 30px;
}

.editor-styles-wrapper .wp-block-gallery.is-style-min-width-gallery {
	max-width: 960px;
}

.editor-styles-wrapper .wp-block-gallery.is-style-full-width-gallery {
	max-width: fit-content;
	padding: 0 10px;
}

.editor-styles-wrapper .wp-block-columns,
.editor-styles-wrapper .wp-block-media-text {
	max-width: 1080px;
	margin: 0 auto 30px;
}

.editor-styles-wrapper .is-style-min-width-media-text,
.editor-styles-wrapper .wp-block-columns.is-style-min-width-col {
	max-width: 960px;
}

.editor-styles-wrapper .wp-block-columns p,
.editor-styles-wrapper .wp-block-media-text p {
	margin: 0 0 30px;
}

.editor-styles-wrapper blockquote.wp-block-quote::before {
	font-family: icomoon, sans-serif;
}

.editor-styles-wrapper .wp-block-quote {
	margin-left: 0;
}

.editor-styles-wrapper .wp-block-details {
	max-width: 960px;
	margin: 0 auto 10px;
}

.editor-styles-wrapper .wp-block-details summary {
	margin-bottom: 15px;
	font-style: italic;
	opacity: 0.5;
}

.editor-styles-wrapper .wp-block-details p {
	margin-bottom: 15px !important;
	padding-left: 17px;
}

.editor-styles-wrapper .wp-block-separator.is-style-dots {
	line-height: 0;
	padding-top: 14px;
}

.editor-styles-wrapper .wp-block-separator.is-style-dots::before {
	content: "***";
	font-size: 28px;
	letter-spacing: 6px;
	color: #666;
}

@media (max-width: 1200px) {
	.editor-styles-wrapper .wp-block-heading:not(.is-style-perun-heading-classic) {
		padding: 0 30px;
	}

	.editor-styles-wrapper .wp-block-gallery,
	.editor-styles-wrapper .wp-block-columns,
	.editor-styles-wrapper .wp-block-media-text,
	.editor-styles-wrapper .wp-block-details {
		margin-left: 30px;
		margin-right: 30px;
	}
}

@media (max-width: 768px) {
	.editor-styles-wrapper {
		padding: 15px;
		font-size: 18px;
	}

	.editor-styles-wrapper .wp-block-heading:not(.is-style-perun-heading-classic) {
		padding: 0 15px;
	}

	.editor-styles-wrapper .wp-block-heading.is-style-perun-heading-classic {
		font-size: 21px;
	}

	.editor-styles-wrapper .wp-block-gallery,
	.editor-styles-wrapper .wp-block-columns,
	.editor-styles-wrapper .wp-block-media-text,
	.editor-styles-wrapper .wp-block-details {
		margin-left: 15px;
		margin-right: 15px;
	}

	.editor-styles-wrapper .wp-block-columns,
	.editor-styles-wrapper .wp-block-media-text {
		gap: 0;
	}

	.editor-styles-wrapper .wp-block-image .wp-element-caption {
		margin: 0 15px;
		bottom: 15px;
		font-size: 16px;
	}
}
