/**
 * Gutenberg block content styling for Dreamtime templates.
 */

.dreamtime-editor-content {
	width: 100%;
	float: left;
	padding-top: 80px;
	padding-bottom: 80px;
	background: #fff;
	color: #666;
	font-family: 'Merriweather Sans', sans-serif;
	font-size: 18px;
	line-height: 1.8;
	font-weight: 300;
}

.dreamtime-editor-content .container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 15px;
	padding-right: 15px;
}

.dreamtime-editor-content__inner {
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
}

.dreamtime-editor-content > .container > .dreamtime-editor-content__inner > :first-child {
	margin-top: 0;
}

.dreamtime-editor-content > .container > .dreamtime-editor-content__inner > :last-child {
	margin-bottom: 0;
}

.dreamtime-editor-content p,
.dreamtime-editor-content .wp-block-paragraph {
	margin: 0 0 1.4em;
	color: #666;
	font-size: 18px;
	line-height: 1.8;
	font-weight: 300;
}

.dreamtime-editor-content h1,
.dreamtime-editor-content h2,
.dreamtime-editor-content h3,
.dreamtime-editor-content h4,
.dreamtime-editor-content h5,
.dreamtime-editor-content h6,
.dreamtime-editor-content .wp-block-heading {
	margin: 0 0 0.75em;
	color: #222;
	font-family: 'Raleway', sans-serif;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.dreamtime-editor-content h1,
.dreamtime-editor-content .wp-block-heading.has-h-1-font-size {
	font-size: 48px;
}

.dreamtime-editor-content h2,
.dreamtime-editor-content .wp-block-heading.has-h-2-font-size {
	font-size: 40px;
}

.dreamtime-editor-content h3,
.dreamtime-editor-content .wp-block-heading.has-h-3-font-size {
	font-size: 28px;
}

.dreamtime-editor-content h4,
.dreamtime-editor-content .wp-block-heading.has-h-4-font-size {
	font-size: 22px;
}

.dreamtime-editor-content h5,
.dreamtime-editor-content h6 {
	font-size: 18px;
}

.dreamtime-editor-content a {
	color: #9b7b58;
	text-decoration: underline;
	transition: color 0.3s ease;
}

.dreamtime-editor-content a:hover {
	color: #7f6244;
}

.dreamtime-editor-content ul,
.dreamtime-editor-content ol,
.dreamtime-editor-content .wp-block-list {
	margin: 0 0 1.5em 1.2em;
	padding: 0;
}

.dreamtime-editor-content li {
	margin-bottom: 0.65em;
}

.dreamtime-editor-content ul li {
	list-style: disc;
}

.dreamtime-editor-content ol li {
	list-style: decimal;
}

.dreamtime-editor-content img,
.dreamtime-editor-content .wp-block-image img {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
}

.dreamtime-editor-content .wp-block-image {
	margin: 0 0 2em;
}

.dreamtime-editor-content .wp-block-image figcaption {
	margin-top: 0.75em;
	font-size: 14px;
	color: #888;
	text-align: center;
}

.dreamtime-editor-content .wp-block-columns {
	gap: 30px;
	margin-bottom: 2em;
}

.dreamtime-editor-content .wp-block-column > :last-child {
	margin-bottom: 0;
}

.dreamtime-editor-content .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0 0 2em;
}

.dreamtime-editor-content .wp-block-button__link,
.dreamtime-editor-content .wp-element-button {
	display: inline-block;
	padding: 16px 32px;
	border-radius: 60px;
	background: #222;
	color: #fff !important;
	font-family: 'Merriweather Sans', sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none !important;
	transition: background 0.3s ease;
}

.dreamtime-editor-content .wp-block-button__link:hover,
.dreamtime-editor-content .wp-element-button:hover {
	background: #000;
	color: #fff !important;
}

.dreamtime-editor-content .wp-block-button.is-style-outline .wp-block-button__link,
.dreamtime-editor-content .wp-block-button.is-style-outline .wp-element-button {
	background: transparent;
	border: 1px solid #d7dde3;
	color: #222 !important;
}

.dreamtime-editor-content .wp-block-button.is-style-outline .wp-block-button__link:hover,
.dreamtime-editor-content .wp-block-button.is-style-outline .wp-element-button:hover {
	background: #f8fafc;
	color: #222 !important;
}

.dreamtime-editor-content .wp-block-separator,
.dreamtime-editor-content hr {
	margin: 2.5em auto;
	border: 0;
	border-top: 1px solid #e5e7eb;
}

.dreamtime-editor-content .wp-block-quote,
.dreamtime-editor-content blockquote {
	margin: 0 0 2em;
	padding: 24px 28px;
	border-left: 4px solid #c7a27c;
	background: #f8fafc;
	border-radius: 0 12px 12px 0;
	color: #444;
}

.dreamtime-editor-content .wp-block-quote cite,
.dreamtime-editor-content blockquote cite {
	display: block;
	margin-top: 0.75em;
	font-size: 14px;
	color: #888;
	font-style: normal;
}

.dreamtime-editor-content .alignwide {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}

.dreamtime-editor-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.page-template-product-1 #collection_editor_content {
	padding-top: 90px;
	padding-bottom: 50px;
}

@media (max-width: 991px) {
	.dreamtime-editor-content {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.dreamtime-editor-content h1,
	.dreamtime-editor-content .wp-block-heading.has-h-1-font-size {
		font-size: 36px;
	}

	.dreamtime-editor-content h2,
	.dreamtime-editor-content .wp-block-heading.has-h-2-font-size {
		font-size: 30px;
	}

	.dreamtime-editor-content h3,
	.dreamtime-editor-content .wp-block-heading.has-h-3-font-size {
		font-size: 24px;
	}

	.dreamtime-editor-content p,
	.dreamtime-editor-content .wp-block-paragraph {
		font-size: 16px;
		line-height: 1.75;
	}

	.dreamtime-editor-content .wp-block-columns {
		flex-direction: column;
	}
}

@media (max-width: 767px) {
	.dreamtime-editor-content h1,
	.dreamtime-editor-content .wp-block-heading.has-h-1-font-size {
		font-size: 28px;
	}

	.dreamtime-editor-content h2,
	.dreamtime-editor-content .wp-block-heading.has-h-2-font-size {
		font-size: 24px;
	}

	.page-template-product-1 #collection_editor_content {
		padding-top: 50px;
		padding-bottom: 30px;
	}
}
