/* Carousel Container */
.ecc-carousel {
	overflow: hidden;
	position: relative;
	padding: 0;
	width: calc(100% - 60px);
	margin-left: auto;
  margin-right: auto;
}

/* Carousel Slide */
.ecc-category-slide {
    width: 300px;
    height: 290px;
    margin-right: 70px;
    background-color: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    border-radius: 52px;
    border: 1px solid #000;    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Geometric Pattern Border (Optional) */


/* Image Styling */
.ecc-category-image {
    width: 100%;
    height: 205px;
    overflow: hidden;
	border-radius: 52px 52px 0px 0px;
border: 2px solid #000;
}

.ecc-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Content Styling (Bottom Section) */
.ecc-category-content {
	text-align: center;
	background-color: #ffffff;
	border-top: 2px solid #e0e0e0;
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
}

/* Title and Link Styling */
.ecc-category-title {
    font-size: 21px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
    display: block;
    line-height: 1.2;
}

.ecc-category-title a {
	text-decoration: none;
	color: #000000;
	display: block;
	z-index: 10;
	cursor: pointer;
	margin-bottom: 5px;
}

.ecc-category-title a:hover {
    text-decoration: underline;
    color: #0073aa;
}

/* Count Styling (Second Line) */
.ecc-category-count {
	font-size: 20px;
	color: #000;
	display: block;
	font-weight: normal;
}

.ecc-category-slide:hover img {
  transform: scale(1.0) !important;
}
.ecc-category-slide:hover {
  transform: scale(1.0) !important;
}

.slick-arrow {
	border: none;
	padding: 1px;
	cursor: pointer;
	display: flex; /* Ensure SVG is inside */
	align-items: center;
	justify-content: center;
	width: 57px;
	height: 57px;
	border-radius: 50%;
	position: absolute;
	z-index: 5;
	color: #004A31;
	background-color: #FFFFFF;
	filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.25));
}
.slick-arrow:hover, .slick-arrow:focus {
	background-color: #FFFFFF;
}
.slick-prev
{
	left: -40px;
}
.slick-next 
{
	right: 100px;
}
.slick-arrow svg {
    width: 33px;  /* Adjust size */
    height: 33px;
    fill: #004A31; /* Make sure SVG is visible */
}

.carousel-buttons
{
	position: absolute;
	top: 50%;
	width: 100%;
}


/* Responsive Design */
@media (max-width: 768px) {
    .ecc-category-slide {
        width: 250px;
        height: 350px;
        margin-right: 35px;
    }
    .ecc-category-image {
        height: 250px;
    }
    .ecc-category-title {
        font-size: 20px;
    }
    .ecc-category-count {
        font-size: 14px;
    }
.slick-prev
{
	left: 25px;
}
.slick-next 
{
	right: 45px;
}
}

@media (max-width: 480px) {
	.slick-initialized .slick-slide{
		margin-right:40px !important;
        margin-left:20px !important;
	}
    .ecc-category-slide {
        width: 200px;
        height: 300px;
        margin-right: 20px;
    }
    .ecc-category-image {
        height: 200px;
    }
    .ecc-category-title {
        font-size: 18px;
    }
    .ecc-category-count {
        font-size: 12px;
    }
}

.ecc-carousel .slick-track {
    display: flex !important;
    flex-wrap: nowrap !important;
}
.ecc-carousel .slick-slide {
    float: none !important;
    height: auto;
}
