.community-banner__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    gap: 32px;
}
.community-banner__theme-1 .community-banner__wrapper:before {
    content: "";
    grid-column: 1 / -1;
    grid-row: 1;
    background: url(../img/discord/bg_theme_1.svg) no-repeat center center;
    background-size: cover;
    border-radius: 60px;
    height: 92%;
    align-self: flex-start;
    z-index: -1;
}
.community-banner__theme-2 .community-banner__wrapper:before {
    content: "";
    grid-column: 1 / -1;
    grid-row: 1;
    background: url(../img/discord/bg_theme_2.svg) no-repeat center center;
    background-size: cover;
    border-radius: 60px;
    height: calc(100% - 67px);
    align-self: flex-start;
    z-index: -1;
}
.community-banner__theme-3 .community-banner__wrapper:before {
    content: "";
    grid-column: 1 / -1;
    grid-row: 1;
    background: url(../img/discord/bg_theme_3.svg) no-repeat center center;
    background-size: cover;
    border-radius: 60px;
    height: 100%;
    align-self: flex-start;
    z-index: -1;
    border: 2px solid #8801DB;
    box-shadow: 0 0 20px 0 rgba(39, 245, 209, 0.40);
}
.community-banner__theme-4 .community-banner__wrapper:before {
    content: "";
    grid-column: 1 / -1;
    grid-row: 1;
    background: url(../img/discord/bg_theme_4.svg) no-repeat center center;
    background-size: cover;
    border-radius: 60px;
    height: 82%;
    align-self: flex-start;
    z-index: -1;
}
.community-banner__content {
    grid-column: 1;
    grid-row: 1;
    padding-left: 40px;
    max-width: 600px;
    margin-top: -34px;
    padding: 40px 0 40px 40px;
}
.community-banner__theme-2 .community-banner__content {
    margin-top: -64px;
}
.community-banner__theme-3 .community-banner__wrapper {
    grid-template-columns: auto 1fr;
}
.community-banner__theme-4 .community-banner__wrapper {
    margin-bottom: -18%;
    grid-template-columns: 600px 1fr;
    gap:0
}
.community-banner__theme-3 .community-banner__content {
    margin-top: 0px;
}
.community-banner__visual {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-right: 40px;
}
.community-banner__theme-2 .community-banner__visual, .community-banner__theme-4 .community-banner__visual {
    padding-right: 0px;
}
.community-banner__theme-4 .community-banner__visual {
    justify-content: flex-end;
}
.community-banner__theme-1 .banner__image {
    transform: translateY(-16%);
    line-height: 0;
}
.community-banner__theme-2 .banner__image {
    transform: translateY(-67px);
    line-height: 0;
}
.community-banner__theme-4 .banner__image {
    transform: translateY(-18%);
    line-height: 0;
}
.community-banner__theme-4 .community-banner__content {
    transform: translateY(-9%);
}
.article-section__content .banner__image img, .banner__image img {
    max-width: 100%;
    margin: 0;
}
.article-section__content .community-banner__title, .community-banner__title {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.14;
    margin: 0 0 16px;
}
.community-banner__text {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.16px;
    margin-bottom: 32px;
}
.btn--discord {
    border-radius: 16px;
    background: #fff;
    color: #0b0413;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.14px;
    transition: all 0.3s ease;
}
.btn--discord:hover{
    opacity: 0.8;      
    background: #fff;  
}
.community-banner .btn--discord {
    display: flex;
    align-items: center;
    gap:12px;
    border: none;
    max-width: 174px;
}
.community-banner .btn--discord span {
    white-space: nowrap;
    color: #0B0413;
}
.banner__image picture {display: block;}
.community-banner__visual .btn--discord {
    display: none;
}
.article-section__content .community-banner__content p {
    margin: 0 0 32px;
}
@media (max-width: 1024px) {
    .section.community-banner {
        padding: 40px 0;
    }
}
@media (max-width: 767px) {
    .section.community-banner {
        padding: 30px 0;
    }
}

/*** Media queries Theme 1***/
@media (max-width: 1550px) {
    .community-banner__theme-1 .community-banner__content {
        max-width: 503px;
        margin-top: 0;
    }
    .community-banner__theme-1 .community-banner__wrapper:before {
        height: 97%;
    }
    .community-banner__theme-1 .community-banner__wrapper {
        grid-template-columns: auto auto;
    }
    .community-banner__theme-1 .banner__image {
        transform: translateY(-11%);
    }
}
@media (max-width: 1349px) {
    .community-banner__theme-1 .banner__image {
        transform: translateY(-16%);
    }
}
@media (max-width: 1199px) {
    .community-banner__theme-1 .banner__image {
        transform: translateY(0);
    }
    .community-banner__theme-1 .community-banner__wrapper:before {
        height: 100%;
    }
    .community-banner__theme-1 .community-banner__content {
        max-width: unset;
        min-width: 450px;
    }
    .community-banner__theme-1 .community-banner__wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .community-banner__theme-1 .community-banner__wrapper {
        grid-template-columns: 1fr;
    }
    .community-banner__theme-1 .community-banner__visual {
        grid-row: 2;
        grid-column: 1;
        justify-self: center;
        padding-right: 0;
        flex-wrap: wrap;
    }
    .community-banner__theme-1 .banner__image {
        flex-basis: 100%;
        display: flex;
        justify-content: center;
    }
    .community-banner__theme-1 .community-banner__content {
        grid-row: 1;
        grid-column: 1;
        width: 100%;
        max-width: 600px;
        padding: 0;
        text-align: center;
        justify-self: center;
        min-width: unset;
    }
    .community-banner__theme-1 .community-banner__wrapper:before {
        display: none;
    }
    .community-banner__theme-1 .community-banner__wrapper {
        background: url(../img/discord/bg_theme_1.svg) no-repeat center center;
        background-size: cover;
        gap:4px;
        border-radius: 50px;
        padding: 32px 24px;
    }
    .community-banner__theme-1.community-banner .community-banner__content .btn--discord {
        display: none;
    }
    .community-banner__theme-1.community-banner .community-banner__visual .btn--discord {
        display: flex;
        margin-top: 24px;

    }
    .community-banner__theme-1 .community-banner__text {
        margin-bottom: 0;
    }
    .community-banner__theme-1.community-banner .btn--discord {
        max-width: 100%;
        width: 240px;
        justify-content: center;
        justify-self: center;
    }
}
@media (max-width: 500px) {
    .community-banner__theme-1 .community-banner__wrapper {
        border-radius: 30px;
    }
    .community-banner__theme-1 .community-banner__title {
        font-size: 24px;
    }
    .community-banner__theme-1.community-banner .community-banner__visual .btn--discord {
        width: 100%;
        max-width: 100%;
    }
}
/*** Media queries Theme 2***/
@media (max-width: 1199px) {
    .community-banner__theme-2 .banner__image {
        transform: translateY(-8%);
    }
    .community-banner__theme-2 .community-banner__wrapper:before {
        height: 92.3%;
    }
    .community-banner__theme-2 .community-banner__content {
        margin-top: -8%;
        width: 461px;
    }
    .community-banner__theme-2 .community-banner__wrapper {
        overflow: hidden;
    }
}
@media (max-width: 991px) {
    .community-banner__theme-2 .banner__image {
        transform: translate(0);
        width: 330px;
    }
    .community-banner__theme-2 .community-banner__visual {
        justify-self: flex-end;
    }
    .community-banner__theme-2 .community-banner__wrapper:before {
        height: 100%;
    }
    .community-banner__theme-2 .community-banner__content {
        margin-top: 0;
    }
    .community-banner__theme-2 .community-banner__wrapper {
        border-radius: 60px;
    }
}
@media (max-width: 767px) {
    .community-banner__theme-2 .community-banner__visual {
        order: 1;
        grid-row: 1;
        grid-column: 1;
        justify-self: center;
    }
    .community-banner__theme-2 .community-banner__content {
        order: 2;
        grid-row: 2;
        grid-column: 1;
        width: 100%;
        max-width: 600px;
        padding: 8px 16px 40px;
        text-align: center;
        justify-self: center;
    }
    .community-banner__theme-2 .community-banner__wrapper:before {
        display: none;
    }
    .community-banner__theme-2 .community-banner__wrapper {
        background: url(../img/discord/bg_theme_2.svg) no-repeat center center;
        background-size: cover;
        grid-template-columns: 1fr;  
        gap: 8px
    }
    .community-banner__theme-2.community-banner .btn--discord {
        max-width: 100%;
        width: 311px;
        justify-content: center;
        justify-self: center;
    }
}
@media (max-width: 600px) {
    .community-banner__theme-2 .community-banner__wrapper {
        background: url(../img/discord/bg_theme_2_mobile.svg) no-repeat center center;
        background-size: cover;
    }
}
@media (max-width: 500px) {
    .community-banner__theme-2 .community-banner__content { 
        max-width: 311px;
        padding: 8px 16px 24px;
    }
    .community-banner__theme-2 .community-banner__wrapper {
        border-radius: 30px;
    }
    .community-banner__theme-2 .community-banner__title {
        font-size: 24px;
    }
    .community-banner__theme-2.community-banner .btn--discord {
        max-width: 100%;
    }
    .community-banner__theme-2 .banner__image {
        width: 169px;
    }
    .community-banner__theme-2.community-banner .btn--discord {
        width: 100%;
        max-width: 311px;
    }
}


/*** Media queries Theme 3***/
@media (max-width: 1349px) {
    .community-banner__theme-3 .community-banner__content {
        max-width: 464px;
    }
}
@media (max-width: 1199px) {
    .community-banner__theme-3 .community-banner__visual {
        justify-content: flex-end;
    }
    .community-banner__theme-3 .banner__image {
        transform: translateY(2%);
        line-height: 0;
    }
}
@media (max-width: 991px) {
    .community-banner__theme-3 .community-banner__content {
        padding: 0;
    }
    .community-banner__theme-3 .community-banner__content .btn--discord {
        display: none;
    }
    .community-banner__theme-3.community-banner .community-banner__visual .btn--discord {
        display: flex;
    }
    .community-banner__theme-3.community-banner .btn--discord {
        width: 100%;
        max-width: 240px;
    }
    .community-banner__theme-3 .banner__image {
        flex-basis: 100%;
        max-width: 100%;
    }
    .community-banner__theme-3 .community-banner__visual {
        flex-wrap: wrap;
        grid-row: 2;
        grid-column: 1;
        justify-content: center;
        padding-right: 0;
    }
    .community-banner__theme-3 .community-banner__wrapper:before {
        display: none;
    }
    .community-banner__theme-3 .banner__image {
        transform: translateY(-4%);
        text-align: center;
    }
    .community-banner__theme-3 .community-banner__wrapper {
        background: url(../img/discord/bg_theme_3.svg) no-repeat center center;
        background-size: cover;
        grid-template-columns: 1fr;
        gap:0;
        padding: 24px;
        border-radius: 60px;
    }
    .community-banner__theme-3 .community-banner__content {
        margin: 0 auto;
        text-align: center;
        max-width: 600px;
    }
    .community-banner__theme-3 .community-banner__text {
        margin-bottom: 0;
    }
    .community-banner__theme-3.community-banner .community-banner__visual .btn--discord {
        justify-content: center;
        margin-top: -24px;
        z-index: 1;
    }
}
@media (max-width: 767px) {
    .community-banner__theme-3 .community-banner__wrapper {
        padding: 24px 16px;
    }
}
@media (max-width: 550px) {
    .community-banner__theme-3 .community-banner__wrapper {
        border-radius: 30px;
        background: url(../img/discord/bg_theme_3_mobile.svg) no-repeat center center;
        background-size: cover;
    }
}
@media (max-width: 500px) {
    .community-banner__theme-3 .community-banner__wrapper {
        padding: 24px 16px;
    }
    .community-banner__theme-3 .community-banner__title {
        font-size: 24px;
    }
    .community-banner__theme-3 .community-banner__content {
        max-width: 311px;
    }
    .community-banner__theme-3 .banner__image {
        transform: translateY(0%);
    }
    .community-banner__theme-3.community-banner .community-banner__visual .btn--discord {
        margin-top: 8px;
    }
}

/*** Media queries Theme 4***/
@media (max-width: 1500px) {
    .community-banner__theme-4 .community-banner__wrapper {
        grid-template-columns: 500px 1fr;
    }
}
@media (max-width: 1450px) {
    .community-banner__theme-4 .banner__image, .community-banner__theme-4 .community-banner__content {
        transform: translateY(0);
        margin-top: 0;
    }
    .community-banner__theme-4 .community-banner__wrapper:before {
        height: 100%;
    }
    .community-banner__theme-4 .community-banner__wrapper {
        margin-bottom: 0;
    }
}
@media (max-width: 1330px) and (min-width: 1021px) {
    .community-banner__theme-4 .community-banner__wrapper:before {
        display: none;
    }
    .community-banner__theme-4 .community-banner__wrapper {
        background: url(../img/discord/bg_theme_4.svg) no-repeat center center;
        background-size: cover;
        grid-template-columns: 1fr;
        gap:0;
        padding: 24px 16px;
        border-radius: 30px;
    }
    .community-banner__theme-4 .community-banner__visual {
        grid-column: 1;
        grid-row: 2;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    .article-section__content .banner__image img, .banner__image img {
        margin: 0 auto;
    }
    .community-banner__theme-4 .banner__image {
        flex-basis: 100%;
    }
    .community-banner__theme-4 .community-banner__content {
        padding: 0;
        text-align: center;
        max-width: 560px;
        margin: 0 auto;
    }
    .community-banner__theme-4 .community-banner__content .btn--discord {
        display: none;
    }
    .community-banner__theme-4.community-banner .community-banner__visual .btn--discord {
        display: flex;
        max-width: 311px;
        width: 100%;
        justify-content: center;
    }
    .article-section__content .community-banner__content p {
        margin-bottom: 16px;
    }
}
@media (max-width: 1020px) {
    .community-banner__theme-4 .community-banner__wrapper {
        grid-template-columns: 460px 1fr;
    }
    .community-banner__theme-4 .community-banner__visual {
        align-self: flex-end;
    }
}
@media (max-width: 767px) {
    .community-banner__theme-4 .community-banner__wrapper:before {
        display: none;
    }
    .community-banner__theme-4 .community-banner__wrapper {
        background: url(../img/discord/bg_theme_4.svg) no-repeat center center;
        background-size: cover;
        grid-template-columns: 1fr;
        gap:0;
        padding: 24px 16px;
        border-radius: 30px;
    }
    .community-banner__theme-4 .community-banner__visual {
        grid-column: 1;
        grid-row: 2;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    .article-section__content .banner__image img {
        margin: 0 auto;
    }
    .community-banner__theme-4 .banner__image {
        flex-basis: 100%;
    }
    .community-banner__theme-4 .community-banner__content {
        padding: 0;
        text-align: center;
        max-width: 560px;
        margin: 0 auto;
    }
    .community-banner__theme-4 .community-banner__content .btn--discord {
        display: none;
    }
    .community-banner__theme-4.community-banner .community-banner__visual .btn--discord {
        display: flex;
        max-width: 311px;
        width: 100%;
        justify-content: center;
    }
    .article-section__content .community-banner__content p {
        margin-bottom: 16px;
    }
}
@media (max-width: 550px) {
    .community-banner__theme-4 .community-banner__wrapper {
        background: url(../img/discord/bg_theme_4-mobile.svg) no-repeat center center;
        background-size: cover;
    }
    .community-banner__theme-4 .community-banner__title {
        font-size: 24px;
    }
    .community-banner__theme-4 .community-banner__content {
        max-width: 311px;
    }

}