/**
 * Simple Post Carousel Styles
 */

/* Carousel container */
.spc-carousel {
    margin: 0 10px;
    visibility: hidden; /* Hide until initialized */
}

.spc-carousel.slick-initialized {
    visibility: visible;
}

/* Carousel item */
.spc-item {
    padding: 0 20px;
    margin: 0 0 20px;
}

/* Image styling */
.spc-image {
    margin-bottom: 15px;
    overflow: hidden;
    
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.spc-image:hover {
    transform: translateY(-5px);
}

.spc-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.spc-image:hover img {
    transform: scale(1.05);
}

/* Title styling */
.spc-title {
    text-align: center;
}

.spc-title h3 {
    margin: 0;
    padding: 0 10px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
}

.spc-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.spc-title a:hover {
    color: #0073aa;
}

/* Simple square arrows with #f7b614 */
.spc-carousel .slick-prev,
.spc-carousel .slick-next {
    width: 40px !important;
    height: 40px !important;
    background: #f7b614 !important; /* Your specified color */
    border-radius: 0 !important; /* Square corners - no circles! */
    z-index: 1;
    transition: background 0.3s ease;
}

.spc-carousel .slick-prev:hover,
.spc-carousel .slick-next:hover {
    background: #e0a312 !important; /* Slightly darker on hover */
}

.spc-carousel .slick-prev {
    left: -20px;
}

.spc-carousel .slick-next {
    right: -20px;
}

/* Simple arrow icons */
.spc-carousel .slick-prev:before,
.spc-carousel .slick-next:before {
    font-family: 'Arial', sans-serif;
    font-size: 24px;
    opacity: 1;
    color: #ffffff; /* White arrows for contrast */
    line-height: 1;
}

.spc-carousel .slick-prev:before {
    content: "<"; /* Simple left arrow */
}

.spc-carousel .slick-next:before {
    content: ">"; /* Simple right arrow */
}

/* Remove any default circle styling that might persist */
.spc-carousel .slick-prev.slick-disabled:before,
.spc-carousel .slick-next.slick-disabled:before {
    opacity: 0.5;
}

/* Dots navigation */
.spc-carousel .slick-dots {
    bottom: -40px;
    display: none !important;
}

.spc-carousel .slick-dots li button:before {
    font-size: 12px;
    color: #333;
}

.spc-carousel .slick-dots li.slick-active button:before {
    color: #f7b614; /* Match arrow color for active dot */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .spc-title h3 {
        font-size: 16px;
    }
    
    .spc-carousel .slick-prev,
    .spc-carousel .slick-next {
        width: 36px !important;
        height: 36px !important;
    }
    
    .spc-carousel .slick-prev:before,
    .spc-carousel .slick-next:before {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .spc-title h3 {
        font-size: 18px;
    }
    
    .spc-carousel .slick-prev,
    .spc-carousel .slick-next {
        width: 32px !important;
        height: 32px !important;
    }
    
    .spc-carousel .slick-prev:before,
    .spc-carousel .slick-next:before {
        font-size: 18px;
    }
}