/* 更正公告详情页面专用样式 */
.correction-detail-page {
    background-color: #f8f9fa;
}

.correction-detail {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

/* 更正头部 */
.correction-header {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.correction-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 20px;
}

/* 关联招标信息 */
.related-bidding {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
}

.related-bidding h3 {
    font-size: 1.1rem;
    color: #0066cc;
    margin-bottom: 10px;
}

.bidding-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bidding-link {
    text-decoration: none;
    color: inherit;
}

.bidding-link:hover {
    text-decoration: none;
    color: inherit;
}

.bidding-title {
    font-weight: 600;
    color: #2c3e50;
}

.bidding-title:hover {
    color: #007bff;
}

.project-number {
    color: #6c757d;
    font-size: 0.9rem;
}

.bidding-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

/* 更正基本信息 */
.correction-basic-info {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-label {
    font-weight: 600;
    color: #495057;
    min-width: 80px;
    flex-shrink: 0;
}

.info-value {
    color: #2c3e50;
    flex: 1;
}

.correction-type {
    background: #fd7e14;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 更正元信息 */
.correction-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    color: #6c757d;
    font-size: 0.9rem;
}

/* 更正内容区块 */
.correction-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.correction-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #007bff;
}

.section-content {
    line-height: 1.7;
    color: #495057;
}

/* 原公告内容样式 */
.original-section {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 20px;
}

.original-content {
    color: #856404;
}

/* 更正后内容样式 */
.corrected-section {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 6px;
    padding: 20px;
}

.corrected-content {
    color: #0c5460;
}

/* 操作按钮 */
.correction-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-share,
.btn-print {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.btn-share {
    background-color: #007bff;
    color: white;
}

.btn-share:hover {
    background-color: #0056b3;
}

.btn-print {
    background-color: #6c757d;
    color: white;
}

.btn-print:hover {
    background-color: #545b62;
}

/* 相关更正公告 */
.related-corrections {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 25px;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-item {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
}

.related-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-link:hover {
    text-decoration: none;
    color: inherit;
}

.related-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.related-title:hover {
    color: #007bff;
}

.related-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #6c757d;
}

/* 热门更正 */
.hot-corrections {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hot-item {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 12px;
}

.hot-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hot-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.hot-link:hover {
    text-decoration: none;
    color: inherit;
}

.hot-type {
    display: inline-block;
    background: #fd7e14;
    color: white;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 0.7rem;
    margin-right: 5px;
}

.hot-title {
    display: block;
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.4;
    margin-bottom: 4px;
}

.hot-title:hover {
    color: #007bff;
}

.hot-views {
    font-size: 0.8rem;
    color: #6c757d;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .correction-detail {
        padding: 20px;
    }
    
    .correction-title {
        font-size: 1.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .correction-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .related-meta {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 576px) {
    .correction-detail {
        padding: 15px;
    }
    
    .correction-title {
        font-size: 1.3rem;
    }
    
    .correction-basic-info {
        padding: 15px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .info-label {
        min-width: auto;
    }
    
    .related-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}