@import '../../_global/styles/mixins';
@import '../../_global/styles/vars';

.reading-time {
  --color: var(--theme-color-primary);
  display: block;
  font-size: 0;
  font-weight: 700;
  font-family: "Korb", sans-serif;
  text-transform: uppercase;
  //margin: 8px;
  color: var(--color);
  transition: color 0.3s ease;
  z-index: 2;

  span {
    padding-left: 4px;
    font-size: var(--font-size-xs);
    line-height: 1.4;
    display: inline-block;
  }

  .value {
    background-color: var(--color);
    color: var(--theme-color-white);
    padding: 0 6px;
    transition: background-color 0.3s ease;
  }
}

a:hover .reading-time {
  --color: var(--theme-color-link-hover);
}

.teaser .reading-time:last-child {
  position: absolute;
  bottom: 0;
  right: 0;
}