/* 响应式图片基础样式 */
.exhibition-item {
    margin-bottom: 30px;
}

/* 宽高比容器：保持图片比例不变形 */
.aspect-ratio-container {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 宽高比 (200/170 ≈ 1.176, 使用85%或自定义比例) */
    overflow: hidden;
    border-radius: 4px;
}

/* 响应式图片样式 */
.responsive-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例，裁剪多余部分 */
    object-position: center; /* 图片居中显示 */
    transition: transform 0.3s ease;
}

.image-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* 悬停效果（可选） */
.exhibition-img:hover .responsive-img {
    transform: scale(1.05);
}

/* 内容区域样式 */
.exhibition-content {
    padding: 15px 10px;
    background: #fff;
}

.exhibition-title {
    font-size: 16px;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

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

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

.exhibition-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 限制显示行数 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 响应式调整 */
@media (max-width: 767px) {
    .exhibition-item {
        margin-bottom: 20px;
    }
    
    .aspect-ratio-container {
        padding-bottom: 66.67%; /* 3:2 宽高比，更适合手机 */
    }
    
    .exhibition-content {
        padding: 12px 8px;
    }
    
    .exhibition-title {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .exhibition-desc {
        font-size: 13px;
        -webkit-line-clamp: 2; /* 手机端显示更少行数 */
    }
}

/* 平板设备适配 */
@media (min-width: 768px) and (max-width: 991px) {
    .exhibition-title {
        font-size: 15px;
    }
    
    .exhibition-desc {
        font-size: 13px;
    }
}

/* 可选：如果希望完整显示图片而不是裁剪，可以使用以下替代方案 */
/*
.aspect-ratio-container.contain {
    padding-bottom: 75%; /* 根据图片原始比例调整 */
}

.responsive-img.contain {
    object-fit: contain; /* 完整显示图片，可能有空白区域 */
    background-color: #f5f5f5; /* 添加背景色填充空白 */
}
*/
/*  分享 */
