@import 'breadcrum.css';
@import 'sidebar.css';

.pnblog {
    width: 100%;
    max-width: 1280px;
    margin: auto;
    box-sizing: border-box;
    
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
    color: inherit;
}

.pnblog img {
    max-width: 100%;
    height: auto;
}

.pnrow {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 50px 0;
    padding-left: 15px;
    padding-right: 15px;
}

.pncontent {
    width: 70%;
    
}

.pnsidebar {
    width: 25%;

}
.tlt-blog-custom{
    margin: 10px 0;
    display: block;
    font-size: 20px;
    color: #000000 !important;
    font-weight: bold;
    line-height: 1.6;
}
.date-custom{
    font-size: 12px;
}
.pncontent-item{
    padding-bottom: 50px;
}

.pncontent-item__layout {
    display: flex;
    width: 100%;
}

.pncontent-item__pix {
    width: calc(250px - 20px);
    height: 130px;
    border: 1px solid #AAA;
    margin: 0 20px 0 0;
}

.pncontent-item__pix > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pncontent-item__txt {
    width: calc(100% - 250px);
}

@media screen and (max-width:1160px) {
    .pnrow {
        justify-content: space-between;
        padding-left: 15px;
        padding-right: 15px;
    }
    .pncontent{
        width: 60%;
    }
    
    .pnsidebar {
        width: 35%;
    }

}

@media screen and (max-width:768px) {
    .pncontent{
        width: 100%;
    }
    
    .pnsidebar {
        width: 60%;
        margin-top: 50px;
        margin-bottom: 50px;
    }

}

@media screen and (max-width:767px) {
    
    .pnsidebar {
        width: 100%;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .pnrow {
        padding: 35px 0;
        padding-left: 0px;
    }

	.pncontent-item{
		padding-bottom: 30px;
	}
	.tlt-blog-custom{
		font-size: 18px;
	}

	.pncontent-item__layout {
		display: block;
	}

	.pncontent-item__pix,
	.pncontent-item__txt {
		width: 100%;
		height: auto;
	}
}
.img-the_post_thumbnail{
    padding-top: 30px;
    text-align: center;
}
.pntitlesidebar{
    padding-bottom: 10px;
}
.pnmaincontent p{
    font-size: 16px;
    line-height: 1.8;
}
@media screen and (max-width:768px){
    .pncontent-title{
        font-size: 18px !important;
    }
    .pnmaincontent p{
        font-size: 14px;
    }
    .pnsidebar{
        margin-top: 10px !important;
        margin-bottom: 0 !important;
    }
    .pnrow{
        padding-top: 15px !important;
        padding-bottom: 20px !important;
    }
}
.pnpost-cover a{
    background-repeat: no-repeat;
    background-position: center;
}
.pnpost-title{
    padding-bottom: 10px;
    word-break: break-all;
}
.pnpost-info p{
    word-break: break-all;
}
@media screen and (max-width:991px){
    .pncontent{
        width: 100%;
    }
    .pnsidebar{
        width: 100%;
        margin-top: 40px !important;
    }
    .pnmainsidebar{
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    } 
}
@media screen and (max-width:768px){
    .pnbreadcrumb{
        padding-bottom: 30px;
    }
}