.activity_card {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    box-shadow: var(--boxshadow);
    border-radius: 10px;
    position: relative;
}
.activity_card > img {
    width: 100%;
    border-radius: 10px 10px 0 0;
}
.activity_card .body {
    position: relative;
    width: 100%;
    /*height: 202px;*/
    padding: 16px 24px 32px 24px;
    box-sizing: border-box;
    background-color: white;
    border-radius: 0 0 10px 10px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.activity_card .body::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 16px;
    background-color: #DD5298;
    border-radius: 0 0 10px 10px;
    transition: 0.3s ease;
}
.activity_card:hover .body::after {
    height: 100%;
}
.activity_card .body h2 {
    font-weight: 400;
    /*font-size: 24px;
    line-height: 32px;*/
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: 0.05em;
    color: #2D2D6C;
    position: relative;
    z-index: 2;
    overflow-wrap: break-word;
    overflow: hidden;
    height: 64px;
}
.activity_card .body p {
    margin-top: auto;
    font-weight: 400;
    /*font-size: 18px;
    line-height: 26px;*/
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: #1B1B1B;
    position: relative;
    z-index: 2;
}
.activity_card .body button {
    width: 112px;
    height: 32px;
    display: flex;
    align-items: center;
    gap: 4px;
    border-color: #CE2874;
    margin: 12px 0 0;
    position: relative;
    z-index: 2;
}
.activity_card:hover .body h2,.activity_card:hover .body p{
    color: #fff;
}
.activity_card:hover .body button{
    color: #fff;
    border-color: #fff;
    background-color: transparent;
}
.activity_card:hover .body button p{
    color: #fff;
}

.activity_card:hover .body button i img:nth-child(1){
    opacity: 0;
}
.activity_card:hover .body button i img:nth-child(2){
    opacity: 1;
}
.activity_card .body button p {
    color: #CE2874;
    margin: 0;
    margin-top: -3px;
    line-height: 24px;
   
}
.activity_card .body button i{
    display: inline-flex;
    position: relative;
}
.activity_card .body button img {
    width: 16px !important;
}
.activity_card .body button i img:nth-child(2){
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}
.activity_card:hover .body button i img:nth-child(1){
    opacity: 0;
}
.activity_card:hover .body button i img:nth-child(2){
    opacity: 1;
}
.activity_card .body button:hover p {
    font-weight: bold;
}
.activity_card .body button:hover {
    /*background-color: white;
    border-color: #CE2874;*/
}
.activity_card:active::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border: 3px solid #CE2874;
    border-radius: 12px;
}
@media (max-width: 1600px) {
    .activity_card .body button p {
        margin-top: -4px;
    }
}
@media (max-width: 820px) {
    .activity_card .body button p {
        margin-top: -4.5px;
    }
}
@media (max-width: 768px) {
    .activity_card .body{
        padding-left: 18px;
        padding-right: 18px;
    }
    .activity_card .body button p {
        margin-top: -3.5px;
    }
}
@media (max-width: 640px) {
    .activity_card .body button img {
        width: 12px !important;
        margin-left: 5px;
    }
    .activity_card .body {
        height: 176px;
        padding: 16px 16px 32px;
    }
    .activity_card .body h2 {
        font-size: 20px;
        line-height: 29px;
        height: 60px;
    }
    .activity_card .body p {
        font-size: 16px;
        line-height: 23px;
        margin-top: 4px;
        margin-bottom: auto;
    }
    .activity_card .body button {
        width: 88px;
        height: 26px;
        padding: 0;
        gap: 2px;
        min-width: 88px;
    }
    .activity_card .body button > p {
        font-size: 14px;
        line-height: 14px;
        margin-top: -4px;
    }
    .activity_card .body button > img {
        width: 12px !important;
    }
}

@media (max-width: 480px) {

    .activity_card .body h2 {
        font-size: 16px;
        line-height: 24px;
        height: 50px;
    }

    .activity_card .body p {
        font-size: 14px;
    }

   
}