/* =============================================
   HEAD SLIDER
   ============================================= */
/* ── Превью блоку в редакторі Gutenberg ─────────────────────────────────────*/
.head-slider--preview {
	margin-top: 0 !important;
}

.head-slider {
	position: relative;
	width: 100%;
	height: 668px;
	overflow: hidden;
	margin-top: -77px;
}

/* Slide */
.head-slider__slide {
	position: relative;
	overflow: hidden;
	max-height: 668px;
	min-height: 65vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	outline: none;
	box-shadow: none;
	border: none;
}

/* Background image */
.head-slider__item {
	position: absolute;
	z-index: 1;
	inset: 0;
}

.head-slider__item::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgb(0 0 0 / 40%), transparent);
}

.head-slider__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
}

.head-slider__content {
	position: relative;
	z-index: 10;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 0;
	max-width: 100%;
}

.head-slider__title {
	font-family: 'Days One', sans-serif;
	font-weight: 400;
	font-size: 24px;
	text-transform: uppercase;
	color: #ffffff;
	margin-bottom: 15px;
}

.head-slider__content.head-slider__content--bottom {
	justify-content: flex-end;
	padding-bottom: 150px;
}

.head-slider__button {
	padding: 15px 25px;
	background: #77d14d;
	border: none;
	border-radius: 15px;
	box-shadow:
		0 10px 15px -3px rgb(92 92 122 / 20%),
		0 4px 6px -4px rgb(92 92 122 / 20%);
	font-family: 'Days One', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
	text-align: center;
	text-decoration: none;
	width: fit-content;
	cursor: pointer;
	transition: scale 0.3s ease, box-shadow 0.3s ease;
}

.head-slider__button:hover {
	scale: 1.05;
	box-shadow:
		0 10px 15px -3px rgb(119 209 77 / 50%),
		0 4px 6px -4px rgb(119 209 77 / 50%);
}


.head-slider .head-slider__pagination {
	position: absolute;
	left: 50%;
	bottom: 50px;
	z-index: 10;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 15px;
	width: auto;
}

.head-slider .head-slider__pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0;
	background: #fff;
	opacity: 1;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	transition: width 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
}

.head-slider .head-slider__pagination .swiper-pagination-bullet-active {
	width: 20px;
	background: #77d14d;
	border-radius: 3px;
}

@media (min-width: 500px) {
	.head-slider__content {
		align-items: flex-start;
		text-align: left;
		padding-left: 25px;
	}

	.head-slider__content.head-slider__content--bottom {
		align-items: center;
	}
}

@media (min-width: 768px) {
	.head-slider__content {
		padding-left: 50px;
	}

}

@media (min-width: 992px) {

	.head-slider,
	.head-slider__slide {
		height: 90vh;
		max-height: 90vh;
	}

	.head-slider {
		margin-top: -140px;
	}

	.head-slider__title {
		font-size: 36px;
	}

	.head-slider__button {
		padding: 20px 50px;
	}
}

@media (min-width: 1200px) {
	.head-slider__content {
		max-width: 50%;
		margin: 0 auto 0 0;
	}

	.head-slider__content.head-slider__content--bottom {
		margin: 0;
		max-width: 100%;
	}

}

@media (min-width: 1400px) {
	.head-slider__content {
		margin-left: 20%;
	}
}