/* WhatsApp group invitation at the end of news articles. */
.news-whatsapp-group {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
    margin: 34px 0 8px;
    padding: 24px 28px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 22px;
    background: linear-gradient(110deg, #082d25 0%, #0b6848 58%, #11945f 100%);
    color: #fff;
    box-shadow: 0 16px 34px rgba(7, 76, 49, .22);
}

.news-whatsapp-group::before {
    position: absolute;
    z-index: -1;
    top: -72px;
    right: 12%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    content: "";
}

.news-whatsapp-group-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 16px;
    background: rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.news-whatsapp-group-icon svg {
    width: 29px;
    height: 29px;
    fill: currentColor;
}

.news-whatsapp-group-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.news-whatsapp-group-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, .72);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.news-whatsapp-group h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 800;
    letter-spacing: -.02em;
}

.news-whatsapp-group p {
    max-width: 620px;
    margin: 5px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: .86rem;
    line-height: 1.5;
}

.news-whatsapp-group-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 10px;
    min-height: 46px;
    padding: 0 17px 0 19px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #087844;
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.news-whatsapp-group-button svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    transition: transform .2s ease;
}

.news-whatsapp-group-button:hover,
.news-whatsapp-group-button:focus-visible {
    background: #f0fff7;
    color: #05653a;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
}

.news-whatsapp-group-button:hover svg {
    transform: translateX(3px);
}

.news-whatsapp-group-button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .7);
    outline-offset: 3px;
}

[data-bs-theme="dark"] .news-whatsapp-group {
    box-shadow: 0 16px 34px rgba(0, 0, 0, .24);
}

@media (max-width: 767.98px) {
    .news-whatsapp-group {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 14px;
        margin-top: 28px;
        padding: 20px;
        border-radius: 18px;
    }

    .news-whatsapp-group-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        border-radius: 13px;
    }

    .news-whatsapp-group-icon svg {
        width: 24px;
        height: 24px;
    }

    .news-whatsapp-group-copy {
        flex-basis: calc(100% - 58px);
    }

    .news-whatsapp-group-button {
        width: 100%;
    }
}
