.oys-wrap {
    display: flex;
    gap: 60px;
}
.event-card-wrap{
	position: relative;
}
#event-list {
    width: 50%;
    padding-top: 30px;
}
.event-date-pin{
    width: 69px;
    height: 91px;
    background: #013531;
    position: absolute;
    right: 32px;
    top: -15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;    
    padding-top: 10px;
    color: #fff;
    font-size: 20px;
    text-align: left;
    padding-left: 15px;
}
.event-date-pin::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0px 35px 21px 35px;
    border-color: transparent transparent #f9f2a8 transparent;
    /* transform: rotate(0deg); */
    position: absolute;
    left: 0;
    bottom: 0;
}

.event-date-pin::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0px 15px 16px 0px;
    border-color: transparent transparent #013531de transparent;
    transform: rotate(0deg);
    top: 0;
    position: absolute;
    right: -15px;
}

.calendar-box-wrap {
	width: 50%;
}
.calendar-box {
    
    border: 1px solid #ddd;
    padding: 20px 40px 30px;
    max-width: 530px;
}

.cal-head {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.cal-head button {
	background: #fff;
    border: 0px;
    padding: 0;
    font-size: 20px;
    width: 40px;
    height: 40px;
    text-align: center;
    align-items: center;
    display: inline-flex;
    justify-content: center;
}
.cal-head button:hover,
.cal-head button:focus {
	background: #12120C;
    color: #fff;
}
.cal-head h3#month{
    margin-bottom: 0;
    color: #00150A;
    font-size: 24px;
    font-weight: normal;
}
.grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px
}

.day {
    padding: 12px;
    border-radius: 50%;
    text-align: center;
    background: #f2f2f2;
    cursor: pointer;
    width: 48px;
    height: 48px;
}
.day.highlighted{
	color: #fff;
    background: #12120C;
}
.day:not(.empty):hover {
    background: #0d5c4f;
    color: white
}

.event-card {
    background: #f9f2a8;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0;
}

.event-card p {
	margin-bottom: 0 !important;
}

.event-card h2 {
	margin-bottom: 5px !important;
    font-size: 24px;
    color: #102923;
}

.no-events {
    text-align: center;
    padding: 40px
}

.event_time{
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    padding-top: 20px;
}
.event_time span {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}



/* Tablet */
@media (max-width: 991px) {

    .oys-wrap{
        gap:30px;
    }

    #event-list,
    .calendar-box-wrap{
        width:100%;
    }

    .calendar-box{
        max-width:100%;
        padding:20px;
    }

}


/* Mobile */
@media (max-width: 767px) {

    .oys-wrap{
        flex-direction:column-reverse;
        gap:30px;
    }

    #event-list,
    .calendar-box-wrap{
        width:100%;
    }

    #event-list{
        padding-top:0;
    }

    .calendar-box{
        max-width:100%;
        padding:20px 15px;
    }

    .cal-head{
        justify-content:space-between;
        padding-bottom:15px;
        margin-bottom:15px;
    }

    .cal-head h3#month{
        font-size:18px;
        text-align:center;
    }

    .cal-head button{
        width:35px;
        height:35px;
        font-size:18px;
    }

    .grid{
        gap:5px;
    }

    .day{
        width:100%;
        aspect-ratio:1;
        height:auto;
        min-height:38px;
        padding:8px;
        font-size:14px;
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .event-card{
        padding:18px 15px;
        margin-bottom:20px;
    }

    .event-card h2{
        font-size:18px;
        line-height:1.4;
        padding-right:60px;
    }

    .event-card p{
        font-size:14px;
    }

    .event_time{
        font-size:16px;
        padding-top:15px;
        flex-wrap:wrap;
    }

    .event-date-pin{
        width:55px;
        height:70px;
        right:15px;
        top:-10px;
        padding-left:10px;
        padding-top:8px;
        font-size:14px;
    }

    .event-date-pin span:first-child{
        font-size:18px;
        font-weight:700;
    }

    .event-date-pin span:last-child{
        font-size:12px;
    }

    .event-date-pin::after{
        border-width:0 27px 16px 27px;
    }

    .event-date-pin::before{
        border-width:0 10px 12px 0;
        right:-10px;
    }

    .event-icon svg{
        width:40px;
        height:40px;
    }

    .event-time-icon svg{
        width:24px;
        height:24px;
    }

}


/* Small mobile */
@media (max-width: 480px){

    .day{
        min-height:34px;
        font-size:12px;
    }

    .cal-head h3#month{
        font-size:16px;
    }

    .event-card h2{
        font-size:16px;
    }

    .event_time{
        font-size:14px;
    }

}