/* events archive */

h2 {
  font-size: 48px;
}
  h2:after {
    display: none;
  }
h5.no-posts {
  padding-top: 10px;
  text-align: center;
}
h6 {
  position: relative;
  color: var(--blue);
  margin: 0 0 30px;
}
h6:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 2px;
  background: var(--red);
}
h6:not(:first-of-type) {
  padding-top: 60px;
}
#event-filter {
  display: flex;
  justify-content: center;
  margin: 0 0 30px;
}
  #event-filter a {
    padding: 5px 10px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    background: var(--red);
    border: 1px solid var(--white);
    cursor: pointer;
    transition: var(--fade);
  }
    #event-filter a:hover,
    #event-filter a.active {
      color: var(--white);
      background: var(--blue);
    }
#events-list {
  display: grid;
}
.event-item {
  display: grid;
  grid-template-columns: 1fr 8fr;
  grid-gap: 60px;
  align-items: start;
  padding: 1em;
  margin: 10px 0;
  box-shadow: 0 0 6px 0 rgba(0,0,0,0.2);
  border-radius: 3px;
}
.date-block {
  display: grid;
  justify-items: center;
  align-content: center;
  background: #f3f3f3;
  padding: 30px 20px;
}
  .date-block .month,
  .date-block .day,
  .date-block .year {
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    text-transform: uppercase;
  }
  .date-block .month {
    font-size: 24px;
  }
  .date-block .day {
    font-size: 60px;
  }
  .date-block .year {
    font-size: 18px;
  }
.info-block h3 {
  font-size: 28px;
  margin: 0 0 25px;
}
.info-block .excerpt {
  margin: 0 0 20px;
}
.hidden {
  display: none;
}
@media screen and (max-width: 1200px) {
  .event-item .button-wrap {
    justify-items: end;
  }
}
@media screen and (max-width: 580px) {
  .event-item {
    grid-template-columns: 1fr;
    grid-gap: 30px;
  }
}

/* single events */

#event-single {
  display: grid;
  grid-template-columns: 3fr 1fr;
  grid-gap: 60px;
}
#event-main a {
  font-weight: 700;
}
#event-sidebar .button {
  width: 100%;
  justify-content: center;
}
  #event-sidebar .button-wrap .button + .button {
    margin-left: 0;
    margin-top: 10px;
  }
.single-date-block {
  display: grid;
  justify-items: center;
  align-content: center;
  background: #f3f3f3;
  padding: 30px 20px;
}
.single-date-block:not(:first-of-type) {
  margin: 10px 0 0;
}
  .single-date-block .start-date,
  .single-date-block .end-date,
  .single-date-block .abbr {
    font-size: 22px;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    text-transform: uppercase;
  }
  .single-date-block sup {
    font-size: 11px;
  }
  .single-date-block .abbr {
    font-size: 10px;
    color: var(--red);
    padding: 10px 0;
  }
.location-block {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f3f3;
  padding: 10px;
  margin: 10px 0 0;
}
  .location-block i {
    font-size: 20px;
    color: var(--red);
    margin-right: 10px;
  }
.time-block {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f3f3;
  padding: 10px;
  margin: 10px 0 0;
}
  .time-block i {
    font-size: 18px;
    color: var(--red);
    margin-right: 10px;
  }
  .time-block .abbr {
    padding: 0 5px;
  }
.date-block.small {
  padding: 10px;
}
  .date-block.small .month {
    font-size: 18px;
  }
  .date-block.small .day {
    font-size: 28px;
  }
  .date-block.small .year {
    font-size: 16px;
  }
.event-item.small {
  grid-template-columns: auto 1fr;
  grid-gap: 0 20px;
}
  .event-item.small h3 {
    font-size: 18px;
    margin: 0 0 10px;
  }
  .event-item.small .excerpt {
    font-size: 14px;
    margin: 0 0 5px;
  }
  .event-item.small .info-block {
    margin: 0;
  }
  .event-item.small .read-more {
    font-size: 14px;
    letter-spacing: 0;
    padding: 0;
  }
#additional-files {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  padding-top: 40px;
  margin: 60px 0;
  border-top: 1px dotted #cecece;
}
  #additional-files h3 {
    grid-column: 1 / -1;
  }
  #additional-files .event-item {
    grid-template-columns: 1fr;
    grid-gap: 0;
    justify-items: center;
  }
    #additional-files .event-item p {
      margin: 0;
    }
@media screen and (max-width: 1024px) {
  #event-single {
    grid-template-columns: 1fr;
    grid-gap: 30px;
  }
  .single-date-block {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .single-date-block .abbr {
    padding: 0 10px;
  }
}
@media screen and (max-width: 768px) {
  #additional-files {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 580px) {
  #additional-files {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 368px) {
  .single-date-block {
    display: grid;
  }
  .single-date-block .abbr {
    padding: 10px 0;
  }
}