@charset "utf-8";

.after-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.after-list .list-item {
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
}

.after-list .thumb.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    background: #f9f9f9;
}

.before-after .before,
.before-after .after {
    position: relative;
    text-align: center;
    background: #f4f4f4;
}

.before-after img {
    width: 100%;
    height: auto;
    display: block;
}

.before-after p {
    margin: 0;
    padding: 6px;
    font-size: 13px;
    color: #555;
    background: #eee;
}

.before-after .after .mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1.6;
    padding: 20px;
}

.before-after .after .btn-login {
    margin-top: 10px;
    background: #fff;
    color: #333;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
}

.before-after .noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    font-size: 14px;
    color: #888;
    background: #f1f1f1;
}

.after-list .con {
    padding: 12px;
}

.after-list .con h2 {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}
