/* 新闻动态页面专用样式 */

/* 当前位置导航 */
.breadcrumb {
    background: #f8f9fa;
    padding: 10px 50px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb span {
    color: #495057;
}

/* 主要内容区域 */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 资讯动态标题卡片样式 */
.news-title-section {
    margin: 20px 0 30px 0;
}

.news-title-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.news-title-header {
    background: #1e3a8a;
    color: white;
    padding: 20px;
    text-align: center;
}

.news-title-header h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.news-title-header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    font-style: italic;
}

.news-title-content {
    padding: 20px;
    background: white;
}

.news-title-content p {
    margin: 0;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

/* 新闻内容区域 */
.news-content {
    margin-bottom: 40px;
}

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

.news-column {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.column-header {
    background: #1e3a8a;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.column-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.more-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.3s ease;
}

.more-link:hover {
    opacity: 0.8;
}

.more-link i {
    font-size: 12px;
}

/* 新闻列表样式 */
.news-list {
    padding: 20px;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.3s ease;
}

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

.news-item:hover {
    background-color: #f8f9fa;
    margin: 0 -20px;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 所有新闻项目都使用日期框样式，不再需要bullet样式 */

.news-item .news-text {
    flex: 1;
    color: #2d3748;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

/* 标准研究的日期框样式 */
.news-item .date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 8px;
    color: white;
    text-align: center;
    flex-shrink: 0;
    margin-right: 10px;
}

.date-number {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.date-month {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.9;
}

/* 内容切换区域样式 */
.association-news-content,
.notices-content,
.policy-info-content {
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 -20px 40px -20px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 0;
    color: white;
}

.section-header h2 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
}

.section-header p {
    color: white;
    font-size: 16px;
    margin: 0;
    font-style: italic;
    opacity: 0.9;
}

/* 详细内容列表样式 */
.content-list-detailed {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-item-detailed {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #1e3a8a;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-item-detailed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6, #1e3a8a);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.news-item-detailed:hover::before {
    transform: translateX(0);
}

.news-item-detailed:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.15);
    border-left-color: #3b82f6;
}

/* 详细日期框样式 */
.date-box-detailed {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 12px;
    color: white;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    position: relative;
    overflow: hidden;
}

.date-box-detailed::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.news-item-detailed:hover .date-box-detailed::before {
    animation: shimmer 0.6s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.date-box-detailed .date-number {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
    z-index: 1;
    position: relative;
}

.date-box-detailed .date-month {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
    z-index: 1;
    position: relative;
}

/* 详细新闻内容样式 */
.news-content-detailed {
    flex: 1;
    padding-left: 10px;
}

.news-content-detailed h3 {
    color: #1e3a8a;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 12px 0;
    transition: color 0.3s ease;
}

.news-item-detailed:hover .news-content-detailed h3 {
    color: #3b82f6;
}

.news-content-detailed p {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .news-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .banner-image {
        height: 250px;
    }
    
    .association-news-content,
    .notices-content,
    .policy-info-content {
        padding: 40px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .news-item-detailed {
        padding: 20px;
        gap: 15px;
    }
    
    .date-box-detailed {
        min-width: 70px;
        height: 70px;
    }
    
    .date-box-detailed .date-number {
        font-size: 20px;
    }
    
    .news-content-detailed h3 {
        font-size: 16px;
    }
}

/* 文章详情页面样式 */
.article-detail-section {
    display: none;
    padding: 0;
    max-width: 100%;
    margin: 0;
    background: white;
    min-height: 100vh;
    position: relative;
}


.article-detail-container {
    background: white;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
    width: 100%;
}

.article-detail-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.article-detail-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.article-detail-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    opacity: 0.9;
    flex-wrap: wrap;
}

.article-detail-date,
.article-detail-category,
.article-detail-author {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    color: white;
    font-size: 14px;
    white-space: nowrap;
}

.article-detail-content {
    padding: 30px 40px;
    line-height: 1.8;
    font-size: 16px;
    color: #000;
    background: white;
    max-width: 1000px;
    margin: 0 auto;
}

.article-detail-content h1,
.article-detail-content h2,
.article-detail-content h3 {
    color: #1e3c72;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-detail-content p {
    margin-bottom: 15px;
    color: #000;
    font-size: 16px;
    line-height: 1.8;
}

.article-detail-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.article-detail-actions {
    padding: 20px 40px;
    background: #f8f9fa;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.btn-back {
    background: #1e3c72;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-back:hover {
    background: #2a5298;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3);
}

.btn-back i {
    font-size: 14px;
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .main-content {
        padding: 0 15px;
    }
    
    .news-title-section {
        margin: 15px 0 20px 0;
    }
    
    .news-title-header {
        padding: 15px;
    }
    
    .news-title-header h2 {
        font-size: 20px;
    }
    
    .news-title-header p {
        font-size: 13px;
    }
    
    .news-title-content {
        padding: 15px;
    }
    
    .news-title-content p {
        font-size: 14px;
    }
    
    .column-header {
        padding: 12px 15px;
    }
    
    .column-header h3 {
        font-size: 15px;
    }
    
    .news-list {
        padding: 15px;
    }
    
    .news-item {
        padding: 10px 0;
    }
    
    .news-item:hover {
        margin: 0 -15px;
        padding: 10px 15px;
    }
    
    .news-item .news-text {
        font-size: 13px;
    }
    
    .news-item .date-box {
        min-width: 50px;
        height: 50px;
    }
    
    .date-number {
        font-size: 16px;
    }
    
    .date-month {
        font-size: 9px;
    }
    
    .association-news-content,
    .notices-content,
    .policy-info-content {
        padding: 30px 20px;
    }
    
    .section-header {
        margin: 0 -15px 30px -15px;
        padding: 20px 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    .news-item-detailed {
        padding: 15px;
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .date-box-detailed {
        min-width: 60px;
        height: 60px;
        align-self: flex-start;
    }
    
    .date-box-detailed .date-number {
        font-size: 18px;
    }
    
    .date-box-detailed .date-month {
        font-size: 10px;
    }
    
    .news-content-detailed {
        padding-left: 0;
        width: 100%;
    }
    
    .news-content-detailed h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .news-content-detailed p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .news-title-header {
        padding: 12px 15px;
    }
    
    .news-title-header h2 {
        font-size: 18px;
    }
    
    .news-title-header p {
        font-size: 12px;
    }
    
    .news-title-content {
        padding: 12px 15px;
    }
    
    .news-title-content p {
        font-size: 13px;
    }
    
    .column-header {
        padding: 10px 12px;
    }
    
    .column-header h3 {
        font-size: 14px;
    }
    
    .more-link {
        font-size: 12px;
    }
    
    .news-list {
        padding: 12px;
    }
    
    .news-item {
        padding: 8px 0;
        gap: 8px;
    }
    
    .news-item:hover {
        margin: 0 -12px;
        padding: 8px 12px;
    }
    
    .news-item .news-text {
        font-size: 12px;
    }
    
    .news-item .date-box {
        min-width: 45px;
        height: 45px;
    }
    
    .date-number {
        font-size: 14px;
    }
    
    .date-month {
        font-size: 8px;
    }
    
    .association-news-content,
    .notices-content,
    .policy-info-content {
        padding: 20px 15px;
    }
    
    .section-header {
        margin: 0 -10px 25px -10px;
        padding: 18px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .section-header p {
        font-size: 13px;
    }
    
    .news-item-detailed {
        padding: 12px;
        gap: 10px;
    }
    
    .date-box-detailed {
        min-width: 50px;
        height: 50px;
    }
    
    .date-box-detailed .date-number {
        font-size: 16px;
    }
    
    .date-box-detailed .date-month {
        font-size: 9px;
    }
    
    .news-content-detailed h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .news-content-detailed p {
        font-size: 12px;
    }
}

/* 附件下载样式 */
.article-attachments {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.article-attachments h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.attachments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.attachment-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.attachment-item:hover {
    border-color: #007bff;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.1);
}

.attachment-item i {
    margin-right: 10px;
    font-size: 16px;
}

.attachment-name {
    flex: 1;
    color: #007bff;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease;
}

.attachment-name:hover {
    color: #0056b3;
    text-decoration: underline;
}

.attachment-size {
    color: #6c757d;
    font-size: 12px;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .article-attachments {
        margin-top: 20px;
        padding: 15px;
    }
    
    .article-attachments h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .attachment-item {
        padding: 8px 12px;
    }
    
    .attachment-item i {
        font-size: 14px;
        margin-right: 8px;
    }
    
    .attachment-name {
        font-size: 14px;
    }
    
    .attachment-size {
        font-size: 11px;
        margin-left: 8px;
    }
}
