.acf-community-carousel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.acf-community-carousel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    padding: 5px;
}

.acf-community-carousel .swiper-wrapper {
    display: flex;
    align-items: stretch;
    padding: 0px;
}

.acf-community-carousel .swiper-slide {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    height: auto;
    flex: 0 0 calc(50% - 5px);
    padding: 0px;
}

.acf-community-carousel .swiper-slide:hover {
    transform: translateY(-5px);
}

.acf-community-carousel .community-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}

.acf-community-carousel .community-image-wrapper {
    background-color: #4e4e4e;
    height: 200px;
    overflow: hidden;
}

.acf-community-carousel .community-featured-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

.acf-community-carousel .community-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.acf-community-carousel .community-title {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: left;
}

.acf-community-carousel .community-link {
    color: #1a7842;
    font-weight: 600;
    text-decoration: none;
    text-align: left;
    margin-top: auto;
}

.acf-community-carousel .community-link:hover {
    text-decoration: underline;
}

.acf-community-carousel .community-swiper-nav-btns {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.acf-community-carousel .community-swiper-nav-btns button {
    background-color: #1a7842;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.acf-community-carousel .community-swiper-nav-btns button:hover {
    background-color: #145a33;
}

.community-title-link {
    color: #000000;
    text-decoration: none;
}

.community-title-link:hover {
    text-decoration: underline;
}


@media (max-width: 600px) {
    .acf-community-carousel .swiper-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
}