.blog {
    .blog-content {
        padding: 120px 0;
        .single-blog {
            background: $white;
            box-shadow: 0px 5px 30px rgba($black, 0.08);
            border-radius: 15px;
            transition: .5s;
            overflow: hidden;
            .part-txt {
                padding: 30px;
                h3 {
                    font-size: 20px;
                    line-height: 30px;
                    font-weight: 500;
                    margin-top: -7px;
                    margin-bottom: 12px;
                    a {
                        color: $black-4;
                    }
                    &:hover {
                        a {
                            color: $color-1;
                        }
                    }
                }
                ul {
                    padding-top: 20px;
                    border-top: 1px solid $black-5;
                    display: flex;
                    justify-content: space-between;
                    li {
                        font-size: 14px;
                        line-height: 100%;
                        color: $black-4;
                        &:nth-child(odd) {
                            span {
                                color: $color-1;
                            }
                        }
                        span {
                            color: $color-2;
                            margin-right: 10px;
                        }
                    }
                }
            }
            &:hover {
                transform: translateY(-5px);
                box-shadow: 0px 10px 30px rgba($black, 0.08);
            }
        }
        .subscribe-wrap {
            padding: 36px 0;
        }
        .subscribe {
            padding: 60px 0;
            background: url(../images/subscribe-bg.jpg) bottom center no-repeat;
            background-size: cover;
            border-radius: 15px;
            box-shadow: 0px 10px 30px rgba($black, 0.08);
            text-align: center;
            h3 {
                font-family: $heading-font;
                font-size: 35px;
                line-height: 100%;
                font-weight: 600;
                text-transform: capitalize;
                color: $white;
                margin-bottom: 22px;
            }
            form {
                display: inline-flex;
                padding: 5px;
                background: $white;
                border-radius: 30px;
                input {
                    width: 500px;
                    height: 50px;
                    border: 0;
                    border-radius: 25px;
                    padding: 0 20px;
                }
                .def-btn {
                    &:hover {
                        transform: translateY(0);
                    }
                }
            }
        }
    }
}

.blog-details {
    .part-img {
        max-height: 400px;
        border-radius: 15px;
        overflow: hidden;
        margin-bottom: 30px;
    }
    .part-txt {
        h2 {
            font-size: 25px;
            line-height: 35px;
            font-weight: 500;
            color: $black-3;
            margin-top: -7px;
            margin-bottom: 21px;
        }
        ul {
            padding-bottom: 20px;
            border-bottom: 1px solid $black-5;
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
            li {
                font-size: 14px;
                line-height: 100%;
                color: $black-4;
                &:nth-child(odd) {
                    span {
                        color: $color-1;
                    }
                }
                span {
                    color: $color-2;
                    margin-right: 10px;
                }
            }
        }
        p {
            font-size: 16px;
            line-height: 30px;
            color: $black-4;
            margin-top: -8px;
            margin-bottom: 15px;
            &.marked {
                background: rgba($color-2, .1);
                border-left: 2px solid $color-2;
                font-size: 18px;
                line-height: 28px;
                font-style: italic;
                padding: 19px 20px 17px;
                margin-top: 0;
                margin-bottom: 25px;
            }
            &:last-child {
                margin-bottom: -10px;
            }
        }
    }
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
    .blog {
        .blog-content {
            .single-blog {
                .part-txt {
                    padding: 25px;
                    h3 {
                        font-size: 16px;
                        line-height: 26px;
                        margin-bottom: 13px;
                    }
                    ul {
                        margin-bottom: -1px;
                        li {
                            font-size: 12px;
                        }
                    }
                }
            }
            .subscribe {
                form {
                    input {
                        height: 40px;
                        font-size: 14px;
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 991px) and (min-width: 320px) {
    .blog {
        .blog-content {
            padding: 60px 0;
            .single-blog {
                border-radius: 10px;
                .part-txt {
                    padding: 25px 20px;
                    h3 {
                        font-size: 16px;
                        line-height: 26px;
                        margin-bottom: 13px;
                    }
                    ul {
                        margin-bottom: -1px;
                        li {
                            font-size: 12px;
                        }
                    }
                }
            }
            .subscribe {
                padding: 40px 0;
                border-radius: 10px;
                h3 {
                    font-size: 20px;
                }
                form {
                    input {
                        width: 300px;
                        height: 40px;
                        font-size: 14px;
                    }
                }
            }
        }
    }

    .blog-details {
        .part-img {
            border-radius: 10px;
        }
        .part-txt {
            h2 {
                font-size: 18px;
                line-height: 28px;
                margin-top: -6px;
                margin-bottom: 22px;
            }
            ul {
                li {
                    font-size: 12px;
                }
            }
            p {
                font-size: 14px;
                line-height: 28px;
                margin-bottom: 16px;
                &.marked {
                    font-size: 16px;
                    line-height: 26px;
                    padding: 14px 15px 12px;
                }
                &:last-child {
                    margin-bottom: -9px;
                }
            }
        }
    }
}

@media screen and (max-width: 575px) and (min-width: 320px) {
    .blog {
        .blog-content {
            .single-blog {
                max-width: 320px;
                margin: auto;
            }
            .subscribe {
                padding: 40px 20px;
                border-radius: 10px;
                h3 {
                    font-size: 20px;
                }
                form {
                    flex-direction: column;
                    align-items: center;
                    gap: 20px;
                    background: transparent;
                    padding: 0;
                    border-radius: 0;
                    input {
                        width: 100%;
                        height: 40px;
                        font-size: 14px;
                    }
                    button {
                        width: max-content;
                        border: 2px solid $white;
                    }
                }
            }
        }
    }
}