/* Scope, damit nichts mit Theme/BuddyBoss kollidiert */
.iy-events-type-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 50px;
  justify-content: center;
  overflow: auto;
}

.iy-events-type-filter button {
  background-color: white;
  color: #000;
  border: 1px solid #d5d5d5;
  min-width: fit-content;
}

.iy-remote-scope.events {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-row-gap: 30px;
  max-width: 1150px;
  margin: auto;
}

.iy-remote-scope .event {
  display: flex;
  min-height: 400px;
  border: 1px solid #d5d5d5;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}

.iy-remote-scope .event_image {
  width: 30%;
  background-position: center;
  background-size: cover;
  position: relative;
}

.iy-remote-scope .event_datebox {
  display: flex;
  flex-direction: column;
  background: #fff;
  position: absolute;
  bottom: 25px;
  left: 25px;
  padding: 10px 15px;
  border-radius: 5px;
  text-align: center;
}

.iy-remote-scope .event_datebox_month {
  font-weight: 900;
  color: #000;
  font-size: 18px;
}

.iy-remote-scope .event_datebox_day {
  color: rgba(0, 0, 0, 0.5);
  font-size: 16px;
}

.iy-remote-scope .event_body {
  padding: 50px;
  width: 70%;
  position: relative;
}

.iy-remote-scope .event_title {
  font-weight: 900;
  margin-bottom: 25px;
  color: #000;
  line-height: normal;
  text-align: left;
}

.iy-remote-scope .event_type {
  color: #a87637;
  margin-bottom: 10px;
  padding-bottom: 0;
  text-align: left !important;
}

.iy-remote-scope .event_body p {
  text-align: left;
}

.iy-remote-scope .event_cta {
  position: absolute;
  bottom: 25px;
  right: 25px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 15px 25px;
  font-weight: 900;
  border-radius: 100px;
  color: #000;
  transition: 0.3s;
}

.iy-remote-scope .event_cta:hover {
  border-color: #000;
}
.iy-remote-scope .event_cta i {
  transform: rotate(45deg);
  margin-left: 7px;
  transition: 0.3s;
}
.iy-remote-scope .event_cta:hover i {
  transform: rotate(90deg);
}

.iy-remote-scope .event.hidden {
  display: none;
}

.iy-remote-scope .iy-show-more {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 16px;
  background: #f5f5f7;
  color: #000;
  border: none;
  cursor: pointer;
  border-radius: 100px;
  transition: 0.3s;
}
.iy-remote-scope .iy-show-more:hover {
  background: #e1e1e1;
}

.iy-remote-scope .event_location {
  position: absolute;
  bottom: 40px;
  left: 50px;
  color: #a87637;
}
.iy-remote-scope .event_location i {
  margin-right: 10px;
  color: #a87637;
}

/* Responsive */
@media (max-width: 768px) {
  .iy-events-type-filter {
    justify-content: flex-start;
  }
  .iy-remote-scope .event {
    flex-direction: column;
    min-height: auto;
  }
  .iy-remote-scope .event_image {
    width: 100%;
    height: 300px;
  }
  .iy-remote-scope .event_body {
    width: 100%;
    padding: 30px;
  }
  .iy-remote-scope .event_title {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .iy-remote-scope .event_cta,
  .iy-remote-scope .event_location {
    width: 100%;
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    text-align: center;
    display: block;
  }
  .iy-remote-scope .event_body p {
    text-align: center;
  }
  .event_location {
    margin-bottom: 0px;
  }
  .iy-remote-scope .event_cta {
    margin-bottom: 10px;
  }
  .iy-events-type-filter {
    justify-content: flex-start;
    padding-bottom: 20px;
    margin-bottom: 30px;
  }
}
@media (max-width: 425px) {
  .iy-remote-scope .event_image {
    height: 250px;
  }
  .iy-remote-scope .event_body {
    padding: 20px;
  }
}
