body {
    --esg-section-padding: min(max(4vw, 40px), 80px);
    --esg-section-title-fs: 32px;
    --esg-section-p-fs: 20px;
    --esg-section-title-color: #000;
    --esg-section-title-2-fs: 24px;
    --esg-section-title-3-fs: 18px;
    --esg-section-p-2-fs: 16px;
    --esg-section-p-3-fs: 14px;
}

.esg-container .esg-header {
    width: 100%;
    height: 480px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.esg-container .esg-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
    will-change: transform;
}

.esg-container .esg-header-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.esg-container .esg-header-content h1 {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    margin: 0;
    line-height: 1.1;
}

.esg-container .esg-header-content p {
    font-size: 20px;
    color: #fff;
    margin: 0;
    line-height: 1;
}

.esg-container .esg-section {
    padding: var(--esg-section-padding) 0;
}

.esg-section-header {
    text-align: center;
    width: 100%;
    position: relative;
    padding-bottom: 16px;
}

.esg-section-header h2 {
    font-size: var(--esg-section-title-fs);
    font-weight: bold;
    color: var(--esg-section-title-color);
}

.esg-section-header:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 48px;
    height: 2px;
    background-color: var(--theme-color);
    border-radius: 2px;
}

.esg-container .esg-section-content {
    margin-top: calc(var(--esg-section-padding) / 2);
}

.esg-section-content-block-container {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: min(max(6vw, 40px), 120px);
}

.esg-section-content-block {
    width: 100%;
    height: 100%;
}

.esg-section-content-block img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.esg-section-content-list .esg-list-title {
    font-size: var(--esg-section-title-2-fs);
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}
.esg-section-content-list .esg-section-content-block-item {
    display: flex;
    gap: 16px;
    margin-bottom: max(1.6vw, 20px);
}

.esg-section-content-list .esg-section-content-block-item .esg-list-item-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
}
.esg-section-content-list .esg-section-content-block-item .esg-list-item-content .esg-list-item-title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin-bottom: 4px;
}

.esg-section-content-list .esg-section-content-block-item .esg-list-item-content .esg-list-item-description {
    font-size: 16px;
    color: var(--esg-section-p-color);
    line-height: 1;
}

.esg-three-dimensions-section {
    position: relative;
    overflow: hidden;
}

.esg-three-dimensions-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 170%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
    will-change: transform;
}

.esg-three-dimensions-section .esg-section-header,
.esg-three-dimensions-section .esg-section-content {
    position: relative;
    z-index: 1;
}

.esg-three-dimensions-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.esg-three-dimensions-section .esg-section-header h2 {
    color: #fff;
}
.esg-three-dimensions-section .esg-section-header:after {
    background-color: #fff;
}
.esg-three-dimensions-container .esg-three-dimensions-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 400px;
    backdrop-filter: blur(24px);
    background-color: rgba(255,255,255,.2);
    padding: min(max(3.2vw, 40px), 64px) 0;
}
.esg-three-dimensions-container .esg-three-dimensions-item .esg-three-dimensions-item-image {
    width: 56px;
    height: 56px;
}
.esg-three-dimensions-container .esg-three-dimensions-item .esg-three-dimensions-item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.esg-three-dimensions-container .esg-three-dimensions-item .esg-three-dimensions-item-content .esg-three-dimensions-item-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
}
.esg-three-dimensions-container .esg-three-dimensions-item .esg-three-dimensions-item-content .esg-three-dimensions-item-description {
    font-size: 16px;
    color: #fff;
}

/* 标签容器布局 - 使用Grid布局 */
.esg-three-dimensions-container .esg-three-dimensions-item .esg-three-dimensions-item-tags {
    display: grid;
    gap: 20px;
    justify-items: center;
    align-items: center;
    /* 默认3列布局（适用于≤3个标签） */
    grid-template-columns: repeat(3, 1fr);
}

/* 标签样式 */
.esg-three-dimensions-container .esg-three-dimensions-item .esg-three-dimensions-item-tags .esg-three-dimensions-item-tag {
    font-size: 16px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    width: fit-content;
}

/* 当标签数量>3时，使用4列Grid布局：第一行3个（前3列），第二行4个（4列，居中） */
.esg-three-dimensions-container .esg-three-dimensions-item .esg-three-dimensions-item-tags.tags-multiple-rows {
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
}

/* 前3个标签占据第一行的前3列 */
.esg-three-dimensions-container .esg-three-dimensions-item .esg-three-dimensions-item-tags.tags-multiple-rows .esg-three-dimensions-item-tag:nth-child(-n+3) {
    grid-column: span 1;
}

/* 第4个标签开始，占据第二行的4列，自然居中（因为第一行第4列是空的） */
.esg-three-dimensions-container .esg-three-dimensions-item .esg-three-dimensions-item-tags.tags-multiple-rows .esg-three-dimensions-item-tag:nth-child(n+4) {
    grid-column: span 1;
}

/* 最后一个卡片（社会）的特殊布局：第一行3个，第二行4个居中 */
.esg-three-dimensions-container .esg-three-dimensions-item .esg-three-dimensions-item-tags.esg-tags-social {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
}

/* 第一行：3个标签横向排列 */
.esg-three-dimensions-container .esg-three-dimensions-item .esg-three-dimensions-item-tags.esg-tags-social .esg-tags-row-first {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
}

/* 第二行：4个标签横向排列并居中 */
.esg-three-dimensions-container .esg-three-dimensions-item .esg-three-dimensions-item-tags.esg-tags-social .esg-tags-row-second {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
}

/* 标签样式 */
.esg-three-dimensions-container .esg-three-dimensions-item .esg-three-dimensions-item-tags.esg-tags-social .esg-tags-row .esg-three-dimensions-item-tag {
    width: 100%;
}

.esg-supply-chain-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: max(2vw, 20px);
}
.esg-supply-chain-container .esg-supply-chain-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 480px;
    padding: min(max(3.2vw, 30px), 64px);
    overflow: hidden;
}

.esg-supply-chain-container .esg-supply-chain-item-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 170%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
    will-change: transform;
}

.esg-supply-chain-container .esg-supply-chain-item .esg-supply-chain-item-title,
.esg-supply-chain-container .esg-supply-chain-item .esg-supply-chain-item-content {
    position: relative;
    z-index: 1;
}
.esg-supply-chain-container .esg-supply-chain-item .esg-supply-chain-item-title {
    font-size: var(--esg-section-title-2-fs);
    font-weight: bold;
    color: #fff;
}
.esg-supply-chain-container .esg-supply-chain-item .esg-supply-chain-item-content {
    display: flex;
    gap: min(max(1.2vw, 20px), 24px);
    flex-wrap: wrap;
}
.esg-supply-chain-container .esg-supply-chain-item .esg-supply-chain-item-content .esg-supply-chain-item-content-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 116px;
    height: 100px;
    padding: min(max(0.8vw, 10px), 16px);
    background-color: rgba(255,255,255,.2);
    backdrop-filter: blur(24px);
}
.esg-supply-chain-container .esg-supply-chain-item .esg-supply-chain-item-content.esg-supply-chain-item-content-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: max(1.2vw, 20px);
}
.esg-supply-chain-container .esg-supply-chain-item .esg-supply-chain-item-content .esg-supply-chain-item-content-item .esg-supply-chain-item-content-item-title {
    font-size: var(--esg-section-title-2-fs);
    font-weight: bold;
    color: #fff;
}
.esg-supply-chain-container .esg-supply-chain-item .esg-supply-chain-item-content.esg-supply-chain-item-content-2 .esg-supply-chain-item-content-item .esg-supply-chain-item-content-item-title-small {
    font-size: var(--esg-section-title-3-fs);
    font-weight: bold;
    color: #fff;
}
.esg-supply-chain-container .esg-supply-chain-item .esg-supply-chain-item-content .esg-supply-chain-item-content-item .esg-supply-chain-item-content-item-description {
    font-size: var(--esg-section-p-3-fs);
    color: #fff;
}

.esg-contact-us-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: min(max(1.2vw, 20px), 24px);
}
.esg-contact-us-container .esg-contact-us-item {
    display: flex;
    flex-direction: column;
    gap: min(max(1.6vw, 20px), 32px);
    align-items: center;
    height: 280px;
    padding: min(max(2.4vw, 40px), 48px);
    background: linear-gradient(135deg,#f8f9fd, #f1f3f7);
}
.esg-contact-us-container .esg-contact-us-item .esg-contact-us-item-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}
.esg-contact-us-container .esg-contact-us-item .esg-contact-us-item-content-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.esg-contact-us-container .esg-contact-us-item .esg-contact-us-item-content-item .esg-contact-us-item-content-item-title {
    font-size: var(--esg-section-title-2-fs);
    font-weight: bold;
    color: #000;
}
.esg-contact-us-container .esg-contact-us-item .esg-contact-us-item-content-item .esg-contact-us-item-content-item-description {
    font-size: var(--esg-section-p-2-fs);
    color: #000;
    text-align: center;
    max-width: 220px;
}

.statement {
    text-align: center;
    font-size: var(--esg-section-p-3-fs);
    color: #1c1c1c;
    margin-top: min(max(1.6vw, 20px), 32px);
}

@media (max-width: 1024px) {
    .esg-supply-chain-container .esg-supply-chain-item .esg-supply-chain-item-content .esg-supply-chain-item-content-item {
        height: auto;
    }
}

/* 图片预览弹窗 */
.esg-image-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.esg-image-preview-modal.active {
    opacity: 1;
    visibility: visible;
}

.esg-image-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.esg-image-preview-container {
    position: relative;
    z-index: 1;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.esg-image-preview-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.esg-image-preview-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.esg-image-preview-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* ESG 容器中的图片样式 */
.esg-container img:not(.esg-header-bg):not(.esg-three-dimensions-bg):not(.esg-supply-chain-item-bg) {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.esg-container img:not(.esg-header-bg):not(.esg-three-dimensions-bg):not(.esg-supply-chain-item-bg):hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .esg-contact-us-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .esg-supply-chain-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .esg-supply-chain-container .esg-supply-chain-item .esg-supply-chain-item-content.esg-supply-chain-item-content-2 {
        grid-template-columns: repeat(1, 1fr);
    }
    .esg-section-content-block-container {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .esg-image-preview-container {
        max-width: 95%;
        max-height: 95%;
    }
    
    .esg-image-preview-close {
        top: -40px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
}