/* Carousel Wrapper */
.apc-wrapper {
	margin: 20px auto;
	position: relative;
	max-width: calc(96% - 6em);
}

.apc-carousel {
    margin: 0 -10px;
}

/* Carousel Item */
.apc-item {
    padding: 0 10px;
    outline: none;
}

.apc-item-inner {

    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apc-item-inner:hover {
    /* transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); */
}

/* Image */
.apc-item-image {
    overflow: hidden;
    line-height: 0;
}

.apc-item-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.apc-item-image:hover img {
    transform: scale(1.05);
}

/* Content */
.apc-item-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.apc-item-title {
    margin: 0 0 15px 0;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
}

.apc-item-title a {
    /* color: #333; */
    text-decoration: none;
    /* transition: color 0.3s ease; */
}

.apc-item-title a:hover {
    /* color: #2271b1; */
}

.apc-item-text {
    color: #fff;
    margin-bottom: 15px;
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
}

/* Button */
.apc-item-button {
    margin-top: auto;
}

.apc-button {
    display: inline-block;
    padding: 10px 20px;
    background: #2271b1;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 4px;
    transition: background 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.apc-button:hover {
    background: #135e96;
}

/* No Posts Message */
.apc-no-posts {
    text-align: center;
    padding: 40px 20px;
    /* color: #666; */
    font-size: 16px;
}

/* Slick Carousel Customization */
.apc-carousel .slick-arrow {
    width: 40px;
    height: 40px;
    z-index: 10;
}

.apc-carousel .slick-arrow:before {
    font-size: 40px;
    opacity: 0.75;
}

.apc-carousel .slick-arrow:hover:before {
    opacity: 1;
}

.apc-carousel .slick-prev {
    left: -50px;
}

.apc-carousel .slick-next {
    right: -50px;
}

.apc-carousel .slick-dots {
    bottom: -40px;
}

.apc-carousel .slick-dots li button:before {
    font-size: 12px;
    opacity: 0.5;
}

.apc-carousel .slick-dots li.slick-active button:before {
    opacity: 1;
    color: #2271b1;
}
.slick-dots {
	display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .apc-carousel .slick-prev {
        left: -35px;
    }
    
    .apc-carousel .slick-next {
        right: -35px;
    }
}

@media (max-width: 768px) {
    .apc-carousel .slick-prev {
        left: 5px;
    }
    
    .apc-carousel .slick-next {
        right: 5px;
    }
    
    .apc-carousel .slick-arrow {
        width: 30px;
        height: 30px;
    }
    
    .apc-carousel .slick-arrow:before {
        font-size: 30px;
    }
    
    .apc-item-title {
        font-size: 18px;
    }
    
    .apc-item-content {
        padding: 15px;
    }
}