
/* =Icon Button
----------------------------------------------- */
a.has-icon {
  display: block;
  position: relative;
  text-decoration: none
}
/* figure > div[data-aspect-ratio] a.has-icon {
  position: absolute;
} */

.has-icon .icon {
  position: absolute;
  top: 0.725em;
  right: 0.725em;
  background: white;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.35em 0.4em 0em 0.4em;
  border-radius: 0.3125em;
  color: black;
  transition: background-color 0.2s;
  font-size: 1.5em;
  z-index: 1;
}
.has-icon .icon.play {
  top: 50%;
  left: 50%;
  right: auto;
  padding: 0.725em 1.45em 0.3625em 1.45em;
  margin-top: -1.0875em; /* (line height + vertical padding) / 2    (1.45em + 1.45em) / 2  */
  margin-left: -1.95em; /* (icon width + horizontal padding) / 2    (1em + 2.9em) / 2  */
}

.has-icon:hover .icon,
.has-icon:active .icon,
.has-icon:focus .icon {
  background-color: white
}

.has-icon .icon {
  vertical-align: middle
}

.has-icon svg {
  width: 1em;
  height: 1em
}

.has-icon svg polygon {
  fill: currentColor
}


.has-icon .credit {
  position: absolute;
  top: 0;
  left: 0;
  background: white;
  background: rgba(255, 255, 255, 0.75);
  color: black;
  font-size: 0.75em;
  padding: 0.25em 0.5em;
}
