article .entry-summary p{
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--color-on-surface-medium-emphasis);
}

.categories li{
    line-height: 16px;
}

.breadcrumb{
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.breadcrumb::-webkit-scrollbar{
    display: none;
}

.breadcrumb ol{
    flex-wrap: nowrap;
    width: max-content;
    min-width: 100%;
}

.breadcrumb li{
    flex: 0 0 auto;
}

article .entry-content p, article .entry-content ul li{
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--color-on-surface-medium-emphasis);
}

article .entry-content p{
    margin: 8px 0 36px 0;
}

article .entry-content h2{
    font-size: 19px;
    font-weight: 500;
    line-height: 24px;
    color: var(--color-on-surface-high-emphasis);
    margin-bottom: 12px;
}

article .entry-content h3{
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--color-on-surface-high-emphasis);
    margin-bottom: 12px;
}

article .entry-content img{
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: 0.75rem;
}

article .entry-content p:has(img){
    text-align: center;
}

article .entry-content .wp-block-image{
    margin-bottom: 32px;
}

.st-toc-box{
    border: 1px solid var(--color-background-surface-disable);
}

.st-toc-toggle{
    width: 100%;
    background: transparent;
    border: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'IranSansX', sans-serif;
}

.st-toc-arrow{
    width: 10px;
    height: 10px;
    border-right: 3px solid var(--Light-Mode-Secondary);
    border-bottom: 3px solid var(--Light-Mode-Secondary);
    transform: rotate(-135deg);
    transition: transform 0.25s ease;
}

.st-toc-list{
    list-style-position: inside;
}

.st-toc-item::before{
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 100%;
    background-color: var(--color-on-surface-high-emphasis);
    margin-left: 10px;
}

.st-toc-item a{
    color: inherit;
    text-decoration: none;
}

.st-toc-level-3{
    margin-right: 20px;
}

.st-toc-box.is-collapsed .st-toc-list{
    display: none;
}

.st-toc-box.is-collapsed .st-toc-arrow{
    transform: rotate(45deg);
}

article .author-avatar img{
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

article .author-box-dot{
    font-size: 32px;
    line-height: 6px;
}

.post-thumbnail img{
    border-radius: 16px;
}

.st-inline-related-post{
    border: 1px solid var(--color-background-surface-disable);
    background-color: rgba(248, 249, 253, 1);
    border-right: 4px solid rgba(237, 7, 26, 1);
}

.st-tags-list li{
    border: 1px solid var(--color-on-surface-high-emphasis);
    line-height: 16px;
}

.st-share-post-btn{
    border: 2px solid var(--color-on-surface-secondary-high-emphasis);
    width: 100%;
    color: rgba(87, 94, 255, 1);
    padding: 12px;
    font-family: 'IranSansX', sans-serif;
    background: none;
}

.st-comment-form{
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--color-background-surface-disable);
}

.st-comment-form .comment-form{
    display: flex;
    gap: 16px;
    flex-direction: column;
}

.st-comment-form .comment-form p{
    line-height: 0;
    padding-right: 1px;
}

.st-comment-form .comment-form p, .st-comment-form #reply-title{
    margin: 0;
}

.st-comment-form .comment-form p input{
    width: 100%;
}

.st-comment-form .comment-form p input, .st-comment-form .comment-form p textarea{
    border: 1px solid var(--color-on-surface-disable);
    border-radius: 8px;
    font-family: 'IranSansX', sans-serif;
}

.st-comment-form .comment-form p input.submit{
    border: 0;
}

.st-comment-form .comment-form p textarea{
    width: 100%;
    max-width: 100%;
    min-height: 158px;
}

.st-comment-form .submit{
    padding: 12px;
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
    border-radius: 16px;
    background-color: rgba(237, 7, 26, 1);
}

.st-comment-list, .st-comment-list ol{
    list-style: none;
    padding: 0;
    margin: 0;
}

.st-comment-list .comment-author .avatar{
    margin-left: 8px;
}

.st-comment-list .comment-author .fn{
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    color: var( --color-on-surface-high-emphasis);
}

.st-comment-list{
    display: flex;
    gap: 16px;
    flex-direction: column;
}

.st-comment-list article.comment-body{
    border-radius: 12px;
    padding: 16px;
}

.st-comment-list article.comment-body{
    background-color: rgba(248, 249, 253, 1);
}

.st-comment-list ol.children article.comment-body{
    background: none;
    border: 1px solid var(--color-background-surface-disable);
    border-radius: 12px;
    padding: 16px;
}

.st-comment-list ol.children article.comment-body img{
    border:1px solid var(--color-background-surface-disable);
    border-radius: 50%;
}

.st-comment-list ol.children article.comment-body .fn{
    color: var(--Light-Mode-Primary-Trip);
}

.st-comment-list article.comment-body:has(+ ol.children){
    margin-bottom: 8px;
}

.st-comment-list .says{
    display: none;
}

.st-comment-list ol.children > li{
    padding-right: 32px;
}

.st-comment-list .comment-metadata time{
    display: inline-block;
    margin-top: 8px;
    padding: 2px 4px;
    border-radius: 4px;
    background-color: var(--color-background-surface-disable);
    font-size: 10px;
    line-height: 12px;
    font-weight: 500;
    color: var(--color-on-surface-high-emphasis);
}

.st-comment-list .comment-content{
    margin-top: 16px;
}

.st-comment-list .comment-content p{
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: var(--color-on-surface-high-emphasis);
}

#comments .st-comment-list img{
    width: 42px;
    height: 42px;
}

.st-load-more-comments{
    color: var(--Light-Mode-Secondary);
    border: 0;
    background: transparent;
    padding: 0;
    font-family: 'IranSansX', sans-serif;
    cursor: pointer;
}

.st-post-content{
    flex-direction: column;
}

#content #main .st-post-content figure{
    width: 100% !important;
    height: auto;
    text-align: center;
}
.st-post-content figcaption{
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--color-on-surface-medium-emphasis);
    margin-top: 4px;
}

/* rank math faq */

#rank-math-faq p{
    margin: 0;
}
#rank-math-faq .rank-math-list-item {
  border: 1px solid rgba(235, 236, 242, 1);
  border-radius: 4px;
  margin-bottom: 16px;
  padding: 12px 16px;
  overflow: hidden;
}

#rank-math-faq .rank-math-question {
    background-color: rgba(255, 255, 255, 1);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: var(--color-on-surface-high-emphasis);
}

#rank-math-faq .rank-math-question::-webkit-details-marker {
    display: none;
}

#rank-math-faq .rank-math-question::marker {
    content: "";
}

#rank-math-faq .rank-math-question::after {
  content: url(../assets/arrowdown-blue.svg);
  transition: transform 0.3s ease;
  display: block;
  width: 24px;
  height: 24px;
}

#rank-math-faq .rank-math-question + *{
    padding-top: 24px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--color-on-surface-high-emphasis);
}

#rank-math-faq .rank-math-list-item[open] .rank-math-question::after {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.wp-block-heading:has(+ #rank-math-faq){
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.wp-block-heading:has(+ #rank-math-faq)::before{
    display: block;
    content: url("../assets/help-outline.svg");
    width: 24px;
    height: 24px;
}

/* end rank math faq */

/* temp */

#commentform{
    overflow: hidden;
}

.related-post-image img{
    height: 180px;
}

.st-related-posts > div > article{
    overflow: hidden;
}






/* end temp */
@media (min-width: 768px) {
    .st-post-hero{
        max-width: 896px;
        margin: 0 auto;
    }

    .author-box .post-meta-data{
        flex-direction: row;
        justify-content: space-between;
        flex-grow: 1;
    }

    .st-post-content{
        flex-direction: row;
        position: relative;
    }

    .st-post-content .entry-content{
        width: calc(64% - 24px);
    }

    .st-post-content aside{
        width: 36%;
        align-self: flex-start;
    }

    .st-sidebar-placeholder{
        display: none;
        flex: 0 0 36%;
        height: var(--st-sidebar-height, 0);
    }

    .st-sidebar-placeholder.is-active{
        display: block;
    }

    .st-post-content aside.is-fixed-top,
    .st-post-content aside.is-fixed-bottom{
        position: fixed;
        left: var(--st-sidebar-left);
        width: var(--st-sidebar-width);
        z-index: 10;
    }

    .st-post-content aside.is-fixed-top{
        top: 24px;
    }

    .st-post-content aside.is-fixed-bottom{
        bottom: 24px;
    }

    .st-post-content aside.is-absolute{
        position: absolute;
        top: var(--st-sidebar-top);
        left: var(--st-sidebar-offset-left);
        width: var(--st-sidebar-width);
    }

    .widget_popular_posts_widget a{
        font-size: 14px;
    }

    .related-post-image img{
        height: 220px;
    }
}

@media (max-width: 767px){
    .st-related-posts > div{
        scrollbar-width: none;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 24px;
        -webkit-overflow-scrolling: touch;
        max-width: none;
        margin-right: -24px;
        margin-left: -24px;
        padding-right: 24px;
        padding-left: 0;
    }

    .st-related-posts > div > article:last-child{
        margin-left: 24px;
    }

    .author-box{
        margin-bottom: 16px;
    }

    .seprator-fw{
        margin: 8px auto 0;
    }
}

@media (min-width: 1024px) {
    .st-post-content .entry-content{
        width: calc(68% - 24px);
    }

    .st-post-content aside{
        width: 32%;
    }

    .st-sidebar-placeholder{
        flex-basis: 32%;
    }

    .widget_popular_posts_widget a{
        font-size: 16px;
    }

    .st-post-tags-share{
        flex-direction: row;
        align-items: center;
    }

    .st-share-post-btn{
        max-width: 127px;
        margin-top: 0;
        padding: 12px 16px;
    }

    .st-post-tags-share > ul{
        margin-top: 0;
    }

    #commentform{
        flex-direction: row;
        flex-wrap: wrap;
    }

    #commentform > p:nth-child(3){
        width: 100%;
    }

    #commentform > p:nth-child(1), #commentform > p:nth-child(2){
        width: calc(50% - 8px);
    }

    body.logged-in #commentform > p:first-child{
        width: 100%;
    }

    body.logged-in #commentform > p:last-of-type{
        width: auto;
    }

    .st-comment-form .submit{
        padding: 12px 16px;
    }

    .st-comment-list .comment-content{
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
    }

    .st-comment-list .comment-author .fn{
        font-size: 14px;
        line-height: 24px;
        font-weight: 500;
    }
}

@media (min-width: 1200px) {}
