/* Card */
.event-card {
    position: relative;
    height: 670px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.35);
    color: #fff;
}

.event-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.event-card__overlay.with__gradient {
    background: url(../../img/featured/bg.png) no-repeat center bottom/cover;
}

.event-card__content {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 22px 42px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Badges */
.event-card__badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: auto;
    width: 100%;
}

.event-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 25px;
    background: #fff;
    color: #000;
    font-size: 18px;
    line-height: 1;
    border-radius: 45px;
    white-space: nowrap;
    margin-left: auto;
}

.event-badge--hit {
    color: #a8191d;
    margin-left: 0;
}

/* Bottom */
.event-card__bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card__title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.event-card__btn {
    width: 227px;
    height: 63px;
    padding: 20px 54px 21px 53px;
    border-radius: 45px;
    background: #fff;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.25);
    transition: opacity 0.2s;
}

button.event-card__btn.yellow__btn {
    background: #ffdb0d;
}

.event-card__btn:hover {
    opacity: 0.9;
}

/* Mobile */
@media (max-width: 900px) {
   
    .event-card {
        height: 209px;
        border-radius: 20px;
    }

    .event-card__content {
        padding: 10px;
    }

    .event-badge {
        padding: 4px 14px;
        font-size: 10px;
    }

    .event-card__title {
        font-size: 12px;
    }

    .event-card__btn {
        width: auto;
        height: 26px;
        padding: 6px 10px;
        font-size: 11px;
        max-width: 100px;
    }
}