/**
 * Special projects block (section_special_projects).
 * Reuses the case card + head from home/cases.css; pink accents and a Splide
 * slider with arrows in the title row (same arrows as "Читайте також").
 */

.special-projects__more {
	color: var(--color-pink);
}

.special-projects__arrows {
	display: flex;
	flex-shrink: 0;
	gap: 10px;
	margin-left: auto;
}

.special-projects .splide__arrow {
	position: static;
	transform: none;
	width: 40px;
	height: 40px;
	background: var(--color-pink);
	border-radius: 50%;
	opacity: 1;
	transition:
		background-color var(--transition-hover),
		opacity var(--transition-hover);
}

.special-projects .splide__arrow svg {
	width: 15px;
	height: 15px;
	fill: var(--color-white);
}

.special-projects .splide__arrow--prev svg {
	transform: scaleX(-1);
}

.special-projects .splide__arrow:hover:not(:disabled) {
	background: #d80063;
}

.special-projects .splide__arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

/* Card fills the full slide height. */
.special-projects .splide__slide .case-card {
	height: 100%;
}

@media (max-width: 767px) {
	.special-projects .splide__arrow {
		width: 34px;
		height: 34px;
	}

	.special-projects .splide__arrow svg {
		width: 13px;
		height: 13px;
	}
}

/* Narrow phones: the title row can't fit mark + title + link arrow + two
   buttons — scroll by swipe there (the next card peeks in). */
@media (max-width: 479px) {
	.special-projects__arrows {
		display: none;
	}
}
