/* ===================================================
   河南枫创官网 站点补充样式
   =================================================== */

/* 文字版 LOGO（站点信息上传正式 Logo 后可替换为图片） */
.site-logo-text {
    display: block;
    height: 53px;
    line-height: 53px;
    font-size: 26px;
    font-weight: bold;
    color: #117c3b;
    letter-spacing: 2px;
    white-space: nowrap;
}

/* 顶部导航下拉（官方店铺等带子栏目的一级菜单） */
.nav ul li.has-sub > .sub-nav {
    display: none;
    position: absolute;
    z-index: 999;
    top: 88px;
    left: 0;
    min-width: 100%;
    width: 100%;
    padding: 6px 0;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.nav ul li.has-sub:hover > .sub-nav {
    display: block;
}

.nav ul li.has-sub > .sub-nav li {
    float: none;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
}

.nav ul li.has-sub > .sub-nav li a {
    display: block;
    margin: 0;
    padding: 0 12px;
    height: 38px;
    line-height: 38px;
    font-size: 14px;
    text-align: center;
    color: #333;
    white-space: nowrap;
}

.nav ul li.has-sub > .sub-nav li a:hover {
    background: #117c3b;
    color: #fff;
}

/* 联系页正文 */
.contact_e_text {
    width: 100%;
    padding: 0 0 60px;
    color: #333;
    font-size: 16px;
    line-height: 34px;
}

.contact_e_text h3 {
    font-size: 18px;
    font-weight: bold;
    color: #117c3b;
    margin: 18px 0 8px;
}

.contact_e_text ul {
    list-style: disc;
    padding-left: 22px;
    overflow: hidden;
}

.contact_e_text li {
    display: list-item;
    float: none;
    width: auto;
    list-style: disc outside;
}

.contact_e_text p {
    display: block;
}

/* 内页顶部横幅：改用品牌色渐变，避免与栏目配图文字相互干扰 */
.ny_ban {
    background-color: #0f6f35 !important;
    background-image: linear-gradient(120deg, #0b5527 0%, #117c3b 55%, #17a04c 100%) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.ny_ban .lunbs_cen dl dt span {
    color: #fff;
    font-size: 20px;
    letter-spacing: 1px;
}

.ny_ban .lunbs_cen dl dt p {
    color: #fff;
    font-size: 34px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* 首页产品区块：模板用 top:100px + JS 做入场动画，去掉 JS 后需归位，避免压住「了解更多」 */
.index_product {
    top: 0;
}

/* 首页产品区块：本模板原用 JS 切换标签，简化后直接显示 */
.index_product_ctb .index_product_ctt {
    display: block !important;
}

/* 首页产品列表：数量少时居中排列 */
.index_product_ctbt ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.index_product_ctbt ul li {
    float: none;
    width: 26%;
    margin: 0 1.5% 24px;
}

.index_product_ctbt ul li span em {
    display: block;
    background: #f7f8f7;
}

.index_product_ctbt ul li p {
    text-align: center;
}

/* 首页关于我们区块：收紧底部多余留白 */
.index_about {
    padding-bottom: 56px;
}

.index_about_rbb .a {
    margin-bottom: 0;
}

/* 首页文章卡片：卡片之间留出间隔 */
@media screen and (min-width: 1024px) {
    .index_news_cblc_i {
        display: flex;
        flex-wrap: wrap;
        gap: 26px;
    }

    .index_news_cblc_i dl {
        float: none;
        width: calc((100% - 52px) / 3);
        margin-right: 0;
    }
}

/* 首页文章卡片：图片上叠加文字，加深色蒙层保证可读 */
.index_news_cblc_i dl dt {
    position: relative;
    display: block;
    overflow: hidden;
}

.index_news_cblc_i dl dt .dtl {
    position: relative;
}

.index_news_cblc_i dl dt .dtl::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .45);
}

.index_news_cblc_i dl dt .dtr {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.index_news_cblc_i dl dt .dtr p {
    color: #cdeedb;
}

.index_news_cblc_i dl dt .dtr i {
    color: #e8f5ed;
}

/* 全宽单页模板 page.html */
.page_body {
    padding: 60px 0 70px;
}

.page_body_t {
    padding-bottom: 24px;
    margin-bottom: 26px;
    border-bottom: 1px solid #e6e6e6;
}

.page_body_t span {
    display: inline-block;
    font-size: 26px;
    font-weight: bold;
    color: #117c3b;
    border-left: 4px solid #117c3b;
    padding-left: 12px;
    line-height: 28px;
}

.page_body_c {
    color: #444;
    font-size: 16px;
    line-height: 34px;
    text-align: left;
}

.page_body_c ul,
.page_body_c ol {
    text-align: left;
    overflow: hidden;
}

.page_body_c li {
    display: list-item;
    float: none;
    width: auto;
    list-style: disc outside;
}

.page_body_c p {
    display: block;
    margin-bottom: 12px;
}

.page_body_c h3 {
    font-size: 18px;
    font-weight: bold;
    color: #117c3b;
    margin: 22px 0 8px;
}

.page_body_c ul {
    list-style: disc;
    padding-left: 26px;
    margin-bottom: 12px;
}

.page_body_c li {
    line-height: 34px;
}

.page_body_c img {
    max-width: 100%;
    height: auto;
}

.page_body_c a {
    color: #117c3b;
}

/* 关于我们正文列表 */
.about_01c_l .pp ul {
    list-style: disc;
    padding-left: 24px;
}

.about_01c_l .pp h3 {
    font-size: 18px;
    font-weight: bold;
    color: #117c3b;
    margin: 18px 0 8px;
}

/* 页脚官方店铺入口 */
.foot-shop a {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 26px;
    text-decoration: none;
}

.foot-shop a:hover {
    color: #4fd07f;
}

.foot_ttb_r dl dd p {
    color: #999;
    font-size: 13px;
    line-height: 22px;
}

/* 详情页正文列表与标题 */
.product_ibcb h3,
.news_info_lc h3 {
    font-size: 18px;
    font-weight: bold;
    color: #117c3b;
    margin: 18px 0 8px;
}

.product_ibcb ul,
.news_info_lc ul {
    list-style: disc;
    padding-left: 24px;
    text-align: left;
}

.product_ibcb ul li,
.news_info_lc ul li {
    line-height: 32px;
}

/* 产品详情主图固定最大 480px，手机端占满宽度 */
.product_ibcb img {
    max-width: 480px;
    height: auto;
}

@media screen and (max-width: 768px) {
    .product_ibcb img {
        max-width: 100%;
    }
}

.news_info_lc img {
    max-width: 100%;
    height: auto;
}
