.mark-popup {
    position: fixed;
    top: 0;
    left: 0;
    overflow: auto;
    z-index: 2222;
    background: var(--blackout-color);
    width: 100vw;
    height: 100vh;
    line-height: 1.2;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .3s ease;
}

.mark-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mark-popup__inner {
    max-width: 700px;
    margin: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 0;

}

.mark-popup__close {
    width: 24px;
    height: 22px;
    top: 20px;
    right: 15px;
    position: absolute;
    content: url('data:image/svg+xml,<svg width="24" height="22" viewBox="0 0 24 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.4546 5.3877L5.81824 16.1632ZM17.4546 16.1632L5.81824 5.3877Z" fill="%230b1a18"/><path d="M17.4546 5.3877L5.81824 16.1632M17.4546 16.1632L5.81824 5.3877" stroke="%230b1a18"/></svg>');
    cursor: pointer;
    transition: .3s ease;
    opacity: 0.4;
}

.mark-popup__close:hover {
    opacity: 1;
}

.mark-popup__body {
    background: var(--greyscale-5, #F7FAFA);
    color: var(--greyscale-100, #0B1A18);
    position: relative;
    z-index: 100;
    padding: 50px 60px;
}

.event-popup__date {
    position: relative;
    width: max-content;
    padding: 0 10px;
    color: var(--greyscale-70);
    margin-bottom: 30px;
}

.event-popup__date::before {
    content: "";
    position: absolute;
    top: 0;
    right: calc(100%);
    width: 5px;
    height: 20px;
    background: url("img/bracket.svg") center/26px 20px no-repeat;
}

.event-popup__date::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 2px;
    height: 20px;
    background: url("img/bracket.svg") center/26px 20px no-repeat;
    transform: rotate(180deg);
}

.event-popup__title {
    font-size: 32px;
    font-weight: 700;
    line-height: normal;
    color: var(--greyscale-100);
    margin-bottom: 10px;
}

.event-popup__text {
    color: var(--greyscale-100);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


.event-popup__button {
    color: var(--greyscale-0);
    background: var(--extra-red-80);
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    width: max-content;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    transition: .3s ease;
    margin-top: 40px;
}

.event-popup__button:hover {
    background-color: var(--extra-red-90);
}

.event-popup__bottom {
    margin-top: 20px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: var(--greyscale-100, #0B1A18);
}


@media (max-width: 767px) {

    .mark-popup__inner {
        max-width: calc(100% - 40px);

    }

    .mark-popup__body {
        padding: 40px 20px;
    }

    .event-popup__title {
        font-size: 26px;
    }
}
