/* =========================================
   PLAYER EDITOR EXPERIENCE
   ========================================= */
.wp-block-newsplicity-story-player {
  display: flex;
  justify-content: center;
  padding: 20px;
  border: 1px dashed #ccc;
  background: #f8f8f8;
}

amp-story-player {
  display: block;
  position: relative;
  width: 360px;
  height: 600px;
  background: #fff;
  border: 3px solid #111;
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
}

amp-story-player a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: inherit;
}

amp-story-player img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

amp-story-player a::after {
  content: attr(href);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px;
  font-size: 10px;
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wp-block-newsplicity-story-player:empty::before {
  content: "Select a story to display player";
  display: block;
  padding: 20px;
  color: #666;
  font-weight: bold;
}