
.ud-blog-grids {
    padding-top: 120px;
    padding-bottom: 80px;
}

    .ud-blog-grids.ud-related-articles {
        padding-top: 100px;
    }

@media (max-width: 767px) {
    .ud-blog-grids {
        padding-top: 80px;
        padding-bottom: 40px;
    }
}

.ud-single-blog {
    margin-bottom: 40px;
}

    .ud-single-blog:hover .ud-blog-image img {
        -webkit-transform: scale(1.1) rotate(3deg);
        transform: scale(1.1) rotate(3deg);
    }

    .ud-single-blog .ud-blog-image {
        border-radius: 4px;
        overflow: hidden;
        margin-bottom: 30px;
    }

        .ud-single-blog .ud-blog-image a {
            display: block;
        }

        .ud-single-blog .ud-blog-image img {
            width: 100%;
            -webkit-transition: all 0.3s ease-out 0s;
            transition: all 0.3s ease-out 0s;
        }

    .ud-single-blog .ud-blog-date {
        display: inline-flex;
        font-size: 12px;
        font-weight: 600;
        padding: 8px 16px;
        background: var(--primary-color);
        color: var(--white);
        border-radius: 5px;
        margin-bottom: 20px;
    }

    .ud-single-blog .ud-blog-title {
        font-weight: 600;
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 15px;
    }

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .ud-single-blog .ud-blog-title {
        font-size: 20px;
        line-height: 28px;
    }
}

.ud-single-blog .ud-blog-title a {
    color: inherit;
}

    .ud-single-blog .ud-blog-title a:hover {
        color: var(--primary-color);
    }

.ud-single-blog .ud-blog-desc {
    font-size: 16px;
    line-height: 28px;
}

.ud-related-articles-title {
    font-weight: 800;
    font-size: 28px;
    padding-bottom: 25px;
    position: relative;
    margin-bottom: 50px;
}

    .ud-related-articles-title::after {
        content: "";
        position: absolute;
        width: 80px;
        height: 2px;
        background: var(--primary-color);
        left: 0;
        bottom: 0;
    }

/* ====== Blog Details ====== */
.ud-blog-details {
    padding-top: 50px;
}

@media (max-width: 767px) {
    .ud-blog-details {
        padding-top: 50px;
    }
}

.ud-blog-details-title {
    font-weight: 700;
    font-size: 35px;
    line-height: 50px;
    margin-bottom: 35px;
}

@media (max-width: 767px) {
    .ud-blog-details-title {
        font-size: 26px;
        line-height: 35px;
    }
}

.ud-blog-details-para {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 30px;
}

.ud-blog-details-subtitle {
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .ud-blog-details-subtitle {
        font-size: 22px;
        margin-bottom: 25px;
    }
}

.ud-blog-quote {
    background-image: url("../images/blog/quote-bg.svg");
    background-repeat: no-repeat;
    background-size: cover;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
}

@media (max-width: 767px) {
    .ud-blog-quote {
        padding: 30px;
    }
}

.ud-blog-quote i {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.ud-blog-quote p {
    font-style: italic;
    font-weight: 600;
    font-size: 16px;
    line-height: 27px;
    color: var(--heading-color);
    margin-bottom: 15px;
}

@media (max-width: 767px) {
    .ud-blog-quote p {
        font-size: 14px;
        line-height: 24px;
    }
}

.ud-blog-quote h6 {
    color: var(--body-color);
    font-style: italic;
    font-weight: 500;
    font-size: 12px;
    line-height: 20px;
}

.ud-blog-tags {
    display: flex;
    align-items: center;
}

@media (max-width: 767px) {
    .ud-blog-tags {
        margin-bottom: 20px;
    }
}

.ud-blog-tags li {
    margin-right: 14px;
}

    .ud-blog-tags li:last-child {
        margin-right: 0px;
    }

.ud-blog-tags a {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-color);
    background: rgba(48, 86, 211, 0.06);
    border-radius: 3px;
}

    .ud-blog-tags a:hover {
        background: var(--primary-color);
        color: var(--white);
    }

.ud-blog-share {
    display: flex;
    align-items: center;
}

    .ud-blog-share h6 {
        font-weight: 500;
        font-size: 12px;
        color: var(--body-color);
        margin-right: 20px;
    }

.ud-blog-share-links {
    display: flex;
    align-items: center;
}

    .ud-blog-share-links li {
        margin-right: 14px;
    }

        .ud-blog-share-links li:last-child {
            margin-right: 0px;
        }

    .ud-blog-share-links a {
        font-size: 18px;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: var(--white);
    }

        .ud-blog-share-links a.facebook {
            background: #4064ac;
        }

            .ud-blog-share-links a.facebook:hover {
                background: #315294;
            }

        .ud-blog-share-links a.twitter {
            background: #1c9cea;
        }

            .ud-blog-share-links a.twitter:hover {
                background: #0f8bd8;
            }

        .ud-blog-share-links a.linkedin {
            background: #007ab9;
        }

            .ud-blog-share-links a.linkedin:hover {
                background: #03689b;
            }
