/*
Theme Name: Musée Montmartre
Theme URI:
Version: 1.0
Description: Theme Musée Montmartre
Author: Media Factory
Author URI: http://mediafactory.com
Template: vestige
Text Domain:
Tags:

*/

.page-template-page-venue h2 {
  text-align: left;
}

.cards-wrapper {
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  justify-content: space-between;
  margin: 30px -2%;
}

.cards-wrapper::after {
  content: '';
  flex: 0 1 50%;
}

.cards-wrapper .card-item {
  display: block;
  flex: 1 1 29%;
  margin: 2%;
}

.card-item {
  min-width: 250px;
  color: #333;
}

.card-item:hover {
  text-decoration: none;
}

.card-item__img {
  width: 100%;
  height: 210px;
  margin-bottom: 20px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-right: 20px;
}

.card-item__title {
  margin-top: 0;
}

.card-item__date {
  display: block;
  margin-bottom: 20px;
}

.card-item__excerpt {
  display: block;
  margin-bottom: 20px;
}

.card-item__terms {
  display: flex;
  flex-flow: row wrap;
  margin-top: 20px;
}

.card-item__terms span {
  margin: 5px 0;
  font-size: 11px;
}

.card-item__terms span + span::before {
  content: '/';
  display: inline-block;
  margin: 0 3px;
}

/** Filters **/
.shuffle-grid .card-item {
  width: 28%;
}

.filters {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  margin: 20px auto;
  list-style-type: none;
}

.filters__item {
  margin: 5px;
  transition-property: color;
  transition-duration: .3s;
  color: #333;
  font-size: 13px;
  cursor: pointer;
}

.filters__item:hover {
  text-decoration: underline;
}

.filters__item--is-active {
  color: #dabc74;
  text-decoration: underline;
}

.card-item-sizer {
  display: block;
  float: left;
  width: 8%;
}

@media only screen and (max-width: 552px) {
  .shuffle-grid .card-item {
    width: 100%;
  }
}