/* webservice.css - 网站服务页面样式 */

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

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

.bem-webservice-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-webservice-categories__title::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: var(--bem-text-quinary);
}

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

.bem-webservice-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;
}

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

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

.bem-underline-hover {
    position: relative;
    display: inline-block;
}

.bem-underline-hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width var(--bem-transition-normal);
}

.bem-underline-hover:hover::after,
.bem-underline-hover:focus::after {
    width: 100%;
}

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

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

.bem-webservice-layout {
    display: flex;
    gap: var(--bem-space-8);
    align-items: flex-start;
}

.bem-webservice-layout__text {
    flex: 1;
    min-width: 0;
}

.bem-webservice-layout__images {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    padding-top: 120px;
}

.bem-webservice-images-list {
    display: flex;
    flex-direction: column;
    gap: 100px;
    align-items: center;
    width: 100%;
}

.bem-webservice-images-list__item {
    width: 100%;
    max-width: 550px;
    aspect-ratio: 16 / 9;
    border-radius: var(--bem-radius-sm);
    overflow: hidden;
    border: 1px solid var(--bem-bg-secondary);
    background: var(--bem-bg-secondary);
}

.bem-webservice-images-list__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bem-webservice-content__title {
    font-size: var(--bem-font-24);
    font-weight: var(--bem-font-600);
    color: var(--bem-text-secondary);
    margin-bottom: var(--bem-space-6);
    line-height: 1.3;
}

.bem-webservice-content__body {
    color: var(--bem-text-tertiary);
    line-height: 1.8;
}

.bem-webservice-content__body h3 {
    font-size: var(--bem-font-18);
    font-weight: var(--bem-font-600);
    color: var(--bem-text-secondary);
    margin: var(--bem-space-6) 0 var(--bem-space-4) 0;
}

.bem-webservice-content__body h3:first-of-type {
    margin-top: 0;
}

.bem-webservice-content__body p {
    margin-bottom: var(--bem-space-4);
    font-size: var(--bem-font-15);
    font-weight: var(--bem-font-400);
    color: var(--bem-text-tertiary);
}

.bem-webservice-content__body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .bem-webservice-categories__container {
        gap: var(--bem-space-6);
    }
    
    .bem-webservice-categories__list {
        gap: var(--bem-space-6);
    }
    
    .bem-webservice-showcase {
        min-height: 500px;
        padding: 100px 0 120px 0;
    }
    
    .bem-webservice-layout__images {
        padding-top: 100px;
    }
    
    .bem-webservice-images-list {
        gap: 80px;
    }
    
    .bem-webservice-images-list__item {
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    .bem-webservice-categories__container {
        gap: var(--bem-space-6);
    }
    
    .bem-webservice-categories__list {
        gap: var(--bem-space-6);
    }
    
    .bem-webservice-showcase {
        min-height: 500px;
        padding: 80px 0 100px 0;
    }
    
    .bem-webservice-layout {
        gap: var(--bem-space-6);
    }
    
    .bem-webservice-layout__images {
        padding-top: 80px;
    }
    
    .bem-webservice-images-list {
        gap: 60px;
    }
    
    .bem-webservice-images-list__item {
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .bem-webservice-categories {
        height: auto;
        min-height: 100px;
        padding: var(--bem-space-2) 0;
        align-items: flex-start;
    }
    
    .bem-webservice-categories__container {
        flex-direction: column;
        gap: var(--bem-space-4);
        align-items: flex-start;
        padding: 0;
        height: auto;
    }
    
    .bem-webservice-categories__title::after {
        display: none;
    }
    
    .bem-webservice-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);
    }
    
    .bem-webservice-categories__list::-webkit-scrollbar {
        height: 4px;
    }
    
    .bem-webservice-categories__list::-webkit-scrollbar-track {
        background: var(--bem-bg-secondary);
        border-radius: 2px;
    }
    
    .bem-webservice-categories__list::-webkit-scrollbar-thumb {
        background: var(--bem-primary);
        border-radius: 2px;
    }
    
    .bem-webservice-showcase {
        min-height: auto;
        padding: 60px 0 80px 0;
    }
    
    .bem-webservice-layout {
        flex-direction: column;
        gap: var(--bem-space-6);
    }
    
    .bem-webservice-layout__images {
        padding-top: 0;
        width: 100%;
    }
    
    .bem-webservice-content__title {
        font-size: var(--bem-font-20);
    }
    
    .bem-webservice-content__body h3 {
        font-size: var(--bem-font-16);
    }
    
    .bem-webservice-content__body p {
        font-size: var(--bem-font-14);
    }
    
    .bem-webservice-images-list {
        gap: 60px;
    }
    
    .bem-webservice-images-list__item {
        max-width: 100%;
    }
}