.columns {
    padding: 0 !important;
}

p.swiper-description {
    font-family: Lato;
    font-size: 16px;
    font-weight: 400;
    line-height: 20.8px;
    color: #5A5A5A;
    margin-top: 10px;
}

.slider-latest-articles {
    font-family: Oswald;
    font-size: 20px;
    font-weight: 700;
    line-height: 22px;
    text-transform: uppercase;
    color: #6D6D6D;
    margin: 50px 0px;
}

.swiper-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 2000px;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    box-sizing: border-box;
}

.slider-title {
    margin-top: 10px;
    font-family: Oswald;
    font-size: 20px;
    font-weight: 400;
    line-height: 22px;
    text-transform: uppercase;
    width: 120px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* Navigation buttons */
.swiper-button-prev,
.swiper-button-next {
    background-color: #7C9A49;
    color: white !important;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.swiper-button-prev {
    left: 0;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-prev::before,
.swiper-button-next::before {
    font-size: inherit;
    font-weight: bold;
}

/* Hide buttons initially */
.swiper-button-prev,
.swiper-button-next {
    display: none;
}

/* Show buttons dynamically */
.swiper-container.show-prev .swiper-button-prev,
.swiper-container.show-next .swiper-button-next {
    display: flex;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 13.22px  !important;
    /* Set the size of the arrows */
    font-weight: bold !important;
}

.swiper-title-category {
    justify-content: space-between;
}

.category-name {
    margin-top: 10px;
    font-family: Oswald;
    font-size: 14px;
    font-weight: 400;
    line-height: 15.4px;
    color: #7D7D7D;
}

.flex.swiper-author-date-read {
    color: #929292;
    font-family: Lato;
    font-size: 13px;
    font-weight: 400;
    line-height: 16.9px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    border-bottom: 1px solid #A5A5A5;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.slider-blog-container {
    margin-bottom: 30px;
}


.flex-img-div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid #EEEEEE;
    padding-bottom: 77px;
}

.flex-swap {
    flex-direction: row-reverse;
}

.flex-img {
    flex: 0 0 50%;
    position: relative;
}

.image-overlay-container {
    position: relative;
}

.image-overlay-container .img-category {
    width: 100%;
    height: auto;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Black overlay with transparency */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.overlay-text {
    text-align: center;
    font-family: Lato, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 22.1px;
}

.overlay-text .slider-title {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 auto;
    margin-bottom: 10px;
}

.overlay-text .overlay-description {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.overlay-text .overlay-link {
    font-size: 16px;
    color: #fff;
    font-family: Oswald, sans-serif;
    font-weight: 300;
    line-height: 17.6px;
    text-transform: uppercase;
    text-decoration: none;
}

.slider-container {
    flex: 0 0 49%;
    position: relative;
    overflow: hidden;
}

.slider-content {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-item {
    flex: 0 0 50%;
    /* Show two items per slide */
    box-sizing: border-box;
    padding: 0px 10px;
}

.slider-item img {
    height: auto;
}

.slider-controls {
    width: 100%;
    height: 50px;
}

.prev-slide {
    left: 0px !important;
}


@media (max-width: 1023px) {

    .slider-item img {
        height: auto;
        /* Maintain aspect ratio */
        object-fit: cover;
        /* Optional: crop if necessary */
    }

    .flex-img,
    .slider-container {
        flex: 1 1 100%;
        /* Stack items vertically on small screens */
    }

}

.image-overlay-container {
    position: relative;
    /* Ensure relative positioning for child elements */
}

.prev-slide,
.next-slide {
    position: absolute;
    top: 22%;
    /* Center vertically */
    right: 0px;
    transform: translateY(-50%);
    /* Adjust to center */
    background: #7C9A49;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.3s ease;
    z-index: 10;
}
.newsletter {
    background-color: #000; /* Dark background */
    color: #fff; /* White text */
    padding: 50px 70px;
    gap: 20px; /* Add some spacing between the sections */
    flex: 0 0 40%; /* Set 40% width for heading */
}

.newsletter-heading {
    flex-direction:column;

    text-align: left; /* Align text to the left */
}

.newsletter-heading h2 {
    font-family: Oswald;
    font-size: 44px;
    font-weight: 700;
    line-height: 70.4px;
    color : #E1E1E1;
}

.newsletter-heading span {
  font-family: Lato;
font-size: 17px;
font-weight: 400;
line-height: 22.1px;
color : #E1E1E1;
}
.news-letter-heading-flex{
    flex: 0 0 50%;
}
.form-newsletter-input {
    flex: 0 0 60%; /* Set 60% width for the form */
    display: flex;
    align-items: center;
    max-width: 600px;
    gap: 10px; /* Add spacing between input and button */
}

@media (min-width: 1024px) {
    .form-newsletter-input {
        flex: 0 0 50%;
        margin: 0 auto;
    }
}

.newsletter input[type="email"] {
    flex: 1;
    padding: 10px 15px;
    border: none;
    font-size: 16px;
    background: #e7e7e7;
    color: #000;
    outline: none;
    opacity: 1;
}

.newsletter input[type="email"]::placeholder {
    color: #676767BF; /* Light gray placeholder */
    font-family: Lato;
    font-size: 15px;
    font-weight: 400;
    line-height: 18px;


}

.newsletter input[type="email"]:focus {
    border: 1px solid #5a9ed4; /* Focus border */
    outline: none;
    box-shadow: 0 0 5px rgba(90, 158, 212, 0.5);
}

.newsletter button {
    padding: 10px 20px;
    background-color: #86a33d; /* Green button */
    color: #fff;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: Oswald;
    font-size: 16px;
    font-weight: 700;
    line-height: 17.6px;

}

.newsletter button:hover {
    background-color: #688129; /* Darker green on hover */
}
.accordion-header {
    display: flex;
}

.accordion-icon {
    width: 20px;
}

.accordion-body>span {
    margin-top: 10px;
    font-family: Lato;
    font-size: 15px;
    font-weight: 700;
    line-height: 18px;

}

.accordion-body {
    text-transform: uppercase;
    margin-top: 10px;
    font-family: Lato;
    font-size: 15px;
    font-weight: 700;
    line-height: 18px;
    color: #7D7D7D;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
}

p.swiper-description {
    text-align: justify;
}



/* .pagination a.current {
    background-color: #333;
    color: #fff;
}

.pagination button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
} */

.filters {
    width: 20%;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    width: 80%;
}


.load-more {
    text-align: center;
    margin: 1rem 0;
}

.load-more button {
    padding: 10px 20px;
    background-color: black;
    color: #fff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.load-more button:hover {
    background-color: black;
}

.viewing-progress {
    text-align: center;
    margin: 1rem 0;
    font-family: Arial, sans-serif;
}

.progress-bar {
    background-color: #eee;
    border-radius: 5px;
    height: 10px;
    width: 100%;
    position: relative;
    margin-top: 5px;
}

.progress {
    background-color: #7C9A49;
    height: 100%;
    border-radius: 5px;
}

[type=checkbox]:checked,
[type=checkbox]:checked:focus {
    --tw-ring-color: transparent;
    background: none;
    background-color: #86A33D;
}

.sort-by {
    flex: 0 0 34%;
}

.sort-by {
    font-family: Oswald;
    font-size: 16px;
    font-weight: 700;
    line-height: 17.6px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.sort-by>select {
    color: #7D7D7D;
    border: none;
}

.flex-grid {
    margin-top: 15px;
}
.swiper-slider-flex-shrink:hover .post-image .file-logo {
    opacity: 1;
    z-index: 2;
  }

  .swiper-slider-flex-shrink:hover .post-image:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    opacity: 0.2;
    top: 0;
    left: 0;
    z-index: 1;
  }

  .swiper-slider-flex-shrink:hover .post-item-details {
    --tw-bg-opacity: 1;
    background-color: rgb(241 241 241 / var(--tw-bg-opacity));
  }
