body.single-post {
    line-height: 1.6;
}

a:hover {
    color: rgb(7 125 234);
}

a:active {
    color: blue;
}

.single-post-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 10px;
}

.vs-breadcrumb {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 10px;
}

.vs-breadcrumb-link {
    color: #565b63;
    text-decoration: none;
    margin-right: 5px;
}

.vs-breadcrumb-link:hover,
.vs-current-category {
    color: #000;
}

.vs-breadcrumb-separator {
    margin: 0 10px;
    color: #999;
    font-size: smaller;
}

.vs-breadcrumb-divider {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 10px 0;
    width: 100%;
}

.entry-header {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.entry-title {
    font-weight: 450;
    font-size: 28px;
    line-height: normal;
    letter-spacing: normal;
    color: #252a2e;
    margin-top: 20px;
}

.entry-meta {
    font-size: .875rem;
    margin-top: 0 !important;
    line-height: 1.125rem;
    color: #666;
    font-weight: 400;
    letter-spacing: .3px;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 20px auto;
}

.wp-block-image :where(figcaption) {
    margin-bottom: 1em;
    text-align: center;
    background: #f2f3f5;
    border-radius: 5px;
}

.wp-block-separator {
    border: none;
    border-top: 1px solid #adadad;
}

.entry-content h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-top: 20px;
    margin-bottom: 16px;
}

.entry-content h2 {
    font-size: 30px;
    line-height: 1.3;
    margin-top: 20px;
    margin-bottom: 16px;
}

.entry-content h3 {
    font-size: 24px;
    line-height: 1.4;
    margin-top: 20px;
    margin-bottom: 16px;
}

.entry-content h4 {
    font-size: 20px;
    line-height: 1.5;
    margin-top: 20px;
    margin-bottom: 16px;
}

.entry-content h5 {
    font-size: 18px;
    line-height: 1.6;
    margin-top: 20px;
    margin-bottom: 16px;
}

.entry-content h6 {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 20px;
    margin-bottom: 16px;
}

.post-thumbnail {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    display: block;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}

.post-tags,
.post-categories {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.post-tags a,
.post-categories a {
    color: #333;
    font-weight: 400;
    font-size: 13px;
    padding: 0 5px 0 0;
}

.post-tags a:hover,
.post-categories a:hover {
    text-decoration: underline;
}

footer.entry-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-grow: 1;
}

.footer-texts {
    display: flex;
    flex-direction: column;
    margin-left: auto;
}

.share-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 20px 5px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: auto; /* چسباندن به سمت چپ */
}

.share-button svg {
    width: 24px;
    height: 24px;
    fill: #b0b0b0;
    transition: fill 0.3s;
}

.share-button:hover svg {
    fill: #007bff;
}

.footer-divider {
    width: 100%;
    border: none;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.share-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 10px;
    margin-top: 20px;
    border-top: 1px solid #eee;
}

/* CSS برای بخش "مطالب مرتبط" */
.related-posts {
    margin-top: 40px;
}

.related-posts h2 {
    margin-bottom: 20px;
    color: #677b8c;
}

.related-posts-container {
    display: flex;
    flex-direction: column;
}

.related-post-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.related-post-item:last-child {
    border-bottom: none;
}

.related-post-item h3 {
    font-size: 18px;
    margin: 0;
    padding: 10px 0;
}

.related-post-item h3 a {
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    color: #3a3a3a;
}

.related-post-item h3 a:hover {
    color: #007bff;
}



/********************************/
/********* For page ************/
/******************************/

.vwalt-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.vwalt-page-header {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.vwalt-page-meta {
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: row-reverse;
    margin-bottom: 20px;
}

.vwalt-share-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 5px;
    margin-right: auto;
}

.vwalt-share-button svg {
    width: 24px;
    height: 24px;
    fill: #b0b0b0;
    transition: fill 0.3s;
}

.vwalt-share-button:hover svg {
    fill: #007bff;
}

.posted-on {
    margin-left: auto;
    color: #666;
    font-size: .875rem;
}
