/* Card Carousel Widget */

.tooto-card-carousel-wrapper {
	width: 100%;
	position: relative;
}

.tooto-card-carousel-container {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.tooto-card-carousel-container .swiper-wrapper {
	display: flex;
}

.tooto-card-carousel-container .swiper-slide {
	width: auto;
	height: auto;
	flex-shrink: 0;
}

/* Card Item */
.tooto-card-carousel-item {
	border-radius: 12px;
	overflow: hidden;
	background-color: #ffffff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.3s ease;
}

.tooto-card-carousel-item:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Card Image */
.tooto-card-image {
	width: 100%;
	overflow: hidden;
	line-height: 0;
	margin-bottom: 32px;
}

.tooto-card-image img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
}

/* Card Body */
.tooto-card-body {
	padding: 20px;
}

.tooto-card-title {
	font-size: 18px;
	font-weight: 700;
	color: #0a2540;
	margin: 0 0 10px 0;
	line-height: 1.4;
}

.tooto-card-description {
	font-size: 14px;
	font-weight: 400;
	color: #555555;
	margin: 0;
	line-height: 1.7;
}

/* Navigation */
.tooto-card-carousel-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 24px;
}

.tooto-card-carousel-nav button.tooto-card-carousel-prev,
.tooto-card-carousel-nav button.tooto-card-carousel-next {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: transparent;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999999;
	transition: all 0.3s ease;
	padding: 0;
	box-shadow: none;
	outline: none;
}

button.tooto-card-carousel-prev:hover,
button.tooto-card-carousel-next:hover {
	border-color: #0a2540;
	color: #0a2540;
}

button.tooto-card-carousel-prev:active,
button.tooto-card-carousel-next:active {
	transform: scale(0.95);
}

button.tooto-card-carousel-prev svg,
button.tooto-card-carousel-next svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
	.tooto-card-body {
		padding: 16px;
	}

	.tooto-card-title {
		font-size: 16px;
	}

	.tooto-card-description {
		font-size: 13px;
	}
}

/* Responsive - Mobile */
@media (max-width: 767px) {
	.tooto-card-carousel-nav {
		display: none;
	}

	button.tooto-card-carousel-prev,
	button.tooto-card-carousel-next {
		display: none;
	}

	button.tooto-card-carousel-prev svg,
	button.tooto-card-carousel-next svg {
		width: 40px;
		height: 40px;
	}

	.tooto-card-body {
		padding: 14px;
	}

	.tooto-card-title {
		font-size: 15px;
		margin-bottom: 6px;
	}

	.tooto-card-description {
		font-size: 13px;
		line-height: 1.6;
	}
	.tooto-card-image {
		margin-bottom: 16px;
	}
}
