
/* Sutapom.lt V2.6.1 pagrindinio puslapio išdėstymas */

.home-v261{
    display:grid;
    grid-template-columns:290px minmax(520px,1fr) 330px;
    gap:20px;
    align-items:start;
    max-width:1380px;
    margin:0 auto;
}

.home-left,
.home-center,
.home-right{
    display:flex;
    flex-direction:column;
    gap:20px;
    min-width:0;
}

.v261-box{
    background:#fffdf9;
    border:1px solid #ddcdc1;
    border-radius:12px;
    box-shadow:0 2px 10px rgba(73,42,32,.08);
    overflow:hidden;
    padding:18px;
}

.v261-box h2,
.v261-box h3{
    margin:0;
    color:#7c1115;
}

.v261-box h2{font-size:25px}
.v261-box h3{font-size:22px}

.v261-title-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:14px;
    padding-bottom:12px;
    border-bottom:1px solid #eaded5;
}

.muted{
    color:#806e65;
}

.profile-mini{
    padding:16px;
}

.profile-mini-top{
    display:flex;
    align-items:center;
    gap:14px;
    padding-bottom:16px;
    border-bottom:1px solid #eaded5;
}

.profile-mini-name{
    font-size:20px;
    margin-bottom:4px;
}

.side-links{
    padding-top:12px;
    display:flex;
    flex-direction:column;
}

.side-links a{
    display:block;
    padding:10px 4px;
    color:#4d2525;
    border-bottom:1px solid #f0e7e0;
}

.side-links a:last-child{
    border-bottom:0;
}

.birthday-two{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:14px;
}

.birthday-person{
    display:flex;
    align-items:center;
    gap:10px;
    padding:9px;
    border:1px solid #ebddd2;
    border-radius:10px;
    background:#fff8f2;
}

.birthday-person:hover{
    text-decoration:none;
    background:#fff2e9;
}

.birthday-person span{
    display:flex;
    flex-direction:column;
    min-width:0;
}

.birthday-person small{
    color:#826d64;
    margin-top:3px;
}

.activity-main{
    padding:18px 20px;
}

.activity-v261{
    display:flex;
    flex-direction:column;
}

.activity-v261-row{
    display:grid;
    grid-template-columns:48px 1fr auto;
    gap:12px;
    align-items:center;
    padding:12px 2px;
    border-bottom:1px solid #eaded5;
}

.activity-v261-row:last-child{
    border-bottom:0;
}

.activity-avatar{
    min-width:46px;
}

.activity-v261-text{
    font-size:16px;
    line-height:1.35;
}

.activity-v261-time{
    color:#8c786f;
    font-size:12px;
    white-space:nowrap;
}

.event-dot{
    font-size:26px;
    color:#b99a82;
}

.new-four{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}

.new-member-card{
    display:flex;
    flex-direction:column;
    color:#3d2926;
    text-align:left;
    min-width:0;
}

.new-member-card:hover{
    text-decoration:none;
}

.new-member-photo{
    position:relative;
    margin-bottom:8px;
    width:100%;
    aspect-ratio:4 / 5;
    overflow:hidden;
    border:1px solid #cfa99a;
    border-radius:10px;
    background:#eadbd1;
}

.new-member-photo .avatar-with-gift{
    width:100%!important;
    height:100%!important;
    display:block;
}

.new-member-photo .avatar{
    width:100%!important;
    height:100%!important;
    object-fit:cover;
    border-radius:9px;
}

.new-member-photo .fallback{
    width:100%!important;
    height:100%!important;
    display:flex;
    align-items:center;
    justify-content:center;
    line-height:normal!important;
    font-size:42px;
}

.new-member-card>b{
    color:#361c1a;
    font-size:17px;
    margin-bottom:3px;
}

.new-member-card>span{
    color:#866f65;
    font-size:13px;
}

.online-badge{
    position:absolute;
    right:7px;
    top:7px;
    background:#3a9b36;
    color:white!important;
    padding:3px 7px;
    border-radius:20px;
    font-size:11px!important;
    z-index:4;
}

.green-dot{
    display:inline-block;
    width:11px;
    height:11px;
    border-radius:50%;
    background:#2eb34b;
    margin-right:4px;
}

.online-strip{
    display:flex;
    gap:9px;
    flex-wrap:wrap;
    align-items:center;
}

.online-strip a{
    display:block;
}

.match-card-v261{
    margin-top:14px;
}

.match-photo-v261{
    display:block;
    width:100%;
    aspect-ratio:1 / 1.12;
    overflow:hidden;
    background:#eadbd1;
    border:1px solid #a72828;
    border-radius:10px;
}

.match-photo-v261 .avatar-with-gift{
    width:100%!important;
    height:100%!important;
    display:block;
}

.match-photo-v261 .avatar{
    width:100%!important;
    height:100%!important;
    object-fit:cover;
    border-radius:9px;
}

.match-photo-v261 .fallback{
    width:100%!important;
    height:100%!important;
    display:flex;
    align-items:center;
    justify-content:center;
    line-height:normal!important;
    font-size:54px;
}

.match-name-v261{
    font-size:24px;
    margin:12px 0 4px;
}

.match-buttons-v261{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:16px;
}

.match-buttons-v261 button{
    width:100%;
}

.popular-two{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-top:14px;
}

.popular-v261-card{
    display:flex;
    flex-direction:column;
    text-align:center;
    padding:9px;
    border:1px solid #e0c6ae;
    border-radius:10px;
    background:#fff8ef;
    color:#3a2521;
    min-width:0;
}

.popular-v261-card:hover{
    text-decoration:none;
}

.popular-v261-card .avatar-with-gift{
    width:100%!important;
    height:140px!important;
    display:block;
    margin-bottom:8px;
}

.popular-v261-card .avatar{
    width:100%!important;
    height:140px!important;
    object-fit:cover;
}

.popular-v261-card .fallback{
    width:100%!important;
    height:140px!important;
    display:flex;
    align-items:center;
    justify-content:center;
    line-height:normal!important;
    font-size:38px;
}

.popular-v261-card b{
    color:#6f1315;
}

.popular-v261-card span{
    color:#856f64;
    font-size:12px;
    margin:3px 0 6px;
}

.popular-v261-card em{
    display:inline-block;
    align-self:center;
    padding:3px 6px;
    border-radius:4px;
    background:#861417;
    color:white;
    font-style:normal;
    font-size:10px;
    font-weight:bold;
}

.boost-link-v261{
    display:block;
    margin-top:14px;
    padding:11px;
    border:1px solid #dfc9b6;
    border-radius:9px;
    background:#fff9f2;
    text-align:center;
    font-weight:bold;
}

@media(max-width:1180px){
    .home-v261{
        grid-template-columns:240px minmax(480px,1fr);
    }

    .home-right{
        grid-column:1 / -1;
        display:grid;
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:880px){
    .home-v261{
        grid-template-columns:1fr;
    }

    .home-right{
        grid-column:auto;
        display:flex;
    }

    .new-four{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:520px){
    .new-four,
    .popular-two,
    .match-buttons-v261{
        grid-template-columns:1fr;
    }

    .activity-v261-row{
        grid-template-columns:42px 1fr;
    }

    .activity-v261-time{
        grid-column:2;
    }
}
