.featured-carousel * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.featured-carousel {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    padding: 20px;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.featured-carousel .carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background: white;
}

.featured-carousel .carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
    padding: 20px;
}

.featured-carousel .carousel-image {
    flex: 0 0 calc(33.333% - 14px);
    display: block;
    text-decoration: none;
    color: inherit;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.featured-carousel .carousel-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.featured-carousel .carousel-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    margin: 20px auto;
    border: 4px solid #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.featured-carousel .carousel-image h3 {
    margin: 15px 20px 10px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.featured-carousel .carousel-image h5 {
    margin: 0 20px 20px;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
    text-align: center;
    font-weight: 400;
}

.featured-carousel .arrow-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.featured-carousel .arrow-button:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.featured-carousel .left-arrow {
    left: 20px;
}

.featured-carousel .right-arrow {
    right: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-carousel .carousel-image {
        flex: 0 0 calc(50% - 10px);
    }
    
    .featured-carousel .carousel-image img {
        width: 120px;
        height: 120px;
    }
    
    .featured-carousel .carousel-image h3 {
        font-size: 16px;
        margin: 10px 15px 8px;
    }
    
    .featured-carousel .carousel-image h5 {
        font-size: 13px;
        margin: 0 15px 15px;
    }
    
    .featured-carousel .arrow-button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .featured-carousel .left-arrow {
        left: 10px;
    }
    
    .featured-carousel .right-arrow {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .featured-carousel .carousel-image {
        flex: 0 0 calc(100% - 0px);
    }
    
    .featured-carousel .carousel-image img {
        width: 100px;
        height: 100px;
    }
    
    .featured-carousel .carousel {
        gap: 15px;
        padding: 15px;
    }
    
    .featured-carousel {
        padding: 10px;
    }
}
