/* Admire Custom Post Category Carousel Styles */

/* Container & Swiper structure */
.admire-cat-carousel-container {
    position: relative;
    overflow: hidden;
    /* Fix: Clip content that flows outside */
    padding: 10px 40px;
    /* Fix: Add space on sides for "outside" arrows to sit */
}

.admire-cat-carousel-container .swiper-container {
    overflow: visible;
}

.admire-cat-carousel-container .swiper-wrapper {
    display: flex;
    align-items: center;
}

.admire-cat-carousel-container .swiper-slide {
    width: auto;
    /* Variable width for pills based on content */
    flex-shrink: 0;
    height: auto;
}

/* Pill Styling */
.admire-cat-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: #f5f5f5;
    /* Default background */
    color: #333;
    /* Default text color */
    border: 1px solid transparent;
    border-radius: 50px;
    /* Pill shape */
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover State */
.admire-cat-pill:hover {
    background-color: #7442cb;
    /* User Accent */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(116, 66, 203, 0.2);
}

/* Active State */
.admire-cat-pill.active {
    background-color: #7442cb;
    color: #fff;
}

/* Navigation Arrows */
.admire-cat-carousel-container .swiper-button-next,
.admire-cat-carousel-container .swiper-button-prev {
    width: 30px;
    /* Clickable area */
    height: 30px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: #333;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Position in the padding area */
.admire-cat-carousel-container .swiper-button-prev {
    left: 5px;
    right: auto;
}

.admire-cat-carousel-container .swiper-button-next {
    right: 5px;
    left: auto;
}

.admire-cat-carousel-container .swiper-button-next:after,
.admire-cat-carousel-container .swiper-button-prev:after {
    font-size: 24px;
    /* Icon size */
    font-weight: normal;
    font-family: "dashicons";
}

.admire-cat-carousel-container .swiper-button-prev:after {
    content: "\f341";
    /* dashicons-arrow-left-alt2 */
}

.admire-cat-carousel-container .swiper-button-next:after {
    content: "\f345";
    /* dashicons-arrow-right-alt2 */
}