@charset "UTF-8"
.wrap {
  scroll-snap-type: x mandatory;
  white-space: nowrap;
  overflow-x: auto;
  margin: 0 auto;
  padding: 20px 0;
  width: 900px;
}

@media not all and (min-width: 940px) {
  .wrap {
    width: 100%;
  }
}

.mediumembed .item {
  position: relative;
  scroll-snap-align: center;
  display: inline-block;
  margin: 0 10px 15px;
  height: 432px;
  width: 30%;
  white-space: normal;
  background-color: lightblue;
  box-shadow: 0 0 5px rgba(0, 0, 0, .3);
  border-radius: 10px;
}

.mediumembed .newsitem {
  background-color: yellowgreen;
}

.mediumembed .post {
  scroll-snap-align: center;
  display: inline-block;
  margin: 0;
  margin-bottom: 0;
  width: 100%;
  height: 400px;
  white-space: normal;
  background-color: #f4f4f4;
  border-radius: 10px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  overflow: hidden;
}

@media (max-width: 716px) {
  .mediumembed .item {
    width: 45%;
  }
}

@media not all and (min-width: 568px) {
  .mediumembed .item {
    width: 90%;
  }
}

.mediumembed .imgcontainer {
  position: relative;
  background-color: #fff;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mediumembed .imgcontainer_story {
  position: relative;
  background-color: #fff;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mediumembed .imgcontainer img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.mediumembed .imgcontainer_story img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.mediumembed .imgcontainer img.narrow {
  object-fit: contain;
}

.mediumembed p {
  margin: 0;
  padding: 5px 20px 5px;
  font-size: 0.9rem;
  line-height: 1.2;
}

.mediumembed .post p {
  margin-bottom: 0;
}

.mediumembed p.author {
  padding: 0 20px;
  text-align: right;
  font-size: 0.8rem;
}

.mediumembed p.date {
  padding: 2px 0 5px 12px;
  margin-bottom: 0;
  font-size: 0.7rem;
}

.mediumembed .post_footer {
  display: flex;
  justify-content: space-between;
}
.mediumembed p.link {
  margin-bottom: 0;
  padding: 2px 12px 5px 0;
  font-size: 0.7rem;
  text-align: right;
}

.mediumembed p.link a {
  text-decoration: underline;
  color: blue;
}

.mediumembed .post a {
  text-decoration: underline;
  color: blue;
}

.mediumembed h3 {
  margin: 0;
  padding: 15px 20px 5px;
  font-size: 1rem;
  line-height: 1.2;
  text-align: left;
}

.mediumembed h3:after {
  display: none;
}

@media not all and (min-width: 568px) {
  .mediumembed p {
    font-size: 0.875rem;
  }

  .mediumembed h3 {
    font-size: 0.9rem;
  }
}