@import '../../variables.scss';

.infoRoot {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 42px 0 12px;
  color: white;

  &.tiny {
    display: none;
  }
  &.extrasmall,
  &.small {
    padding: 0;
    .entryName h2 {
      font-size: 18px;
    }
    .mediaInfo {
      flex-wrap: wrap;
    }
  }
  &.medium,
  &.large,
  &.extralarge {
    display: flex;

    .mediaInfoBlock {
      white-space: nowrap;
    }
  }
  div {
    margin: 0px;
  }

  .entryName h2 {
    width: 100%;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    text-align: left;
    word-break: break-word;
    line-height: 32px;
  }
  .mediaInfo {
    width: 100%;
    margin: 8px 0 0 0;
    display: flex;
    font-size: 14px;
    text-align: left;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    .mediaInfoBlock:not(:first-child) {
      &::before {
        content: '|';
        margin: 0 8px;
      }
    }
  }
  .entry-description {
    width: 100%;
    margin-top: 16px;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    overflow-y: auto;
    text-align: left;
    word-break: break-word;
    @include plugin-scrollbar();
    a {
      color: white;
    }
  }
}
:global(.playkit-overlay.playkit-active) {
  top: 0px;
  right: 0px;
}
