.cards_version_workshops {
    position: relative;
}

.img_cards_page {
    position: relative;
    top: 23%;
    left: 24%;
}

.img_container {
    background-color: #01397D;
    border-radius: 10px;
    width: 80px;
    height: 80px;
}

.cards_version_workshops h2 {
    font-size: 32px !important;
}

.cards_version_workshops__header {
    justify-items: center;
    margin-bottom: 5%;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
}

.cards_version_workshops__header p {
    margin-right: auto;
    width: 60%;
    margin-left: auto;
    text-align: center;
}

.cards_version_workshops__header__subtitle {
    background-color: #ECF5FF;
    color: #0075FF !important;
    width: fit-content !important;
    font-size: 12px;
    font-weight: 500 !important;
    padding: 2px 7px !important;
    border-radius: 6px;
    margin-bottom: 5px !important;
}

.style_2 .cards_version_workshops__content__title {
    min-height: 64px;
}

.style_2 .text_link {
    color: #E70491;
    font-weight: 700;
    font-size: 14px;
}

.card_workshop {
    padding: 25px;
    border-radius: 5px;
}

.card_workshop:hover {
    background-color: #F3F8FF;
    transition: 0.3s;
}

.cards_version_workshops__image__top {
    width: 100% !important;
    height: 80px;
    margin-bottom: 24px;
}

.cards_version_workshops__image__top img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.cards_version_workshops__content {
    border-radius: 5px;
    width: 80%;
}

.cards_version_workshops__content__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    color: #0C294B;
}

.cards_version_workshops__content__subtitle {
    font-size: 16px;
    line-height: 32px;
    font-weight: 600;
    color: #0075FF;
}

.cards_version_workshops__content p:nth-child(4),
.cards_version_workshops__content__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: #001B2F;
    margin-bottom: 3%;
}

.bottom-page {
    margin-top: 7%;
}

.wp-element-button-special {
    display: block;
    border: 1px solid #0075FF !important;
    background-color: #F3F8FF !important;
    color: #0075FF !important;
    font-size: 14px;
    padding: 15px 20px !important;
    inline-size: fit-content;
    border-radius: 5px !important;
    font-weight: 700;
    text-decoration: none;
}

.wp-element-button-special:hover {
    background-color: #0075FF !important;
    color: #F3F8FF !important;
    transition: 0.3s;
}

@media (max-width: 767px) {
    .cards_version_workshops .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 25px !important;
        margin-left: -10px !important;
        margin-right: -10px !important;
        padding-left: 10px;
        scrollbar-width: none;
    }

    .cards_version_workshops .row::-webkit-scrollbar {
        display: none;
    }

    .card_workshop {
        flex: 0 0 85% !important;
        max-width: 85% !important;
        margin-right: 12px !important;
        background-color: #F8FBFF !important; 
        border: 1px solid #EBF3FF;
        padding: 20px !important;
        display: flex;
        flex-direction: column;
        min-height: auto !important;
        border-radius: 10px;
    }

    .cards_version_workshops__content__subtitle {
        display: block !important;
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 5px;
    }

    .cards_version_workshops__content__text,
    .cards_version_workshops__content p:nth-child(4) {
        display: block !important;
        font-size: 13px;
        line-height: 1.5;
        min-height: auto !important;
        margin-bottom: 15px !important;
    }

    .cards_version_workshops__header {
        width: 100%;
        margin-bottom: 30px;
    }

    .cards_version_workshops__header p {
        width: 100%;
        font-size: 14.4px;
    }

    .cards_version_workshops h2 {
        font-size: 24px !important;
        text-align: center;
    }

    .cards_version_workshops__content {
        width: 100%;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .cards_version_workshops__content__title {
        font-size: 18px;
        line-height: 1.2;
        margin-bottom: 8px !important;
        min-height: auto !important;
    }

    .wp-element-button-special {
        margin-top: auto !important;
        width: 100%;
        text-align: center;
        padding: 12px 15px !important;
        font-size: 14px;
    }

    .style_2 .text_link {
        margin-top: auto !important;
        font-size: 14px;
    }

    .cards_version_workshops__image__top {
        height: 50px !important;
        margin-bottom: 15px !important;
    }

    .cards_version_workshops__image__top img,
    .img_container {
        width: 50px !important;
        height: 50px !important;
    }
}