.blog-row-wrapper {
    width: 100%;
    padding: 0 10px;
}



.pt-70 {
    padding-top: 70px;
}

.pb-50 {
    padding-bottom: 50px;
}

.pb-70 {
    padding-bottom: 70px;
}

.blog-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.blog-row-wrapper .blog {
    width: 31%;
    float: left;
    margin: 0px 8px 30px 8px;
    overflow: hidden;
    min-height: 650px;

}

.blog {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.blog_template_wrapper {
    background: #f6f6f6;
}

.blog-image {
    position: relative;
}

.blog-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
    min-height: 320px;
}

.blog-image img:hover {
    transform: scale(1.05);
}

.blog-image .date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 14px;
}

.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #f76400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-content p {
    flex-grow: 1;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
    min-height: 130px;
}

.blog-content a {
    align-self: flex-start;
    background-color: rgb(77, 202, 210);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.post-categories a {
    align-self: flex-start;
    background-color: #333333e6;
    color: #fff;
    text-decoration: none;
    padding: 6px;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
    font-size: 12px;
}

.blog-content a:hover {
    background-color: #ff8c5a;
}

/* Blog Navigation */
/* Style for the navigation container */
.navigation.posts-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    width: 100%;
}

/* Style for the individual navigation links */
.navigation.posts-navigation .nav-links {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.navigation.posts-navigation .nav-previous {
    text-align: left;
}

.navigation.posts-navigation .nav-next {
    text-align: right;
}

/* Optional: Add some padding or margin to the links */
.navigation.posts-navigation .nav-previous a,
.navigation.posts-navigation .nav-next a {
    padding: 10px 20px;
    background-color: rgb(77, 202, 210);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.navigation.posts-navigation .nav-previous a:hover,
.navigation.posts-navigation .nav-next a:hover {
    background-color: #ff8c5a;
}

/* Category Design */
.post-categories {
    list-style-type: none;
    /* Removes default list bullets */
    padding: 0;
    margin: 0;
}

/* Styles for each category item */
.post-categories li {
    display: inline;
    margin-right: 15px;
    /* Space between categories */
    font-size: 16px;
    /* Font size */
}

.top-stripe {
    background-image:
        linear-gradient(to right, rgba(255, 140, 90, 0.8), rgba(77, 202, 210, 0.8)),
        url('https://img.freepik.com/free-vector/abstract-pattern-design_1053-534.jpg');
    background-repeat: repeat;
    background-position: center;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

/* Responsive Css */
@media (max-width: 992px) {
    .blog-row-wrapper .blog {
        width: 48%;
        /* Two blogs per row */
        margin: 0px 1% 30px 1%;
    }

    .blog-content h2 {
        font-size: 18px;
        /* Adjust title font size */
    }

    .blog-content p {
        min-height: 100px;
        /* Adjust minimum height for content */
    }

    .blog_template_wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* @media (max-width: 800px) {
    .blog_image_single img {
        width: 100%;
    }
} */

/* For tablets and small screens (width less than 768px) */
@media (max-width: 768px) {
    .blog-row-wrapper .blog {
        width: 100%;
        /* One blog per row */
        margin: 0px 0px 30px 0px;
    }

    .blog-content h2 {
        font-size: 18px;
    }

    .blog-content p {
        min-height: auto;
    }
}

/* For mobile devices (width less than 576px) */
@media (max-width: 576px) {
    .top-stripe {
        height: 80px;
        /* Reduce height for smaller screens */
        font-size: 20px;
        /* Adjust font size for the title */
    }

    .blog-content h2 {
        font-size: 16px;
        /* Smaller title font size */
    }

    .blog-content p {
        margin-bottom: 10px;
        /* Reduce space below content */
    }

    .blog-content a {
        padding: 8px 15px;
        /* Smaller padding for buttons */
    }

    .navigation.posts-navigation .nav-previous a,
    .navigation.posts-navigation .nav-next a {
        padding: 8px 15px;
        /* Smaller padding for navigation buttons */
    }

    .blog-image .date {
        font-size: 12px;
        /* Adjust date font size */
    }
}