﻿img {
    max-width: 100%;
    display: block;
}
.container {
    width: 1200px;
    margin: 0 auto;
}
.wrap{
    width: 1200px;
    margin:0 auto;
}
a {
    text-decoration: none;
    color: #3b2a1a;
}

/* 大栏目标题 米黄背景 和全站统一 */
.section-title {
    padding: 24px 20px;
    border-radius: 8px;
    text-align: center;
    margin:60px 0 32px;
}
.section-title:first-of-type{
    margin-top:0;
}
.section-title h2 {
    font-size:28px;
    color:#8c2323;
    margin-bottom:6px;
}
.section-title p {
    color:#6b5a44;
    font-size:15px;
    margin:0;
}

.intro-box {
    max-width: 900px;
    width: 92%;
    margin: 40px auto;
    padding: 40px 48px;

    /* 比页面背景更明显的暖米黄卡片 */
    background: linear-gradient(180deg, #fbeed4 0%, #f3dcb3 100%);

    border-radius: 16px;
    position: relative;

    /* 卡片浮起，区块感更强 */
    box-shadow:
        0 10px 24px rgba(120, 80, 30, 0.12),
        inset 0 0 0 1px rgba(184, 28, 34, 0.35);
}

/* 内侧细红框，替代双红线 */
.intro-box::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 12px;
    border: 1px solid #b81c22;
    pointer-events: none;
}

/* 左上角小装饰 */
.intro-box .corner-tl {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 18px;
    height: 18px;
    border-top: 1px solid #b81c22;
    border-left: 1px solid #b81c22;
    pointer-events: none;
}

/* 右下角小装饰 */
.intro-box .corner-br {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 18px;
    height: 18px;
    border-bottom: 1px solid #b81c22;
    border-right: 1px solid #b81c22;
    pointer-events: none;
}

.intro-box p {
    font-size: 17px;
    line-height: 1.95;
    color: #3b2a1a;
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* ========== 族谱专用纸张板块 ========== */
.paper-grid{
    display:grid;
    grid-template-columns: repeat(2,1fr);
    gap:30px;
}
.paper-item{
    background:#fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-radius:10px;
    overflow:hidden;
}
.paper-item .img-box{
    width:100%;
    height:240px;
    overflow:hidden;
    background:#f3e9d8;
}
.paper-item .img-box img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.paper-item h3{
    padding:18px 20px 8px;
    font-size:20px;
    color:#8c2323;
    margin:0;
}
.paper-item p{
    padding:0 20px;
    color:#444;
    line-height:1.7;
    font-size:15px;
    margin:0 0 12px;
}
.paper-point{
    list-style:none;
    padding:0 20px 20px;
    margin:0;
}
.paper-point li{
    line-height:1.8;
    font-size:14px;
    color:#444;
}

/* ========== 装订工艺板块 ========== */
.bind-grid{
    display:grid;
    grid-template-columns: repeat(2,1fr);
    gap:30px;
}
.bind-item{
    background:#fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-radius:10px;
    overflow:hidden;
    position:relative;
}
.bind-item.hot .tag{
    position:absolute;
    top:12px;
    right:12px;
    background:#8c2323;
    color:#fff;
    padding:4px 10px;
    font-size:13px;
    border-radius:4px;
    z-index:2;
}
.bind-item .img-box{
    width:100%;
    height:240px;
    overflow:hidden;
    background:#f3e9d8;
}
.bind-item .img-box img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.bind-item h3{
    padding:18px 20px 8px;
    font-size:20px;
    color:#8c2323;
    margin:0;
}
.bind-item p{
    padding:0 20px;
    color:#444;
    line-height:1.7;
    font-size:15px;
    margin:0 0 12px;
}
.bind-point{
    list-style:none;
    padding:0 20px 20px;
    margin:0;
}
.bind-point li{
    line-height:1.8;
    font-size:14px;
    color:#444;
}

/* ========== 封面材料板块 ========== */
.cover-grid{
    display:grid;
    grid-template-columns: repeat(2,1fr);
    gap:30px;
}
.cover-item{
    background:#fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-radius:10px;
    overflow:hidden;
}
.cover-item .img-box{
    width:100%;
    height:240px;
    overflow:hidden;
    background:#f3e9d8;
}
.cover-item .img-box img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.cover-item h3{
    padding:18px 20px 8px;
    font-size:20px;
    color:#8c2323;
    margin:0;
}
.cover-item p{
    padding:0 20px;
    color:#444;
    line-height:1.7;
    font-size:15px;
    margin:0 0 12px;
}
.cover-point{
    list-style:none;
    padding:0 20px 20px;
    margin:0;
}
.cover-point li{
    line-height:1.8;
    font-size:14px;
    color:#444;
}

/*底部咨询区块*/
.contact-block{
    margin:20px 0;
    padding:0 20px;
    text-align:center;
    background:transparent;
}

.contact-inner{
    display:inline-block;
    padding:14px 32px;
    background:
        linear-gradient(180deg, rgba(255,246,224,0.95) 0%, rgba(251,231,194,0.95) 100%);
    border:2px solid #c8161d;
    border-radius:8px;
    box-shadow:0 4px 14px rgba(120, 50, 20, 0.12);
    position:relative;
}

/* 上下细红线装饰 */
.contact-inner::before,
.contact-inner::after{
    content:"";
    position:absolute;
    left:14px;
    right:14px;
    height:2px;
    background:#c8161d;
    opacity:0.4;
}

.contact-inner::before{
    top:6px;
}

.contact-inner::after{
    bottom:6px;
}

.contact-block h3{
    color:#c8161d;
    font-size:24px;
    font-weight:bold;
    margin:0 0 5px;
    letter-spacing:2px;
}

.contact-block p{
    color:#5a3a22;
    font-size:13px;
    margin:0 0 12px;
}

.contact-block .btn{
    display:inline-block;
    background:#c8161d;
    color:#fff;
    padding:8px 24px;
    border-radius:5px;
    font-size:14px;
    text-decoration:none;
    transition: all 0.3s;
}

.contact-block .btn:hover{
    background:#a01016;
}
.section-title {
    background: url("../images/lmt.png") center center no-repeat;
    background-size: contain; /* contain 完整显示整张图，保持原图比例，但是会留白 */
    padding: 24px 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 32px;
}

/* ========== 移动端适配 ========== */
@media screen and (max-width:1200px){
    .wrap,.container{
        width:96%;
    }
}
@media screen and (max-width:768px){
    .wrap,.container{
        width:94%;
    }
    .paper-grid,.bind-grid,.cover-grid{
        grid-template-columns:1fr;
    }
    .paper-item .img-box,.bind-item .img-box,.cover-item .img-box{
        height:200px;
    }
}
@media screen and (max-width:480px){
    .section-title h2{
        font-size:22px;
    }
    .contact-block{
        padding:24px;
    }
  .contact-block h3{
        font-size:16px;
    }

}
