/* CSS变量定义 */
:root {
    --case-category-color: #0A6AFA; /* 默认颜色 */
    --case-category-hover-color: #0056d6; /* 默认hover颜色 */
}

.customer_case_page .banner-box {
	width: 100%;
	height: 430px;
	padding-top: 198px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.customer_case_page .banner-box .banner-title {
	font-weight: 500;
	font-size: 40px;
	color: #ffffff;
	line-height: 60px;
	margin-bottom: 20px;
}

.customer_case_page .banner-box .banner-subtitle {
	font-weight: 400;
	font-size: 18px;
	color: #ffffff;
	line-height: 24px;
}

/* 导航标签样式 */
.customer_case_page .case-navs-box {
	position: sticky;
	top: 70px;
	z-index: 11;
	width: 100%;
	height: 80px;
	background: #ffffff;

	box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.05);
}

.customer_case_page .case-navs {
	display: flex;
	align-items: center;

	gap: 40px;
	width: max-content;
	max-width: 1200px;
	height: 100%;
	margin: 0 auto;
	overflow-x: auto;
    /* 去滚动条 */
    scrollbar-width: none;
    -ms-overflow-style: none;
    &::-webkit-scrollbar {
        display: none;
    }
}

.customer_case_page .case-nav-item {
	padding: 12px 24px;
	background: #fff;
	flex: 0 0 auto;
	border-radius: 2px;
	font-weight: 400;
	font-size: 16px;
	color: rgba(0, 0, 0, 0.8);
	line-height: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	user-select: none;
}

.customer_case_page .case-nav-item:hover {
	background: #f8f8f8;
}

.customer_case_page .case-nav-item.active {
	font-weight: 500;
	color: #fff;
	background: var(--case-category-color);
}

/* 客户案例卡片容器 */
.customer_case_page .case-cards-container {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	padding: 25px 0;

}

/* 客户案例卡片样式 */
.customer_case_page .case-card {
	flex: 0 0 calc((100% - 32px) / 3);
	background: rgba(255, 255, 255, 0.8);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.customer_case_page .case-card:hover {
	background: #ffffff;
	box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.08);
}

/* 案例Logo样式 */
.customer_case_page .case-logo {
	width: 100%;
	height: 267px;
	object-fit: cover;
}

/* 案例内容样式 */
.customer_case_page .case-content {
    padding: 24px;
    padding-bottom: 40px;
    position: relative;
}

.customer_case_page .case-content .case-title {
	font-weight: 500;
	font-size: 20px;
	color: rgba(0, 0, 0, 0.8);
	line-height: 32px;
	margin-bottom: 16px;
    /* 1行 */
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
	transition: color 0.3s ease;
}

.customer_case_page .case-content .case-title:hover {
	color: var(--case-category-color);
}

.customer_case_page .case-content .case-description {
	min-height: 66px;
	font-weight: 400;
	font-size: 14px;
	color: rgba(0, 0, 0, 0.4);
	line-height: 22px;
    /* 3行 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.3s ease;
}

/* 按钮组样式 */
.customer_case_page .case-card-buttons {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: #ffffff;
	padding: 24px;
	display: flex;
	gap: 12px;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

/* hover效果：隐藏描述，显示按钮 */
.customer_case_page .case-card:hover .case-description {
	/*opacity: 0;*/
}

.customer_case_page .case-card:hover .case-card-buttons {
	transform: translateY(0);
}

.customer_case_page .case-card-button {
	flex: 1;
	padding: 8px 16px;
	border: 1px solid var(--case-category-color);
	border-radius: 4px;
	font-size: 14px;
	font-weight: 400;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.customer_case_page .case-card-button.primary {
	background: var(--case-category-color);
	color: #ffffff;
}

.customer_case_page .case-card-button.primary:hover {
	background: var(--case-category-hover-color);
	border-color: var(--case-category-hover-color);
}

.customer_case_page .case-card-button.secondary {
	background: #ffffff;
	color: var(--case-category-color);
}

.customer_case_page .case-card-button.secondary:hover {

	border-color: var(--case-category-hover-color);
	color: var(--case-category-hover-color);
}

.e_c_i_b_c_l_list_pagination {
    height: 64px;


    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.e_c_i_b_c_l_list_pagination ul {
    display: flex;
}
.e_c_i_b_c_l_list_pagination ul > li {}
.e_c_i_b_c_l_list_pagination ul > li > a {
    font-weight: 400;
    color: rgba(0,0,0,0.65);

    width: 32px;
    height: 32px;
    background-color: #FFFFFF;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,0.15);

    cursor: pointer;
    
    display: flex;
    align-items: center;
    justify-content: center;
}
.e_c_i_b_c_l_list_pagination ul > li:not(:last-child) {
    margin-right: 8px;
}
.e_c_i_b_c_l_list_pagination ul > li.active > a {
    color: #fff;
    background-color: var(--case-category-color);
    border-color: var(--case-category-color);
}
.e_c_i_b_c_l_list_pagination ul > li.disabled > a {
    cursor: not-allowed;
}
.e_c_i_b_c_l_list_pagination_prev > a, .e_c_i_b_c_l_list_pagination_next > a {
    height: 100%;
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat;
}
.e_c_i_b_c_l_list_pagination_prev > a {
    background-image: url("http://www.wanmi.com/attachment/20230608/e117e6985a384759bc41b10b7253eb0e.png");
}
.e_c_i_b_c_l_list_pagination_prev.disabled > a {
    background-image: url("http://www.wanmi.com/attachment/20230608/2ade6287033546b0a416d1ff04a95f0a.png");
}
.e_c_i_b_c_l_list_pagination_next > a {
    background-image: url("http://www.wanmi.com/attachment/20230608/92a8d701a6ba4442b10ae68c1c6ac2f1.png");
}
.e_c_i_b_c_l_list_pagination_next.disabled > a {
    background-image: url("http://www.wanmi.com/attachment/20230608/9887f3cba40245bba03f8172d83705d5.png");
}
