/* News Center Page Styles */

.inside-banner .mobile img {
    width: 100%;
}

/* News List Section */
.news-list {
    padding: 8rem 0;
    background: #fff;
}

.news-list .container {
    width: 100%;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
}

.news-list .news-title {
    text-align: center;
    margin-bottom: 6rem;
}

.news-list .news-title h2 {
    font-size: 5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.news-list .news-title .subtitle {
    font-size:16px;
    color: #333;
    letter-spacing: 1px;
    margin-top: 20px;
    display: block;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}


.news-item .news-thumb {
    flex-shrink: 0;
    width: 30rem;
    height: 18rem;
    overflow: hidden;
    border-radius: 0.5rem;
}

.news-item .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.news-item .news-thumb:hover img {
    transform: scale(1.05);
}

.news-item .news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.news-item .news-title-text {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 1.5rem;
}

.news-item .news-excerpt {
    font-size: 16px;
    color: #666;
    line-height: 28px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    flex: 1;
}

.news-item .news-date {
    font-size: 14px;
    color: #999;
    margin-top:30px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 55px;
    height: 45px;
    padding: 0 15px;
    font-size: 16px;
    color: #333;
    background: #e8e8e8;
    border: none;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.pagination a:hover,
.pagination span.active {
    background: #164b95;
    color: #fff;
}
@media (max-width: 1600px) {
	.news-item .news-thumb{
		width:300px;
		height: auto;
	}
	.news-list .container{
		padding:0px;
	}
	.news-list{
		padding:60px 20px;
	}
}
/* Responsive */
@media (max-width: 1024px) {
    .news-list {
       padding:60px 20px;
    }

    .news-list .news-title h2 {
        font-size: 40px;
    }

    .news-item {
        flex-direction: column !important;
        gap: 2rem;
    }

    .news-item .news-thumb {
        width: 100%;

    }

    .news-item .news-content {
        height: auto;
    }
}

@media (max-width: 768px) {
    .news-list {
       padding:60px 20px;
    }

    .news-list .news-title h2 {
        font-size: 30px;
    }

    .news-item .news-title-text {
        font-size: 18px;        margin-top: 10px;
    }

    .news-item .news-excerpt {
        font-size: 15px;
        line-height: 26px;
    }

    .news-item .news-thumb {

    }
	.news-item .news-date{
		margin-top: 10px;
	}
	.news-item{
		margin-bottom:20px;
		padding-bottom: 20px;
	}
}
