/* 详情页通用样式 */
.case-meta-tags {
    margin-bottom: 12px;
}

.case-type-tag {
    font-size: 12px;
    color: #0284c7;
    background: #f0f9ff;
    padding: 4px 12px;
    border-radius: 4px;
}

.detail-main {
    background: #fff;
    padding: 0 0 48px;
    min-height: calc(100vh - 400px);
    margin-top: 70px;
}

.article-header-sticky {
    position: sticky;
    top: 70px;
    background: #fff;
    z-index: 100;
    border-bottom: 1px solid #e8e8e8;
}

.article-header-sticky .article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    gap: 20px;
}

.article-header-left {
    flex: 1;
    min-width: 0;
}

.article-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
}

.meta-item svg {
    flex-shrink: 0;
}

.status-open {
    color: #10b981;
    font-weight: 500;
}

.status-open svg {
    stroke: #10b981;
}

.status-closed {
    color: #6b7280;
}

.status-review {
    color: #f59e0b;
    font-weight: 500;
}

.article-header-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-apply-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.btn-apply-main:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
    transform: translateY(-1px);
}

.divider-line {
    height: 1px;
    background: #e8e8e8;
}

.article-content {
    padding: 24px 0;
}

.article-banner {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
}

.article-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.content-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    margin-top: 32px;
}

.content-section-title:first-child {
    margin-top: 0;
}

.title-bar {
    width: 4px;
    height: 18px;
    background: #0284c7;
    border-radius: 2px;
}

.content-section-title span {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.content-body {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

.content-body p {
    margin: 0 0 12px;
}

.content-body p:last-child {
    margin-bottom: 0;
}

/* 活动信息卡片 */
.event-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.overview-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e8e8e8;
    transition: all 0.3s;
}

.overview-card:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.overview-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    border-radius: 12px;
    margin-bottom: 12px;
    color: #fff;
}

.overview-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.overview-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* 活动安排时间线 */
.schedule-timeline {
    position: relative;
    padding-left: 24px;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, #0284c7 0%, #0ea5e9 100%);
    border-radius: 1px;
}

.schedule-item {
    position: relative;
    padding: 16px 0 16px 20px;
}

.schedule-item::before {
    content: '';
    position: absolute;
    left: -24.5px;
    top: 20px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 3px solid #0284c7;
    border-radius: 50%;
    z-index: 1;
}

.schedule-time {
    display: inline-block;
    font-size: 13px;
    color: #0284c7;
    font-weight: 500;
    margin-bottom: 8px;
    background: rgba(2, 132, 199, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.schedule-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px;
}

.schedule-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* 参会须知列表 */
.notice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.notice-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    border-radius: 8px;
    color: #fff;
}

.notice-text {
    flex: 1;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 附件下载列表 */
.attachment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
}

.attachment-item:hover {
    background: #fff;
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
    transform: translateX(4px);
}

.attachment-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fee2e2;
    border-radius: 10px;
    color: #dc2626;
}

.attachment-info {
    flex: 1;
    min-width: 0;
}

.attachment-name {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.attachment-size {
    font-size: 13px;
    color: #999;
}

.attachment-download {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    border-radius: 8px;
    color: #fff;
    opacity: 0;
    transition: all 0.3s;
}

.attachment-item:hover .attachment-download {
    opacity: 1;
}

/* 联系方式卡片 */
.contact-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: #f8fafc;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    transition: all 0.3s;
}

.contact-item:hover {
    background: #fff;
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    border-radius: 12px;
    color: #fff;
    margin-bottom: 12px;
}

.contact-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.contact-value {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

/* 文件上传 */
.file-upload-wrapper {
    position: relative;
}

.file-upload-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8fafc;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload-label:hover {
    border-color: #0284c7;
    color: #0284c7;
    background: rgba(2, 132, 199, 0.05);
}

.file-upload-hint {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #999;
}

/* 面包屑 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #0284c7;
}

.breadcrumb-separator {
    color: #d1d5db;
}

.breadcrumb-current {
    color: #333;
}

/* 相关推荐 */
.related-policy-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e8e8e8;
}

.related-policy-header {
    margin-bottom: 20px;
}

.related-policy-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.related-policy-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-policy-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
}

.related-policy-item:hover {
    background: #fff;
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
    transform: translateX(4px);
}

.related-policy-item > svg:first-child {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0f2fe;
    border-radius: 10px;
    color: #0284c7;
}

.related-policy-name {
    flex: 1;
    min-width: 0;
}

.related-policy-name h4 {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin: 0 0 4px;
}

.related-policy-name span {
    font-size: 13px;
    color: #10b981;
}

.related-policy-item .arrow-right {
    flex-shrink: 0;
    color: #d1d5db;
}

/* 成果详情内容 */
.achievement-detail-content {
    margin-top: 16px;
}

.detail-section {
    margin-bottom: 32px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section-title {
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 12px;
}

.detail-section-body {
    color: #666;
    line-height: 1.8;
}

.detail-section-body p {
    margin: 0;
}

.detail-section-body img {
    width: 100%;
    border-radius: 8px;
    margin: 16px 0;
    height: auto;
}

/* 响应式 */
@media (max-width: 1200px) {
    .event-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-card {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .article-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-header-right {
        width: 100%;
    }
    
    .btn-apply-main {
        width: 100%;
        justify-content: center;
    }
    
    .event-overview {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        gap: 8px;
    }
}
