@charset "utf-8";

/* 公告详情页面样式 */

.announcement-detail {
    width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
    background-color: #fff;
}

.announcement-detail .container-in {
    padding: 20px;
}

/* 详情头部 */
.announcement-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    text-align: center;
}

.announcement-detail-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.announcement-detail-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
    color: #666;
}

.announcement-detail-info span {
    display: inline-block;
}

/* 详情内容 */
.announcement-detail-content {
    margin-bottom: 30px;
}

.announcement-content-body {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    padding: 20px 0;
}

.announcement-content-body p {
    margin-bottom: 15px;
}

.announcement-content-body img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

.announcement-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.announcement-content-body table th,
.announcement-content-body table td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.announcement-content-body table th {
    background-color: #f9f9f9;
    font-weight: bold;
}

/* 附件列表 */
.announcement-attachments {
    margin-top: 30px;
    padding-top: 20px;
}

.announcement-attachments h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.attachment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attachment-list li {
    margin-bottom: 10px;
}

.attachment-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.attachment-list a:hover {
    background-color: #f0f0f0;
    color: #00abe1;
}

.file-icon {
    font-size: 18px;
}

.file-name {
    flex: 1;
    font-size: 14px;
}

.file-size {
    font-size: 12px;
    color: #999;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .announcement-detail {
        width: 100%;
        padding: 20px;
    }
}

@media screen and (max-width: 768px) {
    .announcement-detail-title {
        font-size: 20px;
    }
    
    .announcement-detail-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .announcement-content-body {
        font-size: 13px;
    }
    
    .attachment-list a {
        flex-wrap: wrap;
    }
}

