/* 行业资讯页面样式 */

.news-hero {
    background: linear-gradient(135deg, rgba(39, 39, 39, 0.9) 0%, rgba(245, 250, 255, 0.1) 100%);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.news-hero:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(123, 97, 255, 0.03) 0%, transparent 70%);
    z-index: -1;
}

.news-subscribe {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 30px auto 0;
}

.news-subscribe input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
}

.news-subscribe input:focus {
    outline: none;
    border-color: var(--secondary);
}

.subscribe-btn {
    background: var(--gradient-light);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 97, 255, 0.4);
}

/* 资讯分类 */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 30px 0;
}

.category-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--light);
    font-weight: 500;
    font-family: 'Exo 2', sans-serif;
}

.category-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.category-tab.active {
    background: var(--gradient-light);
    border-color: var(--secondary);
    color: white;
}

.category-tab i {
    font-size: 1.1rem;
}

/* 精选头条 */
.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.featured-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.featured-card.large .news-image {
    height: 300px;
    position: relative;
    background: var(--gradient);
}

.featured-card.small {
    display: flex;
    gap: 20px;
    padding: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.featured-card.small:last-child {
    margin-bottom: 0;
}

.featured-card.small .news-image-small {
    width: 100px;
    height: 80px;
    background: var(--gradient);
    border-radius: 10px;
    flex-shrink: 0;
}

.news-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-light);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.read-time {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.news-content {
    padding: 30px;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.featured-card.large h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-excerpt {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.news-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.news-tag {
    background: rgba(0, 217, 255, 0.1);
    color: var(--secondary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.read-more {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.featured-card.small h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.featured-card.small .news-meta {
    margin-bottom: 0;
    font-size: 0.8rem;
}

/* 资讯列表 */
.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.list-header h2 {
    margin-bottom: 0;
}

.sort-options select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Exo 2', sans-serif;
    min-width: 150px;
}

.news-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: rgba(5, 5, 5, 0.5);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    opacity: 1;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.news-item-image {
    width: 300px;
    height: 200px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 使用cover模式确保图片填充整个容器，保持比例同时覆盖整个区域 */
}

.item-category {
    background: var(--gradient-light);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.news-item-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-item-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-item-content h3 a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
}

.news-item-content h3 a:hover {
    color: var(--secondary);
}

.item-excerpt {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.item-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.item-meta i {
    margin-right: 5px;
    color: var(--secondary);
}

.item-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.item-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* 分页 */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Exo 2', sans-serif;
}

.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.pagination-btn.active {
    background: var(--gradient-light);
    border-color: transparent;
}

.pagination-btn.next-btn {
    width: auto;
    padding: 0 25px;
}

/* 热门专题 */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.topic-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.topic-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
}

.topic-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.topic-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}

.topic-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.topic-stats {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* 资讯订阅 */
.newsletter-subscribe {
    background: linear-gradient(135deg, rgba(20, 30, 48, 0.2) 0%, rgba(30, 40, 60, 0.2) 100%);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 217, 255, 0.15);
}

.newsletter-subscribe:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(0, 217, 255, 0.08) 0%, transparent 70%);
    z-index: -1;
}

.subscribe-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.subscribe-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
}

.subscribe-content h2 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.subscribe-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
}

.subscribe-submit {
    background: var(--gradient-light);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.subscribe-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(123, 97, 255, 0.4);
}

.subscribe-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
}

.subscribe-benefits {
    background: var(--gradient);
    padding: 40px;
    border-radius: 15px;
}

.subscribe-benefits h3 {
    color: white;
    margin-bottom: 25px;
}

.subscribe-benefits ul {
    list-style: none;
    padding-left: 0;
}

.subscribe-benefits ul li {
    margin-bottom: 15px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subscribe-benefits ul li i {
    color: var(--secondary);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .news-item-image {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .subscribe-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .news-pagination {
        flex-wrap: wrap;
    }
}