.block-table-with-image.title-left .title {
    text-align: left !important;
}

.block-table-with-image .container.full {
    padding: 0 !important;
}

.table-with-image__container {
    display: flex;
    padding: 0 50px;
}

.table-with-image__item {
    flex: 1;
    position: relative;
}


.table-with-image__item-header {
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px; /* 114.286% */
    letter-spacing: 0.28px;
    text-transform: uppercase;
    color: var(--color-n-black);
    padding: 25px;
    border-bottom: 1px solid;
    z-index: 2;
    position: relative;
}

.table-with-image__item-cell {
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    color: var(--color-n-black);
    padding: 25px;
    border-bottom: 1px solid;
    min-height: 150px;
    z-index: 2;
    position: relative;
}

.block-table-with-image.low-height .table-with-image__item-cell  {
    min-height: 135px;
}

.table-with-image__item:nth-child(1),
.table-with-image__item:nth-child(1) .table-with-image__item-header,
.table-with-image__item:nth-child(1) .table-with-image__item-cell {
    padding-left: 0;
}

.table-with-image__item-cell.first-cell {
    padding: 25px;
} 

.table-with-image__item:nth-child(1) p {
    color: var(--color-p);
    font-family: Inter !important;
    font-size: 24px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 32px !important;
}

.table-with-image__item:nth-child(2) p {
    color: var(--color-n-black);
    font-family: Inter !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 24px !important;
}

.table-with-image__item:nth-child(2):before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 67px);
    background: var(--Iceberg, #F8FBFD);
    z-index: 1;
    border-radius: 25px;
}

.table-with-image__container-2 {
    display: grid;
    gap: 50px;
    grid-template-columns: calc(50% - 25px) calc(50% - 25px);
    align-items: center;
}

.table-with-image__container-2 .right {
    padding: 0 50px;
}

.table-with-image__container-2 .table-with-image__container {
    padding: 0;
}

.block-table-with-image .button-container {
    display: flex;
    gap: 2rem;
}


.table-with-image__container table {
    width: 100%;
    table-layout: fixed;
}

.table-with-image__container table thead tr th {
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px; /* 114.286% */
    letter-spacing: 0.28px;
    text-transform: uppercase;
    color: var(--color-n-black);
    padding: 25px;
    border-bottom: 1px solid;
    z-index: 2;
    position: relative;
}

.table-with-image__container table thead tr th:nth-child(1) {
    padding-left: 0;
}


.table-with-image__container table tbody tr td {
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    color: var(--color-n-black);
    padding: 25px;
    border-bottom: 1px solid;
    z-index: 2;
    position: relative;
}

.table-with-image__container table tbody tr td:nth-child(1) {
    color: var(--color-p);
    font-family: Inter !important;
    font-size: 24px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 32px !important;
    padding-left: 0;
}

.table-with-image__container table tbody tr td:nth-child(2) {
    color: var(--color-n-black);
    font-family: Inter !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 24px !important;
    background: var(--Iceberg, #F8FBFD);
}

.table-with-image__container table tbody tr:first-child td:nth-child(2) {
    border-radius: 25px 25px 0 0;
}

.table-with-image__container table tbody tr:last-child td:nth-child(2) {
    border-radius: 0 0 25px 25px;
}


.table-with-image__container-2 .table-with-image__container table tbody tr td:nth-child(2) {
    color: var(--Neutral-Black, #222) !important;
    font-family: Inter !important;
    font-size: 24px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 32px; /* 133.333% */
}

.block-table-with-image.text-center-rte .rte{
    text-align: center;
}

.block-table-with-image.text-center-rte .table-with-image__container {
    padding: 0;
}


@media only screen and (max-width: 768px) {

    .table-with-image__container-2 {
        grid-template-columns: 100%;
    }

    .table-with-image__container-2 .left img {
        max-height: 400px;
        object-fit: contain;
        object-position: left;
    }

    .table-with-image__container-2 .right {
        padding: 0 15px;
    }

    .table-with-image__item-header {
        width: 250px;
    }

    .table-with-image__item:nth-child(1) p {
        font-size: 20px !important;
    }

    .table-with-image__item:nth-child(2) p {
        font-size: 16px !important;
    }

    .table-with-image__item-cell {
        min-height: 170px;
    }

    .block-table-with-image.low-height .table-with-image__item-cell  {
        min-height: 100px;
    }

    .block-table-with-image .table-with-image__item-cell  {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    /* Mobile table scrollable styles */
    .table-with-image__container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 15px;
    }

    .table-with-image__container table {
        min-width: 800px; /* Ensure table has minimum width to trigger scroll */
    }

    .table-with-image__container table thead tr th,
    .table-with-image__container table tbody tr td {
        padding: 15px 20px;
    }

    .table-with-image__container table tbody tr td {
        font-size: 18px;
        line-height: 24px;
    }

    .table-with-image__container table tbody tr td:nth-child(1) {
        font-size: 20px !important;
    }

    .table-with-image__container table tbody tr td:nth-child(2) {
        font-size: 16px !important;
    }

    .table-with-image__container-2 .table-with-image__container table {
        min-width: fit-content;
    }
    
    .table-with-image__container-2 .table-with-image__container table tbody tr td:nth-child(2) {

        font-size: 20px !important;
    }
}
