:root { --primary-color: #E60012; --primary-text: #E33314; --bg-color: #F5F5F7; --text-main: #333; --text-muted: #999; --font-family: "PingFang SC", "Microsoft YaHei", sans-serif; --border-radius-lg: 25px; --border-radius-md: 10px; }
body { font-family: var(--font-family); margin: 0; padding: 0; color: var(--text-main); background: #fff; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
a:hover { color: var(--primary-color); }
.container { width: 1200px; margin: 0 auto; padding: 0; box-sizing: border-box; }
/* Header */
.header-top { height: 100px; display: flex; align-items: center; justify-content: space-between; }
.logo { height: 66px; }
.header-badges { display: flex; gap: 20px; align-items: center; }
.header-badges img { height: 26px; }
.header-badges .vertical-line { height: 36px; width: 1px; background-color: #D7D7D7; }
.header-nav { border-top: 5px solid var(--primary-color); background: var(--bg-color); height: 75px; display: flex; align-items: center; border-bottom: 1px solid #D7D7D7; }
.nav-menu { display: flex; justify-content: space-between; width: 100%; list-style: none; padding: 0; margin: 0; font-size: 20px; font-weight: 200; }
.nav-menu a { color: #555; position: relative; display: flex; align-items: center; height: 75px; }
.nav-menu a.active { color: var(--primary-color); font-weight: 650; position: relative; }
.nav-menu a.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 20px; height: 5px; background-color: var(--primary-color); border-radius: 2px; }
/* Main Banner */
.main-banner { margin-top: 20px; }
.main-banner img { width: 100%; height: 100px; object-fit: cover; }
.main-headline { background-image: url('../images/u17.png'); background-size: cover; background-position: center; flex-direction: column; display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 650; margin: 20px 0 20px; text-align: center; }
/* Section Title */
.top-line {
    padding: 10px;
    line-height: 38px;
}

.main-headline .top-line:nth-child(1) {
    padding-top: 20px;
}

.main-headline .top-line:nth-last-child(1) {
    padding-bottom: 20px;
}
.section-title { font-size: 26px; font-weight: 650; color: var(--primary-text); margin: 35px 0 15px; position: relative; padding-left: 15px; z-index: 1; }
.section-title::before { content: ''; position: absolute; left: 0; bottom: 0; width: 50px; height: 18px; background-image: url('../images/u38.png'); background-size: contain; background-repeat: no-repeat; z-index: -1; }
/* Common Box */
.box { background: var(--bg-color); border-radius: var(--border-radius-lg); padding: 15px; box-sizing: border-box; }
/* Top News */
.top-news-section { display: flex; justify-content: space-between; height: 475px; padding-left: 0px;}
.top-news-image { width: 720px; position: relative; border-radius: var(--border-radius-md); overflow: hidden; /* margin-top: 20px; */ }
.top-news-image img { width: 100%; height: 100%; object-fit: cover; }
.top-banner-image { width: 1200px; position: relative; border-radius: var(--border-radius-md); overflow: hidden; /* margin-top: 20px; */ margin-bottom: 18px;}
.top-banner-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--border-radius-md); }
.top-news-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 130px; background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; box-sizing: border-box; }
.top-news-overlay h3 { color: #F5F5F7; font-size: 22px; font-weight: 200; margin: 0 0 25px; }
/* Swiper Pagination Customization */
.top-news-swiper .swiper-pagination { display: flex; gap: 10px; bottom: 20px; /* left: 20px; */ /* width: auto; */ margin: 0; padding: 0 20px; box-sizing: border-box; }
.top-news-swiper .swiper-pagination-bullet { width: 35px; width: 100%; height: 5px; background: rgba(245, 245, 247, 0.5); border-radius: 5px; cursor: pointer; transition: background 0.3s; opacity: 1; margin: 0 !important; }
.top-news-swiper .swiper-pagination-bullet-active { background: rgba(245, 245, 247, 1); }
.top-banner-swiper .swiper-pagination { display: flex; gap: 10px; bottom: 20px; /* left: 20px; */ /* width: auto; */ margin: 0; padding: 0 20px; box-sizing: border-box; }
.top-banner-swiper .swiper-pagination-bullet { width: 35px; width: 100%; height: 5px; background: rgba(245, 245, 247, 0.5); border-radius: 5px; cursor: pointer; transition: background 0.3s; opacity: 1; margin: 0 !important; }
.top-banner-swiper .swiper-pagination-bullet-active { background: rgba(245, 245, 247, 1); }
.top-news-list { width: 436px; display: flex; flex-direction: column; justify-content: flex-start; padding: 0; }
.top-news-item { font-size: 22px; font-weight: 400; display: flex; align-items: center; height: 89px; padding: 10px; box-sizing: border-box; border-bottom: 1px solid #EAEAEA; }
.top-news-item:last-child { border-bottom: none; }
/* Topics */
.topics-section { height: 556px; overflow: hidden; }
.topics-scroll { display: flex; gap: 15px; flex-wrap: wrap; height: 100%; padding-bottom: 10px; box-sizing: border-box; }
.topics-scroll::-webkit-scrollbar { height: 6px; display: none; }
.topics-scroll::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.topic-card { width: 380px; max-width: 85vw; flex-shrink: 0; display: flex; flex-direction: column; }
.topic-card img { width: 100%; height: auto; border-radius: var(--border-radius-md); object-fit: cover; }
.topic-card .title { font-size: 22px; font-weight: 400; margin-top: 15px; color: var(--text-main); line-height: 1.2; }
/* Three Images Banner */
.three-images-banner { height: 175px; display: flex; justify-content: space-between; margin-top: 30px; }
.three-images-banner img { width: 380px; height: 146px; border-radius: var(--border-radius-md); object-fit: cover; }
/* Category Label overlay for cards */
.category-label { font-size: 14px; font-weight: 100; color: #E43616; margin-bottom: 5px; }
/* Grids */
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.news-card-large { height: 460px; display: flex; flex-direction: column; }
.news-card-large img { width: 100%; height: 316px; border-radius: var(--border-radius-md); object-fit: cover; }
.news-content { margin-top: 15px; flex: 1; display: flex; flex-direction: column; }
.news-content h3 { font-size: 22px; font-weight: 400; margin: 0 0 10px; }
.news-content p { font-size: 16px; font-weight: 200; color: var(--text-muted); line-height: 26px; margin: 0 0 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.date { font-size: 16px; font-weight: 200; color: var(--text-muted); margin-top: auto; }
.news-card-horizontal { height: 175px; display: flex; gap: 15px; }
.news-card-horizontal img { width: 260px; height: 147px; border-radius: var(--border-radius-md); object-fit: cover; flex-shrink: 0; }
/* Comment Section */
.comments-container { display: flex; flex-direction: column; gap: 20px; }
.comment-section { display: flex; gap: 20px; align-items: stretch; }
.comment-img { width: 580px; height: auto; border-radius: var(--border-radius-md); object-fit: cover; flex-shrink: 0; }
.comment-section .news-content { display: flex; flex-direction: column; justify-content: flex-start; }
.comment-section .news-content h3 { font-size: 24px; margin: 0 0 15px; }
.comment-section .news-content p { color: var(--text-muted); font-size: 16px; line-height: 1.6; margin: 0 0 15px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.comment-section .news-content .date { margin-top: auto; }
.comments-grid { display: flex; gap: 20px; }
.comments-grid .news-card-horizontal { flex: 1; }
/* Mixed Grid (Left large, right 3 list items) */
.grid-2col-mixed { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.news-list-vertical { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.news-list-item { height: 140px; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.news-list-item img { width: 195px; height: 110px; border-radius: var(--border-radius-md); object-fit: cover; flex-shrink: 0; }
/* 3 Columns Grid */
.grid-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.news-card-tall { height: 450px; display: flex; flex-direction: column; }
.news-card-tall img { width: 100%; height: 203px; border-radius: var(--border-radius-md); object-fit: cover; }
.news-card-medium { height: 350px; display: flex; flex-direction: column; }
.news-card-medium img { width: 100%; height: 203px; border-radius: var(--border-radius-md); object-fit: cover; }
/* Video Grid */
.grid-video { display: grid; grid-template-columns: 795px 390px; gap: 15px; }
.video-card-large { height: 550px; display: flex; flex-direction: column; }
.video-wrapper { position: relative; width: 100%; }
.video-card-large .video-wrapper img.thumbnail { width: 100%; height: 431px; border-radius: var(--border-radius-md); object-fit: cover; }
.video-card-large .news-content h3 { font-size: 22px; font-weight: 400; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; cursor: pointer; z-index: 2; }
.video-card-small { height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.video-card-small .video-wrapper { position: relative; border-radius: var(--border-radius-md); overflow: hidden; height: 203px; }
.video-card-small .video-wrapper img.thumbnail { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card-small .video-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 100px; background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent); display: flex; align-items: flex-end; padding: 15px; box-sizing: border-box; z-index: 1; }
.video-card-small .video-overlay h3 { color: #fff; font-size: 22px; font-weight: 200; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-card-small .news-content { margin-top: 10px; flex: none; }
/* Footer */
footer { margin-top: 60px; background: #F5F5F7; padding: 30px 0 50px; border-top: 5px solid var(--primary-color); }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.footer-text { font-size: 14px; color: var(--text-muted); line-height: 2; font-weight: 200; }
.footer-text p { margin: 5px 0; }
.footer-text a { color: #F2001D; }
.footer-badges { display: flex; align-items: center; }
.footer-badges img { height: 26px; }
.footer-badges .footer-logo { height: 66px; margin-left: 20px; }
.ellipsis1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ellipsis2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ellipsis3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
