img{
    transition: all 0.2s;
}
h1, 
h2,
h3, 
h4,
h5,
h6{
    font-weight: 600;
}

/*News Grid Two*/

.news-grid-container-one {
    display: grid;
    grid-template-columns: fit-content(50%) auto;
    gap: 24px;
    position: relative;
    overflow: hidden;
}
  
.news-grid-container-one > div {
    background-color: rgba(255, 255, 255, 0.8);
}

.news-grid-container-one > div:nth-of-type(1) {
    grid-row-end: 4 span;
    /*grid-row: 1 / span 4;*/
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border-radius: 4px;
}
.news-grid-container-one > div:nth-of-type(1) .ngco-post-img,
.news-grid-container-one > div:nth-of-type(1) .ngco-item-content {
    width: 100%;
}
.news-grid-container-one > div:nth-of-type(1) .ngco-post-title h3 {
    font-size: 26px;
    line-height: 1.3em;
    margin-bottom: 5px;
    margin-top: 12px;
}
.news-grid-container-one > div:nth-of-type(1) .ngco-post-title h3 a,
.news_grid_container_five > div:nth-of-type(5) .ngcfi-post-title h3 a {
    color: #fff;
}
.news-grid-container-one > div:nth-of-type(1):hover .ngco-post-title h3 a {
    color: #e67e22;
}
.news-grid-container-one > div:nth-of-type(1) .ngco-post-metadata span {
    color: #fff;
}
.ngco-item {
    display: flex;
    justify-content: flex-start;
    overflow: hidden;
}
.ngco-post-img {
    align-self: flex-start;
    margin: 0;
    width: 35%;
    overflow: hidden;
    position: relative;
    display: block;
}
.ngco-item-content {
    width: 65%;
    padding: 0 0 0 12px;
}
/*hover*/
.ngco-item:hover .ngco-post-title h3 a, 
.ngct-item:hover .ngct-post-title h3 a,
.ngcf-item:hover .ngcf-post-title h3 a{
    color: #e67e22;
}
.ngco-item:hover .ngco-post-img img, 
.ngct-item:hover .ngct-post-img img,
.ngcth-item:hover .ngcth-post-img img,
.ngcf-item:hover .ngcf-post-img img,
.ngcfi-item:hover .ngcfi-post-img img {
    transform: scale(1.03);
}
.ngco-post-title h3,
.ngcfi-post-title h3{
    font-size: 18px;
    line-height: 1.4em;
}
.ngco-post-metadata span{
    color: #2c3e50;
    font-size: 14px;
}

/*News Grid Two*/
.news-grid-container-two {
    display: grid;
    gap: 24px;
}
.ngct-post-title h3 {
    font-size: 18px;
    margin: 8px 0;
    line-height: 1.44em;
}
.ngct-post-img,
.ngcth-post-img,
.ngcf-post-img,
.ngco-post-img,
.ngcfi-post-img {
    overflow: hidden;
    border-radius: 4px;
}

/*News Grid Three*/
.news-grid-container-three{
    display: grid;
    gap: 24px;
}
.ngcth-item{
    display: grid;
    gap: 24px;
    grid-template-columns: fit-content(30%) auto;

}
.ngcth-post-title h3 {
    font-size: 18px;
    line-height: 1.44em;
}
.news-grid-container-three > div:nth-of-type(1){
    display: flex;
    width: 100%;
    flex-direction: column;
}
.news-grid-container-three > div:nth-of-type(1) .ngcth-post-img,
.news-grid-container-three > div:nth-of-type(1) .ngcth-item-content{
    width: 100%;
}
.news-grid-container-three > div:nth-of-type(1){
    gap: 0;
}
.news-grid-container-three > div:nth-of-type(1) .ngcth-post-title h3{
    margin-top: 8px;
}

/*News Grid Four*/
.news-grid-container-four{
	display: grid;
	/* grid-template-columns: repeat(4, 1fr); */
	gap: 24px;
}
.ngcf-post-title h3 {
	font-size: 18px;
	line-height: 1.44em;
	margin-top: 8px;
}

/* News Item Title */
.nit_span{
    display: inline-block;
    padding: 7px 12px 4px;
}
.news_item_title h4{
    border-bottom: 1px solid;
    font-size: 18px;
}

/* News Grid Five */
.news_grid_container_five{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ngcfi-item {
    display: grid;
    gap: 24px;
    grid-template-columns: fit-content(30%) auto;
}

.news_grid_container_five > div:nth-of-type(5){
    display: grid;
    grid-row: 1 / span 4;
    grid-column: 2;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border-radius: 4px;
}

.news_grid_container_five > div:nth-of-type(5) .ngcfi-post-title h3 {
    font-size: 24px;
    line-height: 1.3em;
    padding: 0px 6px 5px 12px;
}

/* News Grid Border */
.news-grid-container-one,
.news-grid-container-two,
.news-grid-container-three{
	padding: 0px 7px 7px 7px;
	border-color: #ddd;
	border-radius: 0 0 5px 5px;
	border-style: solid;
	border-width: 0px 1px 1px 1px;
}

@media only screen and (max-width: 768px) {
    
    .news-grid-container-one,
    .news-grid-container-two,
    .news-grid-container-four,
    .news_grid_container_five{
        grid-template-columns: repeat(1, 1fr) !important;
    }
    .news_grid_container_five > div:nth-of-type(5) {
		grid-column: auto;
	}
    .ngcfi-item{
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 0;
    }
    .ngcfi-item .ngcfi-post-title h3{
        margin-top: 8px;
    }
    .news_grid_container_five > div:nth-of-type(5) .ngcfi-post-title h3{
        margin: 20px 0;
    }

}