.events-page {
    font-family: "Inter", sans-serif;
    color: #000000;
    padding-top: 30px;
    padding-bottom: 60px;
}

.events-page *::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.events-page *::-webkit-scrollbar-track {
    background: #E4E4E4;
    border-radius: 3px;
}

.events-page *::-webkit-scrollbar-thumb {
    background-color: #159563;
    border-radius: 3px;
}

.events-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
}

.events-item:not(:last-child) {
    padding-bottom: 14px;
    margin-bottom: 15px;
    border-bottom: 1px solid #E6E7E7;
}

.events-item__tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.events-item__tag {
    display: inline-flex;
    align-items: center;
    height: 21px;
    padding: 0 9px;
    border-radius: 3px;
    border: 0.5px solid #159563;
    color: #159563;
    text-align: center;
    font-size: 11px;
    line-height: 100%;
}

.events-item__title {
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
}

.events-item__text {
    margin-top: -5px;
    color: #333;
    font-size: 14px;
    line-height: normal;
}

.events-item__prop {
    color: #333;
    font-size: 14px;
    line-height: normal;
}

.events-item__prop b {
    color: #159563;
    font-weight: 600;
}

.events-item__prop:not(:last-child) {
    margin-bottom: 10px;
}

.events-item__button {
    align-self: flex-start;
}

.events-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.events-filter__group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 60%;
}

.events-filter__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 98px;
    height: 36px;
    padding: 0 10px;
    background-color: #ffffff;
    border-radius: 3px;
    border: 0.5px solid #A8A8A8;
    font-size: 16px;
    line-height: 100%;
    white-space: nowrap;
    transition: all .2s ease;
    cursor: pointer;
    outline: none;
}

.events-filter__button:hover {
    background-color: #f5f5f5;
}

.events-filter__button.is-active {
    background-color: #159563;
    border-color: #159563;
    color: #ffffff;
}

.events-filter__input-group {
    position: relative;
    margin-left: auto;
    width: 270px;
    flex: none;
    max-width: 100%;
}

.events-filter__input {
    height: 36px;
    padding: 0 37px 0 9px;
    font-size: 16px;
    line-height: 100%;
    color: #ABABAB;
    border-radius: 3px;
    border: 0.5px solid #A8A8A8;
    outline: none;
    width: 100%;
}

.events-filter__clear {
    --icon-size: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-size);
    height: var(--icon-size);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    background: none;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
}

.events-filter__clear i {
    display: inline-block;
    width: var(--icon-size);
    height: var(--icon-size);
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Crect width='18' height='18' fill='url(%23pattern0_1_467)'/%3E%3Cdefs%3E%3Cpattern id='pattern0_1_467' patternContentUnits='objectBoundingBox' width='1' height='1'%3E%3Cuse xlink:href='%23image0_1_467' transform='scale(0.0111111)'/%3E%3C/pattern%3E%3Cimage id='image0_1_467' width='90' height='90' preserveAspectRatio='none' xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAYAAAA4qEECAAAACXBIWXMAAAsTAAALEwEAmpwYAAACXElEQVR4nO3cy2oUQRTG8T9exuhCF7rMGZD4APpiiohBBLNS82QuQoLRQBIUG0dfwguZdGioDi5ip6e7Lif094PaJqc+zlRX91QPiIiIiIiIiIiIiIiI9HQDuI5/M+AaV8xd4DVwDPwFlsAB8BK4jR9NLZvAYajxD/AFeAXcw7kN4BtQ/2d8Bqx0kaGGg446vwKPcOoO8L2j+DqMCpgXrHMeauhTp6dP4Lk3PYqvC4fdN+R2bOHQpxUmUAML4GHm5aJrWbto7ONwd7FccRJ1xs5etZPbsfS4G/k9YCJ1hs4e0snt+IVDHwdOpk7Y2UM7uR17OPRsxITqBGGPDbkZT3HoJvBh5MQWkZaRMctFO3bCHaNL6xG6qBrZ2TE6uQpzcS1GNy0GdnbJ/11EiQnb1EIuMXGbasg5A7Cph5wjCFPI6QMxhXwxixiMQs60x60i/I2Sz8SzsAjdqE52HvZiSiGXCnuSIecOe9Ih5wpbIWcIWyFnCFshZwhbIV9CQWdgWjrSM10M0zNt79Iz3bCkZ7oFT8/0UCk902PS9OZ68J+e6aus9ExfzqZnOm6Qng7QZKAjYRnokGMGOrabgQ6iZ7AG7DrpJovQ2fvhbWB3Np2EHDPsFzh0XHC5SLWMHOHMLeDESSfH7OwTb29mNb8CcOow5LFhn4Zrjys/nSwXMZeRHzi07bCTx3b2Wxx60LOrqyvywyjNXO7j1JNLwt51ciOwHl6o71oyHuNc09nvQ7HtlfsQeO7swrIW9slH/+yYmprfee7krsnM8G/mrAlERERERERERERERATHzgCzQuEOxFa6NQAAAABJRU5ErkJggg=='/%3E%3C/defs%3E%3C/svg%3E%0A");
    background-position: center;
    background-repeat: no-repeat;
}

.calendar {
    padding: 30px;
    border-radius: 3px;
    border: 0.5px solid #BEBEBE;
    background: #FFF;
    margin-bottom: 30px;
}

.calendar__scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 23px;
    scroll-behavior: smooth;
}

.calendar__months {
    display: inline-flex;
    gap: 40px;
}

.calendar__month {
    min-width: 262px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.calendar__month-title {
    color: #159563;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    margin: 0 0 20px;
}

.calendar__month-title span {
    text-decoration: underline;
}

.calendar__weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 10px;
}

.calendar__weekday {
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
    text-align: center;
    color: #333;
    border-bottom: 1px solid #E6E7E7;
    padding-bottom: 12px;
}

.calendar__days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    row-gap: 4px;
}

.calendar__day {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 28px;
}

.calendar__day-count {
    position: absolute;
    right: 5px;
    top: 3px;
    font-size: 12px;
    line-height: 100%;
    white-space: nowrap;
    color: #333;
}

.calendar__day--start {
    border-radius: 100px 0 0 100px;
}

.calendar__day--end {
    border-radius: 0 100px 100px 0;
}

.calendar__day--start.calendar__day--end {
    border-radius: 100px;
}

.calendar__day--highlight {
    background: rgba(21, 149, 99, 0.50);
}

.calendar__day-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.calendar__day--has-event .calendar__day-number {
    /*background-color: #159563;*/
    /*color: #ffffff;*/
    color: #ec9c07;
}

@media (hover: hover) {
    .calendar__day-number:hover {
        border-color: #159563;
        color: #159563;
    }
}

.calendar__day--empty {
    cursor: default;
}

@media (min-width: 769px) {
    .visible-mobile {
        display: none!important;
    }
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .breadcrumbs {
        display: none !important;
    }

    .events-page {
        padding-top: 24px;
        padding-bottom: 40px;
    }

    .page-title {
        font-size: 24px;
        margin: 0 0 20px;
    }

    .events-filter {
        position: sticky;
        top: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        margin-bottom: 20px;
        background-color: #ffffff;
        padding: 10px 0 15px;
        z-index: 29;
    }

    .events-filter__group {
        flex-wrap: nowrap;
        gap: 15px;
        max-width: calc(100% + 20px);
        margin: 0 -10px;
        padding: 0 10px;
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .events-filter__group::-webkit-scrollbar {
        width: 0;
    }

    .events-filter__input-group {
        margin: 0;
        width: 100%;
    }

    .events-filter__button {
        min-width: calc(100% / 3 - 10px);
    }

    .calendar {
        padding: 15px 12px 15px 10px;
        width: 100%;
        max-width: 400px;
    }

    .calendar__scroll-wrapper {
        overflow-x: hidden;
        overflow-y: auto;
        max-height: 630px;
    }

    .calendar__months {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        padding-right: 20px;
    }

    .calendar__month {
        width: 100%;
    }

    .calendar__month-title {
        font-size: 18px;
    }

    .calendar__weekdays {
        margin-bottom: 23px;
    }

    .calendar__weekday {
        font-size: 16px;
        padding-bottom: 9.5px;
    }

    .calendar__days {
        row-gap: 11px;
    }

    .calendar__day {
        height: 34px;
    }

    .calendar__day-number {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .events-item:not(:last-child) {
        padding-bottom: 39px;
        margin-bottom: 20px;
    }

    .events-item__props {
        padding-top: 14px;
        border-top: 1px solid #E6E7E7;
    }

    .events-item__button {
        align-self: center;
    }
}