/* 
 * 展会详情页样式
 * 文件路径：/wp-content/themes/你的主题/css/exhibition-single.css
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

.exhibition-detail-wrapper {
    width: 100%;
    background-color: #fff;
}

.exhibition-detail-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* 面包屑导航 */
.breadcrumb {
    margin-bottom: 30px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F94C30;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover {
    gap: 12px;
    color: #d63d24;
}

/* 主图区域 */
.exhibition-hero {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.exhibition-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 24px;
}

.hero-status {
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.hero-status.status-upcoming {
    background-color: rgba(249, 76, 48, 0.95);
    color: #fff;
}

.hero-status.status-ongoing {
    background-color: rgba(76, 175, 80, 0.95);
    color: #fff;
    animation: pulse 2s infinite;
}

.hero-status.status-ended {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
}

/* 主要内容区 */
.exhibition-main {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.exhibition-header {
    text-align: left;
}

.exhibition-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* 信息网格 */
.exhibition-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* 信息卡片 */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: #F94C30;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(249, 76, 48, 0.1);
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 76, 48, 0.1);
    border-radius: 12px;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 13px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.info-value {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

/* 展会描述 */
.exhibition-description {
    background: #fafafa;
    padding: 40px;
    border-radius: 12px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid #F94C30;
}

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

.content-text p {
    margin-bottom: 16px;
}

.content-text h2,
.content-text h3 {
    color: #333;
    margin-top: 24px;
    margin-bottom: 12px;
}

.content-text ul,
.content-text ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

/* 相关展会 */
.related-exhibitions {
    margin-top: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.related-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(249, 76, 48, 0.15);
}

.related-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 20px;
}

.related-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.related-status.status-upcoming {
    background-color: rgba(249, 76, 48, 0.1);
    color: #F94C30;
}

.related-status.status-ongoing {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.related-status.status-ended {
    background-color: rgba(0, 0, 0, 0.05);
    color: #999;
}

.related-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.related-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-title a:hover {
    color: #F94C30;
}

.related-date {
    font-size: 14px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .exhibition-title {
        font-size: 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .exhibition-detail-container {
        padding: 30px 15px 60px;
    }

    .exhibition-hero {
        height: 300px;
        border-radius: 12px;
    }

    .exhibition-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 24px;
    }

    .exhibition-description {
        padding: 24px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 20px;
    }

    .info-value {
        font-size: 16px;
    }
}