.event-page__mobile {
    display: none;
}

.event-page__header {
    margin-top: 35px;
}

.event-page__link {
    cursor: pointer;
    color: inherit;
}

.event-page__header .event-page__title {
    color: var(--Black, #101010);
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 64px */

    padding-bottom: 22px;
    border-bottom: 1px solid black;
}

.event-page__links-list {
    padding-top: 23px;
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 30px;

    color: var(--Black, #101010);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
}

.event-page__preview {
    margin-top: 90px;
}

.event-page__main {
    margin-top: 85px;
}

.event-page__main {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
}

.event-page__preview {
    height: 718px;
}

.event-page__preview img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.event-page__main-left {
    width: 527px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-page__main-right {
    width: 795px;
    display: flex;
    flex-direction: column;
    gap: 0px;

}

.event-page__buttons,
.event-page__left-top {
    display: flex;
    flex-direction: column;
}

.event-page__buttons .button__orange,
.event-page__buttons .button__black {
    padding: 16px;
}

.event-page__left-top {
    gap: 25px;
}

.event-page__buttons {
    gap: 10px;
}

.event-page__buttons .button__black img {
    filter: invert();
}

.event-page__text {
    color: var(--Black, #101010);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;

    min-height: 350px;
}

.event-page__text.text__bold {
    font-size: 32px;
    line-height: 130%;
}

.event-page__text.text__common {
    font-size: 18px;
    line-height: 150%; /* 27px */
}

.event-page__bottom-items {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.event-page__bottom-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: calc(50% - 5px);
}

.bottom-item__figure-container {
    height: 258px;
    border-radius: 5px;
    overflow: hidden;
}

.bottom-item__background {
    width: 100%;
    height: 100%;
    background: #1C86FF;
    border-radius: 5px;
}

.bottom-item__image {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bottom-item__text {
    color: var(--Black, #101010);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
}

.event-page__actions-list {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 20px;
}

.event-page__program {
    margin-top: 95px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;

    border-bottom: 1px solid black;
}

.event-page__title {
    color: var(--Black, #101010);
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 48px */
}

.event-page__program .event-page__title h1 {
    color: var(--Black, #101010);
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 48px */
}

.event-page__program-list {
    display: flex;
    flex-direction: column;
    gap: 18px;

    width: 795px;
}

.program__events-list {
    padding-left: 0;

    display: flex;
    flex-direction: column;
    gap: 18px;
}

.event-page__program-element {
    padding-bottom: 28px;
    border-bottom: 1px solid black;

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.event-page__program-element:last-of-type {
    border-bottom: none;
}

.program__date {
    color: var(--Grey, #B2B2B2);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
}

.program-event {
    color: var(--Black, #101010);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.event-page__date {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 10px;

    align-items: center;

    color: var(--Black, #101010);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.event-page__tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    justify-content: start;
    gap: 10px;
    align-items: center;
}

.event-page__tags .tag {
    color: #FFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    padding: 10px 15px;

    background: black;
    border-radius: 500px;
}

.upcoming-events__list {
    display: flex;
    flex-direction: row;
    justify-content: start;

    gap: 10px;
}

.upcoming-event {
    display: flex;
    flex-direction: column;
    justify-content: start;

    gap: 22px;
}

.upcoming-event__preview {
    height: 275px;
}

.upcoming-event__preview-background {
    height: 100%;
    width: 100%;
    background: #B2B2B2;
    border-radius: 5px;
}

.upcoming-event__preview-tags-list {
    left: 20px;
    top: 20px;

    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

.upcoming-event__preview-tags-list span {
    color: #FFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;

    padding: 6px 15px;

    background: black;
    border-radius: 500px;
}

.upcoming-event__text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.upcoming-event__date {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;

    gap: 7px;

    color: var(--Grey, #B2B2B2);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 19.6px */
}

.upcoming-event__title {
    color: var(--Black, #101010);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%; /* 22px */
}

.events-page__upcoming-events {
    padding-bottom: 26px;
    border-bottom: 1px solid black;
}

.upcoming-events__title {
    color: var(--Black, #101010);
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 48px */
    margin-bottom: 40px;
}

.events-page__upcoming-events {
    margin-top: 90px;
}

.main__services {
    margin-top: 90px;
}

.main__services > .title {
    justify-content: end;
    margin-bottom: 28px;
}

@media screen and (max-width: 1440px) {
    .event-page__header {
        margin-top: 15px;
    }

    .event-page__main-left {
        width: 443px;
    }

    .event-page__main-right {
        width: 664px;
        gap: 18px;
    }

    .event-page__text.text__common {
        display: flex;
        flex-direction: column;
        font-size: 16px;
        gap: 10px;
    }

    .bottom-item__figure-container {
        height: 215px;
    }

    .bottom-item__image img {
        width: 45px;
    }

    .event-page__preview {
        height: 602px;
    }

    .event-page__program-list {
        width: 664px;
    }

    .event-page__program-element {
        gap: 8px;
        padding-bottom: 24px;
    }

    .program__events-list {
        width: 92%;
    }

    .upcoming-event__preview {
        height: 228px;
    }
}

@media screen and (max-width: 1024px) {
    .event-page__header .event-page__title {
        color: var(--Black, #101010);
        font-size: 48px;
        font-style: normal;
        font-weight: 400;
        line-height: 100%; /* 48px */
    }

    .event-page__header {
        margin-top: 18px;
    }

    .event-page__main-right {
        width: 468px;
    }

    .event-page__date {
        color: var(--Black, #101010);
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .event-page__main {
        margin-top: 90px;
    }

    .button__orange span {
        width: 80%;
        text-align: start;
    }

    .event-page__left-top {
        gap: 22px;
    }

    .event-page__main-left {
        width: 395px;
    }

    .event-page__buttons {
        gap: 5px;
    }

    .event-page__bottom-item {
        width: calc(40% - 5px);
    }

    .bottom-item__figure-container {
        height: 175px;
    }

    .event-page__text.text__common {
        gap: 10px;
    }

    .event-page__preview {
        margin-top: 70px;
        height: 434px;
        border-radius: 5px;
        overflow: hidden;
    }

    .event-page__program .event-page__title h1 {
        color: var(--Black, #101010);
        font-size: 32px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%; /* 41.6px */
    }

    .event-page__program-list {
        width: 477px;
    }

    .program-event {
        color: var(--Black, #101010);
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .program__date {
        color: var(--Grey, #B2B2B2);
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%; /* 16.8px */
    }

    .event-page__program-element {
        gap: 12px;
    }

    .event-page__program-list {
        gap: 30px;
    }

    .upcoming-events__title {
        color: var(--Black, #101010);
        font-size: 32px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%; /* 41.6px */
    }

    .events-page__upcoming-events {
        margin-top: 95px;
    }

    .upcoming-events__title {
        margin-bottom: 20px;
    }

    .upcoming-event__preview-tags-list {
        left: 10px;
        top: 10px;
    }

    .upcoming-event__preview {
        height: 162px;
    }

    .upcoming-event {
        gap: 10px;
    }

    .upcoming-event__title {
        color: var(--Black, #101010);
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 110%; /* 17.6px */
    }

    .main__services {
        margin-top: 95px;
    }

    .main__services > .title {
        margin-bottom: 12px;
    }

    .main__services .new-items__all {
        margin-top: 8px;
    }

    .event-page__header .event-page__title {
        font-size: 32px;
        padding-bottom: 12px;
    }

    .event-page__header {
        margin-top: 36px;
    }

    .event-page__links-list {
        padding-top: 10px;
    }

    .event-page__main-left {
        width: 200px;
    }

    .event-page__main {
        margin-top: 58px;
    }

    .event-page__text.text__bold {
        font-size: 24px;
    }

    .event-page__text.text__common {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .event-page__header {
        margin-top: 22px;
    }

    .event-page__main {
        margin-top: 50px;


    }


    .event-page__text {
        min-height: unset;
    }

    .event-page__text.text__common {
        gap: 0;
    }

    .event-page__bottom-item {
        width: calc(50% - 5px);
        gap: 11px;
    }

    .bottom-item__image img {
        width: 45px;
    }

    .event-page__main-left {
        width: 228px;
    }

    .bottom-item__text {
        color: var(--Black, #101010);
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%; /* 18px */
    }

    .event-page__mobile {
        display: block;
        margin-top: 28px;
    }

    .event-page__main .event-page__buttons {
        display: none;
    }

    .bottom-item__figure-container {
        height: 110px;
    }

    .event-page__preview {
        margin-top: 64px;
        height: 317px;
    }

    .event-page__program {
        margin-top: 58px;
    }

    .event-page__program .event-page__title h1 {
        font-size: 24px;
    }

    .event-page__program-element {
        gap: 8px;
        padding-bottom: 12px;
    }

    .program-event {
        font-size: 14px;
    }

    .program__events-list {
        gap: 7px;
        width: 100%;
    }

    .event-page__program-list {
        width: 467px;
    }

    .upcoming-events__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .event-page__main {
        flex-direction: column-reverse;
    }
    .event-page__bottom-item {
        width: calc(22% - 5px);
        gap: 11px;
    }
    .bottom-item__figure-container{
        height: 110px;
        aspect-ratio: 1 / 1;
    }

    .event-page__main-left,
    .event-page__main-right {
        width: 100%;
    }
    .bottom-item__image img {
        width: 20% !important;
    }
    /*.event-page__left-bottom {*/
    /*    display: none;*/
    /*}*/

    .event-page__left-top {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .event-page__tags {
        width: 100%;
    }

    .event-page__program {
        flex-direction: column;
    }

    .event-page__program-list {
        width: 100%;
    }
}
@media screen and (max-width: 475px) {
    .event-page__bottom-item {
        width: calc(35% - 5px);
        gap: 11px;
    }
    .bottom-item__figure-container{
        height: 110px;
        aspect-ratio: 1 / 1;
    }
}