/**********************************/
/*********** Blog Page ************/
/**********************************/

/* General Body and Font Settings */
body {
    font-family: 'Yantramanav', sans-serif;
    color: #D7EFF7;
    margin: 0;
    padding: 0;
}

/* Blog Page Wrapper */
.stylish-blog-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.stylish-blog-title {
    color: #D7EFF7;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 40px;
}

/* Blog Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: #2A2F30;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(12, 12, 12, 0.5);
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 20px;
}

.blog-card:hover {
    transform: translateY(-10px);
}

/* Blog Image */
.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Blog Content */
.blog-content {
    padding: 20px 0;
}

.blog-date {
    font-size: 0.85rem;
    color: #9FB9C7;
    margin-bottom: 10px;
}

.blog-post-title {
    font-size: 1.8rem;
    color: #28A48A;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.blog-excerpt {
    color: #D7EFF7;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Button Styles for Read More or Link to Full Post */
.blog-button {
    background-color: #28A48A;
    color: #D7EFF7;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    transition: background 0.3s ease, transform 0.2s ease;
}

.blog-button:hover {
    background-color: #28A48A;
    transform: translateY(-2px);
}

/* Style for Pagination */
.pagination {
    text-align: center;
    margin: 40px 0;
}

.pagination .page-numbers {
    color: #D7EFF7;
    padding: 10px;
    border: 1px solid #28A48A;
    margin: 0 5px;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

.pagination .page-numbers:hover {
    background-color: #28A48A;
    color: #D7EFF7;
}

/* Disabled (current) pagination link */
.pagination .current {
    background-color: #28A48A;
    color: #D7EFF7;
    padding: 10px;
    border: 1px solid #28A48A;
}

/* Responsive Design for Tablet */
@media only screen and (max-width: 1200px) {
    .stylish-blog-title {
        font-size: 2.5rem;
    }

    .blog-post-title {
        font-size: 1.6rem;
    }

    .blog-excerpt {
        font-size: 1rem;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Responsive CSS for Mobile */
@media only screen and (max-width: 768px) {
    .stylish-blog-wrapper {
        padding: 40px 15px;
    }

    .blog-card {
        padding: 15px;
    }

    .blog-post-title {
        font-size: 1.4rem;
    }

    .blog-excerpt {
        font-size: 1rem;
    }
}


/**********************************/
/******** Single Blog Page ********/
/**********************************/

/* Single Post Wrapper */
.single-post-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Post Title */
.single-post .post-title {
    font-size: 3rem;
    color: #D7EFF7;
    margin-bottom: 20px;
    margin-top: 40px;
}

/* Post Meta (Date and Author) */
.single-post .post-meta {
    font-size: 0.9rem;
    color: #9FB9C7;
    margin-bottom: 20px;
}

/* Featured Image */
.single-post .post-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
}

/* Post Content */
.single-post .post-content {
    font-size: 1.2rem;
    color: #D7EFF7;
    line-height: 1.6;
}

.post-content h2 {
    color: #28A48A;
    font-size: 2rem;
}

.post-content a {
    color: #28A48A;
}

/* Style for Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.post-navigation .prev-post,
.post-navigation .next-post {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
}

.post-navigation .prev-post a,
.post-navigation .next-post a {
    color: #28A48A;
}

.post-navigation .prev-post a:hover,
.post-navigation .next-post a:hover {
    color: #19746E;
}

/* Style for Categories */
.post-categories {
    font-size: 1rem;
    color: #9FB9C7;
    margin-bottom: 10px;
}

.post-categories a {
    color: #28A48A;
}

.post-categories a:hover {
    color: #19746E;
}


.post-categories .categories-label {
    font-weight: bold;
}

/* Style for Tags */
.post-tags {
    font-size: 1rem;
    color: #9FB9C7;
}

.post-tags .tags-label {
    font-weight: bold;
}

.post-tags a {
    color: #28A48A;
    text-decoration: none;
}

.post-tags a:hover {
    color: #19746E;
}

/* Style for Lists */
.post-content ul,
.post-content ol {
    margin-left: 2em;
    margin-bottom: 1.5em;
}

.post-content ul li,
.post-content ol li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.post-content ul {
    list-style-type: disc;
}

.post-content ol {
    list-style-type: decimal;
}

.post-content ul ul,
.post-content ol ol,
.post-content ul ol,
.post-content ol ul {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* Style for Image Figcaption */
.post-content figcaption {
    text-align: center;
    font-style: italic;
    margin-top: 0.5em;
    color: #D7EFF7;
}

/* Reponsive CSS for Mobile*/
@media only screen and (max-width: 768px) {
    .single-post .post-title {
        font-size: 2rem;
    }

    .single-post .post-content {
        font-size: 1rem;
    }

    .post-content h2 {
        font-size: 1.5rem;
    }

    .post-navigation {
        flex-direction: column;
        align-items: center;
    }
}