.np-gallery { width: 100%; max-width: 560px; box-sizing: border-box; }
.np-main-wrap {
    width: 100%;
    background: #fafafa;
    border: 1px solid #eee;
    overflow: hidden;
    position: relative;
}
.np-main-img {
    width: 100%;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
}
.e_richText-206 img{

}
.np-main-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
}
.np-main-img:hover img { transform: scale(1.8); }

.np-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.np-thumb-item {
    width: 80px;
    height: 80px;
    border: 2px solid #e5e5e5;
    cursor: pointer;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
    padding: 2px;
    transition: border-color 0.2s ease;
}
.np-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}
.np-thumb-item:hover { border-color: #409eff; }
.np-thumb-active { border-color: #409eff; }

@media (max-width: 768px) {
    figure{margin: 0}
    .e_richText-206 img{width: 100%}
    .np-thumb-item { width: 64px; height: 64px; }
}
