.owl-stage {
    display:flex;
}

.-works-lists.-Taps-AppendCenter.-ScrollerCenter.objType-post {
    gap:20px;
    display:flex;
    flex-wrap:wrap;
    width:100%;
}

/* =========================
   Work Card (match screenshot)
========================= */
.Yc-work{
    display:flex;
    gap:20px;
    padding:20px;
    width:100%;
    background:#f4f6f8;
    border-radius:22px;
    align-items:stretch;
    position:relative;
    cursor: zoom-in;
}

.-works-lists.-Taps-AppendCenter.-ScrollerCenter.objType-post > .Yc-work:nth-child(odd){
    flex-direction:row-reverse;
}
 

/* Left image block */
.Yc-work .img-bolg{
    flex:1;
    border-radius:16px;
    overflow:hidden;
    background:#e9ecef;
    min-height:320px;
    display:flex;
    justify-content:center;
    align-items:center;
}

 
/* Right panel */
.Yc-work .--work_top{
    flex:1;
    background:#fff;
    border-radius:16px;
    padding:26px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

/* Title */
.Yc-work .work-h3{
    font-size:28px;
    margin:0 0 12px 0;
    color:#0f172a;
    line-height:1.2;
    font-weight:600;
}

/* Table rows */
.Yc-work .-table-item{
    display:flex;
    align-items:center;
    gap:9px;
    padding:16px 0;
    border-bottom:1px solid #eef1f4;
}

.Yc-work .-table-item:last-child{
    border-bottom:0;
}

.Yc-work .-table-item p{
    margin:0;
    font-size:16px;
    color:#0f172a;
    font-weight:500;
    white-space:nowrap;
}

.Yc-work .-table-item span{
    font-size:16px;
    color:#64748b;
    font-weight:500;
    text-align:left;
}

/* Rate stars (if exists) */
.Yc-work .-rate-S{
    display:flex;
    gap:6px;
    align-items:center;
}
.Yc-work .-rate-S i{
    font-size:16px;
    color:#f5c542;
}

/* Responsive:stack */
@media (max-width:900px){
    .Yc-work{
        flex-direction: column !important;
        gap:16px;
        padding:18px;
    }
    .Yc-work .img-bolg{
        min-height: 200px;
        max-height: 214px;
    }

.img-bolg img {
    height: auto;
    width: auto;
}

.Yc-work .--work_top {
    padding: 15px;
}
    .Yc-work .work-h3{
        font-size: 21px;
    }
}

/* =========================
   Gallery Overlay (keep working)
========================= */
.gallery-overlay {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    justify-content:center;
    align-items:center;
    z-index:99999999999;
    display:flex;
    width:100%;
    background-color:rgba(0, 0, 0, .8)
}

.gallery-item {
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    padding-inline:20px
}

.img-item {
    width:100%;
    height:auto
}

.close-popup {
    position:absolute;
    top:20px;
    right:20px;
    background-color:rgba(255, 255, 255, .7);
    border:none;
    padding:10px;
    font-size:18px;
    cursor:pointer;
    z-index:10000
}

.close-popup:hover {
    background-color:#fff
}

.gallery-overlay-close {
    position:absolute;
    top:40px;
    left:40px;
    cursor:pointer;
    font-size:24px;
    color:#fff;
    width:50px;
    height:50px;
    border:2px solid #fff;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:1;
    border-radius:50%;
    transition:.3s;
}

.gallery-overlay-close:hover {
    background: var(--negative);
    border-color: var(--negative);
}

.YC--works--gallery-popup {
    position:relative;
    width:100%;
    height:100%;
    display:flex;
    justify-content:center;
    align-items:center
}

.YC--works--gallery-popup .-YC-owl-Slides-next,
.YC--works--gallery-popup .-YC-owl-Slides-prev {
    position:absolute;
    top:50%;
    right:40px;
    font-size:17px;
    color:#fff;
    width:50px;
    height:50px;
    display:flex;
    cursor:pointer;
    align-items:center;
    justify-content:center;
    z-index:2;
    border:2px solid #fff;
    border-radius:50%;
    transition: all .3s ease;
}

.YC--works--gallery-popup .-YC-owl-Slides-next:hover, .YC--works--gallery-popup .-YC-owl-Slides-prev:hover {
    background: white;
    color: var(--uicolor);
}

.-YC-owl-Slides-next {
    right:auto;
    left:40px
}

.YC--works--gallery-popup .-YC-owl-Slides-next {
    right:auto
}

.gallery-container {
    width:100%
}

.owl-item {
    float:right
}

.-ycwt-works .-dw-h4 {
    background:white;
}