/*
  MM BoardGameWire full definitions
*/

.mmbgw.full {
  margin: 20px 0;
}
.mmbgw.full .mmbgw-post {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
  position: relative;
  padding: 0 5px 0 7px;
}
.mmbgw.full .mmbgw-post:before {
  content : "";
  position: absolute;
  left    : 25%;
  bottom  : 0;
  height  : 5px;
  width   : 50%;
  border-bottom:1px solid #dddddd;
}
.mmbgw.full .mmbgw-post:last-child:before {
  border-bottom: none;
}

  .mmbgw.full .mmbgw-post-image {
    flex-basis: 35%;
    margin-bottom: 10px;
    width: 300px;
    overflow: hidden;
  }
  .mmbgw.full .mmbgw-post-image p {
    margin-bottom: 0;
  }

  .mmbgw.full .mmbgw-post-content {
    flex-basis: 65%;
    margin-bottom: 10px;
    padding-left: 20px;
  }

  .mmbgw.full .mmbgw-post-excerpt {
    margin-bottom: 1rem;
  }

  .mmbgw.full .mmbgw-post-title {
    font-size: 1.8rem;
  }


/*
  MM BoardGameWire compact definitions
*/
.mmbgw.compact .mmbgw-list  {
  display: flex;
  flex-wrap: wrap;
}

  .mmbgw.compact .mmbgw-post {
    border: 1px solid #dddddd;
    margin: 5px;
    width: 32%;
    padding: 5px;
    border-radius: 10px;
  }

  .mmbgw.compact .mmbgw-post.has-content { background: #ceecff; }
  .mmbgw.compact .mmbgw-post:hover { background: #dddddd; }

  .mmbgw.compact .mmbgw-post-image {
    height: 150px;
    overflow: hidden;
    margin-bottom: 20px;
    max-height: 150px;
    text-align: center;
  }

  .mmbgw.compact .mmbgw-post-image a:hover,
  .mmbgw.compact .mmbgw-post-image a:visited:hover {
    background: #247db5;
    color: #ffffff;
  }

  .mmbgw.compact .mmbgw-post-content {
    margin: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
    .mmbgw.compact .mmbgw-post-excerpt {
        margin-bottom: 1rem;
    }

  .mmbgw.compact .mmbgw-post-title {
    font-size: 1.8rem;
  }

  .mmbgw.full .mmbgw-footer,
  .mmbgw.compact .mmbgw-footer,
  .mmbgw.text-only .mmbgw-footer
  {
    text-align: center;
    font-size: 1.3rem;
  }


/*
  MM BoardGameWire text-only definitions
*/
.mmbgw.text-only .mmbgw-list {
  margin-bottom: 0px;
}


@media (max-width: 1036px) and (min-width: 768px) {
  .mmbgw.compact .mmbgw-post-image { height: auto; }
}
@media (max-width: 795px) and (min-width: 769px) {
  .mmbgw.compact .mmbgw-post { width: 48%; }
}
@media (max-width: 768px) and (min-width: 320px) {
  .mmbgw.compact .mmbgw-post,
  .mmbgw.full .mmbgw-post
  {
    width: 100%;
    display: block;
    text-align: center;
  }

  .mmbgw.full .mmbgw-post-title {
    font-size: 2rem;
    margin-top: 15px;
  }

  .mmbgw.compact .mmbgw-post-excerpt,
  .mmbgw.compact .mmbgw-post-content,
  .mmbgw.full .mmbgw-post-excerpt,
  .mmbgw.full .mmbgw-post-content
  {
    text-align: left;
  }
  .mmbgw.full .mmbgw-post-image
  {
    margin: 0 auto;
  }

  .mmbgw.compact .mmbgw-list { width: 100%; }
  .mmbgw.compact .mmbgw-post-excerpt {
    display: none;
  }

  .mmbgw.full .mmbgw-post-content
  {
    padding-bottom: 1px;
  }

  .mmbgw.full .mmbgw-footer,
  .mmbgw.compact .mmbgw-footer,
  .mmbgw.text-only .mmbgw-footer
  {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }
  .mmbgw.text-only .mmbgw-list {
    list-style: none;
  }
  .mmbgw.text-only .mmbgw-post {
    border-bottom: 1px solid #dddddd;
    padding: 0 0 10px 0;
  }
  .mmbgw.text-only .mmbgw-post:last-child {
    border-bottom: none;
  }
}