/* Hide slideshow arrows completely */
.no-arrows-slider .wp-block-jetpack-slideshow_button-next,
.no-arrows-slider .wp-block-jetpack-slideshow_button-prev,
.no-arrows-slider .swiper-button-next,
.no-arrows-slider .swiper-button-prev {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Position dots over image */
.no-arrows-slider .wp-block-jetpack-slideshow_pagination {
	position: absolute !important;
	bottom: 15px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	width: fit-content !important;
	margin: 0 !important;
	padding: 6px 10px !important;
	z-index: 20 !important;
}

span[id^="sharing-"][hidden] {
	display: none !important;
}

div#actionbar {
	display: none !important;
}

@media (min-width: 768px) {
	.why-choose-us {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
}

.custom-section {
	width: 100%;
	overflow: hidden;
	text-align: left;
}

/* Контейнер для колонок */
.custom-container {
	display: flex;
	gap: 30px;
	transition: transform .3s ease-in-out;
}

/* Границы для колонок (уменьшенная высота) */
.custom-item {
	padding-left: 20px;
	max-width: 400px;
	position: relative;
	flex-shrink: 0;
/* Запрещаем сжиматься */
	box-sizing: border-box;
	width: 100%;
/* По умолчанию занимает всю ширину родителя */
}

.custom-item::before {
	content: "";
	position: absolute;
	top: 15%;
	bottom: 15%;
	left: 0;
	width: 1px;
	background-color: #fff;
	opacity: .5;
/* Делаем границу более универсальной */
}

@media (min-width: 1024px) {
	.custom-item {
		flex: 1 1 calc(33.333% - 20px);
	}
}

@media (max-width: 1023px) and (min-width: 768px) {
	.custom-item {
		flex: 1 1 calc(50% - 20px);
	}
}

@media (max-width: 767px) {
	.custom-container {
		display: flex;
		overflow-x: auto;
	/* Горизонтальная прокрутка */
	/* Удобный скроллинг */
		gap: 20px;
	/* Добавляем расстояние между карточками */
		padding-bottom: 10px;
	/* Немного отступа для удобства */
	}
	
	.custom-container::-webkit-scrollbar {
		display: none;
	/* Скрываем стандартный скроллбар */
	}
	
	.custom-item {
		min-width: 90%;
	/* Элементы занимают почти всю ширину экрана */
		flex-shrink: 0;
	/* Не позволяют элементам сжиматься */
		scroll-snap-align: start;
	/* Фиксируем позиции при скролле */
		padding: 15px;
	/* Добавляем паддинги для предотвращения наложения */
		box-sizing: border-box;
		white-space: normal;
	/* Позволяет тексту переноситься */
		word-wrap: break-word;
	/* Разрешаем перенос длинных слов */
		overflow: hidden;
	/* Предотвращаем выход текста за границы */
		text-align: left;
	/* Выравниваем текст по левому краю */
	}
}

a, 
a:hover, 
a:focus, 
a:active, 
a:visited, 
a:focus-visible, 
a:focus-within {
	outline: none !important;
	border: none !important;
	box-shadow: none !important;
}

span, 
span:hover, 
span:focus, 
span:active, 
span:focus-visible, 
span:focus-within {
	outline: none !important;
	border: none !important;
	box-shadow: none !important;
}

span {
	font-size: 32px;
	display: inline-block;
	line-height: 1.5;
}

button, 
button:hover, 
button:focus, 
button:active, 
button:disabled, 
button:focus-visible, 
button:focus-within {
	outline: none !important;
	border: none !important;
	box-shadow: none !important;
}

@media (min-width: 768px) {
	.hide_image_768 {
		display: none;
	}
}

.image_gradient {
	position: relative;
	width: 100%;
	height: auto;
/* Градиентная маска для эффекта исчезновения */
	-webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
	mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
/* Анимация */
	animation: gradientFade 3s infinite alternate;
}

/* Анимация движения градиента */
@keyframes gradientFade {
	0% {
		-webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
		mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
	}
	
	100% {
		-webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 100%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 0%);
		mask-image: linear-gradient(90deg, rgba(0,0,0,0) 100%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 0%);
	}
}

.text_shine {
	font-size: inherit;
	font-weight: inherit;
	color: transparent;
	background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.2));
	background-size: 200% 100%;
	background-clip: text;
	-webkit-background-clip: text;
	animation: textGlare 3s infinite linear;
}

@keyframes textGlare {
	0% {
		background-position: -100% 0;
	}
	
	100% {
		background-position: 100% 0;
	}
}

.image_hover {
	transition: opacity .3s ease-in-out;
}

.image_hover:hover {
	opacity: .5;
}

@media (max-width: 767px) {
	.custom-image-mobile img {
		content: url('https://goodgirlsevent.com/wp-content/uploads/2025/03/private-events-mobile.png');
	}
}

.custom_button {
	width: 170px;
	height: 50px;
}

button.wp-block-navigation__responsive-container-open.always-shown {
	text-transform: uppercase;
}

@media (max-width: 767px) {
	.wp-block-columns, .custom-header {
		padding-left: 15px !important;
		padding-right: 15px !important;
		box-sizing: border-box;
	}
}

.custom-hover-services {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	position: relative;
}

.custom-hover-services::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #440b15;
	opacity: .7;
	transition: opacity .3s ease-in-out;
	z-index: 1;
	pointer-events: none;
}

.custom-hover-services:hover::before {
	opacity: 0;
}

.custom-hover-services a,
.custom-hover-services p {
	position: relative;
	z-index: 2;
	color: #fff;
	text-decoration: none;
	width: 100%;
	height: 100%;
}