.spec-carousel {
    position: relative;
    width: 100%;
}

.spec-carousel__slide {
    padding: 20px;
}

.spec-carousel__item {
    display: block;
    text-decoration: none;
    color: inherit;
}

.spec-carousel__avatar {
    position: relative;
}

/* teal “half circle” behind photo */
.spec-carousel__avatar::after {
    height: 100%;
    width: 90%;
    content: "";
    position: absolute;
    left: 50%;
    bottom: -50px;
    transform: translateX(-50%);
    background: #a8c7c1;
    border-radius: 100%;
    z-index: -1;
}

.spec-carousel__img {
    position: relative;
    z-index: 1;
    object-fit: cover;
    border-radius: 100%!important;
    display: block;
    margin: 0 auto;
}

.spec-carousel__meta {
    text-align: center;
    margin-top: 8px;
}

.spec-carousel__name {
    font-family: "Bree Serif", Sans-serif;
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 1.1;
    text-decoration: underline;
    margin: 0;
}

.spec-carousel__tags {
    margin-top: 6px;
    font-size: 0.95rem;
    line-height: 1.35;
    opacity: 0.95;
}

/* Slick arrows styled like circles */
/* Carousel arrows: green circle with white chevron */
.spec-carousel .slick-prev,
.spec-carousel .slick-next{
    width:30px;
    height:30px;
    border-radius: 999px;
    background: #448A82 !important;
    background-color: #448A82 !important;
    border: 0;
    z-index: 5;
    color: transparent !important; /* hide "Previous/Next" text */
    outline: none !important;
    box-shadow: none !important;
}

.spec-carousel .spec-carousel__track > button.slick-prev:hover,
.spec-carousel .spec-carousel__track > button.slick-next:hover {
    background: #3B7A73 !important;
    background-color: #3B7A73 !important;
}

.spec-carousel .spec-carousel__track > button.slick-prev:focus,
.spec-carousel .spec-carousel__track > button.slick-next:focus,
.spec-carousel .spec-carousel__track > button.slick-prev:active,
.spec-carousel .spec-carousel__track > button.slick-next:active,
.spec-carousel .spec-carousel__track > button.slick-prev:focus-visible,
.spec-carousel .spec-carousel__track > button.slick-next:focus-visible {
    background: #448A82 !important;
    background-color: #448A82 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* keep arrows outside the track a bit */
.spec-carousel .spec-carousel__track > button.slick-prev { left: -10px; }
.spec-carousel .spec-carousel__track > button.slick-next { right: -10px; }


/* draw chevrons (independent of slick/theme icons) */
.spec-carousel .slick-prev:before,
.spec-carousel .slick-next:before{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    width:10px;
    height:10px;
    border-right:5px solid #fff;
    border-bottom:5px solid #fff;
    opacity: 1 !important;
    transform-origin:center;
}

.spec-carousel .spec-carousel__track > button.slick-prev:before {
    transform: translate(-50%, -50%) rotate(135deg);
}

.spec-carousel .spec-carousel__track > button.slick-next:before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* If a theme reduces opacity for disabled arrows, override for this carousel */
.spec-carousel .spec-carousel__track > button.slick-prev.slick-disabled,
.spec-carousel .spec-carousel__track > button.slick-next.slick-disabled {
    opacity: 1 !important;
}


/* make slides fit nicely on smaller screens */
@media (max-width: 1024px) {

}

@media (max-width: 640px) {

}

@media (max-width: 425px) {
    /* hide arrows on mobile, show dots */
    .spec-carousel .spec-carousel__track > button.slick-prev,
    .spec-carousel .spec-carousel__track > button.slick-next {
        display: none !important;
    }

    .spec-carousel .slick-dots {
        display: flex !important;
    }
}


@media (max-width: 768px){
    .spec-carousel .slick-dots{
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 14px 0 0 !important;
        justify-content: center !important;
        box-sizing: border-box;
    }
}

