/* 活动资讯页面样式 */
.news-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 新闻容器布局 */
.news-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

/* 新闻主要内容区域 */
.news-main {
    min-height: 800px;
}

/* 筛选器样式 */
.news-filter {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    color: #666;
    white-space: nowrap;
}

.filter-group select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    background-color: #fff;
    cursor: pointer;
}

/* 新闻列表样式 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    position: relative;
    height: 150px;
    overflow: hidden;
    border-radius: 4px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    background-color: rgba(22, 97, 171, 0.9);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
}

.news-info {
    display: flex;
    flex-direction: column;
}

.news-info h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 10px;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    margin-top: auto;
    align-self: flex-start;
    padding: 8px 20px;
    background-color: #1661AB;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.read-more:hover {
    background-color: #114B7D;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.page-numbers {
    display: flex;
    gap: 10px;
}

.page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.page-numbers span:hover,
.page-numbers span.active {
    background-color: #1661AB;
    color: #fff;
}

.prev-page,
.next-page {
    padding: 8px 15px;
    border: none;
    background-color: #1661AB;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.prev-page:hover,
.next-page:hover {
    background-color: #114B7D;
}

/* 侧边栏样式 */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-sidebar section {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-sidebar h3 {
    color: #1661AB;
    font-size: 18px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 3px solid #1661AB;
}

/* 日历样式 */
.calendar {
    background-color: #fff;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-header button {
    border: none;
    background: none;
    color: #1661AB;
    font-size: 18px;
    cursor: pointer;
}

.current-month {
    font-weight: bold;
    color: #333;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-grid div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
}

.calendar-grid div:hover {
    background-color: #f0f0f0;
}

.calendar-grid div.has-event {
    background-color: #1661AB;
    color: #fff;
}

/* 热门话题样式 */
.topic-list {
    list-style: none;
    padding: 0;
}

.topic-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.topic-list li:last-child {
    border-bottom: none;
}

.topic-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #1661AB;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
}

.topic-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.topic-list a:hover {
    color: #1661AB;
}

/* 订阅表单样式 */
.subscribe-section p {
    color: #666;
    margin-bottom: 15px;
}

.subscribe-form {
    display: flex;
    gap: 10px;
}

.subscribe-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.subscribe-form button {
    padding: 10px 20px;
    background-color: #1661AB;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.subscribe-form button:hover {
    background-color: #114B7D;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .news-container {
        grid-template-columns: 1fr;
    }

    .news-filter {
        flex-direction: column;
    }

    .news-item {
        grid-template-columns: 1fr;
    }

    .news-image {
        height: 200px;
    }

    .subscribe-form {
        flex-direction: column;
    }
} 