.gutenberg.module-banner {
	/* color: var(--white-color); */
	color: #26333C;
	container: module-banner/inline-size;
	background-size: cover !important;
	
	max-width: 1350px;
	margin: 0 auto;
	
	

}
.module-banner__wrapper{
	background: #fff;
	padding: 100px 0 50px 0;
}
.gutenberg.module-banner .container {
	width: 100%;
}

.gutenberg.module-banner .ratesCalculator .container{
	width: var(--container-width) !important;
}
.gutenberg.module-banner > .inner {
	/* padding: 70px 0 107px; */
	background-color: #A5CEFF ;
	padding: 40px 85px;
	border-radius: 20px;
}

.gutenberg.module-banner .title {
	margin-bottom: 3.125rem;
	text-align: center;
	justify-content: center;
}

.gutenberg.module-banner .title > * {
	text-align: inherit;
}

.gutenberg.module-banner :where(h2, h3, h4, h5, h6) {
	color: #26333C;
}

.gutenberg.module-banner .module-content-wrapper {
	display: flex;
	align-items: center;
	/* gap: 160px; */
	/* gap: 12.593%; */
	gap: 30px;
	align-items: center;
}

.gutenberg.module-banner .media {
	width: 100%;
	flex: 1 1 50%;
	aspect-ratio: 750/470;
	position: relative;
	/* 620/1270 */
	border-radius: 20px;
	overflow: hidden !important;
}

.gutenberg.module-banner .media :is(.sound, .play) {
	position: absolute;
	z-index: 10;
}
.gutenberg.module-banner .media[data-media-type="video_yt"] :is(.sound, .play) {
	display: none;
}
.gutenberg.module-banner .media .sound {
	bottom: 20px;
	right: 20px;
	color: rgb(255 255 255 / 70%);
	width: 42px;
	height: auto;
}
.gutenberg.module-banner .media .sound:not(.active) .sound-on {
	display: none;
}
.gutenberg.module-banner .media .sound.active .sound-off {
	display: none;
}
.gutenberg.module-banner .media .play {
	top: 50%;
	left: 50%;
	translate: -50% -50%;
}
.gutenberg.module-banner .media.active .play {
	display: none;
}

.gutenberg.module-banner .media :is(.picture, picture, img, video, iframe) {
	/* max-width: 100%;
	height: auto; */
	width: 100% !important;
	height: 100% !important;
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover !important;
}

.gutenberg.module-banner .media iframe {
	border: none; /* Ensures no border around the iframe */
}

.gutenberg.module-banner .content-inner-wrapper {
	flex: 1 1 50%;
	/* align-self: stretch; */
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.gutenberg.module-banner .content-inner-wrapper  .content-wrap{
	max-width: 500px;
}
.gutenberg.module-banner p{
	font-family: Montserrat;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
}

.gutenberg.module-banner .content-title {
	margin-bottom: 12px;
	/* max-height: 5rem; */
	overflow: hidden;
	flex-shrink: 0;
	
}
.gutenberg.module-banner .content-title h3{
	color: #26333C;
	font-family: Montserrat;
	font-size: 26px;
	font-style: normal;
	font-weight: 600;
	line-height: 36px; /* 138.462% */
	letter-spacing: 0.26px;
}
.gutenberg.module-banner .content {
}

.gutenberg.module-banner .content-inner-wrapper:has(.limit-text) {
	max-height: 420px;
}
.gutenberg.module-banner .content.limit-text {
	max-height: calc(100% - 13rem);
	overflow-y: auto;
}

.gutenberg.module-banner .content::-webkit-scrollbar-thumb {
	background: var(--white-color);
}

.gutenberg.module-banner .links {
	display: flex;
	flex-direction: column;
	gap: 1.875rem;
	margin-top: auto;
}
.gutenberg.module-banner .links .btn{
	width: max-content;
}

.gutenberg.module-banner .links:has(> *) {
	margin-top: 2.5rem;
}

.gutenberg.module-banner .unavailable {
	display: flex;
	gap: 8px;
	align-items: center;
	color: var(--white-color);
	order: -1;
}

.gutenberg.module-banner .unavailable h4 {
	color: inherit;
}

.gutenberg.module-banner .unavailable svg {
	/* width: 50px; */
	width: 34px;
	height: auto;
}

/* ------------------------------------
----------- Rates calc block ----------
---------------------------------------*/
.gutenberg.module-banner .ratesCalculator {
	background: var(
		--Green-gradient,
		linear-gradient(154deg, #7ac4a5 0%, #58af8a 100.15%)
	);
	background-size: cover;
	background-position: right bottom;
	padding-block: 85px 91px;
	color: var(--text-color);
	border-radius: 40px;
}
.gutenberg.module-banner .ratesCalculator_header {
	text-align: center;
	margin: 0 auto 79px;
	color: var(--white-color);
	padding: 0;
	max-width: 1010px;
}
.gutenberg.module-banner .title_title {
	color: var(--white-color);
	white-space: pre-line;
	margin-bottom: 16px;
	text-align: center;
}
.gutenberg.module-banner .ratesCalculator_header .richtext_richtext {
	text-align: center;
	font-weight: 500;
	line-height: 24px;
}
.gutenberg.module-banner .ratesCalculator_content {
	/* padding: 94px 130px 68px; */
	padding: 94px 10.237% 68px;
	border-radius: 20px;
	background: linear-gradient(51deg, #f7fbfb 37.46%, #bfdcde 67.24%);
	position: relative;
	z-index: 0;
}
.gutenberg.module-banner .ratesCalculator_slider {
	position: relative;
	width: 100%;
	height: 0.625rem;
	background: #d8d8d8;
	margin: 0 0 47px;
	border-radius: 0.3125rem;
}
.gutenberg.module-banner .ratesCalculator_slider__fill {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	overflow: hidden;
	background: #fff;
	border-radius: 20px;
}
.gutenberg.module-banner .ratesCalculator_slider__fill div {
	width: 100%;
	height: 100%;
	transform: scaleX(0.5) translateZ(0px);
	/* background: var(--color-primary-electrique); */
	transform-origin: 0 50%;
	border-radius: 20px;
	background: var(
		--Logo,
		linear-gradient(
			269deg,
			#82ccb3 4.52%,
			#6cb9a8 12.42%,
			#489997 27.39%,
			#2d828a 41.4%,
			#1e7483 53.94%,
			#186f80 63.75%
		)
	);
}
.gutenberg.module-banner .ratesCalculator_slider__handle {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(-50%, -50%);
	width: 45px;
	height: 45px;
	border-radius: 50%;
	border: 12px solid #fff;
	box-shadow: 4px 4px 3px 0 rgba(0, 0, 0, 0.1);
	background: #278983;
	z-index: 2;
	cursor: -webkit-grab;
	cursor: grab;
}
.gutenberg.module-banner .ratesCalculator_slider__tooltip {
	position: absolute;
	bottom: calc(100% + 40px);
	left: 50%;
	padding: 20px 16px;
	text-align: center;
	transform: translateX(-50%);
	box-shadow: 4px 4px 3px 0 rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	background: var(--white-color);
	color: var(--title-color);
	font-size: 16px;
	font-weight: 500;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}
.gutenberg.module-banner .ratesCalculator_slider__tooltip:after {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	border-width: 0px;
	border-color: white transparent transparent transparent;
	border-style: solid;
	border-radius: 0px 0px 3px 0px;
	position: absolute;
	left: 50%;
	top: 100%;
	transform: translate(-50%, -50%) skew(0deg, 0deg) rotate(45deg);
	background: white;
}
.gutenberg.module-banner .ratesCalculator_slider__tooltip span,
.gutenberg.module-banner .ratesCalculator_slider__tooltip strong {
	white-space: nowrap;
	font-weight: 500;
	line-height: 1.5;
}
.gutenberg.module-banner .ratesCalculator_slider__tooltip strong {
	color: #278983;
	font-size: 28px;
	line-height: normal;
}
.gutenberg.module-banner .ratesCalculator_content__cols {
	display: grid;
	grid-template-columns: repeat(3, 240px);
	gap: 30px;
	justify-content: space-between;
}
.gutenberg.module-banner .ratesCalculator_content__col {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	max-width: 240px;
}
.gutenberg.module-banner .ratesCalculator_content__col .richtext_richtext {
	margin-bottom: 1.5rem;
	text-align: center;
}
.gutenberg.modules-banner
	.ratesCalculator_content__col:last-child
	.richtext_richtext {
	color: #278983;
}
.gutenberg.module-banner .ratesCalculator_content__col > strong {
	display: block;
	margin-top: auto;
	background: var(
		--Logo,
		linear-gradient(
			269deg,
			#82ccb3 4.52%,
			#6cb9a8 12.42%,
			#489997 27.39%,
			#2d828a 41.4%,
			#1e7483 53.94%,
			#186f80 63.75%
		)
	);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-size: 28px;
	white-space: nowrap;
}

.gutenberg.module-banner .ratesCalculator_decor {
	position: absolute;
	z-index: -1;
}
.gutenberg.module-banner .ratesCalculator_decor.left {
	top: 0;
	left: 0;
}
.gutenberg.module-banner .ratesCalculator_decor.right {
	bottom: 0;
	right: 0;
}
.gutenberg.module-banner .ratesCalculator > .container > .button {
	display: flex;
	margin: 40px auto 0;
}

/* @container module-banner (width <= 1279px) {
	.gutenberg.module-banner .module-content-wrapper {
		flex-direction: column !important;
		gap: 40px;
	}
	.gutenberg.module-banner .photo {
		width: 100%;
	}
} */

@media (width<= 1024px) {
	.gutenberg.module-banner{
		padding-left: 15px;
		padding-right: 15px;
	}
	.gutenberg.module-banner .content-inner-wrapper  .content-wrap{
		max-width: 100%;
	}
	.gutenberg.module-banner > .inner{
		padding: 40px 30px ;
	}
	.gutenberg.module-banner .module-content-wrapper {
		flex-direction: column !important;
		gap: 40px;
	}
	.gutenberg.module-banner .photo {
		width: 100%;
	}
	.gutenberg.module-banner .ratesCalculator_content {
		padding-inline: 40px;
	}
	.gutenberg.module-banner .ratesCalculator_slider__tooltip strong {
		font-size: 22px;
	}
	.gutenberg.module-banner .ratesCalculator_content__col > strong {
		font-size: 22px;
	}
	.gutenberg.module-banner .content {
		max-height: initial;
		overflow-y: initial;
	}
	.gutenberg.module-banner .media {
		width: 100%;
	}
}
@container module-banner (width<= 900px) {
	.gutenberg.module-banner .ratesCalculator_content {
		padding: 106px 40px 50px;
		border-radius: 20px;
		background: linear-gradient(60deg, #f7fbfb 27.58%, #bfdcde 62.15%);
	}
	.gutenberg.module-banner .ratesCalculator_slider {
		margin-bottom: 62px;
	}
	.gutenberg.module-banner .ratesCalculator_slider__tooltip strong {
		font-size: 22px;
	}
	.gutenberg.module-banner .ratesCalculator_content__cols {
		grid-template-columns: 1fr;
	}
	.gutenberg.module-banner .ratesCalculator_content__col {
		max-width: 100%;
	}
	.gutenberg.module-banner .ratesCalculator_content__col .richtext_richtext {
		margin-bottom: 1rem;
	}
	.gutenberg.module-banner .ratesCalculator_content__col > strong {
		font-size: 22px;
	}
}

@media (max-width: 767px) {
	.module-banner__wrapper{
		padding: 50px 0 20px 0;
	}
}
@container module-banner (width <= 767px) {
	.module-banner__wrapper{
		padding: 50px 0;
	}
	.gutenberg.module-banner > .inner {
		padding: 30px 15px;
	}

	.gutenberg.module-banner .title {
		margin-bottom: 2.5rem;
	}
	.gutenberg.module-banner .media {
		width: 100%;
	}
	.gutenberg.module-banner .content-inner-wrapper,
	.gutenberg.module-banner .content-title,
	.gutenberg.module-banner .content {
		width: 100%;
		max-height: initial;
	}
	.gutenberg.module-banner .title_title {
		font-size: 30px;
	}
	.gutenberg.module-banner .ratesCalculator_content {
		padding: 106px 40px 50px;
		/* border-radius: 20px;
		background: linear-gradient(60deg, #f7fbfb 27.58%, #bfdcde 62.15%); */
	}
	.gutenberg.module-banner .ratesCalculator_slider__handle {
		width: 33px;
		height: 33px;
		border-width: 9px;
	}
	.gutenberg.module-banner .ratesCalculator_slider__tooltip {
		bottom: calc(100% + 30px);
	}
	.gutenberg.module-banner .ratesCalculator_content__cols {
		gap: 50px 0;
	}
}
