
.wp-block-timeular-blocks-library-teaser-boxes {
	--_gutter: 15px;
	margin: calc(var(--_gutter) * -1) calc(var(--container-inset) - var(--_gutter));
}

.wp-block-timeular-blocks-library-teaser-boxes .section-wrapper {
	display: flex;
	padding: var(--_gutter);
}

.wp-block-timeular-blocks-library-teaser-boxes .buttons-container {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
	padding-top: 30px;
}

@media only screen and (max-width:1196px) {
	.wp-block-timeular-blocks-library-teaser-boxes {
		justify-content: center;
	}
	
	.wp-block-timeular-blocks-library-teaser-boxes .headline {
		align-items: center;
		flex-direction: column;
	}
}

.wp-block-timeular-blocks-library-teaser-boxes .teaser {
	align-items: center;
	aspect-ratio: 1/1;
	background: var(--timeular-midnight-5);
	border-radius: 20px;
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: flex-start;
	margin: 0;
	overflow: hidden;
}

@media only screen and (min-width:818px) and (max-width:1196px) {
	.wp-block-timeular-blocks-library-teaser-boxes .teaser {
		aspect-ratio: unset;
	}
}

@media only screen and (max-width:596px) {
	.wp-block-timeular-blocks-library-teaser-boxes .teaser {
		aspect-ratio: unset;
		height: 500px;
	}
}

.wp-block-timeular-blocks-library-teaser-boxes .teaser .img-container {
	border-radius: 20px;
	bottom: 0;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	overflow: hidden;
	position: absolute;
	width: 100%;
}

.wp-block-timeular-blocks-library-teaser-boxes .teaser .headline {
	align-items: center;
	display: flex;
	flex-direction: column;
	margin-bottom: 10px;
	padding: 50px 50px 0;
	text-align: center;
	width: 100%;
}

.wp-block-timeular-blocks-library-teaser-boxes .teaser .headline .headline-text {
	font-weight: 600;
	margin-bottom: 10px;
	width: 100%;
}

@media only screen and (min-width:818px) and (max-width:1196px) {
	.wp-block-timeular-blocks-library-teaser-boxes .teaser .headline .headline-text {
		font-size: 18px;
	}
	
	.wp-block-timeular-blocks-library-teaser-boxes .teaser .headline p {
		font-size: 16px;
	}
}

.wp-block-timeular-blocks-library-teaser-boxes.no-aspect .teaser {
	aspect-ratio: unset;
}

@media only screen and (min-width:818px) and (max-width:1196px) {
	.wp-block-timeular-blocks-library-teaser-boxes .row {
		flex-wrap: nowrap;
	}
}

@media only screen and (max-width:360px) {
	.wp-block-timeular-blocks-library-teaser-boxes .teaser .headline>p {
		font-size: 16px;
	}
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .row {
	flex-wrap: nowrap;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .row::-webkit-scrollbar {
	display: none;
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-container {
	flex-wrap: nowrap;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-container::-webkit-scrollbar {
	display: none;
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .section-wrapper {
	min-width: 50%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

@media only screen and (max-width:818px) {
	.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .section-wrapper {
		min-width: 100%;
	}
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-controls {
	align-items: center;
	display: flex;
	gap: 20px;
	justify-content: center;
	padding: 20px 0;
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-controls .scroll-button {
	align-items: center;
	background: var(--timeular-midnight-5);
	border: none;
	border-radius: 4px;
	box-sizing: border-box;
	cursor: pointer;
	display: flex;
	height: 48px;
	justify-content: center;
	outline: 2px solid transparent;
	outline-offset: 2px;
	padding: 8px;
	transition: all .2s ease;
	width: 48px;
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-controls .scroll-button:hover:not(.disabled) {
	background: var(--timeular-midnight-80);
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-controls .scroll-button:focus {
	outline-color: var(--timeular-lavendar);
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-controls .scroll-button:focus:not(:focus-visible) {
	outline: none;
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-controls .scroll-button:active:not(:disabled) {
	background: var(--timeular-midnight-20);
	transform: scale(.95);
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-controls .scroll-button:disabled {
	opacity: .3;
	pointer-events: none;
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-controls .scroll-button .arrow-left, .wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-controls .scroll-button .arrow-right {
	border: solid var(--timeular-midnight);
	border-width: 0 2px 2px 0;
	display: inline-block;
	padding: 4px;
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-controls .scroll-button .arrow-left {
	transform: translateX(2px) rotate(135deg);
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-controls .scroll-button .arrow-right {
	transform: translateX(-2px) rotate(-45deg);
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-controls .scroll-indicators {
	display: flex;
	gap: 8px;
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-controls .scroll-indicators .indicator {
	all: unset;
	background: var(--timeular-lavendar-10);
	border-radius: 50%;
	cursor: pointer;
	height: 8px;
	transition: all .2s ease;
	width: 8px;
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-controls .scroll-indicators .indicator:hover {
	transform: scale(1.2);
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-controls .scroll-indicators .indicator:focus {
	outline: revert;
	outline: 2px solid var(--timeular-lavendar);
	outline-offset: 2px;
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-controls .scroll-indicators .indicator[aria-current=page] {
	background: var(--timeular-lavendar);
	transform: scale(1.1);
}

.wp-block-timeular-blocks-library-teaser-boxes[data-scrollable=true] .teaser-boxes-controls .scroll-indicators .indicator[aria-current=page]:hover {
	transform: scale(1.3);
}
