/* 自定义CSS样式 */

/* 隐藏热点新闻相关元素 */
.side-news,
.widget.side-news,
#tag_cloud-2,
.widget.widget_tag_cloud,
.section-title:contains("热点新闻"),
.section-title:contains("热门标签") {
    display: none !important;
}

/* 调整主内容区域 */
.main.col-md-9 {
    width: 100%;
}

/* 解决方案页面左侧分类样式 */
.sidebar-box {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.sidebar-title {
    background-color: #e74c3c;
    color: #fff;
    padding: 15px;
    margin: 0;
    font-size: 18px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-align: center;
}

#solution-categories .solution-sidebar {
    padding: 0;
}

#solution-categories .category-item {
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

#solution-categories .category-item:last-child {
    border-bottom: none;
}

#solution-categories .category-link {
    display: block;
    padding: 12px 15px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

/* 移除右箭头 */
#solution-categories .category-link:after,
#solution-categories .category-link .fa,
#solution-categories .category-link i {
    display: none !important;
}

/* 隐藏右侧符号 */
.caret, 
.fa-caret-down, 
.fa-angle-down,
.fa-chevron-down {
    display: none !important;
}

#solution-categories .category-item.active {
    background-color: #f8f8f8;
}

#solution-categories .category-item.active .category-link {
    color: #e74c3c;
    font-weight: bold;
}

#solution-categories .category-link:hover {
    background-color: #f5f5f5;
    color: #e74c3c;
    text-decoration: none;
}

/* 解决方案右侧列表样式 - 调整为等高卡片 */
.solution-list {
    margin-bottom: 30px;
}

.solution-item {
    margin-bottom: 25px;
    display: flex;
}

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

.solution-box {
    border-radius: 5px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.solution-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.solution-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    flex: 1 0 auto;
}

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

.solution-box:hover .solution-image img {
    transform: scale(1.05);
}

.solution-name {
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
}

.solution-link:hover {
    text-decoration: none;
}

/* 确保整行中的卡片等高 */
.solution-list .row {
    display: flex;
    flex-wrap: wrap;
}

.solution-list .row:before,
.solution-list .row:after {
    display: none;
}

.solution-list .solution-item {
    display: flex;
    margin-bottom: 25px;
}

/* 分页样式 */
.pagination-wrapper {
    margin-top: 20px;
    text-align: center;
}

.pagination > li > a,
.pagination > li > span {
    color: #333;
    border: 1px solid #ddd;
    margin: 0 3px;
    border-radius: 3px;
}

.pagination > li.active > span {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

.pagination > li > a:hover {
    color: #e74c3c;
    background-color: #f5f5f5;
}

/* 产品列表样式 - 与解决方案样式保持一致 */
.product-list {
    margin-bottom: 30px;
}

.product-item {
    margin-bottom: 25px;
    display: flex;
}

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

.product-box {
    border-radius: 5px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    flex: 1 0 auto;
}

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

.product-box:hover .product-image img {
    transform: scale(1.05);
}

.product-name {
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
}

.product-link:hover {
    text-decoration: none;
}

/* 确保整行中的卡片等高 */
.product-list .row {
    display: flex;
    flex-wrap: wrap;
}

.product-list .row:before,
.product-list .row:after {
    display: none;
}

.product-list .product-item {
    display: flex;
    margin-bottom: 25px;
}

/* 合作伙伴页面左侧分类样式 */
#partner-categories .partner-sidebar {
    padding: 0;
}

#partner-categories .category-item {
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

#partner-categories .category-item:last-child {
    border-bottom: none;
}

#partner-categories .category-link {
    display: block;
    padding: 12px 15px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

#partner-categories .category-item.active {
    background-color: #f8f8f8;
}

#partner-categories .category-item.active .category-link {
    color: #e74c3c;
    font-weight: bold;
}

#partner-categories .category-link:hover {
    background-color: #f5f5f5;
    color: #e74c3c;
    text-decoration: none;
}

/* 移除合作伙伴分类右箭头 */
#partner-categories .category-link:after,
#partner-categories .category-link .fa,
#partner-categories .category-link i,
#partner-categories .category-link .caret,
#partner-categories .category-link .fa-caret-down,
#partner-categories .category-link .fa-angle-down,
#partner-categories .category-link .fa-chevron-down {
    display: none !important;
}

/* 合作伙伴右侧列表样式 - 调整为等高卡片 */
.partner-list {
    margin-bottom: 30px;
}

.partner-item {
    margin-bottom: 25px;
    display: flex;
}

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

.partner-box {
    border-radius: 5px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.partner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.partner-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    flex: 1 0 auto;
}

.partner-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.5s ease;
}

.partner-box:hover .partner-image img {
    transform: scale(1.05);
}

.partner-name {
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
}

.partner-link:hover {
    text-decoration: none;
}

/* 确保整行中的卡片等高 */
.partner-list .row {
    display: flex;
    flex-wrap: wrap;
}

.partner-list .row:before,
.partner-list .row:after {
    display: none;
}

.partner-list .partner-item {
    display: flex;
    margin-bottom: 25px;
}

/* 支持与下载页面样式 */
#support-categories .support-sidebar {
    padding: 0;
}

#support-categories .category-item {
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

#support-categories .category-item:last-child {
    border-bottom: none;
}

#support-categories .category-link {
    display: block;
    padding: 12px 15px;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

#support-categories .category-item.active {
    background-color: #f8f8f8;
}

#support-categories .category-item.active .category-link {
    color: #e74c3c;
    font-weight: bold;
}

#support-categories .category-link:hover {
    background-color: #f5f5f5;
    color: #e74c3c;
    text-decoration: none;
}

.support-search {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

/* 支持与下载右侧列表样式 */
.support-document-list {
    margin-bottom: 30px;
}

.support-document-item {
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: #fff;
    overflow: hidden;
}

.support-document-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.support-document-link {
    display: block;
    padding: 15px;
    color: #333;
}

.support-document-link:hover {
    text-decoration: none;
}

.support-document-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.support-document-link:hover .support-document-title {
    color: #e74c3c;
}

.support-document-info {
    font-size: 13px;
    color: #777;
}

.support-document-date {
    float: right;
    color: #999;
}

/* 支持与下载详情内容样式 */
.support-document-content {
    margin-top: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.support-document-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #e74c3c;
    font-size: 24px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.support-document-content .document-meta {
    margin-bottom: 20px;
    color: #777;
    font-size: 14px;
}

.support-document-content .document-body {
    line-height: 1.7;
}  