/* 
 * 展会列表页样式
 * 文件路径：/wp-content/themes/你的主题/css/exhibition-list.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-list-wrapper {
    width: 100%;
    padding: 60px 20px;
    background-color: #fff;
}

.exhibition-list-container {
    max-width: 1440px;
    margin: 0 auto;
}

/* 页面头部 */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 展会网格 */
.exhibitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* 展会卡片 */
.exhibition-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;
}

.exhibition-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(249, 76, 48, 0.15);
}

/* 展会图片 */
.exhibition-image {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

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

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

/* 展会状态标签 */
.exhibition-status {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.exhibition-status.status-upcoming {
    background-color: #F94C30;
    color: #fff;
}

.exhibition-status.status-ongoing {
    background-color: #4CAF50;
    color: #fff;
    animation: pulse 2s infinite;
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* 展会内容 */
.exhibition-content {
    padding: 24px;
}

.exhibition-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

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

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

/* 元信息 */
.exhibition-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

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

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

/* 摘要 */
.exhibition-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 查看详情按钮 */
.read-more-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: #F94C30;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background-color: #d63d24;
    transform: translateX(4px);
}

/* 无展会提示 */
.no-exhibitions {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

.no-exhibitions p {
    font-size: 18px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .exhibitions-grid {
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .exhibition-list-wrapper {
        padding: 40px 15px;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .exhibitions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .exhibition-image {
        height: 220px;
    }

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