/* services.css - 服务支持页面专属样式（完全独立） */

.bem-services-categories {
    background: var(--bem-bg-secondary);
    padding: 0;
    border-bottom: none;
    position: relative;
    z-index: 99;
    height: 120px;
    display: flex;
    align-items: center;
}

.bem-services-categories__container {
    display: flex;
    align-items: center;
    gap: var(--bem-space-8);
    padding: 0;
    width: 100%;
    height: 100%;
}

.bem-services-categories__title {
    font-size: var(--bem-font-16);
    font-weight: var(--bem-font-600);
    color: var(--bem-text-primary);
    white-space: nowrap;
    position: relative;
    padding-right: var(--bem-space-8);
    line-height: 1.2;
    margin: 0;
}

.bem-services-categories__title::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: var(--bem-text-quinary);
}

.bem-services-categories__list {
    display: flex;
    gap: var(--bem-space-8);
    flex-wrap: wrap;
    align-items: center;
    height: 100%;
}

.bem-services-categories__link {
    color: var(--bem-text-primary);
    text-decoration: none;
    font-size: var(--bem-font-16);
    font-weight: var(--bem-font-500);
    padding: var(--bem-space-1) 0;
    position: relative;
    white-space: nowrap;
    transition: all var(--bem-transition-normal);
    cursor: pointer;
    outline: none;
    line-height: 1.2;
    display: inline-block;
    margin: 0;
}

.bem-services-categories__link:hover,
.bem-services-categories__link:focus {
    color: var(--bem-primary);
    outline: none;
}

.bem-services-categories__link[data-bem-state*='"active":true'] {
    color: var(--bem-primary);
    font-weight: var(--bem-font-600);
}

.bem-services-showcase {
    display: none;
    padding: 120px 0;
    background: var(--bem-bg-primary);
    position: relative;
    min-height: 600px;
    margin: 0;
}

.bem-services-showcase[data-bem-state*='"active":true'] {
    display: block;
}

.bem-image-scale {
    overflow: hidden;
    display: block;
    width: 100%;
    height: 100%;
}

.bem-image-scale img {
    transition: transform var(--bem-image-scale-duration) var(--bem-image-scale-timing);
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.bem-image-scale:hover img {
    transform: scale(var(--bem-image-scale-ratio));
}

.bem-product-card {
    width: 100%;
    background: var(--bem-bg-primary);
    border-radius: var(--bem-radius-sm);
    overflow: hidden;
    border: 1px solid var(--bem-bg-tertiary);
    cursor: pointer;
    transition: all var(--bem-transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.bem-product-card__image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 300px;
    margin: 0;
}

.bem-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--bem-transition-slow) ease;
    margin: 0;
}

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

.bem-product-card__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--bem-space-4) var(--bem-space-4);
    border-top: 1px solid var(--bem-bg-secondary);
    background: var(--bem-bg-primary);
    min-height: 60px;
    margin: 0;
}

.bem-product-card__name {
    font-size: var(--bem-font-16);
    font-weight: var(--bem-font-400);
    color: var(--bem-text-primary);
    flex: 1;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bem-product-card__detail {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    color: var(--bem-text-quaternary);
    text-decoration: none;
    transition: all var(--bem-transition-normal);
    flex-shrink: 0;
    outline: none;
    border: none;
    cursor: pointer;
    margin: 0;
}

.bem-product-card__detail:hover,
.bem-product-card__detail:focus {
    background: transparent;
    color: var(--bem-primary);
    outline: none;
}

.bem-product-card__detail-icon {
    font-size: var(--bem-font-20);
}

.bem-product-showcase__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--bem-space-10);
    margin: 0;
}

.bem-product-showcase__grid .bem-product-card {
    height: 100%;
}

.bem-brochures-grid-custom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 1280px;
    width: 100%;
    margin-top: 60px;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
}

.bem-brochures-card-custom {
    height: 150px;
    background: var(--bem-bg-primary);
    border: 1px solid var(--bem-bg-tertiary);
    border-radius: var(--bem-radius-sm);
    overflow: hidden;
    transition: border-color var(--bem-transition-normal);
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin: 0;
}

.bem-brochures-card-custom:hover {
    border-color: var(--bem-primary);
}

.bem-brochures-card-custom__cover {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.bem-brochures-card-custom__cover i {
    font-size: 30px;
    color: var(--bem-primary);
}

.bem-brochures-card-custom__info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
}

.bem-brochures-card-custom__title {
    font-size: var(--bem-font-16);
    font-weight: var(--bem-font-400);
    color: var(--bem-text-primary);
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.bem-brochures-card-custom__download-btn {
    font-size: var(--bem-font-12);
    color: var(--bem-primary);
    background: transparent;
    border: 1px solid var(--bem-primary);
    padding: 4px 16px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--bem-transition-normal);
    text-decoration: none;
    display: inline-block;
    line-height: 1.4;
    margin: 0;
}

.bem-brochures-card-custom__download-btn:hover {
    background: var(--bem-primary);
    color: #fff;
}

.bem-services-showcase .bem-news-card-custom {
    height: 460px;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--bem-bg-primary);
    border: 1px solid var(--bem-bg-tertiary);
    border-radius: var(--bem-radius-sm);
    overflow: hidden;
    transition: none;
    position: relative;
}

.bem-services-showcase .bem-news-card-custom .bem-product-card__image {
    height: 300px;
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
    margin: 0;
}

.bem-services-showcase .bem-news-card-custom .bem-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--bem-transition-slow) ease;
    margin: 0;
}

.bem-services-showcase .bem-news-card-custom:hover .bem-product-card__image img {
    transform: scale(1.05);
}

.bem-services-showcase .bem-news-card-custom .bem-product-card__info {
    padding: var(--bem-space-4) var(--bem-space-4) 10px var(--bem-space-4);
    border-bottom: none;
    min-height: auto;
    flex-shrink: 0;
    border-top: none;
    margin: 0;
}

.bem-services-showcase .bem-news-card-custom .bem-product-card__name {
    font-size: var(--bem-font-16);
    font-weight: var(--bem-font-400);
    color: var(--bem-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    margin: 0;
}

.bem-services-showcase .bem-news-card-custom .bem-news-card__extra {
    padding: 5px var(--bem-space-4) var(--bem-space-4) var(--bem-space-4);
    background: var(--bem-bg-primary);
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 160px;
    margin: 0;
}

.bem-services-showcase .bem-news-card-custom .bem-news-card__desc {
    font-size: var(--bem-font-14);
    line-height: 1.6;
    color: var(--bem-text-tertiary);
    margin: 0 0 auto 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bem-services-showcase .bem-news-card-custom .bem-news-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
}

.bem-services-showcase .bem-news-card-custom .bem-news-card__date {
    font-size: var(--bem-font-14);
    font-weight: var(--bem-font-400);
    color: var(--bem-text-quaternary);
    margin: 0;
}

.bem-services-showcase .bem-news-card-custom .bem-news-card__link {
    color: var(--bem-text-quaternary);
    text-decoration: none;
    font-size: var(--bem-font-14);
    font-weight: var(--bem-font-400);
    transition: color var(--bem-transition-normal);
}

.bem-services-showcase .bem-news-card-custom .bem-news-card__link:hover {
    color: var(--bem-primary);
}

.bem-services-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--bem-space-2);
    padding-top: 100px;
    flex-wrap: wrap;
    margin: 0;
}

.bem-services-pagination__btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--bem-bg-tertiary);
    background: var(--bem-bg-primary);
    border-radius: var(--bem-radius-sm);
    color: var(--bem-text-tertiary);
    cursor: pointer;
    transition: all var(--bem-transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--bem-font-15);
    font-weight: var(--bem-font-500);
    outline: none;
    margin: 0;
}

.bem-services-pagination__btn[data-active="true"] {
    border-color: var(--bem-primary);
    color: var(--bem-primary);
}

.bem-services-pagination__btn:hover:not([data-disabled="true"]) {
    border-color: var(--bem-primary);
    color: var(--bem-primary);
}

.bem-brochures-grid-custom,
.bem-product-showcase__grid {
    position: relative;
    min-height: 200px;
    margin: 0;
}

.bem-brochures-card-custom,
.bem-card.bem-product-card {
    transition: opacity 0.3s ease;
}

.bem-services-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--bem-text-quaternary);
    font-size: var(--bem-font-16);
    margin: 0;
}

@media (max-width: 1200px) {
    .bem-services-categories__container {
        gap: var(--bem-space-6);
    }
    
    .bem-services-categories__list {
        gap: var(--bem-space-6);
    }
    
    .bem-services-showcase {
        padding: 100px 0 120px 0;
    }
    
    .bem-product-showcase__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--bem-space-8);
    }
    
    .bem-product-card__image {
        height: 250px;
    }
    
    .bem-product-card__detail {
        margin-left: var(--bem-space-6);
    }
    
    .bem-services-pagination {
        padding-top: 50px;
    }
    
    .bem-services-showcase .bem-news-card-custom {
        height: 410px;
        margin: 0;
    }
    
    .bem-services-showcase .bem-news-card-custom .bem-product-card__image {
        height: 270px;
        margin: 0;
    }
    
    .bem-services-showcase .bem-news-card-custom .bem-news-card__extra {
        height: 140px;
        padding: 5px var(--bem-space-4) var(--bem-space-4) var(--bem-space-4);
        margin: 0;
    }
    
    .bem-services-showcase .bem-news-card-custom .bem-news-card__desc {
        font-size: var(--bem-font-13);
        -webkit-line-clamp: 2;
        margin: 0 0 auto 0;
    }
}

@media (max-width: 992px) {
    .bem-services-categories__container {
        gap: var(--bem-space-6);
    }
    
    .bem-services-categories__list {
        gap: var(--bem-space-6);
    }
    
    .bem-services-showcase {
        padding: 80px 0 100px 0;
    }
    
    .bem-product-showcase__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--bem-space-6);
    }
    
    .bem-product-card__info {
        min-height: 55px;
        padding: var(--bem-space-2) var(--bem-space-4);
    }
    
    .bem-brochures-grid-custom {
        gap: 40px;
    }
    
    .bem-services-pagination {
        padding-top: 80px;
    }
    
    .bem-services-showcase .bem-news-card-custom {
        height: 380px;
        margin: 0;
    }
    
    .bem-services-showcase .bem-news-card-custom .bem-product-card__image {
        height: 250px;
        margin: 0;
    }
    
    .bem-services-showcase .bem-news-card-custom .bem-news-card__extra {
        height: 130px;
        padding: 5px var(--bem-space-4) var(--bem-space-4) var(--bem-space-4);
        margin: 0;
    }
    
    .bem-services-showcase .bem-news-card-custom .bem-news-card__desc {
        font-size: var(--bem-font-12);
        -webkit-line-clamp: 2;
        line-height: 1.5;
        margin: 0 0 auto 0;
    }
    
    .bem-services-showcase .bem-news-card-custom .bem-news-card__date,
    .bem-services-showcase .bem-news-card-custom .bem-news-card__link {
        font-size: var(--bem-font-12);
        margin: 0;
    }
}

@media (max-width: 768px) {
    .bem-services-categories {
        height: auto;
        min-height: 100px;
        padding: var(--bem-space-2) 0;
        align-items: flex-start;
    }
    
    .bem-services-categories__container {
        flex-direction: column;
        gap: var(--bem-space-4);
        align-items: flex-start;
        padding: 0;
        height: auto;
    }
    
    .bem-services-categories__title::after {
        display: none;
    }
    
    .bem-services-categories__list {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--bem-space-2);
        gap: var(--bem-space-4);
        height: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--bem-primary) var(--bem-bg-secondary);
        margin: 0;
    }
    
    .bem-services-categories__list::-webkit-scrollbar {
        height: 4px;
    }
    
    .bem-services-categories__list::-webkit-scrollbar-track {
        background: var(--bem-bg-secondary);
        border-radius: 2px;
    }
    
    .bem-services-categories__list::-webkit-scrollbar-thumb {
        background: var(--bem-primary);
        border-radius: 2px;
    }
    
    .bem-services-showcase {
        padding: 60px 0 80px 0;
    }
    
    .bem-product-showcase__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--bem-space-4);
    }
    
    .bem-product-card__image {
        height: 200px;
    }
    
    .bem-product-card__detail {
        width: 30px;
        height: 30px;
        margin-left: var(--bem-space-4);
    }
    
    .bem-product-card__detail-icon {
        font-size: var(--bem-font-16);
    }
    
    .bem-product-card__name {
        font-size: var(--bem-font-12);
    }
    
    .bem-brochures-grid-custom {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 0;
    }
    
    .bem-brochures-card-custom {
        height: 140px;
        padding: 0 15px;
        margin: 0;
    }
    
    .bem-brochures-card-custom__cover {
        width: 25px;
        height: 25px;
        margin-right: 12px;
    }
    
    .bem-brochures-card-custom__cover i {
        font-size: 25px;
    }
    
    .bem-brochures-card-custom__title {
        font-size: var(--bem-font-14);
        max-width: 200px;
        margin: 0;
    }
    
    .bem-brochures-card-custom__download-btn {
        font-size: var(--bem-font-10);
        padding: 3px 12px;
        margin: 0;
    }
    
    .bem-services-pagination {
        padding-top: 60px;
        gap: var(--bem-space-1);
        margin: 0;
    }
    
    .bem-services-pagination__btn {
        width: 36px;
        height: 36px;
        font-size: var(--bem-font-12);
        margin: 0;
    }
    
    .bem-services-showcase .bem-news-card-custom {
        height: 340px;
        margin: 0;
    }
    
    .bem-services-showcase .bem-news-card-custom .bem-product-card__image {
        height: 220px;
        margin: 0;
    }
    
    .bem-services-showcase .bem-news-card-custom .bem-news-card__extra {
        height: 120px;
        padding: 5px var(--bem-space-3) var(--bem-space-3) var(--bem-space-3);
        margin: 0;
    }
    
    .bem-services-showcase .bem-news-card-custom .bem-news-card__desc {
        font-size: var(--bem-font-11);
        -webkit-line-clamp: 2;
        margin: 0 0 auto 0;
    }
    
    .bem-services-showcase .bem-news-card-custom .bem-product-card__name {
        font-size: var(--bem-font-14);
        margin: 0;
    }
    
    .bem-services-showcase .bem-news-card-custom .bem-news-card__date,
    .bem-services-showcase .bem-news-card-custom .bem-news-card__link {
        font-size: var(--bem-font-11);
        margin: 0;
    }
}