.acsw-widget,
.acsw-widget * {
    box-sizing: border-box;
}

.acsw-widget {
    --acsw-left-width: 43%;
    position: relative;
    display: grid;
    grid-template-columns: var(--acsw-left-width) calc(100% - var(--acsw-left-width));
    width: 100%;
    min-height: 410px;
    overflow: hidden;
    direction: rtl;
}

.acsw-left {
    position: relative;
    min-height: 410px;
    background: transparent;
    overflow: visible;
}

.acsw-img {
    position: absolute;
    display: block;
    object-fit: cover;
    max-width: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.acsw-img-one {
    top: 62px;
    left: 28px;
    width: 135px;
    height: 145px;
    border-radius: 12px;
    z-index: 3;
}

.acsw-img-two {
    top: 180px;
    left: 0;
    width: 135px;
    height: 145px;
    border-radius: 12px;
    z-index: 4;
}

.acsw-img-three {
    top: 142px;
    left: 124px;
    width: 180px;
    height: 170px;
    border-radius: 10px;
    z-index: 2;
}

.acsw-right-panel {
    position: relative;
    min-height: 410px;
    background-color: #315b92;
    border-radius: 28px 0 0 28px;
    overflow: hidden;
    padding: 20px 88px 20px 28px;
}

.acsw-panel-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.14;
    pointer-events: none;
}

.acsw-content {
    position: relative;
    z-index: 2;
}

.acsw-title {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    text-align: right;
}

.acsw-cards {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.acsw-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    min-height: 68px;
    margin: 0;
    padding: 10px 25px 10px 17px;
    background-color: #ffffff;
    border-radius: 9px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.acsw-card-dot {
    position: absolute;
    top: 50%;
    right: -13px;
    width: 20px;
    height: 20px;
    border: 3px solid #23d48c;
    background-color: #315b92;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 4;
}

.acsw-card-content {
    text-align: right;
}

.acsw-card-title {
    margin: 0 0 5px;
    color: #333333;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
}

.acsw-card-text {
    margin: 0;
    color: #707070;
    font-size: 9px;
    font-weight: 400;
    line-height: 1.8;
}

.acsw-widget[dir="ltr"] {
    direction: ltr;
}

.acsw-widget[dir="ltr"] .acsw-title,
.acsw-widget[dir="ltr"] .acsw-card-content {
    text-align: left;
}

.acsw-widget[dir="ltr"] .acsw-right-panel {
    border-radius: 0 28px 28px 0;
}

.acsw-widget[dir="ltr"] .acsw-card-dot {
    right: auto;
    left: -13px;
}

@media (max-width: 1024px) {
    .acsw-widget {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .acsw-left {
        min-height: 340px;
        order: 2;
    }

    .acsw-right-panel {
        min-height: auto;
        order: 1;
        border-radius: 24px;
        padding: 24px 42px;
    }

    .acsw-cards {
        align-items: stretch;
    }

    .acsw-card {
        max-width: 100%;
    }

    .acsw-img-one {
        left: 8%;
    }

    .acsw-img-two {
        left: 4%;
    }

    .acsw-img-three {
        left: 28%;
    }
}

@media (max-width: 767px) {
    .acsw-widget {
        min-height: auto;
    }

    .acsw-right-panel {
        padding: 24px 24px 28px;
        border-radius: 20px;
    }

    .acsw-title {
        font-size: 18px;
        text-align: center;
    }

    .acsw-card {
        padding: 14px 20px;
    }

    .acsw-card-dot {
        right: -10px;
        width: 18px;
        height: 18px;
    }

    .acsw-widget[dir="ltr"] .acsw-card-dot {
        right: auto;
        left: -10px;
    }

    .acsw-card-title {
        font-size: 13px;
    }

    .acsw-card-text {
        font-size: 11px;
    }

    .acsw-left {
        min-height: 300px;
    }

    .acsw-img-one {
        top: 30px;
        left: 8%;
        width: 130px;
        height: 140px;
    }

    .acsw-img-two {
        top: 135px;
        left: 3%;
        width: 130px;
        height: 140px;
    }

    .acsw-img-three {
        top: 95px;
        left: 38%;
        width: 160px;
        height: 160px;
    }
}
