.CalendarMainContainer {
    max-width: 1200px;
    width: 100%;
    margin: 32px auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    padding: 20px;
    font-family: "Roboto";
    text-align: center;
}
.calendarBlock {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    min-height: 515px;
}
.calendar-event-container {
    display: inline-block;
    text-align: center;
    flex-shrink: 0;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 1px;
    background-color: #e5e5ea;
    font-family: "Roboto";
    border: 1px solid #e5e5ea;
}
.day,
.weekday {
    display: flex;
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
    padding: 25px;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}
.weekday {
    font-weight: 600;
    padding: 8px;
    font-size: 20px;
    line-height: 28px;
    background-color: #f2f2f2;
    color: #838387;
}
.day.next-month,
.day.prev-month {
    color: #aaa;
}
.day.saturday,
.day.sunday {
    color: #dd2f4e;
}
.day.holiday {
    background-color: #c6a563;
    position: relative;
}
.day.holiday::after {
    content: "";
    width: 7px;
    height: 7px;
    background-color: #dd2f4e;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    right: 5px;
}
.holidays-list {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 15px;
}

.prevButton {
    background-color: transparent;
    border: 1px solid #e5e5ea;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
#holidays {
    display: flex;
    flex-direction: column;
    gap: 15px;

    max-height: 535px;
    overflow-y: auto;
    padding-right: 5px;
}
#holidays::-webkit-scrollbar {
    width: 8px;
}

#holidays::-webkit-scrollbar-thumb {
    background-color: #1b2238;
    border-radius: 4px;
}

#holidays::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}
.warn {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    border-radius: 8px;
    padding: 10px;
    position: relative;
    background-color: white;
}
.warn::after {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    background: linear-gradient(to left, #530d0d, #b91c1c);
    height: 50%;
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.warnTitle {
    display: flex;
    gap: 10px;
    color: white;
    align-items: center;
}
.holidayItem {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: white;
}
.holidayHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    font-family: "Vollkorn";
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    background: linear-gradient(
            50deg,
            rgba(195, 159, 107, 1) 25%,
            rgba(170, 123, 55, 1) 50%,
            rgba(207, 168, 114, 1) 75%,
            rgba(126, 92, 46, 1) 100%
    );
    color: white;
}

.holidayDesc {
    width: 100%;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    text-align: start;
    padding: 0 16px;
}
.holidayButton {
    border: none;
    background: linear-gradient(to right, #3d486c, #1b2238);
    display: flex;
    gap: 10px;
    color: white;
    padding: 8px 16px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    cursor: pointer;
}
.holidayBlock {
    display: flex;
    flex-direction: column;
    gap:24px;
}
.searchContainer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    max-width: 1200px;
    gap: 16px;
}
.searchInput {
    border-radius: 4px;
    border:1px solid #E5E5E5;
    flex-grow: 1;
    box-sizing: border-box;
    display: flex;
    gap:10px;
    padding: 10px 12px;
}
.searchInput input {
    border: none;
    background: none;
    outline:none;
    width: 100%;
    font-size: 16px;
    font-weight: 400;
}
.searchButton {
    border: none;
    background: linear-gradient(to right, #3d486c, #1b2238);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
}

.slider-container-event-calendar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.slider-block-event-calendar {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    border-radius: 8px;
}
.slider-event-calendar {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
}
.slide-event-calendar {
    min-width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 56px;
}
.slide-event-calendar.active {
    display: flex;
}
.event {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
}
.nav-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-top: 10px;
    min-height: 36px;
}
.eventTitle {
    font-size: 44px;
    line-height: 64px;
    font-family: "Vollkorn";
    font-weight: 700;
    position: relative;
    width: 100%;
}
.eventTitle::after {
    content: "";
    width:25%;
    position: absolute;
    height: 3px;
    top: 30px;
    left: 25px;
    background-color: #e5e5e5;
}
.eventTitle::before {
    content: "";
    width: 25%;
    position: absolute;
    height: 3px;
    top: 30px;
    right: 25px;
    background-color: #e5e5e5;
}

@media screen and (max-width:1080px){
    .eventTitle::after,
    .eventTitle::before{
        width: 0;
    }
}

@media screen and (max-width:810px){
    .calendarBlock {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        min-height: 515px;
    }
}

@media screen and (max-width:425px) {
    .day,
    .weekday {
        display: flex;
        font-size: 14px;
        line-height: 22px;
        font-weight: 400;
        padding: 15px;
        align-items: center;
        justify-content: center;
        background-color: #ffffff;
    }
    .holidayHeader {
        font-size: 16px;
        line-height: 24px;
    }

    .holidayDesc {
        font-size: 14px;
        line-height: 24px;
    }
    .holidayButton {
        font-size: 16px;
        line-height: 24px;
        font-weight: 700;
        cursor: pointer;
    }
    .eventTitle {
        font-size: 34px;
        line-height: 32px;
        font-family: "Vollkorn";
        font-weight: 700;
        position: relative;
        width: 100%;
    }
    .event span{
        font-size: 12px;
    }
}