/************************* COLOUR PALLETTE VARS *************************/
.hero.ybi-at-events {
  display: block;
  padding: 11rem 0 3rem 0;
  position: relative;
  background-color: #012F60;
}
.hero.ybi-at-events a.back {
  align-items: center;
  display: inline-flex;
  flex-wrap: nowrap;
  color: #fff;
  font-weight: normal;
  margin-bottom: 0.5rem;
  opacity: 0.5;
  transition: color 175ms ease, opacity 175ms ease;
}
.hero.ybi-at-events h1 {
  color: #FFF;
  margin-top: 0;
}
.hero.ybi-at-events .date-location {
  color: #FFFFFF;
  margin-top: 10px;
}
.hero.ybi-at-events .__location {
  color: #FFFFFF;
  display: inline-block;
  font-size: 0.938rem;
  font-weight: 400;
  line-height: 1.875rem;
  padding-left: 2.375rem;
  position: relative;
  text-transform: uppercase;
  margin-left: 10px;
}
.hero.ybi-at-events .__location:before {
  background-image: url(../../img/icons/marker-white.svg);
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  content: "";
  display: block;
  height: 1.875rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 1.875rem;
}
.hero.ybi-at-events date {
  color: #FFFFFF;
  display: inline-block;
  font-size: 0.938rem;
  font-weight: 400;
  line-height: 1.875rem;
  padding-left: 2.875rem;
  position: relative;
  text-transform: uppercase;
}
.hero.ybi-at-events date:before {
  background-image: url(../../img/calendar-white.svg);
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  content: "";
  display: block;
  height: 1.875rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 1.875rem;
}

grid-row.main-content-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

grid-column.image-side {
  width: 100%;
  position: relative;
}

.image-side .sticky-image {
  position: sticky;
  top: 125px;
}

grid-column.content-side {
  width: 100%;
}

.event-content {
  margin: 2rem 0 0 0;
}

.learn-more-btn {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

h3._section-title {
  font-weight: bolder;
}

.event-organiser {
  margin: 2rem 0 0 0;
}
.event-organiser ._organiser {
  font-size: 1.5rem;
  margin-top: 1rem;
}

.event-location-date {
  margin: 2rem 0 0 0;
}
.event-location-date .__grid {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.event-location-date .__location {
  display: block;
  font-size: 1.2rem;
  padding-left: 2.375rem;
  position: relative;
  text-transform: uppercase;
  margin-left: 0;
}
.event-location-date .__location:before {
  background-image: url(../../img/icons/marker.svg);
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  content: "";
  display: block;
  height: 1.375rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 1.375rem;
}
.event-location-date date {
  display: block;
  font-size: 1.2rem;
  padding-left: 2.375rem;
  position: relative;
  text-transform: uppercase;
}
.event-location-date date:before {
  background-image: url(../../img/calendar.svg);
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  content: "";
  display: block;
  height: 1.375rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 1.375rem;
}

.speaker-info {
  margin: 2rem 0 0 0;
}
.speaker-info .speakers-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 3rem;
}
.speaker-info .speaker-info-box {
  width: 250px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1rem 0 0 0;
  align-items: center;
  justify-content: flex-start;
}
.speaker-info .speaker-info-box .__name-title-box {
  width: auto;
  text-align: center;
}
.speaker-info .speaker-info-box .__name-title-box .__name {
  font-size: 2rem;
}
.speaker-info .speaker-info-box .__name-title-box .__title {
  font-size: 1rem;
}
.speaker-info .speaker-info-box .__photo-box {
  width: 200px;
  height: 200px;
  border-radius: 100%;
  overflow: hidden;
  background: #D8D8D8;
}
.speaker-info .speaker-info-box .__photo-box img {
  width: 100%;
  height: auto;
  transition: all ease 0.3s;
}
.speaker-info .speaker-info-box:hover, .speaker-info .speaker-info-box:focus {
  color: #269FB0;
}
.speaker-info .speaker-info-box:hover .__photo-box img, .speaker-info .speaker-info-box:focus .__photo-box img {
  transform: scale(1.2);
}

.contributor-info {
  margin: 2rem 0 0 0;
}
.contributor-info ul.contributors-list {
  margin: 1rem 0 0 0;
}
.contributor-info ul.contributors-list li {
  line-height: 1.4;
  font-size: 1rem;
}
.contributor-info ul.contributors-list li::before {
  line-height: 1;
}
.contributor-info ul.contributors-list .__name {
  font-size: 1.2rem;
  font-weight: 400;
}
.contributor-info ul.contributors-list .__title {
  font-size: 0.875rem;
  font-weight: 300;
}

.archive.tax-event_speaker .hero {
  background-color: #012F60;
}
.archive.tax-event_speaker .hero figure {
  opacity: 0.5;
}
.archive.tax-event_speaker .hero h1 {
  margin-top: 0;
}
.archive.tax-event_speaker .hero .back {
  align-items: center;
  display: inline-flex;
  flex-wrap: nowrap;
  color: #fff;
  font-weight: normal;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  grid-row.main-content-row {
    gap: 1.5rem;
  }
  grid-column.image-side {
    width: 100%;
  }
  grid-column.content-side {
    width: 100%;
  }
}
@media (min-width: 971px) {
  grid-row.main-content-row {
    gap: 0;
  }
  grid-column.image-side {
    width: 40%;
  }
  grid-column.content-side {
    width: 60%;
  }
}
@media (min-width: 1121px) {
  grid-column.image-side {
    width: 35%;
  }
  grid-column.content-side {
    width: 65%;
  }
}
.archive .post-tile.ybi-at-events {
  width: 100%;
}
.archive .post-tile.ybi-at-events figure {
  height: 0;
  padding-bottom: 52.5%;
}
.archive .post-tile.ybi-at-events figure img {
  transition: transform 1s ease;
}
.archive .post-tile.ybi-at-events h2 {
  color: #354653;
  margin-top: 1.5rem;
  transition: color 250ms ease;
}
.archive .post-tile.ybi-at-events ul {
  display: block;
  list-style-type: none;
  margin: 1.375rem 0 0 0;
  padding: 0;
}
.archive .post-tile.ybi-at-events li {
  display: block;
  min-height: 1.875rem;
}
.archive .post-tile.ybi-at-events li + li {
  margin-top: 1rem;
}
.archive .post-tile.ybi-at-events date {
  align-items: center;
  color: #354653;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.938rem;
  font-weight: 400;
  line-height: 150%;
  min-height: 1.875rem;
  padding-left: 2.875rem;
  position: relative;
  text-transform: uppercase;
}
.archive .post-tile.ybi-at-events date:before {
  background-image: url(../../img/calendar.svg);
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  content: "";
  display: block;
  height: 1.875rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 1.875rem;
}
.archive .post-tile.ybi-at-events:hover h2, .archive .post-tile.ybi-at-events:focus h2 {
  color: #269FB0;
}
.archive .post-tile.ybi-at-events:hover figure img, .archive .post-tile.ybi-at-events:focus figure img {
  transform: translate3d(-50%, -50%, 0) scale(1.1);
}

@media (min-width: 768px) {
  .archive .post-tile.ybi-at-events {
    width: calc(50% - 1rem);
  }
}
@media (min-width: 1121px) {
  .archive .post-tile.ybi-at-events {
    width: calc(33.33% - 1.34rem);
  }
}
.archive.ybi-at-events .posts {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 2rem;
  row-gap: 4rem;
}
.archive.ybi-at-events .posts .__location {
  display: inline-block;
  font-size: 0.938rem;
  line-height: 1.875rem;
  padding-left: 2.875rem;
  position: relative;
  text-transform: uppercase;
}
.archive.ybi-at-events .posts .__location:before {
  background-image: url(../../img/icons/marker.svg);
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  content: "";
  display: block;
  height: 1.875rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 1.875rem;
}
.archive.ybi-at-events .posts .__speakers {
  display: inline-block;
  font-size: 0.938rem;
  line-height: 1.875rem;
  padding-left: 2.875rem;
  position: relative;
  text-transform: uppercase;
}
.archive.ybi-at-events .posts .__speakers:before {
  background-image: url(../../img/icons/speaker-icon.png);
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  content: "";
  display: block;
  height: 1.875rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 1.875rem;
}
.archive.ybi-at-events .posts .current-event {
  font-weight: 500;
  line-height: 2.625rem;
  padding: 0 1rem;
  position: absolute;
  top: 1.5rem;
  left: 0;
  z-index: 2;
  opacity: 1;
  background-color: #C1CD23;
  color: #FFFFFF;
}
.archive.ybi-at-events .posts .current-event:after {
  border-style: solid;
  border-width: 21px 0 21px 16px;
  border-color: transparent transparent transparent #C1CD23;
  content: "";
  height: 0;
  left: 100%;
  position: absolute;
  top: 0;
  width: 0;
}

.post-type-archive-ybi-at-events .flex.filters {
  overflow: visible;
}
.post-type-archive-ybi-at-events .flex.filters.stacked .filter-by-event-speaker-wrapper {
  margin: 0 0.75rem 0.75rem 0;
}
.post-type-archive-ybi-at-events .flex.filters.stacked .filter-by-event-speaker-wrapper .filter-by-event-speaker-dropdown button {
  padding: 0.5rem 1.375rem;
}
.post-type-archive-ybi-at-events .flex.filters .filter-by-event-speaker-wrapper {
  position: relative;
}
.post-type-archive-ybi-at-events .flex.filters .filter-by-event-speaker-wrapper a.toggle-dropdown {
  text-align: left;
  position: relative;
  border: 1px solid;
  color: #fff;
  border-radius: 30px;
  z-index: 9999999;
  width: 100%;
  min-width: 250px;
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #012F60;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22square%22%20stroke-linejoin%3D%22arcs%22%3E%3Cpath%20d%3D%22M6%209l6%206%206-6%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position-x: calc(100% - 10px);
  background-position-y: 50%;
  transition: all 175ms ease;
}
.post-type-archive-ybi-at-events .flex.filters .filter-by-event-speaker-wrapper a.toggle-dropdown.open {
  border-radius: 1rem 1rem 0 0;
  border-bottom: 0;
}
.post-type-archive-ybi-at-events .flex.filters .filter-by-event-speaker-wrapper .filter-by-event-speaker-dropdown {
  display: none;
  position: absolute;
  z-index: 9999;
  background: #184181;
  padding: 3px 0 1rem 0;
  flex-direction: column;
  left: 0;
  right: 0;
  border-radius: 0 0 1rem 1rem;
  top: calc(100% - 2px);
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid #fff;
  transition: all 1705ms ease;
  border-top: 0;
}
.post-type-archive-ybi-at-events .flex.filters .filter-by-event-speaker-wrapper .filter-by-event-speaker-dropdown.open {
  display: flex;
}
.post-type-archive-ybi-at-events .flex.filters .filter-by-event-speaker-wrapper .filter-by-event-speaker-dropdown button {
  display: block;
  position: relative;
  line-height: 1;
  text-align: left;
  padding: 0.5rem 2rem;
  font-size: 1rem;
  margin: 0;
  border: unset;
  width: 100%;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  border-radius: 0;
}
.post-type-archive-ybi-at-events .flex.filters .filter-by-event-speaker-wrapper .filter-by-event-speaker-dropdown button:hover, .post-type-archive-ybi-at-events .flex.filters .filter-by-event-speaker-wrapper .filter-by-event-speaker-dropdown button:focus {
  background-color: #012F60;
}

.filter-by-event-speaker {
  position: relative;
  border: 1px solid;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 30px;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22square%22%20stroke-linejoin%3D%22arcs%22%3E%3Cpath%20d%3D%22M6%209l6%206%206-6%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position-x: calc(100% - 10px);
  background-position-y: 18px;
}