.post-container {
    .breadcrumb {
        background-color: #FFF;
        box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1);
        margin-bottom: 20px;
        padding: 20px;
        border-radius: $border-radius;

        a {
            color: #AAA;
        }

        .delimiter {
            color: $danger;
            font-size: 21px;
            margin: 0 5px;
        }
    }

    margin-bottom: 20px;

    .post-inner {
        box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1);
        background-color: #FFF;
        padding: 20px;
        border-radius: $border-radius;

        .post-header {
            margin-bottom: 20px;

            .post-title {
                font-size: 18px;
                font-weight: bold;
                border-bottom: 1px solid #ECECEC;
                padding-bottom: 15px;
            }

            .post-meta {
                color: #AFB6BC;
                margin: 10px 0;
                display: flex;

                .post-author {
                    display: flex;
                    align-items: center;
                    margin-right: 15px;

                    .avatar {
                        border-radius: 50%;
                        margin-right: 5px;
                    }
                }

                .post-date {
                    &:before {
                        font-family: IRANKala;
                        content: '\E0DD\00FE0E';
                        margin-right: 3px;
                        position: relative;
                        top: 2px;
                    }
                }

                .favorites {
                    margin-left: 15px;
                    position: relative;
                    top: 2px;

                    &:before {
                        font-family: IRANKala;
                        color: #9B9B9B;
                        content: "\E134\00FE0E";
                    }

                    &.active:before {
                        content: "\E133\00FE0E";
                        color: $danger;
                    }
                }
            }
        }

        .post-image {
            text-align: center;
            margin-bottom: 20px;
        }

        .post-body {
            @include wp-post-image();

            .post-share {
                padding: 30px 0 15px 0;

                .comments-count {
                    &:before {
                        font-family: IRANKala;
                        font-size: 20px;
                        color: #9BA4AB;
                        content: "\E0F6\00FE0E";
                        position: relative;
                        top: 5px;
                        margin-right: 5px;
                    }
                }

                .share-buttons {
                    float: right;

                    li {
                        display: inline-block;
                        margin-left: 15px;

                        &:before {
                            display: none;
                        }

                        a {
                            border-bottom: none !important;

                            &:before {
                                font-family: IRANKala;
                                font-size: 20px;
                                color: #9BA4AB;
                            }

                            &.twitter:before {
                                content: "\E1D8\00FE0E";
                            }

                            &.facebook:before {
                                content: "\E10E\00FE0E";
                            }

                            &.whatsapp:before {
                                content: "\E1E7\00FE0E";
                            }

                            &.telegram:before {
                                content: "\E1C6\00FE0E";
                            }

                            &.copy-url:before {
                                content: "\E1A0\00FE0E";
                            }
                        }
                    }
                }
            }

            .post-tags {
                border-top: 1px solid #E1E0E0;
                font-weight: bold;
                padding-top: 20px;

                a {
                    padding: 0 10px;
                    background-color: #F2F2F2;
                    color: #868E95 !important;
                    margin: 2px;
                    border-radius: 16px;
                    font-weight: normal;
                    border-bottom: none !important;
                    line-height: 28px;
                }
            }
        }
    }
}

body.single:not(.single-page) {
    .post-container {
        .post-inner {
            .post-body {
                a:not(.button) {
                    border-bottom: 1px dashed $primary;
                    color: $primary;
                }

                ul {
                    li:before {
                        content: '\2022';
                        float: left;
                        margin-right: 5px;
                        color: $danger;
                        font-size: 22px;
                    }
                }
            }
        }
    }
}

.comments-template {
    margin-top: 20px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1);
    background-color: #FFF;
    padding: 20px;
    border-radius: $border-radius;

    .template-header {
        margin-bottom: 15px;
        font-size: 15px;
    }

    #reply-title {

    }

    .comment-respond {
        border: 1px solid #C8C8C8;
        padding: 15px;
        border-radius: $border-radius;

        #reply-title {
            font-size: $font-size;
        }

        .required {
            color: $danger;
        }

        .comment-form-cookies-consent {
            margin: 10px 0;

            input[type="checkbox"]:checked:before {
                top: -3px;
            }
        }

        #submit {
            background: #FFF;
            border-radius: 22px;
            border-color: #C8C8C8;
            color: #6B7074;
            padding: 0 20px;
            margin-top: 10px;
            height: 38px;
        }
    }

    .comment-list {
        padding: 0;

        .comment {
            margin-top: 20px;

            .comment-meta {
                .comment-author {
                    font-weight: bold;
                    font-style: normal;

                    .avatar {
                        border-radius: 50%;
                        margin-right: 7px;
                    }
                }

                .comment-date {
                    color: #9BA4AB;
                    margin: 0 10px;

                    &:before {
                        font-family: IRANKala;
                        content: '\E0DD\00FE0E';
                        margin-right: 3px;
                        position: relative;
                        top: 2px;
                    }
                }

                .comment-reply-link {
                    color: #9BA4AB;
                }
            }

            .comment-content {

            }

            .comment-awaiting {
                color: $danger;
                font-style: italic;
            }
        }

        .comment:not(:last-child) {
            border-bottom: 1px solid #DBDBDB;
            padding-bottom: 20px;
        }
    }

    .pagination {
        text-align: center;

        .page-numbers {
            display: inline-block;
            padding: 0 13px;
            line-height: 26px;
            border-radius: 16px;

            &.current {
                border: 1px solid $primary;
            }

            &.prev, &.next {
                border: 1px solid hsla(0, 1%, 87%, .5);

                &:before {
                    font-size: 18px;
                    color: hsla(153, 4%, 44%, .7);
                }
            }

            &.prev {
                &:before {
                    content: "\203A";
                }
            }

            &.next {
                &:before {
                    content: "\203A";
                }
            }
        }
    }
}

@media (max-width: 992px) {
    .post-container {
        .breadcrumb {
            background-color: transparent;
            box-shadow: none;
            margin-bottom: 5px;
            padding: 0;

        }

        .post-inner {
            background-color: transparent;
            -webkit-box-shadow: none;
            box-shadow: none;
            border: none;
            padding: 0;

            .post-header {
                margin-bottom: 0;

                .post-title {
                    border-bottom: none;
                }

                .post-meta {
                    margin-top: 0;
                    margin-bottom: 10px;
                }
            }

            .post-body {
                border-radius: 10px;
                background-color: #FFF;
                -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .09);
                box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .09);
                padding: 15px;
                border: none;
            }
        }
    }
}

@media (max-width: 992px) {
    .comments-template {
        border-radius: 10px;
        -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .09);
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .09);
        padding: 15px;
    }
}

.comments-rules {
    margin: 20px 0;
}