
.pen-story{
    width:100%;
    max-width:1200px;
    margin:40px auto;
    font-family:Arial,Helvetica,sans-serif;
}

.pen-row{
    display:flex;
    width:100%;
    min-height:380px;
    margin-bottom:20px;
    overflow:hidden;
    border-radius:14px;
    background:#f7f8fa;
}

/* 图片区域 */
.pen-image{
    width:50%;
    height:380px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f3f3f3;
    overflow:hidden;
}

.pen-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}

/* 文字区域 */
.pen-content{
    width:50%;
    min-height:380px;
    padding:55px 65px;
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    justify-content:center;
    background:#f7f8fa;
}

.pen-content h2{
    margin:0 0 20px;
    padding:0;
    font-size:30px;
    line-height:1.25;
    font-weight:700;
    color:#20252b;
}

.pen-content h2:after{
    content:"";
    display:block;
    width:45px;
    height:3px;
    margin-top:18px;
    background:#20252b;
}

.pen-content p{
    margin:0;
    padding:0;
    max-width:500px;
    font-size:16px;
    line-height:1.8;
    color:#555;
}

/* 第二、四行：文字 → 图片 */
.pen-row.reverse .pen-content{
    order:1;
}

.pen-row.reverse .pen-image{
    order:2;
}

/* 悬停效果 */
.pen-image img{
    transition:transform .4s ease;
}

.pen-row:hover .pen-image img{
    transform:scale(1.02);
}

/* 手机端 */
@media(max-width:768px){

    .pen-story{
        margin:25px auto;
    }

    .pen-row,
    .pen-row.reverse{
        display:flex;
        flex-direction:column;
        min-height:auto;
        margin-bottom:16px;
        border-radius:10px;
    }

    .pen-image,
    .pen-content{
        width:100%;
    }

    .pen-image{
        height:300px;
        min-height:300px;
    }

    .pen-image img{
        width:100%;
        height:300px;
        object-fit:contain;
    }

    .pen-content,
    .pen-row.reverse .pen-content{
        order:2;
        min-height:auto;
        padding:35px 25px;
    }

    .pen-row.reverse .pen-image{
        order:1;
    }

    .pen-content h2{
        font-size:24px;
    }

    .pen-content p{
        font-size:14px;
        line-height:1.75;
    }
}
