/*SUBCATEGORIES*/
.subcategories,
.category-links {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: stretch;
}

@media (min-width: 768px) {

	.subcategories,
	.category-links {
		grid-template-columns: repeat(2, 1fr);
	}
}

.subcat-item {
	position: relative;
	max-width: 100%;
	width: 100%;
	height: 300px;
	background-size: cover;
	border-radius: 20px;
	padding: 30px;
	text-align: center;
	overflow: hidden;
	margin: 0 auto;
	background-position: center;
	background-size: 100%;
	transition: 0.3s all;
}

.subcat-item:hover {
	background-size: 105%;
}

@media (max-width: 768px) {
	.subcat-item {
		height: 50vw;
	}
}

.title {
	position: absolute;
	font-size: 18px;
	font-weight: bold;
	color: white;
	bottom: 25px;
	text-align: left;
	width: calc(100% - 60px);
	text-transform: uppercase;
}

.title span {
	padding: 5px 10px;
	color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
	.title {
		font-size: 24px;
	}
}

.overlay {
	height: 150px;
	position: absolute;
	width: 100%;
	background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
	bottom: 0px;
	left: 0;
}

h3 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	word-wrap: break-word;
}

h3 img {
	width: 25px;
	height: 25px;
}

.category-links {
	margin-top: 100px;
}

.category-link {
	height: 180px;
	border-radius: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 30px;
}

.category-link p {
	font-size: 25px;
	color: white;
}

.category-link a,
.category-link button {
	color: #004996;
	font-size: 12px;
	background-color: white;
	border-radius: 20px;
	padding: 10px 25px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: 0.3s all;
	margin: 0 auto;
}
.category-link a:hover,
.category-link button:hover {
	background-color: rgb(230, 230, 230);
	transform: scale(1.05);
}

.category-link-green {
	background-color: #AFC100;
}

.category-link-blue {
	background-color: #004996;
}

/*GALLERY*/
.gallery {
	width: 100%;
}

.swiper-slide img {
	width: 100%;
	height: 230px;
	border-radius: 20px;
	cursor: pointer;
	object-fit: cover;
	user-select: none;
}

.swiper-button-next::after,
.swiper-button-prev::after {
	display: none;
	content: none;
}

.custom-prev,
.custom-next {
	position: relative;
	z-index: 10;
	cursor: pointer;
	width: 40px;
	height: 40px;
	user-select: none;
}

.custom-prev {
	left: 10px;
	transform: rotate(180deg);
}

.custom-next {
	right: 10px;
}

.custom-prev img,
.custom-next img {
	width: 100%;
	opacity: 1;
	transition: opacity 0.3s ease;
}

.swiper-button-disabled img {
	opacity: 0.3;
	pointer-events: none;
}

.swiper-button-prev,
.swiper-button-next {
	position: static;
}

.arrows {
	width: fit-content;
	display: flex;
	margin-top: 40px;
	margin-bottom: 25px;
	gap: 7px;
}

#lightbox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.8);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

#lightbox-overlay img {
	max-width: 90vw;
	max-height: 90vh;
	border-radius: 20px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
	user-select: none;
	-webkit-user-drag: none;
}

/*SUB SUBKATEGORIE*/
.sub-subcategories {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: stretch;
}

.sub-subcat-item {
	min-height: 550px;
	height: 100%;
	display: flex;
	position: relative;
}

.vertical-title {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.sub-sub-title {
	width: 100%;
	height: 100%;
	padding: 30px 3px;
	text-align: right;
	color: white;
	text-transform: uppercase;
	font-size: 30px;
	display: block;
}

.sub-sub-content {
	display: flex;
	flex-direction: column;
	padding-bottom: 20px;
	width: 100%;
}

.sub-sub-content img {
	width: 100%;
	height: 340px;
	object-fit: cover;
	margin: 0px 10px 30px 10px;
	/* transition: 0.3s all; */
}
/* .sub-sub-content img:hover {
	transform: scale(0.95);
} */

.sub-sub-links {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-left: 35px;
}

.sub-sub-links a {
	display: flex;
	align-items: center;
	font-weight: bold;
	text-decoration: none;
	font-size: 20px;
	transition: 0.3s all;
}
.sub-sub-links a:hover {
	transform: scale(1.03);
}

.sub-sub-links a svg {
	width: 25px;
	height: 25px;
	margin: 0px 0px 0px 10px;
}

@media (min-width: 1000px) {
	.sub-subcategories {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 1000px) {
	.sub-subcat-item {
		min-height: unset;
	}

	.sub-sub-content img {
		height: auto;
	}
}