/**
 * Theme Core - Project Slider styles.
 */
.tcore-project-slider {
	width: 100%;
	overflow: hidden;
}

.tcore-project-slider__wrap {
	position: relative;
	width: 100%;
	overflow: visible;
}

.tcore-project-slider__wrap--has-pagination {
	margin-bottom: 32px;
}

.tcore-project-slider .swiper-wrapper {
	display: flex;
}

.tcore-project-slider__slide {
	flex-shrink: 0;
}

.tcore-project-slider__card {
	position: relative;
	box-sizing: border-box;
	height: 600px;
	overflow: hidden;
	border-radius: 8px;
	background: #111111;
}

.tcore-project-slider__image {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.7s ease;
}

.tcore-project-slider__card:hover .tcore-project-slider__image {
	transform: scale(1.08);
}

.tcore-project-slider__card::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
	content: "";
	pointer-events: none;
}

.tcore-project-slider__content {
	position: absolute;
	right: 24px;
	bottom: 24px;
	left: 24px;
	z-index: 2;
	width: 40%;
	padding: 30px;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.48);
	color: #ffffff;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, -webkit-backdrop-filter 0.35s ease, backdrop-filter 0.35s ease;
}

.tcore-project-slider__title {
	margin: 0 0 8px;
	color: #ffffff;
	transition: color 0.35s ease;
}

.tcore-project-slider__meta {
	margin-bottom: 12px;
	font-size: 13px;
	transition: color 0.35s ease;
}

.tcore-project-slider__description {
	margin: 0 0 20px;
	color: #ffffff;
	transition: color 0.35s ease;
}

.tcore-project-slider__button-wrap {
	display: flex;
}

.tcore-project-slider__button {
	--tcore-project-button-duration: 0.6s;
	display: inline-grid;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 12px 20px;
	border: 0;
	border-radius: 4px;
	background: #ffffff;
	color: #111111;
	line-height: 1.2;
	text-decoration: none;
	transition: color var(--tcore-project-button-duration) ease, background-color var(--tcore-project-button-duration) ease, border-color var(--tcore-project-button-duration) ease;
}

.tcore-project-slider__button-content,
.tcore-project-slider__button-clone {
	grid-area: 1 / 1;
	display: block;
	transition: transform var(--tcore-project-button-duration) cubic-bezier(0.22, 1, 0.36, 1);
}

.tcore-project-slider__button-content > span,
.tcore-project-slider__button-clone > span {
	display: block;
}

.tcore-project-slider__button-content {
	transform: translateY(0);
}

.tcore-project-slider__button-clone {
	transform: translateY(-185%);
}

.tcore-project-slider__button:hover,
.tcore-project-slider__button:focus-visible {
	background: #111111;
	color: #ffffff;
}

.tcore-project-slider__button:hover .tcore-project-slider__button-content,
.tcore-project-slider__button:focus-visible .tcore-project-slider__button-content {
	transform: translateY(185%);
}

.tcore-project-slider__button:hover .tcore-project-slider__button-clone,
.tcore-project-slider__button:focus-visible .tcore-project-slider__button-clone {
	transform: translateY(0);
}

.tcore-project-slider__button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.tcore-project-slider__button-content,
	.tcore-project-slider__button-clone {
		transition-duration: 0.3ms;
	}
}

.tcore-project-slider__navigation {
	position: absolute;
	top: -72px;
	right: 0;
	z-index: 4;
	display: flex;
	gap: 8px;
}

.tcore-project-slider__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #2fc3d5;
	color: #123054;
	cursor: pointer;
	transition: color 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
}

.tcore-project-slider__arrow svg {
	width: 16px;
	height: 16px;
	color: inherit;
}

.tcore-project-slider__arrow i {
	font-size: 16px;
	color: inherit;
}

.tcore-project-slider__arrow .e-font-icon-svg,
.tcore-project-slider__arrow .e-font-icon-svg * {
	fill: currentColor;
}

.tcore-project-slider__arrow:hover,
.tcore-project-slider__arrow:focus-visible {
	background: #123054;
	color: #ffffff;
}

.tcore-project-slider__arrow:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.tcore-project-slider__arrow.swiper-button-disabled {
	opacity: 0.45;
	cursor: default;
}

.tcore-project-slider__pagination {
	position: absolute;
	right: 0;
	bottom: -24px;
	left: 0;
	z-index: 4;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.tcore-project-slider__pagination .swiper-pagination-bullet {
	width: 9px;
	height: 9px;
	margin: 0;
	background: #ffffff;
	opacity: 0.5;
}

.tcore-project-slider__pagination .swiper-pagination-bullet-active {
	opacity: 1;
}

@media (max-width: 767px) {
	.tcore-project-slider__content {
		right: 16px;
		bottom: 48px;
		left: 16px;
		width: auto;
		padding: 20px;
	}

	.tcore-project-slider__navigation {
		top: 16px;
		right: 16px;
	}
}
