.bg-image-text-block {
    position: relative;
    overflow: hidden;
}

.bg-image-text-bg,
.bg-image-text-overlay {
    position: absolute;
    inset: 0;
}

.bg-image-text-bg {
    z-index: 1;
}

.bg-image-text-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg-image-text-overlay {
    z-index: 2;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.bg-image-text-block .container {
    position: relative;
    z-index: 3;
}


.bg-image-text-top {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.bg-image-text-icon {
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
}

.bg-image-text-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bg-image-text-headline {
    color: #ffffff;
}

.bg-image-text-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
}

.bg-image-text-wysiwyg {
    width: 100%;
    padding: 3rem;
    border-radius: 22px;
    background: var(--brand-primary-color);
    color: var(--brand-primary-text-color);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.bg-image-text-wysiwyg > *:last-child {
    margin-bottom: 0;
}

/* Whatsapp card */
.whatsapp-chat-card {
    width: 100%;
    max-width: 640px;
    border-radius: 22px;
    overflow: hidden;
    background: #f3f6f8;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.whatsapp-chat-card__header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 3rem;
    background: #004737;
    color: #fff;
}

.whatsapp-chat-card__avatar-wrap {
    position: relative;
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
}

.whatsapp-chat-card__avatar {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    object-fit: cover;
}

.whatsapp-chat-card__status {
    position: absolute;
    right: 0px;
    bottom: 5px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #00c800;
    border: 2px solid #00513f;
}

.whatsapp-chat-card__person {
    display: block;
    font-size: 1.3rem;
    line-height: 1.2;
    font-weight: 500;
}

.whatsapp-chat-card__person span {
    display: block;
    font-weight: 300;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    opacity: 0.8;
}

.whatsapp-chat-card__body {
    padding: 1rem 4.5rem 2rem;
    background: #eaebef;
}

.whatsapp-chat-card__time {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: #777;
}

.whatsapp-chat-card__message {
    position: relative;
    margin-bottom: 1.5rem;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    background: #fff;
    color: var(--brand-primary-text-color);
    line-height: 1.55;
}

.whatsapp-chat-card__message::before {
    content: "";
    position: absolute;
    left: -17px;
    top: 18px;
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-right: 18px solid #fff;
}

.whatsapp-chat-card__message p {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
}

.whatsapp-chat-card__button.btn {
    background: #01ad01;
    width: 100%;
    border: 1px solid #01a801;
}

.whatsapp-chat-card__button.btn:hover {
    background: #01a001;
    color: #fff;
    text-decoration: none;
}
.whatsapp-chat-card__button.btn:active {
    color: #019501 !important;
    background: #fff !important;
    text-decoration: none;
    border: 1px solid #019501 !important;
}

@media (max-width: 992px) {


    .bg-image-text-content {
        max-width: 100%;
    }

    .bg-image-text-bg img {
        object-position: center right;
    }
}

@media (max-width: 768px) {

    .bg-image-text-top {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .bg-image-text-icon {
        width: 54px;
        height: 54px;
    }

    .bg-image-text-wysiwyg {
        padding: 1.25rem;
    }

    .whatsapp-chat-card {
        border-radius: 18px;
    }

    .whatsapp-chat-card__header {
        padding: 1.25rem;
    }

    .whatsapp-chat-card__avatar-wrap {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }

    .whatsapp-chat-card__body {
        padding: 1rem 1.25rem 1.5rem;
    }

    .whatsapp-chat-card__message {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }

    .whatsapp-chat-card__message::before {
        left: -12px;
        border-right-width: 12px;
    }

    .whatsapp-chat-card__button {
        min-height: 48px;
        font-size: 0.78rem;
    }
}