.blog-content-single {
    text-align: center;
    background: linear-gradient(65deg, rgb(77, 202, 210), #f76400);
}

.blog_image_single img {
    width: 800px;
}

.container-single {
    width: 900px;
    text-align: center;
    margin: auto;
}

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

/* Next / Previous Button */
.nav-links {
    display: flex;
    justify-content: space-between;
    /* Distribute the two items across the container */
    align-items: center;
    /* Align items vertically centered */
    margin: 40px 0;
    /* Add margin above and below the navigation */
}

.nav-previous a,
.nav-next a {
    text-decoration: none;
    /* Remove underline from links */
    padding: 10px 20px;
    /* Add padding to the links */
    border-radius: 5px;
    /* Rounded corners */
    background-color: rgb(77, 202, 210);
    /* Background color */
    color: white;
    /* Text color */
    transition: background-color 0.3s;
    /* Smooth transition for background color change */
}

.nav-previous a:hover,
.nav-next a:hover {
    background-color: #ff8c5a;
    /* Darker blue on hover */
}

.nav-previous {
    text-align: left;
    /* Align previous button to the left */
}

.nav-next {
    text-align: right;
    /* Align next button to the right */
}


/* Responsive Css */
@media (min-width: 768px) and (max-width: 900px) {
    .container-single {
        width: 90%;
        padding: 0 20px;
    }

    .blog_image_single img {
        width: 90%;
        margin: auto;
    }

    .blog_image_single .date {
        bottom: 20px;
        left: 20px;
        font-size: 16px;
        padding: 6px 12px;
    }

    .blog-content-single {
        padding: 60px 20px;
    }

    .nav-links {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 20px;
    }

    .nav-previous a,
    .nav-next a {
        padding: 10px 15px;
    }

    nav.navigation.post-navigation {
        justify-content: center;
    }

    .nav-previous a {
        padding: 10px;
    }
}

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

@media (max-width: 767px) {
    .container-single {
        width: 100%;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-previous a {
        padding: 10px;
    }

    nav.navigation.post-navigation {
        justify-content: center;
    }

    .blog_image_single .date {
        bottom: 15px;
        left: 15px;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-previous,
    .nav-next {
        text-align: center;
        margin-bottom: 20px;
    }

    .nav-previous a,
    .nav-next a {
        width: 100%;
        padding: 15px 0;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
    .blog_image_single img {
        width: 100%;
        height: auto;
    }

    .blog_image_single .date {
        font-size: 12px;
        padding: 4px 8px;
    }

    .blog-content-single {
        padding: 50px 10px;
    }

    .nav-previous a,
    .nav-next a {
        padding: 10px;
    }
}