/* BLOCK: Image Text */

.block-image-text.curved-image {
    overflow: clip;
    position: relative;
}

.block-image-text .content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.block-image-text.is-card .content-wrapper {
    box-sizing: border-box;
    padding: 0.625rem;
    box-shadow: 0px 0px 50px 0px #08172C14;
    background-color: white;
    border-radius: var(--radius-l);
    gap: 6.25rem;
    justify-content: flex-start;
}

.block-image-text.image-right .content-wrapper {
    flex-direction: row-reverse;
}

.block-image-text.curved-image .content-wrapper {
    min-height: 45rem;
}

.block-image-text:not(.curved-image, .is-card) .content-wrapper {
    gap: 8.125rem;
}

.block-image-text:not(.is-card) .content-wrapper > * {
    flex-basis: 100%;
}

.block-image-text:not(.curved-image, .is-card) .left-side {
    align-self: stretch;
    flex-basis: 40%;
    flex-shrink: 0;
}

.block-image-text.is-card .left-side {
    flex-basis: 48.56%;
    align-self: stretch;
}

.block-image-text.is-card .right-side {
    flex-basis: 35%;
}

.block-image-text:not(.curved-image) .left-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-l);
}

.block-image-text.curved-image .right-side {
    flex-basis: 27.5rem;
    flex-shrink: 0;
}

.block-image-text:not(.curved-image, .is-card) .right-side {
    flex: 1;
    padding-block: 1.25rem;
}

.block-image-text.is-card .right-side {
    padding-block: 3rem;
}

.block-image-text.curved-image .image-wrapper {
    /* width: 105rem; */
    width: 101rem;
    aspect-ratio: 1 / 1;
    top: 0;
    left: 0;
    /* z-index: -1; */
    transform: translate(-57%, -57%);
    position: absolute;
}

.block-image-text.image-right.curved-image .image-wrapper {
    inset: unset;
    bottom: 0;
    right: 0;
    transform: translate(57%, 57%);
}

.block-image-text.curved-image .image-wrapper::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    padding: 18rem;
    border-radius: 50%;
    background-image: var(--bg-image);
    background-size: 50%;
    mask: 
        linear-gradient(#000 0 0) exclude, 
        linear-gradient(#000 0 0) content-box;
}

.block-image-text.curved-image :is(.lined-circle-1, .lined-circle-2) {
    --color: var(--c-tertiary);
    position: absolute;
    /* z-index: -2; */
    transform: rotate(90deg);
}

.block-image-text.curved-image .lined-circle-1 {
    top: 12%;
    left: 9%;
    width: 21.3rem;
    height: auto;
    transform: rotate(0deg);
}

.block-image-text.curved-image.image-right .lined-circle-1 {
    inset: unset;
    bottom: 12%;
    right: 9%;
}

.block-image-text.curved-image .lined-circle-2 {
    top: 51%;
    left: 28%;
    width: 11.5rem;
    height: auto;
    transform: rotate(0deg);
}

.block-image-text.curved-image.image-right .lined-circle-2 {
    inset: unset;
    bottom: 51%;
    right: 28%;
}

.block-image-text .text-content > *,
.block-image-text .tab-content > * {
    margin-block: 0;
    margin-bottom: 1.5rem;
}

.block-image-text .text-content > :last-child,
.block-image-text .tab-content > :last-child {
    margin-bottom: 0;
}

.block-image-text .cta-buttons {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.block-image-text .cta-buttons:not(:first-child) {
    margin-top: 1.5rem;
}

.block-image-text .points-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.75rem 3.125rem;
}

.block-image-text .data-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2rem;
}

.block-image-text .content-tabs:not(:first-child),
.block-image-text .points-wrapper:not(:first-child),
.block-image-text .data-wrapper:not(:first-child),
.block-image-text .accordion-group:not(:first-child) {
    margin-top: 2.375rem;
}

.block-image-text .content-tabs:not(:last-child),
.block-image-text .points-wrapper:not(:last-child),
.block-image-text .data-wrapper:not(:last-child),
.block-image-text .accordion-group:not(:last-child) {
    margin-bottom: 2.375rem;
}

.block-image-text .point-meta {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.block-image-text .point-icon {
    max-width: 1rem;
    max-height: 1rem;
}

.block-image-text .point-info {
    margin-top: 1.5rem;
}

.block-image-text .data-wrapper .data-value {
    padding-left: 1.125rem;
    position: relative;
}

.block-image-text .data-wrapper .data-value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    display: block;
    height: 100%;
    width: 2px;
    background-image: linear-gradient(var(--c-gradient-primary));
}

.block-image-text .data-wrapper .data-info {
    max-width: 14.375rem;
}

.block-image-text .data-wrapper .data-info:not(:first-child) {
    margin-top: 1.5rem;
}

.block-image-text .tabs-wrapper {
    display: inline-flex;
    align-items: center;
    background-color: var(--c-background-light);
    color: var(--c-tertiary);
    border-radius: var(--radius-xxl);
    padding: 0.375rem;
    margin-bottom: 2rem;
}

.block-image-text.bg-gradient .tabs-wrapper {
    background-color: rgb(255 255 255 / .12);
}

.block-image-text .tab {
    background: none;
    border: 0;
    padding: 0.407rem 0.875rem;
    border-radius: var(--radius-xl);
    font-family: "Inter", serif;
    font-size: var(--font-16-12);
    font-weight: 600;
    font-style: normal;
    line-height: 1;
    letter-spacing: -0.03em;
}

.block-image-text.bg-gradient .tab {
    color: white;
}

.block-image-text .tab--active {
    background-color: var(--c-tertiary);
    color: white;
}

.block-image-text.bg-gradient .tab--active {
    color: var(--c-tertiary);
    background-color: white;
}

.block-image-text .tab-content:not(.tab-content--active) {
    display: none;
}

.block-image-text .tab-content > :first-child {
    margin-top: 0;
}

.block-image-text .tab-content > :last-child {
    margin-bottom: 0;
}

.block-image-text .text-content ul,
.block-image-text .tab-content ul {
    padding: 0;
    list-style: none;
}

.block-image-text .text-content ul li,
.block-image-text .tab-content ul li {
    padding-left: 1.875rem;
    background: var(--i-marker) no-repeat;
    background-size: 1.25rem;
    background-position: left 3px;
    margin-block: 1rem;
}

.block-image-text .text-content ul li:first-child,
.block-image-text .tab-content ul li:first-child {
    margin-top: 0;
}

.block-image-text .text-content ul li:last-child,
.block-image-text .tab-content ul li:last-child {
    margin-bottom: 0;
}

.block-image-text.bg-gradient p {
    color: var(--c-alto);
}

@media screen and (width <= 1200px) {
    .block-image-text.curved-image .content-wrapper {
        min-height: 35rem;
    }
    .block-image-text.curved-image .lined-circle-1 {
        width: 15rem;
    }
    .block-image-text.curved-image .lined-circle-2 {
        width: 10rem;
    }
    .block-image-text.curved-image .image-wrapper {
        width: 90rem;
        transform: translate(-60%, -60%);
    }
    .block-image-text.curved-image .image-wrapper::after {
        padding: 13rem;
    }
}

@media screen and (width <= 1024px) {
    .block-image-text.curved-image .image-wrapper {
        width: 90rem;
        transform: translate(-65%, -60%);
    }
}

@media screen and (width <= 960px) {
    .block-image-text .content-wrapper {
        flex-direction: column !important;
    }
    .block-image-text.curved-image.image-right .content-wrapper {
        flex-direction: column-reverse !important;
    }
    .block-image-text:not(.curved-image) .content-wrapper {
        gap: 2.5rem;
    }
    .block-image-text.is-card .content-wrapper {
        padding: 0.5rem 0.5rem 1.875rem;
        gap: 1.875rem;
    }
    .block-image-text.is-card :where(.left-side, .right-side) {
        flex-basis: unset;
    }
    .block-image-text.is-card .left-side img {
        aspect-ratio: 1.8;
    }
    .block-image-text.is-card .right-side > * {
        margin-inline: 1rem;
    }
    .block-image-text.is-card .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .block-image-text .text-content ul li,
    .block-image-text .tab-content ul li {
        background-size: 1rem;
        padding-left: 1.75rem;
    }
    .block-image-text .right-side {
        padding: 0 !important;
        width: 100%;
    }
    .block-image-text .text-content > *,
    .block-image-text .tab-content > * {
        margin-bottom: 1.25rem;
    }
    .block-image-text .content-tabs:not(:first-child),
    .block-image-text .points-wrapper:not(:first-child),
    .block-image-text .data-wrapper:not(:first-child),
    .block-image-text .accordion-group:not(:first-child) {
        margin-top: 1.25rem;
    }
    .block-image-text .content-tabs:not(:last-child),
    .block-image-text .points-wrapper:not(:last-child),
    .block-image-text .data-wrapper:not(:last-child),
    .block-image-text .accordion-group:not(:last-child) {
        margin-bottom: 1.25rem;
    }
    .block-image-text .tabs-wrapper {
        margin-bottom: 1.25rem;
    }
    .block-image-text .data-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .block-image-text .data-wrapper .data-info {
        max-width: unset;
    }
    .block-image-text .data-wrapper .data-info:not(:first-child) {
        margin-top: 0.875rem;
    }
    .block-image-text.curved-image .content-wrapper {
        min-height: unset;
    }
    .block-image-text.curved-image .left-side {
        flex-basis: 24.375rem;
    }
    .block-image-text.curved-image .right-side {
        flex-basis: unset;
    }
    .block-image-text.curved-image .lined-circle-1 {
        top: 2.5rem;
        left: 2.5rem;
        width: 11rem;
        transform: rotate(5deg);
    }
    .block-image-text.curved-image.image-right .lined-circle-1 {
        inset: unset;
        bottom: 2.5rem;
        right: 2.5rem;
    }
    .block-image-text.curved-image .lined-circle-2 {
        top: 12.5rem;
        left: 12.1875rem;
        width: 7rem;
        transform: rotate(5deg);
    }
    .block-image-text.curved-image.image-right .lined-circle-2 {
        inset: unset;
        bottom: 12.5rem;
        right: 12.1875rem;
    }
    .block-image-text.curved-image .image-wrapper {
        width: 55.625rem;
        transform: translate(-57%, -60%);
    }
    .block-image-text.curved-image .image-wrapper::after {
        padding: 10rem;
    }
}


@media screen and (width<=640px) {
    .block-image-text .points-wrapper {
        gap: 2.188rem 1rem;
    }

    .block-image-text .point-info {
        margin-top: 1.125rem;
    }

    .block-image-text .content-tabs:not(:first-child) {
        margin-top: 2.5rem;
    }

    .block-image-text .accordion {
        border-radius: 0.625rem;
    }

    .block-image-text .accordion .ac-trigger {
        padding-left: 1.5rem;
    }

    .block-image-text .accordion .ac-content-inner {
        padding: 0 1.5rem;
    }

    .block-image-text .accordion-group {
        gap: 0;
    }

    .block-image-text .tab-content--accordions > p {
        margin-bottom: 2.5rem;
    }

    .block-image-text .point-icon {
        max-width: 0.875rem;
        max-height: 0.875rem;
    }
}