@charset "UTF-8";

/*
 * cases.css - 列表页样式
 *
 */

/* ===================== 页面Banner区域 ===================== */
.banner {
    position: relative;
    width: 100%;
    height: 540px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-bg .pic {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.banner-bg .img-block {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

/* Banner内容 */
.banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #FFFFFF;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.banner-title .main-title {
    font-family: 'Alimama ShuHeiTi', 'Microsoft YaHei', Arial, sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: 1.4;
    color: #B2091A;
    margin: 0 0 16px 0;
    text-transform: uppercase;
}

.banner-title .sub-title {
    font-family: 'Alibaba PuHuiTi 2.0', 'Microsoft YaHei', Arial, sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1.4;
    color: #B2091A;
    margin: 0;
    text-transform: uppercase;
}


/* ===================== 文章列表区域 ===================== */
.article-list {
    padding: 80px 0;
    background: #FFFFFF;
}

.article-list .container-outer {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 360px;
}

.article-item {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.article-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* 文章图片区域 */
.article-image {
    flex-shrink: 0;
    width: 580px;
    height: 270px;
    position: relative;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.image-wrapper .pic {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.image-wrapper .img-block {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.category-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon {
    width: 24px;
    height: 24px;
    color: #737980;
    transition: color 0.3s ease;
}

.article-item:hover .category-icon {
    color: #B2091A;
}

/* 文章内容区域 */
.article-content {
    flex: 1;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 250px;
}

.content-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 文章元信息 */
.article-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.date-mark {
    font-size: 14px;
    font-weight: 400;
    color: #737980;
}

.publish-date {
    font-family: 'Source Han Sans CN', 'Microsoft YaHei', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #737980;
    line-height: 1.4285714286;
}

/* 文章标题 */
.article-title {
    margin: 0 0 20px 0;
    font-family: 'Source Han Sans CN', 'Microsoft YaHei', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: #2E3033;
    text-transform: uppercase;
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #B2091A;
}

/* 文章摘要 */
.article-excerpt {
    margin: 0 0 auto 0;
    font-family: 'Source Han Sans CN', 'Microsoft YaHei', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4285714286;
    color: #737980;
    text-align: justify;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    max-height: 60px;
}

/* 查看更多按钮 */
.read-more {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #3E434E;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.read-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #1673FF;
    transition: left 0.3s ease;
    z-index: 1;
}

.read-btn:hover::before {
    left: 0;
}

.btn-text {
    font-size: 14px;
    font-weight: 500;
    color: #2E3033;
    line-height: 1.4285714286;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.read-btn img {
    max-width: 16px;
    max-height: 16px;
    width: auto;
    height: auto;
    position: relative;
    z-index: 2;
    transition: opacity 0.2s ease;
}

/* 悬停状态 */
.read-btn:hover {
    background: #1673FF;
    border-color: #1673FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 115, 255, 0.25);
}

.read-btn:hover .btn-text {
    color: #FFFFFF;
}

.read-btn:hover img {
    content: url('../images/cases/right-white.png');
}

/* Hover效果 */
.article-item:hover .image-wrapper .pic {
    transform: scale(1.05);
}

.article-item:hover .article-title a {
    color: #B2091A;
}

/* ===================== 分页区域 ===================== */
.pagination-wrapper {
    padding: 60px 0 80px;
    background: #FFFFFF;
}

.pagination-wrapper .container-outer {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 360px;
}

.pagination-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.total-count,
.page-info {
    font-family: 'Source Han Sans CN', 'Microsoft YaHei', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #2E3033;
    line-height: 1.4285714286;
    text-transform: uppercase;
}

.page-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.prev-page,
.next-page {
    font-family: 'Source Han Sans CN', 'Microsoft YaHei', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4285714286;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease;
}

.prev-page {
    color: #8A9199;
}

.next-page {
    color: #2E3033;
}

.prev-page:hover,
.next-page:hover {
    color: #B2091A;
}

/* ===================== 响应式设计 ===================== */
@media (max-width: 1600px) {
    .breadcrumb-nav .container-outer,
    .article-list .container-outer,
    .pagination-wrapper .container-outer {
        padding: 0 120px;
    }
}

@media (max-width: 1200px) {
    .breadcrumb-nav .container-outer,
    .article-list .container-outer,
    .pagination-wrapper .container-outer {
        padding: 0 60px;
}

    .article-item {
        gap: 30px;
}

    .article-image {
        width: 480px;
        height: 220px;
}
}

@media (max-width: 960px) {
    .page-banner {
        height: 400px;
}

    .banner-title .main-title {
        font-size: 48px;
}

    .banner-title .sub-title {
        font-size: 32px;
}

    .article-item {
        flex-direction: column;
        gap: 20px;
}

    .article-image {
        width: 100%;
        height: 200px;
}

    .article-content {
        height: auto;
}
}

@media (max-width: 768px) {
    .breadcrumb-nav .container-outer,
    .article-list .container-outer,
    .pagination-wrapper .container-outer {
        padding: 0 30px;
    }
    
    .page-banner {
        height: 300px;
}

    .banner-title .main-title {
        font-size: 36px;
}

    .banner-title .sub-title {
        font-size: 24px;
}

    .article-image {
        height: 180px;
}

    .pagination-info {
        flex-direction: column;
        gap: 10px;
    }
}





