.tournamentcardlong {
    cursor: pointer;
    min-width: 615px;
    max-width: 615px;
}

.tournamentcardlong .tournamentcard-card {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    margin: 10px 36px 10px 0;
    width: calc(100% - 4px);
    height: 167px;
    box-shadow: 4px 4px 4px 0px rgba(225, 237, 255, 0.8);
    -webkit-transition: background-color 0.4s;
    /* Safari */
    transition: background-color 0.4s;
    padding-left: 16px;
    box-sizing: border-box;
    overflow: hidden;
}

.tournamentcardlong .tournamentcard-card .progressbar-container {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
}

.tournamentcardlong .tournamentcard-card .progressbar-container .entity-icon {
    min-width: 122px;
    min-height: 122px;
    border-radius: 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: transparent;
    margin-inline: 20px 25px;
    z-index: 10;
}

.tournamentcardlong .tournamentcard-card .progressbar-container .circular-progress {
    position: absolute;
    height: 132px;
    width: 132px;
    border-radius: 50%;
    margin-inline: 20px 25px;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 0);
    mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 0);
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    position: relative;
    width: calc(100% - 167px);
    height: 100%;
    padding: 0;
    box-sizing: border-box;
    min-width: 0;
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head .title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-width: 0;
    flex-shrink: 0;
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head .entity-name {
    color: #4b4a4a;
    font-family: "Metropolis Semi Bold";
    font-size: 24px;
    line-height: 26px;
    letter-spacing: 0.24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    margin-top: 14px;
    padding-left: 5px;
    padding-right: 8px;
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head .content-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 0 12px 10px 5px;
    box-sizing: border-box;
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head .description {
    color: #4b4a4a;
    font-family: "Metropolis Regular";
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.3px;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head .datesContainer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head .datesContainer .datesIcon {
    background-image: url("https://d1gq9jzbezk7fw.cloudfront.net/p/en_US/gv/i/Calendar_icon_LM_portal_new.png");
    width: 24px;
    height: 24px;
    background-size: cover;
    margin-right: 5px;
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head .datesContainer .datesText {
    color: #4b4a4a;
    font-family: "Metropolis Regular";
    font-size: 20px;
    line-height: 16px;
    letter-spacing: 0.2px;
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head .total {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b4a4a;
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head .total .raisedIcon {
    background-image: url(https://d1gq9jzbezk7fw.cloudfront.net/p/en_US/gv/i/support_icon_blue.svg);
    width: 24px;
    height: 24px;
    background-size: 24px;
    background-repeat: no-repeat;
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head .total .grandChallengeIcon {
    background-image: url(https://d1gq9jzbezk7fw.cloudfront.net/p/en_US/gv/i/GrandChallenge_Icon_v2_LM.png);
    width: 24px;
    height: 24px;
    background-size: 24px;
    background-repeat: no-repeat;
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head .total .fundraiserIcon {
    background-image: url(https://d1gq9jzbezk7fw.cloudfront.net/p/en_US/gv/i/Fundraiser_Icon_v2_LM.png);
    width: 24px;
    height: 24px;
    background-size: 22px;
    background-repeat: no-repeat;
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head .total .label {
    font-family: "Metropolis Semi Bold";
    font-size: 20px;
    line-height: 16px;
    letter-spacing: 0.2px;
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head .message-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-shrink: 0;
    width: 155px;
    height: 38px;
    background-color: #1683ff;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-left: 3px solid #dff4ff;
    border-bottom: 3px solid #dff4ff;
    cursor: pointer;
    margin: 0;
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head .message-container.hide {
    display: none;
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head .join-container {
    flex-shrink: 0;
    margin: 0;
    line-height: 0;
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head .join-container.hide {
    display: none;
}

.tournamentcardlong
    .tournamentcard-card
    .tournamentcard-head
    .join-container
    .joinchallenge
    .join-container {
    position: relative;
    top: auto;
    right: auto;
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head .message-container .message-icon {
    background-image: url("https://d1gq9jzbezk7fw.cloudfront.net/p/en_US/gv/i/clock_time_left_icon.png");
    width: 24px;
    height: 24px;
    background-size: cover;
    margin-left: 5px;
}

.tournamentcardlong .tournamentcard-card .tournamentcard-head .message-container .message-text {
    color: #fff;
    font-family: "Metropolis Semi Bold";
    font-size: 17px;
    line-height: 16px;
    letter-spacing: 0.17px;
    margin-left: 5px;
}

/* DARK MODE */
.dark .tournamentcardlong .tournamentcard-card {
    background-color: #1f2120;
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.4);
}
.dark .tournamentcardlong .tournamentcard-card .tournamentcard-head .entity-name,
.dark .tournamentcardlong .tournamentcard-card .tournamentcard-head .datesContainer .datesText,
.dark .tournamentcardlong .tournamentcard-card .tournamentcard-head .total .label,
.dark .tournamentcardlong .tournamentcard-card .tournamentcard-head .description {
    color: rgba(255, 255, 255, 0.87);
}
.dark .tournamentcardlong .tournamentcard-card .tournamentcard-head .datesContainer .datesIcon {
    background-image: url("https://d1gq9jzbezk7fw.cloudfront.net/p/en_US/gv/i/Calendar_icon_DM_portal_new.png");
}
.dark .tournamentcardlong .tournamentcard-card .tournamentcard-head .total .grandChallengeIcon {
    background-image: url(https://d1gq9jzbezk7fw.cloudfront.net/p/en_US/gv/i/GrandChallenge_Icon_v2_DM.png);
}
.dark .tournamentcardlong .tournamentcard-card .tournamentcard-head .total .fundraiserIcon {
    background-image: url(https://d1gq9jzbezk7fw.cloudfront.net/p/en_US/gv/i/Fundraiser_Icon_v2_DM.png);
}

/* MOBILE */
@media only screen and (max-width: 768px) {
    .tournamentcardlong {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .tournamentcardlong .tournamentcard-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 140px;
        margin: 8px 0;
    }

    .tournamentcardlong .tournamentcard-card .progressbar-container {
        flex-shrink: 0;
    }

    .tournamentcardlong .tournamentcard-card .progressbar-container .entity-icon {
        min-width: 80px;
        min-height: 80px;
        margin-inline: 0px 8px;
    }

    .tournamentcardlong .tournamentcard-card .progressbar-container .circular-progress {
        height: 90px;
        width: 90px;
        margin-inline: 0px 8px;
    }

    .tournamentcardlong .tournamentcard-card .tournamentcard-head {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .tournamentcardlong .tournamentcard-card .tournamentcard-head .entity-name {
        font-size: 17px;
        line-height: 20px;
        letter-spacing: 0.17px;
    }

    .tournamentcardlong .tournamentcard-card .tournamentcard-head .description {
        font-size: 15px;
        line-height: 18px;
        letter-spacing: 0.15px;
    }

    .tournamentcardlong .tournamentcard-card .tournamentcard-head .datesContainer .datesIcon {
        width: 18px;
        height: 18px;
    }

    .tournamentcardlong .tournamentcard-card .tournamentcard-head .datesContainer .datesText {
        font-size: 14px;
        line-height: 16px;
        letter-spacing: 0.14px;
    }

    .tournamentcardlong .tournamentcard-card .tournamentcard-head .message-container {
        width: 120px;
        height: 30px;
    }

    .tournamentcardlong .tournamentcard-card .tournamentcard-head .message-container .message-icon {
        width: 18px;
        height: 18px;
    }

    .tournamentcardlong .tournamentcard-card .tournamentcard-head .message-container .message-text {
        font-size: 13px;
        line-height: 14px;
        letter-spacing: 0.13px;
    }

    .tournamentcardlong .tournamentcard-card .tournamentcard-head .total .raisedIcon,
    .tournamentcardlong .tournamentcard-card .tournamentcard-head .total .grandChallengeIcon,
    .tournamentcardlong .tournamentcard-card .tournamentcard-head .total .fundraiserIcon {
        width: 18px;
        height: 18px;
        background-size: 18px;
    }

    .tournamentcardlong .tournamentcard-card .tournamentcard-head .total .label {
        font-size: 14px;
        line-height: 16px;
        letter-spacing: 0.14px;
    }
}
