.program-calendar{
    display: flex;
    gap: 40px;
}

.calendar-wrap {
    width: 64%;
    background: white;
    border-radius: 20px;
    padding: 86px 68px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.event-wrap{
    flex: 1;
    display: flex;
}

.nav-button {
    background: none;
    border: none;
    color: rgba(120, 114, 102, 0.50);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
    font-weight: 700;
    padding: 0;
    min-width: 130px;
}

.calendar-header .nav-button:last-child{
    justify-content: flex-end;
}

.nav-button:hover {
    color: #333;
}

.current-month {
    font-size: 16px;
    font-weight: 700;
    color: #6F3573;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.weekday {
    text-align: center;
    color: #D9D9D9;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 9px 0;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.day {
    aspect-ratio: 1.0966;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 14px;
    color: #787266;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    line-height: 1;
}

.day.other-month {
    color: #D9D9D9;
}

.day.today {
    border: 1px solid #CF6BC5;
}

.day.has-event {
    background: #F3DAF0;
    color: #CF6BC5;
    font-weight: 600;
    border: 1px solid #CF6BC5;
}

.day.has-event:hover {
    background: #F3DAF0;
    transform: scale(1.05);
}

.day:not(.other-month):not(.has-event):hover {
    background: #f5f5f5;
}

.calendar-arrow{
    width: 24px;
    height: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-card {
    border-radius: 12px;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.event-card .header {
    background: #3B8F90;
    color: #FFF;
    padding: 10px 30px;
    font-size: 32px;
    letter-spacing: -0.32px;
    font-family: 'Recoleta Regular',Helvetica,Arial,Lucida,sans-serif;
    line-height: 1.3;
}

.event-card .content {
    position: relative;
    flex: 1;
}

.event-card .event-content-data{
    padding: 30px;
    overflow-y: auto;
    width: 100%;
    max-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #FFF;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.date-section:not(:last-child) {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #DED8CC;
}

.date-section:last-child {
    margin-bottom: 0;
}

.date-label {
    color: #EDB558;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 9px;
    line-height: 1.25;
}

.event-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 20px;
}

.event-item:last-child {
    margin-bottom: 0;
}

.event-item .thumb{
    flex-shrink: 0;
    line-height: 0;
}

.event-image {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    object-fit: cover;
}

/*.event-details {*/
/*    flex: 1;*/
/*}*/

.event-title {
    color: #6F3573;
    font-size: 16px;
    margin-bottom: 7px;
    line-height: 1.45;
    font-weight: 600;
}

.event-title a{
    color: #6F3573;
    transition: all 0.2s;
}

.event-title a:hover{
    color: #3B8F90
}

.event-time,
.event-location{
    color: #787266;
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.25;
}
.event-location{
    margin-bottom: 0;
}
.event-time{
    text-transform: uppercase;
}
.no-events{
    font-size: 16px;
}
.loading-wrap{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: 9;
    justify-content: center;
    padding-top: 200px;
    display: none;
}
.program-calendar.loading .loading-wrap{
    display: flex;
}
@media(max-width: 1199px){
    .calendar-wrap{
        padding: 50px 40px;
    }
    .event-card .event-content-data{
        padding: 20px;
    }
    .event-card .header{
        font-size: 24px;
    }
    .program-calendar{
        gap: 30px;
    }
}
@media(max-width: 991px){
    .program-calendar{
        flex-wrap: wrap;
    }
    .calendar-wrap{
        width: 100%;
    }
    .event-wrap{
        width: 100%;
    }
    .event-card .event-content-data{
        position: relative;
    }
}
@media(max-width:767px){
    .calendar-wrap {
        padding: 30px 15px;
    }
    .nav-button{
        gap: 0;
        min-width: 100px;
        font-size: 14px;
    }
    .current-month{
        text-align: center;
        padding: 0 10px;
    }
    .calendar-header{
        margin-bottom: 15px;
    }
    .day{
        font-size: 12px;
        padding-top: 2px;
        border-radius: 8px;
    }
}