/* Home Video Scroll - center the content blocks so they can be seen when edited */
.block-editor-block-list__block.home-video-scroll__main-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
}

.block-editor-block-list__block.home-video-scroll__main-wrapper .block-library-html__edit {
	min-height: 18rem;
}

.block-editor-block-list__block.home-video-scroll__content {
	opacity: 1 !important;
}

.block-editor-block-list__block.jbg-home-video-scroll {
	display: block !important;
}

/* Slider 3 - makes all blocks visible by overriding the default absolute positioning */
.block-editor-block-list__block.slider-3-pattern__sliders-wrapper .wp-block-create-block-slider-3 {
	position: relative !important;
}

/* Logos Slider - makes all blocks visible by overriding the default absolute positioning */
.block-editor-block-list__block.jbg-logo-slider-1-slides .jbg-logo-slider__logos {
	position: relative !important;
	right: auto !important;
	left: auto !important;
	justify-self: center !important;
}

/* Home Video Mobile - show in editor */
.block-editor-block-list__block.jbg-home-video-mobile {
	display: block !important;
}

.block-editor-block-list__block.jbg-home-video-mobile__content {
	position: relative !important;
	right: auto !important;
	left: auto !important;
	justify-self: center !important;
}

/* FAQ Accordion editor preview */
.jbg-faq-accordion {
	margin: 0 auto 2rem;
	max-width: 943px;
	background: #000;
	padding: 1.5rem;
}

.jbg-faq-accordion-item {
	margin-bottom: 1rem;
	overflow: hidden;
	background: transparent;
}

.jbg-faq-accordion-topic-bar {
	width: 103px;
	height: 10.3px;
	margin: 0 auto 1.5rem;
	background: #fff;
}

.jbg-faq-accordion-topic {
	margin: 0 0 2rem;
	color: #fff;
	text-align: center;
	font-family: Inter, sans-serif;
	font-size: 36px;
	font-style: normal;
	font-weight: 500;
	line-height: 110%;
	letter-spacing: -2px;
}

.jbg-faq-accordion-topic-bar:not(:first-child) {
	margin-top: 128px;
}

.jbg-faq-accordion-topic-group:not(:first-child) {
	margin-top: 128px;
}

.jbg-faq-accordion-topic:not(:first-child) {
	margin-top: 3rem;
}

.jbg-faq-accordion-summary {
	display: flex;
	cursor: pointer;
	padding: 1.25rem 1.5rem;
	color: #fff;
	font-family: Inter, sans-serif;
	font-size: 26px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: -1px;
	list-style: none;
}

.jbg-faq-accordion-summary::-webkit-details-marker {
	display: none;
}

.jbg-faq-accordion-summary::after {
	content: '';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 14px;
	margin-left: auto;
	background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2225%22%20height%3D%2214%22%20viewBox%3D%220%200%2025%2014%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Cpath%20d%3D%22M0.707031%2012.9142L12.207%201.41418L23.707%2012.9142%22%20stroke%3D%22%23E4E4E4%22%20stroke-width%3D%222%22%2F%3E%0A%3C%2Fsvg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	transform: rotate(0deg);
	transition: transform 0.2s ease;
}

.jbg-faq-accordion-item[open] .jbg-faq-accordion-summary::after {
	transform: rotate(180deg);
}

.jbg-faq-accordion-panel {
	padding: 0 1.5rem 1.5rem;
	color: rgba(255, 255, 255, 0.88);
	font-family: Inter, sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
}

.jbg-faq-accordion-panel p:last-child {
	margin-bottom: 0;
}