.event-list {
    padding: 0;
}
.event-list li {
    display: flex;
    gap: 30px;
    margin-bottom: 24px;
    padding-bottom: 24px;
   
}
.event-grid-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.event-grid-row li {
    display: flex;
    gap: 30px;
    flex-direction: column;
    border-bottom: none;

}
.event-list li .event-image {
    width: 570px;
}
.event-grid-row li .event-image {
    width: 100%;
    object-fit: cover;
}
.event-grid-row li .event-image img {
    width: 100%;
    object-fit: cover;
}

.event-list li .event-image img {
    border-radius: 16px;
    width: 100%;
    height: 300px;

}
.event-list li .event-info {
    width: calc(100% - 570px);
}

.event-list li .event-date {
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 133.333% */
    width: 100%;
    display: block;
    color:#5737D6;
}
.event-list li h3 {
    margin-top: 16px !important;
    height: 50px;
}
.future-events .event-list li h3, .past-events .event-list li h3 {
    margin-top: 16px !important;
    height: auto;
}
.past-events .event-list li:nth-child(2), .future-events .event-list li:nth-child(2) {
    margin-bottom: 24px;
}

.event-list li h3 a,.event-list li  a {
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 48px;
    color:#1a0b5e;
}

.event-list li:nth-child(2) {
    margin-bottom: 75px;
}
.event-grid-row li .event-info {
    width: 100% !important;
}
.event-grid-row li h3 {
    line-height: 1 !important;
}
.event-grid-row li h3 a{
    margin-top: 0 !important;
    font-size: 18px !important;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;

}
.event-list li .event-btn {
    color:#83818F !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration-line: underline !important;
}
.event-list li .event-excerpt {
    margin-bottom: 16px;
}

.paged-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap:16px;
}
.paged-content form {
    display: flex;
    gap: 6px

}
ul.page-numbers {
    list-style-type: none;
    display: flex;
    gap: 5px;
    padding: 0;

}
ul.page-numbers li a, ul.page-numbers li .current{
    font-size: 16px;
    color:#999;
}
ul.page-numbers li .current {
    color:#5737D6;
}
#events_per_page {
    border-radius: 10px;
    font-size: 12px;
    height: 28px;
}
#page_number {
    max-width: 50px;
    text-align: center;
    border-radius: 10px;
    font-size: 12px;
    height: 28px;


}
.paged-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.total-pages {
    width: 50%;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* Firefox */
 input[type=number] {
    -moz-appearance: textfield !important;
}

 input[type=number]::-webkit-outer-spin-button,
 input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.event-list.event-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.event-list.event-grid .grid-column , .webinar-column {
    width: calc(50% - 10px); /* Adjust according to your design */
    margin-bottom: 20px; /* Space between rows */
    box-sizing: border-box;
    flex-direction: column;
}

.webinar-column  h3  {
  height: 75px !important;

}

.webinar-column  h3 a {
    font-size: 30px !important;
    line-height: 36px !important;

}

.webinar-column .event-info {
    width: 100% !important;
}

.event-image img {
    width: 100%; /* Ensures images are responsive */
    height: auto;
}
.res-categories {
    display: flex;
    justify-content: center;
}

/*
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/

@media (min-width: 1281px) {

    /* CSS */

}

/*
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media (min-width: 1025px) and (max-width: 1280px) {

    /* CSS */

}

/*
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) {

    /* CSS */

}

/*
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

    /* CSS */

}

/*
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {

    /* CSS */

}

/*
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {

    .event-list li {
        flex-direction: column;
    }
    .event-list li .event-image {
        width: 100%;
    }
    .event-list li .event-image img {
        width: 100%;
		height: 200px;
        object-fit: contain;
        border-radius: 8px;
        object-position: left;
    }
    .event-list li .event-info {
        width: 100%;
    }

    .event-list.event-grid .grid-column, .webinar-column {
        width: 100% !important;

    }
    .event-list li h3 {
        line-height: 20px;
    }
    .webinar-column h3 a {
        font-size: 20px !important;
        line-height: 20px !important;
    }
    .paged-content, .page-content form{
        flex-direction: column;
    }
    .event-grid-row {
        grid-template-columns: 1fr;

    }
    .res-categories.webCategories {
        max-width: 100%;
    }
}