/* Single Ad Custom Layout (RTL) */
html[dir="rtl"] .single-ad-rtl{
    direction: rtl;
}

/* =========================
   Slider (outer corner)
   ========================= */
html[dir="rtl"] .single-ad-carousel-wrap{
    border-top-left-radius: 16px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
}

html[dir="rtl"] .single-ad-carousel-wrap,
html[dir="rtl"] .single-ad-carousel-wrap .carousel,
html[dir="rtl"] .single-ad-carousel-wrap .carousel-inner,
html[dir="rtl"] .single-ad-carousel-wrap .carousel-item,
html[dir="rtl"] .single-ad-carousel-wrap img{
    border-radius: inherit;
}

/* =========================
   Side Bar (outer corner + outward shift)
   ========================= */
html[dir="rtl"] .single-ad-rtl .col-lg-3,
html[dir="rtl"] .single-ad-rtl .col-md-4{
    padding-right: 0 !important;
}

html[dir="rtl"] .single-ad-rtl .single-ad-sidebar-fix{
    border-top-right-radius: 16px !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    overflow: hidden !important;

    margin-right:-6px;
}

/* Prevent Bootstrap inner rounded corners inside sidebar */
html[dir="rtl"] .single-ad-rtl .single-ad-sidebar-fix .rounded,
html[dir="rtl"] .single-ad-rtl .single-ad-sidebar-fix [class*="rounded-"],
html[dir="rtl"] .single-ad-rtl .single-ad-sidebar-fix .list-group,
html[dir="rtl"] .single-ad-rtl .single-ad-sidebar-fix .list-group-item{
    border-radius: 0 !important;
}

/* Move contact/info block outward inside sidebar */
html[dir="rtl"] .single-ad-rtl .single-ad-sidebar-fix .list-group{
    margin-right: -20px;
    margin-left: 0;
    padding-right: 0;
}