/* General Swiper Container Styles */
.swiper-container.wc-swiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 40px;
    overflow: hidden;
}

.wc-swiper .swiper-slide {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 450px; /* Fixed height for all slides */
    justify-content: space-between; /* Ensure content is distributed evenly */
}

@media (max-width: 768px) {
    .wc-swiper .swiper-slide {
        height: auto; /* Adjust height for smaller screens */
    }
}

/* Card Body Styles */
.wc-swiper .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 0;
}

/* Image Styles */
.eael-entry-thumbnail {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 200px; /* Set a fixed height for all thumbnails */
}

.eael-entry-thumbnail img {
    width: 100%;
    height: 100%; /* Adjust to take full height of the container */
    object-fit: cover; /* Ensure the image covers the area and maintains aspect ratio */
    min-height: 200px;
}

.eael-entry-media {
    position: relative;
}

/* News Header */
.eael-entry-header {
    background-color: #33755E;
    color: #fff;
    padding: 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 0 0 5px 5px;
    position: relative;
    top: -3px;
    text-transform: uppercase;
}

/* Content Styles */
.eael-entry-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.eael-grid-post-excerpt h6 {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin: 0 0 10px;
}

.eael-grid-post-excerpt p {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit the number of lines */
    -webkit-box-orient: vertical;
}

.eael-post-elements-readmore-wrap {
    margin-top: 10px;
    align-self: flex-end; /* Ensure 'Read More' is at the bottom */
}

.eael-post-elements-readmore-btn {
    font-size: 14px;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.eael-post-elements-readmore-btn i {
    margin-right: 5px;
}

/* Swiper Pagination and Navigation Styles */
.wc-swiper .swiper-pagination {
    bottom: 10px;
    text-align: center;
}

.wc-swiper .swiper-pagination-bullet {
    width: 16px!important; /* Adjusted size */
    height: 16px!important; /* Adjusted size */
    background: transparent; /* Transparent background */
    border: 1px solid #33755E; /* Border color */
    border-radius: 50%;
    opacity: 1;
    margin: 0 5px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.wc-swiper .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
    background: #fff!important; /* Non-active bullet background */
}

.wc-swiper .swiper-pagination-bullet-active {
    background: #33755E!important; /* Active bullet background */
    border-color: #33755E!important;
    width: 16px!important; /* Consistent size */
    height: 16px!important; /* Consistent size */
}

.wc-swiper .swiper-pagination-bullet:hover {
    background: #33755E!important; /* Hover state background */
    border-color: #33755E!important; /* Hover state border color */
}

.wc-swiper .swiper-button-next,
.wc-swiper .swiper-button-prev {
    color: #fff!important; /* Arrows navigation white color */
    width: 27px;
    height: 44px;
}

.wc-swiper .swiper-button-next::after,
.wc-swiper .swiper-button-prev::after {
    font-size: 20px;
}

/* Additional Styles for the Container and Layout */