.calendar-month {
    flex: 1;
    background: #fff;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.month-header {
    text-align: center;
    margin-bottom: 15px;
}

.month-name {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.month-calendar {
    background: transparent;
    padding: 0;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid;
    border-top: 1px solid;
}

.weekdays span {
    text-align: center;
    max-width: 70px;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0px;
    justify-items: center;
}

.day {
    aspect-ratio: 1;
    background: transparent;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    min-height: 40px;
}

.day.empty {
    background: transparent;
    border: none;
    visibility: hidden;
}

.day.has-events {
    background: transparent;
    color: #ffffff;
    border-radius: 5px;
    cursor: pointer;
}

.day-number {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 2px;
}

.day-number strong {
    font-weight: 700;
}

.event-dots {
    display: flex;
    gap: 2px;
    justify-content: center;
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
}

.event-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

/* Легенда под календарем */
.month-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0 40px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.month-legend .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    padding: 0;
}

.month-legend .legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    box-shadow: none;
}

.month-legend .legend-text {
    color: #333;
    font-size: 14px;
    font-weight: 400;
    text-transform: lowercase;
}

/* Список мероприятий */
.month-events-list {
    background: #fff;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.event-item {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid;
}

.event-item.offline {
    border-left-color: #000000;
}

.event-item.online {
    border-left-color: #000000;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.event-name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.register-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
    margin-left: 20px;
}

.register-btn:hover {
    background: #45a049;
}

.event-details {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
}

.event-date,
.event-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.no-events {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-style: italic;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Индикаторы слайдера */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.slider-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.slider-indicator.active {
    background: #333;
    transform: scale(1.2);
}

.slider-indicator:hover {
    background: #666;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .three-months-row {
        flex-direction: column;
        gap: 40px;
    }

    .calendar-month {
        max-width: 500px;
        margin: 0 auto;
    }

    .event-header {
        flex-direction: column;
        gap: 10px;
    }

    .register-btn {
        margin-left: 0;
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .month-name {
        font-size: 20px;
    }

    .weekdays {
        font-size: 12px;
        gap: 4px;
    }

    .day {
        min-height: 35px;
    }

    .day-number {
        font-size: 14px;
    }

    .event-dots {
        bottom: 1px;
    }

    .event-dot {
        width: 5px;
        height: 5px;
    }

    .month-legend {
        gap: 20px;
    }

    .event-item {
        padding: 15px;
    }

    .event-name {
        font-size: 16px;
    }

    .event-details {
        flex-direction: column;
        gap: 5px;
    }

    .register-btn {
        padding: 6px 16px;
        font-size: 13px;
    }
}
.events-calendar .swiper-button-next, .events-calendar .swiper-button-prev {
    top: 8%;
    color: #999;
}
.events-calendar .swiper-button-next:after, .events-calendar .swiper-button-prev:after {
    font-size: 30px;
}