.en-solutions-page {
    /* max-width: 1440px; */
    margin: 0 auto;
}

.en-solutions-hero {
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #5147B3;
    color: #ffffff;
    padding: 60px 144px 80px;
}

.en-solutions-hero__bg {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.en-solutions-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(40, 38, 124, 0.8);
}

.en-solutions-hero__shell {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.en-solutions-hero__brand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
   
}

.en-solutions-hero__brand-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.en-solutions-hero__subtitle {
    margin: 20px 0 0;
    max-width: 1020px;
    font-size: 16px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.en-solutions-core {
    background: #ffffff;
}

.en-solutions-core__shell {
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 120px 80px;
}

.en-solutions-core__header {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}


.en-solutions-core__subtitle {
    margin: 12px 0 0;
    color: #667085;
    font-size: 16px;
    line-height: 24px;
}

/* Pixso 分段切换：浅底描边轨道 + 选中项白底投影 + 品牌主色字 */
.en-solutions-core__tabs-wrap {
    margin-top: 17px;
    display: flex;
    justify-content: center;
}

.en-solutions-core__tabs {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    padding: 4px;
}

.en-solutions-core__tab {
    appearance: none;
    margin: 0;
    border: 0;
    padding: 9px 0px;
    background: transparent;
    color: #6A6A73;
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.en-solutions-core__tab:hover:not(.is-active) {
    color: #475467;
}

.en-solutions-core__tab.is-active {
    /* background: #ffffff; */
    color: #7366FF;
    border-bottom: 2px solid #7366FF;
    /* box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.1); */
}

/* .en-solutions-core__tab:focus {
    outline: 2px solid rgba(43, 106, 255, 0.35);
    outline-offset: 2px;
} */

.en-solutions-core__panel {
    margin-top: 32px;
}

.en-solutions-core__panel[hidden] {
    display: none !important;
}

.en-solutions-core__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.en-solutions-core__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e6e7ed;
    /* box-shadow: 0 1px 3px rgba(16, 24, 40, 0.1), 0 1px 2px rgba(16, 24, 40, 0.06); */
}

.en-solutions-core__card-title {
    margin: 0;
}

.en-solutions-core__card-desc {
    margin: 16px 0 16px;
    color: #5c626e;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    /* flex: 1 1 auto; */
}

.en-solutions-core__card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 4px;
}

.en-solutions-core__card-tag {
    display: inline-block;
    padding: 3px 6px;
    border-radius: 6px;
    background: #f2f4f7;
    color: #7F8694;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
}

.en-solutions-core__media {
    margin-top: 28px;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    overflow: hidden;
    min-height: 200px;
    max-height: 420px;
    background: #f8f9fc;
}

.en-solutions-core__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
}

.en-solutions-articles {
    background: #ffffff;
}

.en-solutions-articles__shell {
    padding: 40px 120px 80px;
}

.en-solutions-articles__title {
    margin: 0;
    color: #1d2939;
    font-size: 36px;
    line-height: 44px;
    font-weight: 700;
}

.en-solutions-articles__grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.en-solutions-articles__item {
    display: block;
    text-decoration: none;
    border: 1px solid #eaecf0;
    border-radius: 14px;
    padding: 20px;
    background: #ffffff;
}

.en-solutions-articles__item-title {
    margin: 0;
    color: #1d2939;
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
}

.en-solutions-articles__item-desc {
    margin: 12px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 22px;
}

.en-solutions-articles__item-link {
    display: inline-block;
    margin-top: 16px;
    color: #3646d8;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

@media (max-width: 1200px) {
    .en-solutions-core__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .en-solutions-articles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .en-solutions-hero {
        padding-left: 32px;
        padding-right: 32px;
    }

    .en-solutions-core__shell,
    .en-solutions-articles__shell {
        padding-left: 32px;
        padding-right: 32px;
    }

}

@media (max-width: 799px) {
    .en-solutions-hero {
        padding: 48px 20px 56px;
    }

    .en-solutions-core__shell,
    .en-solutions-articles__shell {
        padding-left: 20px;
        padding-right: 20px;
    }

    .en-solutions-hero__subtitle {
        font-size: 14px;
        line-height: 22px;
        margin-top: 14px;
    }

    .en-solutions-core__shell {
        padding-top: 48px;
    }


    .en-solutions-core__subtitle {
        font-size: 14px;
        line-height: 22px;
    }

    /* 窄屏：两标签强制同一行，各占一半，文案过长省略号（flex 子项须 min-width:0 才能 ellipsis） */
    .en-solutions-core__tabs-wrap {
        width: 100%;
        justify-content: stretch;
    }

    .en-solutions-core__tabs {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        flex-wrap: nowrap;
        gap: 0;
    }

    .en-solutions-core__tab {
        flex: 1 1 0;
        min-width: 0;
        max-width: 50%;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding-left: 6px;
        padding-right: 6px;
        box-sizing: border-box;
    }

    .en-solutions-articles__shell {
        padding-top: 24px;
        padding-bottom: 56px;
    }

    .en-solutions-articles__title {
        font-size: 30px;
        line-height: 38px;
    }
}

/* 手机单列：与平板分界约 640px，避免 768 宽仍被压成单列 */
@media (max-width: 640px) {
    .en-solutions-core__grid {
        grid-template-columns: 1fr;
    }

    .en-solutions-articles__grid {
        grid-template-columns: 1fr;
    }
}
