.double-block__right-capt {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.double-block__right-capt-arrow {
    width: 24px;
    height: 24px;
    background-image: url(images/icon-arrow.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 40%;
    transform: rotate(90deg);
    margin: 6px 0px;
}

.double-block__right-capt.active .double-block__right-capt-arrow {
    transform: rotate(-90deg);
}

.custom-select {
    font-family: 'Inter-Bold';
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 24px;
    padding: 8px 16px;
    transition: border-color 0.2s ease;
}

.custom-select__selected {
    white-space: nowrap;
}

.custom-select__dropdown {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    z-index: 1000;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    max-height: 200px;
    overflow-y: auto;
}

.custom-select__options {
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-select__option {
    padding: 8px 16px 8px 40px;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-select__option:hover {
    color: #DD1E31;
}

.custom-select__option_selected {
    font-weight: bold;
    background-color: #f3f4f6;
}

.custom-select.open .custom-select__dropdown {
    display: block;
}
.events__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.event-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    padding: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    flex-direction: column;
    color: #131619;
}

.event-item__row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px;
}

.event-item__col:first-child {
    flex: 0 0 40px;
}

.event-item__date {
    font-family: 'Inter-Medium', sans-serif;
    font-size: 42px;
    line-height: 40px;
    color: #131619;
}

.event-item__month {
    font-family: 'Inter-Medium', sans-serif;
    font-size: 15px;
    line-height: 20px;
    margin: 0 0 2px;
    color: #131619;
}

.event-item__time {
    font-family: 'Inter-Medium', sans-serif;
    font-size: 13px;
    line-height: 16px;
    color: #6C757D;
}

.event-item__title {
    font-family: 'Inter-SemiBold', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #131619;
}

.event-item__description {
    font-family: 'Inter-Regular', sans-serif;
    font-size: 13px;
    line-height: 16px;
    color: #6C757D;
}

.event-item_active {
    border: 2px solid #DD1E31;
    pointer-events: none;
}

.events__item {
    background-color: #fff;
    border-radius: 12px;
    border: 2px solid #fff;
    padding: 12px;
    text-decoration: none;
    flex-direction: column;
    transition: border 0.3s linear;
}

.events__date {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px;
}

.events__day {
    font-family: 'Inter-Medium', sans-serif;
    font-size: 42px;
    line-height: 40px;
    color: #131619;
    transition: color 0.2s linear;
}

.events__row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.events__col_month {
    font-family: 'Inter-Medium', sans-serif;
    font-size: 15px;
    line-height: 20px;
    color: #131619;
    transition: color 0.2s linear;
}

.events__col_time {
    font-family: 'Inter-Medium', sans-serif;
    font-size: 13px;
    line-height: 16px;
    color: #6C757D;
}

.events__title {
    font-family: 'Inter-SemiBold', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #131619;
}

.events__names {
    font-family: 'Inter-Regular', sans-serif;
    font-size: 13px;
    line-height: 16px;
    color: #6C757D;
}

.events__item_active {
    border: 2px solid #DD1E31;
    pointer-events: none;
    background-color: #f0f0f0;
}

.events__item_active .events__day,
.events__item_active .events__col_month {
    color: #DD1E31;
}

.events__item:hover {
    border: 2px solid #DD1E31;
}

.events__item:hover .events__day,
.events__item:hover .events__col_month {
    color: #DD1E31;
}

.select-month_custom {
    position: relative;
    margin-bottom: 20px;
}

.select-month__selected {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.select-month__selected-text {
    flex-grow: 1;
}

.select-month__options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    display: none;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

.select-month__option {
    padding: 10px 16px;
    cursor: pointer;
}

.select-month__option:hover {
    background: #f5f5f5;
}

.select-month_custom.open .select-month__options {
    display: block;
}

.select-month_custom.open .select-month__arrow {
    transform: rotate(180deg);
}

.select-month__arrow {
    transition: transform 0.3s ease;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #666;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


@media screen and (max-width: 1200px) {
    .events__list {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 960px) {
    .double-block__col_right {
        padding: 20px 16px;
    }
    .double-block__right-capt {
        margin: 0 0 10px;
        justify-content: flex-start;
    }
    .event-item {
        flex: 0 0 32%;
    }
    .custom-select__selected {
        padding: 0;
    }
    .events__list {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .custom-select {
        width: 100%;
    }
    .custom-select__dropdown {
        width: 100%;
    }
    .event-item {
        flex: 0 0 48%;
    }
    .event-item__row {
        gap: 2px;
    }
    .event-item__date {
        font-size: 30px;
    }
    .event-item__description {
        font-size: 12px;
    }
    .month-dropdown {
        width: 100%;
        left: 0;
        right: 0;
    }
}

@media (max-width: 480px) {
    .events__list {
        flex-direction: column;
    }
}

