.featured-showcase {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    margin-left: 30px;  /* 从 50px 改为 30px */
    border: 1px solid #ddd; /* 临时添加边框以便调试 */
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.showcase-header h2 {
    color: #8B4513;
    font-size: 24px;
    font-weight: 600;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

.showcase-header .view-more {
    color: #8B4513;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.showcase-header .view-more:hover {
    color: #654321;
}

/* 展示区网格布局改为横向滚动 */
.showcase-grid {
    display: flex;
    gap: 2rem;
    padding: 0.5rem;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* 固定宽度的展示项 */
.showcase-item {
    flex: 0 0 280px;
    min-width: 280px; /* 确保最小宽度 */
    background: linear-gradient(to bottom, #FFF8F0, #FFF);
    border: 1px solid rgba(139, 69, 19, 0.1);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(139, 69, 19, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.15);
}

/* 图片容器 */
.showcase-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

.showcase-item:hover .showcase-image img {
    transform: scale(1.05);
}

/* 藏品信息 */
.showcase-info {
    padding: 1.2rem;
    background: rgba(255, 248, 240, 0.5);
}

.showcase-title {
    font-family: "FangSong", "STFangsong", serif;
    font-size: 1.3rem;
    color: #4A3728;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    text-align: center;
}

.showcase-details {
    margin-bottom: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #666;
}

.detail-label {
    color: #8B4513;
    font-weight: bold;
    font-family: "FangSong", "STFangsong", serif;
}

.view-icon {
    font-style: normal;
    margin-right: 4px;
    font-size: 0.9em;
    color: #8B4513;
    opacity: 0.8;
}

.detail-value {
    color: #4A3728;
    font-family: "SimSun", "宋体", serif;
    display: flex;
    align-items: center;
}

.showcase-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(139, 69, 19, 0.1);
}

.showcase-category {
    color: #8B4513;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    background: rgba(139, 69, 19, 0.1);
    border-radius: 4px;
}

.showcase-status {
    font-size: 0.9rem;
    color: #2C1810;
    font-family: "FangSong", "STFangsong", serif;
}

/* 收藏按钮 */
.showcase-favorite {
    display: none; /* 或者直接删除这个样式块 */
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .showcase-image {
        height: 180px;
    }
}

.category-title {
    text-align: center;
    margin: 2rem 0;
}

.category-title h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
}

/* 轮播控制按钮 */
.showcase-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(139, 69, 19, 0.8);
    border: none;
    border-radius: 50%;
    color: #FFF;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-btn:hover {
    background: rgba(139, 69, 19, 1);
    transform: translateY(-50%) scale(1.1);
}

.showcase-btn.prev {
    left: 1rem;
}

.showcase-btn.next {
    right: 1rem;
}

/* 当鼠标悬停在容器上时暂停自动轮播 */
.featured-showcase:hover .showcase-grid {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
} 