/* Gutenberg / ACF block overrides */

.wp-block-acf-hero {
	margin: 0 !important;
	max-width: none !important;
}

.wp-block-acf-page-hero {
	margin: 0 !important;
	max-width: none !important;
}

.wp-block-acf-about-intro {
	margin: 0 !important;
	max-width: none !important;
}

.wp-block-acf-about-photo {
	margin: 0 !important;
	max-width: none !important;
}

.wp-block-acf-feature-panel {
	margin: 0 !important;
	max-width: none !important;
}

.wp-block-acf-services-carousel {
	margin: 0 !important;
	max-width: none !important;
}

.wp-block-acf-sticky-cards {
	margin: 0 !important;
	max-width: none !important;
}

.wp-block-acf-plan-trip {
	margin: 0 !important;
	max-width: none !important;
}

.wp-block-acf-plan-event {
	margin: 0 !important;
	max-width: none !important;
}

.wp-block-acf-book-stay,
.wp-block-acf-page-cards {
	margin: 0 !important;
	max-width: none !important;
}

.wp-block-acf-get-in-touch {
	margin: 0 !important;
	max-width: none !important;
}

.wp-block-acf-contact-form {
	margin: 0 !important;
	max-width: none !important;
}

.wp-block-acf-map {
	margin: 0 !important;
	max-width: none !important;
}

.entry-content > .wp-block-acf-hero:first-child,
.entry-content > .wp-block-acf-page-hero:first-child {
	margin-top: 0 !important;
}

.editor-styles-wrapper .rs-hero {
	width: 95%;
	height: auto;
	min-height: 500px;
	border-radius: var(--rs-hero-radius, 24px);
}

.editor-styles-wrapper .rs-page-hero {
	width: 95%;
	height: auto;
	min-height: 420px;
	border-radius: var(--rs-hero-radius, 24px);
}

.editor-styles-wrapper .rs-about-intro {
	width: 95%;
	height: auto;
	min-height: 400px;
	border-radius: var(--rs-hero-radius, 24px);
}

.editor-styles-wrapper .rs-about-photo {
	width: 95%;
	height: auto;
	min-height: 320px;
	border-radius: var(--rs-hero-radius, 24px);
}

.editor-styles-wrapper .rs-about-photo--has-image {
	height: auto;
}

.editor-styles-wrapper .rs-about-photo__media {
	flex: none;
	aspect-ratio: 16 / 9;
	min-height: 220px;
	border-radius: var(--rs-hero-radius, 24px);
	transform: none;
}

.editor-styles-wrapper .rs-feature-panel {
	width: 95%;
	min-height: 280px;
	border-radius: var(--rs-hero-radius, 24px);
}

.editor-styles-wrapper .rs-services {
	width: 95%;
	border-radius: var(--rs-hero-radius, 24px);
}

.editor-styles-wrapper .rs-services__track {
	transform: none !important;
}

.editor-styles-wrapper .rs-services__card {
	flex-basis: 42%;
}

.editor-styles-wrapper .rs-sticky-cards {
	width: 95%;
	border-radius: var(--rs-hero-radius, 24px);
}

.editor-styles-wrapper .rs-sticky-cards__track {
	min-height: 0 !important;
	height: auto !important;
}

.editor-styles-wrapper .rs-sticky-cards__sticky {
	position: static !important;
}

.editor-styles-wrapper .rs-sticky-cards__card--sm,
.editor-styles-wrapper .rs-sticky-cards__card--md,
.editor-styles-wrapper .rs-sticky-cards__card--lg {
	--card-media-h: 275px;
}

.editor-styles-wrapper .rs-plan-trip {
	width: 95%;
	height: auto;
	min-height: 480px;
	border-radius: var(--rs-hero-radius, 24px);
}

.editor-styles-wrapper .rs-plan-trip__media {
	flex: none;
	aspect-ratio: 3 / 4;
	max-height: 280px;
	min-height: 0;
}

.editor-styles-wrapper .rs-plan-event {
	width: 95%;
	height: auto;
	min-height: 480px;
	border-radius: var(--rs-hero-radius, 24px);
}

.editor-styles-wrapper .rs-plan-event__media {
	min-height: 320px;
}

.editor-styles-wrapper .rs-book-stay {
	width: 95%;
	height: auto;
	min-height: 480px;
	border-radius: var(--rs-hero-radius, 24px);
}

.editor-styles-wrapper .rs-book-stay__media {
	min-height: 260px;
	aspect-ratio: 4 / 5;
	height: auto;
}

.editor-styles-wrapper .rs-get-in-touch {
	width: 95%;
	height: auto;
	min-height: 320px;
	border-radius: var(--rs-hero-radius, 24px);
}

.editor-styles-wrapper .rs-contact-form {
	width: 95%;
	height: auto;
	min-height: 360px;
	border-radius: var(--rs-hero-radius, 24px);
}

.editor-styles-wrapper .rs-contact-form__map {
	min-height: 220px;
}

.editor-styles-wrapper .rs-map {
	width: 95%;
	height: 360px;
	min-height: 360px;
	border-radius: var(--rs-hero-radius, 24px);
}

/* Keep scroll-reveal content visible in the block editor */
.editor-styles-wrapper [data-rs-reveal],
.block-editor-block-list__block [data-rs-reveal] {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}
