/* Full-width title section */
.full-width-title {
    width: 100%;
    background-color: #002743; /* Optional background color for contrast */
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #6c6c6c;
}

.full-width-title h1.post-title {
    font-size: 45px;
    color: #fff;
    margin: 0;
    text-align:left;
}
.post-title-container
{
       max-width: 900px;
    padding: 20px;
    margin-left:auto;
    margin-right:auto;
   
}

/* Custom blog post container limited to 900px width */
.custom-blog-post-container {
    max-width: 900px;
    margin: 0px auto; /* Centers the container */
    
    background-color:#f7f7f7;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    padding-top: 10px;
    padding-right: 60px;
    padding-bottom: 60px;
    padding-left: 60px;
}

.post-meta {
    font-size: 16px;
    color: #1dbf74;
    margin-bottom: 20px;
    text-align: left;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.post-body {
    line-height: 1.8;
    font-size: 18px;
    color: #555;
}

/* Style for post navigation (Next and Previous buttons) */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0; /* Optional: Separator line */
}

.post-navigation .prev-post a,
.post-navigation .next-post a {
    display: inline-block;
    background-color: #002743;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.post-navigation .prev-post a:hover,
.post-navigation .next-post a:hover {
    background-color: #005bb5; /* Darker shade on hover */
}

.post-navigation .prev-post {
    text-align: left;
}

.post-navigation .next-post {
    text-align: right;
}


/* Media Query for screens with max-width of 768px */
@media only screen and (max-width: 768px) {
    /* Full-width Title section adjustment */
    .full-width-title {
        padding: 10px 0;
    }

    .full-width-title h1.post-title {
        font-size: 28px; /* Smaller font size on smaller screens */
        padding: 0 20px;
    }

    /* Custom blog post container max-width adjustment */
    .custom-blog-post-container {
        max-width: 100%; /* Full width on smaller screens */
        padding: 40px; /* Less padding on smaller screens */
    }

    /* Post meta and body adjustments */
    .post-meta {
        font-size: 12px; /* Smaller font size */
        text-align: center; /* Center the meta information */
    }

    .post-body {
        font-size: 16px; /* Adjust font size for better readability */
    }

    /* Navigation buttons full-width on smaller screens */
    .post-navigation {
        flex-direction: column; /* Stack next and previous buttons vertically */
        align-items: center;
    }

    .post-navigation .prev-post,
    .post-navigation .next-post {
        width: 100%; /* Make the buttons take full width */
        text-align: center;
        margin-bottom: 10px; /* Add space between buttons */
    }

    .post-navigation .prev-post a,
    .post-navigation .next-post a {
        width: 90%; /* Make the buttons responsive */
        font-size: 14px; /* Adjust font size */
        padding: 12px;
    }
    .wp-block-heading
    {
       font-size: 20px !important;
    }
    }
}