.news-box-items {
    transition: all 0.5s;
}

.news-box-items:hover {
    transform: translateY(-8px);
}

.news-box-items .news-image {
    width: 100%;
}

.news-box-items .news-image img {
    width: 100%;
    border-radius: 7px;
}

.news-box-items .news-image .date-badge {
    position: absolute;
    right: 18px;
    top: -12px;
    width: 60px;
    height: 64px;
    line-height: 14px;
    font-weight: 500;
    text-transform: uppercase;
    z-index: 1;
    border-radius: 8px;
}

.news-box-items .news-image .date-badge::before {
    position: absolute;
    left: -14px;
    top: 0;
    width: 19px;
    height: 12px;
    content: "";
    background: var(--primary);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

.news-box-items .news-content {
    border-radius: 5px;
    background-color: rgb(245, 245, 245);
    padding: 24px 36px;
}

.news-box-items .news-content .comment-blog {
    position: relative;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.news-box-items .news-content .comment-blog .blog-arrow:hover {
    color: #007bff;
}

.news-box-items .news-content .comment-blog .blog-arrow:hover i {
    color: #007bff;
}

@media (min-width: 992px) {
    .news-box-items .news-content .comment-blog {
        margin-bottom: -50px;
    }
}

.news-box-items .news-content h4 a:hover {
    color: #007bff;
}

@media (max-width: 1200px) {
    .news-box-items .news-content {
        padding: 20px 16px;
    }
}

/* News Section 3 */
.news-section3 {
    position: relative;
    z-index: 1;
    padding-top: 90px;
}

.news-section3::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 932px;
    height: 100%;
    content: "";
    z-index: -1;
    background-color: rgb(245, 245, 245);
}

.news-section3 .slide-cmn {
    background-color: rgb(245, 245, 245);
    border-radius: 50% !important;
}

.news-section3 .slide-cmn i {
    color: #333333;
}

.news-section3 .slide-cmn.active {
    background: #007bff;
}

.news-section3 .slide-cmn.active i {
    color: #ffffff;
}

.news-slider-maintain {
    margin-left: 300px;
}

.news-slider-maintain.style4 {
    margin-bottom: -60px;
}

@media screen and (max-width: 1900px) {
    .news-slider-maintain {
        margin-left: 0;
    }
}

/* Blog Version 04 */
.blog-news-wrapper3.style4 .news-box-items {
    background: #ffffff;
    box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
}

.blog-news-wrapper3.style4 .news-box-items .news-content {
    background: #ffffff;
}

.blog-news-wrapper3.style4 .news-box-items .comment-blog {
    margin-bottom: 0;
    margin-top: 20px;
    width: 100%;
    box-shadow: none;
    border: 1px solid rgb(213, 213, 213);
}

/* Newsletter Sponsor */
.newsletter-places {
    background: url(../../assets/img/element/newsletter-bg.png) no-repeat center center;
    background-size: cover;
    padding: 76px 50px 76px 20px;
    border-radius: 12px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 118px;
}

.newsletter-places h3 {
    font-size: 40px;
    color: #ffffff;
}

@media (max-width: 768px) {
    .newsletter-places {
        padding: 65px 20px 65px 20px;
        border-radius: 12px;
        display: flex;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 16px 30px;
    }

    .newsletter-places h3 {
        font-size: 29px;
    }
}

/* Blog Details Area */
.blog-rightbar {
    gap: 30px;
}

.blog-rightbar form input {
    width: 100%;
    height: 55px;
    background: transparent;
    border: unset;
    font-size: 18px;
    color: #ffffff;
}

.blog-rightbar form input::placeholder {
    color: #ffffff;
}

.blog-rightbar form i {
    color: #ffffff;
}

.blog-rightbar .lastes-post {
    background-color: rgb(245, 245, 245);
    border-radius: 5px;
    padding: 30px;
}

.blog-rightbar .lastes-post .lates-link li {
    background: #ffffff;
    border-radius: 5px;
    padding: 15px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-rightbar .lastes-post .lates-link li .cont a {
    line-height: 24px;
    display: block;
}

.blog-rightbar .lastes-post .lates-link li:hover .cont a {
    color: #007bff;
}

@media (max-width: 1200px) {
    .blog-rightbar .lastes-post {
        padding: 30px 18px;
    }

    .blog-rightbar .lastes-post .lates-link li {
        background: #ffffff;
        border-radius: 5px;
        padding: 15px 14px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .blog-rightbar .lastes-post .lates-link li a {
        line-height: 21px;
        display: block;
        font-size: 16px;
    }
}

.blog-rightbar .blog-category {
    background-color: rgb(245, 245, 245);
    border-radius: 5px;
    padding: 40px 30px;
}

.blog-rightbar .blog-category a {
    border-radius: 5px;
    color: rgb(120, 120, 120);
    transition: all 0.4s;
    font-size: 16px;
    font-weight: 500;
}

.blog-rightbar .blog-category a:hover {
    background: #ffffff;
    color: #000000;
}

.blog-rightbar .blog-category a:hover i {
    color: #007bff;
}

@media (max-width: 1200px) {
    .blog-rightbar .blog-category {
        padding: 30px 20px;
    }
}

.blog-tags {
    background-color: rgb(245, 245, 245);
    border-radius: 5px;
    padding: 40px 30px;
}

.blog-tags a {
    border-radius: 5px;
    padding: 7px 18px 10px;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    background: #ffffff;
    text-align: center;
    transition: all 0.4s;
    display: inline-block;
}

.blog-tags a.active,
.blog-tags a:hover {
    background: #007bff;
    color: #ffffff;
}

.blog-tags .active:hover {
    background: #000000;
    color: #ffffff;
}

@media (max-width: 1200px) {
    .blog-tags {
        padding: 30px 20px;
    }
}

.tag-share-area {
    border-top: 1px solid rgb(245, 245, 245);
    padding-top: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.tag-share-area .social-area a {
    background: rgb(247, 241, 241);
}

.tag-share-area .social-area a i {
    color: #000000;
}

.tag-share-area .social-area a:hover {
    background: #007bff;
}

.tag-share-area .social-area a:hover i {
    color: #ffffff;
}

@media (max-width: 576px) {
    .tag-share-area {
        padding-top: 30px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

.caters-thumb {
    background: url(../../assets/img/news/blog-details-text.png) no-repeat center center;
    background-size: cover;
    border-radius: 10px;
    overflow: hidden;
    padding: 52px 20px;
}

.caters-content {
    background: rgb(245, 245, 245);
    border-radius: 10px;
    overflow: hidden;
    padding: 52px 20px;
}

.author-review-wrap .line {
    width: 100%;
    height: 1px;
    background: rgb(245, 245, 245);
}