.speaker-list__container {
  width: 100%;
}

.speaker-list__search {
  padding: 1em;
  margin: 0 auto;
  max-width: 700px;
}
#speaker-search {
  border: 2px solid #00baff; 
}
.speaker-cards {
  display: flex;
  flex-direction: row;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items:stretch;
  column-gap: 2em;
  row-gap: 3em;
  padding-top:2em;
}
.speaker-card {
  flex: 1 0 28%;
  max-width: 33%;
  padding:2em 2em 1em;
  position:relative;
  text-decoration: none;
  display:flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex-direction:column;
  box-shadow: 0 10px 20px -10px #ccc;
  border-radius:4px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  z-index:0;
  min-height:300px;
}

.speaker-card::before {
  background-position: bottom right;
  border-radius:6px;
  position: absolute;
  top: 0;
  left:0;
  bottom: 0;
  content: "";
  height: 100%;
  width: 100%;
  background-image: linear-gradient(to right,rgba(10,29,45,0.5),rgba(10,29,45,0.7)); 
  z-index:-1;
  transition: all ease-in-out 0.3;
}

.speaker-card:hover {
  text-decoration:none;
}

.speaker-card:hover::before {
  opacity:0.7;
  transition: all ease-in-out 0.3;
}

.speaker-card a {
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  text-decoration-none;
}
.speaker-card a:hover {
  text-decoration: none;
}

.keynote-ribbon {
  position: absolute; 
  top: 0; 
  left: 0; 
  background-color: #57eaea; 
  color: #fff; 
  padding: 2px 5px; 
  font-size: 12px;
  border-radius: 6px 0 6px 0;
}
.speaker-card__title {
  font-size:22px;
  line-height:24px;
  color: #d9a94d;
  margin-bottom:0.25em;
}

.speaker-card__text {
  padding-left: 5px;
  color: #00baff;
  padding-bottom: 1em;

}
.speaker-title {
  color:#fff;
  text-transform:uppercase;
  font-size:18px;
}
.speaker-org {
  color:#fafafa;
  font-size:18px;
  text-transform: inherit;
}
.speaker-card__image {
  width: 100%;
}
.speaker-card__image img {
  min-width: 100%;
  max-width: 100%;
  object-fit: cover;
  height:55px;
}


.speaker-list__filters {
  max-width: 1170px;
  margin: 0 auto; 
}
.speaker-list__filter-category {
  display:flex;
  flex-flow: row wrap;
  column-gap: 0.5em; 
  align-items: center;
  justify-content: center;
}
#category-filter .category-heading {
  font-weight: bold;
  padding-right: 1em;
}
.btn-cat-filter {
  border: 2px solid #00baff;
  outline: none;
  color: #00baff;
  padding: 8px 16px;
  background-color: #fff;
  cursor: pointer;
  border-radius: 6px;
  margin-bottom:5px;
}


.btn-cat-filter:hover {
  background-color: #00baff;
  border-color:#00baff;
  color: #fff;
}


.btn-cat-filter.active {
  background-color: #00baff;
  color: white;
}

@media only screen and (max-width: 600px) {
  .speaker-list__container {
    flex-direction: column;
    flex-wrap: nowrap;
    row-gap: 2em;
  }
  .speaker-cards{
    column-gap: 1em;
    row-gap: 1em;
  }
  .speaker-card {
    flex: 1 0 80%;
    margin-bottom: 10px;
    max-width:100%;

  }

  .speaker-card__title h4 {
    font-size: 16px;
    line-height:1.15em;

  }
  .speaker-card__text {
    font-size: 14px;
    line-height: 1.15em;
  }
  #speaker-filter .category-heading {
    font-weight: 700;
    padding-right: 0;
  }
  .btn-cat-filter {
    border: 2px solid #00baff;
    outline: none;
    color: #00baff;
    padding: 8px 12px;
    background-color: #fff;
    cursor: pointer;
    border-radius: 6px;
  }
}
@media only screen and (min-width: 601px) and (max-width: 1024px) {
  .speaker-card {
    flex: 1 0 40%;
    max-width:49%;
  }

}
