/* 新闻中心页面样式 */

/* ===== 通用样式 ===== */
.news-hero {
    background-color: #f5f7fa;
    padding: 80px 0;
    text-align: center;
}

.news-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a237e;
}

.news-hero-content .subtitle {
    font-size: 1.2rem;
    color: #546e7a;
    max-width: 800px;
    margin: 0 auto;
}

.news-nav {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
    margin-bottom: 50px;
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
}

.news-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    color: #546e7a;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.news-tab:hover {
    color: #1a237e;
    background-color: rgba(26, 35, 126, 0.05);
}

.news-tab.active {
    color: #1a237e;
    border-bottom-color: #1a237e;
}

.section-header-main {
    text-align: center;
    margin-bottom: 40px;
}

.section-header-main h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 15px;
}

.section-header-main p {
    font-size: 1.1rem;
    color: #546e7a;
    max-width: 800px;
    margin: 0 auto;
}

.news-subscribe {
    background-color: #f5f7fa;
    padding: 60px 0;
}

.subscribe-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.subscribe-content {
    flex: 1;
    padding-right: 40px;
}

.subscribe-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 15px;
}

.subscribe-content p {
    color: #546e7a;
}

.subscribe-form {
    flex: 1;
}

.subscribe-form .form-group {
    display: flex;
}

.subscribe-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #cfd8dc;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    outline: none;
}

.subscribe-form input[type="email"]:focus {
    border-color: #1a237e;
}

.subscribe-form .btn-subscribe {
    padding: 12px 25px;
    background-color: #1a237e;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-form .btn-subscribe:hover {
    background-color: #0d1b69;
}

.form-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #78909c;
}

.form-note a {
    color: #1565c0;
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

.news-cta {
    background-color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 20px;
}

.cta-content p {
    color: #546e7a;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #1a237e;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0d1b69;
}

.btn-secondary {
    background-color: transparent;
    color: #1a237e;
    border: 1px solid #1a237e;
}

.btn-secondary:hover {
    background-color: rgba(26, 35, 126, 0.1);
}

/* ===== 新闻概览页面 ===== */
.news-overview {
    padding: 30px 0 60px;
}

.featured-news {
    display: flex;
    background-color: #f5f7fa;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.featured-news-content {
    flex: 1;
    padding: 40px;
}

.featured-news-image {
    flex: 1;
    background-color: #e0e0e0;
    min-height: 350px;
    position: relative;
    overflow: hidden;
}

.featured-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.featured-news-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: #1a237e;
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.news-date {
    color: #78909c;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-excerpt {
    color: #37474f;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a237e;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #0d1b69;
    transform: translateX(5px);
}

.news-sections-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a237e;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #1565c0;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all:hover {
    transform: translateX(5px);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.news-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.news-card-image {
    height: 150px;
    background-color: #e0e0e0;
    position: relative;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-content {
    padding: 20px;
}

.news-card-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a237e;
    line-height: 1.4;
}

.news-list {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.news-list-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-item:hover {
    background-color: #f5f7fa;
}

.news-list-item h3 {
    font-size: 1.15rem;
    margin: 8px 0;
    font-weight: 600;
    line-height: 1.4;
}

.news-list-item h3 a {
    color: #1a237e;
    text-decoration: none;
}

.news-list-item h3 a:hover {
    color: #0d1b69;
    text-decoration: underline;
}

.news-source {
    color: #546e7a;
    font-size: 0.9rem;
}

/* ===== 市场活动页面 ===== */
.events-section {
    padding: 30px 0 60px;
}

.events-filter {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    color: #546e7a;
    font-weight: 500;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #cfd8dc;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #37474f;
    outline: none;
    background-color: #fff;
}

.events-list {
    max-width: 900px;
    margin: 0 auto;
}

.events-group {
    margin-bottom: 40px;
}

.events-group-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.event-card {
    display: flex;
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.event-date {
    flex: 0 0 100px;
    background-color: #1a237e;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    text-align: center;
}

.date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date-box .month {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.date-box .day {
    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 5px;
}

.date-box .year {
    font-size: 0.9rem;
    opacity: 0.8;
}

.event-details {
    flex: 1;
    padding: 25px;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.event-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.event-header h3 a {
    color: #1a237e;
    text-decoration: none;
}

.event-header h3 a:hover {
    text-decoration: underline;
}

.event-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: #1a237e;
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-left: 10px;
}

.event-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.event-location, .event-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #546e7a;
    font-size: 0.9rem;
}

.event-description {
    color: #37474f;
    line-height: 1.6;
    margin-bottom: 20px;
}

.event-actions {
    display: flex;
    gap: 15px;
}

.btn-details, .btn-register, .btn-video, .btn-download {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-details {
    color: #1a237e;
    border: 1px solid #1a237e;
    background-color: transparent;
}

.btn-details:hover {
    background-color: rgba(26, 35, 126, 0.1);
}

.btn-register {
    background-color: #1a237e;
    color: #fff;
    border: 1px solid #1a237e;
}

.btn-register:hover {
    background-color: #0d1b69;
}

.btn-video, .btn-download {
    color: #0277bd;
    border: 1px solid #0277bd;
    background-color: transparent;
}

.btn-video:hover, .btn-download:hover {
    background-color: rgba(2, 119, 189, 0.1);
}

.past-event {
    opacity: 0.7;
}

.past-event:hover {
    opacity: 1;
}

/* ===== 媒体报道页面 ===== */
.media-section {
    padding: 30px 0 60px;
}

.media-filter {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.media-year-group {
    margin-bottom: 40px;
}

.media-year-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.media-item {
    display: flex;
    padding: 25px;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.media-item:last-child {
    border-bottom: none;
}

.media-item:hover {
    background-color: #f5f7fa;
}

.media-date {
    flex: 0 0 100px;
    color: #546e7a;
    font-weight: 500;
}

.media-content {
    flex: 1;
}

.media-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.media-content h3 a {
    color: #1a237e;
    text-decoration: none;
}

.media-content h3 a:hover {
    text-decoration: underline;
}

.media-source {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #546e7a;
}

.source-label {
    font-weight: 500;
}

.media-excerpt {
    color: #37474f;
    line-height: 1.6;
    margin-bottom: 20px;
}

.media-actions {
    display: flex;
    gap: 15px;
}

.btn-read, .btn-source {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-read {
    color: #1a237e;
    border: 1px solid #1a237e;
    background-color: transparent;
}

.btn-read:hover {
    background-color: rgba(26, 35, 126, 0.1);
}

.btn-source {
    color: #0277bd;
    border: 1px solid #0277bd;
    background-color: transparent;
}

.btn-source:hover {
    background-color: rgba(2, 119, 189, 0.1);
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
    .news-sections-overview {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .featured-news {
        flex-direction: column;
    }

    .featured-news-image {
        min-height: 250px;
    }

    .subscribe-container {
        flex-direction: column;
        text-align: center;
    }

    .subscribe-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .news-hero {
        padding: 60px 0;
    }

    .news-hero-content h1 {
        font-size: 2rem;
    }

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

    .news-tabs {
        flex-wrap: wrap;
    }

    .news-tab {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        padding: 12px 15px;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        flex: 0 0 auto;
        padding: 15px;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }

    .date-box {
        flex-direction: row;
        align-items: center;
        gap: 5px;
    }

    .date-box .day {
        margin-bottom: 0;
    }

    .events-filter, .media-filter {
        flex-direction: column;
        align-items: flex-start;
    }

    .media-item {
        flex-direction: column;
    }

    .media-date {
        margin-bottom: 10px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .news-hero {
        padding: 40px 0;
    }

    .news-hero-content h1 {
        font-size: 1.8rem;
    }

    .news-hero-content .subtitle {
        font-size: 1rem;
    }

    .featured-news-content {
        padding: 25px;
    }

    .featured-news-content h2 {
        font-size: 1.5rem;
    }

    .event-actions, .media-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-details, .btn-register, .btn-video, .btn-download,
    .btn-read, .btn-source {
        text-align: center;
    }

    .subscribe-form .form-group {
        flex-direction: column;
    }

    .subscribe-form input[type="email"] {
        border-right: 1px solid #cfd8dc;
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .subscribe-form .btn-subscribe {
        border-radius: 4px;
        width: 100%;
    }
}
