.dzs-carousel {
	position: relative;
	width: 100%;
}

.dzs-carousel *,
.dzs-carousel *::before,
.dzs-carousel *::after {
	box-sizing: border-box;
}

.dzs-carousel__viewport {
	overflow: hidden;
	padding-right: 56px;
}

.dzs-carousel__track {
	display: flex;
	cursor: grab;
	gap: 10px;
	transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}

.dzs-card {
	flex: 0 0 270px !important;
	width: 270px !important;
	max-width: 270px !important;
}

.dzs-card__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex;
	min-height: 400px !important;
	height: 400px !important;
	padding: 20px 20px 10px 20px;
	border-radius: 30px;
	background: linear-gradient(
		to bottom,
		rgba(68, 68, 68, 1),
		rgba(68, 68, 68, 0.5)
	);
	overflow: hidden;
	transition: all 0.3s ease;
}

.dzs-card__category {
	display: block;
	margin: 0 0 12px;
	text-align: right;
	font-family: "Poppins", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.5px;
	color: #ff6600;
	transition: all 0.3s ease;
}

.dzs-card__title-wrap {
	margin: 0;
	padding: 0;
}

.dzs-card__title-link {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	padding-top: 15px;
	text-decoration: none !important;
	text-transform: uppercase;
	font-family: "Poppins", sans-serif;
	font-weight: 900;
	font-size: 30px !important;
	line-height: 1;
	letter-spacing: -1px;
	background-image: linear-gradient(
		to bottom,
		rgba(255,255,255,0.3),
		rgba(255,255,255,0.99)
	);
	background-size: 100%;
	-webkit-background-clip: text;
	-moz-background-clip: text;
	-webkit-text-fill-color: transparent;
	-moz-text-fill-color: transparent;
	transition: all 0.3s ease;
}

.dzs-card__title-link:hover,
.dzs-card__title-link:focus {
	background-image: linear-gradient(#fff, #fff) !important;
	text-decoration: none !important;
	outline: none;
}

.dzs-card__title-line {
	display: block;
}

.dzs-card__icon-link {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	align-self: flex-end;
	margin-top: auto;
	margin-bottom: 10px;
	text-decoration: none !important;
}

.dzs-card__icon-link:hover,
.dzs-card__icon-link:focus {
	text-decoration: none !important;
	outline: none;
}

.dzs-card__icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.dzs-card__icon-wrap svg {
	width: 3em;
	height: 3em;
	display: block;
}

.dzs-card__icon-wrap svg path {
	fill: rgba(255,255,255,0.7);
	transition: fill 0.3s ease;
}

/* HOVER - identicna logika kao postojeci blok */
.dzs-card__inner:hover {
	background: linear-gradient(
		to bottom,
		rgba(68, 68, 68, 1),
		rgba(68, 68, 68, 1)
	);
}

.dzs-card__inner:hover .dzs-card__title-link {
	background-image: linear-gradient(#ddd, #eee) !important;
	letter-spacing: -0.7px !important;
}

.dzs-card__inner:hover .dzs-card__category {
	letter-spacing: 0px !important;
}

.dzs-card__inner:hover .dzs-card__icon-wrap svg path {
	fill: #eee !important;
}

.dzs-card__inner:hover .dzs-card__title-link:hover {
	background-image: linear-gradient(#fff, #fff) !important;
}

.dzs-card__inner:hover .dzs-card__icon-link:hover svg path {
	fill: #fff !important;
}

.dzs-card a {
	text-decoration: none !important;
}

.dzs-carousel__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 999px;
	background: rgba(26, 26, 26, 0.65);
	cursor: pointer;
	transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.dzs-carousel__nav:hover {
	/*transform: translateY(-50%) scale(1.03);*/
	background: rgba(26, 26, 26, 1);
}

.dzs-carousel__nav:focus {
	outline: none;
}

.dzs-carousel__nav::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 12px;
	border-top: 2px solid #ffffff;
	border-right: 2px solid #ffffff;
}

.dzs-carousel__nav--prev {
	left: 0px;
}

.dzs-carousel__nav--prev::before {
	transform: translate(-38%, -50%) rotate(-135deg);
}

.dzs-carousel__nav--next {
	right: 0px;
}

.dzs-carousel__nav--next::before {
	transform: translate(-62%, -50%) rotate(45deg);
}

.dzs-carousel__nav.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.dzs-carousel__nav.is-visible {
	opacity: 1;
	visibility: visible;
}

.dzs-carousel.is-dragging .dzs-carousel__track {
	cursor: grabbing;
}

.dzs-carousel.is-dragging .dzs-card__title-link,
.dzs-carousel.is-dragging .dzs-card__icon-link {
	pointer-events: none;
}

/*@media (max-width: 767px) {
	.dzs-carousel__viewport {
		padding-right: 44px;
	}

	.dzs-card {
		flex: 0 0 350px;
		width: 350px;
		max-width: 350px;
	}

	.dzs-card__inner {
		min-height: 210px;
		height: 210px;
		padding: 20px 20px 10px 20px;
		border-radius: 30px;
	}

	.dzs-card__title-link {
		font-size: clamp(18px, 5.2vw, 30px);
	}

	.dzs-card__icon-wrap svg {
		width: 3em;
		height: 3em;
	}

	.dzs-carousel__nav {
		width: 44px;
		height: 44px;
	}

	.dzs-carousel__nav--next {
		right: -2px;
	}
}*/
.dzs-filter {
	position: relative;
	display: block;
	width: fit-content;
	margin: 0 auto 32px auto;
	z-index: 20;
}

.dzs-filter__button {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-width: 170px;
	border: 0;
	cursor: pointer;
}

.dzs-filter__arrow {
	position: relative;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	margin-left: auto;
	transition: transform 0.25s ease;
}

.dzs-filter__arrow::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 43%;
	width: 7px;
	height: 7px;
	border-right: 1.6px solid rgba(255,255,255,0.85);
	border-bottom: 1.6px solid rgba(255,255,255,0.85);
	transform: translate(-50%, -50%) rotate(45deg);
}

.dzs-filter.is-open .dzs-filter__arrow {
	transform: rotate(180deg);
}

.dzs-filter__dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	transform: translate(-50%, -6px);
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 170px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: all 0.25s ease;
}

.dzs-filter.is-open .dzs-filter__dropdown {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.dzs-filter__dropdown button {
	width: 100%;
	text-align: left;
	border: 0;
	cursor: pointer;
}

.dzs-filter-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 auto 32px auto;
}

.dzs-filter-buttons button {
	border: 0;
	cursor: pointer;
}

.dzs-filter-buttons button.is-active::before,
.dzs-filter__dropdown button.is-active::before {
	background: rgba(102, 102, 102, 0.35);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

/* animacija kartica pri filtriranju */
.dzs-card {
	transition:
		opacity 0.28s ease,
		transform 0.28s ease;
}

.dzs-card.is-filter-fading {
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
}

.dzs-card.is-filter-hidden {
	display: none !important;
}
.dzs-filter__button {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 170px;
}

.dzs-filter__arrow {
	margin-left: auto;
}
/* Service row link cleanup - 13 services */
.rows .service-columns .dzs-card__title-link {
  display: inline-block;
  color: inherit;
  text-decoration: none !important;
}

.rows .service-columns .dzs-card__title-link:hover,
.rows .service-columns .dzs-card__title-link:focus {
  color: inherit;
  text-decoration: none !important;
}

@media (min-width: 1024px) {
  .rows .service-columns {
    min-height: 230px;
  }
}

@media (max-width: 767px) {
  .rows .service-columns {
    min-height: 180px;
  }
}