
.upcoming-events-text ol{ 
    display: flex;
  gap:2rem; 
  margin-bottom:3rem;
  position:relative}
  
  .upcoming-events-text li{ 
    flex:1;
    background: var(--grey-bg);
  }
  
 .upcoming-events-text img {
    object-fit: cover;
    max-height: 220px;
    margin-bottom: 20px;
    width: 100%;
    display: block;
    height: auto;
   position:relative
}
  
.eventstitle a {
    color: var(--dark) !important;
}
.eventstitle a:hover {
    color: var(--highlight-1) !important;
}
  
.eventstitle {
    font-size: 1.9rem;
    line-height: 2.8rem;
    font-family: var(--heading-font);
    margin: 2rem 2rem 0;
}

.timedate{margin: 0 2rem 1rem;}
  
  section.upcoming-events div.upcoming-events-wrapper {
  display: flex;
  gap: 3rem;
}
section.upcoming-events div.upcoming-events-wrapper div.upcoming-events-image {
  position: relative;
  width: 100%;
  flex: 1 0 40%;
}

section.upcoming-events
  div.upcoming-events-wrapper
  div.upcoming-events-text
  h3 {
  padding-bottom:2rem;
}
section.upcoming-events
  div.upcoming-events-wrapper
  div.upcoming-events-text
  ol
  li
  p {
  padding-bottom: 1rem;
  line-height: 1;
}
section.upcoming-events
  div.upcoming-events-wrapper
  div.upcoming-events-text
  ol
  li
  p
  a {
  display: block;
}
@media all and (max-width: 900px) {
  section.upcoming-events {
    padding-bottom: 4rem;
  }
  section.upcoming-events div.upcoming-events-wrapper {
    gap: 0;
  }
  section.upcoming-events
    div.upcoming-events-wrapper
    div.upcoming-events-image {
    display: none;
  }
  section.upcoming-events div.upcoming-events-wrapper div.upcoming-events-text {
    flex: auto;
    padding-top: 0;
    padding-bottom: 0;
  }
  section.upcoming-events
    div.upcoming-events-wrapper
    div.upcoming-events-text
    h3 {
    border-bottom: 1px solid var(--grey-line-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }
  section.upcoming-events
    div.upcoming-events-wrapper
    div.upcoming-events-text
    ol
    li
    p {
    padding-bottom: 1rem;
    line-height: 1;
  }
  section.upcoming-events
    div.upcoming-events-wrapper
    div.upcoming-events-text
    ol
    li
    p
    a {
    display: block;
  }
}
@media all and (max-width: 500px) {
  section.upcoming-events
    div.upcoming-events-wrapper
    div.upcoming-events-text
    ol
    li
    p
    a {
    line-height: 1.2;
    padding-bottom: 0.5rem;
  }
}

@media all and (max-width:767px) {
.upcoming-events-text ol {
    display: block;}
  
  section.upcoming-events div.upcoming-events-wrapper div.upcoming-events-text h3 {
        border-bottom: none;
    }
}


