/* 基础样式 */
.policy-news-container {
    background-color: #f8f9fa;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}


.news-banner {
    height: 500px;
    width: auto;
    background-size: cover;
    background-position: center;
    background-image: url(../images/scienFinancial-bg.png);
}

.news-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 标题区域 */
.news-header {
    text-align: center;
    margin-bottom: 40px;
}

.news-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.news-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #1890ff;
    margin: 10px auto 0;
}

.news-tabs {
    display: inline-flex;
    border-bottom: 1px solid #e8e8e8;
    margin-top: 20px;
}

.tab-item {
    padding: 10px 25px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    position: relative;
}

.tab-item.active {
    color: #1890ff;
    font-weight: bold;
}

.tab-item.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1890ff;
}

/* 内容区域 */
.news-content {
    display: none;
}

.news-content.active {
    display: block;
}

/* 特色新闻 - 左右结构 */
.featured-news {
    display: flex;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.featured-img {
    flex: 0 0 40%;
    display: block;
    position: relative;
    height: 280px;
    overflow: hidden;
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.featured-img:hover img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
}

.featured-overlay h3 {
    margin: 0;
    font-size: 22px;
}

.featured-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.featured-meta {
    color: #999;
    font-size: 14px;
}

/* 新闻列表 */
.news-list-container {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    height: 400px;
    overflow: hidden;
}

.news-list {
    position: absolute;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    animation: scrollNews 20s linear infinite;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed #e8e8e8;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    min-width: 80px;
    text-align: center;
    margin-right: 20px;
}

.day-month {
    display: block;
    font-size: 18px;
    color: #1890ff;
    font-weight: bold;
}

.year {
    display: block;
    font-size: 12px;
    color: #999;
}

.news-link {
    flex: 1;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.news-link:hover {
    color: #1890ff;
}

.news-item-title {
    margin: 0;
    font-size: 16px;
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 查看更多按钮 */
.view-more-container {
    text-align: center;
    margin-top: 30px;
}

.view-more-btn {
    display: inline-block;
    padding: 10px 25px;
    color: #1890ff;
    border: 1px solid #1890ff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.view-more-btn:hover {
    background: #1890ff;
    color: white;
}

/* 轮播动画 */
@keyframes scrollNews {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(calc(-100% + 400px));
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-main-content {
        padding: 20px 15px;
    }

    .news-title {
        font-size: 24px;
    }

    .tab-item {
        padding: 8px 15px;
        font-size: 14px;
    }

    .featured-news {
        flex-direction: column;
    }

    .featured-img {
        flex: 0 0 200px;
    }

    .featured-content {
        padding: 20px;
    }

    .featured-title {
        font-size: 20px;
    }

    .news-list-container {
        height: 300px;
    }

    .news-item {
        padding: 10px 0;
    }

    .news-date {
        min-width: 60px;
        margin-right: 10px;
    }

    .day-month {
        font-size: 16px;
    }
}

.financial {
    background-image: url(../images/financial.png);
    width: auto;
}
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
}

.financial-products {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1a3e72;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 16px;
    color: #666;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #1a6df3;
    margin: 20px auto 0;
}
.loan-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.loan-card {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}
.loan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.loan-image {
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.loan-image  img{
    width: 373px;
    height: 150px;
}
.loan-info {
    padding: 20px;
}
.loan-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.loan-rate {
    color: #e53935;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}
.loan-term {
    margin-bottom: 10px;
    color: #666;
}
.loan-amount {
    margin-bottom: 15px;
}
.view-details {
    display: block;
    text-align: center;
    background-color: #1e88e5;
    color: white;
    padding: 10px;
    text-decoration: none;
    border-radius: 4px;
}
.view-details:hover {
    background-color: #1565c0;
}

.view-more {
    text-align: center;
    margin-top: 30px;
}

.btn-view-more {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: #1a6df3;
    border: 2px solid #1a6df3;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-view-more:hover {
    background: #1a6df3;
    color: white;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 26px;
    }

    .loan-card {
        margin-bottom: 20px;
    }
}
