/* 全局样式重置 */
/* 赛天集团 - 响应式页面样式 */
:root {
  --red: #c41e3a;
  --red-dark: #a01830;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-300: #999;
  --gray-800: #333;
  --black: #1a1a1a;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --container: min(900px, 100% - 4rem);
  --bm-top-w: max(1000px, 100% - 32rem);
  --header-h: 64rem;
  --header-w: max(750px, 100% - 4rem);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,body{font-size: 10px;}
body {
    /* 'PingFang SC', 'Microsoft YaHei', sans-serif; */
    font-family: var(--font);
    line-height: 1.6;
    color: #333;
    background-color: #f7f8fc;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 144rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 导航栏 */
/* .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
}

.logo img {
    height: 3rem;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: #e50112;
}

.search img {
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
} */

/* 新闻动态 */
.news {padding: 12rem 0 8rem;}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 6rem;
}

.news-item-link {
    text-decoration: none;
    color: inherit;
    display: block;aspect-ratio: 500 / 520;    
}

.news-item {
    background-color: #f9f9f9;width:100%;height: 100%;
    border-radius: 0.8rem;
    overflow: hidden;
    transition: transform 0.3s ease;
    /* , box-shadow 0.3s ease */
}

.news-item:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); */
}

.news-image {
    width: 100%;aspect-ratio: 500 / 330;    
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    font-size: 1.6rem;
    color: #818181;
    margin: 2rem 0rem 1rem;
    display: flex;
    align-items: center;
}

.date-prefix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: .8rem;
}

.date-prefix img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}



.news-title {
    font-size: 2.4rem;
    color: #111111;
    margin: 0;
    line-height: 3.5rem;
    font-weight: 301;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: calc(3.5rem * 2);
    letter-spacing: .1rem;
}

/* 翻页控制 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.prev-btn,
.next-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    transform: scale(1.1);
}

.prev-btn img,
.next-btn img {
    width: 1.5rem;
    height: 1.5rem;
}

.page-indicator {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.indicator-dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background-color: #ddd;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    width: 2rem;
    border-radius: 1rem;
    background-color: #e50112;
}

/* 页脚 */
/* .footer {
    background-color: #e50112;
    color: #fff;
    padding: 4rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.footer-left {
    flex: 1;
}

.footer-left h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-right img {
    width: 10rem;
    height: 10rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    opacity: 0.8;
} */

/* 响应式设计 */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {padding: 0 4rem;}
    .news-item-link{aspect-ratio: 584 / 545;}    
    
    .navbar-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .nav ul {
        gap: 1.5rem;
    }

    .nav a {
        font-size: 1rem;
    }

    .news {
        padding: 10rem 0 6rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    

    .footer-content {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    
}
