@charset "utf-8";
/* ============================================================
   嘉兴市铭赫装饰工程有限公司 · 内页补充样式
   文件名：css/inner.css
   说明：首页由 css/index-1.css 完整负责；内页（产品列表 / 详情 / 关于 / 联系 /
        在线留言）自带的 <style> 只够桌面端用，这里补窄屏自适应和少量统一细节。
   加载顺序：css/index-1.css → css/inner.css（本文件在最后，便于覆盖）
   ============================================================ */

/* ---------- 1. 内页通用 ---------- */
#sub { padding: 40px 0 0; }

#crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 22px;
}

#crumbs a { color: var(--muted); }
#crumbs a:hover { color: var(--brand); }

#sub .sub_title {
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

/* 后台录入的富文本正文不要撑破容器 */
#sub .sub_show_text,
#sub .sub_text { word-break: break-word; }

#sub .sub_show_text img,
#sub .sub_text img {
    max-width: 100% !important;
    height: auto !important;
}

/* ---------- 2. 窄屏（≤980px） ---------- */
@media (max-width: 980px) {
    #sub { padding: 26px 0 0 !important; }
    #crumbs { font-size: 13px !important; margin-bottom: 16px !important; }
    #sub .sub_title { font-size: 22px !important; }

    /* 产品列表卡片：两列（与首页产品区一致） */
    #sub .sub_right .sub_img { width: calc(100% / 2 - 22px) !important; }

    /* 在线留言：两个输入框原本是写死的半宽 + 70px 外边距，窄屏会溢出，这里统一整行 */
    #sub .sub_right .main_form_text {
        float: none !important;
        width: 100% !important;
        margin: 0 0 12px 0 !important;
        height: 48px !important;
        line-height: 48px !important;
        border: 1px solid var(--line) !important;
        border-radius: 8px;
    }

    #sub .sub_right textarea {
        width: 100% !important;
        margin: 0 0 16px 0 !important;
        height: 160px !important;
        border: 1px solid var(--line) !important;
        border-radius: 8px;
    }

    #sub .sub_right .main_form_submit {
        width: 100% !important;
        height: 46px !important;
        line-height: 44px !important;
        border: 0 !important;
        border-radius: 999px;
        background: var(--brand);
        color: #fff !important;
        font-size: 15px;
        letter-spacing: .1em;
    }

    /* 详情页正文 */
    #sub .sub_show_title { font-size: 18px !important; line-height: 1.5 !important; }
    #sub .sub_show_text { font-size: 15px !important; line-height: 1.9 !important; }
    #sub .xgcp p { font-size: 16px !important; line-height: 26px !important; }
}
