.acf-featured-posts {
    width: calc(100vw - 17px);
    background: #007a53;
    margin: auto;
    position: relative;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.swiper-slide {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 20px 0px 20px;
    box-sizing: border-box;
}

.featured-image-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.post-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    color: white;
}

.post-title {
    font-size: 1.5rem;
    margin: 10px 0;
    line-height: 1.2;
    color: white;
    text-align: left;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    font-size: 0.9rem;
}

.post-category {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.post-link {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
}

.post-link:hover, .post-category:hover {
    color: #ddd;
}

.swiper-pagination {
    position: relative;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff !important;
    opacity: 1;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #1a73e8;
}

.swiper-button-prev,
.swiper-button-next {
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    background-color: transparent;
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.swiper-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: white;
    color: #333;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    content: '';
}

@media (max-width: 768px) {
    .acf-featured-posts {
        flex-direction: column;
    }

    .post-meta {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .post-title {
        font-size: 1.25rem;
    }

    .swiper-navigation {
        flex-direction: column;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 35px;
        height: 35px;
    }
}

.swiper-nav-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

#custom-prev-btn,
#custom-next-btn {
    background-color: #fff;
    color: #007A53;
    border: 2px solid #007A53;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

#custom-prev-btn:hover,
#custom-next-btn:hover {
    background-color: #145c34;
    color: #fff;
	 border: 2px solid #ffffff!important;
}

.swiper-pagination {
    margin-top: 10px;
    text-align: center;
}

.slidergroup {
    display: flex;
    justify-content: center;
    align-items: center;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.post-title-link,
.post-category {
    color: #ffffff; /* White text */
    text-decoration: none; /* No underline by default */
}

.post-title-link:hover,
.post-category:hover {
    text-decoration: underline; /* Underline on hover */
}