.block-tariff-card .element-benefits ul {
    list-style: none;
    padding: 0px;
}

.block-tariff-card .element-benefits ul li {
    margin: 12px auto;
    font-weight: 400;
    color: black;
}

.block-tariff-card .element-benefits ul li:before {
    content: url(/wp-content/plugins/e2e4-api-forms/assets/media/Vector.svg);
    padding-right: 12px;
}

.block-tariff-card .element-benefits {
    width: 83%;
    height: 100%;
}

.block-tariff-card .element-benefits ul li {
    display: flex;
}

.tariffs-card-message {
    color: black;
    font-size: 20px;
    padding-bottom: 50px;
}

.tariffs-card__wrapper {
    width: 100%;
    display: flex;
    gap: 30px;
    align-items: stretch;
    justify-content: center;
    align-content: stretch;
    flex-wrap: wrap;
}

#availability-check_tariffs-card__wrapper{
    display: none;
}

.fancybox__content {
    max-width: 1440px;
    width: 80%;
    padding: 20px;
}

.popup {
    max-width: 620px;
}

.popup__tariffs-card {
    max-width: 1300px;
    padding: 60px 90px;
}

.block-tariff-card {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 406px;
    border: 2px solid #B3B6AD;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-wrapper {
    width: 31%;
    max-width: 400px;
}

.card-wrapper:nth-child(1) .block-tariff-card .element-h4,
.card-wrapper:nth-child(3) .block-tariff-card .element-h4 {
    color: #a9c56e;
}

.card-wrapper:nth-child(2) .block-tariff-card {
    background: #a9c56e
}

.card-wrapper:nth-child(2) .block-tariff-card:before {
    position: absolute;
    top: -18px;
    content: "Unsere Empfehlung";
    text-transform: uppercase;
    font-family: 'Ubuntu_Mono_700';
    text-align: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    width: 100%;
    background: #6e9631;
    border-radius: 16px 16px 0px 0px;
    border: 2px solid #6e9631;
}

.block-tariff-card .element-h4,
.block-tariff-card .element-month-price {
    width: 90%;
    text-align: center;
}

.block-tariff-card .element-h4 {
    font-weight: 700;
    font-size: 22px;
    line-height: 130%;
    margin-top: 30px;
    min-height: 100px;
}

.block-tariff-card:nth-child(2) .element-h4 {
    margin-top: 65px;
}

.block-tariff-card .element-month-price {
    color: black;
    font-weight: 700;
    font-size: 56px;
    line-height: 100%;
    margin-bottom: 20px;
}

.element-month-price .element-span {
    font-weight: 700;
    font-size: 16px;
    position: relative;
}

.block-button {
    margin-top: 20px;
    height: 51px;
    background: #000000;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0.03em;
    border: none;
}

.block-button:hover {
    border: 2px solid black;
    background: white;
    color: black;
}

.block-tariff-card .element-button {
    max-width: 342px;
    width: 85%;
    text-align: center;
    min-height: 51px;
}

a.block-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-button a {
    color: white;
}

.block-tariff-card .element-links {
    display: flex;
    margin: 30px 0;
    flex-direction: column;
    align-items: center;
}

.block-tariff-card .element-a {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    text-decoration-line: underline;
}

.block-tariff-card .popup__element-h4 {
    width: 100%;
    margin: 0px 0px 10px;
    text-align: left;
    font-weight: 700;
    font-size: 22px;
    line-height: 130%;
}

.popup__description {
    font-weight: 400;
}

@media screen and (max-width: 1300px) {

    .tariffs-card__wrapper .card-wrapper {
        width: 30%;
    }

    .block-tariff-card .element-h4 {
        width: 90%;
        margin: 40px 0 20px 0px;
        min-height: 11%;
    }

    .block-tariff-card:nth-child(2) .element-h4 {
        margin-top: 55px;
    }

    .block-tariff-card .element-month-price {
        font-size: 30px;
        height: 45px;
        width: 90%;
    }

    .fancybox__content {
        width: 92%;
    }

}

@media screen and (max-width: 767px) {

    /* .block-tariff-card .element-month-price .element-span::after {
        content: url(/wp-content/plugins/e2e4-api-forms/assets/media/Group-8436.svg);
        position: absolute;
        top: -5px;
        right: -15px;
    } */

    .tariffs-card__wrapper {
        flex-wrap: wrap;
    }

    .tariffs-card__wrapper .card-wrapper {
        width: 100%;
    }

    .block-tariff-card {
        width: 100%;
    }

    .block-tariff-card .element-h4 {
        font-size: 18px;
        margin: 24px 0px 10px 0px;
        width: 90%;
    }
    

    .block-tariff-card .element-month-price {
        font-size: 36px;
        height: 100%;
        margin-bottom: 10px;
    }

    .block-tariff-card .element-benefits ul li:before {
        content: url(/wp-content/plugins/e2e4-api-forms/assets/media/Vector-2.svg);
    }

    .block-tariff-card .element-benefits {
        height: 100%;
    }

    .block-tariff-card .element-benefits ul li {
        font-size: 16px;
    }

    .block-tariff-card:nth-child(2) .element-h4 {
        margin-top: 55px;
    }

}