/* 
 * Plugin Styles 
 * Banner exactly 300x250
 */

.wpcb-carousel-container {
	position: relative;
	width: 100%;
	margin: 20px auto;
	padding: 0 50px;
	box-sizing: border-box;
}

/* On smaller screens, reduce the outer padding to keep arrows closer */
@media (max-width: 767px) {
	.wpcb-carousel-container {
		padding: 0 35px;
	}
}

/* Ensure Swiper container takes full width available */
.wpcb-carousel-container .swiper {
	width: 100%;
	height: auto;
}

/* Slide styling */
.wpcb-carousel-container .wpcb-slide {
	/* The dimensions requested */
	width: 300px !important;
	height: 250px !important;
	flex-shrink: 0; /* Prevents squishing */
	display: flex;
	justify-content: center;
	align-items: center;
	
	/* The transparent rounded border frame */
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	padding: 6px;
	box-sizing: border-box;
	overflow: hidden;
}

.wpcb-carousel-container .wpcb-slide a {
	display: block;
	width: 100%;
	height: 100%;
}

.wpcb-carousel-container .wpcb-banner-image {
	width: 100%;
	height: 100%; /* Take the remaining height inside the padded slide */
	border-radius: 6px;
	object-fit: contain; /* Ajusta a imagem inteira no espaço sem cortar */
	display: block;
}

.wpcb-carousel-container .wpcb-no-image {
	width: 300px;
	height: 250px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #666;
	background-color: #e0e0e0;
	padding: 15px;
	box-sizing: border-box;
}

/* Custom Navigation Buttons */
.wpcb-carousel-container .wpcb-btn-prev,
.wpcb-carousel-container .wpcb-btn-next {
	position: absolute;
	top: 50%;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 20px;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	margin-top: -20px; /* Adjust vertical alignment */
	z-index: 10;
	cursor: pointer;
}

.wpcb-carousel-container .wpcb-btn-prev {
	left: 0;
}

.wpcb-carousel-container .wpcb-btn-next {
	right: 0;
}

.wpcb-carousel-container .wpcb-btn-prev::after,
.wpcb-carousel-container .wpcb-btn-next::after {
	font-size: 20px; /* Smaller icon size */
}

.wpcb-carousel-container .wpcb-btn-prev:hover,
.wpcb-carousel-container .wpcb-btn-next:hover {
	background-color: rgba(0, 0, 0, 0.8);
}
