/* 统一卡片底部按钮区域样式 */
.EnterpriseTheoryBtnW {
    display: block !important;
    height: 40px !important;
    margin: 20px 8% !important;
    text-align: right !important;
}

/* 隐藏不需要的按钮，但保留空间 */
.EnterpriseTheoryBtnW.hidden-btn {
    visibility: hidden;
    pointer-events: none;
}

/* 确保所有卡片文本区域高度一致 */
.EnterpriseTheoryText {
    height: 600px !important; /* 按要求设置高度为600px */
    min-height: 600px;
    overflow: hidden;
    position: relative;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #fff;
    box-sizing: border-box;
}

/* 统一所有卡片的内部布局 */
.EnterpriseTheoryText > * {
    width: 100%;
    margin-bottom: 15px;
}

/* 修改第一段落容器样式，确保图片容器位置一致 */
.EnterpriseTheoryText > p:first-child {
    text-align: center !important;
    margin: 30px auto !important;
    padding: 0 !important;
    height: 110px !important;
    max-height: 110px !important;
    min-height: 110px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border: none !important;
    background-color: transparent !important;
    box-sizing: border-box !important;
}

/* 强制清除P标签内span的样式 */
.EnterpriseTheoryText > p:first-child span {
    border: none !important;
    background-color: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

/* 查看更多按钮样式统一 */
.EnterpriseTheoryBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* 默认箭头朝上 */
.EnterpriseTheoryBtn .iconfont {
    transform: rotate(180deg);
    transition: transform 0.3s;
}

/* 按钮图标旋转效果 */
.rotate180 {
    transform: rotate(180deg);
    transition: transform 0.3s;
}

/* 强制设置第一段落中的图片高度为90px */
.EnterpriseTheoryText p:first-child img {
    display: block !important;
    width: auto !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    margin: 10px auto 20px auto !important;
    object-fit: fill !important;
}

/* 调整图片容器高度 */
.EnterpriseTheoryText p:first-child {
    text-align: center !important;
    height: 110px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    background-color: transparent !important;
    overflow: hidden !important;
    padding: 10px !important;
    margin: 0px 0px 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 对span标签进行样式设置 */
.EnterpriseTheoryText p:first-child span {
    font-family: "Times New Roman", "serif" !important;
    color: #366092 !important;
    font-size: 14px !important;
    border: none !important;
    background-color: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
