/* 子页banner */
.sub-banner {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.sub-banner img {
    width: 100%;
    display: block;
}

.sub-banner-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
}

.sub-banner-text h2 {
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.sub-banner-text p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* 关于我们页面 */
.about-page {
    padding: 30px 0 60px;
    background-color: #fff;
}

.about-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* 左侧栏 */
.about-sidebar {
    flex: 0 0 260px;
}

.sidebar-block {
    margin-bottom: 25px;
}

.sidebar-title {
    color: #0d74b7;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
}

.sidebar-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background-color: #0d74b7;
}

.sidebar-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5px;
    border-bottom: 1px dashed #e0e0e0;
    transition: all 0.3s ease;
}

.sidebar-list li::before {
    content: "›";
    color: #999;
    margin-right: 8px;
    font-weight: bold;
}

.sidebar-list li a {
    flex: 1;
    color: #555;
    font-size: 14px;
}

.sidebar-list li span {
    color: #0d74b7;
    font-size: 18px;
    font-weight: bold;
}

.sidebar-list li:hover,
.sidebar-list li.active {
    background-color: #f5f9fd;
    padding-left: 10px;
}

.sidebar-list li:hover a,
.sidebar-list li.active a {
    color: #0d74b7;
}

.news-sidebar li::before {
    content: none;
}

.news-sidebar li {
    padding: 8px 5px;
}

.contact-block p {
    color: #555;
    font-size: 13px;
    line-height: 1.9;
    padding: 5px 0;
    border-bottom: 1px dashed #e0e0e0;
}

/* 联系我们信息列表 */
.contact-info-list {
    padding: 10px 0;
}

.contact-info-list p {
    color: #555;
    font-size: 15px;
    line-height: 2.2;
    margin-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}

.contact-info-list p:last-child {
    border-bottom: none;
}

/* 产品详情页 */
.product-detail-main {
    display: flex;
    gap: 30px;
    padding: 20px 0;
}

.product-detail-img {
    flex: 0 0 400px;
    height: 300px;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 4px;
}

.product-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info {
    flex: 1;
}

.product-detail-info h2 {
    color: #0d74b7;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.product-detail-info p {
    color: #555;
    font-size: 14px;
    line-height: 2;
    margin-bottom: 8px;
}

.btn-order {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background-color: #0d74b7;
    color: #fff;
    border-radius: 3px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-order:hover {
    background-color: #0a5c92;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(13, 116, 183, 0.3);
}

.product-nav {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-top: 20px;
}

.product-nav a {
    color: #555;
    font-size: 13px;
    transition: color 0.3s ease;
}

.product-nav a:hover {
    color: #0d74b7;
}

/* 相关产品 */
.related-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.related-item {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.related-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.related-item:hover img {
    border-color: #0d74b7;
    box-shadow: 0 4px 12px rgba(13, 116, 183, 0.15);
}

.related-item:hover p {
    color: #0d74b7;
}

.related-item p {
    color: #333;
    font-size: 14px;
}

/* 案例详情页 */
.case-detail {
    padding: 10px 0;
}

.case-title {
    text-align: center;
    color: #0d74b7;
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

.case-meta {
    text-align: center;
    color: #999;
    font-size: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.case-meta span {
    margin: 0 10px;
}

.case-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.case-images img {
    max-width: 100%;
    border: 1px solid #eee;
    border-radius: 4px;
}

.case-nav {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.case-nav a {
    color: #555;
    font-size: 13px;
    transition: color 0.3s ease;
}

.case-nav a:hover {
    color: #0d74b7;
}

/* 新闻详情页 */
.article-detail {
    padding: 10px 0;
}

.article-title {
    text-align: center;
    color: #0d74b7;
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

.article-meta {
    text-align: center;
    color: #999;
    font-size: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.article-meta span {
    margin: 0 10px;
}

.article-body p {
    color: #555;
    font-size: 14px;
    line-height: 2;
    text-indent: 2em;
    margin-bottom: 12px;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.article-nav a {
    color: #555;
    font-size: 13px;
    transition: color 0.3s ease;
}

.article-nav a:hover {
    color: #0d74b7;
}

.nav-label {
    color: #0d74b7;
    font-weight: bold;
    margin-right: 5px;
}

/* 右侧内容 */
.about-content {
    flex: 1;
    min-width: 0;
}

.content-title {
    color: #0d74b7;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    margin-bottom: 25px;
    padding-left: 10px;
    position: relative;
}

.content-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: #0d74b7;
}

.content-body p {
    color: #555;
    font-size: 14px;
    line-height: 2;
    text-indent: 2em;
    margin-bottom: 18px;
}

/* 售后服务内容 */
.service-content {
    padding: 10px 0;
}

.service-content h3 {
    color: #0d74b7;
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0 12px;
    padding-left: 10px;
    border-left: 4px solid #0d74b7;
}

.service-content h4 {
    color: #0d74b7;
    font-size: 15px;
    font-weight: bold;
    margin: 15px 0 10px;
    padding-left: 5px;
}

.service-slogan {
    color: #0d74b7;
    font-size: 15px;
    text-align: center;
    text-indent: 0;
    margin: 15px 0 25px;
    padding: 12px;
    background-color: #f5f9fd;
    border-radius: 4px;
}

/* 产品中心页 */
.product-grid-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.product-item-page {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.product-item-page img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.product-item-page:hover img {
    border-color: #0d74b7;
    box-shadow: 0 4px 12px rgba(13, 116, 183, 0.15);
}

.product-item-page p {
    color: #333;
    font-size: 14px;
    text-align: center;
}

.product-item-page:hover p {
    color: #0d74b7;
}

/* 新闻列表页 */
.news-page-list {
    list-style: none;
    padding: 0;
}

.news-card {
    display: flex;
    flex-direction: row;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 18px;
}

.news-card:hover {
    box-shadow: 0 4px 16px rgba(13, 116, 183, 0.15);
    border-color: #0d74b7;
}

.news-card-img {
    flex: 0 0 240px;
    height: 170px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.news-card-body {
    flex: 1;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-card-title {
    color: #0d74b7;
    font-size: 17px;
    font-weight: bold;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-title:hover {
    color: #ff6b00;
}

.news-card-summary {
    color: #777;
    font-size: 13px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-date {
    color: #999;
    font-size: 12px;
    background: none;
    padding: 0;
    margin: 0;
    min-width: 0;
    text-align: left;
}

.news-card-more {
    color: #0d74b7;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-card-more:hover {
    color: #ff6b00;
    transform: translateX(3px);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 35px;
    padding: 20px 0;
    flex-wrap: wrap;
    list-style: none !important;
}

.pagination li {
    list-style: none !important;
}

.pagination li::marker {
    display: none !important;
    content: none !important;
}

.pagination .page-separator,
.pagination .pagination-separator,
.pagination span:not(.page-link) {
    display: none !important;
}

.pagination a {
    display: inline-block;
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border: 1px solid #ddd;
    color: #555;
    font-size: 13px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
    padding: 0 10px;
}

.pagination a:hover {
    background-color: #0d74b7;
    color: #fff;
    border-color: #0d74b7;
}

.pagination a.active {
    background-color: #0d74b7;
    color: #fff;
    border-color: #0d74b7;
}

/* 响应式 */
@media (max-width: 992px) {
    .about-wrapper {
        flex-direction: column;
    }
    .about-sidebar {
        flex: 0 0 auto;
        width: 100%;
    }
    .product-grid-page {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-grid-page {
        grid-template-columns: 1fr;
    }
    .product-detail-main {
        flex-direction: column;
    }
    .product-detail-img {
        flex: 0 0 auto;
        width: 100%;
    }
    .related-products {
        grid-template-columns: 1fr;
    }
}
