
/* 独立命名空间 + 白色背景 + 样式隔离 */
.greenherb-industry-module {
    font-family: 'Inter', sans-serif !important;
    padding: clamp(1.5rem, 5vw, 5rem) 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
}

.greenherb-industry-module .greenherb-container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
    box-sizing: border-box !important;
}

/* 标题：手机25px，电脑38px（精准控制） */
.greenherb-industry-module .greenherb-title {
    font-size: 25px !important; /* 手机端强制25px */
    font-weight: 700 !important;
    color: #404244 !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
    line-height: 1.2 !important;
    padding: 0 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 正文：手机/电脑统一16px + 深灰色（核心修改） */
.greenherb-industry-module .greenherb-desc {
    font-size: 16px !important; /* 手机/电脑统一16px */
    color: #333333 !important; /* 标准深灰色 */
    opacity: 1 !important; /* 取消透明度，颜色更实 */
    line-height: 1.7 !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
    padding: 0 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 图标网格（样式不变） */
.greenherb-industry-module .greenherb-icon-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 50px !important;
    gap: 0.8rem 1rem !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 2rem auto !important;
    padding: 0 1rem !important;
    box-sizing: border-box !important;
}

/* 图标项（样式不变） */
.greenherb-industry-module .greenherb-icon-item {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 0.5rem !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
}

/* 图标容器（字体/颜色完全不变） */
.greenherb-industry-module .greenherb-icon-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    color: #959c3a !important; /* 保留原图标颜色 */
    margin-right: 10px !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 1.2rem !important; /* 保留原图标大小 */
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* 图标文字（样式不变） */
.greenherb-industry-module .greenherb-text-wrapper {
    color: #252525 !important;
    line-height: 1 !important;
    align-self: center !important;
    font-size: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 1 !important;
}

/* 图片容器（样式不变） */
.greenherb-industry-module .greenherb-img-container {
    margin: 2rem auto 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    width: 90% !important;
    max-width: 500px !important;
    box-sizing: border-box !important;
}
.greenherb-industry-module .greenherb-img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    transition: transform 0.7s ease !important;
}
.greenherb-industry-module .greenherb-img:hover {
    transform: scale(1.05) !important;
}

/* 电脑端样式（≥1024px）- 图片左置核心调整 + 正文/标题适配 */
@media (min-width: 1024px) {
    .greenherb-industry-module .greenherb-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-areas: "img content" !important; /* 图片左、内容右 */
        gap: 4rem !important;
        align-items: center !important;
        padding: 0 2rem !important;
    }
    /* 标题电脑端38px（精准控制） */
    .greenherb-industry-module .greenherb-title {
        font-size: 38px !important;
        margin-bottom: 1.5rem !important;
        padding: 0 !important;
        text-align: left !important;
    }
    /* 正文电脑端仍为16px（统一要求） */
    .greenherb-industry-module .greenherb-desc {
        font-size: 16px !important;
        margin-bottom: 1.5rem !important;
        padding: 0 !important;
        text-align: left !important;
    }
    .greenherb-industry-module .greenherb-icon-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        padding: 0 !important;
        margin: 2rem 0 !important;
        max-width: none !important;
        gap: 0.8rem 0.8rem !important;
    }
    .greenherb-industry-module .greenherb-icon-wrapper {
        width: 24px !important;
        height: 24px !important;
        font-size: 1.1rem !important;
    }
    /* 图片容器左置 + 样式适配 */
    .greenherb-industry-module .greenherb-img-container {
        grid-area: img !important; /* 绑定到左侧区域 */
        margin: 0 !important;
        width: 100% !important;
        max-width: none !important;
    }
    /* 文字内容右置 */
    .greenherb-industry-module .greenherb-content {
        grid-area: content !important; /* 绑定到右侧区域 */
    }
}

/* 重置模块内样式，避免冲突 */
.greenherb-industry-module * {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: inherit !important;
}
/* 强制显示Font Awesome图标 */
.fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
