
/*main news detail*/
#main {
    background-color: #f2f0eb;
}
.main__news__detail{
    width: 85%;
    margin: 0 auto;
}

.path__news__detail{
    margin-top: 30px;
    margin-bottom: 21px;
}

.path__news__detail a{
    color: #334862;
    font-size: 14px;
}
.path__news__detail i{
    font-size: 9px;
}
.path__news__detail span{
    font-size: 14px;
}

.main__news__detail h1{
    font-size: 26px;
    font-weight: normal;
    color: #000;
    margin-bottom: 28px;
	 text-align: center;
}

.news__detail__description p{
    line-height: 25.6px;
    color: #000;
    margin-bottom: 21px;
}
.news__detail__description .share{
    display: flex;
    gap: 10px;
}
.post__content ul{
	padding-left: 20px;
}
.post__content ul li{
	list-style: disc;
}
.news__detail__description .share li{
    width: 40px;
    height: 40px;
    border-radius: 5px;
    line-height: 40px;
    text-align: center;
}
.news__detail__description .share li:nth-child(1){
    background-color: #7E7575;
}
.news__detail__description .share li:nth-child(2){
    background-color: #51cb5a;
}
.news__detail__description .share li:nth-child(3){
    background-color: #3a589d;
}
.news__detail__description .share li:nth-child(4){
    background-color: #2478ba;
}
.news__detail__description .share li:nth-child(5){
    background-color: #0072b7;
}

/*.news__detail__description ul li:nth-child(2){
    display: none;
}*/
.news__detail__description .share li i{
    color: #fff;
}
/*end main news detail*/

/*slider related post*/
.related__post h3{
    font-size: 20px;
    margin-top: 44px;
    margin-bottom: 10px;
}
.slider__related__post{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.related__post__list{
    width: 100%;
}
.related__post__image{
    height: 200px;
}

.related__post__list img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related__post__list h5{
    font-weight: 400;
    color: #000;
    font-size: 16px;
    margin: 10px 0;
}


.related__post__list .date__post{
    color: #000;
    font-size: 14px;
    margin-bottom: 10px;
}

.related__post__list .related__post__description{
    color: #666666;
    font-size: 14px;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
            line-clamp: 2; 
    -webkit-box-orient: vertical;
} 

.related__post .slider__related__post .owl-dots{
    margin-top: 30px;
}
.related__post .slider__related__post .owl-nav:hover button{
    background-color: transparent;
    color: #000;
}
.related__post .slider__related__post .owl-nav button.owl-prev{
    position: absolute;
    top: 30%;
    left: -20px;
    opacity: 0;
    transition: all linear 0.2s;
}
.related__post .slider__related__post .owl-nav button.owl-next{
    position: absolute;
    top: 30%;
    right: -20px;
    opacity: 0;
    transition: all linear 0.2s;
}
.related__post .slider__related__post .owl-nav button i{
    font-size: 24px;
}
.related__post:hover .owl-nav button.owl-prev{
    left: -25px;
    opacity: 1;
}
.related__post:hover .owl-nav button.owl-next{
    right: -25px;
    opacity: 1;
}
.related__post .slider__related__post .owl-dots .owl-dot.active span{
    background-color: #111111;
}
/*and slider related post*/


/*end chat*/
@media only screen and (max-width: 820px){
    .news__detail__description ul li:nth-child(2){
        display: block;
    }
    .slider__related__post .owl-nav{
        display: none;
    }
    .main__news__detail{
        width: 95%;
    }
    .news__detail__description{
        width: 100%;
    }
}
