/*banner*/
.banner{
    background-image: url('../image/banner-blog2.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    position: relative;
    margin-top: -60px;
    z-index: 3;
}
.banner__text{
    text-align: center;
}
.banner__text h2{
    font-size: 30px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 39px;
}
/*end banner*/

/*blog detail*/
.blog__detail{
    margin: 50px 0;
}
.main__blog__detail{
    width: 85%;
    margin: auto;
}
.blog__detail__des img{
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.content__txt h4{
    font-family: "Poppins";
    font-size: 20px;
    color: #a9932a;
    font-weight: 700;
    margin: 20px 0;
}
.content__txt p{
    font-size: 15px;
    color: #808285;
    line-height: 27px;
}

.post__detail__info{
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #f2f2f2;
}
.post__info__items{
    display: flex;
    gap: 20px;    
}


.share__social{
    display: flex;
    gap: 15px;
    margin-bottom: 0;
}

.share__social li a{
    font-size: 14px;
    color: #999999;
}
.post__author{
    background-color: #f9f9f9;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
}
.author__image{
    margin-right: 20px;
}
.author__info{
    width: 80%;
}
.author__info h5{
    font-family: "Poppins";
    font-size: 15px;
    color: #a9932a;
    font-weight: 700;
    line-height: 23px;
}
.job{
    font-size: 15px;
    color: #808285;
    line-height: 30px;
    margin-bottom: 15px;
}
.author__text{
    font-size: 15px;
    color: #808285;
    line-height: 27px;
}


.navigation__blog{
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}
.image__navigate img{
    width: 65px;
    height: 65px;
    object-fit: cover;
    display: block;
}
.image__navigate{
    position: relative;
}
.prev__blog,
.next__blog{
    width: 45%;
    display: flex;
    align-items: center;
    gap: 10px;
}
.title__navigate{
    font-size: 15px;
    color: #808285;
    line-height: 27px;
}
.next__blog{
    text-align: right;
}
.title__navigate:hover{
    color: #ffdc39;
}
.image__navigate::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #ffdc39;
    opacity: 0;
    transition: all ease-in-out 0.3s;
}
.image__navigate:hover::after{
    opacity: 0.8;
    transition: all ease-in-out 0.3s;
}
.prev__blog .image__navigate::before{
    content: '\f104';
    position: absolute;
    font-family: 'fontawesome';
    font-size: 30px;
    color: #fff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all ease-in-out 0.3s;
    z-index: 2;
}
.prev__blog .image__navigate:hover::before{
    opacity: 1;
    transition: all ease-in-out 0.3s;
}
.next__blog .image__navigate::before{
    content: '\f105';
    position: absolute;
    font-family: 'fontawesome';
    font-size: 30px;
    color: #fff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all ease-in-out 0.3s;
    z-index: 2;
}
.next__blog .image__navigate:hover::before{
    opacity: 1;
    transition: all ease-in-out 0.3s;
}

.comments{
    margin-top: 30px;
}
.comments h4{
    font-family: Poppins,sans-serif;
    font-size: 20px;
    color: #a9932a;
    font-weight: 700;
    margin-bottom: 30px;
}
.list__comments{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.comments__content{
    width: 85%;
}
.title__comments strong{
    font-family: Poppins,sans-serif;
    font-size: 15px;
    color: #a9932a;
    margin-right: 30px;
}
.title__comments span{
    font-size: 15px;
    color: #808285;
}
.comments__content p{
    font-size: 15px;
    color: #808285;
    line-height: 27px;
}



.leave__reply__blog{
    margin-top: 30px;
}
.leave__reply__blog h3{
    font-family: Poppins, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #303030;
    margin-bottom: 30px;
}
.form-leave-reply-blog{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.form__group__leave__reply{
    width: 31%;
    margin-bottom: 15px;
}
.form__group__leave__reply.mess,
.save,
.btn-submit-mess{
    width: 100%;
}
.form__group__leave__reply textarea{
    width: 100%;
    resize: vertical;
    font-size: 15px;
    color: #808285;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #f9f9f9;
    outline: none;
}
.form__group__leave__reply input{
    width: 100%;
    padding: 15px 20px;
    font-size: 15px;
    color: #808285;
    background-color: #f9f9f9;
    border: none;
    outline: none;
}
.save{
    margin: 20px 0;
}
.save span{
    font-size: 15px;
    color: #808285;
    line-height: 27px;
}
.btn-submit-mess button{
    font-family: "Poppins";
    padding: 15px 60px;
    background-color: #ffdc39;
    font-size: 14px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    outline: none;
    cursor: pointer;
    display: block;
    transition: all ease-in-out 0.3s;
}
.btn-submit-mess button:hover{
    background-color: #a9932a;
    transition: all ease-in-out 0.3s;
}
/*end blog detail*/

/*sidebar blog*/
.blog__search{
    margin-bottom: 30px;
}
.form-search-blog{
    display: flex;
}
.form-search-blog button{
    width: 50px;
    height: 50px;
    background-color: #ffdc39;
    text-align: center;
    line-height: 50px;
    border: none;
    outline: none;
    color: #fff;
    cursor: pointer;
}
.form-search-blog input{
    width: calc(100% - 50px);
    height: 50px;
    background-color: #f9f9f9;
    border: 1px solid #f2f2f2;
    border-right: none;
    font-size: 15px;
    color: #808080;
    outline: none;
    padding: 0 15px;
}

.about__author{
    margin-bottom: 30px;
}
.about__author h4{
    font-size: 20px;
    color: #a9932a;
    font-weight: 700;
    margin-bottom: 15px;
}
.about__author p{
    font-size: 15px;
    color: #808285;
    line-height: 27px;
}


.categories{
    margin-top: 50px;
}
.categories h3{
    font-size: 20px;
    color: #a9932a;
    margin-bottom: 20px;
}
.categories ul li a{
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
    color: #808285;
}
.categories ul li a:hover{
    color: #ffdc39;
    transition: all linear 0.3s;
}


.latest__posts{
    margin-top: 50px;
}
.latest__posts h3{
    font-size: 20px;
    color: #a9932a;
    margin-bottom: 20px;
}
.list__latest__posts{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.latest__posts__image{
    width: 30%;
}
.latest__posts__image img{
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.latest__posts__title{
    width: 65%;
    padding-left: 15px;
}
.latest__posts__title a{
    font-family: "Poppins";
    font-size: 15px;
    color: #a9932a;
    font-weight: 700;
    display: block;
}
.latest__posts__title span{
    font-size: 15px;
    color: #808285;
    line-height: 27px;
}




.ins__sidebar{
    margin-top: 50px;
}
.ins__sidebar h3{
    font-size: 20px;
    color: #a9932a;
    margin-bottom: 20px;
}
.sidebar__ins__image{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.list__ins__image{
    position: relative;
    overflow: hidden;
    width: 31%;
    margin-bottom: 10px;
}
.icon__ins{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #15151566;
    opacity: 0;
    transition: all ease-in-out 0.3s;
}
.icon__ins i{
    color: #fff;
    opacity: 0;
    margin-top: 130%;
    transition: all ease-in-out 0.3s;
}
.list__ins__image:hover .icon__ins{
    opacity: 1;
    transition: all ease-in-out 0.3s;
}
.list__ins__image:hover .icon__ins i{
    opacity: 1;
    margin-top: 0;
    transition: all ease-in-out 0.3s;
}
.list__ins__image img{
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.tags{
    margin-top: 50px;
}
.tags h3{
    font-size: 20px;
    color: #a9932a;
    margin-bottom: 20px;
}
.tags ul{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tags ul li a{
    position: relative;
    font-size: 15px;
    color: #808285;
    line-height: 27px;
    width: max-content;
}
.tags ul li a:hover{
    color: #ffdc39;
    transition: all linear 0.3s;
}
.tags ul li:not(:last-child) a::before{
    content: ",";
    position: absolute;
    right: -4px;
    bottom: -4px;
}
/*end sidebar blog*/

@media only screen and (max-width: 1200px){
    .banner{
        position: static;
        height: 300px;
        margin-top: 0;
    }
    .blog__detail{
        margin: 30px 0;
    }
    .main__blog__detail{
        width: 95%;
    }
    .blog__detail__content{
        margin-bottom: 30px;
    }
}

@media only screen and (max-width: 767.98px){
    .form__group__leave__reply{
        width: 100%dr;
    }
}